:root {
  --ink:#242a27;
  --muted:#818780;
  --line:#eeefeb;
  --paper:#fff;
  --canvas:#f6f5f0;
  --green:#37795c;
  --green-dark:#285d45;
  --mint:#eaf3ec;
  --yellow:#f4e8bd;
  --orange:#c9864d;
  --shadow:0 8px 30px rgba(36,42,39,.04)
}
* {
  box-sizing:border-box
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid var(--green-dark);
  outline-offset:2px
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:'DM Sans',sans-serif;
  font-size:14px
}
.app-shell {
  min-height:100vh
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:238px;
  background:#fbfbf8;
  border-right:1px solid #ebece6;
  padding:30px 18px 18px;
  display:flex;
  flex-direction:column;
  z-index:2
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px 45px;
  text-decoration:none;
  color:var(--ink);
  font-family:Manrope,sans-serif;
  font-weight:800;
  font-size:20px;
  letter-spacing:-1px
}
.brand-mark {
  height:30px;
  width:30px;
  background:var(--green);
  border-radius:10px;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:20px
}
.workspace-label,.section-kicker {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.25px;
  color:#70766f
}
.workspace-label {
  padding:0 12px 12px
}
.sidebar nav {
  display:grid;
  gap:4px
}
.nav-link {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:10px;
  text-decoration:none;
  color:#737a73;
  font-weight:600;
  font-size:13px;
  transition:.15s
}
.nav-link:hover,.nav-link.active {
  background:#edf3ec;
  color:var(--green-dark)
}
.nav-link>span {
  font-size:18px;
  width:18px;
  text-align:center
}
.nav-link b {
  font-size:10px;
  font-weight:700;
  background:#e5e9e3;
  border-radius:20px;
  padding:3px 7px;
  margin-left:auto
}
.sidebar-bottom {
  margin-top:auto;
  border-top:1px solid var(--line);
  padding:17px 7px 3px;
  display:flex;
  align-items:center;
  gap:10px
}
.avatar,.user-avatar {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#dce9db;
  color:var(--green-dark);
  font-weight:700
}
.avatar-art {
  overflow:hidden;
  padding:0
}
.avatar-art svg {
  display:block;
  width:100%;
  height:100%
}
.user-avatar {
  border:0;
  padding:0;
  cursor:pointer;
  font:inherit
}
.user-avatar:focus-visible {
  outline:3px solid var(--green);
  outline-offset:3px
}
.avatar-picker-dialog {
  width:min(600px,calc(100vw - 28px));
  max-width:none;
  max-height:min(86vh,760px);
  overflow:auto;
  border:0;
  border-radius:22px;
  padding:24px;
  color:var(--ink);
  background:#fffdf8;
  box-shadow:0 24px 80px #1d332b44
}
.avatar-picker-dialog::backdrop {
  background:#17241fcc;
  backdrop-filter:blur(4px)
}
.avatar-picker-copy {
  margin:-7px 0 18px;
  color:#718078;
  font-size:13px
}
.avatar-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px
}
.avatar-option {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:11px 5px 9px;
  border:1px solid #e6e9e1;
  border-radius:15px;
  color:#405248;
  background:#fff;
  font:700 10px Manrope,sans-serif;
  text-align:center;
  cursor:pointer;
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease
}
.avatar-option:hover {
  transform:translateY(-2px);
  border-color:#8ab59b;
  box-shadow:0 7px 18px #315e4018
}
.avatar-option:focus-visible {
  outline:3px solid var(--green);
  outline-offset:2px
}
.avatar-option.is-selected {
  border-color:var(--green);
  background:#f0f7ee;
  box-shadow:inset 0 0 0 1px var(--green)
}
.avatar-option-art {
  width:62px;
  height:62px;
  flex:0 0 auto;
  overflow:hidden;
  border-radius:50%
}
.avatar-option-art svg {
  display:block;
  width:100%;
  height:100%
}
.sidebar-bottom strong {
  display:block;
  font-size:12px
}
.sidebar-bottom small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:3px
}
.more {
  margin-left:auto;
  color:#929890;
  font-size:22px
}
.main-content {
  margin-left:238px;
  min-height:100vh
}
.topbar {
  height:70px;
  border-bottom:1px solid #ebece6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 44px;
  background:rgba(250,250,247,.78)
}
.crumb {
  font-size:12px;
  color:#888f88
}
.crumb span {
  margin:0 9px;
  color:#c0c4be
}
.crumb strong {
  color:#434b44;
  font-weight:600
}
.top-actions {
  display:flex;
  align-items:center;
  gap:15px
}
.local-badge {
  font-size:11px;
  color:#6b766b
}
.local-badge i,.eyebrow-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#6aaf7a;
  margin-right:5px
}
.icon-button,.close-button {
  border:1px solid #e6e8e1;
  background:white;
  border-radius:9px;
  width:32px;
  height:32px;
  color:#5e695f;
  font-size:20px;
  cursor:pointer
}
.user-avatar {
  width:30px;
  height:30px;
  background:#efcfaa;
  color:#714f31;
  font-size:12px
}
.content-wrap {
  max-width:1260px;
  margin:auto;
  padding:33px 44px 20px
}
.hero {
  height:218px;
  border-radius:17px;
  background:#e9eee4;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  padding:30px 36px;
  margin-bottom:22px
}
.hero-copy {
  position:relative;
  z-index:1
}
.eyebrow {
  color:#677568;
  letter-spacing:1.35px;
  font-size:9px;
  font-weight:700
}
.hero h1 {
  font:800 36px Manrope,sans-serif;
  letter-spacing:-1.7px;
  margin:12px 0 10px
}
.trip-meta {
  display:flex;
  gap:20px;
  color:#68736a;
  font-size:12px;
  margin:0 0 17px
}
.text-button {
  border:0;
  background:transparent;
  padding:0;
  color:#4a7359;
  font-size:11px;
  font-weight:700;
  cursor:pointer
}
.hero-art {
  position:absolute;
  inset:0 0 0 48%;
  overflow:hidden;
  background:linear-gradient(115deg,#e9eee4 1%,#dce9db 49%,#c3d6c5 100%);
  clip-path:ellipse(82% 100% at 75% 50%)
}
.sun {
  position:absolute;
  width:86px;
  height:86px;
  border-radius:50%;
  background:#edca83;
  top:24px;
  right:150px;
  opacity:.9
}
.mountain {
  position:absolute;
  bottom:46px;
  width:0;
  height:0;
  border-left:180px solid transparent;
  border-right:180px solid transparent
}
.mountain-back {
  right:170px;
  border-bottom:143px solid #a6bfaa
}
.mountain-front {
  right:-25px;
  bottom:23px;
  border-left-width:245px;
  border-right-width:200px;
  border-bottom:176px solid #779a81
}
.water {
  position:absolute;
  height:77px;
  bottom:0;
  left:0;
  right:0;
  background:linear-gradient(160deg,#89b4ad,#61958d)
}
.art-label {
  position:absolute;
  right:28px;
  top:43px;
  color:#fff;
  font:800 11px/1.55 Manrope,sans-serif;
  letter-spacing:1px;
  text-shadow:0 1px 5px #54775d
}
.art-label span {
  font-size:16px
}
.art-star {
  position:absolute;
  color:#fff;
  font-size:19px
}
.star-one {
  top:25px;
  left:38%
}
.star-two {
  top:92px;
  right:45%
}
.stats-grid {
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:14px;
  margin-bottom:18px
}
.stat-card,.panel {
  background:var(--paper);
  border:1px solid #eeefeb;
  border-radius:14px;
  box-shadow:var(--shadow)
}
.stat-card {
  padding:17px 19px 14px;
  min-height:120px
}
.stat-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#858d84;
  font-size:9px;
  font-weight:700;
  letter-spacing:1px
}
.stat-icon {
  width:24px;
  height:24px;
  border-radius:8px;
  background:#f5f1e6;
  display:grid;
  place-items:center;
  color:#977a42;
  font-size:14px
}
.pale-green {
  background:#e9f1eb;
  color:#4e805c
}
.pale-yellow {
  background:#faf3dc;
  color:#a3853f
}
.stat-value {
  font:800 24px Manrope,sans-serif;
  letter-spacing:-.8px;
  margin:11px 0 9px
}
.stat-value small {
  font:500 12px 'DM Sans',sans-serif;
  letter-spacing:0;
  color:#868c85
}
.stat-foot {
  display:flex;
  align-items:center;
  gap:9px;
  color:#858c85;
  font-size:10px
}
.budget-stat .stat-foot {
  justify-content:space-between
}
.progress {
  width:45%;
  height:5px;
  border-radius:9px;
  background:#edf0ea;
  overflow:hidden
}
.progress span {
  display:block;
  width:0%;
  height:100%;
  background:#719b73;
  border-radius:9px;
  transition:width .2s
}
.green-text {
  color:#568060;
  font-weight:600
}
.muted {
  color:#a0a49e
}
.avatar-stack {
  display:flex;
  margin-top:4px
}
.mini-avatar {
  width:23px;
  height:23px;
  border-radius:50%;
  border:2px solid #fff;
  margin-right:-5px;
  display:grid;
  place-items:center;
  font-size:8px;
  font-weight:700;
  color:#53695a
}
.dashboard-grid,.lower-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:14px;
  margin-bottom:15px
}
.panel {
  padding:19px 20px;
  min-width:0
}
.expenses-panel,.settle-panel {
  min-height:260px
}
.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:15px
}
.panel-heading h2,.dialog-heading h2 {
  font:700 17px Manrope,sans-serif;
  letter-spacing:-.4px;
  margin:4px 0 0
}
.section-kicker {
  font-size:9px
}
.primary-button,.outline-button {
  height:34px;
  padding:0 13px;
  border-radius:8px;
  font:600 11px 'DM Sans',sans-serif;
  cursor:pointer;
  transition:.15s
}
.primary-button {
  border:1px solid var(--green);
  background:var(--green);
  color:white
}
.primary-button:hover {
  background:var(--green-dark)
}
.outline-button {
  border:1px solid #e4e8e1;
  background:#fff;
  color:#59685a
}
.outline-button:hover {
  background:#f6f8f4
}
.balance-icon {
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#f5f3e8;
  color:#9b844d;
  font-size:17px
}
.expense-list,.balance-list,.plan-list,.stay-list {
  display:grid
}
.expense-row {
  display:grid;
  grid-template-columns:35px 1fr auto;
  align-items:center;
  gap:10px;
  padding:11px 0;
  border-top:1px solid #f1f2ef
}
.expense-icon,.plan-icon {
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#f3f4ee;
  color:#68836a;
  font-size:15px
}
.expense-title {
  font-weight:600;
  font-size:12px
}
.expense-sub {
  margin-top:4px;
  color:#939a92;
  font-size:10px
}
.expense-amount {
  font:700 12px Manrope,sans-serif;
  text-align:right
}
.expense-actions {
  border:0;
  background:none;
  color:#a1a69f;
  font-size:17px;
  cursor:pointer;
  padding:5px
}
.balance-row {
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 0;
  border-top:1px solid #f1f2ef
}
.person-avatar {
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#eaf0e8;
  color:#5e7d64;
  font-size:9px;
  font-weight:700
}
.balance-copy {
  flex:1;
  font-size:11px;
  color:#616960
}
.balance-copy strong {
  font-weight:700;
  color:#333b34
}
.balance-amount {
  font:700 11px Manrope,sans-serif;
  color:#b56e4e
}
.balance-row.positive .balance-amount {
  color:#548160
}
.settle-button {
  font-size:9px;
  color:#548160;
  border:1px solid #dfe9df;
  background:#f7faf6;
  border-radius:6px;
  padding:5px 7px;
  cursor:pointer
}
.empty-state {
  min-height:140px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  color:#687068
}
.empty-state strong {
  font-size:11px;
  color:#4e584e
}
.empty-state p {
  font-size:10px;
  color:#969c95;
  margin:5px 0 0
}
.empty-icon {
  width:31px;
  height:31px;
  border-radius:10px;
  background:#edf3ec;
  color:#618167;
  display:grid;
  place-items:center;
  font-size:16px;
  margin-bottom:8px
}
.compact {
  min-height:105px
}
.hidden {
  display:none!important
}
.lower-grid {
  grid-template-columns:1.25fr 1fr
}
.itinerary-panel,.stays-panel {
  min-height:194px
}
.plan-row {
  display:grid;
  grid-template-columns:33px 1fr auto;
  align-items:center;
  gap:9px;
  padding:8px 0;
  border-top:1px solid #f1f2ef
}
.plan-icon {
  width:31px;
  height:31px;
  background:#f5f0e5;
  color:#a48144
}
.plan-title {
  font-weight:600;
  font-size:11px
}
.plan-detail {
  font-size:9px;
  color:#929991;
  margin-top:3px
}
.plan-day {
  font-size:9px;
  color:#819080;
  font-weight:600
}
.stay-card {
  border:1px solid #eef0ea;
  border-radius:10px;
  padding:11px 12px;
  margin-bottom:8px;
  display:grid;
  grid-template-columns:32px 1fr auto;
  align-items:center;
  gap:9px
}
.stay-icon {
  height:30px;
  width:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#edf3ec;
  color:#63806a
}
.stay-name {
  font-weight:600;
  font-size:11px
}
.stay-area {
  font-size:9px;
  color:#929991;
  margin-top:3px
}
.stay-price {
  font:700 11px Manrope,sans-serif;
  text-align:right
}
.stay-price small {
  display:block;
  color:#9da39a;
  font:400 8px 'DM Sans',sans-serif;
  margin-top:3px
}
.stay-actions {
  display:flex;
  gap:8px;
  align-items:center
}
.stay-actions a {
  font-size:9px;
  color:#4e805c;
  text-decoration:none
}
.free-note {
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #f0f1ed;
  color:#929991;
  font-size:9px
}
footer {
  text-align:center;
  padding:7px 0 5px;
  color:#9ba097;
  font-size:10px
}
footer span {
  color:#78a079
}
.dialog-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:20px
}
.close-button {
  font-size:22px;
  border:0;
  background:transparent;
  width:25px;
  height:25px;
  line-height:20px
}
dialog {
  border:0;
  border-radius:16px;
  padding:24px;
  width:min(440px,calc(100vw - 28px));
  box-shadow:0 18px 70px rgba(28,38,29,.22);
  color:var(--ink)
}
dialog::backdrop {
  background:rgba(32,42,34,.28);
  backdrop-filter:blur(2px)
}
dialog form {
  display:grid;
  gap:14px
}
dialog label {
  display:block;
  font-size:11px;
  font-weight:600;
  color:#596259
}
dialog input,dialog select {
  display:block;
  width:100%;
  height:39px;
  margin-top:6px;
  padding:0 11px;
  border:1px solid #e5e9e2;
  border-radius:8px;
  background:white;
  font:400 12px 'DM Sans',sans-serif;
  color:#303932;
  outline:none
}
dialog input:focus,dialog select:focus {
  border-color:#77a27e;
  box-shadow:0 0 0 3px #eaf3ec
}
dialog input::placeholder {
  color:#6e746d
}
.input-hint {
  float:right;
  color:#70766f;
  font-size:9px;
  font-weight:400
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:5px
}
.settle-prompt {
  background:#f6f8f4;
  border-radius:8px;
  padding:11px;
  color:#59665a;
  font-size:12px;
  margin:0
}
.toast {
  position:fixed;
  left:50%;
  bottom:25px;
  transform:translate(-50%,15px);
  opacity:0;
  pointer-events:none;
  background:#293b2e;
  color:white;
  padding:11px 16px;
  border-radius:9px;
  font-size:12px;
  box-shadow:0 8px 24px #28372933;
  transition:.2s;
  z-index:5
}
.toast.show {
  opacity:1;
  transform:translate(-50%,0)
}

@media(max-width:1050px) {
  .content-wrap {
  padding:28px 24px
}
.topbar {
  padding:0 24px
}
.sidebar {
  width:205px
}
.main-content {
  margin-left:205px
}
.hero-art {
  left:42%
}
.dashboard-grid {
  grid-template-columns:1.2fr 1fr
}

}

@media(max-width:760px) {
  .sidebar {
  position:sticky;
  top:0;
  width:auto;
  height:auto;
  padding:10px 13px;
  border-right:0;
  border-bottom:1px solid #ebece6;
  display:block
}

@media(max-width:480px) {
  .avatar-picker-dialog {
    padding:19px 15px
  }
  .avatar-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px
  }
  .avatar-option {
    font-size:9px
  }
  .avatar-option-art {
    width:58px;
    height:58px
  }
}
.brand {
  padding:0;
  font-size:17px
}
.brand-mark {
  width:27px;
  height:27px
}
.workspace-label,.sidebar-bottom {
  display:none
}
.sidebar nav {
  display:flex;
  overflow-x:auto;
  gap:3px;
  margin-top:8px
}
.nav-link {
  white-space:nowrap;
  padding:8px;
  font-size:11px;
  gap:7px
}
.nav-link>span {
  font-size:15px
}
.nav-link b {
  display:none
}
.main-content {
  margin-left:0
}
.topbar {
  height:52px;
  padding:0 15px
}
.local-badge {
  font-size:0
}
.local-badge i {
  margin:0
}
.content-wrap {
  padding:18px 13px
}
.hero {
  height:190px;
  padding:22px
}
.hero h1 {
  font-size:28px
}
.trip-meta {
  gap:9px;
  flex-wrap:wrap;
  font-size:10px;
  max-width:250px
}
.hero-art {
  left:43%;
  opacity:.82
}
.sun {
  right:75px;
  width:60px;
  height:60px
}
.mountain-back {
  right:73px
}
.art-label {
  right:11px;
  font-size:8px
}
.stats-grid {
  grid-template-columns:1fr 1fr;
  gap:9px
}
.budget-stat {
  grid-column:1 / -1
}
.stat-card {
  min-height:106px;
  padding:13px
}
.dashboard-grid,.lower-grid {
  grid-template-columns:1fr;
  gap:10px
}
.panel {
  padding:16px
}
.expenses-panel,.settle-panel {
  min-height:0
}
.expenses-panel {
  min-height:225px
}
.lower-grid {
  margin-bottom:8px
}
footer {
  padding:13px
}
.form-row {
  gap:8px
}

}

@media(max-width:359px) {
  .sidebar nav {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:2px;
    overflow:visible
  }
  .nav-link {
    justify-content:center;
    gap:4px;
    padding:8px 2px;
    font-size:9.5px
  }
  .nav-link>span {
    font-size:13px
  }
}

.auth-button {
  height:32px;
  white-space:nowrap
}
.group-button {
  height:32px;
  white-space:nowrap
}
.user-avatar {
  overflow:hidden;
  flex:0 0 auto;
  font-size:10px
}
.auth-explainer {
  margin:-8px 0 2px;
  color:#788078;
  font-size:12px;
  line-height:1.5
}
.auth-mode {
  display:grid;
  grid-template-columns:1fr 1fr;
  padding:4px;
  gap:4px;
  border-radius:9px;
  background:#f3f5f0
}
.auth-mode-button {
  height:32px;
  border:0;
  border-radius:7px;
  color:#737c73;
  background:transparent;
  font:600 11px 'DM Sans',sans-serif;
  cursor:pointer
}
.auth-mode-button.active {
  color:#3d684b;
  background:#fff;
  box-shadow:0 1px 4px #29372912
}
.config-notice {
  padding:11px 12px;
  border:1px solid #e9e5d2;
  border-radius:9px;
  background:#fbf8eb;
  color:#6d674e;
  font-size:11px;
  line-height:1.55
}
.config-notice a {
  color:#4f795b;
  font-weight:700
}
.config-notice code {
  font-size:10px
}
.auth-message {
  min-height:15px;
  margin:-5px 0 0;
  color:#667466;
  font-size:11px;
  line-height:1.45
}
.auth-button:disabled,.primary-button:disabled {
  cursor:not-allowed;
  opacity:.55
}
.invite-result {
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:7px 12px;
  padding:12px;
  border:1px solid #e1eadf;
  border-radius:10px;
  background:#f5f9f4
}
.invite-result span {
  grid-column:1 / -1;
  color:#839083;
  font-size:9px;
  font-weight:700;
  letter-spacing:1px
}
.invite-result strong {
  color:#315e40;
  font:800 22px Manrope,sans-serif;
  letter-spacing:2px
}
.invite-result button {
  grid-column:2;
  grid-row:2
}
@media(max-width:760px) {
  .top-actions {
    gap:8px
  }
  .auth-button {
    padding:0 9px;
    font-size:10px
  }
  .user-avatar {
    width:32px;
    height:32px
  }
  .local-badge {
    display:none
  }
}

