/* OnDuhGo Twin — the Brain tab in Richard's panel (brain.js, docs/brain.md). Brand colours and Baloo 2 only. */
.brain { font-family: "Baloo 2", "Work Sans", "Segoe UI", sans-serif; color: var(--text, #2B2118); }
.brain .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.brain .btn.primary { background: #E38361 !important; border-color: #E38361 !important; color: #2B2118 !important; font-weight: 700; }
.brain .brainSec { margin: 10px 0; }
.brain .brainHead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.brain .brainHead b { font-size: 16px; font-weight: 800; color: var(--strong, #4A2A18); }
.brain .brainBody { white-space: pre-wrap; line-height: 1.5; margin: 8px 0; }
.brain .brainText { width: 100%; box-sizing: border-box; min-height: 140px; resize: vertical; margin-top: 8px; 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; }
.brain .brainItems { list-style: none; margin: 8px 0 0; padding: 0; }
.brain .brainItems li { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line, rgba(74,42,24,.16)); line-height: 1.45; }
.brain .brainX { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line, rgba(74,42,24,.16)); background: transparent; color: var(--muted, rgba(43,33,24,.66)); font: 700 18px/1 "Baloo 2", sans-serif; cursor: pointer; }
.brain .brainAdd input { flex: 1; min-width: 160px; min-height: 40px; 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 15px "Baloo 2", sans-serif; }
.brain .brainAdd .btn { min-height: 40px; }
.gtabs [data-brain][aria-pressed="true"] { font-weight: 800; }
