:root {
  --page-bg: #f3f7f6;
  --brand: #0f766e;
  --brand-2: #0d9488;
  --brand-dark: #134e4a;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  --van-primary-color: #0f766e;
  --van-success-color: #059669;
  --van-warning-color: #d97706;
  --van-danger-color: #dc2626;
  --van-radius-lg: 18px;
  --van-button-border-radius: 14px;
  --van-cell-border-color: rgba(15, 23, 42, 0.06);
  --van-background: #f3f7f6;
  --van-background-2: #fff;
  --van-text-color: #0f172a;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--page-bg); }
body {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 16% 0%, rgba(20, 184, 166, .20), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(59, 130, 246, .12), transparent 28%),
    linear-gradient(180deg, #f8fcfb 0%, #eef5f3 42%, #f8faf9 100%);
  -webkit-font-smoothing: antialiased;
}
[v-cloak] { display: none; }
.app-shell { max-width: 820px; min-height: 100vh; margin: 0 auto; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.page-content { padding: 14px 14px 22px; }
.topbar { position: sticky; top: 0; z-index: 20; padding: calc(12px + env(safe-area-inset-top)) 14px 10px; background: rgba(248, 250, 249, 0.84); border-bottom: 1px solid rgba(15, 118, 110, .08); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.topbar-row { display: flex; align-items: center; gap: 10px; }
.back-btn { width: 40px; height: 40px; border: 1px solid rgba(15, 118, 110, .14); border-radius: 999px; background: rgba(255,255,255,.88); color: var(--brand-dark); font-size: 23px; box-shadow: 0 8px 22px rgba(15,23,42,.08); }
.topbar-title { font-size: 21px; line-height: 1.1; font-weight: 900; letter-spacing: -.04em; }
.topbar-subtitle { margin-top: 4px; color: var(--muted); font-size: 13px; }
.hero { position: relative; overflow: hidden; border-radius: 28px; padding: 22px 20px 26px; color: #ecfeff; background: radial-gradient(circle at 92% 0%, rgba(45, 212, 191, .36), transparent 34%), linear-gradient(135deg, #0f766e 0%, #115e59 52%, #0f172a 100%); box-shadow: 0 22px 54px rgba(15, 118, 110, .26); }
.hero:after { content: ""; position: absolute; width: 190px; height: 190px; right: -84px; bottom: -98px; border-radius: 999px; background: rgba(255,255,255,.12); }
.hero-kicker { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 800; }
.hero h1 { margin: 16px 0 8px; font-size: 30px; line-height: 1.06; letter-spacing: -.05em; }
.hero p { margin: 0; color: rgba(236,254,255,.82); line-height: 1.55; font-size: 14px; }
.dashboard { display: grid; gap: 12px; margin-top: 14px; }
.home-tile { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 94px; padding: 16px; border: 1px solid rgba(255,255,255,.72); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tile-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 auto; border-radius: 18px; font-size: 22px; font-weight: 900; }
.tile-icon.teal { background: #ccfbf1; color: #0f766e; }
.tile-icon.blue { background: #dbeafe; color: #2563eb; }
.tile-icon.amber { background: #fef3c7; color: #b45309; }
.tile-icon.purple { background: #ede9fe; color: #7c3aed; }
.tile-copy { flex: 1; min-width: 0; text-align: left; }
.tile-copy b { display: block; margin-bottom: 5px; font-size: 17px; letter-spacing: -.02em; }
.tile-copy span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.tile-arrow { color: #94a3b8; font-size: 24px; }
.section-card { margin-bottom: 12px; border: 1px solid rgba(255,255,255,.76); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.section-head { padding: 16px 16px 8px; }
.section-title { margin: 0; font-size: 17px; font-weight: 900; letter-spacing: -.02em; }
.section-desc { margin-top: 5px; color: var(--muted); font-size: 13px; }
.section-body { padding: 8px 14px 16px; }
.quick-row { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-row .van-button { flex: 1 1 120px; }
.form-grid { display: grid; gap: 10px; }
.native-select, .native-input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--text); background: #fff; font: inherit; }
.native-input[type="month"] { padding: 0 10px; }
.field-label { margin: 2px 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.progress-line { display: flex; align-items: center; gap: 10px; padding: 0 2px 10px; color: var(--muted); font-size: 13px; }
.progress-line .van-progress { flex: 1; }
.check-list { padding: 0 2px; }
.check-item { margin-bottom: 8px; padding: 12px; border: 1px solid rgba(15,23,42,.06); border-radius: 15px; background: #fff; }
.issue-item, .note-item, .task-item, .template-item, .station-item { margin-bottom: 10px; border: 1px solid rgba(15,23,42,.06); border-radius: 16px; background: #fff; overflow: hidden; }
.item-main { padding: 13px 14px; }
.item-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 900; }
.item-text { margin-top: 6px; color: #334155; line-height: 1.55; font-size: 14px; white-space: pre-wrap; }
.item-meta { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.item-actions { display: flex; gap: 8px; padding: 0 12px 12px; flex-wrap: wrap; }
.item-actions .van-button { flex: 1 1 auto; }
.done { opacity: .72; background: #f8fafc; }
.filter-bar { display: grid; grid-template-columns: 1fr 132px; gap: 8px; }
.month-bar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 0 2px 10px; }
.stat-pill { padding: 8px 10px; border-radius: 999px; background: #ecfdf5; color: #047857; font-size: 13px; font-weight: 900; white-space: nowrap; }
.van-cell-group--inset { margin: 0; }
.van-cell { background: transparent; }
.van-button { font-weight: 800; }
.van-tabbar { max-width: 820px; left: 50%; transform: translateX(-50%); border-radius: 24px 24px 0 0; overflow: hidden; box-shadow: 0 -10px 28px rgba(15,23,42,.08); }
.van-tabs__wrap { border-radius: 16px; overflow: hidden; }
.van-collapse-item__content { background: transparent; }
.van-empty { padding: 18px 0; }
.editor-sheet { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
.editor-title { margin-bottom: 12px; font-size: 18px; font-weight: 900; }
.editor-actions { display: flex; gap: 10px; margin-top: 12px; }
.editor-actions .van-button { flex: 1; }
@media (min-width: 680px) { .dashboard { grid-template-columns: 1fr 1fr; } .filter-bar { grid-template-columns: 1fr 150px auto; } }
