@font-face {
  font-family: Chagok;
  src: local("Apple SD Gothic Neo"), local("Noto Sans KR");
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f7f8f5;
  color: #273e35;
  font-family:
    Chagok, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #d9a64b;
  outline-offset: 4px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.055em;
  font-weight: 750;
}
h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 17px;
  letter-spacing: -0.035em;
}
small {
  font-size: 12px;
}
strong,
b {
  font-weight: 650;
}
.icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.muted {
  color: #7f8a83 !important;
}
.danger {
  color: #b05242 !important;
}
.unit {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 11px 18px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14px;
  transition:
    background 0.15s,
    transform 0.15s;
  border: 1px solid transparent;
  white-space: normal;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}
.primary {
  color: #fff;
  background: #28664f;
  border-color: #28664f;
}
.primary:hover:not(:disabled) {
  background: #1c513d;
}
.secondary {
  background: white;
  border-color: #dce3da;
  color: #40584c;
}
.secondary:hover:not(:disabled) {
  background: #f1f5ee;
}
.ghost {
  background: transparent;
  color: #849087;
}
.small {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 13px;
  border-radius: 8px;
}
.text-button {
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #356b53;
  padding: 6px 0;
  font-weight: 600;
  font-size: 13px;
  min-height: 34px;
}
.text-button .icon {
  width: 16px;
  height: 16px;
}
.icon-button {
  display: grid;
  place-items: center;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.icon-button:hover {
  background: #eef2ec;
}
.eyebrow {
  display: block;
  color: #7d9178;
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 99;
  background: #fff;
  padding: 15px;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  width: 238px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid #e8ece4;
  padding: 40px 25px 22px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
}
.brand-symbol {
  height: 42px;
  width: 42px;
  border-radius: 13px;
  background: #2b684f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-symbol .icon {
  width: 27px;
  height: 27px;
}
.brand-dot {
  color: #dbb954;
  margin-left: -11px;
}
.brand-tagline {
  color: #849187;
  font-size: 11px;
  margin: 15px 0 42px;
  letter-spacing: -0.02em;
}
.family-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #a3ada4;
  font-weight: 650;
  padding: 0 12px;
  margin-bottom: 15px;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  color: #7b897f;
  min-height: 49px;
  border-radius: 11px;
  padding: 12px 14px;
  text-align: left;
  margin: 4px 0;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.nav-item .icon {
  width: 20px;
  height: 20px;
}
.nav-item.active {
  background: #eaf2e9;
  color: #276048;
  font-weight: 700;
}
.nav-item:hover {
  background: #f2f5ef;
}
.nav-count {
  margin-left: auto;
  background: #d8e6d3;
  color: #477543;
  font-size: 11px;
  min-width: 21px;
  border-radius: 6px;
  text-align: center;
  padding: 2px 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.sidebar-note {
  padding: 22px 15px;
  background: #f8f8f2;
  border: 1px solid #f1f1e6;
  border-radius: 13px;
  margin-bottom: 20px;
}
.sidebar-note > .icon {
  color: #83a278;
  margin-bottom: 9px;
}
.sidebar-note strong {
  font-size: 12px;
  display: block;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.8;
  color: #98a18e;
  margin-top: 6px;
}
.local-tag {
  font-size: 10px;
  color: #9da59d;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 21px;
  justify-content: center;
}
.local-tag span {
  width: 5px;
  height: 5px;
  background: #8aa37b;
  border-radius: 50%;
}
.workspace {
  margin-left: 238px;
}
.topbar {
  height: 82px;
  padding: 0 42px;
  border-bottom: 1px solid #e8ece4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfdfa;
}
.breadcrumb,
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb {
  font-size: 12px;
  color: #869287;
}
.breadcrumb > .icon {
  width: 16px;
  height: 16px;
}
.breadcrumb b {
  font-weight: 500;
  color: #4c5e51;
}
.slash {
  color: #bdc6bb;
}
.top-actions {
  gap: 16px;
}
.today {
  font-size: 11px;
  color: #8b968b;
}
.notification {
  position: relative;
  border-right: 1px solid #e8ece4;
  border-radius: 0;
  padding-right: 18px;
  width: 45px;
}
.notification i {
  width: 5px;
  height: 5px;
  background: #d5a654;
  position: absolute;
  right: 16px;
  top: 6px;
  border: 1px solid #fcfdfa;
  border-radius: 50%;
}
.mode-button {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #e2e8dd;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 9px;
  min-height: 37px;
}
.mode-button .icon {
  width: 15px;
  height: 15px;
}
.mode-button .icon:last-child {
  width: 11px;
  color: #a3ada2;
  margin-left: 5px;
}
main#main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 36px 42px 20px;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 29px;
}
.page-heading p {
  font-size: 13px;
  margin-top: 10px;
  color: #8a958b;
  line-height: 1.7;
}
.page-heading .btn {
  margin-top: 18px;
}
.hero {
  position: relative;
  background: #f0efdc;
  border: 1px solid #e8e9d2;
  border-radius: 19px;
  min-height: 225px;
  padding: 29px 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-tag {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #7e8c69;
  display: inline-block;
  border: 1px solid #cdd4b9;
  border-radius: 5px;
  padding: 3px 7px;
  margin-bottom: 11px;
}
.hero h2 {
  font-size: 27px;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: -0.055em;
  color: #3b5540;
}
.hero p {
  font-size: 12px;
  color: #92957a;
  margin-top: 11px;
  margin-bottom: 5px;
}
.hero .text-button {
  font-size: 11px;
  margin-top: 9px;
  color: #6b7f5c;
}
.hero .plant-art {
  width: 282px;
  margin-top: -8px;
  margin-right: 11px;
}
.hero-caption {
  position: absolute;
  right: 29px;
  bottom: 19px;
  font-size: 8px;
  letter-spacing: 0.19em;
  color: #a7af90;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 15px;
  gap: 10px;
}
.section-heading h2 {
  font-size: 18px;
}
.section-heading h2 > span {
  color: #8da083;
  font-size: 13px;
  margin-left: 5px;
}
.section-heading > .muted {
  font-size: 12px;
}
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.wallet {
  border: 1px solid #dfe8db;
  background: #eef4e9;
  border-radius: 16px;
  padding: 23px 26px 14px;
}
.wallet.lavender-wallet {
  background: #f0eef7;
  border-color: #e7e2ed;
}
.wallet-top {
  display: flex;
  align-items: center;
  gap: 13px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  font-size: 27px;
  border-radius: 15px;
  background: #fff9e9;
}
.lavender-wallet .avatar {
  background: #fdf9f5;
}
.wallet-top h3 {
  font-size: 16px;
}
.wallet-top div > span {
  font-size: 10px;
  color: #87917f;
  display: block;
  margin-top: 4px;
}
.wallet-star {
  color: #bacba5;
  margin-left: auto;
  font-size: 24px;
}
.lavender-wallet .wallet-star {
  color: #c3b7da;
}
.wallet-balance {
  font-size: 35px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 20px 0 19px;
}
.wallet-balance .unit {
  font-size: 13px;
  color: #8c9985;
  margin-left: 3px;
}
.wallet-divider {
  border-bottom: 1px solid #dce5d5;
  margin-bottom: 15px;
}
.lavender-wallet .wallet-divider {
  border-color: #e1dce9;
}
.goal-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #7f8e76;
  gap: 6px;
}
.goal-caption b {
  font-size: 11px;
}
.progress {
  height: 5px;
  background: #dce5d5;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 9px;
}
.progress > span {
  display: block;
  height: 100%;
  background: #7f9c6a;
  border-radius: 5px;
  transition: width 0.4s;
}
.lavender-wallet .progress {
  background: #e2dceb;
}
.lavender-wallet .progress > span {
  background: #a391be;
}
.wallet-link {
  display: flex;
  background: none;
  font-size: 11px;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding: 14px 0 0;
  color: #759067;
}
.wallet-link .icon {
  width: 14px;
  height: 14px;
}
.lavender-wallet .wallet-link,
.lavender-wallet .goal-caption {
  color: #9584a9;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 25px;
}
.panel {
  padding: 24px;
  background: #fff;
  border: 1px solid #e6eae1;
  border-radius: 16px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-heading h2 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-heading .text-button {
  font-size: 11px;
}
.panel-heading h2 > .icon {
  color: #759179;
  width: 20px;
}
.count {
  background: #f5edd6;
  color: #9d8a4b;
  border-radius: 6px;
  font-size: 11px;
  padding: 3px 7px;
}
.section-description {
  color: #91998c;
  font-size: 11px;
  margin-top: 7px;
  margin-bottom: 17px;
}
.request-row {
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eff1eb;
}
.request-row:last-child {
  border-bottom: 0;
  padding-bottom: 3px;
}
.request-symbol {
  background: #edf4e8;
  color: #7e9970;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.request-symbol.warm {
  background: #fcf1e4;
  color: #c09968;
}
.request-symbol .icon {
  width: 19px;
  height: 19px;
}
.request-info {
  min-width: 0;
  flex: 1;
}
.request-name {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.request-meta {
  font-size: 10px;
  color: #929b90;
  margin-top: 4px;
}
.request-value {
  font-size: 11px;
  color: #67916a;
  margin-top: 4px;
  font-weight: 650;
}
.request-value.spend {
  color: #ae895e;
}
.request-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.request-actions .btn {
  font-size: 11px;
  min-height: 32px;
  padding: 6px 11px;
}
.request-actions .primary {
  background: #e9f1e4;
  color: #537d42;
  border: 1px solid #e9f1e4;
}
.request-actions .secondary {
  color: #909b87;
}
.request-ref {
  font-size: 9px;
  color: #a3aca0;
  display: block;
  margin-top: 3px;
}
.reason {
  font-size: 12px;
  color: #a3675a;
  margin: 7px 0;
}
.pale-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f6f0df;
  color: #bfa268;
}
.pale-icon > .icon {
  width: 15px;
  height: 15px;
}
.quick-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  text-align: left;
  background: none;
  padding: 12px 0;
  border-bottom: 1px solid #eff1eb;
}
.quick-row > span:nth-child(2) {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
}
.quick-row small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #9ca78f;
  margin-top: 4px;
}
.quick-row > .icon {
  width: 15px;
  height: 15px;
  color: #98ab8b;
}
.quick-row:hover {
  background: #fafcf7;
}
.item-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  background: #f2f5e9;
  border-radius: 15px;
  font-size: 29px;
  flex-shrink: 0;
}
.item-emoji.small {
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 21px;
  border-radius: 9px;
  background: #f6f7ed;
}
.gentle-tip {
  background: #f7f8f2;
  border-radius: 8px;
  padding: 10px;
  font-size: 9px;
  color: #a1a58f;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}
.gentle-tip .icon {
  width: 15px;
  height: 15px;
}
.recent-panel {
  margin-top: 23px;
}
.transaction-header,
.transaction-row {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) 0.65fr 0.9fr 0.7fr auto;
  gap: 16px;
  align-items: center;
}
.transaction-header {
  font-size: 10px;
  color: #9aa392;
  margin-top: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #eaf0e4;
}
.transaction-row {
  padding: 16px 0;
  border-bottom: 1px solid #f0f2ec;
  font-size: 12px;
}
.transaction-row:last-child {
  border-bottom: 0;
}
.transaction-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.transaction-main strong {
  font-size: 12px;
  display: block;
  overflow-wrap: anywhere;
}
.transaction-main small {
  display: block;
  font-size: 10px;
  color: #9ba491;
  margin-top: 3px;
}
.tx-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #f0f5ea;
  color: #87a277;
  flex-shrink: 0;
}
.tx-icon .icon {
  width: 16px;
  height: 16px;
}
.tx-icon.spend {
  background: #fcf0df;
  color: #bf9c69;
}
.tx-child {
  color: #84917c;
}
.tx-amount {
  font-size: 12px;
  color: #6b9161;
}
.tx-amount small {
  font-size: 9px;
  display: block;
  color: #9da494;
}
.tx-amount.spend {
  color: #b28b58;
}
.tx-balance {
  color: #86957c;
  font-size: 12px;
}
.tx-manage .text-button {
  font-size: 11px;
}
.request-link {
  font-size: 9px;
  color: #99a38d;
  background: none;
  padding: 3px 0;
  text-align: left;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: #b0b7a7;
  padding: 33px 0 7px;
}
.page-footer > .icon {
  width: 13px;
  height: 13px;
}
.page-footer > span {
  margin-left: 12px;
  font-size: 9px;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  color: #96a189;
  padding: 40px 15px;
  min-height: 180px;
}
.empty > .icon {
  width: 35px;
  height: 35px;
  stroke-width: 1.2;
  color: #a4b096;
}
.empty strong {
  font-size: 15px;
  color: #73836d;
}
.empty p {
  font-size: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.3;
  white-space: nowrap;
  font-weight: 500;
}
.badge .icon {
  height: 12px;
  width: 12px;
}
.badge.green {
  color: #5f8850;
  background: #edf4e8;
}
.badge.amber {
  color: #aa8b42;
  background: #faf3dd;
}
.badge.red {
  color: #b17c70;
  background: #fbefeb;
}
.badge.gray {
  color: #8b9683;
  background: #f2f4ed;
}
.info-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #edf3e8;
  border: 1px solid #dfe9d7;
  color: #718468;
  padding: 17px 20px;
  border-radius: 12px;
  margin-bottom: 23px;
  font-size: 13px;
}
.info-strip > .icon {
  color: #85a070;
  flex-shrink: 0;
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.item-card {
  border: 1px solid #e4e9dd;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.item-card h3 {
  margin-bottom: 8px;
}
.item-card > p {
  font-size: 13px;
  line-height: 1.8;
  color: #8c9685;
  flex: 1;
  min-height: 48px;
  overflow-wrap: anywhere;
}
.item-reward {
  font-size: 23px;
  font-weight: 700;
  color: #638651;
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 22px 0 18px;
}
.item-reward .icon {
  color: #c6ad60;
  width: 20px;
  height: 20px;
}
.item-reward .unit {
  font-size: 12px;
}
.card-targets {
  font-size: 11px;
  color: #9aa38e;
  margin-bottom: 14px;
}
.card-actions {
  display: flex;
  gap: 8px;
}
.card-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 13px;
}
.inactive {
  opacity: 0.62;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 25px;
  gap: 16px;
  font-size: 13px;
  color: #8a9680;
}
.shop-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.balance-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef3e7;
  color: #7b9065;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 11px;
}
.balance-chip > b {
  font-size: 16px;
  color: #527941;
}
.balance-chip .unit {
  font-size: 10px;
}
.balance-chip .icon {
  color: #b6a262;
  width: 18px;
  height: 18px;
}
.reward-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e3e7dc;
  background: white;
  display: flex;
  flex-direction: column;
}
.reward-art {
  height: 155px;
  background: #eef1de;
  position: relative;
  display: grid;
  place-items: center;
}
.reward-art > span:first-child {
  font-size: 64px;
  filter: drop-shadow(0 8px 7px #0001);
  transform: rotate(-7deg);
}
.reward-art.peach {
  background: #f8e8dc;
}
.reward-art.lilac {
  background: #eeebf3;
}
.reward-kind {
  position: absolute;
  left: 15px;
  top: 15px;
  background: #ffffff99;
  border: 1px solid #ffffffa0;
  border-radius: 6px;
  font-size: 10px;
  color: #8a947a;
  padding: 4px 7px;
}
.goal-label {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #fff7db;
  border-radius: 7px;
  color: #aa8f4e;
  font-size: 10px;
  padding: 5px 8px;
}
.reward-body {
  padding: 23px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.reward-body > p {
  font-size: 12px;
  color: #8e9884;
  line-height: 1.8;
  margin-top: 8px;
  min-height: 43px;
  flex: 1;
}
.reward-price {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 23px;
  font-weight: 700;
  color: #5b7d4c;
  margin-top: 15px;
}
.reward-price .icon {
  width: 19px;
  color: #c1a558;
}
.reward-price .unit {
  font-size: 12px;
}
.reward-meta {
  font-size: 10px;
  color: #a0a891;
  margin: 9px 0 20px;
}
.goal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: #9a9f86;
  padding: 12px 5px 0;
  background: none;
  min-height: 40px;
}
.goal-button .icon {
  width: 16px;
  height: 16px;
}
.goal-button.selected {
  color: #a68c35;
}
.goal-button.selected .icon {
  fill: #f0de95;
}
.footnote {
  font-size: 11px;
  color: #9aa38c;
  line-height: 1.9;
  margin-top: 16px;
}
.filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
  flex-wrap: wrap;
}
.segmented {
  background: #eaf0e3;
  border: 1px solid #e1e8d9;
  display: inline-flex;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.segmented button {
  border-radius: 7px;
  background: none;
  color: #859375;
  padding: 9px 16px;
  font-size: 12px;
  min-height: 36px;
}
.segmented button.selected {
  background: white;
  color: #4d7440;
  box-shadow: 0 2px 6px #263e3110;
  font-weight: 650;
}
.segmented button > span {
  font-size: 10px;
  margin-left: 3px;
}
.filter-selects {
  display: flex;
  gap: 10px;
}
select,
input,
textarea {
  min-height: 44px;
  border: 1px solid #dbe3d5;
  border-radius: 9px;
  background: white;
  color: #4d6045;
  padding: 10px 12px;
  font-size: 14px;
  max-width: 100%;
}
select {
  padding-right: 28px;
}
textarea {
  resize: vertical;
  min-height: 85px;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: #35704d;
}
input[type="file"] {
  padding: 10px;
  max-width: 100%;
  font-size: 12px;
}
input[type="number"] {
  width: 100%;
}
.request-list.full > .request-row {
  padding: 22px 0;
}
.request-list.full > .request-row:first-child {
  padding-top: 0;
}
.request-list.full .request-name {
  font-size: 15px;
}
.request-list.full .request-meta {
  font-size: 12px;
}
.request-list.full .request-value {
  font-size: 13px;
  margin: 7px 0;
}
.request-list.full .request-ref {
  font-size: 10px;
}
.request-list.full .request-actions .btn {
  min-height: 40px;
  font-size: 13px;
  padding: 9px 15px;
}
.request-list.full .request-symbol {
  width: 47px;
  height: 47px;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.settings-grid .panel-heading {
  margin-bottom: 10px;
}
.setting-child {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 0;
  border-bottom: 1px solid #eef1e8;
}
.setting-child:last-child {
  border: 0;
  padding-bottom: 0;
}
.setting-child > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.setting-child strong {
  font-size: 14px;
}
.setting-child small {
  display: block;
  color: #8da17d;
  margin-top: 3px;
}
.setting-child .unit {
  font-size: 11px;
}
.setting-child > div:last-child {
  display: flex;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f3ea;
}
.setting-row:last-of-type {
  border: 0;
}
.setting-row strong {
  font-size: 14px;
}
.setting-row small {
  display: block;
  font-size: 12px;
  color: #9aa28b;
  margin-top: 4px;
}
.data-buttons {
  display: flex;
  gap: 10px;
  margin: 24px 0 15px;
}
.security-note {
  margin-top: 22px;
  align-items: flex-start;
}
.security-note strong {
  font-size: 13px;
}
.security-note p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 6px;
}
.security-note .text-button {
  margin-top: 12px;
}
.child-balance {
  position: relative;
  border-radius: 20px;
  background: #2e694f;
  color: #fff;
  padding: 35px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.child-balance > div > span {
  color: #bfd3ac;
  font-size: 14px;
}
.child-balance h2 {
  font-size: 52px;
  letter-spacing: -0.05em;
  margin: 5px 0;
}
.child-balance h2 .unit {
  font-size: 20px;
  color: #bed2a7;
}
.child-balance p {
  font-size: 13px;
  color: #c3d5b2;
}
.big-star {
  font-size: 145px;
  line-height: 1;
  color: #e9cb6c;
  transform: rotate(15deg);
  padding: 0 35px;
  text-shadow: 8px 7px 0 #194c37;
}
.goal-panel {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.goal-picture {
  font-size: 55px;
  background: #f7f0db;
  border-radius: 17px;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
.goal-panel > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.small-label {
  color: #9aa889;
  font-size: 11px;
  display: block;
  margin-bottom: 6px;
}
.goal-panel h2 {
  font-size: 21px;
}
.goal-panel p {
  font-size: 12px;
  color: #8d9a7c;
  margin: 8px 0;
}
.goal-panel .progress {
  height: 7px;
  margin: 14px 0 7px;
}
.goal-panel .goal-caption .unit {
  font-size: 10px;
}
.welcome {
  min-height: 100dvh;
  background: #f5f6ed;
  padding: 35px 6vw 20px;
}
.welcome-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.welcome-brand > span:last-child {
  font-size: 12px;
  color: #95a187;
  margin-left: 15px;
}
.welcome-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1100px !important;
  padding: 55px 0 40px !important;
  min-height: 78vh;
}
.welcome-message h1 {
  font-size: 48px;
  line-height: 1.4;
  letter-spacing: -0.065em;
  color: #34553d;
}
.welcome-message h1 em {
  font-style: normal;
  color: #73924e;
  position: relative;
}
.welcome-message > p {
  font-size: 16px;
  color: #8a977a;
  line-height: 1.9;
  margin-top: 20px;
}
.welcome-message .plant-art {
  width: 260px;
  display: block;
  margin: 5px auto -5px;
}
.welcome-values {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: #9ca68c;
}
.welcome-values .icon {
  width: 14px;
  height: 14px;
}
.welcome-card {
  padding: 35px;
  background: #fff;
  border: 1px solid #e4e9d9;
  border-radius: 22px;
  box-shadow: 0 10px 40px #3e4e2710;
}
.welcome-card h2 {
  font-size: 23px;
}
.welcome-card > .muted {
  font-size: 13px;
  margin-top: 9px;
}
.profile-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 17px 13px;
  background: #fbfcf8;
  border: 1px solid #e8ecdf;
  border-radius: 13px;
  text-align: left;
  margin-top: 12px;
}
.parent-entry {
  margin-top: 24px;
  background: #edf3e7;
  border-color: #dce7d0;
}
.profile-avatar {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  background: #f6efdb;
  border-radius: 14px;
  font-size: 29px;
  flex-shrink: 0;
}
.parent-entry .profile-avatar {
  color: #70965a;
  background: #dfeccc;
}
.profile-avatar.lavender {
  background: #eeeaf5;
}
.profile-entry strong {
  font-size: 16px;
  display: block;
}
.profile-entry small {
  display: block;
  color: #96a185;
  font-size: 11px;
  margin-top: 4px;
}
.profile-entry > .icon {
  margin-left: auto;
  width: 17px;
  height: 17px;
  color: #a6b098;
}
.separator {
  margin: 21px 0 15px;
  font-size: 10px;
  color: #aab29e;
  display: flex;
  gap: 12px;
  align-items: center;
}
.separator:after {
  content: "";
  height: 1px;
  background: #edf0e7;
  flex: 1;
}
.local-notice {
  display: flex;
  gap: 9px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid #eef1e7;
  color: #a2ab93;
  font-size: 10px;
  line-height: 1.8;
}
.local-notice .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.welcome > footer {
  text-align: center;
  font-size: 10px;
  color: #a8b098;
}
dialog {
  border: 1px solid #dfe5d6;
  border-radius: 20px;
  width: min(540px, calc(100vw - 30px));
  padding: 28px;
  color: #354b39;
  box-shadow: 0 20px 100px #17381f30;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #1a342958;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.dialog-heading h2 {
  font-size: 22px;
}
.dialog-heading .icon-button {
  color: #96a38b;
}
.dialog-subtitle {
  font-size: 13px;
  line-height: 1.8;
  color: #8b9a7e;
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 17px;
}
.field > small {
  font-size: 11px;
  color: #929e85;
  font-weight: 400;
  line-height: 1.8;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-weight: 400;
}
.field.full {
  grid-column: 1/-1;
}
.check-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border: 1px solid #e1e7d8;
  border-radius: 10px;
  padding: 12px;
}
.check-group label,
.check-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #edf0e5;
}
.dialog-footer .btn {
  min-width: 105px;
}
.dialog-note {
  padding: 14px 16px;
  background: #f5f5e9;
  border: 1px solid #e8ead5;
  border-radius: 10px;
  color: #8e9773;
  font-size: 12px;
  line-height: 1.9;
  margin: 16px 0;
}
.form-error {
  color: #ac6050;
  background: #fbf0e8;
  border: 1px solid #f1d6ca;
  border-radius: 9px;
  padding: 12px;
  font-size: 13px;
  margin: 14px 0;
}
.form-error:empty {
  display: none;
}
.confirm-amount {
  font-size: 32px;
  font-weight: 700;
  color: #4f7c3d;
  margin: 14px 0;
}
.confirm-text {
  font-size: 14px;
  line-height: 1.9;
}
.pin-input {
  text-align: center;
  font-size: 27px !important;
  letter-spacing: 0.4em;
  padding-left: 24px !important;
}
.install-steps {
  padding-left: 20px;
  font-size: 14px;
  line-height: 2;
}
.import-preview {
  padding: 15px;
  background: #eef4e8;
  border-radius: 10px;
  margin-top: 15px;
  font-size: 13px;
}
.boot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  height: 100dvh;
  color: #849d6f;
}
.loader {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 3px solid #d5e1c8;
  border-top-color: #3c754b;
  animation: spin 1s linear infinite;
}
.mobile-nav,
.mobile-only {
  display: none;
}
#toast {
  position: fixed;
  left: calc(50% + 119px);
  bottom: 25px;
  transform: translateX(-50%);
  max-width: calc(100vw - 30px);
  border-radius: 12px;
  background: #2a5f46;
  color: white;
  box-shadow: 0 8px 30px #15351f20;
  padding: 14px 23px;
  font-size: 13px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  display: flex;
  gap: 8px;
  align-items: center;
}
#toast.show {
  opacity: 1;
}
#toast.error {
  background: #9e5b46;
}
.celebrate:after {
  content: "✦";
  color: #d9b94f;
  position: fixed;
  font-size: 60px;
  right: 20%;
  bottom: 23%;
  animation: celebrate 1.2s forwards;
  pointer-events: none;
  z-index: 60;
}
.busy-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #78a564;
  z-index: 100;
  animation: pulse 1s infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
@keyframes celebrate {
  0% {
    transform: scale(0.1) rotate(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(-90px) scale(1.4) rotate(60deg);
    opacity: 0;
  }
}
@media (min-width: 1500px) {
  main#main {
    padding-top: 42px;
  }
  .hero {
    min-height: 247px;
  }
  .hero .plant-art {
    width: 315px;
  }
  .wallet {
    padding: 25px 28px 17px;
  }
  .dashboard-columns {
    margin-top: 28px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 205px;
    padding: 35px 18px 20px;
  }
  .workspace {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 28px;
  }
  main#main {
    padding: 28px;
  }
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-columns {
    grid-template-columns: 1.2fr 1fr;
    gap: 15px;
  }
  .panel {
    padding: 21px;
  }
  .request-actions {
    flex-direction: column;
    gap: 4px;
  }
  .today {
    display: none;
  }
  .hero .plant-art {
    width: 230px;
    margin-right: 0;
  }
  .hero-caption {
    font-size: 7px;
  }
  .request-meta {
    font-size: 9px;
  }
  .wallet {
    padding: 21px;
  }
  .welcome-layout {
    gap: 35px;
  }
  .welcome-message h1 {
    font-size: 42px;
  }
  .welcome-card {
    padding: 28px;
  }
  .goal-panel {
    flex-wrap: wrap;
  }
  .goal-panel > .btn {
    margin-left: auto;
  }
  #toast {
    left: calc(50% + 102px);
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 185px;
    padding: 30px 14px;
  }
  .workspace {
    margin-left: 185px;
  }
  .brand {
    font-size: 27px;
  }
  .brand-tagline {
    font-size: 9px;
  }
  .nav-item {
    padding: 12px 10px;
    font-size: 13px;
    gap: 9px;
  }
  .family-label {
    font-size: 8px;
  }
  .topbar {
    padding: 0 23px;
    height: 70px;
  }
  .breadcrumb b {
    display: none;
  }
  .breadcrumb .slash {
    display: none;
  }
  main#main {
    padding: 27px 23px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .hero {
    padding: 26px;
  }
  .hero h2 {
    font-size: 25px;
  }
  .hero .plant-art {
    width: 180px;
  }
  .hero p {
    max-width: 250px;
  }
  .hero-caption {
    display: none;
  }
  .wallet-top {
    gap: 9px;
  }
  .wallet-top div > span {
    font-size: 9px;
  }
  .wallet-top h3 {
    font-size: 14px;
  }
  .wallet .avatar {
    width: 38px;
    height: 38px;
    font-size: 23px;
  }
  .wallet-star {
    display: none;
  }
  .wallet-balance {
    font-size: 31px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .request-actions {
    flex-direction: row;
  }
  .quick-panel {
    display: none;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .transaction-header,
  .transaction-row {
    gap: 9px;
    grid-template-columns: minmax(0, 2fr) 0.6fr 0.7fr 0.6fr auto;
  }
  .tx-icon {
    display: none;
  }
  .shop-toolbar {
    flex-wrap: wrap;
  }
  .welcome-layout {
    gap: 25px;
  }
  .welcome-message h1 {
    font-size: 35px;
  }
  .welcome-message > p {
    font-size: 14px;
  }
  .welcome-values {
    flex-direction: column;
    gap: 4px;
  }
  .welcome-card h2 {
    font-size: 20px;
  }
  .welcome {
    padding: 25px 4vw;
  }
  .welcome-card {
    padding: 24px;
  }
  .profile-entry {
    gap: 9px;
    padding: 15px 10px;
  }
  .profile-entry small {
    font-size: 10px;
  }
  .item-card {
    padding: 20px;
  }
  .reward-body {
    padding: 20px;
  }
  #toast {
    left: calc(50% + 92px);
  }
}
@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 68px;
    padding: 0 20px;
    background: #fcfdf9;
  }
  .breadcrumb {
    gap: 8px;
    font-size: 12px;
  }
  .breadcrumb > .icon {
    width: 17px;
  }
  .top-actions {
    gap: 8px;
  }
  .mode-button {
    font-size: 12px;
    min-height: 38px;
  }
  .notification {
    width: 34px;
    padding-right: 8px;
  }
  .notification i {
    right: 7px;
  }
  .page-heading {
    margin-bottom: 23px;
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
    margin-top: 9px;
    max-width: 255px;
  }
  .page-heading > .btn {
    font-size: 12px;
    padding: 10px 12px;
    flex-shrink: 0;
  }
  .page-heading > .btn .icon {
    width: 17px;
    height: 17px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 8px;
  }
  main#main {
    padding: 26px 20px 90px;
  }
  .hero {
    min-height: 227px;
    padding: 26px 24px;
    border-radius: 17px;
  }
  .hero h2 {
    font-size: 25px;
  }
  .hero > div {
    position: relative;
    z-index: 1;
  }
  .hero-tag {
    font-size: 9px;
  }
  .hero p {
    font-size: 11px;
    max-width: 205px;
    line-height: 1.8;
  }
  .hero .plant-art {
    position: absolute;
    right: -12px;
    bottom: 17px;
    width: 180px;
    opacity: 0.85;
  }
  .hero .text-button {
    margin-top: 7px;
    font-size: 10px;
  }
  .section-heading {
    margin-top: 25px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading .text-button {
    font-size: 11px;
  }
  .wallet-grid {
    gap: 12px;
  }
  .wallet {
    padding: 17px 16px 13px;
    border-radius: 15px;
  }
  .wallet-top {
    gap: 9px;
    align-items: flex-start;
    flex-direction: column;
  }
  .wallet-top h3 {
    font-size: 15px;
  }
  .wallet .avatar {
    height: 39px;
    width: 39px;
    font-size: 25px;
    border-radius: 12px;
  }
  .wallet-top div > span {
    font-size: 9px;
    margin-top: 5px;
  }
  .wallet-balance {
    font-size: 29px;
    margin: 16px 0;
  }
  .wallet-balance .unit {
    font-size: 10px;
    display: block;
    margin: 4px 0;
  }
  .wallet-divider {
    margin-bottom: 11px;
  }
  .goal-caption {
    font-size: 9px;
    line-height: 1.7;
    align-items: flex-start;
    gap: 5px;
  }
  .goal-caption > b {
    font-size: 9px;
  }
  .wallet .goal-caption > span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 30px;
  }
  .wallet .progress {
    height: 4px;
    margin-top: 7px;
  }
  .wallet-link {
    font-size: 10px;
    padding-top: 12px;
  }
  .dashboard-columns {
    margin-top: 20px;
    gap: 16px;
  }
  .panel {
    padding: 20px;
    border-radius: 15px;
  }
  .panel-heading h2 {
    font-size: 16px;
  }
  .panel-heading .text-button {
    font-size: 10px;
  }
  .panel-heading .count {
    font-size: 10px;
  }
  .section-description {
    font-size: 10px;
    margin-top: 8px;
  }
  .request-row {
    gap: 9px;
    padding: 17px 0;
    align-items: flex-start;
  }
  .request-symbol {
    width: 33px;
    height: 33px;
    border-radius: 10px;
    margin-top: 2px;
  }
  .request-symbol .icon {
    width: 17px;
    height: 17px;
  }
  .request-name {
    font-size: 12px;
    line-height: 1.7;
  }
  .request-meta {
    font-size: 9px;
    margin-top: 4px;
    line-height: 1.6;
  }
  .request-actions {
    flex-direction: column;
    gap: 5px;
    align-self: center;
  }
  .request-actions .btn {
    font-size: 11px;
    min-height: 34px;
    padding: 7px 11px;
  }
  .request-value {
    font-size: 10px;
  }
  .request-ref {
    font-size: 8px;
  }
  .transaction-header {
    display: none;
  }
  .transaction-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 10px;
    padding: 16px 0;
  }
  .transaction-main {
    grid-column: 1;
    grid-row: 1;
  }
  .transaction-main strong {
    font-size: 12px;
  }
  .transaction-main small {
    font-size: 10px;
  }
  .tx-child {
    grid-column: 1;
    grid-row: 2;
    font-size: 10px;
  }
  .tx-amount {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    font-size: 13px;
  }
  .tx-amount small {
    font-size: 9px;
  }
  .tx-balance {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
    font-size: 10px;
  }
  .tx-balance:before {
    content: "잔액 ";
    color: #a1ac93;
  }
  .tx-manage {
    grid-column: 2;
    grid-row: 3;
    text-align: right;
  }
  .tx-manage .text-button {
    min-height: 30px;
  }
  .page-footer {
    flex-wrap: wrap;
    font-size: 9px;
    padding-top: 25px;
  }
  .page-footer > span {
    width: 100%;
    text-align: center;
    font-size: 8px;
  }
  .mobile-nav {
    position: fixed;
    display: flex;
    inset: auto 0 0;
    background: #ffffffed;
    border-top: 1px solid #e4e9dc;
    z-index: 20;
    padding: 6px 8px calc(7px + env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
  }
  .mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 6px 2px 4px;
    min-height: 53px;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 9px;
    flex: 1;
  }
  .mobile-nav .nav-item .icon {
    width: 21px;
    height: 21px;
  }
  .mobile-nav .nav-item.active {
    background: #f0f5eb;
  }
  .mobile-nav .nav-count {
    position: absolute;
    right: 16%;
    top: 2px;
    border-radius: 10px;
    font-size: 8px;
    min-width: 15px;
    height: 15px;
    padding: 1px 3px;
    background: #a6b98a;
    color: #fff;
  }
  .mobile-only {
    display: block;
  }
  .item-grid {
    gap: 15px;
    grid-template-columns: 1fr;
  }
  .item-card {
    padding: 23px;
  }
  .item-top {
    margin-bottom: 17px;
  }
  .item-card h3 {
    font-size: 18px;
  }
  .item-card > p {
    font-size: 14px;
    min-height: 0;
  }
  .item-reward {
    font-size: 25px;
    margin: 20px 0;
  }
  .item-card > .btn {
    min-height: 47px;
  }
  .info-strip {
    font-size: 12px;
    padding: 16px;
    gap: 10px;
    line-height: 1.9;
    align-items: flex-start;
  }
  .reward-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .reward-art {
    height: 130px;
  }
  .reward-art > span:first-child {
    font-size: 52px;
  }
  .reward-kind {
    font-size: 8px;
    left: 9px;
    top: 10px;
    padding: 3px 5px;
  }
  .goal-label {
    font-size: 8px;
    right: 8px;
    bottom: 8px;
  }
  .reward-body {
    padding: 16px 13px;
  }
  .reward-body h3 {
    font-size: 15px;
  }
  .reward-body > p {
    font-size: 11px;
    min-height: 59px;
    line-height: 1.8;
  }
  .reward-price {
    font-size: 23px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .reward-price .unit {
    font-size: 10px;
  }
  .reward-price .icon {
    width: 15px;
    height: 15px;
  }
  .reward-meta {
    font-size: 9px;
    margin: 8px 0 15px;
    min-height: 27px;
  }
  .reward-body > .btn {
    font-size: 11px;
    min-height: 46px;
    padding: 10px 7px;
  }
  .reward-body .card-actions {
    flex-direction: column;
    gap: 7px;
  }
  .reward-body .card-actions > .btn {
    padding: 7px;
    min-height: 36px;
    font-size: 11px;
  }
  .reward-body > .text-button {
    font-size: 10px;
    padding: 10px 0 0;
  }
  .goal-button {
    font-size: 10px;
    gap: 4px;
  }
  .goal-button .icon {
    width: 13px;
    height: 13px;
  }
  .shop-toolbar {
    gap: 12px;
    font-size: 12px;
    margin-bottom: 20px;
  }
  .balance-chip {
    font-size: 10px;
    padding: 9px 12px;
    gap: 6px;
  }
  .balance-chip b {
    font-size: 15px;
  }
  .shop-toolbar label {
    width: 100%;
    justify-content: space-between;
  }
  .shop-toolbar label > select {
    flex: 1;
    margin-left: 10px;
  }
  .filterbar {
    gap: 12px;
  }
  .segmented {
    width: 100%;
    gap: 3px;
    justify-content: space-between;
    padding: 4px;
  }
  .segmented button {
    font-size: 12px;
    padding: 9px 11px;
    flex: 1;
    min-height: 38px;
  }
  .filter-selects {
    width: 100%;
    gap: 10px;
  }
  .filter-selects select {
    flex: 1;
    min-width: 0;
    font-size: 12px;
  }
  .filterbar > select {
    width: 100%;
  }
  .request-list.full .request-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .request-list.full .request-info {
    width: calc(100% - 55px);
    flex: auto;
  }
  .request-list.full .request-symbol {
    width: 36px;
    height: 36px;
  }
  .request-list.full .request-actions {
    margin: 7px 0 0 46px;
    flex-direction: row;
    gap: 10px;
  }
  .request-list.full .request-actions .btn {
    min-height: 43px;
    padding: 9px 22px;
    font-size: 13px;
  }
  .request-list.full .request-name {
    font-size: 14px;
  }
  .request-list.full .request-meta {
    font-size: 11px;
  }
  .request-list.full .request-value {
    font-size: 12px;
  }
  .request-name .badge {
    font-size: 9px;
  }
  .settings-grid {
    gap: 15px;
  }
  .setting-child {
    gap: 9px;
  }
  .setting-child .avatar {
    width: 39px;
    height: 39px;
    font-size: 24px;
  }
  .setting-child > div:last-child .btn {
    padding: 5px 7px;
    font-size: 11px;
  }
  .setting-child strong {
    font-size: 13px;
  }
  .setting-child small {
    font-size: 12px;
  }
  .setting-row strong {
    font-size: 13px;
  }
  .setting-row small {
    font-size: 11px;
  }
  .panel-heading .btn {
    font-size: 11px;
    padding: 7px 10px;
  }
  .data-buttons {
    gap: 10px;
  }
  .data-buttons > .btn {
    font-size: 13px;
    flex: 1;
  }
  .security-note p {
    font-size: 11px;
  }
  .child-balance {
    padding: 27px 25px;
  }
  .child-balance h2 {
    font-size: 44px;
  }
  .child-balance h2 .unit {
    font-size: 16px;
  }
  .child-balance > div > span {
    font-size: 12px;
  }
  .child-balance p {
    font-size: 11px;
    max-width: 215px;
    line-height: 1.8;
  }
  .big-star {
    font-size: 90px;
    padding: 0;
    position: absolute;
    right: 17px;
    top: 37px;
    opacity: 0.85;
  }
  .goal-panel {
    gap: 15px;
    padding: 21px;
    flex-wrap: wrap;
  }
  .goal-picture {
    width: 67px;
    height: 67px;
    font-size: 37px;
    border-radius: 14px;
  }
  .goal-panel h2 {
    font-size: 17px;
  }
  .goal-panel p {
    font-size: 11px;
  }
  .goal-panel > .btn {
    margin: 0;
    width: 100%;
    font-size: 13px;
  }
  .goal-panel .small-label {
    font-size: 9px;
  }
  .child-balance + .goal-panel {
    margin-top: 17px;
  }
  .section-heading > .muted {
    font-size: 9px;
  }
  .welcome {
    padding: 24px 22px;
  }
  .welcome-brand {
    font-size: 27px;
  }
  .welcome-brand .brand-symbol {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
  .welcome-brand .brand-symbol .icon {
    width: 23px;
    height: 23px;
  }
  .welcome-brand > span:last-child {
    font-size: 10px;
    margin-left: auto;
  }
  .welcome-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 36px 0 25px !important;
    min-height: 0;
  }
  .welcome-message {
    position: relative;
  }
  .welcome-message h1 {
    font-size: 35px;
  }
  .welcome-message .eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .welcome-message > p {
    font-size: 12px;
    margin-top: 13px;
    line-height: 1.8;
  }
  .welcome-message .plant-art {
    position: absolute;
    right: -13px;
    bottom: 5px;
    width: 160px;
    opacity: 0.85;
  }
  .welcome-values {
    display: none;
  }
  .welcome-card {
    padding: 25px 22px;
    border-radius: 18px;
  }
  .welcome-card h2 {
    font-size: 21px;
  }
  .welcome-card > .muted {
    font-size: 12px;
  }
  .profile-entry {
    padding: 14px;
    gap: 13px;
  }
  .profile-entry strong {
    font-size: 15px;
  }
  .profile-entry small {
    font-size: 11px;
  }
  .profile-avatar {
    width: 43px;
    height: 43px;
    font-size: 26px;
  }
  .local-notice {
    font-size: 10px;
  }
  .welcome > footer {
    font-size: 9px;
    line-height: 1.8;
  }
  dialog {
    padding: 23px 20px;
    border-radius: 18px;
    max-height: 88dvh;
  }
  .dialog-heading h2 {
    font-size: 20px;
  }
  .form-grid {
    gap: 0;
    grid-template-columns: 1fr;
  }
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .field {
    font-size: 13px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 46px;
  }
  .dialog-footer .btn {
    flex: 1;
    min-width: 0;
  }
  .dialog-subtitle {
    font-size: 12px;
  }
  .pin-input {
    font-size: 27px !important;
  }
  .dialog-footer {
    position: sticky;
    bottom: -23px;
    background: #fff;
    padding-bottom: 10px;
  }
  #toast {
    left: 50%;
    bottom: 90px;
    font-size: 12px;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 13px 18px;
  }
  .page-footer {
    line-height: 1.8;
  }
  .boot p {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  main#main {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .hero .plant-art {
    width: 145px;
    right: -20px;
  }
  .wallet {
    padding: 15px 12px;
  }
  .reward-grid {
    grid-template-columns: 1fr;
  }
  .reward-art {
    height: 160px;
  }
  .reward-body h3 {
    font-size: 17px;
  }
  .reward-body > p {
    min-height: 0;
  }
  .reward-body .card-actions {
    flex-direction: row;
  }
  .reward-body > .btn {
    font-size: 13px;
  }
  .reward-meta {
    min-height: 0;
  }
  .mobile-nav .nav-item {
    font-size: 8px;
  }
  .welcome-message .plant-art {
    width: 130px;
    right: -20px;
  }
  .welcome-message h1 {
    font-size: 31px;
  }
  .topbar {
    padding: 0 15px;
  }
  .breadcrumb {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Larger reading and touch targets in the child's space. */
.child-mode .item-card > .btn {
  font-size: 16px;
  min-height: 49px;
}
.child-mode .item-card > p {
  font-size: 15px;
}
.child-mode .goal-panel p {
  font-size: 14px;
}
.child-mode .goal-caption {
  font-size: 12px;
}
.child-mode .request-name {
  font-size: 15px;
}
.child-mode .request-meta {
  font-size: 12px;
}
.child-mode .request-value {
  font-size: 13px;
}
@media (max-width: 700px) {
  .child-mode .reward-grid {
    grid-template-columns: 1fr;
  }
  .child-mode .reward-art {
    height: 155px;
  }
  .child-mode .reward-art > span:first-child {
    font-size: 65px;
  }
  .child-mode .reward-body {
    padding: 22px;
  }
  .child-mode .reward-body h3 {
    font-size: 19px;
  }
  .child-mode .reward-body > p {
    font-size: 14px;
    min-height: 0;
  }
  .child-mode .reward-body > .btn {
    font-size: 15px;
    min-height: 49px;
  }
  .child-mode .reward-price {
    font-size: 27px;
  }
  .child-mode .reward-meta {
    font-size: 12px;
    min-height: 0;
  }
  .child-mode .goal-button {
    font-size: 13px;
    min-height: 44px;
  }
  .child-mode .goal-panel .small-label {
    font-size: 11px;
  }
  .child-mode .child-balance > div > span {
    font-size: 14px;
  }
  .child-mode .child-balance p {
    font-size: 13px;
  }
  .mobile-nav .nav-item {
    font-size: 10px;
  }
  .dashboard-columns .request-actions .btn {
    min-height: 40px;
    font-size: 12px;
  }
}
.child-mode .item-card > p,
.child-mode .reward-body > p,
.child-mode .goal-panel p { color: #6b7b60; }
.child-mode .request-meta { color: #73816b; }
@media (max-width: 700px) { .mobile-nav .nav-item { font-size: 11px; } }
.cloud-wide { width: 100%; margin-top: 12px; justify-content: center; }
.cloud-settings { margin-bottom: 24px; }
.cloud-settings > p { line-height: 1.7; color: #617064; }
.cloud-device-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.secret-code { font-family: ui-monospace, monospace; overflow-wrap: anywhere; line-height: 1.6; background: #f5f7ef; }
.sync-banner { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 24px; border: 1px solid #dce5d5; border-radius: 14px; background: #f2f6ed; color: #345a43; }
.sync-banner > svg { flex-shrink: 0; }
.sync-banner > div { flex: 1; min-width: 0; }
.sync-banner strong { font-size: 14px; }
.sync-banner span, .sync-banner small { display: block; font-size: 12px; margin-top: 4px; line-height: 1.5; overflow-wrap: anywhere; }
.sync-banner.disconnected { background: #fff5e4; border-color: #edcc9b; color: #80522c; }
.sync-banner > button { flex-shrink: 0; min-height: 44px; }
.local-cloud-entry { display: grid; gap: 12px; border-bottom: 1px solid #e5e9dd; padding-bottom: 22px; margin-bottom: 24px; }
@media (max-width: 700px) {
  .cloud-device { flex-wrap: wrap; gap: 12px; }
  .cloud-device-actions { justify-content: flex-start; width: 100%; }
  .cloud-device-actions .btn { flex: 1; min-height: 44px; }
  .sync-banner { padding: 12px; gap: 8px; }
  .sync-banner > svg { display: none; }
  .cloud-settings .setting-row { gap: 12px; }
}
