* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f0f3f9; min-height: 100vh; color: #2d3748; }
body.login-bg { background: linear-gradient(135deg, #4a6cf7 0%, #6c5ce7 100%);
  display: flex; align-items: center; justify-content: center; padding: 20px; }

.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
.container.narrow { max-width: 760px; }

.card { background: white; border-radius: 16px; padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-card { max-width: 420px; width: 100%; }
.login-card h1 { font-size: 1.6rem; color: #1a202c; margin-bottom: 8px; text-align: center; }
.login-card .subtitle { font-size: 0.95rem; color: #718096; text-align: center;
  margin-bottom: 28px; line-height: 1.6; }

label { display: block; font-size: 0.9rem; color: #4a5568; margin-bottom: 6px; font-weight: 500; }
input[type=text], input[type=password] { width: 100%; padding: 12px 14px; font-size: 1rem;
  border: 1px solid #cbd5e0; border-radius: 8px; margin-bottom: 18px; outline: none;
  transition: border .2s; font-family: inherit; }
input:focus { border-color: #4a6cf7; }
textarea { width: 100%; padding: 10px 12px; font-family: inherit; font-size: 0.95rem;
  border: 1px solid #cbd5e0; border-radius: 8px; resize: vertical; outline: none; line-height: 1.55; }
textarea:focus { border-color: #4a6cf7; }

button.primary { background: #4a6cf7; color: white; border: none; padding: 11px 28px;
  font-size: 1rem; border-radius: 8px; cursor: pointer; font-weight: 600; font-family: inherit;
  transition: background .2s; }
button.primary:hover { background: #3b5bdb; }
button.primary:disabled { background: #a0aec0; cursor: not-allowed; }
button.primary.block { width: 100%; padding: 12px; }
button.secondary { background: white; color: #4a5568; border: 1px solid #cbd5e0; padding: 11px 22px;
  font-size: 1rem; border-radius: 8px; cursor: pointer; font-family: inherit; }
button.secondary:hover { background: #f7fafc; }

.note { font-size: 0.85rem; color: #718096; margin-top: 18px; line-height: 1.6; padding: 12px;
  background: #f7fafc; border-radius: 8px; border-left: 3px solid #4a6cf7; }
.error { color: #e53e3e; font-size: 0.9rem; margin-top: -10px; margin-bottom: 14px; min-height: 18px; }

.header-bar { display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; background: white; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 24px; flex-wrap: wrap; gap: 10px; }
.header-bar h1 { font-size: 1.3rem; color: #1a202c; }
.user { font-size: 0.95rem; color: #4a5568; }
.user .link, a.link { color: #4a6cf7; text-decoration: none; margin-left: 12px; cursor: pointer; }
.user .link:hover, a.link:hover { text-decoration: underline; }
.lang-toggle { background: white; border: 1px solid #cbd5e0; padding: 4px 10px; font-size: 0.82rem;
  border-radius: 6px; cursor: pointer; color: #4a5568; margin-left: 12px; font-family: inherit; }
.lang-toggle:hover { background: #f7fafc; border-color: #4a6cf7; color: #4a6cf7; }
.login-card .lang-toggle-row { text-align: right; margin-bottom: 8px; }

.intro { padding: 18px 24px; background: white; border-radius: 12px; margin-bottom: 24px;
  font-size: 0.95rem; color: #4a5568; line-height: 1.7; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.picker { display: grid; gap: 16px; }
.picker-card { background: white; padding: 22px 26px; border-radius: 12px; cursor: pointer;
  text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex; align-items: center; gap: 18px; }
.picker-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.picker-icon { font-size: 2.4rem; flex-shrink: 0; width: 60px; text-align: center; }
.picker-body { flex: 1; }
.picker-title { font-size: 1.1rem; font-weight: 600; color: #1a202c; margin-bottom: 6px; }
.picker-desc { font-size: 0.92rem; color: #718096; line-height: 1.6; }
.picker-arrow { color: #cbd5e0; font-size: 1.6rem; }

.section { background: white; border-radius: 12px; padding: 22px 26px; margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.section h2 { font-size: 1.1rem; color: #1a202c; margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid #edf2f7; display: flex; align-items: center; gap: 8px; }
.section h2 .tag { font-size: 0.75rem; padding: 2px 8px; background: #ebf4ff; color: #4a6cf7;
  border-radius: 8px; font-weight: 500; }
