/* ==========================================================================
   The Brain's Brand Notebook (ui/brandNotebook.js): the overview on the
   Brand Strategy tab (#memory) and the #brain-lab prototype. Scoped to
   .bn-scope. Tokens only; reuses the Monthly File's Case File language
   (paper sheet, clip, index cards, stamp) with its own --bn-* palette.
   ========================================================================== */
.bn-scope {
  --bn-hi: #8C2727;
  --bn-mid: #7A1F1F;
  --bn-lo: #5E1616;
  --bn-paper: #FBF8F1;
  --bn-paper-top: #FFFDF9;
  --bn-paper-lo: #F3EBDD;
  --bn-kraft: #D9CCB0;
  --bn-clip: #8E877D;
  color: var(--text-primary);
}
#page-brain-lab { max-width: 1240px; margin: 0 auto; padding: 24px 24px 64px; }
html.dark .bn-scope {
  --bn-hi: #7A2224;
  --bn-mid: #661B1D;
  --bn-lo: #4C1315;
  --bn-paper: #ECE4D3;
  --bn-paper-top: #F3EDE1;
  --bn-paper-lo: #E0D6C2;
  --bn-kraft: #CBBD9C;
  --bn-clip: #A79F94;
}

/* Header */
.bn-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.bn-eyebrow { margin: 0 0 4px; font-size: var(--font-size-eyebrow); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.bn-title { margin: 0; font-size: var(--font-size-h1); font-weight: var(--font-weight-heavy); letter-spacing: -0.02em; line-height: 1.1; }
.bn-lede { margin: 6px 0 0; max-width: 60ch; font-size: var(--font-size-body); color: var(--text-secondary); }
.bn-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-head__actions .btn { display: inline-flex; align-items: center; gap: 8px; }

.bn-proto {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin: 18px 0 22px; padding: 8px 12px;
  border: 1px dashed var(--border-default); border-radius: var(--radius-control);
  background: var(--surface-hover); font-size: var(--font-size-body-sm); color: var(--text-secondary);
}
.bn-proto__tag { padding: 2px 8px; border-radius: 999px; background: var(--warning-subtle); color: var(--warning-text); font-weight: 800; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.bn-proto__pick { display: inline-flex; align-items: center; gap: 8px; }
.bn-proto__pick select { min-height: 32px; }
.bn-loading { padding: 48px 0; text-align: center; color: var(--text-muted); }

/* Layout */
.bn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.bn-main { min-width: 0; }
.bn-rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* The notebook: folder, sheet, clip, pocket of index cards */
.bn { position: relative; }
.bn-folder {
  position: relative; padding: 18px 24px 0;
  border-radius: var(--radius-modal);
  background: linear-gradient(180deg, var(--bn-hi), var(--bn-mid) 55%, var(--bn-lo));
  box-shadow: 0 18px 40px -18px rgba(40, 8, 8, 0.55);
}
.bn-sheet {
  position: relative; z-index: 1;
  margin: 0 8px -30px; padding: 26px 30px 56px;
  border-radius: 4px;
  background: linear-gradient(178deg, var(--bn-paper-top), var(--bn-paper) 55%, var(--bn-paper-lo));
  color: var(--text-primary);
  rotate: -0.4deg;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04), 0 14px 26px rgba(30, 10, 10, 0.28);
}
.bn-sheet .mf-clip { position: absolute; z-index: 2; left: 14px; top: -20px; width: 26px; height: 64px; color: var(--bn-clip); filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.25)); pointer-events: none; }
.bn-fields {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px;
  padding: 0 0 12px 24px; border-bottom: 1px solid var(--border-strong);
  font-size: 13px; line-height: 1.3; color: var(--text-muted);
}
.bn-fields b { color: var(--text-primary); font-weight: var(--font-weight-bold); }
.bn-headline { margin: 18px 0 6px; max-width: 34ch; font-size: clamp(22px, 2.4vw, 30px); font-weight: var(--font-weight-heavy); line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.bn-sub { margin: 0; max-width: 62ch; font-size: var(--font-size-body-lg); line-height: 1.5; color: var(--text-secondary); }

/* Ready to create */
.bn-ready { margin-top: 20px; }
.bn-ready__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.bn-ready__title span { font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: var(--text-muted); font-size: 13px; }
.bn-ready__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-ready__item {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; min-height: 44px;
  padding: 10px 12px; border: 1px solid var(--border-default); border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.55); color: var(--text-primary); font: inherit; font-size: 14px; text-align: left; cursor: pointer;
  transition: border-color var(--duration-fast, 120ms) ease, background var(--duration-fast, 120ms) ease;
}
.bn-ready__item:hover { border-color: var(--accent-border); background: var(--surface-thumb, #FFFDF9); }
.bn-ready__item b { display: block; font-weight: var(--font-weight-bold); }
.bn-ready__item small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--text-muted); }
.bn-ready__mark { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--text-muted); border: 1.5px solid var(--border-strong); }
.bn-ready__item.is-done .bn-ready__mark { color: #fff; background: var(--success-solid); border-color: var(--success-solid); }
.bn-ready__item.is-done { border-style: dashed; background: transparent; }

/* Ways to start (new account) */
.bn-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.bn-path {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px; min-height: 44px;
  border: 1px solid var(--border-default); border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.6); color: var(--text-primary); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer;
}
.bn-path:hover { border-color: var(--accent-border); }
.bn-path > svg { flex: none; margin-top: 1px; color: var(--accent-text); }
.bn-path b { display: block; }
.bn-path small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-muted); }

/* Stamp: only after a verified save completes the four answers */
.bn-stamp {
  position: absolute; right: 26px; bottom: 46px; z-index: 2;
  padding: 8px 14px 7px; border: 3px solid var(--success-text); border-radius: 6px;
  color: var(--success-text); font-size: 17px; font-weight: 900; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase;
  rotate: -8deg; opacity: 0.88; mix-blend-mode: multiply; pointer-events: none;
}
.bn-stamp small { display: block; margin-top: 4px; font-size: 10px; font-weight: 800; letter-spacing: 0.24em; text-align: center; }
.bn-sheet.is-ready { padding-bottom: 110px; }
.bn-sheet.is-ready .bn-stamp { bottom: 44px; }
.bn-stamp.is-landing { animation: bn-stamp 0.5s 0.15s cubic-bezier(0.2, 0.9, 0.3, 1.25) backwards; }

/* Pocket and index cards */
.bn-pocket {
  position: relative; z-index: 2;
  margin: 0 -24px; padding: 54px 20px 20px;
  border-radius: 0 0 var(--radius-modal) var(--radius-modal);
  background: linear-gradient(180deg, var(--bn-hi), var(--bn-mid) 40%, var(--bn-lo));
  box-shadow: 0 -10px 22px rgba(40, 8, 8, 0.35), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  clip-path: polygon(0 32px, 30% 0, 100% 0, 100% 100%, 0 100%);
}
.bn-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bn-cards > li { display: flex; min-width: 0; }
.bn-card {
  --y: 0px; --r: 0deg; --lift: 0px;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  width: 100%; min-height: 132px; margin: 0; padding: 13px 14px 12px;
  border: 0; border-radius: var(--radius-control);
  background: var(--bn-paper); color: var(--text-primary);
  font: inherit; text-align: left; cursor: pointer;
  translate: 0 calc(var(--y) + var(--lift)); rotate: var(--r);
  box-shadow: 0 8px 16px rgba(30, 8, 8, 0.28);
  transition: translate 0.4s var(--ease-enter), rotate 0.4s var(--ease-enter), box-shadow 0.4s var(--ease-enter);
}
.bn-cards > li:nth-child(2) .bn-card { --y: -5px; --r: 0.7deg; }
.bn-cards > li:nth-child(3) .bn-card { background: var(--bn-kraft); }
.bn-cards > li:nth-child(4) .bn-card { --y: -3px; --r: -0.7deg; }
@media (hover: hover) {
  .bn-card:hover { --lift: -10px; box-shadow: 0 22px 30px -8px rgba(30, 8, 8, 0.45); }
  .bn-card:hover .bn-card__cue { color: var(--accent-text); rotate: 90deg; }
}
.bn-card:focus-visible { --lift: -10px; outline: 2px solid #F3EEE3; outline-offset: 3px; }
.bn-card__kicker { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.bn-card__title { padding-right: 20px; font-size: 15px; font-weight: var(--font-weight-heavy); line-height: 1.2; letter-spacing: -0.015em; }
.bn-card__text { font-size: 13px; line-height: 1.4; color: var(--text-secondary); }
.bn-card__foot { margin-top: auto; padding-top: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.bn-card__cue { position: absolute; top: 11px; right: 11px; color: var(--text-muted); transition: color 120ms ease, rotate 0.4s var(--ease-enter); }

/* Cover: opens once per session (never with reduced motion) */
.bn-cover {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  border-radius: var(--radius-modal);
  background: linear-gradient(160deg, var(--bn-hi), var(--bn-lo));
  color: #F3EEE3; font-size: 13px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase;
  transform-origin: left center;
  animation: bn-cover 0.9s 0.2s var(--ease-enter) forwards;
  pointer-events: none;
}
.bn.is-entering .bn-sheet { animation: bn-rise 0.6s var(--ease-enter) backwards; }
.bn.has-cover .bn-sheet { animation-delay: 0.55s; }
.bn.is-entering .bn-cards > li { animation: bn-rise 0.5s var(--ease-enter) backwards; animation-delay: calc(0.25s + var(--i) * 60ms); }
.bn.has-cover .bn-cards > li { animation-delay: calc(0.75s + var(--i) * 60ms); }

/* Rail panels */
.bn-panel { padding: 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-card); background: var(--surface-raised, var(--surface-1)); }
.bn-panel__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 10px; font-size: 15px; font-weight: var(--font-weight-bold); }
.bn-count { padding: 0 7px; border-radius: 999px; background: var(--accent-subtle); color: var(--accent-text); font-size: 12px; font-weight: 800; }
.bn-meta { margin: 6px 0 0; font-size: 12.5px; font-weight: 500; color: var(--text-muted); }
.bn-panel__h .bn-meta { margin: 0; }
.bn-rail__empty { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.bn-inbox { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bn-inbox__item { padding: 10px 12px; border-left: 3px solid var(--info-solid); border-radius: 0 var(--radius-control) var(--radius-control) 0; background: var(--info-subtle); }
.bn-inbox__item--warning { border-left-color: var(--warning-solid); background: var(--warning-subtle); }
.bn-inbox__item--danger { border-left-color: var(--danger-solid); background: var(--danger-subtle); }
.bn-inbox__title { margin: 0; font-size: 14px; font-weight: var(--font-weight-bold); }
.bn-inbox__text { margin: 2px 0 6px; font-size: 13px; line-height: 1.4; color: var(--text-secondary); }
.bn-link { padding: 0; border: 0; background: none; color: var(--text-link); font: inherit; font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bn-link:hover { text-decoration-thickness: 2px; }
.bn-strat { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.bn-strat dt { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.bn-strat dd { margin: 1px 0 0; font-size: 13.5px; line-height: 1.4; }
.bn-sources { display: flex; flex-direction: column; gap: 6px; margin: 0 0 4px; padding: 0; list-style: none; }
.bn-sources li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 13.5px; }
.bn-src { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; }
.bn-src__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.bn-src--live { color: var(--success-text); } .bn-src--live .bn-src__dot { background: var(--success-solid); }
.bn-src--failed { color: var(--danger-text); } .bn-src--failed .bn-src__dot { background: var(--danger-solid); }
.bn-src__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-sources .bn-meta { margin: 0; }

/* Brand strategy: summary-first cards */
.bn-strategy { margin-top: 40px; }
.bn-strategy__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.bn-strategy__head h2 { margin: 0; font-size: var(--font-size-h2); font-weight: var(--font-weight-heavy); letter-spacing: -0.015em; }
.bn-strategy__head .bn-meta { margin: 0; }
.bn-secs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bn-sec {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-card); background: var(--surface-raised, var(--surface-1));
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.bn-sec--wide { grid-column: span 2; }
.bn-sec.is-empty { border-style: dashed; background: transparent; }
.bn-sec.is-flash, .bn-panel.is-flash { animation: bn-flash 1.2s ease-out; }
.bn-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bn-sec__head h3 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.02em; }
.bn-sec__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.bn-sec__empty { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.bn-icon-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px;
  border: 1px solid var(--border-default); border-radius: var(--radius-control);
  background: transparent; color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.bn-icon-btn:hover { border-color: var(--accent-border); color: var(--accent-text); }
.bn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-chips li { padding: 3px 9px; border-radius: 999px; background: var(--surface-hover); border: 1px solid var(--border-subtle); font-size: 12.5px; }
.bn-chips__more { color: var(--text-muted); }
.bn-personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.bn-persona { padding: 10px 12px; border-radius: var(--radius-control); background: var(--surface-hover); border: 1px solid var(--border-subtle); font-size: 13px; line-height: 1.4; }
.bn-persona b { display: block; font-size: 13.5px; }
.bn-persona span { color: var(--text-muted); }
.bn-personas__empty { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }
.bn-rules { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bn-rules li { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.bn-rule { flex: none; min-width: 56px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }
.bn-rule--do { background: var(--success-subtle); color: var(--success-text); }
.bn-rule--dont { background: var(--danger-subtle); color: var(--danger-text); }

/* Drawer contents (inside the shared EditDrawer) */
.bn-drawer { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.bn-drawer__label { font-size: 14px; font-weight: var(--font-weight-bold); }
.bn-drawer__hint { margin: 0; font-size: 13px; color: var(--text-muted); }
.bn-drawer__note { margin: 4px 0 0; padding: 8px 10px; border-radius: var(--radius-control); background: var(--warning-subtle); color: var(--warning-text); font-size: 13px; }
.bn-drawer__input { width: 100%; min-height: 96px; padding: 10px 12px; border: 1px solid var(--border-control); border-radius: var(--radius-control); background: var(--surface-inset, var(--surface-1)); color: var(--text-primary); font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; }
.bn-drawer__input:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 1px; }
.bn-suggs { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.bn-sugg { padding: 12px; border: 1px dashed var(--border-default); border-radius: var(--radius-card); }
.bn-sugg--done { color: var(--text-muted); text-align: center; }
.bn-sugg__fact { margin: 0; font-size: 14.5px; font-weight: 600; }
.bn-sugg__src { margin: 6px 0 0; padding-left: 8px; border-left: 2px solid var(--border-default); font-size: 12.5px; color: var(--text-secondary); }
.bn-sugg__actions { display: flex; gap: 8px; margin-top: 10px; }

/* On the Brain page (#memory, Brand Strategy tab) */
.brain-notebook-wrap { margin-bottom: 24px; }
.bn-sheet__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.bn-link > svg { vertical-align: -3px; margin-right: 6px; }
.brain-sidebar-col.bn-rail { gap: 16px; }
.bn-flash { animation: bn-flash 1.2s ease-out; border-radius: var(--radius-card); }

@keyframes bn-stamp { 0% { opacity: 0; scale: 1.8; rotate: -20deg; } 62% { opacity: 1; scale: 0.93; } 100% { scale: 1; } }
@keyframes bn-rise { from { opacity: 0; translate: 0 14px; } }
@keyframes bn-cover { 0% { transform: perspective(1400px) rotateY(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: perspective(1400px) rotateY(-100deg); opacity: 0; visibility: hidden; } }
@keyframes bn-flash { 0% { box-shadow: 0 0 0 3px var(--accent-border); } 100% { box-shadow: 0 0 0 0 transparent; } }

@media (max-width: 1080px) {
  .bn-grid { grid-template-columns: minmax(0, 1fr); }
  .bn-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-rail > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .bn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-secs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #page-brain-lab { padding: 16px 16px 48px; }
  .bn-folder { padding: 14px 12px 0; }
  .bn-sheet { margin: 0 2px -30px; padding: 22px 18px 52px; rotate: 0deg; }
  .bn-pocket { margin: 0 -12px; padding: 50px 12px 14px; }
  .bn-ready__list, .bn-paths, .bn-secs, .bn-rail { grid-template-columns: minmax(0, 1fr); }
  .bn-sec--wide { grid-column: auto; }
  .bn-stamp { position: static; display: inline-block; margin-top: 16px; }
  .bn-head__actions { width: 100%; }
  .bn-head__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) {
  .bn-cards { grid-template-columns: minmax(0, 1fr); }
  .bn-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-cover { display: none; }
  .bn.is-entering .bn-sheet, .bn.is-entering .bn-cards > li, .bn-stamp.is-landing, .bn-sec.is-flash, .bn-panel.is-flash, .bn-flash { animation: none; }
  .bn-card, .bn-card__cue { transition: none; }
}

/* === BRAIN-P2-C2: Brand Strategy sub-tabs, editable wording + strategy === */
.brain-subtabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  margin: 16px 0 12px; padding: 4px;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-card);
  background: var(--surface-hover);
}
.brain-subtab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 52px;
  padding: 8px 12px; border: 1px solid transparent; border-radius: var(--radius-control);
  background: transparent; color: var(--text-secondary); font: inherit; text-align: left; cursor: pointer;
}
.brain-subtab:hover { background: var(--surface-raised, var(--surface-1)); color: var(--text-primary); }
.brain-subtab.is-active { background: var(--surface-raised, var(--surface-1)); border-color: var(--border-default); color: var(--text-primary); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.brain-subtab__label { font-size: 14px; font-weight: 800; }
.brain-subtab.is-active .brain-subtab__label { color: var(--accent-text); }
.brain-subtab__hint { font-size: 12px; line-height: 1.3; color: var(--text-muted); }
.brain-subpanel[hidden] { display: none; }
.brain-subpanel > .brain-card { margin-top: 16px; }

.bn-wording__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 8px 0 0; font-size: 12.5px; color: var(--text-muted); }
.bn-wording, .bn-strat-form { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.bn-strat-form { margin-top: 8px; }
.bn-wording__label { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.bn-wording__input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--border-control); border-radius: var(--radius-control);
  background: var(--surface-inset, #fff); color: var(--text-primary); font: inherit; font-size: 14.5px; line-height: 1.45; resize: vertical;
}
.bn-sheet .bn-wording__input { background: rgba(255, 255, 255, 0.75); }
.bn-wording__input:focus-visible { outline: 2px solid var(--focus-ring-color); outline-offset: 1px; }
.bn-wording__hint { margin: 2px 0 0; font-size: 12.5px; color: var(--text-muted); }
.bn-wording__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px; }
.bn-inbox__actions { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.bn-link--quiet { font-weight: 600; color: var(--text-secondary); }
.bn-strat__item { padding-bottom: 8px; border-bottom: 1px dashed var(--border-subtle); }
.bn-strat__item:last-child { border-bottom: 0; padding-bottom: 0; }
.bn-strat__tools { display: flex; gap: 12px; margin-top: 4px; }
.bn-panel__h .bn-link { font-size: 12.5px; }
.bn-panel > .bn-link { display: inline-block; margin-top: 10px; }

@media (max-width: 640px) {
  .brain-subtabs { grid-template-columns: minmax(0, 1fr); }
  .brain-subtab { min-height: 44px; }
}
/* === END BRAIN-P2-C2 === */
