/* [project]/app/globals.css [app-client] (css) */
:root {
  --accent: #5366ec;
  --accent-dark: #3f50d4;
  --accent-soft: #eef0ff;
  --ink: #172038;
  --muted: #737b91;
  --line: #e5e8f0;
  --surface: #fff;
  --background: #f6f7fb;
  --danger: #e45454;
  --success: #1b9b69;
}

* {
  box-sizing: border-box;
}

html {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

body {
  color: var(--ink);
  background: var(--background);
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  line-height: 1.5;
}

button, input, select {
  color: inherit;
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .58;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p {
  margin-top: 0;
}

.top-nav, .board-nav {
  justify-content: space-between;
  align-items: center;
  width: min(1180px, 100% - 48px);
  height: 84px;
  margin: 0 auto;
  display: flex;
}

.brand {
  letter-spacing: -.04em;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 850;
  display: inline-flex;
}

.brand-mark {
  color: #fff;
  background: var(--accent);
  border-radius: 12px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 19px;
  display: inline-grid;
  box-shadow: 0 8px 18px #5366ec3d;
}

.nav-note, .muted {
  color: var(--muted);
}

.eyebrow {
  color: var(--accent);
  letter-spacing: .14em;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 850;
}

.primary-button, .secondary-button {
  border: 1px solid #0000;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 750;
  transition: all .16s;
  display: inline-flex;
}

.primary-button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 9px 20px #5366ec33;
}

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.secondary-button {
  border-color: var(--line);
  background: #fff;
}

.secondary-button:hover {
  background: #fafbff;
  border-color: #cbd1e2;
}

.primary-button.wide, .secondary-button.wide {
  width: 100%;
}

.secondary-button.compact {
  border-radius: 10px;
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
}

.text-button, .icon-button {
  color: var(--accent);
  background: none;
  border: 0;
  padding: 0;
  font-weight: 750;
}

.icon-button {
  width: 34px;
  height: 34px;
  color: var(--muted);
  border-radius: 9px;
  place-items: center;
  font-size: 22px;
  display: grid;
}

.icon-button:hover {
  background: #f1f2f7;
}

.panel, .login-card, .modal-card {
  background: var(--surface);
  border: 1px solid #dbdfeae6;
  border-radius: 24px;
  box-shadow: 0 24px 70px #232d4e17;
}

.landing-shell {
  background: radial-gradient(circle at 14% 30%, #5366ec1c, #0000 29%), radial-gradient(circle at 83% 5%, #9570f41a, #0000 25%), #fbfbfd;
  min-height: 100vh;
  overflow: hidden;
}

.landing-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  align-items: center;
  gap: 84px;
  width: min(1100px, 100% - 48px);
  min-height: calc(100vh - 100px);
  margin: 0 auto;
  padding: 58px 0 100px;
  display: grid;
}

.hero-copy h1 {
  letter-spacing: -.065em;
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.08;
}

.hero-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-description {
  color: #60697f;
  word-break: keep-all;
  max-width: 590px;
  margin-bottom: 44px;
  font-size: 18px;
  line-height: 1.75;
}

.feature-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

.feature-row div {
  background: #ffffffab;
  border: 1px solid #e1e4eecc;
  border-radius: 18px;
  flex-direction: column;
  min-height: 120px;
  padding: 20px;
  display: flex;
}

.feature-row span {
  color: var(--accent);
  margin-bottom: auto;
  font-size: 11px;
  font-weight: 850;
}

.feature-row strong {
  font-size: 15px;
}

.feature-row small {
  color: var(--muted);
}

.login-card {
  padding: 34px;
}

.login-card h2 {
  letter-spacing: -.04em;
  margin: 28px 0 7px;
  font-size: 27px;
}

.login-card > .muted {
  word-break: keep-all;
  margin-bottom: 27px;
  font-size: 14px;
}

.segmented {
  background: #f1f2f7;
  border-radius: 12px;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  display: grid;
}

.segmented button {
  min-height: 38px;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
}

.segmented button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 3px 12px #19223b14;
}

.stack-form, .wizard-fields, .receipt-form {
  gap: 17px;
  display: grid;
}

label {
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
  display: grid;
}

input, select {
  background: #fff;
  border: 1px solid #dfe2eb;
  border-radius: 11px;
  outline: none;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  transition: border-color .15s, box-shadow .15s;
}

input:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #5366ec1c;
}

.amount-input {
  -moz-appearance: textfield;
}

.amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.amount-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-error {
  color: var(--danger);
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}

.dashboard-shell {
  min-height: 100vh;
}

.dashboard-nav {
  border-bottom: 1px solid #0000;
}

.user-nav, .user-nav > span {
  align-items: center;
  display: flex;
}

.user-nav {
  gap: 14px;
}

.user-nav > span {
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.user-nav small {
  color: var(--muted);
  font-size: 11px;
}

.dashboard-content {
  width: min(1060px, 100% - 48px);
  margin: 0 auto;
  padding: 70px 0 120px;
}

.dashboard-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
  display: flex;
}

.dashboard-heading h1 {
  letter-spacing: -.055em;
  margin-bottom: 8px;
  font-size: 38px;
}

.dashboard-heading p:last-child {
  margin-bottom: 0;
}

.group-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  display: grid;
}

.group-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  flex-direction: column;
  min-height: 210px;
  padding: 25px;
  transition: all .16s;
  display: flex;
}

.group-card:hover {
  border-color: #cbd1f9;
  transform: translateY(-3px);
  box-shadow: 0 18px 35px #222b4714;
}

.group-card h2 {
  letter-spacing: -.035em;
  margin: 20px 0 5px;
  font-size: 20px;
}

.group-card-top {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.group-card p {
  color: var(--muted);
  font-size: 13px;
}

.group-card footer {
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 13px;
  display: flex;
}

.group-card footer b {
  color: var(--accent);
}

.add-group-card {
  color: var(--muted);
  border-style: dashed;
  justify-content: center;
  align-items: center;
}

.add-group-card > span {
  width: 42px;
  height: 42px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 13px;
  place-items: center;
  margin-bottom: 12px;
  font-size: 25px;
  display: grid;
}

.add-group-card > strong {
  color: var(--ink);
}

.add-group-card > small {
  margin-top: 3px;
}

.mode-badge, .status-dot {
  color: #7c5597;
  background: #f5edfb;
  border-radius: 999px;
  width: fit-content;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
}

.mode-badge.solo {
  color: #397154;
  background: #ebf8f1;
}

.mode-badge.together {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.empty-groups {
  text-align: center;
  padding: 70px 30px;
}

.empty-groups > span, .receipt-empty > span {
  margin-bottom: 14px;
  font-size: 44px;
  display: block;
}

.empty-groups h2, .receipt-empty h3 {
  letter-spacing: -.035em;
  margin-bottom: 8px;
}

.empty-groups p, .receipt-empty p {
  color: var(--muted);
  margin-bottom: 22px;
}

.modal-backdrop {
  z-index: 100;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #12192d94;
  place-items: center;
  padding: 28px;
  display: grid;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

.modal-card {
  width: min(590px, 100%);
  max-height: calc(100vh - 56px);
  padding: 34px;
  position: relative;
  overflow-y: auto;
}

.modal-card h2 {
  letter-spacing: -.045em;
  margin-bottom: 24px;
  font-size: 28px;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.stepper {
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
}

.stepper li {
  color: #a4a9b8;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  display: flex;
  position: relative;
}

.stepper li:before {
  z-index: 0;
  content: "";
  background: #e8eaf0;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 13px;
  left: -50%;
}

.stepper li:first-child:before {
  display: none;
}

.stepper li.active:before {
  background: var(--accent);
}

.stepper span {
  z-index: 1;
  background: #e8eaf0;
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  display: grid;
}

.stepper li.active {
  color: var(--accent);
}

.stepper li.active span {
  color: #fff;
  background: var(--accent);
}

.choice-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.choice-card {
  border: 1px solid var(--line);
  text-align: left;
  background: #fff;
  border-radius: 18px;
  flex-direction: column;
  align-items: flex-start;
  min-height: 185px;
  padding: 23px;
  display: flex;
}

.choice-card:hover, .choice-card.selected {
  border-color: var(--accent);
  background: #f8f8ff;
  box-shadow: 0 0 0 3px #5366ec14;
}

.choice-emoji {
  margin-bottom: auto;
  font-size: 30px;
}

.choice-card strong {
  margin-bottom: 4px;
  font-size: 17px;
}

.choice-card small, .field-heading small {
  color: var(--muted);
  line-height: 1.45;
}

.field-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 750;
  display: flex;
}

.inline-field {
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-bottom: 8px;
  display: grid;
}

.input-with-suffix {
  display: block;
  position: relative;
}

.input-with-suffix input {
  padding-right: 78px;
}

.input-with-suffix > span {
  color: var(--muted);
  font-size: 12px;
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.summary-box {
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
}

.summary-box div {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  display: flex;
}

.summary-box div:last-child {
  border-bottom: 0;
}

.summary-box span {
  color: var(--muted);
  font-size: 13px;
}

.modal-actions {
  justify-content: flex-end;
  gap: 9px;
  margin-top: 27px;
  display: flex;
}

.invite-success {
  text-align: center;
  padding: 48px 38px;
}

.success-icon {
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 25px;
  font-size: 28px;
  display: grid;
}

.invite-success p:not(.eyebrow, .success-message) {
  color: var(--muted);
  margin-bottom: 28px;
}

.invite-success .secondary-button {
  margin-top: 9px;
}

.invite-link-list {
  text-align: left;
  gap: 9px;
  margin: 20px 0;
  display: grid;
}

.invite-link-list > p {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
}

.invite-link-list > div {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  display: grid;
}

.invite-link-list label {
  min-width: 0;
  color: var(--muted);
  gap: 5px;
  font-size: 11px;
  font-weight: 750;
  display: grid;
}

.invite-link-list input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  font-size: 12px;
}

.success-message {
  color: var(--success);
  margin: 13px 0 0;
  font-size: 13px;
}

.center-page, .invite-page {
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  display: grid;
}

.error-panel {
  text-align: center;
  max-width: 520px;
  padding: 42px;
}

.error-panel .brand-mark {
  margin: 0 auto 20px;
}

.error-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.invite-page {
  background: radial-gradient(circle at 50% 25%, #5366ec21, #0000 31%), #f9f9fc;
  display: block;
}

.invite-page .top-nav {
  height: 65px;
}

.invite-card {
  text-align: center;
  width: min(460px, 100%);
  margin: 65px auto;
  padding: 40px;
}

.invite-emoji, .invalid-invite > span {
  margin: 15px 0;
  font-size: 48px;
  display: block;
}

.invite-card h1 {
  letter-spacing: -.045em;
  margin-bottom: 8px;
  font-size: 30px;
}

.invite-card > p:not(.eyebrow, .form-error) {
  color: var(--muted);
}

.join-progress {
  margin: 25px 0;
}

.join-progress > div {
  background: #e8eaf2;
  border-radius: 999px;
  height: 7px;
  margin-bottom: 8px;
  overflow: hidden;
}

.join-progress span {
  border-radius: inherit;
  background: var(--accent);
  height: 100%;
  display: block;
}

.join-progress strong {
  color: var(--muted);
  font-size: 12px;
}

.privacy-note {
  color: #989eae;
  margin-top: 18px;
  display: block;
}

.invalid-invite .secondary-button {
  margin-top: 15px;
}

.board-shell {
  min-height: 100vh;
  padding-bottom: 100px;
}

.board-nav {
  border-bottom: 1px solid var(--line);
}

.board-nav-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.viewer-chip {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
}

.group-hero, .settlement-section, .receipts-section, .settlement-complete {
  width: min(1180px, 100% - 48px);
  margin-left: auto;
  margin-right: auto;
}

.group-hero {
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding: 55px 0 40px;
  display: flex;
}

.hero-badges, .group-actions {
  gap: 8px;
  display: flex;
}

.group-actions {
  flex-wrap: wrap;
}

.status-dot {
  color: var(--success);
  background: #eaf8f2;
}

.status-dot.waiting {
  color: #a97119;
  background: #fff6e4;
}

.status-dot.completed {
  color: var(--muted);
  background: #eceef4;
}

.group-hero h1 {
  letter-spacing: -.055em;
  margin: 15px 0 16px;
  font-size: 42px;
}

.member-stack {
  align-items: center;
  display: flex;
}

.member-stack > span {
  border: 2px solid var(--background);
  color: #fff;
  background: #7380dc;
  border-radius: 50%;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -6px;
  font-size: 11px;
  font-weight: 850;
  display: grid;
}

.member-stack > span:first-child {
  margin-left: 0;
}

.member-stack > span:nth-child(3n+2) {
  background: #8870b1;
}

.member-stack > span:nth-child(3n) {
  background: #4f9a87;
}

.member-stack strong {
  color: var(--muted);
  margin-left: 9px;
  font-size: 12px;
}

.notice {
  z-index: 80;
  min-width: 280px;
  max-width: calc(100% - 30px);
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid #d9dcf8;
  border-radius: 12px;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 16px 38px #1e284829;
}

.settlement-section, .receipts-section {
  margin-bottom: 48px;
}

.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 17px;
  display: flex;
}

.section-heading h2 {
  letter-spacing: -.04em;
  margin: 0;
  font-size: 24px;
}

.section-heading > span, .section-heading > strong {
  color: var(--muted);
  font-size: 13px;
}

.balance-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  display: grid;
}

.balance-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  position: relative;
}

.balance-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.balance-card-filter {
  border-radius: inherit;
  background: none;
  border: 0;
  position: absolute;
  inset: 0;
}

.balance-card-filter:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.balance-card > div:first-child {
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 10px;
  place-items: center;
  font-size: 12px;
  display: grid;
}

.balance-card dl {
  gap: 6px;
  margin: 0 0 14px;
  display: grid;
}

.balance-card dl div {
  color: var(--muted);
  justify-content: space-between;
  font-size: 12px;
  display: flex;
}

.balance-card dd {
  color: var(--ink);
  margin: 0;
  font-weight: 700;
}

.balance-card > p {
  border-top: 1px solid var(--line);
  margin: 0;
  padding-top: 13px;
  font-weight: 850;
}

.positive {
  color: var(--success);
}

.negative {
  color: var(--danger);
}

.transfer-strip {
  color: #fff;
  background: #222b46;
  border-radius: 15px;
  align-items: flex-start;
  gap: 22px;
  margin-top: 12px;
  padding: 16px 19px;
  font-size: 12px;
  display: flex;
}

.transfer-strip > div {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.transfer-strip span {
  background: #ffffff1a;
  border-radius: 999px;
  padding: 4px 9px;
}

.transfer-strip b {
  color: #b9c1ff;
  margin-left: 7px;
}

.receipt-workspace {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 21px;
  grid-template-columns: 350px 1fr;
  min-height: 470px;
  display: grid;
  overflow: hidden;
  box-shadow: 0 16px 45px #1e27450d;
}

.receipt-list {
  border-right: 1px solid var(--line);
  background: #fafbfe;
  padding: 10px;
}

.receipt-list > button {
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 14px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 82px;
  margin-bottom: 5px;
  padding: 13px;
  display: grid;
}

.receipt-list > button:hover, .receipt-list > button.selected {
  background: #fff;
  border-color: #dfe2fb;
  box-shadow: 0 7px 20px #232d4b0f;
}

.receipt-icon {
  width: 37px;
  height: 37px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 11px;
  place-items: center;
  font-size: 22px;
  display: grid;
}

.receipt-list button > span:nth-child(2) {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.receipt-list strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.receipt-list small {
  color: var(--muted);
  font-size: 11px;
}

.receipt-list b {
  font-size: 13px;
}

.receipt-detail {
  padding: 28px 30px;
}

.receipt-detail > header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding-bottom: 22px;
  display: flex;
}

.receipt-detail header p, .receipt-detail header span {
  color: var(--muted);
  margin-bottom: 3px;
  font-size: 11px;
}

.receipt-detail header h3 {
  letter-spacing: -.035em;
  margin-bottom: 2px;
  font-size: 24px;
}

.detail-actions {
  align-items: flex-start;
  gap: 13px;
  display: flex;
}

.detail-actions .danger {
  color: var(--danger);
}

.item-detail {
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}

.item-title {
  justify-content: space-between;
  margin-bottom: 13px;
  display: flex;
}

.item-title > div {
  flex-direction: column;
  display: flex;
}

.item-title small, .receipt-consumers > small {
  color: var(--muted);
  font-size: 11px;
}

.receipt-consumers > div {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
  display: flex;
}

.receipt-consumers span {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 750;
}

.receipt-total {
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  display: flex;
}

.receipt-total span {
  color: var(--muted);
  font-size: 13px;
}

.receipt-total strong {
  font-size: 22px;
}

.receipt-empty {
  text-align: center;
  padding: 60px 30px;
}

.receipt-summary {
  align-items: center;
  gap: 10px;
  display: flex;
}

.receipt-summary strong {
  color: var(--muted);
}

.settlement-complete {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  display: flex;
}

.settlement-complete div {
  gap: 3px;
  display: grid;
}

.settlement-complete small {
  color: var(--muted);
}

.receipt-modal {
  width: min(760px, 100%);
}

.receipt-tabs {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
}

.photo-box {
  text-align: center;
  background: #fafbfe;
  border: 1px dashed #cfd4e2;
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
  padding: 24px;
  display: flex;
}

.photo-box > span {
  margin-bottom: 8px;
  font-size: 30px;
}

.receipt-preview {
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  width: min(100%, 420px);
  max-height: 280px;
  margin-bottom: 12px;
  display: block;
}

.photo-box small {
  color: var(--muted);
  margin: 4px 0 14px;
}

.file-button {
  cursor: pointer;
  min-height: 38px;
}

.file-button input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.two-columns {
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  display: grid;
}

.menu-editor-heading {
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 9px;
  display: flex;
}

.menu-editor-heading > div {
  flex-direction: column;
  display: flex;
}

.menu-editor-heading small {
  color: var(--muted);
}

.running-total {
  color: var(--accent);
}

.menu-editor-list {
  gap: 11px;
  display: grid;
}

.menu-editor-item {
  border: 1px solid var(--line);
  border-radius: 15px;
  margin: 0;
  padding: 20px;
  position: relative;
}

.menu-editor-item legend {
  padding: 0 5px;
  font-size: 12px;
  font-weight: 850;
}

.remove-menu {
  position: absolute;
  top: 8px;
  right: 8px;
}

.menu-input-grid {
  grid-template-columns: 1.6fr .55fr 1fr;
  gap: 9px;
  display: grid;
}

.consumer-field {
  margin-top: 14px;
}

.consumer-field > span {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 750;
  display: block;
}

.consumer-chips {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.consumer-chips label {
  border: 1px solid var(--line);
  min-height: 34px;
  color: var(--muted);
  cursor: pointer;
  background: #fff;
  border-radius: 999px;
  align-items: center;
  padding: 0 11px;
  display: flex;
}

.consumer-chips label.checked {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: #cdd2ff;
}

.consumer-chips input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.line-total {
  color: var(--muted);
  text-align: right;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 750;
}

.add-menu {
  width: fit-content;
}

@media (max-width: 940px) {
  .landing-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 35px;
  }

  .login-card {
    width: min(480px, 100%);
  }

  .group-list, .balance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .receipt-workspace {
    grid-template-columns: 290px 1fr;
  }
}

@media (max-width: 720px) {
  .top-nav, .board-nav, .group-hero, .settlement-section, .receipts-section, .settlement-complete, .dashboard-content {
    width: min(100% - 28px, 1180px);
  }

  .top-nav, .board-nav {
    height: 68px;
  }

  .nav-note, .user-nav > span, .viewer-chip {
    display: none;
  }

  .landing-grid {
    width: min(100% - 28px, 1100px);
    padding: 30px 0 65px;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: 43px;
  }

  .hero-description {
    font-size: 16px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row div {
    min-height: 90px;
  }

  .login-card, .modal-card, .invite-card {
    border-radius: 20px;
    padding: 25px;
  }

  .dashboard-content {
    padding-top: 45px;
  }

  .dashboard-heading, .group-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-heading h1, .group-hero h1 {
    font-size: 32px;
  }

  .group-list, .balance-grid, .choice-grid {
    grid-template-columns: 1fr;
  }

  .group-card {
    min-height: 170px;
  }

  .group-actions > * {
    flex: 1;
  }

  .balance-grid {
    scroll-snap-type: x mandatory;
    display: flex;
    overflow-x: auto;
  }

  .balance-card {
    scroll-snap-align: start;
    min-width: 230px;
  }

  .transfer-strip {
    flex-direction: column;
    gap: 9px;
  }

  .receipt-workspace {
    display: block;
  }

  .receipt-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    overflow-x: auto;
  }

  .receipt-list > button {
    min-width: 285px;
  }

  .receipt-detail {
    padding: 22px 18px;
  }

  .receipt-summary {
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
  }

  .settlement-complete {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal-card {
    border-radius: 23px 23px 0 0;
    width: 100%;
    max-height: 94vh;
  }

  .two-columns, .menu-input-grid {
    grid-template-columns: 1fr;
  }

  .menu-editor-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/