/* โทนสีเดียวกับเว็บ proposal (app/static/style.css) */
:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --ink: #1b2333;
  --muted: #5b667a;
  --line: #dfe4ee;
  --primary: #1f4fa3;
  --primary-soft: #e8effc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 60, .06), 0 4px 16px rgba(20, 30, 60, .06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151d;
    --card: #1a202b;
    --ink: #e6eaf2;
    --muted: #9aa5b8;
    --line: #2b3342;
    --primary: #8fb2ff;
    --primary-soft: #1f2b44;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Sarabun", "Leelawadee UI", Tahoma, sans-serif;
  font-size: 17px; line-height: 1.65;
  background: var(--bg); color: var(--ink);
}
a { color: var(--primary); }

.wrap { max-width: 640px; margin: 0 auto; padding: 48px 16px 32px; }

.profile { text-align: center; margin-bottom: 40px; }
.avatar {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--card); box-shadow: var(--shadow);
}
.profile h1 { margin: 14px 0 0; font-size: 1.9rem; line-height: 1.2; }
.role { margin: 4px 0 0; color: var(--primary); font-weight: 600; }
.bio { margin: 14px auto 0; max-width: 34em; color: var(--muted); }
.links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.links a {
  padding: 6px 16px; border-radius: 999px; background: var(--primary-soft);
  text-decoration: none; font-weight: 600; font-size: .95rem;
}

h2 { font-size: 1.1rem; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.cards { display: grid; gap: 12px; }
.card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--ink); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
a.card:hover, a.card:focus-visible { border-color: var(--primary); transform: translateY(-2px); }
a.card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.card .icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 12px; background: var(--primary-soft); color: var(--primary);
}
.card .text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card b { font-size: 1.05rem; }
.card small { color: var(--muted); font-size: .92rem; }
.card .go { color: var(--primary); font-size: 1.3rem; }
.card.soon { opacity: .55; box-shadow: none; border-style: dashed; }

footer { margin-top: 40px; text-align: center; color: var(--muted); font-size: .85rem; }

@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
