.subtitle { font-size: 12px; color: var(--ink-light); font-weight: 300; letter-spacing: 0.1em; border-left: 2px solid var(--accent); padding-left: 10px; }
.panel-header { padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-label { font-size: 10px; letter-spacing: .2em; color: var(--ink-light); text-transform: uppercase; }
.panel-body { padding: 0; }
.text-readable-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.text-output-panel { background: #FFFFFF; }
.text-output-area {
  min-height: 560px;
  padding: 26px 28px;
  border: none;
  border-radius: 0;
  background: #FFFFFF;
  font-size: 16px;
  line-height: 2;
  font-weight: 400;
  letter-spacing: 0.02em;
  resize: vertical;
}
.text-output-area:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--blue);
}
.hidden { display:none !important; }
@media (max-width:900px) {
  .text-readable-layout { grid-template-columns: 1fr; }
  .text-output-area { min-height: 420px; font-size: 15px; padding: 22px; }
}
.text-output-area,
textarea.textarea-input {
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.85;
  color: var(--ink);
}
.text-output-area::placeholder,
textarea.textarea-input::placeholder {
  color: var(--ink-light);
  font-weight: 400;
}

/* ── Style buttons readability fix ── */
#styleBtns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}
#styleBtns .fmt-btn {
  flex: 1 1 84px;
  min-width: 84px;
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1.2;
  text-align: center;
}
@media (max-width: 520px) {
  #styleBtns {
    flex-direction: column;
  }
  #styleBtns .fmt-btn {
    width: 100%;
    min-height: 38px;
  }
}

  
/* ── Paragraph input field match watermark style ── */
#paraInput {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  line-height: 1.4;
}
#paraInput:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: none;
}
#paraInput::placeholder {
  color: var(--ink-light);
}


/* ── Copy button feedback style ── */
.copy-action-btn {
  min-width: 104px;
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.1s;
}
.copy-action-btn:hover {
  background: var(--blue-hover);
}
.copy-action-btn:active {
  transform: translateY(1px);
}
.copy-action-btn.copied {
  background: #3A7D44;
}
