:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #2b211b;
  background: #f4efe7;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
.account-header {
  height: 76px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #231b17;
  color: #fff;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand strong {
  font-family: Georgia, serif;
  font-size: 1.32rem;
  letter-spacing: 0.08em;
}
.brand span {
  margin-top: 5px;
  color: #e7b95e;
  font-size: 0.74rem;
}
.account-header > a:last-child {
  font-size: 0.88rem;
}
.account-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 80px;
}
.eyebrow {
  margin: 0 0 8px;
  color: #a44a27;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
}
h1,
h2 {
  font-family: Georgia, serif;
  margin: 0;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: 1.45rem;
}
.auth-card,
.panel {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid #dfd4c5;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(65, 43, 28, 0.09);
}
.auth-card.wide {
  max-width: 760px;
}
.auth-card > p:not(.eyebrow) {
  color: #73645a;
  line-height: 1.55;
}
.form-stack,
.form-grid {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
label {
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 800;
}
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #cfc2b3;
  border-radius: 9px;
  background: #fff;
  color: #2b211b;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(205, 117, 58, 0.18);
  border-color: #a44a27;
}
button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  padding: 10px 16px;
  background: #25854f;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.secondary {
  background: #e9e1d6;
  color: #4e4037;
}
.wide {
  grid-column: 1/-1;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  line-height: 1.45;
}
.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.switch {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: #8d3f22;
  font-weight: 800;
}
.notice {
  max-width: 760px;
  margin: 0 auto 18px;
  padding: 13px 15px;
  border-radius: 10px;
  font-weight: 700;
}
.notice.error {
  background: #fde2df;
  color: #92271f;
}
.notice.success {
  background: #dff3e7;
  color: #17683c;
}
.account-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.account-title p:last-child {
  color: #74665c;
}
.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.summary article {
  padding: 20px;
  background: #2d231e;
  color: #fff;
  border-radius: 14px;
}
.summary strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.8rem;
  color: #f1c66d;
}
.summary span {
  font-size: 0.78rem;
}
.panel {
  max-width: none;
}
.order-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.order-card {
  padding: 16px;
  border: 1px solid #e2d8cc;
  border-radius: 12px;
}
.order-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.order-card p {
  color: #5f5249;
}
.order-card small {
  display: block;
  color: #7b6d63;
}
.order-card b {
  display: block;
  margin-top: 8px;
}
.status {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eee6dc;
  font-size: 0.7rem;
  font-weight: 900;
}
.status--delivered {
  background: #dff3e7;
  color: #17683c;
}
.status--cancelled,
.status--reservation_expired,
.status--pickup_expired {
  background: #fde2df;
  color: #92271f;
}
.empty {
  color: #75675d;
}
@media (max-width: 680px) {
  .account-header {
    height: 68px;
  }
  .account-shell {
    margin-top: 24px;
  }
  .account-header > a:last-child {
    font-size: 0.75rem;
  }
  .form-grid,
  .summary {
    grid-template-columns: 1fr;
  }
  .wide {
    grid-column: auto;
  }
  .auth-card,
  .panel {
    padding: 20px;
  }
  .account-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .order-card > div {
    align-items: flex-start;
    flex-direction: column;
  }
}
.expiry-notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #e4c56f;
  border-radius: 12px;
  background: #fff4cb;
  color: #6f5112;
}
.panel + .panel {
  margin-top: 18px;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.panel-heading > p {
  max-width: 420px;
  margin: 0;
  color: #75675d;
  font-size: 0.82rem;
  text-align: right;
}
.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 20px;
}
.reward-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid #e2d8cc;
  border-radius: 14px;
  background: #fffaf2;
}
.reward-card span {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: #2d231e;
  color: #f1c66d;
  font-size: 0.72rem;
  font-weight: 900;
}
.reward-card h3 {
  margin: 13px 0 8px;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.reward-card p {
  margin: 0;
  color: #6b5e55;
  line-height: 1.45;
}
.reward-card small {
  display: block;
  margin-top: 10px;
  color: #8d3f22;
  font-weight: 800;
}
.reward-card button {
  width: 100%;
}
.reward-card button:disabled {
  background: #d8d0c5;
  color: #796e66;
  cursor: not-allowed;
}
.program-note {
  margin: 18px 0 0;
  color: #74665c;
  font-size: 0.82rem;
}
.redemption-list,
.points-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.redemption-list article,
.points-list article {
  padding: 14px 16px;
  border: 1px solid #e2d8cc;
  border-radius: 11px;
}
.redemption-list article > div,
.points-list article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.redemption-list p {
  margin: 10px 0 6px;
}
.redemption-list small,
.points-list small {
  color: #7b6d63;
}
.points-list b {
  font-size: 1.1rem;
}
.points-positive {
  color: #25854f;
}
.points-negative {
  color: #a43429;
}
.status--pending {
  background: #fff0c8;
  color: #72500b;
}
.status--approved {
  background: #dcecff;
  color: #1b5788;
}
.status--rejected,
.status--hidden {
  background: #fde2df;
  color: #92271f;
}
.review-create {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #d8cbbb;
}
.review-create summary {
  color: #8d3f22;
  font-weight: 900;
  cursor: pointer;
}
.review-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.review-linked {
  margin-top: 14px;
  color: #8d3f22;
  font-weight: 800;
}
.review-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.review-list article {
  padding: 17px;
  border: 1px solid #e2d8cc;
  border-radius: 12px;
  background: #fffaf2;
}
.review-list article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.review-list h3 {
  margin: 14px 0 6px;
  font-size: 1rem;
}
.review-list p {
  color: #5f5249;
  line-height: 1.55;
}
.review-list small {
  display: block;
  color: #7b6d63;
}
.review-list form {
  margin-top: 12px;
}
.review-list .secondary {
  min-height: 38px;
  font-size: 0.78rem;
}
@media (max-width: 850px) {
  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .panel-heading {
    display: block;
  }
  .panel-heading > p {
    margin-top: 9px;
    text-align: left;
  }
  .reward-grid {
    grid-template-columns: 1fr;
  }
  .reward-card {
    min-height: 0;
  }
  .review-form {
    grid-template-columns: 1fr;
  }
  .review-form .wide {
    grid-column: auto;
  }
  .review-list article > div {
    align-items: flex-start;
    flex-direction: column;
  }
}
