﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;600&family=ZCOOL+XiaoWei&display=swap');

:root {
  --ink: #1d1b1a;
  --muted: #5f5c5a;
  --brand: #1f7a66;
  --brand-soft: #cfe7e1;
  --accent: #e0944f;
  --paper: #f7f3ee;
  --panel: #ffffff;
  --shadow: 0 24px 60px rgba(38, 34, 32, 0.16);
  --radius-lg: 18px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f0e9df 0%, #f7f3ee 45%, #f0f4f2 100%);
  min-height: 100vh;
}

.page {
  position: relative;
  padding-bottom: 48px;
}

.page::before,
.page::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.page::before {
  width: 320px;
  height: 320px;
  background: rgba(31, 122, 102, 0.12);
  top: -120px;
  right: 10%;
}

.page::after {
  width: 420px;
  height: 420px;
  background: rgba(224, 148, 79, 0.12);
  bottom: -180px;
  left: -120px;
}

.topbar {
  padding: 28px 10vw 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: 'ZCOOL XiaoWei', 'Noto Sans SC', serif;
  font-size: 28px;
  letter-spacing: 1px;
}

.tagline {
  color: var(--muted);
  font-size: 14px;
}

.container {
  padding: 0 10vw;
}

.card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  border: 1px solid rgba(31, 122, 102, 0.12);
}

.card + .card {
  margin-top: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(95, 92, 90, 0.2);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

button {
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(31, 122, 102, 0.18);
}

button.secondary {
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(224, 148, 79, 0.18);
}

button.ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(31, 122, 102, 0.4);
  box-shadow: none;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

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

.inline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.helper {
  color: var(--muted);
  font-size: 13px;
}

.error {
  color: #a84338;
  background: #f9e9e6;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 13px;
}

.success {
  color: #2d6a4f;
  background: #e5f4ec;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 13px;
}

.section-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.ticket {
  border: 1px solid rgba(31, 122, 102, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  background: #fefcf9;
}

.ticket + .ticket {
  margin-top: 12px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
}

.flow-list {
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
}

.flow-list li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(95, 92, 90, 0.2);
  font-size: 13px;
}

.flow-list li:last-child {
  border-bottom: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

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

.table th,
.table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(31, 122, 102, 0.12);
  text-align: left;
}

.table th {
  color: var(--muted);
  font-weight: 600;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.link-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(31, 122, 102, 0.15);
  box-shadow: var(--shadow);
}

.link-card a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--brand);
}

[v-cloak] {
  display: none;
}

@media (max-width: 960px) {
  .topbar,
  .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .split {
    grid-template-columns: 1fr;
  }
}
