/* OnDuhGo Twin — the note taker in Richard's panel (notes.js, docs/notes.md). Brand colours and Baloo 2 only. */
.qn { margin: 10px 0 14px; padding: 12px; border-radius: 14px; border: 1px solid var(--line, rgba(74,42,24,.16)); background: var(--surface2, #FBF1DC); color: var(--text, #2B2118); font-family: "Baloo 2", "Work Sans", "Segoe UI", sans-serif; }
.qn .qnHead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.qn .qnHead b { font-size: 16px; font-weight: 800; color: var(--strong, #4A2A18); }
.qn .qnState { font-size: 12px; color: var(--muted, rgba(43,33,24,.66)); }
.qn textarea { width: 100%; box-sizing: border-box; min-height: 64px; resize: vertical; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line2, rgba(74,42,24,.55)); background: var(--surface, #FFFBF2); color: var(--text, #2B2118); font: 500 15px/1.5 "Baloo 2", "Work Sans", "Segoe UI", sans-serif; }
.qn .qnRow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.qn .qnRow .btn { min-height: 40px; }
.qn .btn.primary { background: #E38361 !important; border-color: #E38361 !important; color: #2B2118 !important; font-weight: 700; }
.qn .qnRec { background: #4A2A18 !important; color: #F7E7C6 !important; }
.qn .qnList { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.qn .qnNote { padding: 10px 12px; border-radius: 12px; background: var(--surface, #FFFBF2); border: 1px solid var(--line, rgba(74,42,24,.16)); }
.qn .qnNoteHead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.qn .qnTime { font-size: 12px; color: var(--muted, rgba(43,33,24,.66)); }
.qn .qnText { margin: 4px 0 6px; white-space: pre-wrap; line-height: 1.5; }
.qn .qnSum { margin: 4px 0; font-weight: 600; }
.qn .qnQ { margin: 4px 0; padding: 6px 10px; border-left: 3px solid #C89B6C; font-weight: 600; }
.qn .qnChip { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line2, rgba(74,42,24,.55)); white-space: nowrap; }
.qn .qn-ready { background: #E38361; border-color: #E38361; color: #2B2118; }
.qn .qn-applied { background: #4A2A18; border-color: #4A2A18; color: #F7E7C6; }
.qn .qn-reading, .qn .qn-queued { background: rgba(200,155,108,.25); }
.qn .qnAct { margin: 6px 0; padding: 8px 10px; border-radius: 10px; border: 1px dashed var(--line2, rgba(74,42,24,.55)); }
.qn .qnAct.qnOff { opacity: .5; }
.qn .qnActHead { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.qn .qnActHead input { width: 18px; height: 18px; accent-color: #E38361; }
.qn .qnLines { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14px; }
.qn .qnLines td { padding: 4px 4px; border-top: 1px solid var(--line, rgba(74,42,24,.16)); vertical-align: middle; }
.qn .qnQty { white-space: nowrap; text-align: right; }
.qn .qnQty input { width: 76px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line2, rgba(74,42,24,.55)); background: var(--surface, #FFFBF2); color: var(--text, #2B2118); font: 600 14px "Baloo 2", sans-serif; text-align: right; }
.qn .qnAmt { text-align: right; white-space: nowrap; color: var(--strong, #4A2A18); font-weight: 700; }
.qn .qnNew { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(200,155,108,.3); }
.qn .qnChanges { margin: 4px 0; padding-left: 18px; }
.qn .qnSetup { margin-top: 10px; font-size: 14px; }
.qn .qnSetup summary { cursor: pointer; font-weight: 700; color: var(--muted, rgba(43,33,24,.66)); }
.qn .qnSetup label { display: flex; flex-direction: column; gap: 2px; margin: 6px 0; font-weight: 600; }
.qn .qnSetup input { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line2, rgba(74,42,24,.55)); background: var(--surface, #FFFBF2); color: var(--text, #2B2118); font: 500 14px "Baloo 2", sans-serif; }
.qn a { color: var(--strong, #4A2A18); font-weight: 700; }
