:root {
  --bg: #f5f6f0;
  --paper: #fff;
  --ink: #222b24;
  --muted: #788075;
  --line: #e2e6db;
  --lime: #d8ff62;
  --dark: #26352c;
  --green: #547a42;
  --radius: 24px;
  font-family: Inter,"Segoe UI",Arial,sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

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

button,input,select,textarea {
  font: inherit;
}

button,a,input,select,textarea,summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .6;
}

[hidden] {
  display: none!important;
}

.shell {
  max-width: 1184px;
  margin: 0 auto;
  padding-left: 36px;
  padding-right: 36px;
}

.site-header {
  height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand img {
  border-radius: 13px;
}

.brand-small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.2px;
  font-weight: 700;
  margin-top: 3px;
  color: var(--muted);
}

.header-tag {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #626e62;
}

.header-tag i {
  width: 7px;
  height: 7px;
  background: #71945c;
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  padding-top: 65px;
  padding-bottom: 58px;
}

.eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #70796a;
  display: flex;
  align-items: center;
  gap: 9px;
}

.tiny-line {
  width: 20px;
  height: 1px;
  background: #66765b;
}

.intro {
  padding-top: 24px;
}

.intro h1 {
  font-size: clamp(40px,4.2vw,58px);
  line-height: 1.18;
  letter-spacing: -2.9px;
  font-weight: 650;
  margin: 23px 0 20px;
}

.intro h1 span {
  color: #718465;
}

.lead {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.95;
  color: #7a8176;
  margin: 0;
}

.code-art {
  height: 242px;
  position: relative;
  max-width: 410px;
  margin-top: 16px;
}

.code-disc {
  position: absolute;
  top: 39px;
  left: 120px;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  background: #e9eddf;
  display: grid;
  place-items: center;
  transform: rotate(-9deg);
}

.code-disc img {
  width: 110px;
  height: 110px;
  transform: rotate(9deg);
  border-radius: 29px;
  box-shadow: 5px 10px 0 #22332312;
}

.orbit {
  position: absolute;
  border: 1px solid #dee3d6;
  border-radius: 50%;
  width: 320px;
  height: 165px;
  top: 38px;
  left: 40px;
  transform: rotate(-27deg);
}

.orbit-two {
  width: 225px;
  height: 225px;
  top: 3px;
  left: 88px;
  transform: rotate(-27deg);
  border-style: dashed;
}

.floating-tag {
  position: absolute;
  font-size: 10px;
  background: white;
  box-shadow: 0 6px 30px #29371c07;
  border: 1px solid #e6e9e0;
  border-radius: 8px;
  padding: 11px 13px;
  z-index: 1;
}

.tag-one {
  top: 30px;
  left: 14px;
  transform: rotate(-5deg);
}

.tag-two {
  bottom: 31px;
  right: 10px;
  transform: rotate(4deg);
  font-size: 10px;
  color: #6f7a66;
}

.art-star {
  position: absolute;
  top: 31px;
  right: 34px;
  font-size: 36px;
  color: #71865f;
}

.intro-note {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  color: #87907e;
  line-height: 1.9;
}

.intro-note strong {
  font-size: 11px;
  color: #627259;
  font-weight: 600;
}

.note-icon {
  width: 35px;
  height: 35px;
  border: 1px solid #dce2d4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #6c825b;
}

.redeem-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px 20px;
  box-shadow: 0 14px 55px #2d382506;
  align-self: start;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.pill {
  font-size: 8px;
  letter-spacing: 1.3px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f1f4eb;
  font-weight: 700;
  color: #6a785f;
}

.small-muted {
  font-size: 9px;
  color: #949b8d;
  letter-spacing: 1px;
}

.redeem-panel h2 {
  font-size: 24px;
  letter-spacing: -.8px;
  margin: 0 0 10px;
  font-weight: 650;
}

.panel-description {
  font-size: 11px;
  line-height: 1.7;
  color: #8a9185;
  margin: 0 0 25px;
}

.steps {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 28px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #a1a69b;
}

.steps b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #e2e6da;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 500;
}

.steps .current {
  color: #4b613d;
  font-weight: 600;
}

.steps .current b {
  background: #eff8da;
  border-color: #e4f2cb;
}

.steps .done b {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}

label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  margin: 17px 0 9px;
}

input,select,textarea {
  width: 100%;
  border: 1px solid #e0e5d8;
  background: #fcfdf9;
  border-radius: 9px;
  padding: 13px 12px;
  color: var(--ink);
  font-size: 12px;
  outline: none;
  transition: border-color .15s,box-shadow .15s;
}

input::placeholder,textarea::placeholder {
  color: #a4ac9b;
}

input:focus,textarea:focus,select:focus {
  border-color: #8baa61;
  box-shadow: 0 0 0 3px #a6cf6524;
}

textarea {
  resize: vertical;
  line-height: 1.7;
}

.code-input-wrap {
  position: relative;
}

.code-input-wrap>span {
  position: absolute;
  top: 15px;
  left: 13px;
  color: #8f9b83;
  font-size: 16px;
}

.code-input-wrap input {
  padding-left: 40px;
  letter-spacing: .65px;
  font-size: 10px;
  height: 50px;
}

.field-hint {
  font-size: 10px;
  color: #929a88;
  line-height: 1.8;
  margin: 9px 0 18px;
}

.button {
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  transition: background .15s,transform .15s;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 3px solid #8baa61;
  outline-offset: 3px;
}

.button.primary {
  background: var(--lime);
  color: #2f4025;
  justify-content: space-between;
}

.button.primary:hover {
  background: #cdf64c;
}

.button.secondary {
  background: #f1f4ec;
  color: #57684c;
  border: 1px solid #e0e6d7;
}

.button.full {
  width: 100%;
}

.button.compact {
  min-height: 37px;
  padding: 9px 13px;
  white-space: nowrap;
}

.panel-bottom {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #95a087;
}

.panel-bottom>span {
  font-size: 22px;
}

.panel-bottom p {
  font-size: 10px;
  color: #939a8b;
  line-height: 1.7;
  margin: 0;
}

.notice {
  font-size: 12px;
  border: 1px solid #ead8bd;
  color: #7f5d2f;
  background: #fff9ed;
  padding: 13px 14px;
  border-radius: 10px;
  line-height: 1.7;
  margin: 17px 0;
  overflow-wrap: anywhere;
}

.notice.success {
  color: #4c6837;
  border-color: #dbe8c9;
  background: #f4fae9;
}

.notice.error {
  color: #9b4239;
  background: #fff3f0;
  border-color: #f0d5cc;
}

.service-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 17px 0 2px;
}

.service-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #edf5df;
  color: #738d51;
  border-radius: 9px;
}

.service-summary h3 {
  font-size: 15px;
  margin: 5px 0;
}

.service-summary .badge {
  margin-left: auto;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 600;
  background: #f0f2eb;
  color: #7a8271;
}

.badge.green {
  background: #edf6dc;
  color: #618544;
}

.badge.yellow {
  background: #fff2d7;
  color: #957226;
}

.badge.red {
  background: #ffede6;
  color: #a8604c;
}

.badge.blue {
  background: #ebf0fc;
  color: #5d76a8;
}

.label-note {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  float: right;
}

.privacy-note {
  font-size: 10px;
  color: #89927f;
  line-height: 1.8;
  background: #f6f8f0;
  border-radius: 8px;
  padding: 12px;
}

.checkbox-label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-weight: 400;
  color: #8a937f;
  font-size: 10px;
  line-height: 1.8;
  margin: 17px 0;
}

.checkbox-label input {
  width: 14px;
  height: 14px;
  margin: 3px 0;
  flex-shrink: 0;
  accent-color: #7a9a51;
}

.result-card {
  text-align: center;
  padding: 23px 5px 0;
}

.result-symbol {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f1f7e6;
  color: #759349;
  font-size: 28px;
  margin: 0 auto 15px;
}

.result-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.result-card p {
  font-size: 12px;
  color: #838e77;
  line-height: 1.9;
}

.result-meta {
  font-size: 11px;
  color: #8a947f;
  margin: 17px 0;
  line-height: 1.8;
}

.result-card .button {
  margin-top: 10px;
}

.how-section {
  border-top: 1px solid var(--line);
  padding: 43px 0 45px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 19px;
  letter-spacing: -.6px;
  font-weight: 600;
  margin: 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 45px;
}

.how-grid article {
  position: relative;
  padding-left: 40px;
}

.how-number {
  position: absolute;
  left: 0;
  top: 0;
  color: #95a487;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.how-grid h3 {
  font-size: 12px;
  margin: 0 0 10px;
  font-weight: 650;
}

.how-grid p {
  font-size: 11px;
  line-height: 1.9;
  color: #8c9582;
  margin: 0;
  max-width: 240px;
}

.availability {
  border-radius: 14px;
  background: #ebefe3;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.availability p {
  font-size: 11px;
  color: #839075;
  margin: 8px 0 0;
}

.health-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.health-chip {
  font-size: 10px;
  border: 1px solid #dce4d0;
  background: #f6f8f0;
  padding: 9px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.health-chip i {
  width: 6px;
  height: 6px;
  background: #769b54;
  border-radius: 50%;
}

.health-chip.offline i {
  background: #c69851;
}

.faq {
  max-width: 780px;
  margin: 55px auto 65px;
}

.faq h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.6px;
  margin: 0 0 25px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  color: #8ea17c;
  font-size: 17px;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  font-size: 12px;
  line-height: 1.9;
  color: #87927a;
  margin: 0 30px 22px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: #98a18f;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: #627057;
  letter-spacing: -.6px;
}

.footer-brand span {
  margin-left: 9px;
  font-size: 12px;
  color: #97aa7c;
}

.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.login-body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.login-card {
  width: min(450px,100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
}

.login-eyebrow {
  margin-top: 45px;
}

.login-card h1 {
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1.3;
}

.login-card form {
  margin-top: 30px;
}

.login-card .button {
  margin-top: 18px;
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  color: #829471;
}

.admin-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.text-link {
  font-size: 11px;
  color: #6e7e62;
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 43px 0 30px;
  gap: 20px;
}

.admin-heading h1 {
  font-size: 31px;
  letter-spacing: -1.2px;
  font-weight: 600;
  margin: 14px 0 10px;
}

.admin-heading p {
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stats-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 23px;
}

.stats-grid span,.stats-grid small {
  display: block;
  font-size: 11px;
  color: #8a957d;
}

.stats-grid strong {
  display: block;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -1.5px;
  margin: 10px 0;
}

.stats-grid small {
  font-size: 10px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 27px;
}

.admin-card h2 {
  font-size: 21px;
  letter-spacing: -.65px;
  font-weight: 600;
  margin: 14px 0 24px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.provider-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.provider-brand>span {
  width: 43px;
  height: 43px;
  background: #f0f6e4;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #789c51;
  font-size: 22px;
}

.provider-brand strong {
  display: block;
  font-size: 13px;
}

.provider-brand small {
  display: block;
  font-size: 10px;
  color: #8a947f;
  margin-top: 6px;
}

.provider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 12px;
}

.provider-balance {
  font-size: 36px;
  letter-spacing: -1.4px;
  font-weight: 600;
  margin: 10px 0 20px;
}

.provider-balance small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 5px;
}

.provider-card .button {
  margin-top: 20px;
}

.table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.table-heading h2 {
  margin-bottom: 20px;
}

.table-filters {
  display: flex;
  gap: 10px;
}

.table-filters input {
  width: 240px;
}

.table-filters select {
  width: 180px;
}

.table-scroll {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}

th {
  font-weight: 600;
  font-size: 10px;
  color: #8d9881;
  background: #f7f9f2;
  padding: 13px 12px;
}

td {
  padding: 17px 12px;
  border-bottom: 1px solid #edf0e7;
  color: #66765a;
}

td strong {
  display: block;
  font-size: 11px;
  color: #4f6044;
}

td small {
  display: block;
  margin-top: 6px;
  color: #929c87;
  font-size: 10px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-actions {
  display: flex;
  gap: 6px;
}

.mini-button {
  background: #f3f6ed;
  border: 1px solid #e4e9da;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 10px;
  color: #728463;
  cursor: pointer;
}

.mini-button.danger {
  color: #a56c50;
  background: #fff6ed;
  border-color: #f0e2d6;
}

.empty-row {
  text-align: center;
  padding: 45px;
  color: #9aa38e;
  line-height: 1.9;
}

.admin-guide {
  margin: 24px 0 40px;
  background: #eef2e6;
}

.admin-guide h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
}

.admin-guide p {
  font-size: 11px;
  color: #7f8b72;
  line-height: 1.9;
  margin: 0;
}

.admin-body .site-footer {
  min-height: 80px;
}

.generate-card textarea {
  font-family: Consolas,monospace;
  font-size: 11px;
}

#generated .two-col {
  margin-top: 12px;
}

@media(min-width:1500px) {
  .hero-grid {
    padding-top: 85px;
    padding-bottom: 70px;
  }
  .intro {
    padding-top: 35px;
  }
}

@media(max-width:1000px) {
  .hero-grid {
    gap: 35px;
  }
  .redeem-panel {
    padding: 25px;
  }
  .intro h1 {
    font-size: 43px;
  }
  .code-art {
    transform: scale(.9);
    transform-origin: left center;
  }
  .header-tag {
    font-size: 10px;
  }
  .table-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .table-filters {
    width: 100%;
    margin-bottom: 18px;
  }
  .table-filters input {
    flex: 1;
  }
  .admin-shell {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media(max-width:760px) {
  .shell {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    height: 87px;
  }
  .brand {
    font-size: 22px;
    gap: 10px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .header-tag {
    font-size: 8px;
    gap: 5px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 31px;
    gap: 30px;
    padding-bottom: 36px;
  }
  .intro {
    padding-top: 0;
  }
  .intro h1 {
    font-size: 42px;
    letter-spacing: -2px;
    margin-top: 20px;
  }
  .lead {
    font-size: 13px;
    max-width: 440px;
  }
  .code-art {
    display: none;
  }
  .intro-note {
    margin-top: 15px;
  }
  .redeem-panel {
    padding: 25px 23px;
  }
  .panel-topline {
    margin-bottom: 23px;
  }
  .panel-description {
    font-size: 11px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    margin-top: 14px;
    font-size: 20px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .how-grid article {
    padding-left: 40px;
  }
  .how-grid p {
    max-width: none;
    font-size: 12px;
  }
  .how-grid h3 {
    font-size: 13px;
  }
  .how-section {
    padding: 32px 0;
  }
  .availability {
    align-items: flex-start;
    flex-direction: column;
    padding: 23px;
  }
  .faq {
    margin: 36px auto;
  }
  .faq h2 {
    font-size: 21px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-top: 25px;
    padding-bottom: 25px;
    gap: 14px;
  }
  .site-footer p {
    display: none;
  }
  .admin-shell {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .text-link {
    display: none;
  }
  .admin-heading {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 30px;
  }
  .admin-heading h1 {
    font-size: 26px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stats-grid article {
    padding: 18px;
  }
  .stats-grid strong {
    font-size: 30px;
  }
  .stats-grid small {
    font-size: 9px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .admin-card {
    padding: 22px;
  }
  .table-filters {
    flex-direction: column;
  }
  .table-filters input,.table-filters select {
    width: 100%;
  }
  .admin-body .site-footer {
    display: block;
    font-size: 9px;
    line-height: 1.9;
  }
  .admin-body .site-footer span {
    display: block;
  }
  .login-card {
    padding: 28px;
  }
  .login-card h1 {
    font-size: 25px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

.error-details {
  text-align: left;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.order-diagnostic {
  white-space: normal;
  min-width: 260px;
  max-width: 360px;
  line-height: 1.8;
}

.order-diagnostic strong {
  line-height: 1.8;
}

.order-diagnostic small {
  white-space: normal;
  max-width: none;
  overflow: visible;
  overflow-wrap: anywhere;
}

.notice {
  white-space: pre-line;
}

.cooldown-countdown {
  background: #fff2d7;
  color: #926521;
  border: 1px solid #eed6ab;
  border-radius: 9px;
  padding: 13px;
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.retry-meta {
  white-space: normal;
  line-height: 1.7;
}

.lock-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

.lock-card h2 {
  margin-bottom: 10px;
}

.lock-card p {
  margin-bottom: 0;
}

.lock-card .entry-count {
  color: #7f8b72;
  font-weight: 600;
}

#lock-code {
  font-family: Consolas,monospace;
  font-size: 12px;
  margin-bottom: 12px;
}

.lock-card .notice {
  margin: 12px 0 0;
}

.lock-results {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-height: 320px;
  overflow: auto;
  border: 1px solid #e0e5d8;
  border-radius: 9px;
}

.lock-results li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #eef1e9;
}

.lock-results li:first-child {
  border-top: 0;
}

.lock-results strong {
  font-family: Consolas,monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.lock-results small {
  grid-column: 1 / -1;
  color: #7f8b72;
  font-size: 11px;
}

#order-history {
  width: min(720px,calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
}

#order-history::backdrop {
  background: rgba(25,35,20,.45);
}

.history-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.history-heading h2 {
  font-size: 20px;
  margin: 0;
}

.history-order {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.history-order h3 {
  font-size: 15px;
  margin: 0;
}

.history-order p {
  font-size: 12px;
  white-space: pre-line;
}

.history-order strong {
  display: block;
  font-size: 12px;
}

.history-order small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.row-actions {
  flex-wrap: wrap;
  min-width: 160px;
}

@media(max-width:760px) {
  .lock-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #order-history {
    padding: 20px;
  }
}
