/* Proposed reconciliation to the original Mend creative typography.
   Existing owned logo and variable Nunito Sans Italic asset are preserved. */
@font-face{font-family:"Mend Brand";src:url("/assets/fonts/NunitoSans-VariableItalic.ttf") format("truetype");font-style:italic;font-weight:200 1000;font-display:swap}
html body,body :is(h1,h2,h3,h4,h5,h6,p,a,span,strong,b,small,li,dt,dd,label,button,input,select,textarea,summary,legend,figcaption,th,td):not(blockquote,blockquote *,cite,cite *,[data-source-artifact],[data-source-artifact] *,.transcript-turn>p){font-family:"Mend Brand",sans-serif!important;font-style:italic;font-synthesis:none}
html body,body :is(p,li,dt,dd,label,button,input,select,textarea,summary,legend,figcaption):not(blockquote,blockquote *,cite,cite *,[data-source-artifact],[data-source-artifact] *,.transcript-turn>p){font-weight:600!important}
body :is(h1,h2,h3,h4,h5,h6):not(blockquote,blockquote *,cite,cite *,[data-source-artifact],[data-source-artifact] *,.transcript-turn>p){font-weight:700!important;letter-spacing:normal!important}
body :is(strong,b):not(blockquote,blockquote *,cite,cite *,[data-source-artifact],[data-source-artifact] *,.transcript-turn>p){font-weight:700}
body .mend-brand,body #space .mend-brand,body .topbar .mend-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:20px;font-weight:700;line-height:1.3}
body .mend-brand>img,body #space .mend-brand>img,body .topbar .mend-brand>img,body .mend-brand>.mark{width:42px;height:42px;min-width:42px;object-fit:cover;border-radius:8px;box-shadow:none;flex-shrink:0}
body .mend-brand>span,body .mend-brand .mend-wordmark,body .mend-brand strong{display:inline;font-size:20px!important;font-weight:700!important;color:inherit;letter-spacing:normal}
body .mend-brand>div>span{display:block;font-size:12px;font-weight:600}
/* Public session and worksheet aliases use the same locked tokens as Your Space.
   Account theme variables, selected colors and black movement stages stay intact. */
body:is(.worksheet-page,.ad-free-page){--brand-orange:#E59E4C;--brand-blue-gray:#B3C6D1;--brand-blue-deep:#172026;--brand-warm-gray:color-mix(in srgb,#172026 18%,white);--brand-cool-gray:color-mix(in srgb,#172026 18%,white);--brand-orange-soft:color-mix(in srgb,#E59E4C 24%,white);--ink:#172026;--muted:color-mix(in srgb,#172026 80%,white);--line:color-mix(in srgb,#172026 25%,white);--teal:#172026;--teal-soft:color-mix(in srgb,#B3C6D1 60%,white);--coral:#E59E4C;--coral-soft:color-mix(in srgb,#E59E4C 24%,white);--blue:#B3C6D1}

body.worksheet-page aside{background:var(--brand-blue-gray)}
body.worksheet-page h1{font-size:clamp(30px,4vw,44px)}
body.worksheet-page h2{font-size:24px}
