/* Wording controls only. Sheet geometry and shared inputs stay unchanged. */
#choose-panel #wording-step { margin:0; padding:0; border:0; }
#choose-panel .writing-modes { margin-bottom:18px; }
#choose-panel .writing-modes button { min-height:34px; }
#choose-panel .writing-modes button[aria-pressed=true] { background:#eef0e7; border-color:#89917d; box-shadow:none; }
#choose-panel #ai-writing h3 { margin:0 0 10px; font-size:12px; }
#choose-panel #ai-writing .field-label { margin-top:18px; font-size:11px; }
#choose-panel #story { font-size:12px; min-height:80px; resize:vertical; }
#choose-panel #phrase-tone-options { gap:5px; }
#choose-panel #phrase-tone-options button { flex:1 0 auto; padding:8px; }
#choose-panel #phrase-results { margin-top:20px; }
#choose-panel #phrases { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
#choose-panel #phrases button { position:relative; padding:12px 8px; min-height:90px; overflow-wrap:anywhere; color:#4f554b; background:#fdfdf9; border:1px solid #e2e4da; border-radius:8px; line-height:1.65; }
#choose-panel #phrases button[aria-pressed=true] { border-color:#758066; background:#f3f4ed; }
#choose-panel #phrases button[aria-pressed=true]::after { content:'✓'; position:absolute; top:3px; right:3px; border-radius:50%; background:#758066; color:white; width:14px; height:14px; text-align:center; font-size:10px; line-height:14px; }
#choose-panel .final-wording .field-label { margin:16px 0 8px; font-size:11px; }
#choose-panel #text { font-size:13px; min-height:80px; scroll-margin-block:12px; }
#choose-panel #wording-status:empty { display:none; }
#choose-panel #wording-status.error { color:#a43f31; }
#choose-panel #ai-mode.error { color:#a43f31; }
#choose-panel #arrange { scroll-margin-block:12px; }
@media(max-width:900px) {
  #choose-panel #story,#choose-panel #text { font-size:16px; } /* Prevent iOS focus zoom. */
}
/* Short-screen content spacing; the header uses the shared mobile geometry. */
@media(max-width:900px) and (max-height:500px) {
  #choose-panel .panel-scroll { padding-block:8px; }
}
