@import url("/shared/board.css");
:root {
  --ink: #203b32;
  --muted: #78847c;
  --paper: #f6f7f2;
  --line: #e1e6dc;
  --green: #264f3e;
  --orange: #e9ac69;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft Yahei",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  letter-spacing: -1.3px;
}
button,
.button {
  border: 1px solid var(--line);
  background: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.primary:hover {
  background: #35674d;
}
.quiet {
  background: transparent;
  border-color: transparent;
}
.small {
  padding: 8px 12px;
  font-size: 12px;
}
.danger {
  color: #ab473c;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 700;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: #fff;
  background: var(--green);
  border-radius: 12px;
  font-size: 30px;
  font-weight: 400;
}
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 11px;
  font-size: 11px;
  background: #f1f6ed;
  color: #4c6b55;
}
.pill.warn {
  background: #fff4df;
  color: #976c25;
}
.field {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #dce3d8;
  border-radius: 10px;
  padding: 12px;
  color: var(--ink);
  min-height: 44px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--green);
  outline: 2px solid #264f3e22;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}
.notice {
  background: #edf3e8;
  border: 1px solid #dbe8d3;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.error {
  color: #aa382c;
  background: #fff1ed;
  border-color: #efcfc6;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #203b32;
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  z-index: 100;
  box-shadow: 0 8px 35px #203b3222;
  max-width: 90vw;
  font-size: 14px;
}
.toast.error {
  background: #a74436;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  max-width: 540px;
  width: calc(100% - 40px);
  padding: 30px;
  color: var(--ink);
}
dialog::backdrop {
  background: #11261fb0;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 32px;
}
dialog .actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
code.recovery {
  display: block;
  background: var(--paper);
  padding: 16px;
  font-size: 12px;
  overflow-wrap: anywhere;
  margin: 15px 0;
}
.hidden,
[hidden] {
  display: none !important;
}
/* Website */
.site-nav {
  max-width: 1280px;
  margin: auto;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}
.hero {
  max-width: 1200px;
  margin: 55px auto 70px;
  padding: 0 36px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1.04;
  margin: 25px 0;
}
.hero h1 em {
  color: #67855d;
}
.hero p {
  font-size: 17px;
  color: #778276;
  max-width: 430px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 16px;
}
.hero-caption {
  font-size: 12px !important;
}
.hero-display {
  background: #dfe7d8;
  padding: 44px 28px 38px;
  border-radius: 32px;
  transform: rotate(-2deg);
  position: relative;
}
.hero-display:after {
  content: "YOUR MENU. BEAUTIFULLY IN PLACE.";
  display: block;
  text-align: center;
  font-size: 9px;
  letter-spacing: 3px;
  margin-top: 24px;
  color: #6b7e61;
}
.display-shell {
  background: #182920;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 25px 50px #15312130;
}
.preview-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f5f1e8;
  border-radius: 5px;
}
.preview-box iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.floating-note {
  position: absolute;
  bottom: 2px;
  left: -30px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px #1f3b3220;
  padding: 16px 20px;
  background: white;
  border-radius: 13px;
  transform: rotate(2deg);
  font-size: 12px;
}
.floating-note strong {
  display: block;
  margin-bottom: 5px;
}
.section {
  max-width: 1200px;
  padding: 65px 36px;
  margin: auto;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section h2 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 44px;
  margin: 12px 0;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.features .number {
  font-family: Georgia, serif;
  font-size: 38px;
  color: #7e9774;
  margin-bottom: 30px;
}
.features h3 {
  font-size: 19px;
}
.features p {
  font-size: 14px;
  color: var(--muted);
}
.theme-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-option.active {
  border: 2px solid var(--green);
  padding: 11px 19px;
}
.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--swatch);
}
.price-card {
  background: #243e32;
  color: #f5f0df;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: 45px;
  gap: 50px;
}
.price {
  font-size: 65px;
  font-family: Georgia, serif;
}
.price small {
  font: 14px Arial;
  color: #c1cfbc;
}
.price-card p {
  color: #c4cfbf;
}
.price-card .button {
  background: #eac28e;
  border: none;
}
.site-footer {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 30px 36px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.site-footer a {
  margin-left: 20px;
}
.legal {
  max-width: 780px;
  margin: 65px auto;
  padding: 0 25px;
}
.legal h1 {
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: normal;
}
.legal h2 {
  font-size: 24px;
  margin-top: 30px;
}
.legal li {
  margin-bottom: 10px;
  line-height: 1.6;
}
/* App */
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 228px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 30px 21px;
  position: fixed;
  top: 0;
  bottom: 0;
}
.sidebar .brand {
  font-size: 21px;
  margin: 0 6px 42px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-button {
  border: 0;
  justify-content: flex-start;
  background: transparent;
  font-size: 13px;
  padding: 13px 15px;
  color: #7b877b;
  font-weight: 500;
}
.nav-button.active {
  background: #edf3e8;
  color: #244936;
  font-weight: 650;
}
.nav-icon {
  font-size: 18px;
  width: 25px;
}
.sidebar-note {
  position: absolute;
  bottom: 24px;
  left: 22px;
  right: 22px;
  background: #f5f5ec;
  border-radius: 14px;
  padding: 18px;
  font-size: 12px;
  line-height: 1.6;
}
.sidebar-note strong {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}
.app-content {
  margin-left: 228px;
  width: calc(100% - 228px);
}
.topbar {
  height: 88px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb strong {
  color: var(--ink);
  margin-left: 10px;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  background: #edf0e7;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: bold;
}
.workspace {
  padding: 35px;
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 20px;
}
.page-heading h1 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}
.page-heading p {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}
.page-actions {
  display: flex;
  gap: 10px;
}
.studio-grid {
  display: grid;
  grid-template-columns: minmax(380px, 1.15fr) minmax(330px, 1fr);
  gap: 26px;
  align-items: start;
}
.editor-card {
  padding: 0;
  overflow: hidden;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.card-head h2 {
  font-size: 16px;
  letter-spacing: 0;
  margin: 0;
}
.card-body {
  padding: 24px;
}
.item-list {
  padding: 0 24px;
}
.item-row {
  display: grid;
  grid-template-columns: 1fr 80px 54px 30px;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  align-items: center;
}
.item-row:last-child {
  border: 0;
}
.item-name input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 5px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}
.item-name .subtitle-input {
  font-size: 11px;
  font-weight: normal;
  color: #82907e;
}
.price-input {
  width: 80px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 6px;
  font-size: 13px;
  background: #fafbf8;
  color: var(--ink);
}
.sold-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9px;
  gap: 4px;
  color: var(--muted);
}
.remove-item {
  border: 0;
  background: none;
  font-size: 20px;
  padding: 8px;
  color: #879480;
}
.item-meta {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.item-meta input,
.item-meta select {
  font-size: 10px;
  max-width: 110px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  padding: 3px;
  color: #71836d;
}
.preview-panel {
  position: sticky;
  top: 25px;
}
.preview-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 14px;
}
.preview-panel .display-shell {
  padding: 8px;
  border-radius: 12px;
}
.preview-help {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
  margin: 17px 0 25px;
}
.preview-panel .card {
  margin-top: 18px;
  padding: 22px;
}
.preview-panel h3 {
  font-size: 14px;
  margin-bottom: 9px;
}
.preview-panel p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.publish-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
}
.form-card {
  max-width: 750px;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.screen-card h2 {
  font-size: 20px;
  margin: 20px 0 12px;
}
.screen-card .screen-icon {
  height: 80px;
  border-radius: 10px;
  background: #ecf0e5;
  display: grid;
  place-items: center;
  font-size: 45px;
}
.screen-card dl {
  font-size: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.screen-card dd {
  margin: 0;
  text-align: right;
}
.screen-card dt {
  color: var(--muted);
}
.screen-card .screen-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.theme-card {
  padding: 18px;
  display: block;
  text-align: left;
  border-radius: 14px;
}
.theme-card.active {
  border: 2px solid var(--green);
  padding: 17px;
}
.theme-mini {
  height: 100px;
  background: var(--swatch);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 28px;
  color: var(--fg);
  margin-bottom: 13px;
}
.theme-card strong {
  font-size: 13px;
}
.theme-card span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  background: #dfe7d8;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-art h1 {
  font:
    normal 66px/1.04 Georgia,
    serif;
  max-width: 420px;
  margin: 60px 0 30px;
}
.auth-art p {
  max-width: 360px;
  color: #6c8166;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}
.auth-form {
  max-width: 370px;
  width: 100%;
}
.auth-form h1 {
  font-size: 30px;
  margin-bottom: 10px;
}
.auth-form > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
}
.auth-form .primary {
  width: 100%;
  margin-top: 8px;
}
.auth-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 22px 0;
}
.empty-state {
  text-align: center;
  padding: 55px 30px;
}
.empty-state h2 {
  font:
    normal 32px Georgia,
    serif;
}
.empty-state p {
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 25px;
}
.media-current {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 30px;
  gap: 10px;
  align-items: end;
}
.schedule-row .field {
  margin-bottom: 12px;
}
.account-email {
  font-size: 11px;
  color: var(--muted);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
  margin-top: 28px;
  color: var(--muted);
}
.help-box {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 1150px) {
  .sidebar {
    width: 190px;
    padding: 25px 15px;
  }
  .app-content {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
  .workspace {
    padding: 26px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .preview-panel {
    position: static;
  }
  .preview-panel .display-shell {
    max-width: 700px;
  }
  .hero {
    gap: 30px;
  }
  .hero-display {
    padding: 28px 18px;
  }
  .floating-note {
    left: -10px;
  }
}
@media (max-width: 700px) {
  .site-nav {
    padding: 20px;
  }
  .site-links a:not(.button) {
    display: none;
  }
  .hero {
    display: block;
    margin: 25px auto;
    padding: 0 24px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-display {
    margin-top: 45px;
  }
  .section {
    padding: 40px 24px;
  }
  .section h2 {
    font-size: 36px;
  }
  .features,
  .price-card {
    grid-template-columns: 1fr;
  }
  .price-card {
    padding: 28px;
    gap: 22px;
  }
  .site-footer {
    display: block;
    line-height: 2;
  }
  .site-footer a {
    margin: 0 15px 0 0;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 14px 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin: 0 0 15px;
    font-size: 20px;
  }
  .sidebar nav {
    flex-direction: row;
    overflow: auto;
    gap: 3px;
  }
  .nav-button {
    white-space: nowrap;
    padding: 9px 11px;
    font-size: 11px;
  }
  .nav-icon {
    display: none;
  }
  .sidebar-note {
    display: none;
  }
  .app-shell {
    display: block;
  }
  .app-content {
    margin: 0;
    width: 100%;
  }
  .topbar {
    height: 60px;
    padding: 0 18px;
  }
  .workspace {
    padding: 22px 15px 90px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    max-width: 230px;
  }
  .page-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 13px 18px;
    justify-content: flex-end;
  }
  .studio-grid {
    display: block;
  }
  .preview-panel {
    margin-top: 25px;
  }
  .card-body,
  .card {
    padding: 19px;
  }
  .item-list {
    padding: 0 15px;
  }
  .card-head {
    padding: 18px;
  }
  .item-row {
    grid-template-columns: 1fr 68px 40px 24px;
    gap: 5px;
  }
  .price-input {
    width: 68px;
  }
  .account-email {
    display: none;
  }
  .two {
    gap: 12px;
  }
  .theme-grid {
    gap: 10px;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-panel {
    min-height: 100vh;
    padding: 26px;
  }
  .schedule-row {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .schedule-row > button {
    margin-bottom: 12px;
  }
  .price {
    font-size: 52px;
  }
}
