/* [next]/internal/font/google/fraunces_16c8ec7e.module.css [app-client] (css) */
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/a5a3076f5a3c2968-s.09mqwf_zjnrdf.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/23f1a98b08006014-s.0s5mkn35-hrc5.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/54fc36028e2bb174-s.p.20jfceqj9zyw9.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Fraunces Fallback;
  src: local(Times New Roman);
  ascent-override: 84.71%;
  descent-override: 22.09%;
  line-gap-override: 0.0%;
  size-adjust: 115.45%;
}

.fraunces_16c8ec7e-module__ZS7lna__className {
  font-family: Fraunces, Fraunces Fallback;
  font-style: normal;
}

.fraunces_16c8ec7e-module__ZS7lna__variable {
  --font-display: "Fraunces", "Fraunces Fallback";
}

/* [next]/internal/font/google/instrument_sans_9e69b748.module.css [app-client] (css) */
@font-face {
  font-family: Instrument Sans;
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/c7f47671e39f7787-s.0klc_mi0-5f4_.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Instrument Sans;
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/f06bf9da926bae75-s.p.2874ccu1_u7jf.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Instrument Sans Fallback;
  src: local(Arial);
  ascent-override: 94.42%;
  descent-override: 24.33%;
  line-gap-override: 0.0%;
  size-adjust: 102.74%;
}

.instrument_sans_9e69b748-module__Ez8_HW__className {
  font-family: Instrument Sans, Instrument Sans Fallback;
  font-style: normal;
}

.instrument_sans_9e69b748-module__Ez8_HW__variable {
  --font-body: "Instrument Sans", "Instrument Sans Fallback";
}

/* [project]/Desktop/LIPS/apps/web/src/app/globals.css [app-client] (css) */
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --radius-sm: .25rem;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .collapse {
    visibility: collapse;
  }

  .visible {
    visibility: visible;
  }

  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .absolute {
    position: absolute;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .lowercase {
    text-transform: lowercase;
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --page: #0a0a0c;
  --surface: #131216;
  --surface-raised: #1d1a1f;
  --border: #3a363d99;
  --border-strong: #845b6e;
  --text: #f2f1f5;
  --muted: #a9a2ab;
  --accent: #f54879;
  --accent-strong: #de1356;
  --accent-soft: #f5487926;
  --accent-ink: #f9f8fb;
  --accent-2: #6567e7;
  --gold: #fa9fb4;
  --gold-soft: #fa9fb457;
  --error: #f7a098;
  --focus: #ebca80;
  --radius: 1.3rem;
  --radius-sm: .8rem;
  --shadow: 0 1px 0 #ffffff0b inset,
    0 1.4rem 3.2rem #02000180,
    0 .35rem 1rem #02000159;
  --hairline: linear-gradient(140deg,
    #dc668180,
    #5548573d 34%,
    #46404b29 62%,
    #686fcb59);
  --font-body-stack: var(--font-body, "Instrument Sans"), "Segoe UI",
    ui-sans-serif, system-ui, sans-serif;
  --font-display-stack: var(--font-display, "Fraunces"), "Georgia", serif;
}

@supports (color: lab(0% 0 0)) {
  :root {
    --page: lab(2.7203% .530809 -1.01015);
    --surface: lab(5.64255% 1.30671 -2.06906);
    --surface-raised: lab(9.97403% 2.24514 -2.85717);
    --border: lab(23.29% 2.68422 -3.43704 / .6);
    --border-strong: lab(43.518% 19.6168 -3.74457);
    --text: lab(95.3053% .86689 -1.63655);
    --muted: lab(67.3223% 3.93572 -3.61322);
    --accent: lab(58.0785% 68.3355 12.794);
    --accent-strong: lab(48.6986% 72.8765 20.8595);
    --accent-soft: lab(58.0785% 68.3355 12.794 / .15);
    --accent-ink: lab(97.6253% .86683 -1.63665);
    --accent-2: lab(48.6875% 27.7314 -66.8562);
    --gold: lab(75.4718% 36.4269 4.13778);
    --gold-soft: lab(75.4718% 36.4269 4.13778 / .34);
    --error: lab(74.639% 32.603 18.0177);
    --focus: lab(82.8525% 5.21839 41.3299);
    --shadow: 0 1px 0 lab(100% 0 0 / .045) inset,
    0 1.4rem 3.2rem lab(.171843% .580646 -.234801 / .5),
    0 .35rem 1rem lab(.171843% .580646 -.234801 / .35);
    --hairline: linear-gradient(140deg,
    lab(58.7926% 49.1467 8.89976 / .5),
    lab(32.3131% 7.9183 -7.14779 / .24) 34%,
    lab(27.8263% 4.5051 -5.70224 / .16) 62%,
    lab(49.6497% 16.7591 -49.6049 / .35));
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  background: radial-gradient(52rem 38rem at 82% -6%, #3c132980, transparent 64%),
    radial-gradient(46rem 34rem at -12% 26%, #1d183366, transparent 60%),
    radial-gradient(40rem 40rem at 55% 118%, #290e2852, transparent 62%),
    var(--page);
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body-stack);
  text-rendering: optimizelegibility;
  background-attachment: fixed;
  margin: 0;
  line-height: 1.55;
}

@supports (color: lab(0% 0 0)) {
  body {
    background: radial-gradient(52rem 38rem at 82% -6%, lab(13.2166% 22.3553 -4.33042 / .5), transparent 64%),
    radial-gradient(46rem 34rem at -12% 26%, lab(10.0294% 8.36246 -16.8872 / .4), transparent 60%),
    radial-gradient(40rem 40rem at 55% 118%, lab(8.62672% 17.508 -10.8582 / .32), transparent 62%),
    var(--page);
  }
}

body:before {
  content: "";
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  position: fixed;
  inset: 0;
}

body > * {
  z-index: 1;
  position: relative;
}

h1, h2, h3, legend {
  font-family: var(--font-display-stack);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}

::selection {
  background: var(--accent-strong);
  color: #fcf3f0;
  color: lab(96.4571% 2.58243 2.48088);
}

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-underline-offset: .22em;
}

:focus-visible {
  outline: .2rem solid var(--focus);
  outline-offset: .22rem;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.skip-link {
  z-index: 10;
  background: var(--focus);
  min-height: 2.75rem;
  color: var(--accent-ink);
  border-radius: .55rem;
  padding: .65rem .9rem;
  font-weight: 750;
  transition: transform .16s ease-out;
  position: fixed;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.entry-page {
  place-items: center;
  min-height: 100vh;
  padding: 1rem;
  display: grid;
}

.entry-panel {
  border-radius: var(--radius);
  background: linear-gradient(168deg, var(--surface-raised), var(--surface) 55%) padding-box,
    var(--hairline) border-box;
  width: min(100%, 46rem);
  box-shadow: var(--shadow);
  border: 1px solid #0000;
  padding: clamp(1.35rem, 5vw, 3.4rem);
  animation: .64s cubic-bezier(.19, 1, .22, 1) both lips-rise;
}

@keyframes lips-rise {
  from {
    opacity: 0;
    transform: translateY(.9rem)scale(.992);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.entry-header, .nav-identity, .nav-actions {
  align-items: center;
  display: flex;
}

.entry-header {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 8vw, 4.5rem);
}

.wordmark {
  color: var(--text);
  font-family: var(--font-display-stack);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: .24em;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 620;
  text-decoration: none;
}

.wordmark .wordmark-ai {
  color: var(--accent);
  letter-spacing: .04em;
  font-style: normal;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: .24em;
  text-transform: uppercase;
  align-items: center;
  gap: .55rem;
  margin: 0;
  font-size: .72rem;
  font-weight: 640;
  display: inline-flex;
}

.eyebrow:before {
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold-soft));
  width: 1.6rem;
  height: 1px;
}

.entry-copy h1, .foundation-page h1 {
  max-width: 21ch;
  color: var(--text);
  font-variation-settings: "SOFT" 65, "WONK" 1;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin: 0;
  font-weight: 460;
  line-height: 1.04;
}

.entry-copy h1 {
  font-size: clamp(2.5rem, 7vw, 4.1rem);
}

.entry-copy h1 em, .foundation-page h1 em {
  color: var(--accent);
  font-style: italic;
}

.foundation-page h1 {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
}

.lead, .page-lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.16rem);
}

.lead {
  margin: 1.35rem 0 0;
}

.disclosure-list {
  color: var(--text);
  gap: .85rem;
  margin: 2rem 0;
  padding-left: 1.3rem;
  display: grid;
}

.disclosure-list li::marker {
  color: var(--accent);
}

.legal-note, .truth-note {
  border-block: 1px solid var(--border);
  color: var(--muted);
  padding: 1rem 0;
  font-size: .9rem;
}

.form-error {
  border: 1px solid var(--error);
  color: var(--error);
  border-radius: .65rem;
  margin: 1rem 0;
  padding: .85rem 1rem;
  font-weight: 650;
}

.entry-actions, .login-form {
  gap: 1rem;
  margin-top: 1.5rem;
  display: grid;
}

.primary-button, .logout-button {
  cursor: pointer;
  touch-action: manipulation;
  border-radius: .65rem;
  min-height: 2.75rem;
  font-weight: 750;
  transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out, opacity .15s ease-out, transform .1s ease-out;
}

.primary-button {
  background: linear-gradient(180deg, #ff9bb4, var(--accent) 45%, var(--accent-strong));
  color: var(--accent-ink);
  text-align: center;
  border: 1px solid #ff90adbf;
  border: 1px solid lab(72.7741% 46.1616 4.36689 / .75);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: .85rem 1.55rem;
  text-decoration: none;
  transition: box-shadow .18s ease-out, filter .18s ease-out, transform .12s ease-out;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff59, 0 .55rem 1.6rem #e44f7752;
  box-shadow: inset 0 1px lab(100% 0 0 / .35), 0 .55rem 1.6rem lab(56.056% 60.3276 11.1718 / .32);
}

@supports (color: lab(0% 0 0)) {
  .primary-button {
    background: linear-gradient(180deg, lab(75.2773% 41.3254 3.87462), var(--accent) 45%, var(--accent-strong));
  }
}

.primary-button:after {
  content: "";
  background: linear-gradient(115deg, #0000 32%, #ffffff59 50%, #0000 68%);
  background: linear-gradient(115deg, #0000 32%, lab(100% 0 0 / .35) 50%, #0000 68%);
  transition: transform .52s;
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
}

.primary-button:hover {
  filter: saturate(1.12) brightness(1.04);
  box-shadow: inset 0 1px #ffffff59, 0 .7rem 2.1rem #e44f7773;
  box-shadow: inset 0 1px lab(100% 0 0 / .35), 0 .7rem 2.1rem lab(56.056% 60.3276 11.1718 / .45);
}

.primary-button:hover:after {
  transform: translateX(120%);
}

.primary-button:active:not(:disabled), .logout-button:active {
  transform: translateY(1px);
}

.primary-button:disabled {
  cursor: wait;
  opacity: .72;
}

.quiet-link {
  color: var(--muted);
  justify-self: center;
  padding: .65rem;
  font-size: .9rem;
}

.login-panel {
  width: min(100%, 40rem);
}

.compact-copy h1 {
  font-size: 3.25rem;
}

.field-group {
  gap: .45rem;
  display: grid;
}

.field-group label {
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
}

.field-group input, .field-group select, .field-group textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  min-height: 3.15rem;
  color: var(--text);
  background: #0a0407bf;
  background: lab(1.47903% 2.04565 -.633332 / .75);
  padding: .7rem .95rem;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
  box-shadow: inset 0 1px #ffffff0a;
  box-shadow: inset 0 1px lab(100% 0 0 / .04);
}

.field-group input:focus-visible, .field-group select:focus-visible, .field-group textarea:focus-visible {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 .22rem #e2c3842e;
  box-shadow: 0 0 0 .22rem lab(80.4787% 5.37372 35.8487 / .18);
}

.field-group textarea {
  resize: vertical;
  min-height: auto;
}

.field-group input:hover, .field-group select:hover, .field-group textarea:hover {
  border-color: var(--accent);
}

.field-group input[aria-invalid="true"] {
  border-color: var(--error);
}

.demo-access-note {
  color: var(--muted);
  text-align: center;
  margin: 1.4rem 0 0;
  font-size: .85rem;
}

.app-shell {
  min-height: 100vh;
}

.app-shell.with-sidebar {
  --topbar-h: 3.9rem;
  grid-template-rows: auto 1fr;
  grid-template-columns: auto minmax(0, 1fr);
  display: grid;
}

.app-topbar {
  z-index: 6;
  min-height: var(--topbar-h);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  background: #0c0a0ee0;
  background: lab(2.99768% .866033 -1.37382 / .88);
  border-bottom: 1px solid #473f4966;
  border-bottom: 1px solid lab(27.8116% 5.26701 -4.78349 / .4);
  grid-column: 1 / -1;
  align-items: center;
  gap: clamp(.9rem, 3vw, 2rem);
  padding: .5rem clamp(1rem, 3vw, 2rem);
  display: flex;
  position: sticky;
  top: 0;
}

.topbar-left {
  align-items: center;
  gap: .9rem;
  display: flex;
}

.topbar-brand {
  align-items: center;
  display: inline-flex;
}

.topbar-logo {
  filter: drop-shadow(0 .15rem .6rem #d5305a59);
  filter: drop-shadow(0 .15rem .6rem lab(48.9919% 64.8942 18.2141 / .35));
  width: auto;
  height: 2.5rem;
  display: block;
}

.topbar-burger {
  width: 2.6rem;
  height: 2.6rem;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: .6rem;
  place-items: center;
  transition: background-color .15s ease-out;
  display: grid;
}

.topbar-burger:hover {
  background: var(--surface-raised);
}

.topbar-burger svg {
  width: 1.35rem;
  height: 1.35rem;
}

.topbar-tabs {
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.4rem);
  display: flex;
}

.topbar-tabs a, .topbar-tab-soon {
  min-height: 2.75rem;
  color: var(--muted);
  align-items: center;
  padding: .4rem .2rem;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  position: relative;
}

.topbar-tabs a[aria-current] {
  color: var(--accent);
}

.topbar-tabs a:after {
  content: "";
  background: var(--accent);
  transform-origin: center;
  border-radius: 999px;
  height: 2px;
  transition: transform .22s cubic-bezier(.19, 1, .22, 1);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
}

.topbar-tabs a:hover:after {
  transform: scaleX(.6);
}

.topbar-tabs a[aria-current]:after {
  transform: scaleX(1);
}

.topbar-tabs a {
  transition: color .15s ease-out;
}

.topbar-tabs a:hover {
  color: var(--text);
}

.topbar-tab-soon {
  cursor: default;
  opacity: .45;
}

.topbar-actions {
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  display: flex;
}

.topbar-cta, .topbar-login {
  white-space: nowrap;
  min-height: 2.55rem;
  padding: .45rem 1.05rem;
  font-size: .85rem;
}

.topbar-login {
  border-radius: 999px;
}

@media (max-width: 860px) {
  .topbar-cta {
    display: none;
  }
}

.app-sidebar {
  top: var(--topbar-h, 0);
  z-index: 5;
  width: 15rem;
  height: calc(100vh - var(--topbar-h, 0rem));
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  background: #12070edb;
  background: lab(2.87808% 4.27156 -1.32187 / .86);
  border-right: 1px solid #5c3c4b47;
  border-right: 1px solid lab(29.7313% 16.3209 -3.11865 / .28);
  flex-direction: column;
  flex: none;
  grid-row: 2;
  gap: 1.4rem;
  padding: 1.1rem .9rem;
  transition: width .22s cubic-bezier(.19, 1, .22, 1);
  display: flex;
  position: sticky;
}

.app-sidebar.is-collapsed {
  width: 4.4rem;
}

.sidebar-top {
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  display: flex;
}

.app-sidebar.is-collapsed .sidebar-top {
  flex-direction: column;
}

.sidebar-toggle {
  border: 1px solid var(--border);
  width: 2.1rem;
  height: 2.1rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border-radius: .6rem;
  place-items: center;
  display: grid;
}

.sidebar-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sidebar-toggle svg, .sidebar-nav svg, .sidebar-bottom .logout-button svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
}

.sidebar-nav {
  gap: .3rem;
  display: grid;
}

.sidebar-nav a {
  min-height: 2.75rem;
  color: var(--muted);
  white-space: nowrap;
  border-radius: .7rem;
  align-items: center;
  gap: .7rem;
  padding: .55rem .75rem;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .15s ease-out, color .15s ease-out, transform .18s cubic-bezier(.19, 1, .22, 1);
  display: flex;
}

.sidebar-nav a:hover {
  color: var(--text);
  background: var(--surface-raised);
  transform: translateX(2px);
}

.sidebar-nav a svg {
  transition: transform .18s cubic-bezier(.19, 1, .22, 1);
}

.sidebar-nav a:hover svg {
  transform: scale(1.12);
}

.sidebar-nav a:active {
  transform: translateX(2px)scale(.98);
}

.sidebar-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.sidebar-label {
  white-space: nowrap;
  opacity: 1;
  max-width: 10rem;
  transition: max-width .22s cubic-bezier(.19, 1, .22, 1), opacity .15s ease-out;
  overflow: hidden;
}

.app-sidebar.is-collapsed .sidebar-label {
  opacity: 0;
  max-width: 0;
}

.app-sidebar.is-collapsed .sidebar-nav a, .app-sidebar.is-collapsed .sidebar-bottom .logout-button {
  justify-content: center;
  padding-inline: 0;
}

.sidebar-bottom {
  gap: .6rem;
  margin-top: auto;
  display: grid;
}

.sidebar-login {
  justify-content: center;
  align-items: center;
  gap: .55rem;
  display: flex;
}

.sidebar-login svg {
  width: 1.1rem;
  height: 1.1rem;
}

.app-sidebar.is-collapsed .sidebar-login {
  padding-inline: .4rem;
}

.sidebar-bottom .balance-chip {
  justify-content: center;
}

.sidebar-bottom .logout-button {
  justify-content: center;
  align-items: center;
  gap: .55rem;
  width: 100%;
  display: flex;
}

@media (max-width: 720px) {
  .app-sidebar {
    width: 4.4rem;
  }

  .app-sidebar .sidebar-label {
    display: none;
  }

  .app-sidebar .sidebar-nav a, .app-sidebar .sidebar-bottom .logout-button {
    justify-content: center;
    padding-inline: 0;
  }

  .app-sidebar .sidebar-toggle {
    display: none;
  }

  .app-sidebar .sidebar-top {
    justify-content: center;
  }
}

.home-page {
  gap: clamp(1.6rem, 4vw, 2.6rem);
  display: grid;
}

.home-section-title {
  font-variation-settings: "SOFT" 70, "WONK" 1;
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
}

.home-section-title em {
  color: var(--accent);
  font-style: italic;
}

.hero-carousel {
  border-radius: var(--radius);
  background: linear-gradient(172deg, var(--surface-raised), var(--surface)) padding-box,
    var(--hairline) border-box;
  box-shadow: var(--shadow);
  border: 1px solid #0000;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  min-height: clamp(13rem, 30vw, 19rem);
  animation: .42s cubic-bezier(.19, 1, .22, 1) both lips-rise;
  position: relative;
}

.hero-image {
  object-fit: cover;
  object-position: center 24%;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-image-fallback {
  background: radial-gradient(30rem 18rem at 78% 10%, var(--portrait-color, #ff3b78), transparent 70%),
    linear-gradient(160deg, var(--surface-raised), var(--surface));
}

@supports (color: color-mix(in lab, red, red)) {
  .hero-image-fallback {
    background: radial-gradient(30rem 18rem at 78% 10%, color-mix(in oklch, var(--portrait-color, #ff3b78) 40%, transparent), transparent 70%),
    linear-gradient(160deg, var(--surface-raised), var(--surface));
  }
}

.hero-overlay {
  background: linear-gradient(90deg, #040305e0 8%, #04030573 45%, #0000 75%), linear-gradient(0deg, #0403058c, #0000 45%);
  background: linear-gradient(90deg, lab(.871464% .637122 -.607967 / .88) 8%, lab(.871464% .637122 -.607967 / .45) 45%, #0000 75%), linear-gradient(0deg, lab(.871464% .637122 -.607967 / .55), #0000 45%);
  position: absolute;
  inset: 0;
}

.hero-copy {
  z-index: 1;
  justify-items: start;
  gap: .6rem;
  max-width: 34rem;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  display: grid;
  position: relative;
}

.hero-badge {
  background: var(--accent);
  color: var(--accent-ink);
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .68rem;
  font-weight: 800;
  display: inline-flex;
}

.hero-title {
  font-variation-settings: "SOFT" 70, "WONK" 1;
  text-wrap: balance;
  margin: 0;
  font-size: clamp(1.7rem, 4.5vw, 2.9rem);
  font-weight: 500;
  line-height: 1.05;
}

.hero-subtitle {
  color: #dad5dc;
  color: lab(85.9489% 2.621 -2.4143);
  max-width: 46ch;
  margin: 0;
  font-size: clamp(.9rem, 2vw, 1.05rem);
}

.hero-cta {
  background: linear-gradient(180deg, #767df1, var(--accent-2));
  color: #f5f4f8;
  color: lab(96.4653% .866801 -1.63658);
  border-radius: 999px;
  align-items: center;
  min-height: 2.7rem;
  margin-top: .35rem;
  padding: .55rem 1.4rem;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .15s ease-out, filter .15s ease-out;
  display: inline-flex;
  box-shadow: 0 .5rem 1.6rem #6567e766;
  box-shadow: 0 .5rem 1.6rem lab(48.6875% 27.7314 -66.8562 / .4);
}

@supports (color: lab(0% 0 0)) {
  .hero-cta {
    background: linear-gradient(180deg, lab(56.1683% 21.5939 -60.0853), var(--accent-2));
  }
}

.hero-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.hero-arrow {
  z-index: 2;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  width: 2.6rem;
  height: 2.6rem;
  color: var(--text);
  cursor: pointer;
  background: #070508a6;
  background: lab(1.5154% .911199 -.865099 / .65);
  border: 1px solid #ffffff2e;
  border: 1px solid lab(100% 0 0 / .18);
  border-radius: 50%;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background-color .15s ease-out, border-color .15s ease-out;
  display: grid;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  border-color: var(--accent);
  background: #120a11d9;
  background: lab(3.53362% 3.65774 -2.39061 / .85);
}

.hero-arrow-prev {
  left: .8rem;
}

.hero-arrow-next {
  right: .8rem;
}

.hero-dots {
  z-index: 2;
  gap: .4rem;
  display: flex;
  position: absolute;
  bottom: .8rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-dots button {
  cursor: pointer;
  background: #ffffff59;
  background: lab(100% 0 0 / .35);
  border: 0;
  border-radius: 999px;
  width: .5rem;
  height: .5rem;
  padding: 0;
  transition: width .2s, background-color .2s;
}

.hero-dots button.is-active {
  background: var(--accent);
  width: 1.4rem;
}

.stories-strip {
  scrollbar-width: thin;
  gap: clamp(.8rem, 2vw, 1.3rem);
  padding: .35rem .15rem .6rem;
  display: flex;
  overflow-x: auto;
}

.story-avatar {
  color: var(--text);
  flex: none;
  justify-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 650;
  text-decoration: none;
  display: grid;
}

.story-ring {
  border: 2px solid var(--portrait-color, #b96b8b);
  width: 4.6rem;
  height: 4.6rem;
  padding: .16rem;
  display: block;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .story-ring {
    border: 2px solid color-mix(in oklch, var(--portrait-color, #b96b8b) 75%, var(--accent));
  }
}

.story-ring {
  border-radius: 50%;
  transition: transform .2s cubic-bezier(.19, 1, .22, 1), box-shadow .2s;
}

.story-avatar:hover .story-ring {
  box-shadow: 0 0 1.6rem var(--portrait-color, #b96b8b);
  transform: translateY(-.18rem)scale(1.04);
}

@supports (color: color-mix(in lab, red, red)) {
  .story-avatar:hover .story-ring {
    box-shadow: 0 0 1.6rem color-mix(in oklch, var(--portrait-color, #b96b8b) 45%, transparent);
  }
}

.story-ring .character-portrait-compact {
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.story-ring .portrait-ai-mark {
  display: none;
}

.story-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 5.4rem;
  overflow: hidden;
}

.experiences-slider {
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  gap: 1rem;
  padding-bottom: .6rem;
  display: flex;
  overflow-x: auto;
}

.experience-card {
  border-radius: var(--radius);
  background: linear-gradient(172deg, var(--surface-raised), var(--surface)) padding-box,
    linear-gradient(160deg,
        var(--portrait-color, #b96b8b),
        var(--gold-soft))
      border-box;
  border: 1px solid #0000;
  flex: none;
  width: clamp(11.5rem, 22vw, 14.5rem);
  display: block;
  position: relative;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .experience-card {
    background: linear-gradient(172deg, var(--surface-raised), var(--surface)) padding-box,
    linear-gradient(160deg,
        color-mix(in oklch, var(--portrait-color, #b96b8b) 60%, transparent),
        var(--gold-soft))
      border-box;
  }
}

.experience-card {
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform .24s cubic-bezier(.19, 1, .22, 1), box-shadow .24s;
}

.experience-card:hover {
  box-shadow: var(--shadow),
    0 0 2.6rem var(--portrait-color, #b96b8b);
  transform: translateY(-.3rem);
}

@supports (color: color-mix(in lab, red, red)) {
  .experience-card:hover {
    box-shadow: var(--shadow),
    0 0 2.6rem color-mix(in oklch, var(--portrait-color, #b96b8b) 35%, transparent);
  }
}

.experience-card .character-portrait-card {
  border-width: 0;
}

.experience-card:after {
  content: "";
  pointer-events: none;
  background: linear-gradient(#0000, #070204eb 78%);
  background: linear-gradient(#0000, lab(.840143% 1.59659 -.493184 / .92) 78%);
  position: absolute;
  inset: 45% 0 0;
}

.live-chip {
  z-index: 2;
  color: #fcf3f0;
  color: lab(96.4571% 2.58243 2.48088);
  letter-spacing: .09em;
  text-transform: uppercase;
  background: #be2132eb;
  background: lab(42.3272% 60.726 32.9967 / .92);
  border-radius: 999px;
  align-items: center;
  gap: .35rem;
  padding: .28rem .6rem;
  font-size: .66rem;
  font-weight: 800;
  display: inline-flex;
  position: absolute;
  top: .7rem;
  left: .7rem;
}

.live-dot {
  background: currentColor;
  border-radius: 50%;
  width: .42rem;
  height: .42rem;
  animation: 1.6s ease-in-out infinite lips-breathe;
}

.experience-copy {
  z-index: 2;
  color: var(--text);
  gap: .45rem;
  display: grid;
  position: absolute;
  inset: auto .85rem .85rem;
}

.experience-copy strong {
  font-family: var(--font-display-stack);
  font-size: 1.25rem;
  font-weight: 520;
  line-height: 1.1;
}

.experience-cta {
  background: linear-gradient(180deg, #767df1, var(--accent-2));
  color: #f5f4f8;
  color: lab(96.4653% .866801 -1.63658);
  border-radius: 999px;
  justify-self: start;
  padding: .4rem .85rem;
  font-size: .76rem;
  font-weight: 750;
}

@supports (color: lab(0% 0 0)) {
  .experience-cta {
    background: linear-gradient(180deg, lab(56.1683% 21.5939 -60.0853), var(--accent-2));
  }
}

.experience-utility {
  background: radial-gradient(14rem 10rem at 80% 0%, #4a1b308c, transparent 65%),
    linear-gradient(172deg, var(--surface-raised), var(--surface)) padding-box;
  place-items: center;
  min-height: 100%;
  display: grid;
}

@supports (color: lab(0% 0 0)) {
  .experience-utility {
    background: radial-gradient(14rem 10rem at 80% 0%, lab(17.8222% 24.3018 -2.19168 / .55), transparent 65%),
    linear-gradient(172deg, var(--surface-raised), var(--surface)) padding-box;
  }
}

.experience-utility-body {
  text-align: center;
  gap: .5rem;
  padding: 1.2rem;
  display: grid;
}

.experience-utility-body em {
  color: var(--gold);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .72rem;
  font-style: normal;
  font-weight: 700;
}

.experience-utility-body strong {
  font-family: var(--font-display-stack);
  font-size: 1.3rem;
  font-weight: 500;
}

.experience-utility-body .experience-cta {
  justify-self: center;
}

.catalogue-toolbar {
  align-items: center;
  gap: .8rem;
  min-width: 0;
  margin-bottom: 1rem;
  display: flex;
}

.catalogue-search {
  flex: none;
  width: min(13rem, 42vw);
  position: relative;
}

.catalogue-search input {
  border: 1px solid var(--border);
  width: 100%;
  min-height: 2.7rem;
  color: var(--text);
  background: #0a0407bf;
  background: lab(1.47903% 2.04565 -.633332 / .75);
  border-radius: 999px;
  padding: .5rem .9rem .5rem 2.5rem;
}

.catalogue-search input:focus-visible {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 .22rem #e2c3842e;
  box-shadow: 0 0 0 .22rem lab(80.4787% 5.37372 35.8487 / .18);
}

.search-submit {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 50%;
  place-items: center;
  transition: color .15s ease-out;
  display: grid;
  position: absolute;
  top: 50%;
  left: .2rem;
  transform: translateY(-50%);
}

.search-submit:hover {
  color: var(--accent);
}

.search-submit svg {
  width: 1.05rem;
  height: 1.05rem;
}

.filter-pills {
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  flex: auto;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  padding-bottom: .35rem;
  display: flex;
  overflow-x: auto;
}

.filter-pills::-webkit-scrollbar {
  height: .35rem;
}

.filter-pills::-webkit-scrollbar-thumb {
  background: #5a525c80;
  background: lab(35.9329% 5.26193 -4.79188 / .5);
  border-radius: 999px;
}

.filter-divider {
  background: var(--border);
  flex: none;
  align-self: stretch;
  width: 1px;
  margin: .35rem .25rem;
}

.filter-pill {
  border: 1px solid var(--border);
  min-height: 2.4rem;
  color: var(--muted);
  white-space: nowrap;
  scroll-snap-align: start;
  border-radius: 999px;
  flex: none;
  align-items: center;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .15s ease-out, color .15s ease-out, background-color .15s ease-out;
  display: inline-flex;
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}

.filter-pill[aria-current="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.app-header {
  z-index: 5;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: #12070ed1;
  background: lab(2.87808% 4.27156 -1.32187 / .82);
  border-bottom: 1px solid #5c3c4b47;
  border-bottom: 1px solid lab(29.7313% 16.3209 -3.11865 / .28);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.75rem;
  padding: .85rem clamp(1rem, 4vw, 3.5rem);
  display: grid;
  position: sticky;
  top: 0;
}

.nav-identity, .nav-actions {
  gap: .85rem;
}

.compact-label {
  display: none;
}

.account-identity {
  color: var(--muted);
  font-size: .82rem;
}

.app-nav {
  justify-content: center;
  gap: clamp(.8rem, 3vw, 2rem);
  display: flex;
}

.app-nav a {
  min-height: 2.75rem;
  color: var(--muted);
  touch-action: manipulation;
  border-radius: .5rem;
  align-items: center;
  padding: .55rem .65rem;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .15s ease-out, color .15s ease-out, transform .1s ease-out;
  display: inline-flex;
}

.app-nav a:hover {
  color: var(--text);
  background: var(--surface-raised);
}

.app-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 -.12rem var(--accent);
}

.app-nav a:active {
  transform: translateY(1px);
}

.balance-chip {
  border: 1px solid var(--gold-soft);
  min-height: 2.75rem;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  background: #e2c38412;
  background: lab(80.4787% 5.37372 35.8487 / .07);
  border-radius: 999px;
  align-items: center;
  gap: .4rem;
  padding: .35rem .9rem;
  font-size: .82rem;
  font-weight: 700;
  display: inline-flex;
}

.logout-button {
  border: 1px solid var(--border-strong);
  min-width: 2.75rem;
  color: var(--text);
  background: none;
  padding: .35rem .7rem;
  font-size: .82rem;
}

.logout-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.member-main {
  grid-row: 2;
  width: min(100%, 78rem);
  min-width: 0;
  margin-inline: auto;
  padding: clamp(2.25rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.home-page > * {
  min-width: 0;
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.foundation-page {
  max-width: 64rem;
}

.foundation-page h1 {
  max-width: 16ch;
  margin-top: .75rem;
}

.page-lead {
  margin: 1.5rem 0 0;
}

.foundation-status {
  border-block: 1px solid var(--border);
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(2.5rem, 7vw, 5rem) 0 0;
  padding: 0;
  display: grid;
}

.foundation-status > div {
  align-content: center;
  gap: .45rem;
  min-height: 7.5rem;
  padding: 1.25rem;
  display: grid;
}

.foundation-status > div + div {
  border-left: 1px solid var(--border);
}

.foundation-status dt {
  color: var(--muted);
  font-size: .82rem;
}

.foundation-status dd {
  color: var(--text);
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.truth-note {
  width: fit-content;
  margin-top: 2rem;
}

.secondary-button, .filter-button, .filter-reset, .back-link {
  touch-action: manipulation;
  border-radius: .6rem;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.secondary-button, .filter-button, .filter-reset, .back-link, .inline-button {
  transition: border-color .15s ease-out, color .15s ease-out, background-color .15s ease-out, transform .12s ease-out, box-shadow .15s ease-out;
}

.secondary-button:hover, .filter-button:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 .3rem 1rem #f5487929;
  box-shadow: 0 .3rem 1rem lab(58.0785% 68.3355 12.794 / .16);
}

.secondary-button:active:not(:disabled), .filter-button:active:not(:disabled), .filter-pill:active, .sidebar-login:active, .topbar-cta:active, .topbar-login:active, .primary-button:active:not(:disabled) {
  transform: translateY(1px)scale(.985);
}

.secondary-button, .filter-button {
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  background: none;
  padding: .65rem .9rem;
}

.secondary-button:hover, .filter-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-reset, .back-link {
  color: var(--muted);
  padding: .6rem .75rem;
}

.filter-reset:hover, .back-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.inline-button {
  width: fit-content;
  margin-top: 1.5rem;
}

.catalogue-page, .profile-page, .account-page, .studio-page, .studio-form-page {
  width: 100%;
}

.catalogue-heading, .account-heading, .studio-heading, .form-page-heading {
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .75fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
  display: grid;
}

.catalogue-heading h1, .account-heading h1, .studio-heading h1, .form-page-heading h1, .account-page > h1 {
  letter-spacing: -.045em;
  max-width: 17ch;
  margin: .75rem 0 0;
  font-size: 3.5rem;
  font-weight: 650;
  line-height: 1.02;
}

.catalogue-filters {
  border-block: 1px solid var(--border);
  grid-template-columns: minmax(13rem, 1fr) minmax(10rem, .35fr) auto auto;
  align-items: end;
  gap: .8rem;
  margin-top: 3rem;
  padding-block: 1.25rem;
  display: grid;
}

.filter-field {
  gap: .35rem;
  display: grid;
}

.filter-field label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.filter-field input, .filter-field select {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  width: 100%;
  min-height: 2.75rem;
  color: var(--text);
  border-radius: .6rem;
  padding: .6rem .75rem;
}

.catalogue-results-heading, .section-heading-row {
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  display: flex;
}

.catalogue-results-heading {
  color: var(--muted);
  margin: 2rem 0 1rem;
  font-size: .88rem;
}

.catalogue-results-heading p, .section-heading-row p {
  margin: 0;
}

.catalogue-results-heading strong {
  color: var(--text);
  font-size: 1.35rem;
}

.character-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  display: grid;
}

.character-card {
  --portrait-color: #b96b8b;
  border-radius: var(--radius);
  background: linear-gradient(172deg, var(--surface-raised), var(--surface) 60%) padding-box,
    linear-gradient(160deg,
        var(--portrait-color),
        #62425233 42%,
        var(--gold-soft))
      border-box;
  border: 1px solid #0000;
  min-width: 0;
  display: grid;
  position: relative;
  overflow: hidden;
}

@supports (color: lab(0% 0 0)) {
  .character-card {
    background: linear-gradient(172deg, var(--surface-raised), var(--surface) 60%) padding-box,
    linear-gradient(160deg,
        var(--portrait-color),
        lab(32.0452% 16.2363 -3.76587 / .2) 42%,
        var(--gold-soft))
      border-box;
  }
}

@supports (color: color-mix(in lab, red, red)) {
  .character-card {
    background: linear-gradient(172deg, var(--surface-raised), var(--surface) 60%) padding-box,
    linear-gradient(160deg,
        color-mix(in oklch, var(--portrait-color) 62%, transparent),
        lab(32.0452% 16.2363 -3.76587 / .2) 42%,
        var(--gold-soft))
      border-box;
  }
}

.character-card {
  box-shadow: var(--shadow);
  transition: transform .26s cubic-bezier(.19, 1, .22, 1), box-shadow .26s;
  animation: .62s cubic-bezier(.19, 1, .22, 1) both lips-rise;
}

.character-grid .character-card:nth-child(2) {
  animation-delay: 90ms;
}

.character-grid .character-card:nth-child(3) {
  animation-delay: .18s;
}

.character-card:hover {
  box-shadow: 0 1px 0 #ffffff0d inset,
    0 1.8rem 3.6rem #0200018c,
    0 0 3.2rem var(--portrait-color);
  transform: translateY(-.3rem);
}

@supports (color: lab(0% 0 0)) {
  .character-card:hover {
    box-shadow: 0 1px 0 lab(100% 0 0 / .05) inset,
    0 1.8rem 3.6rem lab(.171843% .580646 -.234801 / .55),
    0 0 3.2rem var(--portrait-color);
  }
}

@supports (color: color-mix(in lab, red, red)) {
  .character-card:hover {
    box-shadow: 0 1px 0 lab(100% 0 0 / .05) inset,
    0 1.8rem 3.6rem lab(.171843% .580646 -.234801 / .55),
    0 0 3.2rem color-mix(in oklch, var(--portrait-color) 32%, transparent);
  }
}

.portrait-link {
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.portrait-link .character-portrait-image {
  transition: transform .7s cubic-bezier(.19, 1, .22, 1), opacity .4s;
}

.character-card:hover .portrait-link .character-portrait-image {
  transform: scale(1.045);
}

.character-portrait {
  --portrait-color: #b96b8b;
  isolation: isolate;
  border: 1px solid var(--portrait-color);
  position: relative;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .character-portrait {
    border: 1px solid color-mix(in oklch, var(--portrait-color) 55%, var(--border));
  }
}

.character-portrait {
  background: var(--portrait-color);
}

@supports (color: color-mix(in lab, red, red)) {
  .character-portrait {
    background: color-mix(in oklch, var(--portrait-color) 36%, var(--page));
  }
}

.character-portrait-card {
  aspect-ratio: 3 / 4;
  border-width: 0 0 1px;
}

.character-portrait-profile {
  aspect-ratio: 3 / 4;
  border-radius: .9rem;
}

.character-portrait-compact {
  border-radius: .7rem;
  width: 4rem;
  height: 4rem;
}

.portrait-fallback {
  position: absolute;
  inset: 0;
}

.character-portrait-image {
  z-index: 1;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.character-portrait-image.is-loaded {
  opacity: 1;
}

.character-portrait-card .character-portrait-image {
  object-position: center 18%;
}

.character-portrait-compact .character-portrait-image {
  object-position: center 20%;
}

.portrait-plane {
  background: var(--portrait-color);
  opacity: .62;
  display: block;
  position: absolute;
}

.portrait-plane-one {
  border-radius: 50% 0 0 50%;
  width: 72%;
  height: 120%;
  top: -18%;
  right: -23%;
  rotate: 9deg;
}

.portrait-plane-two {
  background: var(--portrait-color);
  border-radius: 50% 50% 0 0;
  width: 60%;
  height: 42%;
  bottom: -16%;
  left: -12%;
}

@supports (color: color-mix(in lab, red, red)) {
  .portrait-plane-two {
    background: color-mix(in oklch, var(--portrait-color) 48%, var(--text));
  }
}

.portrait-plane-two {
  rotate: -8deg;
}

.portrait-initials {
  z-index: 1;
  color: var(--text);
  letter-spacing: -.08em;
  text-shadow: 0 .15rem 1rem var(--page);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  bottom: .9rem;
  left: 1.1rem;
}

.character-portrait-profile .portrait-initials {
  font-size: 5.5rem;
  bottom: 1.3rem;
  left: 1.5rem;
}

.portrait-ai-mark {
  z-index: 1;
  border: 1px solid var(--text);
  padding: .25rem .45rem;
  position: absolute;
  top: .85rem;
  right: .85rem;
}

@supports (color: color-mix(in lab, red, red)) {
  .portrait-ai-mark {
    border: 1px solid color-mix(in oklch, var(--text) 55%, transparent);
  }
}

.portrait-ai-mark {
  background: var(--page);
  border-radius: 999px;
}

@supports (color: color-mix(in lab, red, red)) {
  .portrait-ai-mark {
    background: color-mix(in oklch, var(--page) 78%, transparent);
  }
}

.portrait-ai-mark {
  color: var(--text);
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 800;
}

.character-card-body {
  gap: 1rem;
  padding: 1.2rem;
  display: grid;
}

.character-card h2, .profile-page h1, .profile-page h2, .profile-page h3, .account-page h2, .studio-page h2, .studio-page h3, .studio-form-page h2 {
  margin: 0;
  line-height: 1.15;
}

.character-card h2 {
  font-variation-settings: "SOFT" 70, "WONK" 1;
  font-size: 1.6rem;
  font-weight: 500;
}

.character-card h2 a {
  text-decoration: none;
}

.character-card h2 a:hover {
  text-decoration: underline;
}

.character-meta, .trait-list {
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  display: flex;
}

.character-meta {
  color: var(--muted);
  margin: 0;
  padding: 0;
  font-size: .76rem;
  list-style: none;
}

.character-meta > li + li {
  border-left: 1px solid var(--border-strong);
  padding-left: .45rem;
}

.relationship-badge, .status-badge {
  border: 1px solid var(--portrait-color, #b96b8b);
  align-items: center;
  width: fit-content;
  min-height: 1.65rem;
  padding: .22rem .62rem;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .relationship-badge, .status-badge {
    border: 1px solid color-mix(in oklch, var(--portrait-color, #b96b8b) 55%, var(--border-strong));
  }
}

.relationship-badge, .status-badge {
  background: var(--portrait-color, #b96b8b);
  border-radius: 999px;
}

@supports (color: color-mix(in lab, red, red)) {
  .relationship-badge, .status-badge {
    background: color-mix(in oklch, var(--portrait-color, #b96b8b) 16%, transparent);
  }
}

.relationship-badge, .status-badge {
  color: var(--portrait-color, #b96b8b);
}

@supports (color: color-mix(in lab, red, red)) {
  .relationship-badge, .status-badge {
    color: color-mix(in oklch, var(--portrait-color, #b96b8b) 42%, var(--text));
  }
}

.relationship-badge, .status-badge {
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 750;
}

.character-title, .character-bio, .call-disclosure, .balance-panel p, .studio-heading-actions, .studio-character-row p, .fieldset-note, .field-group small, .publication-bar p {
  color: var(--muted);
}

.character-title {
  margin: .3rem 0 0;
  font-size: .9rem;
}

.character-bio {
  margin: 0;
}

.trait-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trait-list li {
  border: 1px solid var(--border);
  color: var(--muted);
  background: #ffffff07;
  background: lab(100% 0 0 / .028);
  border-radius: 999px;
  padding: .3rem .66rem;
  font-size: .76rem;
  font-style: italic;
}

.empty-state {
  border-block: 1px solid var(--border);
  max-width: 40rem;
  margin-top: 2rem;
  padding: 2.5rem 0;
}

.empty-state h2 {
  margin: .6rem 0;
  font-size: 2rem;
}

.inbox-page {
  width: 100%;
}

.inbox-page-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
  display: grid;
}

.inbox-page-heading h1 {
  letter-spacing: -.045em;
  max-width: 15ch;
  margin: .75rem 0 0;
  font-size: 3.5rem;
  font-weight: 650;
  line-height: 1.02;
}

.inbox-page-heading .page-lead {
  margin: 0;
}

.inbox-empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  max-width: 42rem;
  margin-top: clamp(2.5rem, 7vw, 5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.inbox-empty-state h2 {
  letter-spacing: -.035em;
  margin: .65rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.inbox-empty-state > p:not(.eyebrow) {
  color: var(--muted);
  margin: 1rem 0 1.4rem;
}

.inbox-character-groups {
  gap: clamp(2.5rem, 7vw, 5rem);
  margin-top: clamp(2.5rem, 7vw, 5rem);
  display: grid;
}

.inbox-character-group {
  gap: 1rem;
  display: grid;
}

.inbox-character-heading {
  border-left: .22rem solid var(--accent);
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  padding: .25rem 0 .25rem 1rem;
  display: flex;
}

.inbox-character-heading h2 {
  letter-spacing: -.035em;
  margin: .35rem 0 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.inbox-character-heading > p {
  color: var(--muted);
  margin: 0;
  font-size: .84rem;
}

.inbox-message-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  display: grid;
}

.inbox-message-card {
  --inbox-character-color: var(--accent);
  border: 1px solid var(--inbox-character-color);
  align-content: start;
  min-width: 0;
  display: grid;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .inbox-message-card {
    border: 1px solid color-mix(in oklch, var(--inbox-character-color) 42%, var(--border));
  }
}

.inbox-message-card {
  border-radius: var(--radius);
  background: linear-gradient(170deg,
    var(--inbox-character-color),
    var(--surface) 55%);
}

@supports (color: color-mix(in lab, red, red)) {
  .inbox-message-card {
    background: linear-gradient(170deg,
    color-mix(in oklch, var(--inbox-character-color) 9%, var(--surface-raised)),
    var(--surface) 55%);
  }
}

.inbox-message-card {
  box-shadow: inset 0 .18rem var(--inbox-character-color),
    var(--shadow);
}

@supports (color: color-mix(in lab, red, red)) {
  .inbox-message-card {
    box-shadow: inset 0 .18rem color-mix(in oklch, var(--inbox-character-color) 62%, transparent),
    var(--shadow);
  }
}

.inbox-message-card {
  scroll-margin-top: 1.5rem;
  transition: transform .24s cubic-bezier(.19, 1, .22, 1), box-shadow .24s;
}

.inbox-message-card:hover {
  transform: translateY(-.18rem);
}

.inbox-message-card.is-highlighted {
  border-color: var(--focus);
  box-shadow: inset 0 .18rem var(--focus),
    0 0 0 .18rem var(--focus),
    var(--shadow);
}

@supports (color: color-mix(in lab, red, red)) {
  .inbox-message-card.is-highlighted {
    box-shadow: inset 0 .18rem var(--focus),
    0 0 0 .18rem color-mix(in oklch, var(--focus) 35%, transparent),
    var(--shadow);
  }
}

.inbox-message-heading {
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  padding: 1rem 1rem .9rem;
  display: flex;
}

.inbox-message-heading h3 {
  margin: .25rem 0 0;
  font-size: 1.2rem;
}

.inbox-message-source {
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
  font-size: .7rem;
  font-weight: 750;
}

.inbox-message-meta {
  color: var(--muted);
  text-align: right;
  flex: none;
  justify-items: end;
  gap: .35rem;
  font-size: .74rem;
  display: grid;
}

.inbox-read-state {
  border: 1px solid var(--border);
  min-height: 1.75rem;
  color: var(--muted);
  border-radius: 999px;
  align-items: center;
  padding: .25rem .5rem;
  font-size: .68rem;
  font-weight: 750;
  display: inline-flex;
}

.inbox-read-state.is-delivered {
  border-color: var(--accent);
  color: var(--accent);
}

.inbox-message-image {
  aspect-ratio: 4 / 5;
  border-block: 1px solid var(--border);
  background: var(--page);
  object-fit: cover;
  object-position: center 22%;
  width: 100%;
  display: block;
}

.inbox-message-body {
  color: var(--text);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  margin: 0;
  padding: 1.15rem 1rem;
}

.inbox-message-actions {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  padding: .9rem 1rem 1rem;
  display: flex;
}

.inbox-message-actions form {
  margin: 0;
}

.inbox-call-unavailable {
  min-height: 2.75rem;
  color: var(--muted);
  align-items: center;
  font-size: .86rem;
  font-weight: 700;
  display: inline-flex;
}

.inbox-read-button {
  min-height: 2.75rem;
  color: var(--muted);
  cursor: pointer;
  text-underline-offset: .22em;
  touch-action: manipulation;
  background: none;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
}

.inbox-read-button:hover {
  color: var(--accent);
}

.profile-page > .back-link, .studio-form-page > .back-link {
  margin-bottom: 1.5rem;
}

.profile-hero {
  grid-template-columns: minmax(16rem, .75fr) minmax(18rem, 1fr) minmax(18rem, .8fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  display: grid;
}

.profile-introduction {
  gap: 1rem;
  display: grid;
}

.profile-introduction h1 {
  font-variation-settings: "SOFT" 80, "WONK" 1;
  letter-spacing: -.01em;
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 4.3rem);
  font-weight: 470;
  line-height: 1.02;
}

.profile-promise {
  color: var(--text);
  margin: 0;
  font-size: 1.15rem;
}

.call-card, .balance-panel, .plan-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .85rem;
  padding: 1.4rem;
}

.call-card {
  gap: 1rem;
  display: grid;
}

.call-card h2 {
  font-size: 1.55rem;
}

.call-facts, .personality-list, .plan-facts {
  margin: 0;
  display: grid;
}

.call-facts > div, .personality-list > div, .plan-facts > div {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding-block: .7rem;
  display: grid;
}

.call-facts dt, .personality-list dt, .plan-facts dt {
  color: var(--muted);
  font-size: .82rem;
}

.call-facts dd, .personality-list dd, .plan-facts dd {
  color: var(--text);
  text-align: right;
  margin: 0;
  font-weight: 700;
}

.call-disclosure {
  margin: 0;
  font-size: .82rem;
}

.call-cta {
  width: 100%;
}

.profile-content {
  border-block: 1px solid var(--border);
  background: var(--border);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4rem;
  display: grid;
}

.profile-content > section {
  background: var(--page);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.profile-content h2 {
  max-width: 20ch;
  margin-top: .6rem;
  font-size: 2rem;
}

.profile-story p, .profile-boundaries li {
  color: var(--muted);
}

.profile-story blockquote {
  border-block: 1px solid var(--border);
  color: var(--accent);
  margin: 2rem 0 0;
  padding: 1.2rem 0;
  font-size: 1.15rem;
}

.profile-image-preferences {
  grid-column: 1 / -1;
}

.image-preferences-introduction {
  max-width: 62ch;
  color: var(--muted);
}

.image-preferences-success {
  color: var(--accent);
  margin: 1.25rem 0 0;
  font-weight: 750;
}

.image-preferences-success + .image-preferences-form {
  margin-top: .75rem;
}

.image-preferences-form {
  gap: 1.5rem;
  max-width: 62rem;
  margin-top: 2rem;
  display: grid;
}

.image-preferences-fieldset {
  border: 0;
  border-top: 1px solid var(--border);
  gap: .8rem;
  margin: 0;
  padding: 1.2rem 0 0;
  display: grid;
}

.image-preferences-fieldset legend {
  color: var(--text);
  padding: 0 .75rem 0 0;
  font-weight: 750;
}

.image-preferences-toggle, .image-rating-option {
  cursor: pointer;
  touch-action: manipulation;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .8rem;
  min-height: 2.75rem;
  display: grid;
}

.image-preferences-toggle {
  width: fit-content;
  padding: .45rem .6rem .45rem 0;
}

.image-preferences-toggle input, .image-rating-option input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--accent);
  margin: 0;
}

.image-preferences-toggle span, .image-rating-option span {
  gap: .2rem;
  display: grid;
}

.image-preferences-toggle small, .image-rating-option small, .image-preferences-note {
  color: var(--muted);
  font-size: .86rem;
}

.image-rating-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  display: grid;
}

.image-rating-option {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .65rem;
  align-items: start;
  padding: .85rem;
}

.image-rating-option:hover {
  border-color: var(--accent);
}

.image-rating-option:has(input:checked) {
  border-color: var(--accent);
}

.image-preferences-note {
  margin: 0;
  padding-left: 2rem;
}

.image-preferences-submit {
  justify-self: start;
}

.personality-list {
  margin-top: 1.2rem;
}

.profile-boundaries {
  grid-column: 1 / -1;
}

.boundary-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
  display: grid;
}

.boundary-columns h3 {
  font-size: 1rem;
}

.boundary-columns ul {
  padding-left: 1.2rem;
}

.ai-disclosure {
  border: 1px solid var(--border-strong);
  color: var(--text);
  margin: 2rem 0 0;
  padding: 1rem;
  font-size: .9rem;
}

.account-summary {
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
  gap: 1rem;
  margin-top: 3rem;
  display: grid;
}

.balance-panel h2, .plan-panel h2 {
  margin-top: .6rem;
  font-size: 2.3rem;
}

.balance-panel progress {
  appearance: none;
  background: var(--border);
  border: 0;
  border-radius: 999px;
  width: 100%;
  height: .6rem;
  margin-top: 1rem;
  overflow: hidden;
}

.balance-panel progress::-webkit-progress-bar {
  background: var(--border);
}

.balance-panel progress::-webkit-progress-value {
  background: var(--accent);
}

.balance-panel progress::-moz-progress-bar {
  background: var(--accent);
}

.balance-rule {
  font-size: .82rem;
}

.plan-facts {
  margin-top: 1rem;
}

.ledger-section, .studio-list {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
}

.section-heading-row h2 {
  margin-top: .45rem;
  font-size: 2rem;
}

.section-heading-row > span, .section-heading-row > p {
  color: var(--muted);
  font-size: .82rem;
}

.table-scroll {
  margin-top: 1.25rem;
  overflow-x: auto;
}

.ledger-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  min-width: 42rem;
}

.ledger-table th, .ledger-table td {
  border-bottom: 1px solid var(--border);
  padding: .85rem;
}

.ledger-table th {
  color: var(--muted);
  text-transform: uppercase;
  font-size: .76rem;
}

.credit-positive {
  color: var(--accent);
  font-weight: 750;
}

.credit-negative {
  color: var(--text);
  font-weight: 750;
}

.studio-heading-actions {
  justify-items: start;
  display: grid;
}

.studio-heading-actions p {
  margin: 0;
}

.success-banner {
  border: 1px solid var(--accent);
  color: var(--accent);
  margin: 2rem 0 0;
  padding: .9rem 1rem;
  font-weight: 700;
}

.studio-metrics {
  border-block: 1px solid var(--border);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
}

.studio-metrics > div {
  align-content: center;
  gap: .2rem;
  min-height: 8rem;
  padding: 1rem;
  display: grid;
}

.studio-metrics > div + div {
  border-left: 1px solid var(--border);
}

.studio-metrics dt, .studio-metrics .metric-context {
  color: var(--muted);
  font-size: .76rem;
}

.studio-metrics dd {
  color: var(--text);
  margin: 0;
  font-size: 1.9rem;
  font-weight: 750;
}

.studio-metrics .metric-context {
  font-weight: 400;
}

.studio-character-list {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  display: grid;
}

.studio-character-row {
  border-bottom: 1px solid var(--border);
  grid-template-columns: minmax(13rem, 1fr) minmax(19rem, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 0;
  display: grid;
}

.studio-character-row h3 {
  margin-top: .55rem;
  font-size: 1.15rem;
}

.studio-character-row p {
  margin: .25rem 0 0;
  font-size: .84rem;
}

.studio-character-row dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  display: grid;
}

.studio-character-row dt {
  color: var(--muted);
  font-size: .7rem;
}

.studio-character-row dd {
  margin: .2rem 0 0;
  font-size: .85rem;
  font-weight: 700;
}

.status-published {
  border-color: var(--accent);
}

.status-draft, .status-archived, .quiet-status {
  color: var(--muted);
}

.quiet-status {
  font-size: .82rem;
}

.form-page-heading {
  margin-bottom: 2.5rem;
}

.studio-form {
  gap: 1rem;
  display: grid;
}

.studio-form fieldset {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .85rem;
  gap: 1rem;
  margin: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  display: grid;
}

.studio-form legend {
  color: var(--text);
  padding-inline: .45rem;
  font-size: 1.2rem;
  font-weight: 750;
}

.media-page .studio-heading {
  margin-top: 1.25rem;
}

.character-media-manager {
  margin-top: 3rem;
}

.media-section {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
}

.portrait-workspace {
  grid-template-columns: minmax(0, 1fr) minmax(19rem, .9fr);
  gap: 2rem;
  margin-top: 1.25rem;
  display: grid;
}

.portrait-preview-set {
  grid-template-columns: .8fr 1.2fr .8fr;
  align-items: end;
  gap: .9rem;
  display: grid;
}

.portrait-preview {
  min-width: 0;
  margin: 0;
}

.portrait-preview img, .media-asset-row img, .media-asset-row video, .media-bank-card > img, .media-bank-card > video {
  object-fit: cover;
  background: var(--surface-raised);
  width: 100%;
  display: block;
}

.portrait-preview img, .portrait-preview-empty {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  border-radius: .65rem;
}

.portrait-preview-empty {
  color: var(--muted);
  text-align: center;
  place-items: center;
  padding: .75rem;
  display: grid;
}

.portrait-preview-profile img, .portrait-preview-profile .portrait-preview-empty {
  border-color: var(--border-strong);
}

.portrait-preview figcaption {
  color: var(--muted);
  margin-top: .45rem;
  font-size: .78rem;
  font-weight: 700;
}

.portrait-prompt-section {
  justify-items: start;
  gap: .8rem;
  display: grid;
}

.portrait-prompt-text {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 100%;
  color: var(--text);
  resize: vertical;
  background: #0a0407bf;
  background: lab(1.47903% 2.04565 -.633332 / .75);
  padding: .9rem 1rem;
  font-family: ui-monospace, Cascadia Code, monospace;
  font-size: .82rem;
  line-height: 1.55;
}

.prompt-actions {
  flex-wrap: wrap;
  align-items: end;
  gap: .7rem;
  display: flex;
}

.prompt-control {
  color: var(--muted);
  gap: .3rem;
  font-size: .78rem;
  font-weight: 700;
  display: grid;
}

.prompt-control select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-height: 2.55rem;
  color: var(--text);
  background: #0a0407bf;
  background: lab(1.47903% 2.04565 -.633332 / .75);
  padding: .4rem .7rem;
}

.media-upload-form {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .75rem;
  gap: 1rem;
  padding: 1.1rem;
  display: grid;
}

.media-upload-form .primary-button {
  width: fit-content;
}

.media-tags-fieldset, .media-permissions {
  border: 0;
  margin: 0;
  padding: 0;
}

.media-tags-fieldset legend, .media-permissions legend {
  color: var(--text);
  margin-bottom: .45rem;
  padding: 0;
  font-size: .9rem;
  font-weight: 700;
}

.media-tag-options, .media-confirmations, .media-permissions {
  flex-wrap: wrap;
  gap: .6rem 1rem;
  display: flex;
}

.media-tag-options label, .media-confirmations label, .media-permissions label {
  color: var(--muted);
  align-items: flex-start;
  gap: .45rem;
  font-size: .84rem;
  display: inline-flex;
}

.portrait-candidates {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  display: grid;
}

.media-asset-row {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .8rem 0;
  display: grid;
}

.media-asset-row img {
  aspect-ratio: 1;
  border-radius: .5rem;
}

.media-asset-row h3, .media-bank-card h3 {
  margin: 0;
  font-size: 1rem;
}

.media-asset-row p, .media-meta {
  color: var(--muted);
  margin: .35rem 0 0;
  font-size: .8rem;
}

.media-status {
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 999px;
  margin-top: .4rem;
  padding: .14rem .5rem;
  font-size: .72rem;
  font-weight: 750;
  display: inline-flex;
}

.media-status-pending {
  border-color: var(--focus);
}

.media-status-approved {
  border-color: var(--accent);
}

.media-status-archived {
  color: var(--muted);
}

.media-bank-upload {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.media-bank-upload > :last-child, .media-bank-upload .media-confirmations {
  grid-column: 1 / -1;
}

.media-bank-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  display: grid;
}

.media-bank-card {
  border-bottom: 1px solid var(--border);
  min-width: 0;
  padding-bottom: 1rem;
}

.media-bank-card > img {
  aspect-ratio: 4 / 5;
  border-radius: .65rem;
}

.media-card-heading {
  justify-content: space-between;
  align-items: start;
  gap: .75rem;
  margin-top: .75rem;
  display: flex;
}

.media-card-heading .media-status {
  margin-top: 0;
}

.media-facts {
  gap: .4rem;
  margin: .9rem 0;
  display: grid;
}

.media-facts div {
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: .5rem;
  display: grid;
}

.media-facts dt {
  color: var(--muted);
  font-size: .76rem;
}

.media-facts dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: .78rem;
}

.media-metadata-editor {
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.media-metadata-editor summary {
  color: var(--text);
  cursor: pointer;
  padding: .8rem 0;
  font-size: .85rem;
  font-weight: 700;
}

.media-metadata-editor form {
  gap: .85rem;
  padding: 0 0 .5rem;
  display: grid;
}

.media-metadata-editor .secondary-button {
  width: fit-content;
}

.danger-button {
  border-color: var(--error);
}

@supports (color: color-mix(in lab, red, red)) {
  .danger-button {
    border-color: color-mix(in oklch, var(--error) 55%, var(--border-strong));
  }
}

.danger-button {
  color: var(--error);
}

.danger-button:hover:not(:disabled) {
  border-color: var(--error);
  background: var(--error);
}

@supports (color: color-mix(in lab, red, red)) {
  .danger-button:hover:not(:disabled) {
    background: color-mix(in oklch, var(--error) 14%, transparent);
  }
}

.danger-button:hover:not(:disabled) {
  color: var(--error);
}

.media-actions {
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
  display: flex;
}

.media-actions .secondary-button:disabled, .media-asset-row .secondary-button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.studio-message-composer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
}

.studio-message-composer .section-heading-row > p {
  text-align: right;
  max-width: 42ch;
}

.studio-message-form {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  margin-top: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  display: grid;
}

.studio-message-form[aria-busy="true"] {
  cursor: progress;
}

.studio-message-compatibility, .studio-message-body, .studio-message-notice {
  grid-column: 1 / -1;
}

.studio-message-compatibility {
  border-left: .2rem solid var(--accent);
  background: var(--surface-raised);
  color: var(--text);
  gap: .3rem;
  margin: 0;
  padding: .85rem 1rem;
  font-size: .9rem;
  display: grid;
}

.studio-message-compatibility small, .studio-message-form .field-group small, .studio-message-schedule small {
  color: var(--muted);
  font-size: .78rem;
}

.studio-message-delivery {
  border: 1px solid var(--border);
  border-radius: .65rem;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin: 0;
  padding: .85rem 1rem;
  display: flex;
}

.studio-message-delivery legend {
  color: var(--text);
  padding-inline: .35rem;
  font-size: .9rem;
  font-weight: 700;
}

.studio-message-delivery label {
  min-height: 2.75rem;
  color: var(--muted);
  cursor: pointer;
  touch-action: manipulation;
  align-items: center;
  gap: .5rem;
  display: inline-flex;
}

.studio-message-delivery input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
  margin: 0;
}

.studio-message-notice {
  border-block: 1px solid var(--border);
  margin: 0;
  padding: .75rem 0;
  font-weight: 700;
}

.studio-message-notice.is-success {
  color: var(--accent);
}

.studio-message-notice.is-error {
  color: var(--error);
}

.studio-message-submit {
  justify-self: start;
}

.fieldset-note {
  margin: 0;
  font-size: .85rem;
}

.form-grid {
  gap: 1rem;
  display: grid;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-group small {
  font-size: .76rem;
}

.field-group input[type="color"] {
  padding: .35rem;
}

.private-field {
  border: 1px solid var(--border-strong);
  padding: 1rem;
}

.publication-bar {
  border-block: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 0;
  display: flex;
}

.publication-bar p {
  margin: .25rem 0 0;
  font-size: .82rem;
}

.precall-page, .call-room, .call-recovery-page {
  width: 100%;
}

.call-recovery-page {
  max-width: 42rem;
  margin-inline: auto;
}

.call-recovery-page h1 {
  letter-spacing: -.05em;
  margin: .65rem 0 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.precall-page > .back-link {
  margin-bottom: 1.5rem;
}

.precall-grid {
  grid-template-columns: minmax(18rem, .78fr) minmax(22rem, 1.22fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  display: grid;
}

.precall-portrait {
  position: sticky;
  top: 1.5rem;
}

.mode-chip, .call-ai-chip {
  border: 1px solid var(--border-strong);
  background: var(--page);
  border-radius: 999px;
  align-items: center;
  min-height: 2rem;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .mode-chip, .call-ai-chip {
    background: color-mix(in oklch, var(--page) 86%, transparent);
  }
}

.mode-chip, .call-ai-chip {
  color: var(--text);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}

.mode-chip {
  z-index: 2;
  padding: .35rem .65rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.precall-copy {
  gap: 1.35rem;
  display: grid;
}

.precall-copy h1, .call-room h1, .call-summary-page h1 {
  letter-spacing: -.055em;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 650;
  line-height: .98;
}

.precall-copy .page-lead {
  margin: 0;
}

.precall-facts, .live-call-facts {
  border-block: 1px solid var(--border);
  margin: 0;
  display: grid;
}

.precall-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.precall-facts > div, .live-call-facts > div {
  gap: .25rem;
  padding: 1rem;
  display: grid;
}

.precall-facts > div:nth-child(2n) {
  border-left: 1px solid var(--border);
}

.precall-facts > div:nth-child(n+3) {
  border-top: 1px solid var(--border);
}

.precall-facts dt, .live-call-facts dt {
  color: var(--muted);
  font-size: .76rem;
}

.precall-facts dd, .live-call-facts dd {
  color: var(--text);
  margin: 0;
  font-weight: 750;
}

.truth-panel {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: .8rem;
  padding: 1.15rem;
}

.truth-panel strong {
  color: var(--accent);
}

.truth-panel p {
  color: var(--muted);
  margin: .65rem 0 0;
  font-size: .88rem;
}

.consent-list {
  border: 1px solid var(--border);
  border-radius: .8rem;
  gap: .85rem;
  margin: 0;
  padding: 1.1rem;
  display: grid;
}

.consent-list legend {
  color: var(--text);
  padding-inline: .35rem;
  font-weight: 750;
}

.consent-list label {
  color: var(--muted);
  cursor: pointer;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  font-size: .88rem;
  display: grid;
}

.consent-list input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent-strong);
  margin-top: .12rem;
}

.precall-actions {
  flex-wrap: wrap;
  gap: .75rem;
  display: flex;
}

.precall-actions .primary-button:disabled {
  cursor: not-allowed;
}

.call-room {
  max-width: 62rem;
  margin-inline: auto;
}

.call-room-header {
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
}

.call-room-header h1 {
  margin-top: .45rem;
}

.call-clock {
  font-variant-numeric: tabular-nums;
  justify-items: end;
  display: grid;
}

.call-clock span {
  font-size: 1.65rem;
  font-weight: 750;
}

.call-clock small {
  color: var(--accent);
  font-weight: 700;
}

.call-stage {
  border-radius: var(--radius);
  background: radial-gradient(circle at 70% 12%, var(--accent), transparent 42%),
    linear-gradient(168deg, var(--surface-raised), var(--surface) 58%) padding-box;
  border: 1px solid #0000;
  grid-template-columns: minmax(18rem, .82fr) minmax(18rem, 1fr);
  gap: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  display: grid;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .call-stage {
    background: radial-gradient(circle at 70% 12%, color-mix(in oklch, var(--accent) 13%, transparent), transparent 42%),
    linear-gradient(168deg, var(--surface-raised), var(--surface) 58%) padding-box;
  }
}

.call-stage {
  box-shadow: var(--shadow), 0 0 0 1px #724a5b47;
  background-clip: padding-box;
}

.call-presence {
  grid-row: 1 / span 4;
  position: relative;
}

.call-presence:before {
  content: "";
  z-index: 0;
  background: radial-gradient(closest-side,
    var(--accent),
    transparent 72%);
  border-radius: 50%;
  position: absolute;
  inset: -12% -14%;
}

@supports (color: color-mix(in lab, red, red)) {
  .call-presence:before {
    background: radial-gradient(closest-side,
    color-mix(in oklch, var(--accent) 26%, transparent),
    transparent 72%);
  }
}

.call-presence:before {
  filter: blur(18px);
  pointer-events: none;
  animation: 4.6s ease-in-out infinite lips-breathe;
}

@keyframes lips-breathe {
  0%, 100% {
    opacity: .5;
    transform: scale(.97);
  }

  50% {
    opacity: .85;
    transform: scale(1.03);
  }
}

.call-presence .character-portrait-profile {
  z-index: 1;
  transform-origin: bottom;
  transition: filter 80ms linear, opacity .24s ease-out, transform 80ms linear;
  position: relative;
}

.call-presence.state-parole .character-portrait-profile {
  filter: brightness(calc(1 + (var(--voice-energy, 0) * .12)));
  transform: scale(calc(1 + (var(--voice-energy, 0) * .012)));
}

.call-presence.state-reconnexion .character-portrait-profile, .call-presence.state-connexion .character-portrait-profile {
  filter: saturate(.72);
  opacity: .82;
}

.call-ai-chip {
  z-index: 2;
  padding: .35rem .6rem;
  position: absolute;
  bottom: .8rem;
  right: .8rem;
}

.call-status {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: .85rem;
  min-height: 5.5rem;
  padding-bottom: 1rem;
  display: flex;
}

.call-status strong {
  font-size: 1.25rem;
}

.call-status p {
  color: var(--muted);
  margin: .15rem 0 0;
  font-size: .86rem;
}

.status-orb {
  background: var(--accent);
  width: .85rem;
  height: .85rem;
  box-shadow: 0 0 0 .4rem var(--accent);
  border-radius: 50%;
  flex: none;
}

@supports (color: color-mix(in lab, red, red)) {
  .status-orb {
    box-shadow: 0 0 0 .4rem color-mix(in oklch, var(--accent) 14%, transparent);
  }
}

.status-reconnexion, .status-connexion {
  background: var(--muted);
  box-shadow: 0 0 0 .4rem var(--muted);
}

@supports (color: color-mix(in lab, red, red)) {
  .status-reconnexion, .status-connexion {
    box-shadow: 0 0 0 .4rem color-mix(in oklch, var(--muted) 12%, transparent);
  }
}

.status-erreur, .status-solde_epuise {
  background: var(--error);
  box-shadow: 0 0 0 .4rem var(--error);
}

@supports (color: color-mix(in lab, red, red)) {
  .status-erreur, .status-solde_epuise {
    box-shadow: 0 0 0 .4rem color-mix(in oklch, var(--error) 12%, transparent);
  }
}

.voice-wave {
  justify-content: center;
  align-items: center;
  gap: .32rem;
  min-height: 8rem;
  display: flex;
}

.voice-wave span {
  transform-origin: center;
  background: #6e4d5c;
  background: lab(36.6919% 16.366 -3.12175);
  border-radius: 999px;
  width: .24rem;
  height: .85rem;
}

.voice-wave.is-speaking span {
  background: linear-gradient(180deg, var(--gold), var(--accent) 55%, var(--accent-strong));
  animation: .78s ease-in-out infinite alternate lips-wave;
  animation-delay: calc(var(--wave-index) * -70ms);
  box-shadow: 0 0 .6rem #f387a766;
  box-shadow: 0 0 .6rem lab(69.3282% 44.5047 2.37379 / .4);
}

.call-conversation {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--page);
  align-content: start;
  gap: .55rem;
  min-height: 12rem;
  max-height: clamp(14rem, 38vh, 24rem);
  padding: .9rem;
  display: grid;
  overflow-y: auto;
}

@supports (color: color-mix(in lab, red, red)) {
  .call-conversation {
    background: color-mix(in oklch, var(--page) 46%, transparent);
  }
}

.call-conversation {
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.conversation-empty {
  color: var(--muted);
  text-align: center;
  margin: auto;
  font-size: .85rem;
  font-style: italic;
}

.conversation-feed {
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.chat-turn {
  align-items: flex-end;
  gap: .5rem;
  max-width: min(88%, 36rem);
  animation: .34s cubic-bezier(.19, 1, .22, 1) both lips-rise;
  display: flex;
}

.chat-turn.from-character {
  justify-self: start;
}

.chat-turn.from-member {
  flex-direction: row-reverse;
  justify-self: end;
}

.chat-avatar {
  border-radius: 50%;
  flex: none;
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  box-shadow: 0 0 0 1px #ffffff1a;
  box-shadow: 0 0 0 1px lab(100% 0 0 / .1);
}

.chat-avatar .character-portrait-compact {
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.chat-avatar .portrait-ai-mark, .chat-avatar .portrait-initials {
  display: none;
}

.member-avatar {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  width: 100%;
  height: 100%;
  color: var(--accent-ink);
  border-radius: 50%;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  display: grid;
}

.chat-bubble {
  gap: .14rem;
  min-width: 0;
  padding: .55rem .85rem .62rem;
  font-size: .9rem;
  line-height: 1.45;
  display: grid;
}

.chat-bubble .chat-author {
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0;
  font-size: .64rem;
  font-weight: 750;
}

.chat-bubble .chat-text {
  overflow-wrap: anywhere;
  margin: 0;
}

.chat-turn.from-character .chat-bubble {
  border: 1px solid
    var(--portrait-color, #b96b8b);
}

@supports (color: color-mix(in lab, red, red)) {
  .chat-turn.from-character .chat-bubble {
    border: 1px solid
    color-mix(in oklch, var(--portrait-color, #b96b8b) 42%, var(--border));
  }
}

.chat-turn.from-character .chat-bubble {
  background: var(--portrait-color, #b96b8b);
  border-radius: 1.1rem 1.1rem 1.1rem .3rem;
}

@supports (color: color-mix(in lab, red, red)) {
  .chat-turn.from-character .chat-bubble {
    background: color-mix(in oklch,
    var(--portrait-color, #b96b8b) 16%,
    var(--surface-raised));
  }
}

.chat-turn.from-character .chat-author {
  color: var(--portrait-color, #b96b8b);
}

@supports (color: color-mix(in lab, red, red)) {
  .chat-turn.from-character .chat-author {
    color: color-mix(in oklch, var(--portrait-color, #b96b8b) 45%, var(--text));
  }
}

.chat-turn.from-member .chat-bubble {
  background: linear-gradient(180deg,
    var(--accent),
    var(--accent-strong));
  border: 1px solid #ff90ad66;
  border: 1px solid lab(72.7741% 46.1616 4.36689 / .4);
  border-radius: 1.1rem 1.1rem .3rem;
}

@supports (color: color-mix(in lab, red, red)) {
  .chat-turn.from-member .chat-bubble {
    background: linear-gradient(180deg,
    color-mix(in oklch, var(--accent) 26%, var(--surface-raised)),
    color-mix(in oklch, var(--accent-strong) 22%, var(--surface)));
  }
}

.chat-turn.from-member .chat-author {
  color: var(--accent);
}

.chat-turn.is-draft .chat-bubble {
  opacity: .72;
}

.chat-turn.is-draft .chat-text:after {
  content: "…";
}

.speaking-bubble {
  align-items: center;
  gap: .3rem;
  min-height: 2.1rem;
  padding: .55rem .85rem;
  display: inline-flex;
}

.speaking-bubble span {
  background: var(--portrait-color, #b96b8b);
  border-radius: 50%;
  width: .42rem;
  height: .42rem;
}

@supports (color: color-mix(in lab, red, red)) {
  .speaking-bubble span {
    background: color-mix(in oklch, var(--portrait-color, #b96b8b) 65%, var(--text));
  }
}

.speaking-bubble span {
  animation: 1.1s ease-in-out infinite lips-typing;
}

.speaking-bubble span:nth-child(2) {
  animation-delay: .16s;
}

.speaking-bubble span:nth-child(3) {
  animation-delay: .32s;
}

@keyframes lips-typing {
  0%, 60%, 100% {
    opacity: .35;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-.22rem);
  }
}

@keyframes lips-wave {
  from {
    transform: scaleY(.55);
  }

  to {
    transform: scaleY(4.6);
  }
}

.live-call-facts {
  grid-template-columns: 1fr;
}

.live-call-facts > div {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 1fr auto;
}

.live-call-facts > div:last-child {
  border-bottom: 0;
}

.live-call-facts dd {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.call-inbox-notice {
  border: 1px solid var(--border-strong);
  border-radius: calc(var(--radius) * .7);
  background: var(--surface-raised);
  max-width: 26rem;
  color: var(--text);
  text-align: center;
  margin: 1rem auto 0;
  padding: .7rem 1rem;
  font-size: .95rem;
}

.call-inbox-notice a {
  color: var(--accent);
  white-space: nowrap;
  font-weight: 600;
}

.call-controls {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  margin-top: 1.25rem;
  display: flex;
}

.round-control, .hangup-button {
  cursor: pointer;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  min-height: 3rem;
  font-weight: 750;
  display: inline-flex;
}

.round-control {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  background: #2a1923cc;
  background: lab(11.4004% 10.2099 -3.22023 / .8);
  border: 1px solid #7452628c;
  border: 1px solid lab(39.012% 16.3788 -3.12262 / .55);
  padding: .65rem .9rem;
  transition: border-color .15s ease-out, color .15s ease-out, transform .12s ease-out;
}

.round-control:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.round-control:disabled {
  cursor: not-allowed;
  opacity: .46;
}

.round-control > span, .hangup-button > span {
  font-size: 1.2rem;
  line-height: 1;
}

.volume-control {
  min-width: 9rem;
  color: var(--muted);
  gap: .15rem;
  padding-inline: .5rem;
  font-size: .68rem;
  font-weight: 700;
  display: grid;
}

.volume-control input {
  width: 100%;
  accent-color: var(--accent);
}

.hangup-button {
  border: 1px solid var(--error);
  background: var(--error);
}

@supports (color: color-mix(in lab, red, red)) {
  .hangup-button {
    background: color-mix(in oklch, var(--error) 18%, var(--surface));
  }
}

.hangup-button {
  color: var(--text);
  padding: .7rem 1.1rem;
}

.hangup-button:hover:not(:disabled) {
  background: var(--error);
}

@supports (color: color-mix(in lab, red, red)) {
  .hangup-button:hover:not(:disabled) {
    background: color-mix(in oklch, var(--error) 30%, var(--surface));
  }
}

.hangup-button:disabled {
  cursor: wait;
  opacity: .65;
}

.call-truth-note {
  color: var(--muted);
  text-align: center;
  margin: 1.1rem auto 0;
  font-size: .76rem;
}

.call-summary-page {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
}

.summary-hero {
  grid-template-columns: minmax(16rem, .65fr) minmax(20rem, 1.35fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  display: grid;
}

.summary-copy {
  gap: 1rem;
  display: grid;
}

.summary-finish-reason {
  border: 1px solid var(--border-strong);
  width: fit-content;
  color: var(--accent);
  border-radius: 999px;
  margin: 0;
  padding: .4rem .7rem;
  font-size: .78rem;
  font-weight: 750;
}

.summary-copy .page-lead {
  margin: 0;
}

.summary-metrics {
  border-block: 1px solid var(--border);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 3rem 0;
  display: grid;
}

.summary-metrics > div {
  padding: 1.2rem;
}

.summary-metrics > div + div {
  border-left: 1px solid var(--border);
}

.summary-metrics dt {
  color: var(--muted);
  font-size: .74rem;
}

.summary-metrics dd {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin: .35rem 0 0;
  font-size: 1.25rem;
  font-weight: 750;
}

.summary-truth {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: .9rem;
  max-width: 48rem;
  padding: clamp(1.3rem, 4vw, 2.5rem);
}

.summary-truth h2 {
  letter-spacing: -.035em;
  margin: .45rem 0 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.summary-truth p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.summary-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  display: flex;
}

@media (max-width: 56rem) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .app-nav {
    scrollbar-width: none;
    grid-area: 2 / 1 / auto / -1;
    justify-content: flex-start;
    padding-bottom: .25rem;
    overflow-x: auto;
  }

  .app-nav::-webkit-scrollbar {
    display: none;
  }

  .account-identity {
    display: none;
  }

  .catalogue-heading, .account-heading, .studio-heading, .form-page-heading, .inbox-page-heading, .profile-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .inbox-page-heading .page-lead {
    margin: 0;
  }

  .inbox-message-list {
    grid-template-columns: 1fr;
  }

  .character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-hero {
    max-width: 44rem;
  }

  .precall-grid, .call-stage, .summary-hero {
    grid-template-columns: 1fr;
  }

  .precall-portrait {
    position: relative;
    top: auto;
  }

  .call-presence {
    grid-row: auto;
  }

  .summary-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-metrics > div:nth-child(3) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .summary-metrics > div:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .studio-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-metrics > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .studio-metrics > div:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .studio-character-row {
    grid-template-columns: 1fr auto;
  }

  .studio-character-row dl {
    grid-area: 2 / 1 / auto / -1;
  }

  .portrait-workspace {
    grid-template-columns: 1fr;
  }

  .media-bank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .media-bank-upload, .media-bank-grid {
    grid-template-columns: 1fr;
  }

  .media-asset-row {
    grid-template-columns: 3.75rem minmax(0, 1fr);
  }

  .media-asset-row .secondary-button {
    grid-column: 1 / -1;
  }

  .studio-message-form {
    grid-template-columns: 1fr;
  }

  .studio-message-compatibility, .studio-message-body, .studio-message-notice {
    grid-column: 1;
  }

  .studio-message-composer .section-heading-row > p {
    text-align: left;
  }

  .studio-message-submit {
    width: 100%;
  }

  .inbox-character-heading, .inbox-message-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .inbox-message-meta {
    text-align: left;
    justify-items: start;
  }

  .inbox-message-actions, .inbox-message-actions .secondary-button, .inbox-call-unavailable, .inbox-message-actions form, .inbox-read-button {
    width: 100%;
  }

  .entry-page {
    align-items: stretch;
    padding: 0;
  }

  .entry-panel {
    min-height: 100vh;
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }

  .entry-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-header {
    gap: .85rem;
  }

  .app-nav {
    gap: .25rem;
  }

  .app-nav a {
    padding-inline: .5rem;
  }

  .nav-actions {
    justify-self: end;
    gap: .45rem;
  }

  .balance-chip {
    padding-inline: .45rem;
    font-size: .72rem;
  }

  .logout-button {
    padding-inline: .55rem;
    font-size: .76rem;
  }

  .wide-label {
    display: none;
  }

  .compact-label {
    display: inline;
  }

  .entry-copy h1, .compact-copy h1, .foundation-page h1, .catalogue-heading h1, .account-heading h1, .studio-heading h1, .form-page-heading h1, .account-page > h1, .inbox-page-heading h1, .profile-introduction h1 {
    font-size: 2.25rem;
  }

  .foundation-status {
    grid-template-columns: 1fr;
  }

  .foundation-status > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .catalogue-filters, .character-grid, .profile-content, .boundary-columns, .image-rating-options, .account-summary, .two-columns {
    grid-template-columns: 1fr;
  }

  .catalogue-filters {
    align-items: stretch;
  }

  .catalogue-results-heading, .section-heading-row, .publication-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-content > section, .profile-boundaries {
    grid-column: 1;
  }

  .call-facts > div, .personality-list > div, .plan-facts > div {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .call-facts dd, .personality-list dd, .plan-facts dd {
    text-align: left;
  }

  .studio-metrics {
    grid-template-columns: 1fr;
  }

  .studio-metrics > div + div, .studio-metrics > div:nth-child(3), .studio-metrics > div:nth-child(4) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .studio-character-row {
    grid-template-columns: 1fr;
  }

  .studio-character-row dl, .studio-character-row .secondary-button, .studio-character-row .quiet-status {
    grid-area: auto / 1;
  }

  .studio-character-row dl {
    grid-template-columns: 1fr;
  }

  .publication-bar .primary-button {
    width: 100%;
  }

  .precall-facts {
    grid-template-columns: 1fr;
  }

  .precall-facts > div:nth-child(2n) {
    border-left: 0;
  }

  .precall-facts > div + div {
    border-top: 1px solid var(--border);
  }

  .precall-actions, .precall-actions .primary-button, .precall-actions .secondary-button {
    width: 100%;
  }

  .call-room-header {
    align-items: flex-start;
  }

  .call-clock {
    flex: none;
  }

  .call-controls {
    align-items: stretch;
  }

  .volume-control {
    order: 3;
    width: 100%;
    padding-block: .5rem;
  }

  .summary-metrics {
    grid-template-columns: 1fr;
  }

  .summary-metrics > div + div, .summary-metrics > div:nth-child(3), .summary-metrics > div:nth-child(4) {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .summary-actions, .summary-actions .primary-button, .summary-actions .secondary-button, .summary-actions .back-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__0mjhm7e._.css.map*/