/* ==========================================================================
   mjkf.app — mg客服投诉
   骨架：工单式 Hero + 左侧步骤导轨 / 右侧表单化长文
   ========================================================================== */

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

/* ---------- Hero ---------- */
.mt-hero {
  position: relative;
  padding: 66px 0 72px;
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 22px, rgba(23, 33, 28, .028) 22px, rgba(23, 33, 28, .028) 23px),
    var(--paper-2);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.mt-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 60px;
  align-items: center;
}

.mt-kicker {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--ink);
  background: var(--orange-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--red);
}

.mt-hero h1 {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.9vw, 56px);
  font-weight: 900;
  line-height: 1.18;
}

.mt-hero h1 span {
  display: inline-block;
  margin-top: 6px;
  font-size: .54em;
  font-weight: 700;
  color: var(--green);
  border-bottom: 4px solid var(--orange);
}

.mt-lead {
  margin-top: 20px;
  max-width: 540px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.9;
}

.mt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.mt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.mt-hero-meta b { color: var(--ink); font-weight: 600; }

.mt-hero-figure {
  position: relative;
  transform: rotate(1.4deg);
}

.mt-hero-figure::before,
.mt-hero-figure::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px);
  z-index: 2;
}

.mt-hero-figure::before { top: 14px; }
.mt-hero-figure::after { bottom: 40px; }

.mt-hero-figure img {
  width: 100%;
  aspect-ratio: 45 / 38;
  object-fit: cover;
  border: 1px solid var(--ink);
  background: var(--cream);
  box-shadow: 12px 12px 0 rgba(23, 33, 28, .12);
}

.mt-hero-figure figcaption {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-align: right;
  color: var(--muted);
}

/* ---------- 主体布局 ---------- */
.mt-shell {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 58px;
  padding-top: 72px;
  align-items: start;
}

/* ---------- 步骤导轨 ---------- */
.mt-rail {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.mt-rail-head {
  padding: 20px 22px;
  background: var(--ink);
  color: var(--cream);
}

.mt-rail-head span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--orange-2);
}

.mt-rail-head b {
  display: block;
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 19px;
}

.mt-step-list {
  position: relative;
  padding: 24px 22px 24px 24px;
  border: 1px solid var(--line-strong);
  border-top: 0;
  background: var(--cream);
}

.mt-step-list::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 42px;
  bottom: 42px;
  width: 1px;
  background: var(--line-strong);
}

.mt-step-list li {
  position: relative;
  display: flex;
  gap: 15px;
  padding-bottom: 22px;
}

.mt-step-list li:last-child { padding-bottom: 0; }

.mt-step-list li > span {
  position: relative;
  z-index: 1;
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted);
}

.mt-step-list li.is-current > span {
  background: var(--orange);
  border-color: var(--ink);
  color: var(--cream);
  box-shadow: 2px 2px 0 var(--ink);
}

.mt-step-list b { display: block; font-size: 13.5px; line-height: 1.5; }
.mt-step-list em { display: block; margin-top: 2px; font-style: normal; font-size: 11px; color: var(--muted); }

.mt-rail-contact {
  padding: 20px 22px;
  background: var(--green);
  color: var(--cream);
}

.mt-rail-contact p {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  color: rgba(251, 248, 240, .55);
}

.mt-rail-contact a {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--orange-2);
}

.mt-rail-contact a:hover { color: var(--cream); }

.mt-rail-contact span {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(251, 248, 240, .22);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(251, 248, 240, .55);
}

/* ---------- 内容 ---------- */
.mt-content { min-width: 0; }

.mt-section {
  padding-bottom: 58px;
  margin-bottom: 58px;
  border-bottom: 1px solid var(--line-strong);
}

.mt-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.mt-sec-head { margin-bottom: 28px; }

/* 受理范围 */
.mt-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mt-scope-grid article {
  padding: 22px 20px;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--green);
  background: var(--cream);
  transition: border-top-color .18s ease, transform .18s ease;
}

.mt-scope-grid article:hover { border-top-color: var(--orange); transform: translateY(-2px); }

.mt-scope-grid span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--orange);
}

.mt-scope-grid h3 {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
}

.mt-scope-grid p { margin-top: 5px; font-size: 12px; color: var(--muted); }

/* 自查 */
.mt-check {
  border-top: 1px solid var(--line-strong);
}

.mt-check li {
  display: flex;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}

.mt-box {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border: 1px solid var(--ink);
  background: var(--cream);
  position: relative;
}

.mt-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--green-3);
  border-bottom: 2px solid var(--green-3);
  transform: rotate(42deg);
}

.mt-check b { font-size: 14.5px; }
.mt-check p { margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* 表格 */
.mt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink);
  background: var(--cream);
}

.mt-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.mt-table th {
  padding: 12px 18px;
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-align: left;
}

.mt-table td {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.mt-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

.mt-req {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid var(--orange);
  background: var(--orange-soft);
  font-size: 10.5px;
  color: var(--red);
  white-space: nowrap;
}

/* 提交路径 */
.mt-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mt-path {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border: 1px solid var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow-s);
  transition: transform .18s ease, box-shadow .18s ease;
}

.mt-path:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(23, 33, 28, .16); }

.mt-path-k {
  align-self: flex-start;
  padding: 1px 8px;
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
}

.mt-path h3 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
}

.mt-path p { margin-top: 6px; font-size: 12.5px; color: var(--muted); flex: 1; }

.mt-path b {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--orange);
}

/* 工单示例 */
.mt-form {
  border: 1px solid var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow-m);
}

.mt-form-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
}

.mt-form-head b { color: var(--orange-2); font-weight: 500; }

.mt-form-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.mt-field {
  padding: 14px 20px;
  background: var(--cream);
}

.mt-field-full { grid-column: 1 / -1; }

.mt-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
}

.mt-field p {
  margin-top: 5px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.65;
}

.mt-files { display: flex; flex-wrap: wrap; gap: 8px; }

.mt-files span {
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.mt-form-foot {
  padding: 12px 20px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--muted);
  text-align: right;
}

/* 时效 */
.mt-sla { border: 1px solid var(--ink); background: var(--cream); }

.mt-sla-row {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

.mt-sla-row:first-child { border-top: 0; }

.mt-sla-head {
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
}

.mt-sla-row span { color: var(--ink-2); }
.mt-sla-row b { font-family: var(--font-mono); font-size: 13px; color: var(--green); }
.mt-sla-row em { font-family: var(--font-mono); font-style: normal; font-size: 12px; color: var(--muted); }
.mt-sla-row.is-hot { background: var(--orange-soft); }
.mt-sla-row.is-hot b { color: var(--red); }

.mt-note {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  font-size: 12.5px;
  color: var(--muted);
}

/* 结果 */
.mt-outcome {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.mt-outcome article { padding: 22px 18px; background: var(--cream); }

.mt-outcome b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}

.mt-outcome h3 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
}

.mt-outcome p { margin-top: 5px; font-size: 12px; color: var(--muted); }

/* 加急 */
.mt-urgent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mt-urgent > div {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  background: var(--orange-soft);
}

.mt-urgent span {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--red);
  padding-top: 3px;
}

.mt-urgent p { font-size: 12.5px; color: var(--ink-2); }
.mt-urgent b { color: var(--red); }

/* 复核 */
.mt-review {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.mt-review li {
  display: flex;
  gap: 20px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
}

.mt-review li > span {
  flex: none;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--orange);
}

.mt-review h3 { font-size: 15px; font-weight: 700; }
.mt-review p { margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.mt-inline-link {
  display: inline-block;
  margin-top: 20px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  background: var(--cream);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 2px 2px 0 var(--ink);
}

.mt-inline-link:hover { background: var(--orange-soft); }

/* CTA */
.mt-cta { border-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1040px) {
  .mt-hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .mt-hero-figure { max-width: 540px; }
  .mt-shell { grid-template-columns: 1fr; gap: 38px; }
  .mt-rail { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .mt-rail-head { display: none; }
  .mt-step-list { border-top: 1px solid var(--line-strong); }
  .mt-step-list::before { display: none; }
  .mt-step-list li { padding-bottom: 14px; }
  .mt-rail-contact { align-self: start; }
}

@media (max-width: 820px) {
  .mt-scope-grid { grid-template-columns: 1fr 1fr; }
  .mt-path-grid { grid-template-columns: 1fr; }
  .mt-outcome { grid-template-columns: 1fr 1fr; }
  .mt-urgent { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .mt-hero { padding: 44px 0 52px; }
  .mt-actions .btn { width: 100%; }
  .mt-rail { grid-template-columns: 1fr; }
  .mt-scope-grid { grid-template-columns: 1fr; }
  .mt-form-body { grid-template-columns: 1fr; }
  .mt-outcome { grid-template-columns: 1fr; }
  .mt-sla-row { grid-template-columns: 1fr .8fr .8fr; padding: 12px 14px; font-size: 12.5px; }
  .mt-section { padding-bottom: 42px; margin-bottom: 42px; }
}
