.lw-compose-root {
  --lw-compose-ink: #25345f;
  --lw-compose-muted: #8e8b89;
  --lw-compose-blue: #3155d9;
  color: var(--lw-compose-ink);
}
.lw-compose-root * { box-sizing: border-box; }
.lw-compose-root button,
.lw-compose-root textarea { font: inherit; touch-action: manipulation; }
.lw-compose-shell { max-width: 620px; margin: auto; padding: 4px 12px 14px; }
.lw-compose-heading h1 { margin: 0; font-size: 30px; line-height: 1.4; letter-spacing: -.6px; color: var(--lw-compose-ink); }
.lw-compose-heading h1::after { content: ''; display: block; width: 94px; height: 4px; margin-top: 3px; border-radius: 50%; background: #ff8b37; transform: rotate(-2deg); }
.lw-compose-date { margin: 9px 0 0; color: #72778d; font-size: 12px; line-height: 1.6; }
.lw-compose-companion { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 5px 0 13px; }
.lw-compose-stage { flex: 0 0 108px; width: 108px; height: 108px; display: grid; place-items: center; }
.lw-compose-stage .clay { width: 108px; height: 108px; margin: 0; }
.lw-compose-companion > p { margin: 0; color: var(--lw-compose-ink); font-size: 20px; font-weight: 800; line-height: 1.65; letter-spacing: .4px; }
.lw-compose-writing { position: relative; }
.lw-compose-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lw-compose-writing textarea { display: block; width: 100%; min-height: 240px; max-height: 50dvh; resize: vertical; padding: 18px 17px; border: 1px solid #eee6d7; border-radius: 18px; outline: none; background: repeating-linear-gradient(transparent 0, transparent 31px, #d9dce222 31px, #d9dce222 32px) #fffdf7; background-origin: content-box; color: #4d5262; font-size: 16px; line-height: 2; box-shadow: 0 5px 14px #8e79560d; }
.lw-compose-writing textarea:focus { border-color: #929fd9; box-shadow: 0 0 0 3px #3155d912; }
.lw-compose-writing textarea::placeholder { color: #92929b; }
.lw-compose-count { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin: 9px 2px 0; color: var(--lw-compose-muted); font-size: 10px; line-height: 1.6; }
.lw-compose-count b { flex: 0 0 auto; font-weight: 400; font-variant-numeric: tabular-nums; }
.lw-compose-private { margin: 18px 0 14px; text-align: center; color: var(--lw-compose-muted); font-size: 11px; line-height: 1.7; }
.lw-compose-savebar button { width: 100%; min-height: 52px; border: 0; border-radius: 17px; padding: 14px 20px; background: var(--lw-compose-blue); color: white; font-size: 18px; font-weight: 800; letter-spacing: .5px; box-shadow: 0 4px 0 #203aaf; }
.lw-compose-savebar > p { margin: 11px 0 0; text-align: center; font-size: 12px; line-height: 1.7; color: #72778d; }
.lw-compose-savebar > p:empty { display: none; }
.lw-compose-back { display: block; min-height: 44px; margin: 12px auto 0; padding: 10px 18px; border: 0; background: transparent; color: var(--lw-compose-blue); font-size: 13px; }
.lw-compose-error { margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: #fff0f3; color: #983b54; font-size: 12px; line-height: 1.7; }
.lw-compose-root button:disabled,
.lw-compose-root textarea:disabled { opacity: .6; cursor: wait; }
.lw-compose-root button:focus-visible { outline: 3px solid var(--lw-compose-blue); outline-offset: 4px; }
@media (max-width: 680px) {
  .lw-compose-shell { padding: 0 0 8px; }
  .lw-compose-heading h1 { font-size: 27px; }
  .lw-compose-companion { gap: 20px; margin: 4px 0 10px; }
  .lw-compose-stage { flex-basis: 100px; width: 100px; height: 100px; }
  .lw-compose-stage .clay { width: 100px; height: 100px; }
  .lw-compose-companion > p { font-size: 18px; }
  .lw-compose-writing textarea { min-height: 220px; padding: 15px; }
  .lw-compose-private { margin-top: 16px; }
}
@media (max-height: 600px) {
  .lw-compose-companion { margin: 2px 0 8px; }
  .lw-compose-stage, .lw-compose-stage .clay { width: 70px; height: 70px; }
  .lw-compose-stage { flex-basis: 70px; }
  .lw-compose-writing textarea { min-height: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .lw-compose-root * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.lw-compose-savebar [data-compose-plain] { min-height: 44px; background: transparent; color: var(--lw-compose-blue); box-shadow: none; font-size: 13px; font-weight: 400; padding: 10px; }
.lw-compose-root [hidden] { display: none !important; }
