@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* Webfonts: editorial serif (Cormorant Garamond) + clean sans (Inter).
   Loaded from Google Fonts for the MVP; can be self-hosted later.
   Must come before any other CSS statements (CSS spec). */
*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}
::before,
::after {
  --tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
  cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
/* ── Brand tokens ─────────────────────────────────────────────────────── */
:root {
    --mz-bg:             #F9F8F6;
    --mz-bg-surface:     #F1F0EE;
    --mz-bg-card:        #FDFCFA;
    --mz-bg-elevated:    #FFFFFF;
    --mz-text-primary:   #111827;
    --mz-text-secondary: #78716C;
    --mz-text-muted:     #A89F98;
    --mz-border:         #E7E2DC;
    --mz-accent:         #C4973F;
    --mz-accent-light:   #E8D5A3;
    --mz-wonder:         #6B3FA0;
    --mz-wonder-light:   #EDE5F7;
    /* Surface alias — used throughout components as var(--mz-surface, #1a1a1a).
       Resolves to --mz-bg-card in both themes via lazy CSS var evaluation. */
    --mz-surface:        var(--mz-bg-card);
    /* Alpha-text tokens for inline styles that use rgba(255,255,255,X) in dark mode */
    --mz-text-label:     rgba(0, 0, 0, 0.35);   /* section/primary labels */
    --mz-text-meta:      rgba(0, 0, 0, 0.28);   /* metadata, counts */
    --mz-text-faint:     rgba(0, 0, 0, 0.20);   /* faintest hints, timestamps */
    --mz-text-body:      var(--mz-text-secondary); /* body/clip text */
    --mz-nav-text:       #2a2a2a;                  /* nav link inactive */
    --mz-nav-text-active:#111827;                  /* nav link active */
  }
[data-theme="dark"] {
    --mz-bg:             #0B1221;
    --mz-bg-surface:     #111928;
    --mz-bg-card:        #182032;
    --mz-bg-elevated:    #1E283E;
    --mz-text-primary:   #F9F8F6;
    --mz-text-secondary: #A89F98;
    --mz-text-muted:     #3D4F6A;
    --mz-border:         #263348;
    --mz-accent:         #C4973F;
    --mz-accent-light:   #2A2010;
    --mz-wonder:         #9B6FD0;
    --mz-wonder-light:   #1E1535;
    /* Alpha-text tokens — dark values matching original rgba(255,255,255,X) usage */
    --mz-text-label:     rgba(255, 255, 255, 0.25);
    --mz-text-meta:      rgba(255, 255, 255, 0.28);
    --mz-text-faint:     rgba(255, 255, 255, 0.18);
    --mz-text-body:      rgba(255, 255, 255, 0.72);
    --mz-nav-text:       rgba(255, 255, 255, 0.7);
    --mz-nav-text-active:rgba(255, 255, 255, 0.95);
  }
/* Smooth theme transitions */
*, *::before, *::after {
    transition: background-color 0.2s ease, color 0.15s ease, border-color 0.2s ease;
  }
html,
  body,
  #root {
    height: 100%;
  }
html {
    background-color: var(--mz-bg);
  }
body {
    background-color: var(--mz-bg);
    color: var(--mz-text-primary);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
h1, h2, h3, h4 {
    color: var(--mz-text-primary);
    font-weight: 500;
    font-family: "Cormorant Garamond", Georgia, Cambria, Times New Roman, serif;
  }
.\!container{
  width: 100% !important;
}
.container{
  width: 100%;
}
@media (min-width: 640px){
  .\!container{
    max-width: 640px !important;
  }
  .container{
    max-width: 640px;
  }
}
@media (min-width: 768px){
  .\!container{
    max-width: 768px !important;
  }
  .container{
    max-width: 768px;
  }
}
@media (min-width: 1024px){
  .\!container{
    max-width: 1024px !important;
  }
  .container{
    max-width: 1024px;
  }
}
@media (min-width: 1280px){
  .\!container{
    max-width: 1280px !important;
  }
  .container{
    max-width: 1280px;
  }
}
@media (min-width: 1536px){
  .\!container{
    max-width: 1536px !important;
  }
  .container{
    max-width: 1536px;
  }
}
/* A thin gold rule used to label sections without resorting to badges. */
.muzeo-rule {
    display: inline-block;
    height: 1px;
    width: 2.5rem;
    background-color: var(--mz-accent);
  }
/* Eyebrow label: tracked-out caps in gold. Used sparingly. */
.muzeo-eyebrow{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
    color: var(--mz-accent);
}
.visible{
  visibility: visible;
}
.collapse{
  visibility: collapse;
}
.static{
  position: static;
}
.fixed{
  position: fixed;
}
.absolute{
  position: absolute;
}
.relative{
  position: relative;
}
.sticky{
  position: sticky;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.mb-1{
  margin-bottom: 0.25rem;
}
.mb-10{
  margin-bottom: 2.5rem;
}
.mb-12{
  margin-bottom: 3rem;
}
.mb-14{
  margin-bottom: 3.5rem;
}
.mb-2{
  margin-bottom: 0.5rem;
}
.mb-3{
  margin-bottom: 0.75rem;
}
.mb-4{
  margin-bottom: 1rem;
}
.mb-5{
  margin-bottom: 1.25rem;
}
.mb-6{
  margin-bottom: 1.5rem;
}
.mb-8{
  margin-bottom: 2rem;
}
.mt-1{
  margin-top: 0.25rem;
}
.mt-12{
  margin-top: 3rem;
}
.mt-2{
  margin-top: 0.5rem;
}
.mt-3{
  margin-top: 0.75rem;
}
.mt-4{
  margin-top: 1rem;
}
.mt-5{
  margin-top: 1.25rem;
}
.mt-6{
  margin-top: 1.5rem;
}
.mt-8{
  margin-top: 2rem;
}
.\!block{
  display: block !important;
}
.block{
  display: block;
}
.inline-block{
  display: inline-block;
}
.inline{
  display: inline;
}
.flex{
  display: flex;
}
.inline-flex{
  display: inline-flex;
}
.table{
  display: table;
}
.table-cell{
  display: table-cell;
}
.grid{
  display: grid;
}
.contents{
  display: contents;
}
.hidden{
  display: none;
}
.min-h-screen{
  min-height: 100vh;
}
.w-full{
  width: 100%;
}
.min-w-0{
  min-width: 0px;
}
.max-w-lg{
  max-width: 32rem;
}
.max-w-md{
  max-width: 28rem;
}
.max-w-room{
  max-width: 64rem;
}
.max-w-xl{
  max-width: 36rem;
}
.flex-1{
  flex: 1 1 0%;
}
.shrink-0{
  flex-shrink: 0;
}
.grow{
  flex-grow: 1;
}
.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-not-allowed{
  cursor: not-allowed;
}
.cursor-pointer{
  cursor: pointer;
}
.resize{
  resize: both;
}
.grid-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-col{
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}
.items-start{
  align-items: flex-start;
}
.items-center{
  align-items: center;
}
.items-baseline{
  align-items: baseline;
}
.justify-center{
  justify-content: center;
}
.justify-between{
  justify-content: space-between;
}
.gap-0{
  gap: 0px;
}
.gap-0\.5{
  gap: 0.125rem;
}
.gap-1{
  gap: 0.25rem;
}
.gap-2{
  gap: 0.5rem;
}
.gap-3{
  gap: 0.75rem;
}
.gap-4{
  gap: 1rem;
}
.gap-5{
  gap: 1.25rem;
}
.gap-6{
  gap: 1.5rem;
}
.gap-x-2{
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
}
.gap-y-1{
  row-gap: 0.25rem;
}
.divide-y > :not([hidden]) ~ :not([hidden]){
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-mz-border > :not([hidden]) ~ :not([hidden]){
  border-color: var(--mz-border);
}
.self-center{
  align-self: center;
}
.truncate{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rounded-full{
  border-radius: 9999px;
}
.border{
  border-width: 1px;
}
.border-2{
  border-width: 2px;
}
.border-b{
  border-bottom-width: 1px;
}
.border-t{
  border-top-width: 1px;
}
.border-dashed{
  border-style: dashed;
}
.border-mz-accent{
  border-color: var(--mz-accent);
}
.border-mz-border{
  border-color: var(--mz-border);
}
.border-mz-wonder{
  border-color: var(--mz-wonder);
}
.bg-mz-accent-light{
  background-color: var(--mz-accent-light);
}
.bg-mz-elevated{
  background-color: var(--mz-bg-elevated);
}
.bg-mz-surface{
  background-color: var(--mz-bg-surface);
}
.px-1\.5{
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-10{
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.px-2{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-5{
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8{
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-0\.5{
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-10{
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-12{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-3{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5{
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-6{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8{
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pt-10{
  padding-top: 2.5rem;
}
.pt-3{
  padding-top: 0.75rem;
}
.text-left{
  text-align: left;
}
.text-center{
  text-align: center;
}
.font-sans{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}
.font-serif{
  font-family: "Cormorant Garamond", Georgia, Cambria, Times New Roman, serif;
}
.text-2xl{
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-4xl{
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl{
  font-size: 3rem;
  line-height: 1;
}
.text-base{
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-medium{
  font-weight: 500;
}
.font-semibold{
  font-weight: 600;
}
.uppercase{
  text-transform: uppercase;
}
.normal-case{
  text-transform: none;
}
.italic{
  font-style: italic;
}
.leading-relaxed{
  line-height: 1.625;
}
.leading-tight{
  line-height: 1.25;
}
.tracking-normal{
  letter-spacing: 0em;
}
.tracking-wide{
  letter-spacing: 0.025em;
}
.tracking-widest{
  letter-spacing: 0.18em;
}
.text-mz-accent{
  color: var(--mz-accent);
}
.text-mz-muted{
  color: var(--mz-text-muted);
}
.text-mz-primary{
  color: var(--mz-text-primary);
}
.text-mz-secondary{
  color: var(--mz-text-secondary);
}
.text-mz-wonder{
  color: var(--mz-wonder);
}
.underline{
  text-decoration-line: underline;
}
.outline{
  outline-style: solid;
}
.ring{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.blur{
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity{
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.ease-in-out{
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.\[-\:\\s\]{
  -: \s;
}
/* ── Heading font lock ────────────────────────────────────────────────────────
   The @layer base rule applies font-serif (Cormorant Garamond) to h1-h4.
   This blanket override forces DM Sans on every heading everywhere. The only
   sanctioned use of Cormorant Garamond is blockquotes and pull quotes.
   !important is intentional — it must win over any inherited or inline rule. */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif !important;
  font-style: normal !important;
}
/* Nav header background: --mz-bg in light, --mz-bg-surface in dark. */
.muzeo-nav-bg {
  background-color: var(--mz-bg);
}
[data-theme="dark"] .muzeo-nav-bg {
  background-color: var(--mz-bg-surface);
}
/* ── Session response grid cards ─────────────────────────────────────── */
.mz-response-card {
  background: var(--mz-bg-card);
  border: 1px solid var(--mz-border);
  border-radius: 8px;
  overflow: hidden;
}
[data-theme="dark"] .mz-response-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.mz-response-card-header {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--mz-border);
}
[data-theme="dark"] .mz-response-card-header {
  border-bottom-color: rgba(255,255,255,0.08);
}
.mz-response-card-body {
  padding: 18px;
  min-height: 80px;
}
/* ── Brain response typographic hierarchy ─────────────────────────────── */
/* Level 1 (Brain Label) is handled by .muzeo-eyebrow + card header context */
.mz-response-card-header .muzeo-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  /* color driven by per-brain inline style in VoiceCard.jsx */
}
.mz-brain-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
  color: var(--mz-text-muted);
  line-height: 1.4;
}
[data-theme="dark"] .mz-brain-tagline {
  color: rgba(255,255,255,0.45);
}
/* First-paragraph opener — body weight, no serif */
.mz-brain-headline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--mz-text-secondary);
  margin: 0 0 14px;
  line-height: 1.7;
}
[data-theme="dark"] .mz-brain-headline {
  color: #FAF7F2;
}
/* Body copy */
.mz-brain-p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--mz-text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.mz-brain-p:last-child { margin-bottom: 0; }
[data-theme="dark"] .mz-brain-p {
  color: #FAF7F2;
}
/* Inline bold — color driven by --brain-color set on .mz-response-card in VoiceCard.jsx */
.mz-brain-strong {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--brain-color);
}
/* Level 2 — Major Section Header (H2) */
.mz-brain-h2 {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brain-color);
  margin: 20px 0 8px;
  line-height: 1.3;
}
/* Level 3 — Named Subsection (H3) */
.mz-brain-h3 {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: normal;
  color: var(--mz-text-primary);
  margin: 16px 0 6px;
  line-height: 1.3;
}
[data-theme="dark"] .mz-brain-h3 { color: #FAF7F2; }
/* Level 4 — Inline Label (H4/H5) */
.mz-brain-h4 {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: normal;
  color: var(--brain-color);
  margin: 14px 0 4px;
  line-height: 1.3;
}
/* Realist light-mode text override: #A8A49C is 2.4:1 on cream — darken to #706D68 (5.0:1) for text roles */
html:not([data-theme="dark"]) .mz-response-card[data-clip-source="realist"] .mz-brain-strong,
html:not([data-theme="dark"]) .mz-response-card[data-clip-source="realist"] .mz-brain-h2,
html:not([data-theme="dark"]) .mz-response-card[data-clip-source="realist"] .mz-brain-h4 {
  color: #706D68;
}
/* Pull quotes / blockquotes — only sanctioned use of Cormorant Garamond */
.mz-brain-blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--mz-text-primary);
  border-left: 2px solid var(--mz-accent);
  padding: 4px 0 4px 16px;
  margin: 12px 0;
  line-height: 1.55;
}
[data-theme="dark"] .mz-brain-blockquote { color: #FAF7F2; }
/* Hard guard: DM Sans on all heading elements inside brain response cards.
   Prevents any stylesheet inheritance from overriding the hierarchy. */
.mz-response-card-body h1,
.mz-response-card-body h2,
.mz-response-card-body h3,
.mz-response-card-body h4,
.mz-response-card-body h5,
.mz-response-card-body h6 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: max(15px, 1em);
}
/* ── Brain grid layout ────────────────────────────────────────────────── */
.mz-brain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 560px) {
  .mz-brain-grid { grid-template-columns: 1fr; }
}
.mz-brain-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* ── Synthesis card ───────────────────────────────────────────────────── */
.mz-synth-card {
  background: var(--mz-wonder-light);
  border: 1px solid var(--mz-wonder);
  border-radius: 8px;
  overflow: hidden;
}
[data-theme="dark"] .mz-synth-card {
  background: rgba(201,151,59,0.07);
  border-color: rgba(201,151,59,0.30);
}
.mz-synth-card-header {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--mz-wonder);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
[data-theme="dark"] .mz-synth-card-header {
  border-bottom-color: rgba(201,151,59,0.20);
}
.mz-synth-sub {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  color: var(--mz-wonder);
  font-style: italic;
}
[data-theme="dark"] .mz-synth-sub {
  color: rgba(201,151,59,0.6);
}
.mz-synth-card-body { padding: 18px 20px; }
.mz-synth-p {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: var(--mz-text-secondary);
  line-height: 1.72;
  margin-bottom: 14px;
}
.mz-synth-p:last-child { margin-bottom: 0; }
[data-theme="dark"] .mz-synth-p {
  color: rgba(255,255,255,0.68);
}
.mz-synth-p strong {
  color: var(--mz-text-primary);
  font-weight: 600;
}
[data-theme="dark"] .mz-synth-p strong {
  color: var(--mz-accent);
  font-weight: 600;
}
/* ── Insight pills ────────────────────────────────────────────────────── */
.mz-insight-pill {
  display: inline-block;
  background: rgba(201,151,59,0.08);
  border: 1px solid rgba(201,151,59,0.20);
  border-radius: 4px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  color: var(--mz-accent);
  padding: 4px 10px;
  margin: 0 6px 6px 0;
}
[data-theme="dark"] .mz-insight-pill {
  background: rgba(201,151,59,0.12);
  border-color: rgba(201,151,59,0.25);
  color: rgba(201,151,59,0.9);
}
/* ── Section labels ───────────────────────────────────────────────────── */
.mz-section-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  margin-bottom: 16px;
}
[data-theme="dark"] .mz-section-label {
  color: rgba(255,255,255,0.30);
}
/* ── Focus block ──────────────────────────────────────────────────────── */
.mz-focus-block {
  border-left: 2px solid var(--mz-accent);
  padding: 14px 20px;
  margin-bottom: 32px;
  background: rgba(201,151,59,0.06);
  border-radius: 0 6px 6px 0;
}
.mz-focus-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  color: var(--mz-text-primary);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}
[data-theme="dark"] .mz-focus-text {
  color: rgba(255,255,255,0.88);
}
/* ── Gold rule divider ────────────────────────────────────────────────── */
.mz-gold-rule {
  height: 1px;
  background: rgba(201,151,59,0.15);
  margin: 28px 0 24px;
}
/* ── Session footer ───────────────────────────────────────────────────── */
.mz-compliance-badge {
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--mz-text-muted);
  padding: 3px 8px;
  text-transform: uppercase;
}
[data-theme="dark"] .mz-compliance-badge {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.3);
}
/* ── Per-brain reply section ─────────────────────────────────────────── */
.mz-reply-divider {
  height: 1px;
  background: rgba(201,151,59,0.2);
  margin: 14px 0 12px;
}
.mz-you-bubble {
  margin-bottom: 8px;
  padding: 8px 12px;
  background: var(--mz-bg-surface);
  border-radius: 4px;
}
[data-theme="dark"] .mz-you-bubble {
  background: rgba(255,255,255,0.04);
}
.mz-you-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  margin-bottom: 4px;
}
[data-theme="dark"] .mz-you-label {
  color: rgba(255,255,255,0.3);
}
.mz-you-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: var(--mz-text-secondary);
  line-height: 1.6;
  margin: 0;
}
[data-theme="dark"] .mz-you-text {
  color: rgba(255,255,255,0.75);
}
.mz-brain-reply {
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 2px solid rgba(201,151,59,0.4);
}
.mz-reply-thinking {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  color: var(--mz-text-muted);
  font-style: italic;
  margin: 6px 0;
}
[data-theme="dark"] .mz-reply-thinking {
  color: rgba(255,255,255,0.4);
}
.mz-reply-max-msg {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  margin: 8px 0 0;
}
[data-theme="dark"] .mz-reply-max-msg {
  color: rgba(255,255,255,0.25);
}
.mz-reply-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin-top: 8px;
}
.mz-reply-textarea {
  flex: 1;
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  color: var(--mz-text-primary);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 10px;
  resize: none;
  outline: none;
  transition: border-color 0.15s ease, rows 0.2s ease;
}
[data-theme="dark"] .mz-reply-textarea {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
}
.mz-reply-textarea:focus {
  border-color: var(--mz-accent);
}
[data-theme="dark"] .mz-reply-textarea:focus {
  border-color: rgba(201,151,59,0.5);
}
.mz-reply-textarea::-moz-placeholder {
  color: var(--mz-text-muted);
}
.mz-reply-textarea::placeholder {
  color: var(--mz-text-muted);
}
[data-theme="dark"] .mz-reply-textarea::-moz-placeholder {
  color: rgba(255,255,255,0.25);
}
[data-theme="dark"] .mz-reply-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.mz-reply-send {
  background: none;
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  color: var(--mz-text-muted);
  cursor: not-allowed;
  font-size: 16px;
  line-height: 1;
  padding: 6px 12px;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.mz-reply-send.is-ready {
  border-color: rgba(201,151,59,0.4);
  color: var(--mz-accent);
  cursor: pointer;
}
[data-theme="dark"] .mz-reply-send.is-ready {
  color: rgba(201,151,59,0.9);
}
.mz-reply-send.is-ready:hover {
  border-color: var(--mz-accent);
  background: rgba(201,151,59,0.08);
}
/* ── Truncation continuation link ────────────────────────────────────── */
.mz-continuation-link {
  display: block;
  width: 100%;
  text-align: right;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  color: var(--mz-text-muted);
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}
.mz-continuation-link:hover {
  text-decoration: underline;
}
[data-theme="dark"] .mz-continuation-link {
  color: rgba(255,255,255,0.3);
}
/* Brain selection cards — all states handled here so hover is unambiguous. */
.muzeo-brain-card {
  background-color: var(--mz-bg-card);
  border: 1px solid var(--mz-border);
  transition: border-color 0.15s ease, background-color 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 200px;
}
.muzeo-brain-card:hover {
  /* border and background driven by per-brain inline styles in BrainSelection.jsx */
}
.muzeo-brain-card.is-active {
  /* border and background driven by per-brain inline styles in BrainSelection.jsx */
}
/* ── Per-brain Thinking Mode pills ────────────────────────────────────── */
.mz-thinking-pill {
  font-family: Inter, 'Helvetica Neue', Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--mz-border);
  background: transparent;
  color: var(--mz-text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}
[data-theme="dark"] .mz-thinking-pill {
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.30);
}
.mz-thinking-pill:hover {
  border-color: var(--mz-accent);
  color: var(--mz-accent);
}
/* Blue Sky active — sky blue */
[data-mode-value="blue_sky"].mz-thinking-pill.is-active {
  border-color: #5B9BD5;
  background: rgba(91, 155, 213, 0.12);
  color: #5B9BD5;
}
/* First Principles active — sage green */
[data-mode-value="first_principles"].mz-thinking-pill.is-active {
  border-color: #6BAF8A;
  background: rgba(107, 175, 138, 0.12);
  color: #6BAF8A;
}
/* Human Truth active — warm amber */
[data-mode-value="human_truth"].mz-thinking-pill.is-active {
  border-color: #C4813F;
  background: rgba(196, 129, 63, 0.12);
  color: #C4813F;
}
/* Standard active — accent gold (explicit default, no cognitive modifier) */
[data-mode-value="standard"].mz-thinking-pill.is-active {
  border-color: var(--mz-accent);
  background: rgba(196, 151, 63, 0.08);
  color: var(--mz-accent);
}
/* ── Set the Room rows ─────────────────────────────────────────────────── */
.mz-set-room-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--mz-border);
  border-bottom: none;
}
.mz-set-room-row:last-child {
  border-bottom: 1px solid var(--mz-border);
}
[data-theme="dark"] .mz-set-room-row {
  border-color: rgba(255,255,255,0.07);
}
.mz-set-room-brain {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 110px;
}
.mz-set-room-mode-label {
  font-family: Inter, sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@keyframes mz-synth-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes mz-slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
/* Global footer */
.mz-footer-copyright { color: rgba(0, 0, 0, 0.30); }
[data-theme="dark"] .mz-footer-copyright { color: rgba(255, 255, 255, 0.40); }
.mz-footer-link {
  text-decoration: none;
  transition: color 0.15s;
}
.mz-footer-link:hover {
  color: rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .mz-footer-link:hover {
  color: rgba(255, 255, 255, 0.65);
}
/* Session Summary card */
.mz-summary-card {
  background: var(--mz-bg-card);
  color: var(--mz-text-primary);
  border: 1px solid var(--mz-border);
  padding: 2rem;
  margin-bottom: 2rem;
}
[data-theme="dark"] .mz-summary-card {
  background: #1C1917;
  color: #F4F2EF;
  border-color: transparent;
}
/* Summary loading pulse */
.mz-summary-pulse {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #A89F98;
  animation: mz-summary-breathe 2s ease-in-out infinite;
}
@keyframes mz-summary-breathe {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
/* Primary CTA button — gold fill */
.mz-cta-btn {
  background: #C4973F;
  color: #F4F2EF;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  transition: background 0.2s;
}
.mz-cta-btn:hover:not(:disabled) {
  background: #A87C28;
}
.mz-cta-btn:disabled {
  background: #E4DFDA;
  color: #A89F98;
  cursor: not-allowed;
}
/* Focus textarea */
.mz-focus-textarea {
  width: 100%;
  border-top: 2px solid #C4973F;
  border-right: 1px solid #E4DFDA;
  border-bottom: 1px solid #E4DFDA;
  border-left: 1px solid #E4DFDA;
  background: transparent;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mz-text-primary);
  resize: none;
  padding: 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.mz-focus-textarea::-moz-placeholder {
  font-style: italic;
  color: #C4B8AC;
}
.mz-focus-textarea::placeholder {
  font-style: italic;
  color: #C4B8AC;
}
.mz-focus-textarea:focus {
  border-color: #C4973F;
  background: #FFFEF9;
}
[data-theme="dark"] .mz-focus-textarea:focus {
  background: transparent;
}
[data-theme="dark"] .mz-focus-textarea {
  border-color: rgba(228, 223, 218, 0.25);
  color: var(--mz-text-primary);
}
[data-theme="dark"] .mz-focus-textarea::-moz-placeholder {
  color: rgba(196, 184, 172, 0.5);
}
[data-theme="dark"] .mz-focus-textarea::placeholder {
  color: rgba(196, 184, 172, 0.5);
}
/* Redirect textarea — same text treatment as focus textarea, bottom-border only */
.mz-redirect-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--mz-border);
  border-top: 2px solid var(--mz-accent);
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mz-text-primary);
  resize: none;
  padding: 0.75rem;
  transition: border-color 0.2s, background 0.2s;
  cursor: text;
}
.mz-redirect-textarea::-moz-placeholder {
  font-style: italic;
  color: #C4B8AC;
}
.mz-redirect-textarea::placeholder {
  font-style: italic;
  color: #C4B8AC;
}
.mz-redirect-textarea:focus {
  border-color: var(--mz-accent);
  background: rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .mz-redirect-textarea {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(228, 223, 218, 0.2);
  border-top-color: var(--mz-accent);
}
[data-theme="dark"] .mz-redirect-textarea::-moz-placeholder {
  color: rgba(196, 184, 172, 0.5);
}
[data-theme="dark"] .mz-redirect-textarea::placeholder {
  color: rgba(196, 184, 172, 0.5);
}
[data-theme="dark"] .mz-redirect-textarea:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--mz-accent);
}
/* Brief drop zone hover */
.mz-brief-drop-zone {
  transition: border-color 0.2s, background 0.2s;
}
.mz-brief-drop-zone:hover {
  border-color: #C4973F !important;
  background: #FBF8F3 !important;
}
/* Nav — brain pill inactive hover */
.mz-brain-pill-inactive:hover {
  background: #EDE9E3 !important;
  color: #1C1917 !important;
}
/* Landing screen — FoxWerx icon theme swap */
.fw-icon-dark  { display: none; }
[data-theme="dark"] .fw-icon-light { display: none; }
[data-theme="dark"] .fw-icon-dark  { display: block; }
/* Landing screen — orb sizing */
.mz-landing-orb-wrap {
  width: 220px;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.mz-landing-orb-scale {
  transform: scale(1.1);
  transform-origin: top center;
}
@media (max-width: 640px) {
  .mz-landing-orb-wrap {
    width: 160px;
    height: 160px;
  }
  .mz-landing-orb-scale {
    transform: scale(0.8);
  }
}
/* ── Session sidebar ────────────────────────────────────────────────────── */
.mz-session-sidebar {
  background: #f2f0eb;
}
[data-theme="dark"] .mz-session-sidebar {
  background: #161929;
}
/* ── Session Clips ──────────────────────────────────────────────────────── */
/* Inline highlight on flagged passages.
   Zero font properties — all typography inherits from the parent element.
   Only background, border-bottom, and border-radius are set here. */
span.mz-clip-mark {
  background: rgba(91, 74, 140, 0.35);
  border-bottom: 2px solid #7B5EA7;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Scroll-to pulse: gold flash fades back to the normal purple tint over 1.5s */
@keyframes mz-clip-pulse-kf {
  0%   { background: rgba(196, 151, 63, 0.55); }
  100% { background: rgba(91, 74, 140, 0.35); }
}
span.mz-clip-mark.mz-clip-pulse {
  animation: mz-clip-pulse-kf 1.5s ease forwards;
}
/* Floating save-clip button that appears near a text selection */
.mz-clip-float {
  position: fixed;
  z-index: 9999;
  transform: translateX(-50%);
  pointer-events: auto;
}
.mz-clip-float-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #1C1917;
  border: 1px solid #C4973F;
  border-radius: 4px;
  padding: 5px 11px;
  cursor: pointer;
  color: #C4973F;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: background 0.15s;
}
.mz-clip-float-btn:hover {
  background: #2E2922;
}
/* Sidebar clip entry rows */
.mz-clip-sidebar-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}
.mz-clip-sidebar-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #78716C;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.45;
}
.mz-clip-sidebar-text:hover {
  color: #C4973F;
}
.mz-clip-remove-btn {
  font-size: 13px;
  color: #A89F98;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.1s;
}
.mz-clip-remove-btn:hover {
  color: #1C1917;
}
/* ── Update the Brief ─────────────────────────────────────────────────── */
/* Trigger button in BOLD mode */
.mz-brief-update-trigger {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FAF7F2;
  background: var(--mz-accent);
  border: none;
  padding: 0.85rem 2.2rem;
  cursor: pointer;
  transition: background 0.2s;
}
.mz-brief-update-trigger:hover:not(:disabled) {
  background: #A87C28;
}
.mz-brief-update-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
/* Full-screen overlay */
.mz-brief-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 12, 8, 0.72);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3vh 1rem 3vh;
  overflow-y: auto;
}
/* Panel card */
.mz-brief-panel {
  background: var(--mz-bg-card);
  border: 1px solid var(--mz-border);
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  max-height: 92vh;
}
.mz-brief-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--mz-border);
  flex-shrink: 0;
}
.mz-brief-panel-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--mz-text-muted);
  margin: 0;
  line-height: 1.6;
}
.mz-brief-panel-close {
  font-size: 20px;
  line-height: 1;
  color: var(--mz-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 16px;
  flex-shrink: 0;
  transition: color 0.15s;
}
.mz-brief-panel-close:hover {
  color: var(--mz-text-primary);
}
.mz-brief-panel-body {
  overflow-y: auto;
  padding: 20px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Individual change card */
.mz-brief-change {
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  padding: 16px 18px;
  background: var(--mz-bg-surface);
  transition: border-color 0.15s, background 0.15s;
}
.mz-brief-change.is-accepted {
  border-color: var(--mz-accent);
  background: rgba(196, 151, 63, 0.06);
}
.mz-brief-change.is-rejected {
  opacity: 0.45;
}
.mz-brief-change-section {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mz-accent);
  margin-bottom: 12px;
}
.mz-brief-change-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.mz-brief-change-col {
  flex: 1;
  min-width: 0;
}
.mz-brief-change-arrow {
  font-size: 16px;
  color: var(--mz-text-muted);
  padding-top: 18px;
  flex-shrink: 0;
}
.mz-brief-change-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  margin-bottom: 5px;
}
.mz-brief-change-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.mz-brief-change-text--current {
  color: var(--mz-text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(168, 159, 152, 0.4);
}
.mz-brief-change-text--proposed {
  color: var(--mz-text-primary);
  font-weight: 500;
}
.is-accepted .mz-brief-change-text--proposed {
  color: var(--mz-accent);
}
.mz-brief-change-rationale {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-style: italic;
  color: var(--mz-text-muted);
  line-height: 1.6;
  margin: 0 0 12px;
}
.mz-brief-change-actions {
  display: flex;
  gap: 8px;
}
.mz-brief-change-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mz-brief-change-btn--accept {
  background: none;
  border: 1px solid var(--mz-border);
  color: var(--mz-text-secondary);
}
.mz-brief-change-btn--accept:hover,
.mz-brief-change-btn--accept.is-active {
  background: var(--mz-accent);
  border-color: var(--mz-accent);
  color: #FAF7F2;
}
.mz-brief-change-btn--reject {
  background: none;
  border: 1px solid var(--mz-border);
  color: var(--mz-text-muted);
}
.mz-brief-change-btn--reject:hover {
  border-color: var(--mz-text-muted);
  color: var(--mz-text-secondary);
}
.mz-brief-change-btn--reject.is-active {
  background: var(--mz-border);
  color: var(--mz-text-secondary);
}
.mz-brief-panel-footer {
  padding: 16px 26px;
  border-top: 1px solid var(--mz-border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.mz-brief-export-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  background: var(--mz-accent);
  color: #FAF7F2;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 2px;
}
.mz-brief-export-btn:hover:not(:disabled) {
  background: #A87C28;
}
.mz-brief-export-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.mz-brief-done-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  background: none;
  color: var(--mz-text-muted);
  border: 1px solid var(--mz-border);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  border-radius: 2px;
}
.mz-brief-done-btn:hover {
  border-color: var(--mz-text-secondary);
  color: var(--mz-text-secondary);
}
.mz-brief-export-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--mz-text-muted);
  margin: 0;
}
/* ── Session log delete button ─────────────────────────────────── */
.mz-session-action-btn {
  display: inline-flex;
  align-items: center;
  color: var(--mz-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 3px;
  line-height: 1;
  transition: color 0.15s;
}
.mz-session-item:hover .mz-session-action-btn {
  color: var(--mz-accent);
}
.mz-session-action-btn:hover {
  opacity: 0.7;
}
.mz-session-action-btn.is-active {
  color: var(--mz-accent);
}
/* ── Library tabs ──────────────────────────────────────────────── */
.mz-library-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--mz-border);
}
.mz-library-tab {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 10px;
  margin-bottom: -1px;
  margin-right: 28px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.mz-library-tab:hover {
  color: var(--mz-text-secondary);
}
.mz-library-tab.is-active {
  color: var(--mz-accent);
  border-bottom-color: var(--mz-accent);
}
/* ── Project cards grid ────────────────────────────────────────── */
.mz-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.mz-project-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  background: var(--mz-bg-card);
  border: 1px solid var(--mz-border);
  border-radius: 6px;
  padding: 18px 20px 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.mz-project-card:hover {
  border-color: rgba(196, 151, 63, 0.45);
  background: var(--mz-bg-surface);
}
.mz-project-card-name {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: var(--mz-text-primary);
  line-height: 1.3;
}
.mz-project-card:hover .mz-project-card-name {
  color: var(--mz-accent);
}
.mz-project-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--mz-text-muted);
}
.mz-project-card-badges {
  margin-top: 4px;
}
.mz-project-card-badge {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  border: 1px solid var(--mz-border);
  border-radius: 3px;
  padding: 1px 6px;
}
/* Card wrap: positions the delete button relative to the card */
.mz-project-card-wrap {
  position: relative;
}
.mz-project-card-wrap .mz-project-card {
  width: 100%;
}
/* Trash button on project cards */
.mz-project-card-delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--mz-text-muted);
  opacity: 0.45;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, opacity 0.15s;
  border-radius: 3px;
}
.mz-project-card-delete-btn:hover {
  color: var(--mz-accent);
  opacity: 1;
}
/* Card in confirming state */
.mz-project-card--confirming {
  background: var(--mz-bg-card);
  border: 1px solid rgba(196, 151, 63, 0.35);
  border-radius: 6px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Trash button in ProjectDetail header */
.mz-project-detail-delete-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--mz-text-muted);
  opacity: 0.45;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, opacity 0.15s;
  border-radius: 3px;
}
.mz-project-detail-delete-btn:hover {
  color: var(--mz-accent);
  opacity: 1;
}
/* ── Project picker ────────────────────────────────────────────── */
.mz-project-picker {
  border-top: 1px solid var(--mz-border);
  padding: 10px 0 14px;
}
.mz-project-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mz-project-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--mz-text-secondary);
  padding: 7px 4px;
  transition: color 0.12s;
}
.mz-project-option:hover {
  color: var(--mz-text-primary);
}
.mz-project-option--new {
  color: var(--mz-accent);
  letter-spacing: 0.02em;
}
.mz-project-option--new:hover {
  opacity: 0.8;
  color: var(--mz-accent);
}
.mz-project-loading {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--mz-text-muted);
  padding: 7px 4px;
}
.mz-project-new-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mz-project-name-input {
  flex: 1;
  min-width: 160px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--mz-text-primary);
  background: var(--mz-bg-elevated);
  border: 1px solid var(--mz-border);
  border-radius: 3px;
  padding: 5px 10px;
  outline: none;
  transition: border-color 0.15s;
}
.mz-project-name-input:focus {
  border-color: var(--mz-accent);
}
.mz-project-save-btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--mz-accent);
  border: 1px solid var(--mz-accent);
  border-radius: 3px;
  padding: 5px 14px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.mz-project-save-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.mz-project-cancel-btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--mz-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 4px;
  transition: color 0.15s;
}
.mz-project-cancel-btn:hover {
  color: var(--mz-text-secondary);
}
.mz-project-picker-error {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #E05A5A;
  margin-bottom: 6px;
}
/* ── Profile screen ────────────────────────────────────────────── */
.mz-profile-screen {
  min-height: 100vh;
  background: var(--mz-bg);
  display: flex;
  flex-direction: column;
}
.mz-profile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--mz-border);
}
.mz-profile-back {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mz-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
  min-width: 60px;
}
.mz-profile-back:hover {
  color: var(--mz-text-primary);
}
.mz-profile-content {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.mz-profile-card {
  width: 100%;
  max-width: 420px;
}
.mz-profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.mz-profile-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
}
.mz-profile-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--mz-text-primary);
  padding: 0.6rem 0;
}
.mz-profile-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--mz-text-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--mz-border);
  outline: none;
  padding: 0.5rem 0;
  width: 100%;
  transition: border-color 0.15s;
}
.mz-profile-input:focus {
  border-bottom-color: var(--mz-accent);
}
.mz-profile-input::-moz-placeholder {
  color: var(--mz-text-muted);
  opacity: 0.6;
}
.mz-profile-input::placeholder {
  color: var(--mz-text-muted);
  opacity: 0.6;
}
.mz-profile-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.mz-profile-save-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.65rem 1.75rem;
  background: var(--mz-accent);
  color: #FAF7F2;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}
.mz-profile-save-btn:hover:not(:disabled) {
  background: #A87C28;
}
.mz-profile-save-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.mz-profile-confirm {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--mz-accent);
  animation: mz-profile-confirm-fade 2.1s ease forwards;
}
@keyframes mz-profile-confirm-fade {
  0%   { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; }
}
.mz-profile-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #c0392b;
}
/* ── User button (RoomHeader) + global controls wrapper ─────────── */
.mz-user-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mz-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
  line-height: 1;
  display: flex;
  align-items: center;
}
.mz-user-btn:hover {
  color: var(--mz-text-primary);
}
.mz-global-controls {
  position: fixed;
  top: 1.1rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
/* ── Admin / Brain Builder ──────────────────────────────────────── */
.mz-brain-builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.mz-brain-builder-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--mz-surface);
  border: 1px solid var(--mz-border);
  padding: 1.4rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.15s;
  border-radius: 2px;
}
.mz-brain-builder-card:hover {
  border-color: var(--mz-accent);
}
.mz-brain-builder-preview {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--mz-text-muted);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mz-layer-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.mz-layer-badge--signature {
  color: var(--mz-accent);
  border-color: var(--mz-accent);
}
.mz-layer-badge--spark {
  color: var(--mz-wonder, #9b6fd0);
  border-color: var(--mz-wonder, #9b6fd0);
}
/* ── Admin form fields ──────────────────────────────────────────── */
.mz-admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
@media (max-width: 600px) {
  .mz-admin-form-grid { grid-template-columns: 1fr; }
}
.mz-admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mz-admin-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
}
.mz-admin-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  background: var(--mz-surface);
  color: var(--mz-text-primary);
  border: 1px solid var(--mz-border);
  border-radius: 2px;
  padding: 0.6rem 0.8rem;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.mz-admin-input:focus {
  border-color: var(--mz-accent);
}
.mz-admin-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}
.mz-admin-textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  background: var(--mz-surface);
  color: var(--mz-text-primary);
  border: 1px solid var(--mz-border);
  border-radius: 2px;
  padding: 0.75rem 0.8rem;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}
.mz-admin-textarea:focus {
  border-color: var(--mz-accent);
}
/* ── Admin tab bar ─────────────────────────────────────────────────────── */
.mz-admin-tab-bar {
  border-bottom: 1px solid var(--mz-border);
  background: var(--mz-nav-bg, var(--mz-surface));
}
.mz-admin-tab-bar > div {
  display: flex;
  gap: 0;
}
.mz-admin-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.9rem 1.4rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.mz-admin-tab:hover {
  color: var(--mz-text-secondary);
}
.mz-admin-tab--active {
  color: var(--mz-text-primary);
  border-bottom-color: var(--mz-accent);
}
/* ── Section cards ─────────────────────────────────────────────────────── */
.mz-sections-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mz-section-card {
  background: var(--mz-surface);
  border: 1px solid var(--mz-border);
  border-radius: 2px;
  padding: 1rem 1.1rem;
  cursor: grab;
  transition: border-color 0.15s;
}
.mz-section-card:active {
  cursor: grabbing;
}
.mz-section-card:hover {
  border-color: var(--mz-border-hover, var(--mz-accent));
}
.mz-section-card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.mz-section-card-top-fields {
  display: flex;
  gap: 0.6rem;
  flex: 1;
}
.mz-section-drag-handle {
  font-size: 16px;
  color: var(--mz-text-muted);
  cursor: grab;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
}
.mz-section-saving {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mz-text-muted);
  flex-shrink: 0;
}
.mz-section-saved {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mz-gold);
  flex-shrink: 0;
}
.mz-section-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.7rem;
}
.mz-section-required-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mz-text-muted);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.mz-section-checkbox {
  accent-color: var(--mz-accent);
  width: 13px;
  height: 13px;
  cursor: pointer;
}
.mz-section-delete-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.15s;
}
.mz-section-delete-btn:hover {
  color: var(--mz-text-primary);
}
.mz-section-delete-confirm {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--mz-text-muted);
}
.mz-section-confirm-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  padding: 0;
  color: var(--mz-text-muted);
  transition: color 0.15s;
}
.mz-section-confirm-btn:hover {
  color: var(--mz-text-primary);
}
.mz-section-confirm-btn--danger:hover {
  color: #c0392b;
}
/* ── Info tooltip ──────────────────────────────────────────────────────── */
.mz-info-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.mz-info-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 14px;
  color: var(--mz-accent);
  opacity: 0.85;
  transition: opacity 0.15s, text-shadow 0.15s;
}
.mz-info-icon:hover,
.mz-info-tooltip-wrap:hover .mz-info-icon {
  opacity: 1;
  text-shadow: 0 0 8px rgba(196, 151, 63, 0.55);
}
.mz-info-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  background: var(--mz-bg);
  border: 1px solid var(--mz-border);
  border-left: 2px solid var(--mz-accent);
  border-radius: 2px;
  padding: 0.75rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--mz-text-secondary);
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
/* ── Drag hint label ───────────────────────────────────────────────────── */
.mz-section-drag-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  opacity: 0.5;
  white-space: nowrap;
  flex-shrink: 0;
}
/* ── Password auth form ────────────────────────────────────────────────── */
.mz-auth-field {
  margin-bottom: 1.5rem;
}
.mz-auth-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--mz-border);
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--mz-text-primary);
  padding: 0.75rem 0;
  display: block;
  transition: border-color 0.2s;
}
.mz-auth-input::-moz-placeholder {
  color: var(--mz-text-muted);
}
.mz-auth-input::placeholder {
  color: var(--mz-text-muted);
}
.mz-auth-input:focus {
  border-bottom-color: var(--mz-accent);
}
.mz-auth-input--error {
  border-bottom-color: #e05a5a;
}
.mz-auth-input--error:focus {
  border-bottom-color: #e05a5a;
}
.mz-auth-field-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #e05a5a;
  margin-top: 6px;
}
.mz-auth-submit {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem;
  background: var(--mz-accent);
  border: 1px solid var(--mz-accent);
  color: #0B1221;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.mz-auth-submit:hover:not(:disabled) {
  background: #A87C28;
  border-color: #A87C28;
}
.mz-auth-submit:disabled {
  background: transparent;
  color: var(--mz-accent);
  opacity: 0.5;
  cursor: not-allowed;
}
.mz-auth-toggle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--mz-text-muted);
  text-align: center;
  margin-top: 2rem;
}
.mz-auth-toggle button {
  background: none;
  border: none;
  color: var(--mz-accent);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  padding: 0;
  transition: opacity 0.15s;
}
.mz-auth-toggle button:hover {
  opacity: 0.75;
}
.mz-auth-link {
  background: none;
  border: none;
  color: var(--mz-text-muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  padding: 0;
  transition: color 0.15s;
}
.mz-auth-link:hover {
  color: var(--mz-accent);
}
/* ── Project Knowledge upload zone ────────────────────────────────────── */
.mz-knowledge-descriptor {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--mz-text-muted);
  text-align: center;
  margin-top: 6px;
  margin-bottom: 0;
}
.mz-knowledge-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 20px 24px;
  margin-top: 14px;
  background: transparent;
  border: 1px dashed var(--mz-border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: var(--mz-text-muted);
}
.mz-knowledge-upload-zone:hover {
  border-color: var(--mz-accent);
  background: rgba(196, 151, 63, 0.04);
}
.mz-knowledge-upload-icon {
  transition: color 0.2s;
  color: var(--mz-text-muted);
}
.mz-knowledge-upload-zone:hover .mz-knowledge-upload-icon {
  color: var(--mz-accent);
}
.mz-knowledge-upload-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mz-text-muted);
  transition: color 0.2s;
}
.mz-knowledge-upload-zone:hover .mz-knowledge-upload-label {
  color: var(--mz-text-secondary);
}
/* ── Brain document list ───────────────────────────────────────────────── */
.mz-doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.mz-doc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--mz-bg-card);
  border: 1px solid var(--mz-border);
  border-radius: 6px;
  transition: border-color 0.15s;
}
.mz-doc-item:hover {
  border-color: var(--mz-accent);
}
.mz-doc-drag-handle {
  font-size: 14px;
  color: var(--mz-text-muted);
  opacity: 0.4;
  cursor: grab;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  padding-top: 2px;
}
.mz-doc-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mz-doc-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mz-doc-name-input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--mz-text-primary);
  padding: 0.1rem 0;
  transition: border-color 0.15s;
}
.mz-doc-name-input:hover {
  border-bottom-color: var(--mz-border);
}
.mz-doc-name-input:focus {
  border-bottom-color: var(--mz-accent);
}
.mz-doc-name-input::-moz-placeholder {
  color: var(--mz-text-muted);
}
.mz-doc-name-input::placeholder {
  color: var(--mz-text-muted);
}
.mz-doc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mz-doc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  height: 18px;
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--mz-bg-surface);
  color: var(--mz-text-secondary);
  border: 1px solid var(--mz-border);
  flex-shrink: 0;
}
.mz-doc-badge--url {
  background: var(--mz-accent-light);
  color: var(--mz-accent);
  border-color: transparent;
}
.mz-doc-tag-select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--mz-border);
  border-radius: 10px;
  padding: 0 8px;
  height: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  background: var(--mz-bg-surface);
  color: var(--mz-text-muted);
  outline: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.mz-doc-tag-select:hover {
  border-color: var(--mz-accent);
}
.mz-doc-tag-select:focus {
  border-color: var(--mz-accent);
}
.mz-doc-url-href {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--mz-text-muted);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
  transition: color 0.15s;
}
.mz-doc-url-href:hover {
  color: var(--mz-accent);
  text-decoration: underline;
}
.mz-doc-info {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--mz-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.mz-doc-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}
/* ── URL input row ─────────────────────────────────────────────────────── */
.mz-url-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
/* ── Brain unified action row ──────────────────────────────────────────── */
.mz-brain-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.mz-brain-action-outlined {
  background: transparent;
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  padding: 0.45rem 0.875rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--mz-text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.mz-brain-action-outlined:hover:not(:disabled) {
  border-color: var(--mz-accent);
  color: var(--mz-accent);
}
.mz-brain-action-outlined:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
/* ── Brain Consult entry button (Brain card overlay) ──────────────────── */
.mz-consult-entry-btn {
  background: transparent;
  border: 1px solid var(--mz-border);
  border-radius: 3px;
  padding: 3px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.mz-consult-entry-btn:hover {
  border-color: var(--mz-accent);
  color: var(--mz-accent);
}
/* ── Brain Consult view ────────────────────────────────────────────────── */
.mz-consult-root {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: var(--mz-bg);
  overflow: hidden;
}
.mz-consult-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--mz-border);
  flex-shrink: 0;
  background: var(--mz-bg);
}
.mz-consult-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mz-text-muted);
  border-radius: 2px;
  transition: color 0.15s;
  flex-shrink: 0;
}
.mz-consult-back-btn:hover {
  color: var(--mz-text-primary);
}
.mz-consult-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mz-consult-header-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--mz-accent);
  letter-spacing: 0.02em;
}
/* ── Thread ─────────────────────────────────────────────────────────────── */
.mz-consult-thread {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mz-consult-status {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--mz-text-muted);
  text-align: center;
  margin: 0;
}
.mz-consult-no-foundation {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--mz-text-muted);
  text-align: center;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  background: var(--mz-bg-surface);
}
/* User message */
.mz-consult-user-row {
  display: flex;
  justify-content: flex-end;
}
.mz-consult-user-bubble {
  max-width: 72%;
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-radius: 12px 12px 2px 12px;
  padding: 0.7rem 1rem;
}
.mz-consult-user-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--mz-text-primary);
  margin: 0;
  white-space: pre-wrap;
}
/* Brain response */
.mz-consult-brain-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 88%;
}
.mz-consult-brain-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mz-accent);
  padding-left: 2px;
}
.mz-consult-brain-bubble {
  background: var(--mz-bg-card);
  border: 1px solid var(--mz-border);
  border-radius: 2px 12px 12px 12px;
  padding: 0.85rem 1.1rem;
}
/* Typing indicator */
.mz-consult-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.85rem 1.1rem;
  background: var(--mz-bg-card);
  border: 1px solid var(--mz-border);
  border-radius: 2px 12px 12px 12px;
  width: -moz-fit-content;
  width: fit-content;
}
.mz-consult-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mz-accent);
  animation: mz-consult-bounce 1.2s ease-in-out infinite;
}
.mz-consult-dot:nth-child(2) { animation-delay: 0.18s; }
.mz-consult-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes mz-consult-bounce {
  0%, 80%, 100% { transform: translateY(0);    opacity: 0.6; }
  40%           { transform: translateY(-5px); opacity: 1;   }
}
.mz-consult-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #c0392b;
  text-align: center;
  margin: 0;
}
/* ── Input area ─────────────────────────────────────────────────────────── */
.mz-consult-input-wrap {
  flex-shrink: 0;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--mz-border);
  background: var(--mz-bg);
}
.mz-consult-input-inner {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  max-width: 780px;
  margin: 0 auto;
}
.mz-consult-textarea {
  flex: 1;
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-radius: 6px;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--mz-text-primary);
  resize: none;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.15s;
  overflow-y: auto;
}
.mz-consult-textarea::-moz-placeholder {
  color: var(--mz-text-muted);
  font-style: italic;
}
.mz-consult-textarea::placeholder {
  color: var(--mz-text-muted);
  font-style: italic;
}
.mz-consult-textarea:focus {
  border-color: var(--mz-accent);
}
.mz-consult-send-btn {
  flex-shrink: 0;
  background: var(--mz-accent);
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FAF7F2;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
  line-height: 1.5;
}
.mz-consult-send-btn:hover:not(:disabled) {
  background: #A87C28;
}
.mz-consult-send-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
/* ── Exit confirm overlay ───────────────────────────────────────────────── */
.mz-consult-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.mz-consult-exit-dialog {
  background: var(--mz-bg-elevated);
  border: 1px solid var(--mz-border);
  border-radius: 6px;
  padding: 2rem;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}
.mz-consult-exit-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--mz-text-primary);
  line-height: 1.55;
  margin: 0 0 1.5rem;
  text-align: center;
}
.mz-consult-exit-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}
.mz-consult-exit-stay {
  flex: 1;
  background: transparent;
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  padding: 0.6rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mz-text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.mz-consult-exit-stay:hover {
  border-color: var(--mz-text-secondary);
  color: var(--mz-text-primary);
}
.mz-consult-exit-leave {
  flex: 1;
  background: transparent;
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  padding: 0.6rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.mz-consult-exit-leave:hover {
  border-color: #c0392b;
  color: #c0392b;
}
/* ── Attach button (paperclip) ──────────────────────────────────────────── */
.mz-consult-attach-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--mz-border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--mz-text-muted);
  transition: border-color 0.15s, color 0.15s;
  align-self: flex-end;
}
.mz-consult-attach-btn:hover:not(:disabled) {
  border-color: var(--mz-accent);
  color: var(--mz-accent);
}
.mz-consult-attach-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
/* Tiny spinner for parsing state */
.mz-consult-attach-spin {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--mz-border);
  border-top-color: var(--mz-accent);
  border-radius: 50%;
  animation: mz-consult-spin 0.7s linear infinite;
}
@keyframes mz-consult-spin {
  to { transform: rotate(360deg); }
}
/* ── Attachment indicator bar (above input) ─────────────────────────────── */
.mz-consult-attach-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 780px;
  margin: 0 auto 8px;
  padding: 5px 10px;
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-radius: 20px;
  width: -moz-fit-content;
  width: fit-content;
}
.mz-consult-attach-bar-icon {
  color: var(--mz-accent);
  flex-shrink: 0;
}
.mz-consult-attach-bar-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--mz-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.mz-consult-attach-bar-remove {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  color: var(--mz-text-muted);
  padding: 0 0 0 2px;
  transition: color 0.15s;
}
.mz-consult-attach-bar-remove:hover {
  color: var(--mz-text-primary);
}
/* ── Brief block in thread ──────────────────────────────────────────────── */
.mz-consult-brief-block {
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-left: 3px solid var(--mz-accent);
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 8px;
  max-width: 72%;
  margin-left: auto;
}
.mz-consult-brief-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.mz-consult-brief-icon {
  color: var(--mz-accent);
  flex-shrink: 0;
}
.mz-consult-brief-filename {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--mz-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.mz-consult-brief-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: var(--mz-text-muted);
  margin: 0;
  letter-spacing: 0.02em;
}
/* ── Context Clues layout ────────────────────────────────────────────────── */
/* Flex row wrapper that holds chat column + sliding panel */
.mz-consult-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}
/* Chat column — fills remaining width */
.mz-consult-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
/* ── Context Clues sliding panel ─────────────────────────────────────────── */
/* Outer wrapper animates width; inner panel stays 300px wide */
.mz-cc-panel-wrap {
  width: 0;
  overflow: hidden;
  transition: width 0.25s ease;
  flex-shrink: 0;
}
.mz-cc-panel-wrap.is-open {
  width: 300px;
}
.mz-cc-panel {
  width: 300px;
  height: 100%;
  border-left: 1px solid var(--mz-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--mz-bg);
}
/* Panel header */
.mz-cc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--mz-border);
  flex-shrink: 0;
  gap: 8px;
}
.mz-cc-header-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  font-weight: 300;
}
.mz-cc-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mz-text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s;
}
.mz-cc-close-btn:hover { color: var(--mz-text-primary); }
/* Scrollable entries list */
.mz-cc-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
/* Empty state */
.mz-cc-empty {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--mz-text-muted);
  text-align: center;
  padding: 1.5rem 0;
  line-height: 1.6;
}
/* Each clue card */
.mz-cc-entry {
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
}
.mz-cc-entry--flag {
  border-left: 2px solid rgba(196, 151, 63, 0.55);
}
.mz-cc-entry--note {
  border-left: 2px solid var(--mz-border);
}
.mz-cc-entry-source {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mz-accent);
  margin-bottom: 4px;
}
.mz-cc-entry-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--mz-text-primary);
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.mz-cc-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.mz-cc-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mz-text-muted);
  font-size: 14px;
  line-height: 1;
  padding: 2px 4px;
  transition: color 0.15s;
}
.mz-cc-delete-btn:hover { color: var(--mz-text-primary); }
/* Tag pills */
.mz-cc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  flex: 1;
}
.mz-cc-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(196, 151, 63, 0.08);
  border: 1px solid rgba(196, 151, 63, 0.22);
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--mz-accent);
  padding: 2px 6px;
}
.mz-cc-tag-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mz-accent);
  font-size: 11px;
  padding: 0;
  line-height: 1;
  opacity: 0.65;
  transition: opacity 0.15s;
}
.mz-cc-tag-remove:hover { opacity: 1; }
.mz-cc-tag-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--mz-text-primary);
  background: none;
  border: none;
  border-bottom: 1px solid var(--mz-border);
  outline: none;
  width: 56px;
  padding: 1px 2px;
}
.mz-cc-tag-input::-moz-placeholder { color: var(--mz-text-muted); opacity: 0.7; }
.mz-cc-tag-input::placeholder { color: var(--mz-text-muted); opacity: 0.7; }
.mz-cc-tag-input:focus { border-bottom-color: var(--mz-accent); }
/* Manual note input area */
.mz-cc-note-area {
  flex-shrink: 0;
  padding: 0.75rem 1rem 0.65rem;
  border-top: 1px solid var(--mz-border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.mz-cc-note-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--mz-text-primary);
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  padding: 0.45rem 0.65rem;
  resize: none;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.mz-cc-note-input:focus { border-color: var(--mz-accent); }
.mz-cc-note-input::-moz-placeholder { color: var(--mz-text-muted); }
.mz-cc-note-input::placeholder { color: var(--mz-text-muted); }
.mz-cc-note-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.mz-cc-note-save {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mz-accent);
  background: none;
  border: 1px solid rgba(196, 151, 63, 0.4);
  border-radius: 3px;
  padding: 4px 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.mz-cc-note-save:hover:not(:disabled) {
  border-color: var(--mz-accent);
  background: rgba(196, 151, 63, 0.06);
}
.mz-cc-note-save:disabled { opacity: 0.4; cursor: default; }
/* Bring to Room button */
.mz-cc-bring-btn {
  flex-shrink: 0;
  margin: 0 1rem 0.85rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mz-accent);
  background: none;
  border: 1px solid var(--mz-accent);
  padding: 9px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  width: calc(100% - 2rem);
}
.mz-cc-bring-btn:hover:not(:disabled) {
  background: var(--mz-accent);
  color: var(--mz-bg);
}
.mz-cc-bring-btn:disabled { opacity: 0.4; cursor: default; }
/* ── Context Clues toggle button in header ───────────────────────────────── */
.mz-cc-toggle-btn {
  background: none;
  border: 1px solid var(--mz-border);
  border-radius: 3px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}
.mz-cc-toggle-btn:hover,
.mz-cc-toggle-btn.is-active {
  color: var(--mz-accent);
  border-color: rgba(196, 151, 63, 0.55);
}
.mz-cc-badge {
  background: var(--mz-accent);
  color: #fff;
  font-size: 9px;
  border-radius: 8px;
  padding: 1px 5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
}
/* ── Bookmark flag button on brain messages ──────────────────────────────── */
/* Inline flex row: bubble + flag button side by side */
.mz-cc-bubble-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.mz-cc-flag-btn {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mz-bg);
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--mz-text-muted);
  transition: color 0.15s, border-color 0.15s, opacity 0.15s;
  opacity: 0;
  pointer-events: none;
  margin-top: 1px;
}
/* Visible when row is hovered (CSS) or already flagged */
.mz-consult-brain-row:hover .mz-cc-flag-btn {
  opacity: 1;
  pointer-events: auto;
}
.mz-consult-brain-row:hover .mz-cc-flag-btn:hover {
  color: var(--mz-accent);
  border-color: rgba(196, 151, 63, 0.55);
}
.mz-cc-flag-btn.is-flagged {
  color: var(--mz-accent);
  border-color: rgba(196, 151, 63, 0.55);
}
/* Gold tint on flagged bubble */
.mz-consult-brain-bubble.is-flagged {
  border-bottom: 2px solid rgba(196, 151, 63, 0.45);
  background: rgba(196, 151, 63, 0.025);
}
/* ── Project Detail ─────────────────────────────────────────────────────── */
.mz-project-detail-heading {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--mz-border);
}
.mz-project-clues-section {
  padding-top: 2.5rem;
  border-top: 1px solid var(--mz-border);
}
.dark .mz-project-detail-heading,
.dark .mz-project-clues-section {
  border-color: var(--mz-border);
}
/* ── Library: Jobs hierarchy ─────────────────────────────────────────────── */
.mz-job-client-section {
  margin-bottom: 28px;
}
.mz-job-client-label {
  padding: 0 0 8px;
  border-bottom: 1px solid var(--mz-border);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mz-job-row-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--mz-border);
  border-radius: 5px;
  background: var(--mz-bg-card);
  transition: border-color 0.15s ease;
}
.mz-job-row-header:hover {
  border-color: var(--mz-accent);
}
[data-theme="dark"] .mz-job-row-header {
  background: rgba(255, 255, 255, 0.03);
}
.mz-job-sessions-area {
  padding: 0 0 0 38px;
  margin-top: 2px;
}
.mz-job-session-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--mz-border);
}
.mz-job-session-item:last-child {
  border-bottom: none;
}
.mz-job-session-btn {
  flex: 1;
  cursor: pointer;
}
.mz-job-session-btn:hover .mz-session-prompt {
  color: var(--mz-accent);
}
/* Library session row action buttons — share (gold) and delete (white) hover pills */
.mz-lib-session-action-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 7px;
  border-radius: 4px;
  color: var(--mz-text-muted);
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease;
}
.mz-lib-session-action-btn--share:hover {
  color: var(--mz-accent);
  background: rgba(196, 151, 63, 0.12);
}
.mz-lib-session-action-btn--delete:hover {
  color: var(--mz-text-primary);
  background: rgba(0, 0, 0, 0.05);
}
[data-theme="dark"] .mz-lib-session-action-btn--delete:hover {
  color: #F9F8F6;
  background: rgba(255, 255, 255, 0.08);
}
.mz-lib-session-action-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mz-job-edit-panel {
  padding: 18px 20px;
  background: var(--mz-bg-surface);
  border: 1px solid var(--mz-border);
  border-radius: 5px;
}
[data-theme="dark"] .mz-job-edit-panel {
  background: var(--mz-bg-elevated);
}
/* ── Draft tray ──────────────────────────────────────────────────────────── */
.mz-draft-tray {
  margin-top: 32px;
  border: 1px solid var(--mz-border);
  border-radius: 5px;
  overflow: hidden;
}
.mz-draft-tray-toggle {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--mz-bg-surface);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.mz-draft-tray-toggle:hover {
  background: var(--mz-bg-elevated);
}
[data-theme="dark"] .mz-draft-tray-toggle {
  background: var(--mz-bg-elevated);
}
[data-theme="dark"] .mz-draft-tray-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}
.mz-draft-job-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--mz-border);
}
/* ── Status pill ─────────────────────────────────────────────────────────── */
.mz-status-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mz-status-pill[data-status="on_hold"] {
  background: rgba(196, 151, 63, 0.12);
  color: var(--mz-accent);
  border: 1px solid rgba(196, 151, 63, 0.25);
}
.mz-status-pill[data-status="closed"] {
  background: rgba(120, 113, 108, 0.10);
  color: var(--mz-text-secondary);
  border: 1px solid rgba(120, 113, 108, 0.25);
}
/* Active pill — used in JobView where active is shown explicitly */
.mz-status-pill[data-status="active"] {
  background: rgba(120, 113, 108, 0.06);
  color: var(--mz-text-secondary);
  border: 1px solid rgba(120, 113, 108, 0.15);
}
/* Archived pill */
.mz-status-pill[data-status="archived"] {
  background: rgba(120, 113, 108, 0.06);
  color: var(--mz-text-muted);
  border: 1px solid rgba(120, 113, 108, 0.15);
}
/* ── Client cards (ClientsView) ─────────────────────────────────────────── */
/* Cards are divs (not buttons) so we can nest the New Job button inside. */
.mz-client-card {
  position: relative;
  cursor: pointer;
  min-height: 110px;
}
.mz-client-card:focus-visible {
  outline: 2px solid var(--mz-accent);
  outline-offset: 2px;
}
/* "New Job" button that appears on card hover */
.mz-client-new-job-btn {
  display: inline-block;
  margin-top: auto;
  padding: 4px 0 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mz-accent);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.mz-client-card:hover .mz-client-new-job-btn {
  opacity: 1;
}
/* ── Modal panel ─────────────────────────────────────────────────────────── */
.mz-modal-panel {
  background: var(--mz-bg-elevated);
  border: 1px solid var(--mz-border);
  border-radius: 8px;
  padding: 28px 32px;
  width: 100%;
  max-width: 440px;
}
[data-theme="dark"] .mz-modal-panel {
  background: var(--mz-bg-card);
}
/* ── Job list table (JobView) ────────────────────────────────────────────── */
.mz-job-list-header {
  display: grid;
  grid-template-columns: 130px 1fr 150px 130px;
  gap: 12px;
  padding: 6px 14px 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mz-text-muted);
  border-bottom: 1px solid var(--mz-border);
}
.mz-job-list-row {
  display: grid;
  grid-template-columns: 130px 1fr 150px 130px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--mz-border);
  transition: background 0.12s ease, opacity 0.2s ease;
}
.mz-job-list-row:hover {
  background: var(--mz-bg-surface);
}
[data-theme="dark"] .mz-job-list-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.mz-job-list-row:last-child {
  border-bottom: none;
}
/* Compact select for inline status change */
.mz-job-status-select {
  display: inline-block;
  width: auto;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: 0.02em;
}
/* ── Form controls (library inline forms) ────────────────────────────────── */
.mz-lib-input,
.mz-lib-select {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: var(--mz-bg-elevated);
  border: 1px solid var(--mz-border);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--mz-text-primary);
  outline: none;
  transition: border-color 0.15s ease;
}
.mz-lib-input::-moz-placeholder {
  color: var(--mz-text-muted);
}
.mz-lib-input::placeholder {
  color: var(--mz-text-muted);
}
.mz-lib-input:focus,
.mz-lib-select:focus {
  border-color: var(--mz-accent);
}
.mz-lib-select {
  cursor: pointer;
}
[data-theme="dark"] .mz-lib-input,
[data-theme="dark"] .mz-lib-select {
  background: var(--mz-bg-surface);
}
/* ── Notification Bell ─────────────────────────────────────────────────── */
.mz-notif-badge {
  position: absolute;
  top: -4px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  background: #E05A5A;
  color: #fff;
  font-family: var(--font-sans, sans-serif);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  letter-spacing: 0;
}
.mz-notif-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 320px;
  max-height: 420px;
  background: var(--mz-bg);
  border: 1px solid var(--mz-border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mz-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--mz-border);
  flex-shrink: 0;
}
.mz-notif-list {
  overflow-y: auto;
  flex: 1;
}
.mz-notif-empty {
  padding: 32px 16px;
  text-align: center;
  display: block;
}
.mz-notif-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--mz-border);
  border-left: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.12s;
}
.mz-notif-row:last-child {
  border-bottom: none;
}
.mz-notif-row[data-unread] {
  border-left-color: var(--mz-accent);
}
.mz-notif-row:hover:not([data-deleted='true']) {
  background: color-mix(in srgb, var(--mz-accent) 6%, transparent);
}
.mz-notif-row[data-deleted='true'] {
  opacity: 0.45;
  cursor: default;
}
.mz-notif-handoff {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 3px;
}
[data-theme="dark"] .mz-notif-dropdown {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
/* ── Visibility badge (JobSessionsView) ──────────────────────────────────── */
.mz-vis-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mz-vis-badge[data-vis="shared"] {
  background: rgba(196, 151, 63, 0.12);
  color: var(--mz-accent);
  border: 1px solid rgba(196, 151, 63, 0.25);
}
.mz-vis-badge[data-vis="private"] {
  background: rgba(120, 113, 108, 0.06);
  color: var(--mz-text-muted);
  border: 1px solid rgba(120, 113, 108, 0.15);
}
/* ── Job sessions list (JobSessionsView) ─────────────────────────────────── */
.mz-jss-list {
  border-top: 1px solid var(--mz-border);
}
.mz-jss-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mz-border);
  transition: background 0.12s ease;
}
.mz-jss-row:last-child {
  border-bottom: none;
}
/* Title button — expands to fill available space */
.mz-jss-title-btn {
  flex: 1;
  min-width: 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mz-jss-title {
  display: block;
  color: var(--mz-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.mz-jss-title-btn:hover .mz-jss-title {
  color: var(--mz-accent);
}
.mz-jss-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--mz-text-muted);
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  overflow: hidden;
}
/* Handoff note — 1-line truncation, full text via title tooltip */
.mz-jss-handoff {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
/* Actions slot — badge + share button, right-aligned */
.mz-jss-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
/* Job card grid — 4 columns on wide, 2 on narrow */
@media (max-width: 640px) {
  .mz-job-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* ── Sound interaction animations ─────────────────────────────────────────── */
@keyframes mz-pin-pulse-kf {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.mz-pin-pulse {
  animation: mz-pin-pulse-kf 120ms ease-out forwards;
}
@keyframes mz-clip-capture-kf {
  0%   { box-shadow: 0 0 0 0 rgba(196, 151, 63, 0); outline: 1.5px solid rgba(196, 151, 63, 0.8); }
  40%  { box-shadow: 0 0 0 2px rgba(196, 151, 63, 0.25); outline: 1.5px solid rgba(196, 151, 63, 0.8); }
  100% { box-shadow: 0 0 0 0 rgba(196, 151, 63, 0); outline: 1.5px solid transparent; }
}
.mz-clip-capture-flash {
  animation: mz-clip-capture-kf 200ms ease-out forwards;
}
@keyframes mz-brain-complete-kf {
  0%   { opacity: 1; }
  40%  { opacity: 0.6; }
  100% { opacity: 1; }
}
.mz-brain-complete-pulse {
  animation: mz-brain-complete-kf 300ms ease-in-out forwards;
}
.hover\:border-mz-accent:hover{
  border-color: var(--mz-accent);
}
.hover\:bg-mz-accent:hover{
  background-color: var(--mz-accent);
}
.hover\:bg-mz-wonder:hover{
  background-color: var(--mz-wonder);
}
.hover\:text-mz-accent:hover{
  color: var(--mz-accent);
}
.hover\:text-mz-bg:hover{
  color: var(--mz-bg);
}
.hover\:text-mz-secondary:hover{
  color: var(--mz-text-secondary);
}
.hover\:opacity-70:hover{
  opacity: 0.7;
}
.focus\:outline-none:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus-visible\:ring-2:focus-visible{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus-visible\:ring-mz-accent:focus-visible{
  --tw-ring-color: var(--mz-accent);
}
.disabled\:cursor-not-allowed:disabled{
  cursor: not-allowed;
}
.disabled\:opacity-40:disabled{
  opacity: 0.4;
}
.disabled\:opacity-50:disabled{
  opacity: 0.5;
}
.disabled\:hover\:border-mz-border:hover:disabled{
  border-color: var(--mz-border);
}
.disabled\:hover\:bg-transparent:hover:disabled{
  background-color: transparent;
}
.disabled\:hover\:text-mz-accent:hover:disabled{
  color: var(--mz-accent);
}
.disabled\:hover\:text-mz-secondary:hover:disabled{
  color: var(--mz-text-secondary);
}
.group:hover .group-hover\:text-mz-accent{
  color: var(--mz-accent);
}
@media (min-width: 640px){
  .sm\:block{
    display: block;
  }
  .sm\:inline{
    display: inline;
  }
}
@media (min-width: 768px){
  .md\:text-5xl{
    font-size: 3rem;
    line-height: 1;
  }
  .md\:text-6xl{
    font-size: 3.75rem;
    line-height: 1;
  }
}
