:root {
  --paper: #f8f7f3;
  --white: #fff;
  --ink: #27271e;
  --muted: #66675e;
  --line: #dedfd5;
  --green: #e44a2c;
  --pine: #27483a;
  --red: #9a321d;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
select,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--ink);
  background: #f1f1ea;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}
button:hover,
.button:hover {
  filter: brightness(0.96);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #3568ad;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: inherit;
}
input:not([type="radio"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bebfb4;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 8px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.form-error {
  margin: 0;
  color: var(--red);
  overflow-wrap: anywhere;
}
.form {
  display: grid;
  gap: 15px;
}
[hidden] {
  display: none !important;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.primary,
.button.primary,
#checkout,
#simulate,
.form > button:not(.ghost),
.form .actions button:not(.ghost) {
  background: var(--green);
  color: white;
  border-color: transparent;
}
.ghost {
  border: 1px solid #cccdc2;
  background: transparent;
}
.muted,
.light {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.actions,
.inline {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.wide {
  width: 100%;
  justify-content: space-between;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(40px, 5vw, 67px);
  line-height: 1.04;
}
h2 {
  font-size: 25px;
}
main {
  max-width: 1460px;
  margin: 0 auto;
  padding: 30px clamp(18px, 4vw, 66px) 64px;
}
main.inner-page {
  max-width: 1180px;
  padding-top: 34px;
}
.back,
.text-link {
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
  color: #6a594a;
}
.back {
  display: inline-block;
  margin-bottom: 18px;
}
.room-head,
.section-head,
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.room-head,
.section-head {
  margin-bottom: 25px;
}
.section-head h1,
.room-head h1 {
  font-size: clamp(32px, 4.5vw, 56px);
}
.section-head p,
.room-head p {
  color: var(--muted);
  margin-top: 7px;
}
.rail-label,
.kicker {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.board {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
}
.stack,
.order-list {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
}
.card,
.summary,
.order-card,
.empty-list,
.desk-metric,
.login {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.card h2,
.summary h2 {
  margin-bottom: 14px;
}
.card p {
  margin: 12px 0;
}
.card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}
.card summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.card form {
  margin-top: 12px;
}
.row,
.money-row,
.sumline,
.checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.row small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.inner-page,
.dialog-content {
  overflow-wrap: anywhere;
}
.room-head > div,
.order-row > div,
.board > *,
.form > label {
  min-width: 0;
}
.money-row,
.sumline,
.checkout-total,
.order-row {
  flex-wrap: wrap;
}
.summary {
  background: var(--pine);
  color: white;
}
.amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.summary .light {
  color: #d4e4d0;
}
.bar {
  height: 6px;
  background: #536e5d;
  border-radius: 8px;
  margin: 16px 0 9px;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  background: #cce4a6;
}
.over span {
  background: #ffb49a;
}
.order-meta {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
#notice {
  position: fixed;
  pointer-events: none;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #272820;
  color: white;
  padding: 12px 16px;
  border-radius: 9px;
  box-shadow: 0 4px 20px #0002;
  font-size: 14px;
  max-width: 94vw;
  width: max-content;
  z-index: 10;
}
#notice:empty {
  display: none;
}
@media (max-width: 760px) {
  .board {
    grid-template-columns: minmax(0, 1fr);
  }
  .room-head,
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .pair {
    grid-template-columns: 1fr;
  }
}
