/* Naghma V181 — readable song structure and music report, responsive */
#lyrics{direction:rtl;text-align:right;white-space:pre-wrap;line-height:2;font-family:system-ui,'Segoe UI',Tahoma,sans-serif;font-size:15px;min-height:340px;tab-size:4;resize:vertical;padding:17px 18px}
#styles{direction:ltr;text-align:left;line-height:1.65;min-height:215px;white-space:pre-wrap;resize:vertical;font-size:13px}
.n181-lyric-hint{margin:9px 0;font-size:12px;line-height:1.8;color:#c3b9e4}
.n181-style-head{font-size:13px;margin:10px 0;color:#d8c5fd;font-weight:650}
#style-notes.n181-report{display:block;white-space:pre-wrap;text-align:right;direction:rtl;background:#14162a;border:1px solid #4a3f76;border-radius:12px;padding:18px;line-height:1.85;color:#e4dcf9;font-size:13px;overflow:auto;max-height:520px;word-wrap:break-word}
.n181-quality-version{font-size:11px;color:#bba0fa;border:1px solid #56457d;padding:6px 8px;border-radius:9px;white-space:nowrap}
.n181-bpm-tools{border:1px solid #493d75;border-radius:12px;background:#15162a;padding:12px;margin:10px 0;min-width:0;overflow:hidden}
.n181-bpm-tools>button,.n181-bpm-choice{cursor:pointer;background:#332855;border:1px solid #66558e;color:#f2ebff;border-radius:9px;padding:9px 12px;font-size:13px;min-height:42px}
.n181-bpm-tools>button:disabled{opacity:.5;cursor:wait}
.n181-tempo-status{color:#d2c5eb;font-size:12px;line-height:1.7;margin:8px 0}
.n181-tempo-choices{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.n181-bpm-choice{background:#252943}
.n181-report-create{margin:16px 0;border:1px solid #66528e;background:#16182c;border-radius:12px;padding:12px;color:#e4dbfa}
.n181-report-create summary{cursor:pointer;font-weight:700;font-size:14px;line-height:1.5}
.n181-report-create pre{font-family:inherit;font-size:13px;line-height:1.8;white-space:pre-wrap;word-break:break-word;max-height:420px;overflow:auto;direction:rtl;text-align:right}
@media (max-width:820px){
  #lyrics{font-size:14px;min-height:310px;padding:12px;max-width:100%}
  #styles{font-size:13px;min-height:180px;max-width:100%}
  #style-notes.n181-report{max-height:410px;padding:12px}
  .n181-bpm-tools{padding:10px}
  .n181-tempo-choices{gap:6px}
}

.n181-create-format{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:10px 0}
.n181-create-format button{background:#383061;color:#f6edff;border:1px solid #65518f;padding:9px 12px;border-radius:9px;cursor:pointer;min-height:40px;font-size:12px}
.n181-create-format small{flex:1 1 190px;color:#d2c5e9;font-size:11px;line-height:1.5}
@media(max-width:700px){.n181-create-format{gap:6px}.n181-create-format button{flex:1 1 160px;min-height:44px}}
