:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5e6470;
  --paper: #f7f2ea;
  --paper-strong: #fffaf2;
  --line: #ded6c8;
  --dark: #11100f;
  --dark-soft: #1f1c19;
  --gold: #c59645;
  --gold-light: #f0d28a;
  --green: #536b5d;
  --blue: #35455c;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(22, 17, 11, 0.16);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a.btn {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  color: var(--white);
  background: rgba(17, 16, 15, 0.92);
  border-bottom: 1px solid rgba(240, 210, 138, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  width: min(276px, 52vw);
  height: 64px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 8px;
  letter-spacing: 0;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover {
  color: var(--gold-light);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--dark) !important;
  background: var(--gold-light);
  border-radius: 8px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.section {
  padding: 84px 5vw;
}

.section-dark {
  color: var(--white);
  background: var(--dark);
}

.section-soft {
  background: var(--paper-strong);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 46px 5vw 62px;
  overflow: hidden;
}

.hero-media {
  min-height: 0;
  align-self: stretch;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  object-position: center bottom;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.consult-copy h2,
.cta-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 108px);
}

.hero-lede {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions,
.consult-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn.secondary {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(240, 210, 138, 0.45);
}

.btn.secondary.light {
  color: var(--dark);
  background: transparent;
  border-color: var(--line);
}

.btn.compact {
  min-height: 40px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-metrics div {
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.hero-metrics dt {
  color: var(--gold-light);
  font-size: 24px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.quick-entry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-entry a {
  padding: 28px 5vw;
  background: var(--paper-strong);
}

.quick-entry strong,
.quick-entry span {
  display: block;
}

.quick-entry strong {
  font-size: 20px;
}

.quick-entry span {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading h2,
.section-heading h1,
.split-copy h2,
.consult-copy h2,
.cta-section h2 {
  font-size: clamp(30px, 4vw, 56px);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.two-column,
.certificate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 34px;
  align-items: start;
}

.prose p {
  margin: 0 0 18px;
  color: #30343b;
  font-size: 17px;
}

.article-page .section-heading {
  max-width: 1040px;
}

.article-prose {
  max-width: 980px;
}

.article-prose h2 {
  margin: 34px 0 14px;
  color: var(--green);
  font-size: clamp(24px, 3vw, 34px);
}

.article-prose ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #30343b;
}

.article-prose li {
  margin-bottom: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.faq-list details p {
  padding: 0 18px 18px;
  margin: 0;
}

.notice-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.notice-panel h3 {
  margin: 0 0 16px;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.keyword-list li,
.chip {
  padding: 8px 12px;
  color: var(--blue);
  background: #eef1f4;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--paper-strong);
}

.split-section.reverse {
  background: var(--dark-soft);
  color: var(--white);
}

.split-section.reverse .split-media {
  order: 2;
}

.split-media img,
.certificate-layout img,
.consult-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-copy p {
  color: var(--muted);
  font-size: 17px;
}

.reverse .split-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.feature-list article,
.whitepaper-grid article,
.news-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-list h3,
.whitepaper-grid h3,
.news-card h3 {
  margin: 0 0 8px;
  line-height: 1.35;
}

.feature-list p,
.whitepaper-grid p,
.news-card p {
  margin: 0;
  color: var(--muted);
}

.consult-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.consult-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.steps span,
.steps a,
.steps button {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 12px;
  color: var(--gold-light);
  background: transparent;
  border: 1px solid rgba(240, 210, 138, 0.3);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.steps a:hover,
.steps button:hover {
  border-color: rgba(240, 210, 138, 0.72);
  background: rgba(240, 210, 138, 0.08);
}

.check-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold-light);
  content: "✓";
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline time {
  display: block;
  color: var(--green);
  font-weight: 900;
}

.timeline span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.certificates {
  background: #f1eee8;
}

.accordion-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 900;
}

details ul {
  padding: 0 18px 18px 38px;
  margin: 0;
  color: var(--muted);
}

.whitepaper-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.full-whitepaper {
  margin-top: 18px;
}

.compact-prose {
  padding: 0 18px 18px;
}

.news-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.section-actions {
  margin-top: 22px;
}

.news-index-grid .news-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.32;
}

.news-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(151, 112, 42, 0.42);
  box-shadow: 0 16px 36px rgba(36, 30, 22, 0.1);
}

.news-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  color: inherit;
}

.news-card-link:focus-visible {
  outline: 3px solid rgba(151, 112, 42, 0.42);
  outline-offset: -3px;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.news-card-cluster {
  padding: 4px 9px;
  color: var(--green);
  background: rgba(43, 84, 75, 0.09);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.news-card h2,
.news-card h3 {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0 0 10px;
  overflow: hidden;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card p {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card-more {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.news-discovery {
  margin-bottom: 24px;
}

.news-search {
  padding: 18px;
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-search label {
  display: block;
  margin-bottom: 9px;
  color: var(--green);
  font-weight: 900;
}

.news-search-row {
  display: flex;
  gap: 10px;
}

.news-search-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.news-search-row input:focus {
  outline: 3px solid rgba(151, 112, 42, 0.22);
  border-color: var(--gold);
}

.news-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.topic-chip span {
  min-width: 22px;
  padding: 2px 6px;
  color: var(--muted);
  background: rgba(43, 84, 75, 0.08);
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
}

.topic-chip:hover,
.topic-chip.is-active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.topic-chip:hover span,
.topic-chip.is-active span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.news-results-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.news-empty {
  padding: 36px 20px;
  margin-top: 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-empty h2 {
  margin: 0 0 8px;
}

.news-empty p {
  margin: 0;
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-link {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.page-link:hover,
.page-link[aria-current="page"] {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.page-link.is-disabled {
  color: #999;
  background: #eeeae3;
  cursor: not-allowed;
}

.page-ellipsis {
  display: inline-flex;
  min-width: 24px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.chip {
  cursor: pointer;
}

.chip.is-active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.news-card time {
  color: var(--green);
  font-weight: 900;
}

.news-card a:hover {
  color: var(--gold);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: linear-gradient(135deg, #151515, #263330);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 5vw;
  color: rgba(255, 255, 255, 0.74);
  background: var(--dark);
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  background: var(--paper-strong);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-panel h2 {
  margin: 0 42px 12px 0;
}

.modal-panel p {
  color: var(--muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: auto;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    gap: 8px;
    padding: 22px 18px 24px;
    overflow-y: auto;
    background: linear-gradient(180deg, #1a1816, #0d0c0b);
    border-top: 1px solid rgba(240, 210, 138, 0.22);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.46);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav::before {
    content: "no钱包官网";
    display: block;
    width: min(520px, 100%);
    padding: 0 0 12px;
    margin-bottom: 6px;
    color: var(--gold-light);
    border-bottom: 1px solid rgba(240, 210, 138, 0.22);
    font-size: 18px;
    font-weight: 900;
  }

  .site-nav a {
    display: flex;
    width: min(520px, 100%);
    min-height: 48px;
    align-items: center;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 17px;
  }

  .site-nav a::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 10px;
    background: var(--gold-light);
    border-radius: 999px;
    opacity: 0.8;
  }

  .site-nav .nav-cta {
    justify-content: center;
    min-height: 54px;
    margin-top: 10px;
    padding: 0 14px;
    color: var(--dark) !important;
    background: linear-gradient(135deg, #ffeaa2, #d6a64e);
    border-color: rgba(255, 235, 168, 0.8);
    font-size: 18px;
  }

  .site-nav .nav-cta::before {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .two-column,
  .split-section,
  .consult-section,
  .certificate-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: 2;
  }

  .hero-media img {
    max-height: 76vh;
  }

  #products .split-copy {
    order: 1;
  }

  #products .split-media {
    order: 2;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #100b08;
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  #products .split-media picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  #products .split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 64%;
    border-radius: 0;
    box-shadow: none;
  }

  .split-section.reverse .split-media {
    order: 0;
  }

  .quick-entry,
  .timeline,
  .whitepaper-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .news-search-row .btn {
    width: 100%;
  }

  .page-edge {
    display: none;
  }

  .pagination {
    gap: 6px;
  }

  .page-link {
    min-width: 40px;
    min-height: 40px;
    padding: 7px 10px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-logo {
    width: min(242px, calc(100vw - 92px));
    height: 60px;
  }

  .brand-text {
    font-size: 15px;
  }

  .section {
    padding: 58px 5vw;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-actions,
  .consult-actions,
  .cta-actions,
  .modal-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics,
  .steps {
    grid-template-columns: 1fr;
  }
}

#profile .two-column {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}


.order-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.order-media img {
  width: min(520px, 100%);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.order-copy h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: 0;
}

.order-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.order-section {
  background: var(--paper-strong);
}

#bulkOrder {
  scroll-margin-top: 88px;
}

.order-form {
  max-width: 1040px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8faf9;
  border: 1px solid #cfd6d2;
  border-radius: 8px;
  font: inherit;
}

.order-form .full {
  margin-top: 16px;
}

.order-summary {
  margin-top: 16px;
  padding: 14px 16px;
  color: var(--blue);
  background: #eef3f1;
  border: 1px solid #d6e1dc;
  border-radius: 8px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .order-hero,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.compact-hero {
  min-height: calc(100vh - 88px);
  background: var(--paper-strong);
}

.form-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.query-form .form-grid.two {
  grid-template-columns: minmax(0, 1fr);
}

.region-grid {
  margin-top: 16px;
}

.order-form input:invalid {
  border-color: #b84131;
}

.order-summary.is-error {
  color: #8a231c;
  background: #fff1ee;
  border-color: #efc2ba;
}

.order-summary.is-success {
  color: var(--green);
  background: #edf7f1;
  border-color: #bedbc8;
}

.order-result {
  max-width: 1040px;
  margin-top: 24px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.order-result h3 {
  margin-top: 0;
  font-size: 24px;
}

.order-result-card + .order-result-card {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e7e3;
}

.result-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.result-head strong {
  font-size: clamp(22px, 4vw, 34px);
  color: var(--green);
}

.status-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 12px;
  color: var(--green);
  background: #edf7f1;
  border: 1px solid #bedbc8;
  border-radius: 999px;
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.detail-grid div {
  padding: 14px;
  background: #f8faf9;
  border: 1px solid #dfe5e1;
  border-radius: 8px;
}

.detail-grid dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.detail-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.btn[disabled],
.btn.small[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}

.btn.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.admin-page {
  background: var(--paper-strong);
}

.admin-shell {
  width: min(1180px, 100%);
}

.admin-login {
  max-width: 520px;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto;
  gap: 14px;
  align-items: end;
  max-width: 1180px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-filters label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.admin-filters input,
.admin-filters select,
.admin-table select,
.admin-table textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f8faf9;
  border: 1px solid #cfd6d2;
  border-radius: 8px;
  font: inherit;
}

.form-actions.compact {
  margin-top: 0;
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e7e3;
}

.admin-table th {
  color: var(--green);
  background: #f3f6f4;
  font-size: 14px;
}

.admin-table small {
  color: var(--muted);
}

.admin-table textarea {
  min-width: 180px;
  resize: vertical;
}

@media (max-width: 980px) {
  .form-grid.two,
  .detail-grid,
  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap {
    margin-right: -5vw;
    margin-left: -5vw;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}
