@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --bg: #f7f5f2;
  --paper: #ffffff;
  --ink: #1c1917;
  --muted: #78716c;
  --faint: #a8a29e;
  --line: #e7e5e4;
  --accent: #0f5c4c;
  --accent-soft: #e8f2ef;
  --warn: #c2410c;
  --danger: #be123c;
  --sh: 0 1px 2px rgba(28, 25, 23, .04), 0 12px 32px rgba(28, 25, 23, .06);
  --font: "Source Sans 3", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 360px at 10% -5%, rgba(15, 92, 76, 0.07), transparent 55%),
    linear-gradient(180deg, #fbfaf8 0%, var(--bg) 40%, #f3f1ed 100%);
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  background: var(--accent-soft);
}

.brand-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-text strong {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: .18s ease;
}

.header-nav a:hover { color: var(--ink); background: #f5f5f4; }
.header-nav a.on {
  color: var(--accent);
  background: var(--accent-soft);
}

.header-nav a.cta {
  color: #fff;
  background: var(--accent);
}
.header-nav a.cta:hover {
  background: #0c4a3e;
  color: #fff;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 6px;
  background: #fff;
}

.lang-toggle button {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--muted);
}

.lang-toggle button.on {
  background: var(--ink);
  color: #fff;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 22px 72px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  padding: 48px 40px;
  margin-bottom: 36px;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255,255,255,.92), rgba(255,255,255,.78)),
    linear-gradient(135deg, #dce8e4 0%, #efe8dc 55%, #e4ebe8 100%);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  animation: rise .55s ease both;
}

.hero-panel::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}

.hero-kicker {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-panel h1 {
  position: relative;
  font-family: var(--font);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
  max-width: none;
}

.hero-panel p {
  position: relative;
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
  max-width: 40ch;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 11px 16px;
  border-radius: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

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

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 22px;
  box-shadow: var(--sh);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  animation: rise .5s ease both;
}

.tile:nth-child(1) { animation-delay: .04s; }
.tile:nth-child(2) { animation-delay: .1s; }
.tile:nth-child(3) { animation-delay: .16s; }

.tile:hover {
  transform: translateY(-3px);
  border-color: #c4d9d3;
  box-shadow: 0 16px 40px rgba(28, 25, 23, .1);
}

.tile .emoji {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px;
  margin-bottom: 22px;
  background: var(--accent-soft);
}

.tile h3 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tile p {
  font-size: 14px;
  color: var(--muted);
  margin-top: auto;
}

.tile .go {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--sh);
  animation: rise .45s ease both;
}

.card h2 {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.lock-box {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 8px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: var(--sh);
  animation: rise .5s ease both;
}

.lock-box h2 {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fcfbfa;
  color: var(--ink);
  outline: none;
  transition: .15s ease;
}

input:focus, textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 92, 76, 0.12);
}

textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.65;
}

.fg { margin-bottom: 14px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  transition: .18s ease;
}

.btn:hover {
  border-color: #c4d9d3;
  color: var(--accent);
}

.btn.prim {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.prim:hover {
  background: #0c4a3e;
  color: #fff;
}

.btn.warn { background: #fff7ed; border-color: #fed7aa; color: var(--warn); }
.btn.danger { background: #fff1f2; border-color: #fecdd3; color: var(--danger); }
.btn.sm { padding: 7px 12px; font-size: 12.5px; }

.meeting {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 14px;
  background: var(--paper);
  box-shadow: var(--sh);
}

.meeting-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.meeting-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #cfe0db;
}

.meta { font-size: 13.5px; color: var(--muted); word-break: break-all; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.record-body {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 4px;
  background: #f8f6f3;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
  white-space: pre-wrap;
  line-height: 1.7;
}
.record-body.empty {
  color: var(--faint);
  font-style: italic;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  background: var(--ink);
  color: #fff;
  z-index: 99;
  box-shadow: var(--sh);
}
.toast.err { background: #9f1239; }

.hidden { display: none !important; }

.footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav, .hint, .warn-box { display: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .hero-panel { padding: 32px 22px; }
  .hero-panel h1 { white-space: nowrap; font-size: 22px; letter-spacing: -0.03em; }
  .site-header-inner { padding: 12px 16px; }
  .wrap { padding: 24px 16px 56px; }
  .header-nav a:not(.cta):not(.on) { display: none; }
}

