:root {
  --bg: #FAF8F4;
  --accent: #1F4B43;
  --text: #1C1C1A;
  --sub: #6B6459;
  --hint: #B5AE9F;
  --border: #E5E1D8;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.screen {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.badge {
  font-size: 12px;
  color: var(--hint);
  letter-spacing: .04em;
}
.center {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
h1 { font-size: 20px; margin: 0; }
.page-title { font-size: 16px; font-weight: 700; margin: 12px 0 0; }
.sub { font-size: 14px; color: var(--sub); line-height: 1.6; margin: 0; }
.button {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.footnote {
  font-size: 11px;
  color: var(--hint);
  text-align: center;
  padding-top: 16px;
}
.search-row { display: flex; gap: 8px; margin-top: 16px; }
.search-row input {
  flex-grow: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}
.search-row button {
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.hint { font-size: 12px; color: var(--hint); line-height: 1.6; }
.quota { font-size: 12px; color: var(--sub); margin: 8px 0; }
.results { display: flex; flex-direction: column; gap: 12px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.card-user { font-size: 13px; font-weight: 600; }
.card-text { font-size: 13px; color: #4A453C; line-height: 1.5; margin: 6px 0; }
.card-meta { font-size: 11px; color: var(--hint); }
.doc {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
  line-height: 1.8;
}
.doc h1 { font-size: 22px; }
.doc h2 { font-size: 16px; margin-top: 28px; }
