.composer, .entry { padding: 26px; border: 1px solid #303030; border-radius: 18px; background: #181818; }
h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
form { margin-top: 24px; }
label { display: block; margin-bottom: 12px; color: #bcbcbc; font-size: 12px; }
textarea { display: block; width: 100%; resize: vertical; min-height: 140px; padding: 18px; border: 1px solid #383838; border-radius: 12px; background: #111; color: #fff; font-family: inherit; font-size: 15px; line-height: 1.8; }
textarea:focus-visible { outline: 2px solid #aaa; outline-offset: 2px; }
textarea::placeholder { color: #777; }
.form-meta, .form-actions, .section-heading, .entry-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-meta { margin-top: 12px; align-items: flex-start; color: #999; font-size: 12px; line-height: 1.7; }
.form-meta p { margin: 0; }
#character-count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.form-actions { margin-top: 22px; }
#form-message, .entry-status, #load-message { color: #aaa; font-size: 13px; line-height: 1.7; }
#form-message { margin: 0; }
button { flex-shrink: 0; padding: 12px 18px; border: 1px solid #eee; border-radius: 10px; background: #fff; color: #111; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
button:hover { background: #ddd; }
button:disabled { opacity: .5; cursor: wait; }
button.secondary { background: transparent; color: #ccc; border-color: #444; }
button.secondary:hover { background: #252525; }
.entries-section { margin-top: 44px; }
.section-heading { margin-bottom: 20px; }
#entry-count, time { color: #888; font-size: 12px; }
#entries { display: grid; gap: 14px; }
.entry-header { color: #999; font-size: 11px; letter-spacing: .06em; }
.entry-content, .translation-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.9; }
.entry-content { margin: 18px 0 22px; }
.translation { margin-top: 24px; padding-top: 20px; border-top: 1px solid #333; }
.translation-label { color: #46b883; font-size: 11px; letter-spacing: .12em; }
.translation-text { margin: 12px 0 0; color: #ddd; }
.entry-status:empty { display: none; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .composer, .entry { padding: 20px; }
  .form-meta { flex-wrap: wrap; gap: 8px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .entry-header { align-items: flex-start; }
}
