:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #243226;
  background: #f6f8f3;
  font-size: 16px;
  line-height: 1.55;
  --green: #496d37;
  --line: #dce3d6;
}
.staging-banner {
  background: #fff3d6;
  color: #624714;
  border-bottom: 1px solid #e5c982;
  padding: 12px 20px;
  text-align: center;
  font-weight: 650;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #36572a;
  overflow-wrap: anywhere;
}
.top {
  padding: 20px max(20px, calc((100vw - 1120px) / 2));
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.brand {
  text-decoration: none;
  font-weight: 750;
  color: #243226;
  white-space: nowrap;
}
.brand span {
  background: #e6eedf;
  border-radius: 10px;
  padding: 5px 10px;
  margin-right: 6px;
  font-size: 25px;
}
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
nav a {
  font-size: 14px;
  text-decoration: none;
}
main {
  max-width: 1080px;
  margin: auto;
  padding: 40px 20px;
  min-height: 75vh;
}
h1 {
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.16;
  margin: 8px 0 16px;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0 0 12px;
}
h3 {
  margin: 0 0 8px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 750;
  color: #5c7f43;
}
.lede {
  font-size: 18px;
  max-width: 670px;
  color: #5f6e59;
  margin-bottom: 26px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
  margin: 18px 0;
  box-shadow: 0 4px 16px #24322604;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid .card {
  margin: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 0;
}
button,
.button {
  font: inherit;
  font-size: 15px;
  border: 1px solid #cbd6c4;
  background: white;
  color: #34452c;
  border-radius: 9px;
  padding: 11px 17px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
button:hover,
.button:hover {
  background: #edf2e8;
}
button.primary,
.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.small {
  padding: 7px 11px;
  font-size: 13px;
}
.danger {
  color: #8c312a;
}
label {
  display: block;
  font-weight: 650;
  font-size: 14px;
  margin: 16px 0 6px;
}
input:not([type='checkbox']),
textarea,
select {
  display: block;
  width: 100%;
  font: inherit;
  background: #fff;
  border: 1px solid #ccd7c4;
  border-radius: 8px;
  padding: 11px 12px;
  color: inherit;
}
input[type='color'] {
  height: 48px;
}
textarea {
  min-height: 80px;
  resize: vertical;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 450;
}
.check input {
  margin-top: 5px;
  min-width: 18px;
  min-height: 18px;
}
.muted,
small {
  color: #65735f;
  font-size: 14px;
}
.notice,
.error,
.success {
  padding: 14px 17px;
  border-radius: 9px;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.notice {
  background: #eef3e8;
  border: 1px solid #d7e4c9;
}
.error {
  background: #fff0ed;
  color: #8c312a;
  border: 1px solid #f1c6bf;
}
.success {
  background: #eaf5e7;
  color: #315d2b;
  border: 1px solid #c7dfbd;
}
.secret {
  display: block;
  font-family: ui-monospace, monospace;
  background: #f4f6f1;
  border: 1px dashed #a6b797;
  border-radius: 8px;
  padding: 16px;
  overflow-wrap: anywhere;
  user-select: all;
  margin: 12px 0;
}
.url {
  display: block;
  font-family: ui-monospace, monospace;
  background: #f4f6f1;
  padding: 12px;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.steps {
  display: flex;
  gap: 8px;
  margin: 26px 0;
  list-style: none;
  padding: 0;
}
.steps li {
  flex: 1;
  padding: 10px;
  border-bottom: 3px solid var(--line);
  font-size: 14px;
  color: #65735f;
}
.steps li.current {
  border-color: var(--green);
  color: #36572a;
  font-weight: 650;
}
.steps .nfc-guide-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}
.editor {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.8fr);
  gap: 25px;
}
.preview {
  background: white;
  border-radius: 28px;
  border: 8px solid #253023;
  max-width: 330px;
  margin: 18px auto;
  padding: 30px 20px;
  text-align: center;
  min-height: 400px;
}
.preview h2 {
  font-size: 26px;
}
.preview-panel {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  scroll-margin-top: 100px;
}
.preview-caption {
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  margin: 8px 0;
}
.preview-panel .preview {
  margin-top: 8px;
}
.selection-summary + .editor .preview-panel {
  top: 104px;
  max-height: calc(100dvh - 124px);
}
.selection-summary {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #edf5e7;
  border: 1px solid #b9cea9;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 12px #24322612;
}
.selection-summary span {
  display: block;
  font-size: 13px;
}
.selection-summary a {
  white-space: nowrap;
  font-size: 14px;
  padding: 10px 0;
}
.listing-added {
  border: 2px solid #5c7f43;
  background: #edf5e7;
}
.added-label {
  color: #315d2b;
  font-weight: 700;
}
button.destination-added:disabled {
  opacity: 1;
  cursor: default;
  background: #dfeeda;
  color: #315d2b;
  border-color: #9cbb88;
}
.selection-feedback {
  position: fixed;
  z-index: 30;
  bottom: 20px;
  right: 20px;
  max-width: min(420px, calc(100vw - 40px));
  background: #263e22;
  color: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 6px 24px #24322630;
  font-weight: 600;
}
.preview .button {
  display: block;
  margin: 12px 0;
  width: 100%;
  text-align: left;
}
.pill {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #edf2e7;
  color: #4d673e;
}
.item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.item:last-child {
  border-bottom: 0;
}
.item h3 {
  font-size: 18px;
}
.listing {
  padding: 18px;
  background: #f8faf5;
  border-radius: 12px;
  margin: 12px 0;
}
.listing p {
  margin: 7px 0;
}
.link-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.link-order-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.link-order-buttons button {
  min-height: 44px;
}
.link-order-buttons button:disabled {
  cursor: default;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.empty {
  color: #65735f;
  padding: 20px 0;
}
details {
  margin: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
footer {
  padding: 22px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid var(--line);
  color: #65735f;
}
:focus-visible {
  outline: 3px solid #82a164;
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
  }
  nav {
    gap: 16px;
  }
  .grid,
  .editor {
    grid-template-columns: 1fr;
  }
  main {
    padding-top: 26px;
  }
  .card {
    padding: 20px;
  }
  .steps li {
    font-size: 12px;
    padding: 8px 4px;
  }
  .steps .nfc-guide-icon {
    display: block;
    margin: 0 0 5px;
  }
  .actions > button,
  .actions > .button {
    flex-grow: 1;
  }
  .preview {
    max-width: 300px;
  }
  .preview-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .selection-summary + .editor .preview-panel {
    max-height: none;
  }
  .selection-summary {
    padding: 10px 12px;
    gap: 10px;
    font-size: 14px;
  }
  .selection-summary span {
    font-size: 12px;
  }
  .selection-summary a {
    font-size: 12px;
  }
}
