@import url("https://cn-font.claude-code-best.win/packages/jhlst/dist/%E4%BA%AC%E8%8F%AF%E8%80%81%E5%AE%8B%E4%BD%93v2_002/result.css");

:root {
  color-scheme: light;
  --ink: #15202b;
  --muted: #647282;
  --deep: #182536;
  --deep-2: #223246;
  --line: #d9e1e8;
  --soft: #f3f6f8;
  --paper: #ffffff;
  --silver: #d8dee5;
  --accent: #1d6fa3;
  --good: #14703a;
  --bad: #a33222;
  --shadow: 0 18px 45px rgba(21, 32, 43, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f7f9fb 0%, #eef3f6 100%);
  font-family: "京華老宋体", "京華老宋体v2_002", "JHLST", SimSun, "宋体", "STSong", serif;
}

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

button,
input,
select {
  font: inherit;
}

button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--deep);
  cursor: pointer;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 111, 163, 0.14);
}

.public-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

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

.brand span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--deep);
  border-radius: 6px;
}

.admin-link,
.ghost-button {
  color: var(--deep);
  background: #e9eef3;
}

.query-shell {
  width: min(920px, 92%);
  margin: 0 auto;
  padding: 42px 0 70px;
}

.query-hero {
  padding: clamp(24px, 5vw, 46px);
  background: linear-gradient(135deg, #fff 0%, #f7fafc 58%, #e7edf2 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1,
h2 {
  margin: 0;
  color: var(--deep);
}

h1 {
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.05;
}

.query-hero p,
.login-panel p,
.created-card p {
  color: var(--muted);
  line-height: 1.7;
}

.query-form,
.login-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 24px;
}

.query-form input {
  font-weight: 900;
  letter-spacing: 0.04em;
}

.message {
  margin-top: 18px;
  padding: 14px 16px;
  color: var(--bad);
  background: #fff1ed;
  border: 1px solid #f3c1b5;
  border-radius: 8px;
  font-weight: 800;
}

.message.ok {
  color: var(--good);
  background: #eefaf2;
  border-color: #bae4c8;
}

.identity-card,
.culture-card {
  margin-top: 18px;
  padding: clamp(20px, 4vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.culture-card {
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fa 100%);
}

.culture-card .card-head strong {
  display: inline-flex;
  padding: 7px 12px;
  color: #fff;
  background: var(--deep);
  border-radius: 999px;
  font-family: "京華老宋体", "京華老宋体v2_002", "JHLST", SimSun, "宋体", "STSong", serif;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.card-head span {
  color: var(--muted);
  font-weight: 900;
}

.card-head strong {
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

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

.result-grid div {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

dd {
  margin: 4px 0 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.admin-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  background: #eef3f6;
}

.admin-sidebar {
  padding: 24px 18px;
  color: #fff;
  background: var(--deep);
}

.admin-brand {
  display: grid;
  gap: 4px;
  margin-bottom: 30px;
}

.admin-brand strong {
  font-size: 22px;
  letter-spacing: 0.08em;
}

.admin-brand span {
  color: #b9c4cf;
  font-size: 13px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar a {
  padding: 11px 12px;
  color: #cbd5df;
  border-radius: 6px;
  font-weight: 800;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  color: #fff;
  background: var(--deep-2);
}

.admin-main {
  min-width: 0;
  padding: clamp(18px, 4vw, 32px);
}

.login-panel,
.admin-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.login-panel {
  max-width: 560px;
  margin: 9vh auto 0;
  padding: 32px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-card {
  margin-bottom: 18px;
  padding: 22px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.created-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 20px;
  align-items: center;
}

.created-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.created-card strong {
  display: block;
  margin-top: 5px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 24px;
}

#qrcode {
  display: grid;
  justify-items: center;
}

#qrcode canvas,
#qrcode img {
  width: 180px;
  height: 180px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.created-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.created-culture {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}

.created-culture div {
  padding: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-grid article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.stat-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--deep);
  font-size: 30px;
}

.pager {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}

.pager span {
  color: var(--muted);
  font-weight: 800;
}

.compact-table table {
  min-width: 640px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.section-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  background: #f7f9fb;
}

td:first-child {
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 260px;
}

.row-actions button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--deep);
  background: #e9eef3;
  font-size: 12px;
}

.row-actions .danger-button {
  color: #b42318;
  background: #fff1f0;
}

.status-pill {
  display: inline-flex;
  padding: 4px 8px;
  color: #fff;
  background: var(--deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.operation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.operation-grid h2 {
  margin-bottom: 8px;
}

.operation-grid p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.scan-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ocr-button {
  white-space: nowrap;
  background: var(--accent);
}

.ocr-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(21, 32, 43, 0.72);
}

.ocr-modal[hidden] {
  display: none;
}

.ocr-panel {
  width: min(620px, 100%);
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.ocr-panel video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0e1722;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ocr-panel p {
  margin: 12px 0;
  color: var(--muted);
  font-weight: 800;
}

.ocr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.file-button {
  display: inline-grid;
  min-height: 46px;
  padding: 0 18px;
  place-items: center;
  color: var(--deep);
  background: #e9eef3;
  border-radius: 6px;
  cursor: pointer;
}

.file-button input {
  display: none;
}

.verify-result {
  margin-top: 12px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.verify-result.pass {
  color: var(--good);
  background: #eefaf2;
  border-color: #bae4c8;
}

.verify-result.fail {
  color: var(--bad);
  background: #fff1ed;
  border-color: #f3c1b5;
}

.verify-result strong {
  display: block;
  margin-bottom: 10px;
}

.verify-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.verify-result dl div {
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
}

@media (max-width: 900px) {
  .admin-body,
  .admin-form,
  .created-card,
  .result-grid,
  .operation-grid,
  .verify-result dl,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-topbar,
  .card-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .query-form,
  .login-form,
  .scan-field {
    grid-template-columns: 1fr;
  }

  .public-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* FRANTA trace visual refresh */
.query-body {
  background: #f4f7fa;
}

.trace-public-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  color: #fff;
  background: transparent;
  border-bottom: 0;
}

.trace-public-nav .brand span {
  color: #122033;
  background: #fff;
}

.trace-public-nav nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 900;
}

.trace-public-nav nav a {
  color: rgba(255, 255, 255, 0.88);
}

.trace-public-nav nav a.active {
  color: #fff;
  border-bottom: 3px solid #31b47b;
}

.trace-public-nav .admin-link {
  color: #fff;
  background: #0d8a55;
}

.query-hero {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  padding: 116px 20px 62px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(8, 18, 32, 0.9), rgba(12, 29, 48, 0.68)),
    url("https://b2b.sggg.cc.cd/files/products/images/catalog/grooved-90-elbow.png") left 12% center / 42% auto no-repeat,
    url("https://b2b.sggg.cc.cd/files/products/images/catalog/grooved-clamp-coupling.png") right 5% center / 32% auto no-repeat,
    radial-gradient(circle at 60% 30%, #31475e 0%, #0d1b2b 52%, #081321 100%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.query-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 25, 0.24);
  backdrop-filter: blur(1px);
}

.query-hero > * {
  position: relative;
  z-index: 1;
}

.query-hero h1 {
  color: #fff;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0;
}

.query-hero p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
}

.query-hero .eyebrow {
  color: #dfeaf3;
  font-size: 18px;
  letter-spacing: 0;
}

.query-form {
  width: min(700px, 92vw);
  grid-template-columns: minmax(0, 1fr) 170px;
  margin: 30px auto 0;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.query-form input {
  min-height: 58px;
  border: 0;
  background: #fff;
  letter-spacing: 0;
}

.query-form button {
  min-height: 58px;
  background: #0e1f35;
}

.hero-trust-row {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 6vw, 78px);
  flex-wrap: wrap;
  margin-top: 26px;
  color: #fff;
  font-weight: 900;
}

.query-shell {
  width: min(1030px, 92%);
  padding: 28px 0 54px;
}

.product-passport,
.production-card,
.trace-help-card,
.why-franta {
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(28, 45, 62, 0.08);
}

.passport-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, auto);
  gap: 20px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.checkmark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: #fff;
  background: #16824f;
  border-radius: 999px;
  font-size: 46px;
  font-weight: 900;
}

.passport-status h2 {
  color: #13814c;
  font-size: 30px;
}

.passport-status p {
  margin: 4px 0 0;
  color: var(--ink);
}

.passport-code {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.passport-code span {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.passport-code strong {
  display: inline-block;
  margin-top: 4px;
  font-size: 24px;
}

.passport-code button {
  min-height: 30px;
  margin-left: 8px;
  padding: 0 9px;
  color: var(--deep);
  background: #edf2f6;
}

.passport-body {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1fr);
  gap: 58px;
  margin-top: 18px;
}

.passport-body h3,
.trace-help-card h2,
.why-franta h2 {
  margin: 0 0 12px;
  color: var(--deep);
}

.product-photo {
  width: 100%;
  height: 280px;
  object-fit: contain;
  padding: 24px;
  background: #f4f6f8;
  border-radius: 8px;
}

.product-passport .result-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.product-passport .result-grid div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.pass-pill {
  display: inline-flex;
  padding: 2px 8px;
  color: #107143;
  background: #dff3e8;
  border-radius: 999px;
}

.production-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  padding: 18px 0;
}

.production-flow article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  font-weight: 900;
}

.production-flow article::before {
  content: "";
  position: absolute;
  top: 36px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: #188453;
}

.production-flow article:first-child::before {
  display: none;
}

.production-flow b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  background: #fff;
  border: 2px solid #b9ded0;
  border-radius: 999px;
  font-size: 30px;
}

.production-flow span {
  color: var(--muted);
  font-size: 13px;
}

.culture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: center;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.culture-layout img,
.trace-help-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f5f7f9;
  border-radius: 8px;
}

.trace-help-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 26px 32px;
  background: #fff;
  border: 1px solid var(--line);
}

.trace-help-card p {
  max-width: 560px;
  color: var(--muted);
}

.trace-help-card strong {
  color: #0b8651;
}

.why-franta {
  margin-top: 18px;
  padding: 24px 32px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.why-franta > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-franta article {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.why-franta b {
  color: #19304b;
  font-size: 38px;
}

.why-franta span {
  color: var(--muted);
  font-size: 13px;
}

.trace-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(150px, 1fr));
  gap: 34px;
  padding: 34px min(10vw, 120px);
  color: #d9e2eb;
  background: #0d1d31;
}

.trace-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 10px;
}

.trace-footer a,
.trace-footer p {
  display: block;
  margin: 6px 0;
  color: #aebdca;
}

.admin-body {
  grid-template-columns: 220px minmax(0, 1fr);
  background: #f5f7fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, #0d2136 0%, #071421 100%);
}

.admin-brand strong {
  font-size: 28px;
}

.admin-sidebar a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
}

.sidebar-foot {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 28px;
  display: grid;
  gap: 4px;
}

.sidebar-foot span {
  color: #a8b7c6;
  font-size: 13px;
}

.admin-main {
  padding: 28px;
}

.admin-topbar {
  margin-bottom: 24px;
}

.admin-topbar h1 {
  font-size: 28px;
}

.admin-userbar {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--deep);
  font-weight: 900;
}

.admin-console > .stat-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-console > .stat-grid article {
  display: grid;
  min-height: 118px;
  align-content: center;
  border: 0;
}

.admin-console > .stat-grid strong {
  font-size: 34px;
}

.job-board-card {
  padding: 24px;
}

.job-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.job-task-card {
  padding: 18px;
  background: linear-gradient(135deg, #fff 0%, #f9fbfd 100%);
  border: 1px solid var(--line);
  border-top: 4px solid #1d75d8;
  border-radius: 8px;
}

.job-task-card.done {
  border-top-color: #20a35b;
}

.job-task-card.pending {
  border-top-color: #ed8a19;
}

.job-task-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.job-task-head span {
  align-self: flex-start;
  padding: 4px 9px;
  color: #fff;
  background: #1d75d8;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
}

.job-task-card.done .job-task-head span {
  background: #20a35b;
}

.job-task-card.pending .job-task-head span {
  background: #ed8a19;
}

.job-task-head img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.job-task-card > strong {
  display: block;
  margin-top: 6px;
  font-family: Consolas, monospace;
  font-size: 17px;
}

.job-task-card h3 {
  margin: 8px 0;
}

.job-task-card h3 small {
  margin-left: 6px;
  color: var(--deep);
}

.job-task-card p {
  color: var(--muted);
  font-size: 13px;
}

.job-progress {
  height: 7px;
  overflow: hidden;
  background: #e8edf2;
  border-radius: 999px;
}

.job-progress i {
  display: block;
  height: 100%;
  background: #1977d7;
  border-radius: inherit;
}

.job-task-card.done .job-progress i {
  background: #20a35b;
}

.job-task-card.pending .job-progress i {
  background: #ed8a19;
}

.job-task-foot {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 14px;
  font-weight: 900;
}

.admin-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.ocr-work-card {
  display: grid;
  align-content: start;
}

.ocr-drop {
  display: grid;
  min-height: 230px;
  place-items: center;
  gap: 8px;
  padding: 22px;
  border: 2px dashed #9dc3f5;
  border-radius: 10px;
  text-align: center;
}

.ocr-drop b {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  background: #eaf3ff;
  border-radius: 999px;
  font-size: 34px;
}

@media (max-width: 1050px) {
  .trace-public-nav {
    position: static;
    color: var(--deep);
    background: #fff;
  }

  .trace-public-nav nav a {
    color: var(--deep);
  }

  .passport-status,
  .passport-body,
  .culture-layout,
  .trace-help-card,
  .trace-footer,
  .admin-console > .stat-grid,
  .job-card-grid,
  .admin-work-grid {
    grid-template-columns: 1fr;
  }

  .production-flow,
  .why-franta > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .production-flow article::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .query-form {
    grid-template-columns: 1fr;
  }

  .trace-public-nav nav {
    display: none;
  }

  .query-hero {
    min-height: 430px;
    background:
      linear-gradient(90deg, rgba(8, 18, 32, 0.92), rgba(12, 29, 48, 0.78)),
      url("https://b2b.sggg.cc.cd/files/products/images/catalog/grooved-90-elbow.png") center bottom / 78% auto no-repeat,
      #0d1b2b;
  }

  .product-passport .result-grid div {
    grid-template-columns: 1fr;
  }

  .production-flow,
  .why-franta > div {
    grid-template-columns: 1fr;
  }

  .admin-body {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .sidebar-foot {
    position: static;
    margin-top: 22px;
  }
}
