/* Guide network editorial brand, 17 October 2026.
 * Adapted from the approved Boys Guide visual direction.
 * Opt-in through data-guide-brand="editorial-v1".
 * No display/position/height changes to the chat shell, sidebar or composer.
 */
:root {
  --guide-ground:#111314;
  --guide-panel:#1b1e1e;
  --guide-ink:#f3f0e9;
  --guide-muted:#bbb9b2;
  --guide-rule:#3a3e3b;
  --guide-accent:#e9a06d;
  --guide-paper:#e8e4db;
  --guide-paper-ink:#202724;
  --guide-small:clamp(.875rem,.85rem + .1vw,1rem);
  --guide-text:clamp(1rem,.98rem + .1vw,1.125rem);
  --guide-subhead:clamp(1.25rem,1.1rem + .45vw,1.5rem);
  --guide-title:clamp(2rem,1.25rem + 2.4vw,3.75rem);
  --guide-hero:clamp(2.8rem,1.4rem + 4.2vw,5.75rem);
}
html:has(body[data-guide-brand="editorial-v1"]),
body[data-guide-brand="editorial-v1"] {
  background-color:var(--guide-ground);
  color:var(--guide-ink);
}
body[data-guide-brand="editorial-v1"] a { color:var(--guide-accent); }
body[data-guide-brand="editorial-v1"] :is(a,button,input,textarea,summary):focus-visible {
  outline:2px solid var(--guide-accent);
  outline-offset:4px;
}
body[data-guide-brand="editorial-v1"] .skip-link {
  background:var(--guide-paper);color:var(--guide-paper-ink);
}
/* Reading surfaces. The shared system-font stack is intentionally preserved. */
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) {font-size:var(--guide-text)}
body[data-guide-brand="editorial-v1"] .site-header {
  background:var(--guide-ground);border-color:var(--guide-rule);position:relative;
}
body[data-guide-brand="editorial-v1"] .site-header-inner {
  max-width:1280px;margin-inline:auto;padding:1.5rem 2rem;gap:1rem;
}
body[data-guide-brand="editorial-v1"] .nav-brand {
  background:url('/favicon.svg') left center/25px 29px no-repeat;
  padding-left:2rem;color:var(--guide-ink);
}
body[data-guide-brand="editorial-v1"] .nav-context {
  color:var(--guide-muted);margin-left:2rem;line-height:1.6;
}
body[data-guide-brand="editorial-v1"] .nav-toggle-wrap {width:auto}
body[data-guide-brand="editorial-v1"] .nav-toggle {border-color:var(--guide-rule)}
body[data-guide-brand="editorial-v1"] .nav-links > li > a {color:var(--guide-muted)}
body[data-guide-brand="editorial-v1"] .nav-links > li > a:is(:hover,[aria-current="page"]) {color:var(--guide-ink)}
body[data-guide-brand="editorial-v1"] .hero {
  padding:4rem 2rem;text-align:left;background:var(--guide-ground);border-color:var(--guide-rule);
}
body[data-guide-brand="editorial-v1"] .hero-content {max-width:1160px;margin-inline:auto}
body[data-guide-brand="editorial-v1"] .hero-eyebrow {
  color:var(--guide-accent);font-size:var(--guide-small);letter-spacing:.1em;margin-bottom:1.5rem;
}
body[data-guide-brand="editorial-v1"] .hero h1 {
  color:var(--guide-ink);font-size:var(--guide-title);font-weight:500;
  letter-spacing:-.035em;line-height:1.12;text-wrap:balance;max-width:1000px;margin-bottom:1.5rem;
}
body[data-guide-brand="editorial-v1"][data-guide-page="home"] .hero-content {
  display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);column-gap:4rem;align-items:start;
}
body[data-guide-brand="editorial-v1"][data-guide-page="home"] .hero-eyebrow {grid-column:1/-1}
body[data-guide-brand="editorial-v1"][data-guide-page="home"] .hero h1 {
  grid-column:1;grid-row:2/span 6;font-size:var(--guide-hero);line-height:1.06;letter-spacing:-.045em;
}
body[data-guide-brand="editorial-v1"][data-guide-page="home"][data-brand-title="long"] .hero h1 {
  font-size:clamp(2.4rem,1.3rem + 3vw,4.4rem);
}
body[data-guide-brand="editorial-v1"] .hero-lead {
  max-width:660px;margin:0 0 1.25rem;color:var(--guide-muted);font-size:var(--guide-text);line-height:1.8;
}
body[data-guide-brand="editorial-v1"] .hero-cta {justify-content:flex-start;margin:1rem 0 0;gap:1rem}
body[data-guide-brand="editorial-v1"] .hero-meta {color:var(--guide-muted);font-size:var(--guide-small);line-height:1.7}
body[data-guide-brand="editorial-v1"][data-guide-page="home"] .hero-content > :is(.hero-lead,.hero-cta,.hero-meta) {grid-column:2}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) :is(.btn-primary,.btn-secondary) {
  min-height:46px;padding:.75rem 1.5rem;border-radius:3px;font-size:var(--guide-small);
  line-height:1.5;font-weight:600;box-shadow:none;transform:none;white-space:normal;
}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .btn-primary {
  color:var(--guide-ground);background:var(--guide-accent);border:1px solid var(--guide-accent);
}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .btn-primary:hover {
  color:var(--guide-ground);background:var(--guide-ink);border-color:var(--guide-ink);
}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .btn-secondary {
  color:var(--guide-ink);background:transparent;border:1px solid var(--guide-rule);
}
body[data-guide-brand="editorial-v1"] .network-door {
  color:var(--guide-muted);font-size:var(--guide-small);line-height:1.8;
}
body[data-guide-brand="editorial-v1"] .content-section {
  padding:3rem 2rem;border-color:var(--guide-rule);background:var(--guide-ground);
}
body[data-guide-brand="editorial-v1"] .content-section > .container {
  max-width:1160px;padding-inline:0;
}
body[data-guide-brand="editorial-v1"] .content-section :is(h2,h3,h4) {color:var(--guide-ink)}
body[data-guide-brand="editorial-v1"] .content-section h2 {
  font-size:clamp(1.65rem,1.3rem + 1vw,2.5rem);font-weight:500;letter-spacing:-.02em;line-height:1.25;
  max-width:900px;margin-bottom:1.25rem;
}
body[data-guide-brand="editorial-v1"] .content-section h3 {
  font-size:var(--guide-subhead);font-weight:550;line-height:1.45;
}
body[data-guide-brand="editorial-v1"] .content-section :is(p,li,dd) {
  color:var(--guide-muted);line-height:1.85;
}
body[data-guide-brand="editorial-v1"] .content-section :is(p,ul,ol,dl) {max-width:76ch}
body[data-guide-brand="editorial-v1"] .content-section p {margin-bottom:1rem}
body[data-guide-brand="editorial-v1"] .content-section strong {color:var(--guide-ink)}
body[data-guide-brand="editorial-v1"] .content-section.highlight {background:var(--guide-panel)}
body[data-guide-brand="editorial-v1"] .point-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));gap:0 3rem;margin-block:2rem 0;
}
body[data-guide-brand="editorial-v1"] .point {
  padding:1.75rem 0;background:transparent;border:0;border-top:1px solid var(--guide-rule);border-radius:0;
}
body[data-guide-brand="editorial-v1"] .point :is(h3,h3 a) {color:var(--guide-ink);font-size:var(--guide-subhead)}
body[data-guide-brand="editorial-v1"] .point h3 a:hover {color:var(--guide-accent)}
body[data-guide-brand="editorial-v1"] .point p {font-size:var(--guide-small)}
body[data-guide-brand="editorial-v1"] .invite-panel {
  background:var(--guide-paper);color:var(--guide-paper-ink);border:0;border-radius:0;padding:2.5rem;margin-top:2rem;
}
body[data-guide-brand="editorial-v1"] .invite-panel :is(p,h2,h3,strong,li,a) {color:var(--guide-paper-ink)}
body[data-guide-brand="editorial-v1"] .invite-panel a {text-decoration:underline;text-underline-offset:3px}
body[data-guide-brand="editorial-v1"] .invite-panel a.btn-primary {
  background:var(--guide-paper-ink);border-color:var(--guide-paper-ink);color:var(--guide-paper);text-decoration:none;
}
body[data-guide-brand="editorial-v1"] .invite-panel a.btn-secondary {
  background:transparent;border-color:var(--guide-paper-ink);color:var(--guide-paper-ink);
}
body[data-guide-brand="editorial-v1"] .invite-panel :is(a,button):focus-visible {outline-color:var(--guide-paper-ink)}
body[data-guide-brand="editorial-v1"] .content-section blockquote {
  max-width:76ch;padding:1.5rem;background:var(--guide-panel);border:0;margin:1.5rem 0;
}
body[data-guide-brand="editorial-v1"] .content-section blockquote p {color:var(--guide-ink)}
body[data-guide-brand="editorial-v1"] .content-section details {
  border-color:var(--guide-rule);border-radius:3px;
}
body[data-guide-brand="editorial-v1"] .content-section summary {color:var(--guide-ink)}
body[data-guide-brand="editorial-v1"] .legal-page {color:var(--guide-muted)}
body[data-guide-brand="editorial-v1"] .site-footer {
  max-width:1224px;margin-inline:auto;padding:3rem 2rem;background:var(--guide-ground);border-color:var(--guide-rule);
}
body[data-guide-brand="editorial-v1"] .site-footer h4 {color:var(--guide-ink)}
body[data-guide-brand="editorial-v1"] .site-footer :is(a,p,.music-note) {color:var(--guide-muted)}
body[data-guide-brand="editorial-v1"] .site-footer a:hover {color:var(--guide-accent)}
body[data-guide-brand="editorial-v1"] .music-toggle {color:var(--guide-accent);border-color:var(--guide-rule)}
body[data-guide-brand="editorial-v1"] :is(.faq-ask,.feedback-line a) {color:var(--guide-accent)}
/* Chat: surface colours only. Preserve all established geometry, visibility,
 * viewport sizing, safe-area clearance, scroll behaviour and event handling. */
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.chat-sidebar,.chat-container,.chat-page-container) {
  background-color:var(--guide-ground);border-color:var(--guide-rule);
}
body.chat-page-body[data-guide-brand="editorial-v1"] .chat-sidebar {background-color:var(--guide-panel)}
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.sidebar-brand,.sidebar-new-btn,.sidebar-session-title) {color:var(--guide-ink)}
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.sidebar-note,.sidebar-legal,.chat-static-invitation>p) {color:var(--guide-muted)}
body.chat-page-body[data-guide-brand="editorial-v1"] .invitation-starters li>button {
  color:var(--guide-ink);background-color:var(--guide-panel);border-color:var(--guide-rule);
}
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.chat-form,#chat-input) {
  background-color:var(--guide-panel);color:var(--guide-ink);border-color:var(--guide-rule);
}
body.chat-page-body[data-guide-brand="editorial-v1"] #chat-input::placeholder {color:var(--guide-muted)}
body.chat-page-body[data-guide-brand="editorial-v1"] #chat-submit {
  background-color:var(--guide-accent);color:var(--guide-ground);border-color:var(--guide-accent);
}
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.chat-message.assistant,.message.assistant) {
  color:var(--guide-ink);background-color:var(--guide-panel);
}
@media(max-width:900px) {
  body[data-guide-brand="editorial-v1"][data-guide-page="home"] .hero-content {display:block}
  body[data-guide-brand="editorial-v1"] .hero h1 {max-width:800px}
}
@media(max-width:600px) {
  body[data-guide-brand="editorial-v1"] .site-header-inner {padding:1.25rem 1.5rem;align-items:flex-start}
  body[data-guide-brand="editorial-v1"] .nav-brand-group {max-width:100%}
  body[data-guide-brand="editorial-v1"] .nav-context {max-width:240px;overflow-wrap:anywhere}
  body[data-guide-brand="editorial-v1"] .nav-links > li > a {white-space:normal}
  body[data-guide-brand="editorial-v1"] .hero {padding:2.5rem 1.5rem}
  body[data-guide-brand="editorial-v1"][data-guide-page="home"] .hero h1 {font-size:clamp(2.5rem,10vw,3.6rem)}
  body[data-guide-brand="editorial-v1"][data-guide-page="home"][data-brand-title="long"] .hero h1 {font-size:clamp(2.2rem,8.5vw,3rem)}
  body[data-guide-brand="editorial-v1"] .hero-cta {align-items:flex-start}
  body[data-guide-brand="editorial-v1"] .content-section {padding:2.25rem 1.5rem}
  body[data-guide-brand="editorial-v1"] .point-grid {grid-template-columns:1fr}
  body[data-guide-brand="editorial-v1"] .invite-panel {padding:1.5rem}
  body[data-guide-brand="editorial-v1"] .site-footer {padding:2.5rem 1.5rem}
}
/* 30 October 2026: on a phone the Menu button stays on the brand line. */
@media(max-width:600px){
  body[data-guide-brand="editorial-v1"] .site-header-inner{flex-wrap:nowrap;gap:.75rem}
  body[data-guide-brand="editorial-v1"] .nav-brand-group{flex:1 1 0;min-width:0}
  body[data-guide-brand="editorial-v1"] .nav-toggle-wrap{flex:0 0 auto}
  body[data-guide-brand="editorial-v1"] .hero-more{padding-top:1.5rem;padding-bottom:1.5rem}
}
/* 30 October 2026 (James): the same three lines on every guide, so the
   network explains itself: this guide, male.guide, contented.guide. */
body[data-guide-brand="editorial-v1"] .network-map{max-width:44rem;margin:1.5rem auto;padding:1.1rem 1.25rem 0.4rem;border:1px solid rgba(232,135,61,.45);border-radius:14px;background:rgba(232,135,61,.05)}
body[data-guide-brand="editorial-v1"] .nm-kicker{font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;color:var(--guide-accent);margin:0 0 .6rem}
body[data-guide-brand="editorial-v1"] .nm-list{list-style:none;margin:0;padding:0}
body[data-guide-brand="editorial-v1"] .nm-list li{display:grid;grid-template-columns:9.5rem 1fr;gap:.2rem 1rem;padding:.6rem 0;border-top:1px solid var(--guide-rule);color:var(--guide-muted);font-size:.95rem;line-height:1.5}
body[data-guide-brand="editorial-v1"] .nm-list strong{color:var(--guide-ink);font-weight:600}
body[data-guide-brand="editorial-v1"] .nm-list a{color:inherit}
body[data-guide-brand="editorial-v1"] .nm-members strong a{color:var(--guide-accent)}
body[data-guide-brand="editorial-v1"] .nm-cta{margin:.4rem 0 .9rem}
@media(max-width:600px){
  body[data-guide-brand="editorial-v1"] .network-map{margin:1.25rem 1rem}
  body[data-guide-brand="editorial-v1"] .nm-list li{grid-template-columns:1fr}
}

/* Static pages, 31 October 2026 (James: "the static content is very bland").
   Warmth and movement without stock images: a slow glow behind the hero,
   an orange rule on each heading, warmer panels, gentle reveal on scroll,
   James's own photo beside "Why James", and a Listen button on articles.
   All motion stops for anyone who has asked for reduced motion. */
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .hero {position:relative;overflow:hidden;isolation:isolate}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .hero::before {content:"";position:absolute;z-index:-1;pointer-events:none;width:70vmax;height:70vmax;left:calc(50% - 35vmax);right:auto;top:-38vmax;border-radius:50%;background:radial-gradient(closest-side,rgba(232,135,61,.26),rgba(232,135,61,.07) 55%,transparent)}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .content-section h2 {position:relative;padding-top:.9rem}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .content-section h2::before {content:"";position:absolute;left:0;top:0;width:34px;height:3px;border-radius:2px;background:#e8873d}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .content-section h2 + p {font-size:1.08em;line-height:1.65;color:var(--guide-ink,#ececf1)}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .content-section.highlight {background:linear-gradient(135deg,rgba(232,135,61,.07),transparent 45%),var(--guide-panel);border-left:3px solid rgba(232,135,61,.55)}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .content-section a.guide-next-link::after {content:" \2192";display:inline-block;transition:transform .2s}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .content-section a.guide-next-link:hover::after {transform:translateX(3px)}
body[data-guide-brand="editorial-v1"] .guide-james-photo {float:right;width:112px;height:112px;margin:0 0 .8rem 1.2rem;border-radius:50%;object-fit:cover;object-position:50% 30%;border:2px solid rgba(232,135,61,.6)}
@media (max-width:520px) { body[data-guide-brand="editorial-v1"] .guide-james-photo {width:84px;height:84px;margin-left:.9rem} }
body[data-guide-brand="editorial-v1"] .page-listen {display:inline-flex;align-items:center;gap:.45rem;margin-top:1.1rem;background:none;border:1px solid rgba(127,127,127,.45);border-radius:999px;padding:.45rem 1rem;font:inherit;font-size:.88rem;color:inherit;cursor:pointer}
body[data-guide-brand="editorial-v1"] .page-listen:hover,body[data-guide-brand="editorial-v1"] .page-listen:focus-visible {border-color:#e8873d;color:#e8873d}
body[data-guide-brand="editorial-v1"] .page-listen svg {width:15px;height:15px}
@media (prefers-reduced-motion:no-preference) {
  body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .hero::before {animation:guide-hero-glow 14s ease-in-out infinite}
  body[data-guide-brand="editorial-v1"] .reveal {opacity:0;transform:translateY(14px);transition:opacity .7s ease,transform .7s ease}
  body[data-guide-brand="editorial-v1"] .reveal.is-in {opacity:1;transform:none}
}
@keyframes guide-hero-glow {0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}
body[data-guide-brand="editorial-v1"] .invite-panel h2 + p {color:var(--guide-paper-ink)}

/* rooms: who you are talking to */
.rooms-section{position:relative;overflow:hidden}
.rooms-eyebrow{font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--guide-accent);margin:0 0 .6rem;font-weight:600}
.rooms-title{font-size:clamp(1.9rem,1.3rem + 2.2vw,3rem);line-height:1.08;letter-spacing:-.01em;margin:0 0 1rem;max-width:18ch}
.rooms-lead{font-size:clamp(1.05rem,1rem + .3vw,1.25rem);color:var(--guide-muted);max-width:38rem;margin:0 0 2rem;line-height:1.6}
.rooms{list-style:none;margin:0 0 2.4rem;padding:0;display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(min(100%,15.5rem),1fr))}
.room{position:relative;background:var(--guide-panel);border:1px solid var(--guide-rule);border-radius:14px;padding:1.3rem 1.25rem 1.25rem;overflow:hidden;transition:transform .25s ease,border-color .25s ease}
.room::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--guide-accent),transparent 80%)}
.room:hover{transform:translateY(-2px);border-color:var(--guide-accent)}
.room-n{display:block;font-size:.75rem;letter-spacing:.14em;color:var(--guide-accent);font-weight:700;margin:0 0 .7rem;font-variant-numeric:tabular-nums}
.room h3{font-size:1.12rem;line-height:1.25;margin:0 0 .45rem;color:var(--guide-ink)}
.room p{font-size:.98rem;line-height:1.55;color:var(--guide-muted);margin:0}
.rooms-quote{margin:0;padding:1.6rem 0 0 1.4rem;border-left:3px solid var(--guide-accent);max-width:40rem}
.rooms-quote p{font-family:inherit;font-style:normal;font-weight:600;font-size:clamp(1.25rem,1.05rem + .9vw,1.75rem);line-height:1.4;color:var(--guide-ink);margin:0 0 .7rem}
.rooms-quote cite{font-style:normal;font-size:.85rem;letter-spacing:.06em;color:var(--guide-muted)}
@media (prefers-reduced-motion:reduce){.room{transition:none}.room:hover{transform:none}}
body[data-guide-brand="editorial-v1"] .content-section .rooms-eyebrow{color:var(--guide-accent);max-width:none}
body[data-guide-brand="editorial-v1"] .content-section .rooms-lead{color:var(--guide-muted);font-size:clamp(1.05rem,1rem + .3vw,1.25rem)}
body[data-guide-brand="editorial-v1"] .content-section ul.rooms{max-width:none;padding:0;margin:0 0 2.4rem;list-style:none}
body[data-guide-brand="editorial-v1"] .content-section .rooms>li.room{margin:0;padding:1.3rem 1.25rem 1.25rem;color:var(--guide-muted)}
body[data-guide-brand="editorial-v1"] .content-section .room p{margin:0;max-width:none;font-size:.98rem;line-height:1.55;color:var(--guide-muted)}
body[data-guide-brand="editorial-v1"] .content-section .room h3{margin:0 0 .45rem}
body[data-guide-brand="editorial-v1"] .content-section blockquote.rooms-quote{background:none;margin:0;padding:.4rem 0 .4rem 1.4rem;border:0;border-left:3px solid var(--guide-accent);border-radius:0;max-width:40rem}
body[data-guide-brand="editorial-v1"] .content-section blockquote.rooms-quote p{font-size:clamp(1.25rem,1.05rem + .9vw,1.75rem);line-height:1.4;margin:0 0 .7rem}

/* 18 November 2026 (James): "it still looks like it was done in a bedroom".
   Calibri for the whole network, with Carlito (the free font drawn to the
   same measurements) for anyone who does not have Calibri installed.
   Chat: warmer, more crafted surfaces. Colour, type and spacing only; the
   shell, sidebar and composer geometry and scroll behaviour are untouched. */
@font-face{font-family:"Carlito";src:url("/fonts/carlito-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Carlito";src:url("/fonts/carlito-400i.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Carlito";src:url("/fonts/carlito-700.woff2") format("woff2");font-weight:600 700;font-style:normal;font-display:swap}
:root{--guide-font:Calibri,Carlito,"Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,Helvetica,Arial,sans-serif}
body[data-guide-brand="editorial-v1"],
body[data-guide-brand="editorial-v1"] :is(button,input,textarea,select){font-family:var(--guide-font)}
/* Calibri sits smaller than the old system font at the same size. */
body[data-guide-brand="editorial-v1"]:not(.chat-page-body){font-size:calc(var(--guide-text) * 1.06)}

/* The conversation surface: no boxed panel, a soft warm light at the top. */
body.chat-page-body[data-guide-brand="editorial-v1"] .chat-page-messages{
  border-color:transparent;
  background:radial-gradient(90% 40% at 50% 0%,rgba(232,135,61,.06),transparent 70%) no-repeat,transparent;
}
/* The visitor's words: a warm outlined note, not a grey widget bubble. */
body.chat-page-body[data-guide-brand="editorial-v1"] .message.user{
  background:linear-gradient(135deg,rgba(232,135,61,.16),rgba(232,135,61,.07));
  border:1px solid rgba(232,135,61,.38);color:var(--guide-ink);
  font-size:1.06rem;line-height:1.55;padding:.75rem 1.1rem;border-radius:18px 18px 6px 18px;
}
/* The SI reply: a considered letter on a lit card, with the guide's mark. */
body.chat-page-body[data-guide-brand="editorial-v1"] .message.assistant:not(.loading){
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  border:1px solid var(--guide-rule);border-left:3px solid #e8873d;border-radius:4px 16px 16px 4px;
  padding:1rem 1.25rem 1.05rem 1.2rem;color:#ece8e0;
  font-size:1.09rem;line-height:1.72;max-width:44rem;
  box-shadow:0 10px 30px rgba(0,0,0,.22);
}
body.chat-page-body[data-guide-brand="editorial-v1"] .message.assistant:not(.loading)::before{
  font-size:.74rem;letter-spacing:.12em;font-weight:700;margin-bottom:.6rem;
  padding-left:30px;min-height:22px;line-height:22px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 110'%3E%3Ccircle cx='55' cy='55' r='51' fill='none' stroke='%23e8873d' stroke-opacity='.55' stroke-width='5'/%3E%3Cpath d='M55,92 L55,42 C55,32 64,27 68,33 C72,39 65,45 60,41 C56,38 57,33 62,32' fill='none' stroke='%23e8873d' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M55,78 L43,71 M55,78 L67,71 M55,64 L45,58 M55,64 L65,58 M55,50 L47,45' stroke='%23e8873d' stroke-width='5.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center/22px 22px;
}
body.chat-page-body[data-guide-brand="editorial-v1"] .message.assistant :is(strong,b){color:#fff;font-weight:700}
body.chat-page-body[data-guide-brand="editorial-v1"] .message.assistant p{margin:0}
body.chat-page-body[data-guide-brand="editorial-v1"] .message.assistant > br{display:none}
body.chat-page-body[data-guide-brand="editorial-v1"] .message.assistant > :is(p,ul,ol,blockquote) ~ :is(p,ul,ol,blockquote){margin-top:.85rem}
body.chat-page-body[data-guide-brand="editorial-v1"] .message.assistant :is(h2,h3,h4){font-size:1.12rem;color:#f6d9c2;margin:1rem 0 .3rem}
/* "How I read that": readable, and clearly part of the reply. */
body.chat-page-body[data-guide-brand="editorial-v1"] .reading-line{font-size:.9rem;color:#b9b5ad;border-left-color:rgba(232,135,61,.45);font-style:normal;font-weight:600;margin-bottom:.6rem}
body.chat-page-body[data-guide-brand="editorial-v1"] .reading-label{font-style:normal;font-size:.7rem;color:#d79a6c;letter-spacing:.1em}
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.message-timestamp,.message-action-btn){font-size:.82rem}
/* Sidebar: the guide name carries its mark, the open conversation is lit. */
body.chat-page-body[data-guide-brand="editorial-v1"] .sidebar-brand{font-size:1.18rem;font-weight:700;letter-spacing:.01em}
body.chat-page-body[data-guide-brand="editorial-v1"] .sidebar-brand::first-letter{color:#e8873d}
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.sidebar-new-btn,.sidebar-cards-btn){font-size:.98rem;border-radius:12px}
body.chat-page-body[data-guide-brand="editorial-v1"] .sidebar-new-btn{border-color:rgba(232,135,61,.45)}
body.chat-page-body[data-guide-brand="editorial-v1"] .sidebar-new-btn:hover{background:rgba(232,135,61,.1)}
body.chat-page-body[data-guide-brand="editorial-v1"] .sidebar-session-item{font-size:.95rem;width:100%;border-radius:8px}
body.chat-page-body[data-guide-brand="editorial-v1"] .sidebar-session-row.active{background:rgba(232,135,61,.12);box-shadow:inset 3px 0 0 #e8873d;border-radius:8px}
body.chat-page-body[data-guide-brand="editorial-v1"] .sidebar-session-row.active .sidebar-session-item{background:transparent;color:var(--guide-ink)}
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.sidebar-note,.sidebar-legal){font-size:.82rem;line-height:1.5}
/* Composer: brighter Send, warmer box, readable lines underneath. */
body.chat-page-body[data-guide-brand="editorial-v1"] #chat-input{font-size:1.06rem}
body.chat-page-body[data-guide-brand="editorial-v1"] #chat-submit{background-color:#e8873d;border-color:#e8873d;color:#141414;font-weight:700;font-size:1rem}
body.chat-page-body[data-guide-brand="editorial-v1"] #chat-submit:hover{background-color:#f09a55}
body.chat-page-body[data-guide-brand="editorial-v1"] :is(.chat-safety-line,.music-line--foot,.pause-line){font-size:.86rem}
body.chat-page-body[data-guide-brand="editorial-v1"] .chat-controls button{font-size:.86rem}
body.chat-page-body[data-guide-brand="editorial-v1"] .chat-static-invitation>p{font-size:1.08rem;line-height:1.6}
body.chat-page-body[data-guide-brand="editorial-v1"] .invitation-starters li>button{font-size:.98rem}
@media(max-width:640px){
  body.chat-page-body[data-guide-brand="editorial-v1"] .message.assistant:not(.loading){font-size:1.04rem;padding:.9rem 1rem .95rem 1rem;box-shadow:none}
  body.chat-page-body[data-guide-brand="editorial-v1"] .message.user{font-size:1.02rem}
}

/* Colour around the graphics (James, 19 November 2026): each card takes one of the network colours. */
.rooms .room:nth-child(6n+1){--rc:#6f9a92}.rooms .room:nth-child(6n+2){--rc:#c08a5e}.rooms .room:nth-child(6n+3){--rc:#8c7fa6}
.rooms .room:nth-child(6n+4){--rc:#7f9a6e}.rooms .room:nth-child(6n+5){--rc:#6f8aa8}.rooms .room:nth-child(6n){--rc:#b9a067}
.rooms .room{background:linear-gradient(165deg,color-mix(in srgb,var(--rc) 9%,var(--guide-panel)),var(--guide-panel) 62%);border-color:color-mix(in srgb,var(--rc) 24%,var(--guide-rule))}
.rooms .room::before{height:3px;background:linear-gradient(90deg,var(--rc),transparent 85%)}
.rooms .room .room-n{color:var(--rc)}
.james-photo img{box-shadow:0 0 0 3px rgba(192,138,94,.22),0 18px 40px -18px rgba(111,154,146,.3)}
.james-photo-2 img{box-shadow:0 0 0 3px rgba(140,127,166,.24),0 18px 40px -18px rgba(111,138,168,.3)}
.rooms-quote{border-image:linear-gradient(180deg,#c08a5e,#8c7fa6) 1}

/* No italics anywhere (James, 19 November 2026): emphasis is a slight bolding instead. */
em,i:not([class]),cite,dfn,var,address,q{font-style:normal}
em,i:not([class]),dfn{font-weight:600}

/* Network colours on the section marks, so pages feel like one family (19 November 2026). */
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) main > .content-section:nth-of-type(5n+1){--sc:#c08a5e}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) main > .content-section:nth-of-type(5n+2){--sc:#6f9a92}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) main > .content-section:nth-of-type(5n+3){--sc:#8c7fa6}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) main > .content-section:nth-of-type(5n+4){--sc:#7f9a6e}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) main > .content-section:nth-of-type(5n){--sc:#6f8aa8}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .content-section h2::before{background:var(--sc,#c08a5e)}
body[data-guide-brand="editorial-v1"]:not(.chat-page-body) .content-section.highlight{border-left-color:color-mix(in srgb,var(--sc,#c08a5e) 45%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--sc,#c08a5e) 6%,transparent),transparent 45%),var(--guide-panel)}
/* A home page without an eyebrow keeps its headline at the top, like the others. */
body[data-guide-brand="editorial-v1"][data-guide-page="home"] .hero-content:not(:has(.hero-eyebrow)) h1{grid-row:1/span 6}
.rooms-quote p{font-weight:600}
