/* ========================================
   电话码 - 主页样式（明亮模式为主）
   蓝绿/浅青/柠檬绿强调色系
   ======================================== */

/* ===== CSS 变量 ===== */
/* 默认明亮模式 */
:root {
  color-scheme: light;
  --bg: #f0fdf8;
  --bg-soft: #e0f7f0;
  --surface: #ffffff;
  --surface-muted: #f0faf6;
  --surface-hover: #e8f8f0;
  --text: #0f2e2a;
  --text-muted: #5a8a7e;
  --border: rgba(15, 46, 42, 0.1);
  --border-strong: rgba(15, 46, 42, 0.18);
  /* 蓝绿/浅青/柠檬绿 */
  --brand: #14b8a6;
  --brand-2: #06b6d4;
  --brand-3: #84cc16;
  --brand-soft: #ccfbf1;
  --brand-glow: rgba(20, 184, 166, 0.25);
  --accent: #22d3ee;
  --shadow: 0 2px 12px rgba(20, 184, 166, 0.08);
  --shadow-lg: 0 8px 32px rgba(20, 184, 166, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --font-sans: "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}

/* 暗色主题 */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --surface: #161616;
  --surface-muted: #1a1a1a;
  --surface-hover: #222222;
  --text: #e8f5f0;
  --text-muted: #7a9e95;
  --border: rgba(56, 189, 172, 0.12);
  --border-strong: rgba(56, 189, 172, 0.22);
  --brand: #38bda8;
  --brand-2: #22d3ee;
  --brand-3: #a3e635;
  --brand-soft: rgba(56, 189, 172, 0.1);
  --brand-glow: rgba(56, 189, 172, 0.35);
  --accent: #67e8f9;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background .4s ease, color .4s ease;
  overflow-x: hidden;
}

/* 背景光晕（明亮模式下透明度稍低） */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
body::before {
  width: 500px; height: 500px;
  background: var(--brand);
  top: -150px; right: -100px;
  opacity: .08;
}
body::after {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -120px; left: -120px;
  opacity: .08;
}
/* 暗色模式下光晕稍高 */
:root[data-theme="dark"] body::before { opacity: .12; }
:root[data-theme="dark"] body::after { opacity: .12; }

/* ===== 顶部导航 ===== */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 600px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 20px var(--brand-glow);
}
.logo-icon svg { width: 22px; height: 22px; color: #fff; }
.logo-text {
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -.03em;
  color: var(--text);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* 管理按钮 */
.btn-manage {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-manage svg { width: 15px; height: 15px; }
.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-logout svg { width: 14px; height: 14px; }
.btn-logout:hover { color: #ef4444; background: rgba(239,68,68,.08); }
.btn-manage:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

/* 主题切换 */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.theme-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: scale(1.05);
}
.theme-toggle svg { width: 18px; height: 18px; }
/* 明亮模式默认，显示月亮切换到暗色 */
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ===== 主内容 ===== */
.main {
  position: relative;
  z-index: 5;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 32px 60px;
}

.hero { text-align: center; margin-bottom: 40px; }
.hero h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 16px; color: var(--text-muted); }

/* ===== 工具卡片（单栏居中） ===== */
.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== 输入区 ===== */
.input-section h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.field-group { margin-bottom: 16px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.field-label .req { color: var(--brand); }
.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ===== 头像 ===== */
.avatar-upload { display: flex; flex-direction: column; gap: 10px; }
.avatar-preview {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--surface-muted);
  border: 2px dashed var(--border-strong);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all .3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}
.avatar-preview svg { width: 24px; height: 24px; opacity: .5; }
.avatar-preview span { font-size: 11px; margin-top: 4px; font-weight: 500; }
.avatar-preview:hover { border-color: var(--brand); color: var(--brand); }
.avatar-preview.has-image { border-style: solid; border-color: var(--brand); padding: 0; }
.avatar-preview.has-image svg,
.avatar-preview.has-image span { display: none; }
.avatar-preview.has-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-url-row { margin-top: 0; }
.avatar-url-row .text-input { font-size: 13px; padding: 10px 14px; }
.avatar-actions { display: flex; gap: 8px; }
.avatar-action-btn {
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.avatar-action-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ===== 微信切换 ===== */
.wechat-toggle {
  display: flex; gap: 4px;
  margin-bottom: 8px;
  background: var(--surface-muted);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--border);
}
.wechat-tab {
  flex: 1; padding: 6px 8px;
  border: none; border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.wechat-tab.active {
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow);
  font-weight: 600;
}
.wechat-tab:hover:not(.active) { color: var(--brand); }

/* ===== 微信二维码预览 ===== */
.wechat-qr-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qr-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--surface-muted);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.qr-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* ===== 链接预览 ===== */
.link-preview {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px dashed var(--border-strong);
  margin-bottom: 16px;
}
.link-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  flex-shrink: 0;
  padding-top: 2px;
}
.link-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  word-break: break-all;
  line-height: 1.5;
}
.link-value.empty { color: var(--text-muted); opacity: .6; }

/* ===== 输入框 ===== */
.text-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: all .3s ease;
}
.text-input::placeholder { color: var(--text-muted); opacity: .6; }
.text-input:focus {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.textarea { resize: none; }

/* 简介对齐选项 */
.align-options {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.align-btn {
  width: 32px; height: 32px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
  padding: 0;
}
.align-btn svg { width: 16px; height: 16px; }
.align-btn:hover { border-color: var(--brand); color: var(--brand); }
.align-btn.active {
  border-color: var(--brand);
  background: var(--brand-soft, rgba(20,184,166,0.08));
  color: var(--brand);
}

.input-wrap { position: relative; }
.country-code {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
}
.phone-input {
  width: 100%;
  padding: 16px 16px 16px 52px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .02em;
  outline: none;
  transition: all .3s ease;
}
.phone-input::placeholder {
  color: var(--text-muted);
  opacity: .6;
  font-weight: 400;
}
.phone-input:focus {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

/* ===== 按钮 ===== */
.actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.btn {
  flex: 1;
  min-width: 120px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 4px 16px var(--brand-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--brand-glow);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--surface-muted);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-cancel-edit {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  flex: 0 0 auto;
  min-width: auto;
  padding: 14px 16px;
}
.btn-cancel-edit:hover {
  border-color: #ef4444;
  color: #ef4444;
}
.btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.btn svg { width: 16px; height: 16px; }

/* ===== 二维码展示区域 ===== */
.qr-container {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.qr-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.qr-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}
#qrCode canvas,
#qrCode img {
  display: block;
  border-radius: 8px;
}

/* ===== QR 颜色选择器 ===== */
.qr-color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.qr-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.qr-color-swatch:hover {
  transform: scale(1.15);
}
.qr-color-swatch.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

/* ===== QR 下载按钮 ===== */
.qr-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #ffffff;
  color: #333;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
  margin-top: 4px;
}
.qr-download-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.qr-download-btn svg { width: 14px; height: 14px; }

/* ===== 使用说明 ===== */
.tips {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all .3s ease;
}
.tip-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.tip-num {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.tip-card h3 { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.tip-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== 页脚 ===== */
.footer {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Toast 提示 ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 8px 24px var(--brand-glow);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 管理面板 ===== */
.manage-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .25s ease;
}
.manage-overlay.open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.manage-panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
  animation: slideUp .3s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.manage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.manage-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.manage-close {
  width: 36px; height: 36px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.manage-close:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.manage-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.manage-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.manage-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .2s ease;
  margin-bottom: 4px;
}
.manage-row:hover {
  background: var(--surface-muted);
  border-color: var(--border);
}

.manage-row-info {
  flex: 1;
  min-width: 0;
}
.manage-row-id {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.manage-row-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.manage-row-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}
.manage-row-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.manage-btn {
  padding: 7px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.manage-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.manage-btn.danger:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* ===== 管理密码弹窗 ===== */

/* 未登录锁屏提示 */
.lock-notice {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.lock-notice .lock-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--surface-muted, rgba(0,0,0,0.04));
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.lock-notice .lock-icon svg { width: 28px; height: 28px; }
.lock-notice p {
  font-size: 15px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}
.auth-overlay.open { opacity: 1; }
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.auth-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}
.auth-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-muted);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: all .3s ease;
  text-align: center;
}
.auth-input::placeholder { color: var(--text-muted); opacity: .6; }
.auth-input:focus {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.auth-error {
  color: #ef4444;
  font-size: 13px;
  min-height: 20px;
  margin-top: 8px;
}
.auth-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
  margin-top: 8px;
}
.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--brand-glow);
}
.auth-btn:active { transform: translateY(0); }

/* ===== 响应式布局 ===== */
@media (max-width: 720px) {
  .header { padding: 16px 20px; }
  .header-actions { gap: 8px; }
  .btn-manage span { display: none; }
  .main { padding: 12px 20px 40px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 14px; }
  .tool-card {
    padding: 24px;
  }
  .tips { grid-template-columns: 1fr; gap: 12px; }
  .actions { flex-direction: column; }
  .field-grid { grid-template-columns: 1fr; }
  .manage-panel { max-height: 90vh; }
  .manage-row { flex-wrap: wrap; gap: 12px; }
  .manage-row-actions { width: 100%; justify-content: flex-end; }
}
