* { box-sizing: border-box; }
:root {
  --bg: #f5f2ef;
  --card: #ffffff;
  --line: #e7e2dc;
  --ink: #2a2a2a;
  --muted: #8a8580;
  --accent: #b37031;
  --accent-d: #955c26;
  --green: #16a34a;
  --danger: #dc2626;
}
html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit; font-size: 14px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 14px; border-radius: 8px; transition: .15s;
}
button:hover { border-color: #c9c2ba; }
button:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover { filter: brightness(.95); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 5px 10px; font-size: 13px; border-radius: 6px; }
.btn-danger-t { color: var(--danger); border-color: #f0d4d4; }
.btn-danger-t:hover { background: #fdecec; }

input, textarea, select {
  font-family: inherit; font-size: 14px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px;
  background: #fff; width: 100%; outline: none; transition: .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
textarea { resize: vertical; line-height: 1.6; }
label.fld { display: block; margin-bottom: 14px; }
label.fld > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }

.topbar {
  background: #efe9e3; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--line);
}
.topbar .logo { font-weight: 800; font-size: 16px; color: var(--accent); white-space: nowrap; }
.topbar .search { flex: 1; max-width: 640px; margin: 0 auto; }
.topbar .search input { border-radius: 20px; padding-left: 40px;
  background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%238a8580" stroke-width="2" viewBox="0 0 24 24"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>') 14px center no-repeat; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 24px; }
.muted { color: var(--muted); }
.pill { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: #f0ebe5; color: #7a746d; }
.pill.beauty { background: #fbe9e9; color: #c0392b; }
.pill.clothing { background: #e8eefb; color: #2f5fd0; }
.toast {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  background: #2a2a2a; color: #fff; padding: 10px 18px; border-radius: 8px;
  font-size: 13px; z-index: 999; opacity: 0; transition: .25s; pointer-events: none;
}
.toast.show { opacity: 1; }
