:root {
  --bg: #0f0f12;
  --surface: #1a1a1f;
  --border: #2c2c33;
  --text: #e8e8ec;
  --text-dim: #9a9aa5;
  --accent: #8b7cf6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.app {
  width: 100%;
  max-width: 560px;
}

.app__header {
  text-align: center;
  margin-bottom: 32px;
}

.app__header h1 {
  font-size: 32px;
  margin: 0 0 8px;
}

.app__subtitle {
  color: var(--text-dim);
  margin: 0;
}

.entry-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

label {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 8px;
}

textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
}

button {
  margin-top: 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.result {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
}

.result h2 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--accent);
}

.result p {
  margin: 0;
  line-height: 1.6;
}
