:root { --theme-color: #1c1a99; }
* { box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #f4f4f4; margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: #222; }
.wc-wrap { max-width: 900px; width: 100%; margin: 24px auto 0; padding: 0 16px; }
.wc-wrap h1 { color: var(--theme-color); font-size: 1.8rem; margin: 0 0 4px; }
.wc-sub { margin: 0 0 16px; color: #555; }
.wc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.wc-stat { background: #fff; border-radius: 8px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.wc-stat strong { display: block; font-size: 1.4rem; color: var(--theme-color); }
.wc-stat span { font-size: .82rem; color: #555; }
#wc-input { width: 100%; min-height: 280px; padding: 14px; font-size: 1rem; line-height: 1.5; border: 1px solid #ccc; border-radius: 8px; resize: vertical; font-family: inherit; }
#wc-input:focus { outline: 2px solid var(--theme-color); border-color: transparent; }
.wc-actions { display: flex; gap: 8px; margin-top: 8px; }
.wc-actions button { background: var(--theme-color); color: #fff; border: 0; border-radius: 6px; padding: 8px 14px; cursor: pointer; font-size: .95rem; }
.wc-actions button.secondary { background: #666; }
.footer {
  text-align: center;
  padding: 10px 0;
  background-color: var(--theme-color);
  color: #fff;
  font-size: 14px;
  margin-top: auto;
}
.footer a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.footer a:hover {
  text-decoration: underline;
}
