/* [project]/app/globals.css [app-client] (css) */
:root {
  --bg: #fbf7f4;
  --card: #fff;
  --text: #3a2e2a;
  --muted: #8a7a73;
  --accent: #b5838d;
  --accent-dark: #8e5f69;
  --accent-soft: #f6ecee;
  --border: #ecdfd8;
  --ok: #6a994e;
  --warn: #d4a017;
  --danger: #c0504d;
  --sidebar: #3f2e33;
  --sidebar-text: #f3e6e9;
  --sidebar-w: 240px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Segoe UI, system-ui, sans-serif;
  line-height: 1.45;
}

a {
  color: var(--accent-dark);
}

h1, h2, h3 {
  font-family: Georgia, Times New Roman, serif;
  font-weight: normal;
}

input, select, textarea {
  border: 1px solid var(--border);
  font: inherit;
  color: inherit;
  background: #fff;
  border-radius: 8px;
  min-width: 0;
  padding: .5rem .6rem;
}

textarea {
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.btn {
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1rem;
  text-decoration: none;
  display: inline-flex;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn:disabled {
  opacity: .6;
  cursor: default;
}

.btn.ghost {
  color: var(--accent-dark);
  border: 1px solid var(--border);
  background: none;
}

.btn.ghost:hover {
  background: var(--accent-soft);
}

.btn.small {
  padding: .25rem .6rem;
  font-size: .85rem;
}

.btn.block {
  width: 100%;
}

.icon-btn {
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: none;
  border-radius: 6px;
  padding: .2rem .45rem;
  font-size: 1.05rem;
}

.icon-btn:hover {
  color: var(--danger);
  background: var(--accent-soft);
}

.icon-btn:disabled {
  opacity: .5;
}

.field {
  color: var(--muted);
  flex-direction: column;
  gap: .25rem;
  font-size: .85rem;
  display: flex;
}

.field > input, .field > select, .field > textarea {
  color: var(--text);
  font-size: 1rem;
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .9rem;
  display: grid;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.inline-form {
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
  display: flex;
}

.inline-form > input:first-child {
  flex: 200px;
}

.w-sm {
  width: 90px;
}

.alert {
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: .65rem .9rem;
  font-size: .95rem;
}

.alert.error {
  color: #8a2f2c;
  background: #fbeaea;
  border: 1px solid #f0c9c8;
}

.alert.ok {
  color: #3f6b28;
  background: #edf5e7;
  border: 1px solid #cfe3c1;
}

.auth-wrap {
  background: linear-gradient(135deg, #f4e1e6, #fbefe6);
  place-items: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  display: grid;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  box-shadow: 0 10px 30px #78465014;
}

.auth-card.wide {
  max-width: 640px;
}

.auth-card h1 {
  text-align: center;
  margin: 0 0 .25rem;
  font-size: 1.9rem;
}

.auth-card .sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.auth-card form {
  flex-direction: column;
  gap: .9rem;
  display: flex;
}

.auth-card fieldset {
  border: 1px solid var(--border);
  border-radius: 10px;
  gap: .7rem;
  padding: .9rem;
  display: grid;
}

.auth-card legend {
  color: var(--accent-dark);
  padding: 0 .4rem;
  font-weight: 600;
}

.auth-hint {
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  font-size: .85rem;
}

.panel-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar);
  color: var(--sidebar-text);
  flex-direction: column;
  flex-shrink: 0;
  height: 100vh;
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  border-bottom: 1px solid #ffffff14;
  align-items: center;
  gap: .6rem;
  padding: 1.25rem 1.1rem;
  display: flex;
}

.brand-icon {
  font-size: 1.5rem;
}

.brand-title {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.2;
}

.nav {
  flex-direction: column;
  flex: 1;
  gap: .15rem;
  padding: .75rem .6rem;
  display: flex;
  overflow-y: auto;
}

.nav-link {
  color: var(--sidebar-text);
  opacity: .85;
  border-radius: 8px;
  align-items: center;
  gap: .7rem;
  padding: .6rem .75rem;
  text-decoration: none;
  display: flex;
}

.nav-link:hover {
  opacity: 1;
  background: #ffffff12;
}

.nav-link.active {
  background: var(--accent);
  opacity: 1;
  color: #fff;
}

.nav-icon {
  text-align: center;
  width: 1.3rem;
}

.user-box {
  border-top: 1px solid #ffffff14;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1rem;
  display: flex;
}

.user-box .icon-btn {
  color: var(--sidebar-text);
  font-size: 1.2rem;
}

.user-box .icon-btn:hover {
  color: #fff;
  background: #ffffff1a;
}

.user-box form {
  margin: 0;
}

.avatar {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  font-weight: 600;
  display: grid;
}

.user-meta {
  flex: 1;
  min-width: 0;
}

.user-name {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .95rem;
  overflow: hidden;
}

.role-badge {
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 999px;
  padding: .05rem .45rem;
  font-size: .7rem;
}

.role-bride {
  color: #6d2b3a;
  background: #f4c7d1;
}

.role-groom {
  color: #23406b;
  background: #c9d9f0;
}

.role-guest {
  color: #5a4a2a;
  background: #e5dccb;
}

.content {
  flex: 1;
  min-width: 0;
  padding: 2rem;
}

.page-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: 1.25rem;
  display: flex;
}

.page-head h1 {
  margin: 0;
  font-size: 1.9rem;
}

.page-head p {
  color: var(--muted);
  margin: 0;
}

.topbar, .backdrop {
  display: none;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
}

.card h2 {
  margin: 0 0 1rem;
  font-size: 1.3rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  display: grid;
}

.grid-2 > .card {
  margin-bottom: 0;
}

.hero-card {
  border: 1px solid var(--border);
  text-align: center;
  background: linear-gradient(135deg, #f4e1e6, #fbefe6);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  padding: 1.75rem;
}

.hero-card h2 {
  margin: 0;
  font-size: 2rem;
}

.hero-card .count {
  color: var(--accent-dark);
  margin: .4rem 0 .2rem;
  font-size: 1.25rem;
}

.hero-card .meta {
  color: var(--muted);
}

.stats {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
  display: grid;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.stat .label {
  color: var(--muted);
  font-size: .85rem;
}

.stat .value {
  margin-top: .2rem;
  font-size: 1.55rem;
}

.stat .hint {
  color: var(--muted);
  font-size: .8rem;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table th, .table td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  padding: .6rem .5rem;
}

.table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .75rem;
  font-weight: 600;
}

.table td.num, .table th.num {
  text-align: right;
}

.table select {
  padding: .25rem .4rem;
}

.table code {
  background: var(--accent-soft);
  border-radius: 4px;
  padding: .1rem .35rem;
  font-size: .9rem;
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 1.25rem;
}

.muted {
  color: var(--muted);
}

.row-actions {
  justify-content: flex-end;
  align-items: center;
  gap: .25rem;
  display: flex;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: .65rem;
  padding: .6rem 0;
  display: flex;
}

.list li:last-child {
  border-bottom: none;
}

.list .text {
  flex: 1;
}

.list li.done .text {
  color: var(--muted);
  text-decoration: line-through;
}

.due {
  color: var(--muted);
  white-space: nowrap;
  font-size: .8rem;
}

.due.overdue {
  color: var(--danger);
}

.pill {
  border-radius: 999px;
  padding: .1rem .55rem;
  font-size: .75rem;
  display: inline-block;
}

.pill.attending {
  color: #3f6b28;
  background: #edf5e7;
}

.pill.declined {
  color: #8a2f2c;
  background: #fbeaea;
}

.pill.pending {
  color: #7a5d0b;
  background: #fbf3dc;
}

.bar {
  background: #f1e6e1;
  border-radius: 999px;
  height: 10px;
  margin: .25rem 0 .5rem;
  overflow: hidden;
}

.bar > div {
  background: var(--ok);
  height: 100%;
  transition: width .3s;
}

.bar.over > div {
  background: var(--danger);
}

.schedule {
  white-space: pre-wrap;
  margin: 0;
  font-family: inherit;
}

.choice-group {
  flex-wrap: wrap;
  gap: .75rem;
  display: flex;
}

.choice {
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
  border-radius: 10px;
  flex: 160px;
  align-items: center;
  gap: .5rem;
  padding: .8rem;
  font-size: 1rem;
  display: flex;
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.list-tabs {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
  display: grid;
}

.list-tab {
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .8rem 1rem;
  text-decoration: none;
  display: block;
}

.list-tab:hover {
  border-color: var(--accent);
}

.list-tab.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.list-tab .lt-title {
  font-weight: 600;
}

.list-tab .lt-meta {
  color: var(--muted);
  font-size: .85rem;
}

.price-input {
  text-align: right;
  width: 110px;
  padding: .3rem .5rem;
}

.item-note {
  color: var(--muted);
  font-size: .8rem;
  display: block;
}

.nav-section {
  flex-direction: column;
  gap: .1rem;
  margin-bottom: .4rem;
  display: flex;
}

.nav-heading {
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .55;
  padding: .6rem .75rem .2rem;
  font-size: .7rem;
}

.role-family {
  color: #2f5a24;
  background: #d9ead3;
}

.inline-input {
  width: 130px;
  padding: .3rem .45rem;
  font-size: .9rem;
}

input[type="number"].inline-input {
  text-align: right;
}

.event-card .event-meta {
  color: var(--muted);
  flex-wrap: wrap;
  gap: .3rem 1rem;
  margin: .25rem 0 .6rem;
  font-size: .9rem;
  display: flex;
}

.event-card details summary {
  cursor: pointer;
  color: var(--accent-dark);
  margin-top: .5rem;
  font-size: .9rem;
}

.event-card details[open] summary {
  margin-bottom: .75rem;
}

.chips {
  flex-wrap: wrap;
  gap: .4rem;
  display: flex;
}

.chip {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: .15rem .6rem;
  font-size: .8rem;
}

.matrix th.ev {
  writing-mode: vertical-rl;
  white-space: nowrap;
  vertical-align: bottom;
  text-transform: none;
  padding: .5rem .25rem;
  font-size: .75rem;
  transform: rotate(180deg);
}

.matrix td.cell {
  text-align: center;
  padding: .35rem .25rem;
}

.matrix td.cell select {
  max-width: 92px;
  margin: .2rem auto 0;
  padding: .1rem;
  font-size: .75rem;
  display: block;
}

.matrix tbody tr:hover {
  background: #fdf8f6;
}

.rsvp-event {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: .75rem;
  padding: .9rem;
}

.rsvp-event h3 {
  margin: 0 0 .2rem;
  font-size: 1.1rem;
}

.gallery {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .6rem;
  display: grid;
}

.photo {
  aspect-ratio: 1;
  background: #f1e6e1;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.photo .photo-bar {
  color: #fff;
  background: linear-gradient(#0000, #000000a6);
  align-items: flex-end;
  gap: .3rem;
  padding: .35rem .5rem;
  font-size: .75rem;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.photo .photo-bar span {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.photo .photo-bar a, .photo .photo-bar .icon-btn {
  color: #fff;
  text-decoration: none;
}

.blessing {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: .75rem;
  padding: 1rem 1.1rem;
}

.blessing p {
  white-space: pre-wrap;
  margin: 0 0 .4rem;
  font-size: 1.02rem;
}

.blessing .by {
  color: var(--muted);
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  display: flex;
}

.banner {
  color: #6b520a;
  background: #fbf3dc;
  border: 1px solid #f0dfa6;
  border-radius: 10px;
  margin-bottom: 1rem;
  padding: .7rem .9rem;
  font-size: .92rem;
}

.sheet {
  background: #fff;
  min-height: 100vh;
  padding: 1.5rem 2rem;
}

.sheet h1 {
  margin: 0 0 .25rem;
}

.sheet .sheet-sub {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.sheet h2 {
  border-bottom: 2px solid var(--accent);
  margin: 1.25rem 0 .5rem;
  padding-bottom: .2rem;
  font-size: 1.2rem;
}

.sheet .table th, .sheet .table td {
  padding: .35rem .4rem;
  font-size: .9rem;
}

.sheet-tools {
  gap: .5rem;
  margin-bottom: 1rem;
  display: flex;
}

@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .sheet {
    max-width: none;
    padding: 0;
  }

  .sheet h2 {
    break-after: avoid;
  }

  .sheet tr {
    break-inside: avoid;
  }

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

@media (max-width: 860px) {
  .panel-shell {
    display: block;
  }

  .topbar {
    z-index: 20;
    background: var(--sidebar);
    color: var(--sidebar-text);
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    display: flex;
    position: sticky;
    top: 0;
  }

  .menu-btn {
    color: inherit;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.4rem;
  }

  .topbar-title {
    font-family: Georgia, serif;
  }

  .sidebar {
    z-index: 40;
    transition: transform .2s;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: none;
  }

  .backdrop {
    z-index: 30;
    background: #00000059;
    display: block;
    position: fixed;
    inset: 0;
  }

  .content {
    padding: 1.25rem 1rem;
  }
}

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