/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: "Platform UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-orange-50: oklch(98% 0.016 73.684);
    --color-orange-800: oklch(47% 0.157 37.304);
    --color-amber-50: oklch(98.7% 0.022 95.277);
    --color-amber-100: oklch(96.2% 0.059 95.617);
    --color-amber-200: oklch(92.4% 0.12 95.746);
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-amber-600: oklch(66.6% 0.179 58.318);
    --color-amber-700: oklch(55.5% 0.163 48.998);
    --color-amber-800: oklch(47.3% 0.137 46.201);
    --color-amber-900: oklch(41.4% 0.112 45.904);
    --color-amber-950: oklch(27.9% 0.077 45.635);
    --color-emerald-50: oklch(97.9% 0.021 166.113);
    --color-emerald-100: oklch(95% 0.052 163.051);
    --color-emerald-200: oklch(90.5% 0.093 164.15);
    --color-emerald-300: oklch(84.5% 0.143 164.978);
    --color-emerald-400: oklch(76.5% 0.177 163.223);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-emerald-600: oklch(59.6% 0.145 163.225);
    --color-emerald-700: oklch(50.8% 0.118 165.612);
    --color-emerald-800: oklch(43.2% 0.095 166.913);
    --color-emerald-950: oklch(26.2% 0.051 172.552);
    --color-cyan-300: oklch(86.5% 0.127 207.078);
    --color-sky-50: oklch(97.7% 0.013 236.62);
    --color-sky-100: oklch(95.1% 0.026 236.824);
    --color-sky-200: oklch(90.1% 0.058 230.902);
    --color-sky-600: oklch(58.8% 0.158 241.966);
    --color-sky-700: oklch(50% 0.134 242.749);
    --color-blue-50: oklch(97% 0.014 254.604);
    --color-blue-100: oklch(93.2% 0.032 255.585);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-900: oklch(37.9% 0.146 265.522);
    --color-violet-50: oklch(96.9% 0.016 293.756);
    --color-violet-700: oklch(49.1% 0.27 292.581);
    --color-rose-50: oklch(96.9% 0.015 12.422);
    --color-rose-100: oklch(94.1% 0.03 12.58);
    --color-rose-200: oklch(89.2% 0.058 10.001);
    --color-rose-300: oklch(81% 0.117 11.638);
    --color-rose-500: oklch(64.5% 0.246 16.439);
    --color-rose-600: oklch(58.6% 0.253 17.585);
    --color-rose-700: oklch(51.4% 0.222 16.935);
    --color-rose-800: oklch(45.5% 0.188 13.697);
    --color-slate-50: oklch(98.4% 0.003 247.858);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-400: oklch(70.4% 0.04 256.788);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-800: oklch(27.9% 0.041 260.031);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-slate-950: oklch(12.9% 0.042 264.695);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-xs: 20rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-6xl: 72rem;
    --container-7xl: 80rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --font-weight-light: 300;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    --tracking-tight: -0.025em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --animate-spin: spin 1s linear infinite;
    --blur-sm: 8px;
    --blur-md: 12px;
    --blur-xl: 24px;
    --blur-3xl: 64px;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --font-display: "Platform UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --color-brand-50: #f0fdfa;
    --color-brand-100: #ccfbf1;
    --color-brand-200: #99f6e4;
    --color-brand-500: #14b8a6;
    --color-brand-600: #0d9488;
    --color-brand-700: #0f766e;
    --color-brand-900: #134e4a;
    --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.02), 0 1px 3px rgba(15, 23, 42, 0.05);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    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;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.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 {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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)) {
        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, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-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"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .inset-2 {
    inset: calc(var(--spacing) * 2);
  }
  .inset-x-0 {
    inset-inline: calc(var(--spacing) * 0);
  }
  .inset-x-4 {
    inset-inline: calc(var(--spacing) * 4);
  }
  .inset-y-0 {
    inset-block: calc(var(--spacing) * 0);
  }
  .\!start {
    inset-inline-start: var(--spacing) !important;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .-top-1 {
    top: calc(var(--spacing) * -1);
  }
  .-top-10 {
    top: calc(var(--spacing) * -10);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .top-1\/2 {
    top: calc(1 / 2 * 100%);
  }
  .top-5 {
    top: calc(var(--spacing) * 5);
  }
  .top-10 {
    top: calc(var(--spacing) * 10);
  }
  .top-12 {
    top: calc(var(--spacing) * 12);
  }
  .top-24 {
    top: calc(var(--spacing) * 24);
  }
  .top-28 {
    top: calc(var(--spacing) * 28);
  }
  .top-full {
    top: 100%;
  }
  .-right-1 {
    right: calc(var(--spacing) * -1);
  }
  .-right-10 {
    right: calc(var(--spacing) * -10);
  }
  .right-0 {
    right: calc(var(--spacing) * 0);
  }
  .right-2 {
    right: calc(var(--spacing) * 2);
  }
  .right-2\.5 {
    right: calc(var(--spacing) * 2.5);
  }
  .right-3 {
    right: calc(var(--spacing) * 3);
  }
  .right-5 {
    right: calc(var(--spacing) * 5);
  }
  .right-full {
    right: 100%;
  }
  .-bottom-1 {
    bottom: calc(var(--spacing) * -1);
  }
  .bottom-2 {
    bottom: calc(var(--spacing) * 2);
  }
  .bottom-4 {
    bottom: calc(var(--spacing) * 4);
  }
  .bottom-5 {
    bottom: calc(var(--spacing) * 5);
  }
  .bottom-full {
    bottom: 100%;
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .left-1\/2 {
    left: calc(1 / 2 * 100%);
  }
  .left-3 {
    left: calc(var(--spacing) * 3);
  }
  .left-3\.5 {
    left: calc(var(--spacing) * 3.5);
  }
  .left-4 {
    left: calc(var(--spacing) * 4);
  }
  .-z-10 {
    z-index: calc(10 * -1);
  }
  .z-0 {
    z-index: 0;
  }
  .z-10 {
    z-index: 10;
  }
  .z-20 {
    z-index: 20;
  }
  .z-30 {
    z-index: 30;
  }
  .z-40 {
    z-index: 40;
  }
  .z-50 {
    z-index: 50;
  }
  .z-\[100\] {
    z-index: 100;
  }
  .z-\[120\] {
    z-index: 120;
  }
  .order-1 {
    order: 1;
  }
  .order-2 {
    order: 2;
  }
  .order-3 {
    order: 3;
  }
  .order-4 {
    order: 4;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .-m-6 {
    margin: calc(var(--spacing) * -6);
  }
  .m-3 {
    margin: calc(var(--spacing) * 3);
  }
  .-mx-2 {
    margin-inline: calc(var(--spacing) * -2);
  }
  .mx-4 {
    margin-inline: calc(var(--spacing) * 4);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .my-2 {
    margin-block: calc(var(--spacing) * 2);
  }
  .my-3 {
    margin-block: calc(var(--spacing) * 3);
  }
  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }
  .my-8 {
    margin-block: calc(var(--spacing) * 8);
  }
  .my-12 {
    margin-block: calc(var(--spacing) * 12);
  }
  .mt-0\.5 {
    margin-top: calc(var(--spacing) * 0.5);
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-1\.5 {
    margin-top: calc(var(--spacing) * 1.5);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-2\.5 {
    margin-top: calc(var(--spacing) * 2.5);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-7 {
    margin-top: calc(var(--spacing) * 7);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-9 {
    margin-top: calc(var(--spacing) * 9);
  }
  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }
  .mt-12 {
    margin-top: calc(var(--spacing) * 12);
  }
  .mt-14 {
    margin-top: calc(var(--spacing) * 14);
  }
  .mt-\[5px\] {
    margin-top: 5px;
  }
  .mt-\[10px\] {
    margin-top: 10px;
  }
  .mt-\[22px\] {
    margin-top: 22px;
  }
  .mt-\[62px\] {
    margin-top: 62px;
  }
  .mt-auto {
    margin-top: auto;
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mr-3 {
    margin-right: calc(var(--spacing) * 3);
  }
  .mr-4 {
    margin-right: calc(var(--spacing) * 4);
  }
  .mr-auto {
    margin-right: auto;
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-1\.5 {
    margin-bottom: calc(var(--spacing) * 1.5);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-2\.5 {
    margin-bottom: calc(var(--spacing) * 2.5);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-7 {
    margin-bottom: calc(var(--spacing) * 7);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .mb-10 {
    margin-bottom: calc(var(--spacing) * 10);
  }
  .mb-11 {
    margin-bottom: calc(var(--spacing) * 11);
  }
  .mb-12 {
    margin-bottom: calc(var(--spacing) * 12);
  }
  .mb-14 {
    margin-bottom: calc(var(--spacing) * 14);
  }
  .mb-16 {
    margin-bottom: calc(var(--spacing) * 16);
  }
  .mb-20 {
    margin-bottom: calc(var(--spacing) * 20);
  }
  .mb-auto {
    margin-bottom: auto;
  }
  .ml-0\.5 {
    margin-left: calc(var(--spacing) * 0.5);
  }
  .ml-1 {
    margin-left: calc(var(--spacing) * 1);
  }
  .ml-1\.5 {
    margin-left: calc(var(--spacing) * 1.5);
  }
  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }
  .ml-auto {
    margin-left: auto;
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .\!block {
    display: block !important;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .aspect-\[16\/9\] {
    aspect-ratio: 16/9;
  }
  .aspect-\[16\/10\] {
    aspect-ratio: 16/10;
  }
  .h-1 {
    height: calc(var(--spacing) * 1);
  }
  .h-1\.5 {
    height: calc(var(--spacing) * 1.5);
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-2\.5 {
    height: calc(var(--spacing) * 2.5);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-3\.5 {
    height: calc(var(--spacing) * 3.5);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-11 {
    height: calc(var(--spacing) * 11);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-14 {
    height: calc(var(--spacing) * 14);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-20 {
    height: calc(var(--spacing) * 20);
  }
  .h-24 {
    height: calc(var(--spacing) * 24);
  }
  .h-32 {
    height: calc(var(--spacing) * 32);
  }
  .h-36 {
    height: calc(var(--spacing) * 36);
  }
  .h-40 {
    height: calc(var(--spacing) * 40);
  }
  .h-44 {
    height: calc(var(--spacing) * 44);
  }
  .h-48 {
    height: calc(var(--spacing) * 48);
  }
  .h-52 {
    height: calc(var(--spacing) * 52);
  }
  .h-64 {
    height: calc(var(--spacing) * 64);
  }
  .h-\[24rem\] {
    height: 24rem;
  }
  .h-\[28rem\] {
    height: 28rem;
  }
  .h-auto {
    height: auto;
  }
  .h-full {
    height: 100%;
  }
  .h-px {
    height: 1px;
  }
  .h-screen {
    height: 100vh;
  }
  .max-h-36 {
    max-height: calc(var(--spacing) * 36);
  }
  .max-h-64 {
    max-height: calc(var(--spacing) * 64);
  }
  .max-h-72 {
    max-height: calc(var(--spacing) * 72);
  }
  .max-h-96 {
    max-height: calc(var(--spacing) * 96);
  }
  .max-h-\[52vh\] {
    max-height: 52vh;
  }
  .max-h-\[78vh\] {
    max-height: 78vh;
  }
  .max-h-\[calc\(100vh-15rem\)\] {
    max-height: calc(100vh - 15rem);
  }
  .max-h-\[min\(30rem\,calc\(100vh-7rem\)\)\] {
    max-height: min(30rem, calc(100vh - 7rem));
  }
  .min-h-0 {
    min-height: calc(var(--spacing) * 0);
  }
  .min-h-11 {
    min-height: calc(var(--spacing) * 11);
  }
  .min-h-14 {
    min-height: calc(var(--spacing) * 14);
  }
  .min-h-16 {
    min-height: calc(var(--spacing) * 16);
  }
  .min-h-24 {
    min-height: calc(var(--spacing) * 24);
  }
  .min-h-28 {
    min-height: calc(var(--spacing) * 28);
  }
  .min-h-\[18rem\] {
    min-height: 18rem;
  }
  .min-h-\[21rem\] {
    min-height: 21rem;
  }
  .min-h-\[28rem\] {
    min-height: 28rem;
  }
  .min-h-\[34rem\] {
    min-height: 34rem;
  }
  .min-h-\[46px\] {
    min-height: 46px;
  }
  .min-h-\[70vh\] {
    min-height: 70vh;
  }
  .min-h-\[100dvh\] {
    min-height: 100dvh;
  }
  .min-h-\[calc\(100vh-160px\)\] {
    min-height: calc(100vh - 160px);
  }
  .min-h-full {
    min-height: 100%;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-1\.5 {
    width: calc(var(--spacing) * 1.5);
  }
  .w-1\/2 {
    width: calc(1 / 2 * 100%);
  }
  .w-2 {
    width: calc(var(--spacing) * 2);
  }
  .w-2\.5 {
    width: calc(var(--spacing) * 2.5);
  }
  .w-2\/3 {
    width: calc(2 / 3 * 100%);
  }
  .w-3 {
    width: calc(var(--spacing) * 3);
  }
  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }
  .w-3\/4 {
    width: calc(3 / 4 * 100%);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-7 {
    width: calc(var(--spacing) * 7);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-11 {
    width: calc(var(--spacing) * 11);
  }
  .w-12 {
    width: calc(var(--spacing) * 12);
  }
  .w-14 {
    width: calc(var(--spacing) * 14);
  }
  .w-16 {
    width: calc(var(--spacing) * 16);
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .w-24 {
    width: calc(var(--spacing) * 24);
  }
  .w-28 {
    width: calc(var(--spacing) * 28);
  }
  .w-32 {
    width: calc(var(--spacing) * 32);
  }
  .w-40 {
    width: calc(var(--spacing) * 40);
  }
  .w-44 {
    width: calc(var(--spacing) * 44);
  }
  .w-56 {
    width: calc(var(--spacing) * 56);
  }
  .w-64 {
    width: calc(var(--spacing) * 64);
  }
  .w-72 {
    width: calc(var(--spacing) * 72);
  }
  .w-80 {
    width: calc(var(--spacing) * 80);
  }
  .w-\[45\%\] {
    width: 45%;
  }
  .w-\[80\%\] {
    width: 80%;
  }
  .w-\[82\%\] {
    width: 82%;
  }
  .w-\[85\%\] {
    width: 85%;
  }
  .w-\[150px\] {
    width: 150px;
  }
  .w-auto {
    width: auto;
  }
  .w-fit {
    width: fit-content;
  }
  .w-full {
    width: 100%;
  }
  .w-px {
    width: 1px;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-3xl {
    max-width: var(--container-3xl);
  }
  .max-w-4xl {
    max-width: var(--container-4xl);
  }
  .max-w-5xl {
    max-width: var(--container-5xl);
  }
  .max-w-6xl {
    max-width: var(--container-6xl);
  }
  .max-w-7xl {
    max-width: var(--container-7xl);
  }
  .max-w-64 {
    max-width: calc(var(--spacing) * 64);
  }
  .max-w-\[12rem\] {
    max-width: 12rem;
  }
  .max-w-\[13rem\] {
    max-width: 13rem;
  }
  .max-w-\[120px\] {
    max-width: 120px;
  }
  .max-w-\[170px\] {
    max-width: 170px;
  }
  .max-w-\[190px\] {
    max-width: 190px;
  }
  .max-w-\[400px\] {
    max-width: 400px;
  }
  .max-w-\[1200px\] {
    max-width: 1200px;
  }
  .max-w-full {
    max-width: 100%;
  }
  .max-w-lg {
    max-width: var(--container-lg);
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .max-w-none {
    max-width: none;
  }
  .max-w-sm {
    max-width: var(--container-sm);
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .max-w-xs {
    max-width: var(--container-xs);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .min-w-5 {
    min-width: calc(var(--spacing) * 5);
  }
  .min-w-14 {
    min-width: calc(var(--spacing) * 14);
  }
  .min-w-44 {
    min-width: calc(var(--spacing) * 44);
  }
  .min-w-52 {
    min-width: calc(var(--spacing) * 52);
  }
  .min-w-60 {
    min-width: calc(var(--spacing) * 60);
  }
  .min-w-\[32rem\] {
    min-width: 32rem;
  }
  .min-w-\[88px\] {
    min-width: 88px;
  }
  .min-w-\[780px\] {
    min-width: 780px;
  }
  .min-w-\[980px\] {
    min-width: 980px;
  }
  .min-w-px {
    min-width: 1px;
  }
  .flex-1 {
    flex: 1;
  }
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .flex-grow {
    flex-grow: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .-translate-x-1\/2 {
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .-translate-x-full {
    --tw-translate-x: -100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .translate-x-5 {
    --tw-translate-x: calc(var(--spacing) * 5);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .translate-x-full {
    --tw-translate-x: 100%;
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .translate-y-5 {
    --tw-translate-y: calc(var(--spacing) * 5);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .scale-105 {
    --tw-scale-x: 105%;
    --tw-scale-y: 105%;
    --tw-scale-z: 105%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .-rotate-90 {
    rotate: calc(90deg * -1);
  }
  .-rotate-\[6deg\] {
    rotate: calc(6deg * -1);
  }
  .rotate-180 {
    rotate: 180deg;
  }
  .rotate-\[12deg\] {
    rotate: 12deg;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-crosshair {
    cursor: crosshair;
  }
  .cursor-not-allowed {
    cursor: not-allowed;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .cursor-zoom-in {
    cursor: zoom-in;
  }
  .cursor-zoom-out {
    cursor: zoom-out;
  }
  .resize {
    resize: both;
  }
  .resize-none {
    resize: none;
  }
  .resize-y {
    resize: vertical;
  }
  .scroll-mt-24 {
    scroll-margin-top: calc(var(--spacing) * 24);
  }
  .list-none {
    list-style-type: none;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-cols-\[8rem_minmax\(0\,1fr\)_9rem\] {
    grid-template-columns: 8rem minmax(0,1fr) 9rem;
  }
  .grid-rows-3 {
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-col-reverse {
    flex-direction: column-reverse;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-items-center {
    place-items: center;
  }
  .items-baseline {
    align-items: baseline;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .items-stretch {
    align-items: stretch;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .gap-0 {
    gap: calc(var(--spacing) * 0);
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .gap-7 {
    gap: calc(var(--spacing) * 7);
  }
  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }
  .gap-10 {
    gap: calc(var(--spacing) * 10);
  }
  .gap-12 {
    gap: calc(var(--spacing) * 12);
  }
  .space-y-1 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-1\.5 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-2 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-2\.5 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 2.5) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 2.5) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-3 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-4 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-5 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-6 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-8 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-28 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 28) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 28) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .gap-x-4 {
    column-gap: calc(var(--spacing) * 4);
  }
  .gap-x-5 {
    column-gap: calc(var(--spacing) * 5);
  }
  .gap-x-6 {
    column-gap: calc(var(--spacing) * 6);
  }
  .-space-x-2 {
    :where(& > :not(:last-child)) {
      --tw-space-x-reverse: 0;
      margin-inline-start: calc(calc(var(--spacing) * -2) * var(--tw-space-x-reverse));
      margin-inline-end: calc(calc(var(--spacing) * -2) * calc(1 - var(--tw-space-x-reverse)));
    }
  }
  .gap-y-2 {
    row-gap: calc(var(--spacing) * 2);
  }
  .gap-y-3 {
    row-gap: calc(var(--spacing) * 3);
  }
  .divide-y {
    :where(& > :not(:last-child)) {
      --tw-divide-y-reverse: 0;
      border-bottom-style: var(--tw-border-style);
      border-top-style: var(--tw-border-style);
      border-top-width: calc(1px * var(--tw-divide-y-reverse));
      border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
    }
  }
  .divide-slate-50 {
    :where(& > :not(:last-child)) {
      border-color: var(--color-slate-50);
    }
  }
  .divide-slate-100 {
    :where(& > :not(:last-child)) {
      border-color: var(--color-slate-100);
    }
  }
  .divide-slate-200 {
    :where(& > :not(:last-child)) {
      border-color: var(--color-slate-200);
    }
  }
  .self-center {
    align-self: center;
  }
  .self-end {
    align-self: flex-end;
  }
  .self-start {
    align-self: flex-start;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-visible {
    overflow: visible;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-x-clip {
    overflow-x: clip;
  }
  .overflow-x-hidden {
    overflow-x: hidden;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .scroll-smooth {
    scroll-behavior: smooth;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-3xl {
    border-radius: var(--radius-3xl);
  }
  .rounded-\[1\.4rem\] {
    border-radius: 1.4rem;
  }
  .rounded-\[1\.35rem\] {
    border-radius: 1.35rem;
  }
  .rounded-\[1\.75rem\] {
    border-radius: 1.75rem;
  }
  .rounded-\[2px\] {
    border-radius: 2px;
  }
  .rounded-\[2rem\] {
    border-radius: 2rem;
  }
  .rounded-\[3px\] {
    border-radius: 3px;
  }
  .rounded-\[24px\] {
    border-radius: 24px;
  }
  .rounded-\[28px\] {
    border-radius: 28px;
  }
  .rounded-\[32px\] {
    border-radius: 32px;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .rounded-t-3xl {
    border-top-left-radius: var(--radius-3xl);
    border-top-right-radius: var(--radius-3xl);
  }
  .rounded-t-md {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
  }
  .rounded-br-sm {
    border-bottom-right-radius: var(--radius-sm);
  }
  .rounded-bl-full {
    border-bottom-left-radius: calc(infinity * 1px);
  }
  .rounded-bl-sm {
    border-bottom-left-radius: var(--radius-sm);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-4 {
    border-style: var(--tw-border-style);
    border-width: 4px;
  }
  .border-y {
    border-block-style: var(--tw-border-style);
    border-block-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-t-\[7px\] {
    border-top-style: var(--tw-border-style);
    border-top-width: 7px;
  }
  .border-r {
    border-right-style: var(--tw-border-style);
    border-right-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-b-2 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 2px;
  }
  .border-l {
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
  }
  .border-l-2 {
    border-left-style: var(--tw-border-style);
    border-left-width: 2px;
  }
  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }
  .border-\[\#c97333\] {
    border-color: #c97333;
  }
  .border-\[\#d7c6b8\] {
    border-color: #d7c6b8;
  }
  .border-\[\#dfd5cb\] {
    border-color: #dfd5cb;
  }
  .border-\[\#e3d7cc\] {
    border-color: #e3d7cc;
  }
  .border-\[\#e4d9d0\] {
    border-color: #e4d9d0;
  }
  .border-\[\#e9dfd6\] {
    border-color: #e9dfd6;
  }
  .border-\[\#ead8c9\] {
    border-color: #ead8c9;
  }
  .border-\[\#eee7e1\] {
    border-color: #eee7e1;
  }
  .border-amber-100 {
    border-color: var(--color-amber-100);
  }
  .border-amber-200 {
    border-color: var(--color-amber-200);
  }
  .border-blue-100 {
    border-color: var(--color-blue-100);
  }
  .border-brand-100 {
    border-color: var(--color-brand-100);
  }
  .border-brand-200 {
    border-color: var(--color-brand-200);
  }
  .border-emerald-100 {
    border-color: var(--color-emerald-100);
  }
  .border-emerald-200 {
    border-color: var(--color-emerald-200);
  }
  .border-emerald-300 {
    border-color: var(--color-emerald-300);
  }
  .border-rose-100 {
    border-color: var(--color-rose-100);
  }
  .border-rose-200 {
    border-color: var(--color-rose-200);
  }
  .border-rose-300 {
    border-color: var(--color-rose-300);
  }
  .border-sky-100 {
    border-color: var(--color-sky-100);
  }
  .border-sky-200 {
    border-color: var(--color-sky-200);
  }
  .border-slate-50 {
    border-color: var(--color-slate-50);
  }
  .border-slate-100 {
    border-color: var(--color-slate-100);
  }
  .border-slate-100\/60 {
    border-color: color-mix(in srgb, oklch(96.8% 0.007 247.896) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-100) 60%, transparent);
    }
  }
  .border-slate-100\/70 {
    border-color: color-mix(in srgb, oklch(96.8% 0.007 247.896) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-100) 70%, transparent);
    }
  }
  .border-slate-200 {
    border-color: var(--color-slate-200);
  }
  .border-slate-200\/50 {
    border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-200) 50%, transparent);
    }
  }
  .border-slate-200\/60 {
    border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-200) 60%, transparent);
    }
  }
  .border-slate-200\/70 {
    border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-200) 70%, transparent);
    }
  }
  .border-slate-200\/80 {
    border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-slate-200) 80%, transparent);
    }
  }
  .border-slate-300 {
    border-color: var(--color-slate-300);
  }
  .border-slate-800 {
    border-color: var(--color-slate-800);
  }
  .border-slate-900 {
    border-color: var(--color-slate-900);
  }
  .border-slate-950 {
    border-color: var(--color-slate-950);
  }
  .border-transparent {
    border-color: transparent;
  }
  .border-white {
    border-color: var(--color-white);
  }
  .border-white\/5 {
    border-color: color-mix(in srgb, #fff 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 5%, transparent);
    }
  }
  .border-white\/70 {
    border-color: color-mix(in srgb, #fff 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 70%, transparent);
    }
  }
  .bg-\[\#0B1120\] {
    background-color: #0B1120;
  }
  .bg-\[\#9b5524\] {
    background-color: #9b5524;
  }
  .bg-\[\#434f69\] {
    background-color: #434f69;
  }
  .bg-\[\#f4e9e0\] {
    background-color: #f4e9e0;
  }
  .bg-\[\#f5f5f7\] {
    background-color: #f5f5f7;
  }
  .bg-\[\#f6f3ef\] {
    background-color: #f6f3ef;
  }
  .bg-\[\#f8fafc\] {
    background-color: #f8fafc;
  }
  .bg-\[\#fbf8f4\] {
    background-color: #fbf8f4;
  }
  .bg-\[\#fbfbfd\] {
    background-color: #fbfbfd;
  }
  .bg-\[\#fffdfb\] {
    background-color: #fffdfb;
  }
  .bg-amber-50 {
    background-color: var(--color-amber-50);
  }
  .bg-amber-100 {
    background-color: var(--color-amber-100);
  }
  .bg-amber-400 {
    background-color: var(--color-amber-400);
  }
  .bg-amber-500 {
    background-color: var(--color-amber-500);
  }
  .bg-black {
    background-color: var(--color-black);
  }
  .bg-blue-50 {
    background-color: var(--color-blue-50);
  }
  .bg-blue-100 {
    background-color: var(--color-blue-100);
  }
  .bg-blue-500 {
    background-color: var(--color-blue-500);
  }
  .bg-blue-600 {
    background-color: var(--color-blue-600);
  }
  .bg-brand-50 {
    background-color: var(--color-brand-50);
  }
  .bg-brand-50\/30 {
    background-color: color-mix(in srgb, #f0fdfa 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-brand-50) 30%, transparent);
    }
  }
  .bg-brand-50\/40 {
    background-color: color-mix(in srgb, #f0fdfa 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-brand-50) 40%, transparent);
    }
  }
  .bg-brand-50\/50 {
    background-color: color-mix(in srgb, #f0fdfa 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-brand-50) 50%, transparent);
    }
  }
  .bg-brand-50\/60 {
    background-color: color-mix(in srgb, #f0fdfa 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-brand-50) 60%, transparent);
    }
  }
  .bg-brand-50\/70 {
    background-color: color-mix(in srgb, #f0fdfa 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-brand-50) 70%, transparent);
    }
  }
  .bg-brand-100 {
    background-color: var(--color-brand-100);
  }
  .bg-brand-500 {
    background-color: var(--color-brand-500);
  }
  .bg-brand-600 {
    background-color: var(--color-brand-600);
  }
  .bg-cyan-300 {
    background-color: var(--color-cyan-300);
  }
  .bg-emerald-50 {
    background-color: var(--color-emerald-50);
  }
  .bg-emerald-50\/40 {
    background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-emerald-50) 40%, transparent);
    }
  }
  .bg-emerald-50\/60 {
    background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-emerald-50) 60%, transparent);
    }
  }
  .bg-emerald-100 {
    background-color: var(--color-emerald-100);
  }
  .bg-emerald-500 {
    background-color: var(--color-emerald-500);
  }
  .bg-orange-50 {
    background-color: var(--color-orange-50);
  }
  .bg-red-500 {
    background-color: var(--color-red-500);
  }
  .bg-red-600 {
    background-color: var(--color-red-600);
  }
  .bg-rose-50 {
    background-color: var(--color-rose-50);
  }
  .bg-rose-100 {
    background-color: var(--color-rose-100);
  }
  .bg-rose-500 {
    background-color: var(--color-rose-500);
  }
  .bg-sky-50 {
    background-color: var(--color-sky-50);
  }
  .bg-slate-50 {
    background-color: var(--color-slate-50);
  }
  .bg-slate-50\/50 {
    background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-50) 50%, transparent);
    }
  }
  .bg-slate-50\/60 {
    background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-50) 60%, transparent);
    }
  }
  .bg-slate-50\/70 {
    background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-50) 70%, transparent);
    }
  }
  .bg-slate-50\/80 {
    background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-50) 80%, transparent);
    }
  }
  .bg-slate-100 {
    background-color: var(--color-slate-100);
  }
  .bg-slate-200 {
    background-color: var(--color-slate-200);
  }
  .bg-slate-300 {
    background-color: var(--color-slate-300);
  }
  .bg-slate-400 {
    background-color: var(--color-slate-400);
  }
  .bg-slate-500 {
    background-color: var(--color-slate-500);
  }
  .bg-slate-700 {
    background-color: var(--color-slate-700);
  }
  .bg-slate-900 {
    background-color: var(--color-slate-900);
  }
  .bg-slate-900\/40 {
    background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-900) 40%, transparent);
    }
  }
  .bg-slate-900\/50 {
    background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-900) 50%, transparent);
    }
  }
  .bg-slate-900\/60 {
    background-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-900) 60%, transparent);
    }
  }
  .bg-slate-950 {
    background-color: var(--color-slate-950);
  }
  .bg-slate-950\/70 {
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 70%, transparent);
    }
  }
  .bg-slate-950\/80 {
    background-color: color-mix(in srgb, oklch(12.9% 0.042 264.695) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-slate-950) 80%, transparent);
    }
  }
  .bg-transparent {
    background-color: transparent;
  }
  .bg-violet-50 {
    background-color: var(--color-violet-50);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .bg-white\/10 {
    background-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .bg-white\/15 {
    background-color: color-mix(in srgb, #fff 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 15%, transparent);
    }
  }
  .bg-white\/70 {
    background-color: color-mix(in srgb, #fff 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 70%, transparent);
    }
  }
  .bg-white\/80 {
    background-color: color-mix(in srgb, #fff 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 80%, transparent);
    }
  }
  .bg-white\/85 {
    background-color: color-mix(in srgb, #fff 85%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 85%, transparent);
    }
  }
  .bg-white\/90 {
    background-color: color-mix(in srgb, #fff 90%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 90%, transparent);
    }
  }
  .bg-white\/95 {
    background-color: color-mix(in srgb, #fff 95%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 95%, transparent);
    }
  }
  .bg-gradient-to-b {
    --tw-gradient-position: to bottom in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-gradient-to-br {
    --tw-gradient-position: to bottom right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-gradient-to-r {
    --tw-gradient-position: to right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-gradient-to-t {
    --tw-gradient-position: to top in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-gradient-to-tr {
    --tw-gradient-position: to top right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .bg-\[radial-gradient\(\#cbd5e1_1px\,transparent_1px\)\] {
    background-image: radial-gradient(#cbd5e1 1px,transparent 1px);
  }
  .from-brand-50 {
    --tw-gradient-from: var(--color-brand-50);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .from-slate-100 {
    --tw-gradient-from: var(--color-slate-100);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .from-slate-900 {
    --tw-gradient-from: var(--color-slate-900);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .from-slate-950\/10 {
    --tw-gradient-from: color-mix(in srgb, oklch(12.9% 0.042 264.695) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-from: color-mix(in oklab, var(--color-slate-950) 10%, transparent);
    }
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .from-slate-950\/45 {
    --tw-gradient-from: color-mix(in srgb, oklch(12.9% 0.042 264.695) 45%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-from: color-mix(in oklab, var(--color-slate-950) 45%, transparent);
    }
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .from-slate-950\/55 {
    --tw-gradient-from: color-mix(in srgb, oklch(12.9% 0.042 264.695) 55%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-from: color-mix(in oklab, var(--color-slate-950) 55%, transparent);
    }
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .from-transparent {
    --tw-gradient-from: transparent;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .via-slate-50\/80 {
    --tw-gradient-via: color-mix(in srgb, oklch(98.4% 0.003 247.858) 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-via: color-mix(in oklab, var(--color-slate-50) 80%, transparent);
    }
    --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
  }
  .via-slate-300 {
    --tw-gradient-via: var(--color-slate-300);
    --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
  }
  .via-slate-950\/0 {
    --tw-gradient-via: color-mix(in srgb, oklch(12.9% 0.042 264.695) 0%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-via: color-mix(in oklab, var(--color-slate-950) 0%, transparent);
    }
    --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
  }
  .via-slate-950\/5 {
    --tw-gradient-via: color-mix(in srgb, oklch(12.9% 0.042 264.695) 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-via: color-mix(in oklab, var(--color-slate-950) 5%, transparent);
    }
    --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
  }
  .via-slate-950\/10 {
    --tw-gradient-via: color-mix(in srgb, oklch(12.9% 0.042 264.695) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-via: color-mix(in oklab, var(--color-slate-950) 10%, transparent);
    }
    --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-via-stops);
  }
  .to-brand-600 {
    --tw-gradient-to: var(--color-brand-600);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .to-slate-50 {
    --tw-gradient-to: var(--color-slate-50);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .to-slate-950\/20 {
    --tw-gradient-to: color-mix(in srgb, oklch(12.9% 0.042 264.695) 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-gradient-to: color-mix(in oklab, var(--color-slate-950) 20%, transparent);
    }
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .to-transparent {
    --tw-gradient-to: transparent;
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .\[background-size\:24px_24px\] {
    background-size: 24px 24px;
  }
  .object-contain {
    object-fit: contain;
  }
  .object-cover {
    object-fit: cover;
  }
  .object-left-top {
    object-position: left top;
  }
  .p-0 {
    padding: calc(var(--spacing) * 0);
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .p-1\.5 {
    padding: calc(var(--spacing) * 1.5);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-2\.5 {
    padding: calc(var(--spacing) * 2.5);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-3\.5 {
    padding: calc(var(--spacing) * 3.5);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-7 {
    padding: calc(var(--spacing) * 7);
  }
  .p-8 {
    padding: calc(var(--spacing) * 8);
  }
  .p-10 {
    padding: calc(var(--spacing) * 10);
  }
  .p-12 {
    padding: calc(var(--spacing) * 12);
  }
  .px-0 {
    padding-inline: calc(var(--spacing) * 0);
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-3\.5 {
    padding-inline: calc(var(--spacing) * 3.5);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .px-7 {
    padding-inline: calc(var(--spacing) * 7);
  }
  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }
  .px-\[15px\] {
    padding-inline: 15px;
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-3\.5 {
    padding-block: calc(var(--spacing) * 3.5);
  }
  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }
  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }
  .py-7 {
    padding-block: calc(var(--spacing) * 7);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .py-14 {
    padding-block: calc(var(--spacing) * 14);
  }
  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }
  .py-24 {
    padding-block: calc(var(--spacing) * 24);
  }
  .pt-1 {
    padding-top: calc(var(--spacing) * 1);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  .pt-5 {
    padding-top: calc(var(--spacing) * 5);
  }
  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }
  .pt-12 {
    padding-top: calc(var(--spacing) * 12);
  }
  .pt-20 {
    padding-top: calc(var(--spacing) * 20);
  }
  .pt-28 {
    padding-top: calc(var(--spacing) * 28);
  }
  .pt-32 {
    padding-top: calc(var(--spacing) * 32);
  }
  .pr-1 {
    padding-right: calc(var(--spacing) * 1);
  }
  .pr-4 {
    padding-right: calc(var(--spacing) * 4);
  }
  .pr-10 {
    padding-right: calc(var(--spacing) * 10);
  }
  .pr-11 {
    padding-right: calc(var(--spacing) * 11);
  }
  .pr-16 {
    padding-right: calc(var(--spacing) * 16);
  }
  .pr-28 {
    padding-right: calc(var(--spacing) * 28);
  }
  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }
  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }
  .pb-5 {
    padding-bottom: calc(var(--spacing) * 5);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .pb-7 {
    padding-bottom: calc(var(--spacing) * 7);
  }
  .pb-8 {
    padding-bottom: calc(var(--spacing) * 8);
  }
  .pb-10 {
    padding-bottom: calc(var(--spacing) * 10);
  }
  .pb-14 {
    padding-bottom: calc(var(--spacing) * 14);
  }
  .pb-16 {
    padding-bottom: calc(var(--spacing) * 16);
  }
  .pb-24 {
    padding-bottom: calc(var(--spacing) * 24);
  }
  .pb-32 {
    padding-bottom: calc(var(--spacing) * 32);
  }
  .pl-4 {
    padding-left: calc(var(--spacing) * 4);
  }
  .pl-5 {
    padding-left: calc(var(--spacing) * 5);
  }
  .pl-7 {
    padding-left: calc(var(--spacing) * 7);
  }
  .pl-10 {
    padding-left: calc(var(--spacing) * 10);
  }
  .pl-11 {
    padding-left: calc(var(--spacing) * 11);
  }
  .pl-12 {
    padding-left: calc(var(--spacing) * 12);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .align-middle {
    vertical-align: middle;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .font-serif {
    font-family: var(--font-serif);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[8px\] {
    font-size: 8px;
  }
  .text-\[9px\] {
    font-size: 9px;
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .text-\[15px\] {
    font-size: 15px;
  }
  .text-\[19px\] {
    font-size: 19px;
  }
  .text-\[21px\] {
    font-size: 21px;
  }
  .text-\[28px\] {
    font-size: 28px;
  }
  .text-\[30px\] {
    font-size: 30px;
  }
  .text-\[31px\] {
    font-size: 31px;
  }
  .text-\[33px\] {
    font-size: 33px;
  }
  .text-\[34px\] {
    font-size: 34px;
  }
  .text-\[44px\] {
    font-size: 44px;
  }
  .text-\[45px\] {
    font-size: 45px;
  }
  .text-\[52px\] {
    font-size: 52px;
  }
  .text-\[60px\] {
    font-size: 60px;
  }
  .leading-4 {
    --tw-leading: calc(var(--spacing) * 4);
    line-height: calc(var(--spacing) * 4);
  }
  .leading-5 {
    --tw-leading: calc(var(--spacing) * 5);
    line-height: calc(var(--spacing) * 5);
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-7 {
    --tw-leading: calc(var(--spacing) * 7);
    line-height: calc(var(--spacing) * 7);
  }
  .leading-8 {
    --tw-leading: calc(var(--spacing) * 8);
    line-height: calc(var(--spacing) * 8);
  }
  .leading-\[1\.02\] {
    --tw-leading: 1.02;
    line-height: 1.02;
  }
  .leading-\[1\.03\] {
    --tw-leading: 1.03;
    line-height: 1.03;
  }
  .leading-\[1\.05\] {
    --tw-leading: 1.05;
    line-height: 1.05;
  }
  .leading-\[1\.8\] {
    --tw-leading: 1.8;
    line-height: 1.8;
  }
  .leading-\[1\.12\] {
    --tw-leading: 1.12;
    line-height: 1.12;
  }
  .leading-\[1\.15\] {
    --tw-leading: 1.15;
    line-height: 1.15;
  }
  .leading-\[1\.25\] {
    --tw-leading: 1.25;
    line-height: 1.25;
  }
  .leading-\[1\.28\] {
    --tw-leading: 1.28;
    line-height: 1.28;
  }
  .leading-\[1\.65\] {
    --tw-leading: 1.65;
    line-height: 1.65;
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .leading-normal {
    --tw-leading: var(--leading-normal);
    line-height: var(--leading-normal);
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .leading-snug {
    --tw-leading: var(--leading-snug);
    line-height: var(--leading-snug);
  }
  .leading-tight {
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }
  .font-black {
    --tw-font-weight: var(--font-weight-black);
    font-weight: var(--font-weight-black);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }
  .font-light {
    --tw-font-weight: var(--font-weight-light);
    font-weight: var(--font-weight-light);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-\[-\.04em\] {
    --tw-tracking: -.04em;
    letter-spacing: -.04em;
  }
  .tracking-\[0\.12em\] {
    --tw-tracking: 0.12em;
    letter-spacing: 0.12em;
  }
  .tracking-\[0\.14em\] {
    --tw-tracking: 0.14em;
    letter-spacing: 0.14em;
  }
  .tracking-\[0\.16em\] {
    --tw-tracking: 0.16em;
    letter-spacing: 0.16em;
  }
  .tracking-\[0\.18em\] {
    --tw-tracking: 0.18em;
    letter-spacing: 0.18em;
  }
  .tracking-\[0\.22em\] {
    --tw-tracking: 0.22em;
    letter-spacing: 0.22em;
  }
  .tracking-\[0\.24em\] {
    --tw-tracking: 0.24em;
    letter-spacing: 0.24em;
  }
  .tracking-\[0\.35em\] {
    --tw-tracking: 0.35em;
    letter-spacing: 0.35em;
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }
  .tracking-wider {
    --tw-tracking: var(--tracking-wider);
    letter-spacing: var(--tracking-wider);
  }
  .tracking-widest {
    --tw-tracking: var(--tracking-widest);
    letter-spacing: var(--tracking-widest);
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .break-all {
    word-break: break-all;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-\[\#9b5524\] {
    color: #9b5524;
  }
  .text-\[\#434f69\] {
    color: #434f69;
  }
  .text-amber-500 {
    color: var(--color-amber-500);
  }
  .text-amber-600 {
    color: var(--color-amber-600);
  }
  .text-amber-700 {
    color: var(--color-amber-700);
  }
  .text-amber-800 {
    color: var(--color-amber-800);
  }
  .text-amber-900 {
    color: var(--color-amber-900);
  }
  .text-amber-900\/85 {
    color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 85%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-amber-900) 85%, transparent);
    }
  }
  .text-amber-950 {
    color: var(--color-amber-950);
  }
  .text-blue-600 {
    color: var(--color-blue-600);
  }
  .text-blue-900 {
    color: var(--color-blue-900);
  }
  .text-brand-500 {
    color: var(--color-brand-500);
  }
  .text-brand-600 {
    color: var(--color-brand-600);
  }
  .text-brand-700 {
    color: var(--color-brand-700);
  }
  .text-emerald-300 {
    color: var(--color-emerald-300);
  }
  .text-emerald-400 {
    color: var(--color-emerald-400);
  }
  .text-emerald-500 {
    color: var(--color-emerald-500);
  }
  .text-emerald-600 {
    color: var(--color-emerald-600);
  }
  .text-emerald-700 {
    color: var(--color-emerald-700);
  }
  .text-emerald-800 {
    color: var(--color-emerald-800);
  }
  .text-emerald-950 {
    color: var(--color-emerald-950);
  }
  .text-orange-800 {
    color: var(--color-orange-800);
  }
  .text-rose-500 {
    color: var(--color-rose-500);
  }
  .text-rose-600 {
    color: var(--color-rose-600);
  }
  .text-rose-700 {
    color: var(--color-rose-700);
  }
  .text-rose-800 {
    color: var(--color-rose-800);
  }
  .text-sky-600 {
    color: var(--color-sky-600);
  }
  .text-sky-700 {
    color: var(--color-sky-700);
  }
  .text-slate-100 {
    color: var(--color-slate-100);
  }
  .text-slate-200 {
    color: var(--color-slate-200);
  }
  .text-slate-300 {
    color: var(--color-slate-300);
  }
  .text-slate-400 {
    color: var(--color-slate-400);
  }
  .text-slate-500 {
    color: var(--color-slate-500);
  }
  .text-slate-600 {
    color: var(--color-slate-600);
  }
  .text-slate-700 {
    color: var(--color-slate-700);
  }
  .text-slate-800 {
    color: var(--color-slate-800);
  }
  .text-slate-900 {
    color: var(--color-slate-900);
  }
  .text-slate-950 {
    color: var(--color-slate-950);
  }
  .text-violet-700 {
    color: var(--color-violet-700);
  }
  .text-white {
    color: var(--color-white);
  }
  .text-white\/50 {
    color: color-mix(in srgb, #fff 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 50%, transparent);
    }
  }
  .text-white\/55 {
    color: color-mix(in srgb, #fff 55%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 55%, transparent);
    }
  }
  .text-white\/60 {
    color: color-mix(in srgb, #fff 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 60%, transparent);
    }
  }
  .text-white\/65 {
    color: color-mix(in srgb, #fff 65%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 65%, transparent);
    }
  }
  .text-white\/70 {
    color: color-mix(in srgb, #fff 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 70%, transparent);
    }
  }
  .normal-case {
    text-transform: none;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .underline {
    text-decoration-line: underline;
  }
  .decoration-slate-400 {
    text-decoration-color: var(--color-slate-400);
  }
  .decoration-slate-600 {
    text-decoration-color: var(--color-slate-600);
  }
  .decoration-2 {
    text-decoration-thickness: 2px;
  }
  .underline-offset-2 {
    text-underline-offset: 2px;
  }
  .underline-offset-4 {
    text-underline-offset: 4px;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .placeholder-slate-400 {
    &::placeholder {
      color: var(--color-slate-400);
    }
  }
  .opacity-0 {
    opacity: 0%;
  }
  .opacity-50 {
    opacity: 50%;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .opacity-70 {
    opacity: 70%;
  }
  .opacity-75 {
    opacity: 75%;
  }
  .opacity-80 {
    opacity: 80%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-2xl {
    --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_0_10px_rgba\(255\,255\,255\,0\.3\)\] {
    --tw-shadow: 0 0 10px var(--tw-shadow-color, rgba(255,255,255,0.3));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_2px_10px_-3px_rgba\(0\,0\,0\,0\.02\)\] {
    --tw-shadow: 0 2px 10px -3px var(--tw-shadow-color, rgba(0,0,0,0.02));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_8px_30px_rgb\(15\,23\,42\,0\.08\)\] {
    --tw-shadow: 0 8px 30px var(--tw-shadow-color, rgb(15,23,42,0.08));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_14px_34px_rgba\(15\,23\,42\,0\.26\)\] {
    --tw-shadow: 0 14px 34px var(--tw-shadow-color, rgba(15,23,42,0.26));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_18px_48px_-28px_rgba\(15\,23\,42\,0\.45\)\] {
    --tw-shadow: 0 18px 48px -28px var(--tw-shadow-color, rgba(15,23,42,0.45));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_20px_50px_-12px_rgba\(15\,23\,42\,0\.12\)\] {
    --tw-shadow: 0 20px 50px -12px var(--tw-shadow-color, rgba(15,23,42,0.12));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_24px_60px_-42px_rgba\(73\,42\,22\,\.45\)\] {
    --tw-shadow: 0 24px 60px -42px var(--tw-shadow-color, rgba(73,42,22,.45));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_24px_70px_-24px_rgba\(15\,23\,42\,0\.28\)\] {
    --tw-shadow: 0 24px 70px -24px var(--tw-shadow-color, rgba(15,23,42,0.28));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_24px_70px_rgba\(15\,23\,42\,0\.14\)\] {
    --tw-shadow: 0 24px 70px var(--tw-shadow-color, rgba(15,23,42,0.14));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[0_28px_70px_-35px_rgba\(75\,45\,25\,\.38\)\] {
    --tw-shadow: 0 28px 70px -35px var(--tw-shadow-color, rgba(75,45,25,.38));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-card {
    --tw-shadow: 0 2px 10px var(--tw-shadow-color, rgba(15, 23, 42, 0.02)), 0 1px 3px var(--tw-shadow-color, rgba(15, 23, 42, 0.05));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-inner {
    --tw-shadow: inset 0 2px 4px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.05));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-premium {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgba(15, 23, 42, 0.05)), 0 2px 4px -1px var(--tw-shadow-color, rgba(15, 23, 42, 0.03));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-soft {
    --tw-shadow: 0 4px 20px -2px var(--tw-shadow-color, rgba(15, 23, 42, 0.05));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-xl {
    --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-1 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-2 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\[\#9b5524\]\/10 {
    --tw-shadow-color: color-mix(in srgb, #9b5524 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, #9b5524 10%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }
  .shadow-slate-900\/10 {
    --tw-shadow-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-slate-900) 10%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }
  .ring-amber-100 {
    --tw-ring-color: var(--color-amber-100);
  }
  .ring-amber-200 {
    --tw-ring-color: var(--color-amber-200);
  }
  .ring-brand-100 {
    --tw-ring-color: var(--color-brand-100);
  }
  .ring-emerald-100 {
    --tw-ring-color: var(--color-emerald-100);
  }
  .ring-slate-50 {
    --tw-ring-color: var(--color-slate-50);
  }
  .ring-slate-100 {
    --tw-ring-color: var(--color-slate-100);
  }
  .ring-slate-200 {
    --tw-ring-color: var(--color-slate-200);
  }
  .ring-slate-300\/70 {
    --tw-ring-color: color-mix(in srgb, oklch(86.9% 0.022 252.894) 70%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-slate-300) 70%, transparent);
    }
  }
  .ring-slate-900\/5 {
    --tw-ring-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-slate-900) 5%, transparent);
    }
  }
  .ring-white {
    --tw-ring-color: var(--color-white);
  }
  .ring-white\/20 {
    --tw-ring-color: color-mix(in srgb, #fff 20%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-white) 20%, transparent);
    }
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur-3xl {
    --tw-blur: blur(var(--blur-3xl));
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .grayscale {
    --tw-grayscale: grayscale(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-blur {
    --tw-backdrop-blur: blur(8px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-\[1px\] {
    --tw-backdrop-blur: blur(1px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-md {
    --tw-backdrop-blur: blur(var(--blur-md));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-sm {
    --tw-backdrop-blur: blur(var(--blur-sm));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-xl {
    --tw-backdrop-blur: blur(var(--blur-xl));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .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));
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-200 {
    --tw-duration: 200ms;
    transition-duration: 200ms;
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .duration-500 {
    --tw-duration: 500ms;
    transition-duration: 500ms;
  }
  .duration-700 {
    --tw-duration: 700ms;
    transition-duration: 700ms;
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .select-all {
    -webkit-user-select: all;
    user-select: all;
  }
  .select-none {
    -webkit-user-select: none;
    user-select: none;
  }
  .group-open\:rotate-180 {
    &:is(:where(.group):is([open], :popover-open, :open) *) {
      rotate: 180deg;
    }
  }
  .group-focus-within\:text-slate-950 {
    &:is(:where(.group):focus-within *) {
      color: var(--color-slate-950);
    }
  }
  .group-hover\:pointer-events-auto {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        pointer-events: auto;
      }
    }
  }
  .group-hover\:translate-x-1 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-translate-x: calc(var(--spacing) * 1);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .group-hover\:translate-x-1\.5 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-translate-x: calc(var(--spacing) * 1.5);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .group-hover\:-translate-y-1 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -1);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .group-hover\:scale-105 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-scale-x: 105%;
        --tw-scale-y: 105%;
        --tw-scale-z: 105%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
      }
    }
  }
  .group-hover\:scale-110 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        --tw-scale-x: 110%;
        --tw-scale-y: 110%;
        --tw-scale-z: 110%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
      }
    }
  }
  .group-hover\:bg-brand-600 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        background-color: var(--color-brand-600);
      }
    }
  }
  .group-hover\:text-slate-700 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--color-slate-700);
      }
    }
  }
  .group-hover\:text-white {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        color: var(--color-white);
      }
    }
  }
  .group-hover\:opacity-100 {
    &:is(:where(.group):hover *) {
      @media (hover: hover) {
        opacity: 100%;
      }
    }
  }
  .peer-checked\:translate-x-5 {
    &:is(:where(.peer):checked ~ *) {
      --tw-translate-x: calc(var(--spacing) * 5);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
  }
  .peer-checked\:bg-slate-900 {
    &:is(:where(.peer):checked ~ *) {
      background-color: var(--color-slate-900);
    }
  }
  .peer-checked\:bg-slate-950 {
    &:is(:where(.peer):checked ~ *) {
      background-color: var(--color-slate-950);
    }
  }
  .peer-focus-visible\:ring-2 {
    &:is(:where(.peer):focus-visible ~ *) {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .peer-focus-visible\:ring-brand-500 {
    &:is(:where(.peer):focus-visible ~ *) {
      --tw-ring-color: var(--color-brand-500);
    }
  }
  .peer-focus-visible\:ring-offset-2 {
    &:is(:where(.peer):focus-visible ~ *) {
      --tw-ring-offset-width: 2px;
      --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    }
  }
  .placeholder\:text-slate-400 {
    &::placeholder {
      color: var(--color-slate-400);
    }
  }
  .placeholder\:text-slate-500 {
    &::placeholder {
      color: var(--color-slate-500);
    }
  }
  .before\:absolute {
    &::before {
      content: var(--tw-content);
      position: absolute;
    }
  }
  .before\:top-0 {
    &::before {
      content: var(--tw-content);
      top: calc(var(--spacing) * 0);
    }
  }
  .before\:right-0 {
    &::before {
      content: var(--tw-content);
      right: calc(var(--spacing) * 0);
    }
  }
  .before\:h-px {
    &::before {
      content: var(--tw-content);
      height: 1px;
    }
  }
  .before\:w-4 {
    &::before {
      content: var(--tw-content);
      width: calc(var(--spacing) * 4);
    }
  }
  .before\:bg-slate-200 {
    &::before {
      content: var(--tw-content);
      background-color: var(--color-slate-200);
    }
  }
  .after\:absolute {
    &::after {
      content: var(--tw-content);
      position: absolute;
    }
  }
  .after\:top-1 {
    &::after {
      content: var(--tw-content);
      top: calc(var(--spacing) * 1);
    }
  }
  .after\:right-0 {
    &::after {
      content: var(--tw-content);
      right: calc(var(--spacing) * 0);
    }
  }
  .after\:bottom-0 {
    &::after {
      content: var(--tw-content);
      bottom: calc(var(--spacing) * 0);
    }
  }
  .after\:left-1 {
    &::after {
      content: var(--tw-content);
      left: calc(var(--spacing) * 1);
    }
  }
  .after\:h-4 {
    &::after {
      content: var(--tw-content);
      height: calc(var(--spacing) * 4);
    }
  }
  .after\:h-5 {
    &::after {
      content: var(--tw-content);
      height: calc(var(--spacing) * 5);
    }
  }
  .after\:h-px {
    &::after {
      content: var(--tw-content);
      height: 1px;
    }
  }
  .after\:w-4 {
    &::after {
      content: var(--tw-content);
      width: calc(var(--spacing) * 4);
    }
  }
  .after\:w-5 {
    &::after {
      content: var(--tw-content);
      width: calc(var(--spacing) * 5);
    }
  }
  .after\:rounded-full {
    &::after {
      content: var(--tw-content);
      border-radius: calc(infinity * 1px);
    }
  }
  .after\:bg-slate-200 {
    &::after {
      content: var(--tw-content);
      background-color: var(--color-slate-200);
    }
  }
  .after\:bg-white {
    &::after {
      content: var(--tw-content);
      background-color: var(--color-white);
    }
  }
  .after\:shadow-sm {
    &::after {
      content: var(--tw-content);
      --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .after\:transition-transform {
    &::after {
      content: var(--tw-content);
      transition-property: transform, translate, scale, rotate;
      transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
      transition-duration: var(--tw-duration, var(--default-transition-duration));
    }
  }
  .peer-checked\:after\:translate-x-5 {
    &:is(:where(.peer):checked ~ *) {
      &::after {
        content: var(--tw-content);
        --tw-translate-x: calc(var(--spacing) * 5);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .first\:pt-0 {
    &:first-child {
      padding-top: calc(var(--spacing) * 0);
    }
  }
  .last\:border-b-0 {
    &:last-child {
      border-bottom-style: var(--tw-border-style);
      border-bottom-width: 0px;
    }
  }
  .last\:pb-0 {
    &:last-child {
      padding-bottom: calc(var(--spacing) * 0);
    }
  }
  .focus-within\:border-brand-500 {
    &:focus-within {
      border-color: var(--color-brand-500);
    }
  }
  .focus-within\:bg-white {
    &:focus-within {
      background-color: var(--color-white);
    }
  }
  .focus-within\:ring-2 {
    &:focus-within {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus-within\:ring-brand-500 {
    &:focus-within {
      --tw-ring-color: var(--color-brand-500);
    }
  }
  .focus-within\:ring-brand-500\/20 {
    &:focus-within {
      --tw-ring-color: color-mix(in srgb, #14b8a6 20%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--color-brand-500) 20%, transparent);
      }
    }
  }
  .hover\:-translate-y-0\.5 {
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -0.5);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .hover\:-translate-y-1 {
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -1);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .hover\:border-amber-200 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-amber-200);
      }
    }
  }
  .hover\:border-brand-200 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-brand-200);
      }
    }
  }
  .hover\:border-emerald-200 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-emerald-200);
      }
    }
  }
  .hover\:border-rose-200 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-rose-200);
      }
    }
  }
  .hover\:border-slate-200 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-slate-200);
      }
    }
  }
  .hover\:border-slate-300 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-slate-300);
      }
    }
  }
  .hover\:border-slate-400 {
    &:hover {
      @media (hover: hover) {
        border-color: var(--color-slate-400);
      }
    }
  }
  .hover\:bg-\[\#fffaf6\] {
    &:hover {
      @media (hover: hover) {
        background-color: #fffaf6;
      }
    }
  }
  .hover\:bg-amber-50 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-amber-50);
      }
    }
  }
  .hover\:bg-amber-50\/40 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(98.7% 0.022 95.277) 40%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-amber-50) 40%, transparent);
        }
      }
    }
  }
  .hover\:bg-amber-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-amber-100);
      }
    }
  }
  .hover\:bg-brand-50 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-brand-50);
      }
    }
  }
  .hover\:bg-brand-50\/30 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, #f0fdfa 30%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-brand-50) 30%, transparent);
        }
      }
    }
  }
  .hover\:bg-brand-50\/40 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, #f0fdfa 40%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-brand-50) 40%, transparent);
        }
      }
    }
  }
  .hover\:bg-brand-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-brand-100);
      }
    }
  }
  .hover\:bg-brand-600 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-brand-600);
      }
    }
  }
  .hover\:bg-brand-700 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-brand-700);
      }
    }
  }
  .hover\:bg-emerald-50\/40 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(97.9% 0.021 166.113) 40%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-emerald-50) 40%, transparent);
        }
      }
    }
  }
  .hover\:bg-emerald-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-emerald-100);
      }
    }
  }
  .hover\:bg-rose-50 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-rose-50);
      }
    }
  }
  .hover\:bg-rose-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-rose-100);
      }
    }
  }
  .hover\:bg-sky-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-sky-100);
      }
    }
  }
  .hover\:bg-slate-50 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-slate-50);
      }
    }
  }
  .hover\:bg-slate-50\/60 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, oklch(98.4% 0.003 247.858) 60%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-slate-50) 60%, transparent);
        }
      }
    }
  }
  .hover\:bg-slate-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-slate-100);
      }
    }
  }
  .hover\:bg-slate-200 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-slate-200);
      }
    }
  }
  .hover\:bg-slate-800 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-slate-800);
      }
    }
  }
  .hover\:bg-slate-950 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-slate-950);
      }
    }
  }
  .hover\:bg-white {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-white);
      }
    }
  }
  .hover\:text-brand-600 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-brand-600);
      }
    }
  }
  .hover\:text-brand-700 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-brand-700);
      }
    }
  }
  .hover\:text-rose-600 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-rose-600);
      }
    }
  }
  .hover\:text-rose-700 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-rose-700);
      }
    }
  }
  .hover\:text-slate-700 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-slate-700);
      }
    }
  }
  .hover\:text-slate-800 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-slate-800);
      }
    }
  }
  .hover\:text-slate-900 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-slate-900);
      }
    }
  }
  .hover\:text-slate-950 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-slate-950);
      }
    }
  }
  .hover\:text-white {
    &:hover {
      @media (hover: hover) {
        color: var(--color-white);
      }
    }
  }
  .hover\:underline {
    &:hover {
      @media (hover: hover) {
        text-decoration-line: underline;
      }
    }
  }
  .hover\:opacity-80 {
    &:hover {
      @media (hover: hover) {
        opacity: 80%;
      }
    }
  }
  .hover\:opacity-100 {
    &:hover {
      @media (hover: hover) {
        opacity: 100%;
      }
    }
  }
  .hover\:shadow-card {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 2px 10px var(--tw-shadow-color, rgba(15, 23, 42, 0.02)), 0 1px 3px var(--tw-shadow-color, rgba(15, 23, 42, 0.05));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .hover\:shadow-lg {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .hover\:shadow-md {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .hover\:shadow-premium-hover {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgba(15, 23, 42, 0.06)), 0 10px 10px -5px var(--tw-shadow-color, rgba(15, 23, 42, 0.03));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .focus\:border-brand-500 {
    &:focus {
      border-color: var(--color-brand-500);
    }
  }
  .focus\:border-rose-500 {
    &:focus {
      border-color: var(--color-rose-500);
    }
  }
  .focus\:border-slate-400 {
    &:focus {
      border-color: var(--color-slate-400);
    }
  }
  .focus\:border-slate-900 {
    &:focus {
      border-color: var(--color-slate-900);
    }
  }
  .focus\:border-slate-950 {
    &:focus {
      border-color: var(--color-slate-950);
    }
  }
  .focus\:border-transparent {
    &:focus {
      border-color: transparent;
    }
  }
  .focus\:bg-slate-50 {
    &:focus {
      background-color: var(--color-slate-50);
    }
  }
  .focus\:bg-white {
    &:focus {
      background-color: var(--color-white);
    }
  }
  .focus\:ring-1 {
    &:focus {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus\:ring-2 {
    &:focus {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus\:ring-4 {
    &:focus {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus\:ring-brand-100 {
    &:focus {
      --tw-ring-color: var(--color-brand-100);
    }
  }
  .focus\:ring-brand-500 {
    &:focus {
      --tw-ring-color: var(--color-brand-500);
    }
  }
  .focus\:ring-brand-500\/20 {
    &:focus {
      --tw-ring-color: color-mix(in srgb, #14b8a6 20%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--color-brand-500) 20%, transparent);
      }
    }
  }
  .focus\:ring-rose-500 {
    &:focus {
      --tw-ring-color: var(--color-rose-500);
    }
  }
  .focus\:ring-slate-900 {
    &:focus {
      --tw-ring-color: var(--color-slate-900);
    }
  }
  .focus\:ring-slate-900\/5 {
    &:focus {
      --tw-ring-color: color-mix(in srgb, oklch(20.8% 0.042 265.755) 5%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        --tw-ring-color: color-mix(in oklab, var(--color-slate-900) 5%, transparent);
      }
    }
  }
  .focus\:ring-slate-950 {
    &:focus {
      --tw-ring-color: var(--color-slate-950);
    }
  }
  .focus\:outline-none {
    &:focus {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .focus-visible\:ring-2 {
    &:focus-visible {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus-visible\:ring-brand-500 {
    &:focus-visible {
      --tw-ring-color: var(--color-brand-500);
    }
  }
  .focus-visible\:outline-none {
    &:focus-visible {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .active\:scale-95 {
    &:active {
      --tw-scale-x: 95%;
      --tw-scale-y: 95%;
      --tw-scale-z: 95%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
  }
  .active\:scale-\[0\.98\] {
    &:active {
      scale: 0.98;
    }
  }
  .disabled\:cursor-not-allowed {
    &:disabled {
      cursor: not-allowed;
    }
  }
  .disabled\:cursor-wait {
    &:disabled {
      cursor: wait;
    }
  }
  .disabled\:border-slate-200 {
    &:disabled {
      border-color: var(--color-slate-200);
    }
  }
  .disabled\:bg-slate-100 {
    &:disabled {
      background-color: var(--color-slate-100);
    }
  }
  .disabled\:bg-slate-200 {
    &:disabled {
      background-color: var(--color-slate-200);
    }
  }
  .disabled\:text-slate-400 {
    &:disabled {
      color: var(--color-slate-400);
    }
  }
  .disabled\:text-slate-500 {
    &:disabled {
      color: var(--color-slate-500);
    }
  }
  .disabled\:opacity-35 {
    &:disabled {
      opacity: 35%;
    }
  }
  .disabled\:opacity-45 {
    &:disabled {
      opacity: 45%;
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .disabled\:opacity-60 {
    &:disabled {
      opacity: 60%;
    }
  }
  .disabled\:opacity-70 {
    &:disabled {
      opacity: 70%;
    }
  }
  .disabled\:hover\:border-slate-200 {
    &:disabled {
      &:hover {
        @media (hover: hover) {
          border-color: var(--color-slate-200);
        }
      }
    }
  }
  .disabled\:hover\:bg-white {
    &:disabled {
      &:hover {
        @media (hover: hover) {
          background-color: var(--color-white);
        }
      }
    }
  }
  .disabled\:hover\:text-slate-700 {
    &:disabled {
      &:hover {
        @media (hover: hover) {
          color: var(--color-slate-700);
        }
      }
    }
  }
  .sm\:col-span-2 {
    @media (width >= 40rem) {
      grid-column: span 2 / span 2;
    }
  }
  .sm\:mt-6 {
    @media (width >= 40rem) {
      margin-top: calc(var(--spacing) * 6);
    }
  }
  .sm\:mt-10 {
    @media (width >= 40rem) {
      margin-top: calc(var(--spacing) * 10);
    }
  }
  .sm\:mt-16 {
    @media (width >= 40rem) {
      margin-top: calc(var(--spacing) * 16);
    }
  }
  .sm\:mt-\[70px\] {
    @media (width >= 40rem) {
      margin-top: 70px;
    }
  }
  .sm\:mb-6 {
    @media (width >= 40rem) {
      margin-bottom: calc(var(--spacing) * 6);
    }
  }
  .sm\:mb-8 {
    @media (width >= 40rem) {
      margin-bottom: calc(var(--spacing) * 8);
    }
  }
  .sm\:mb-10 {
    @media (width >= 40rem) {
      margin-bottom: calc(var(--spacing) * 10);
    }
  }
  .sm\:mb-12 {
    @media (width >= 40rem) {
      margin-bottom: calc(var(--spacing) * 12);
    }
  }
  .sm\:mb-16 {
    @media (width >= 40rem) {
      margin-bottom: calc(var(--spacing) * 16);
    }
  }
  .sm\:block {
    @media (width >= 40rem) {
      display: block;
    }
  }
  .sm\:inline {
    @media (width >= 40rem) {
      display: inline;
    }
  }
  .sm\:inline-flex {
    @media (width >= 40rem) {
      display: inline-flex;
    }
  }
  .sm\:h-6 {
    @media (width >= 40rem) {
      height: calc(var(--spacing) * 6);
    }
  }
  .sm\:h-8 {
    @media (width >= 40rem) {
      height: calc(var(--spacing) * 8);
    }
  }
  .sm\:min-h-\[750px\] {
    @media (width >= 40rem) {
      min-height: 750px;
    }
  }
  .sm\:w-\[170px\] {
    @media (width >= 40rem) {
      width: 170px;
    }
  }
  .sm\:w-auto {
    @media (width >= 40rem) {
      width: auto;
    }
  }
  .sm\:flex-none {
    @media (width >= 40rem) {
      flex: none;
    }
  }
  .sm\:grid-cols-2 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .sm\:grid-cols-3 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .sm\:grid-cols-4 {
    @media (width >= 40rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .sm\:grid-cols-\[4rem_minmax\(0\,1fr\)\] {
    @media (width >= 40rem) {
      grid-template-columns: 4rem minmax(0,1fr);
    }
  }
  .sm\:grid-cols-\[10rem_minmax\(0\,1fr\)_11rem\] {
    @media (width >= 40rem) {
      grid-template-columns: 10rem minmax(0,1fr) 11rem;
    }
  }
  .sm\:grid-cols-\[minmax\(0\,1fr\)_8rem_7rem\] {
    @media (width >= 40rem) {
      grid-template-columns: minmax(0,1fr) 8rem 7rem;
    }
  }
  .sm\:flex-row {
    @media (width >= 40rem) {
      flex-direction: row;
    }
  }
  .sm\:items-center {
    @media (width >= 40rem) {
      align-items: center;
    }
  }
  .sm\:items-end {
    @media (width >= 40rem) {
      align-items: flex-end;
    }
  }
  .sm\:items-start {
    @media (width >= 40rem) {
      align-items: flex-start;
    }
  }
  .sm\:justify-between {
    @media (width >= 40rem) {
      justify-content: space-between;
    }
  }
  .sm\:justify-center {
    @media (width >= 40rem) {
      justify-content: center;
    }
  }
  .sm\:justify-end {
    @media (width >= 40rem) {
      justify-content: flex-end;
    }
  }
  .sm\:justify-start {
    @media (width >= 40rem) {
      justify-content: flex-start;
    }
  }
  .sm\:gap-2 {
    @media (width >= 40rem) {
      gap: calc(var(--spacing) * 2);
    }
  }
  .sm\:gap-4 {
    @media (width >= 40rem) {
      gap: calc(var(--spacing) * 4);
    }
  }
  .sm\:gap-10 {
    @media (width >= 40rem) {
      gap: calc(var(--spacing) * 10);
    }
  }
  .sm\:space-y-5 {
    @media (width >= 40rem) {
      :where(& > :not(:last-child)) {
        --tw-space-y-reverse: 0;
        margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
        margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
      }
    }
  }
  .sm\:self-center {
    @media (width >= 40rem) {
      align-self: center;
    }
  }
  .sm\:rounded-2xl {
    @media (width >= 40rem) {
      border-radius: var(--radius-2xl);
    }
  }
  .sm\:rounded-\[1\.75rem\] {
    @media (width >= 40rem) {
      border-radius: 1.75rem;
    }
  }
  .sm\:rounded-\[2\.5rem\] {
    @media (width >= 40rem) {
      border-radius: 2.5rem;
    }
  }
  .sm\:rounded-\[2rem\] {
    @media (width >= 40rem) {
      border-radius: 2rem;
    }
  }
  .sm\:border {
    @media (width >= 40rem) {
      border-style: var(--tw-border-style);
      border-width: 1px;
    }
  }
  .sm\:border-slate-200\/60 {
    @media (width >= 40rem) {
      border-color: color-mix(in srgb, oklch(92.9% 0.013 255.508) 60%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(in oklab, var(--color-slate-200) 60%, transparent);
      }
    }
  }
  .sm\:bg-slate-100 {
    @media (width >= 40rem) {
      background-color: var(--color-slate-100);
    }
  }
  .sm\:p-4 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 4);
    }
  }
  .sm\:p-5 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 5);
    }
  }
  .sm\:p-6 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 6);
    }
  }
  .sm\:p-8 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 8);
    }
  }
  .sm\:p-10 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 10);
    }
  }
  .sm\:p-12 {
    @media (width >= 40rem) {
      padding: calc(var(--spacing) * 12);
    }
  }
  .sm\:px-0 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 0);
    }
  }
  .sm\:px-5 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 5);
    }
  }
  .sm\:px-6 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 6);
    }
  }
  .sm\:px-8 {
    @media (width >= 40rem) {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
  .sm\:py-3 {
    @media (width >= 40rem) {
      padding-block: calc(var(--spacing) * 3);
    }
  }
  .sm\:py-4 {
    @media (width >= 40rem) {
      padding-block: calc(var(--spacing) * 4);
    }
  }
  .sm\:py-6 {
    @media (width >= 40rem) {
      padding-block: calc(var(--spacing) * 6);
    }
  }
  .sm\:py-14 {
    @media (width >= 40rem) {
      padding-block: calc(var(--spacing) * 14);
    }
  }
  .sm\:py-24 {
    @media (width >= 40rem) {
      padding-block: calc(var(--spacing) * 24);
    }
  }
  .sm\:pt-0 {
    @media (width >= 40rem) {
      padding-top: calc(var(--spacing) * 0);
    }
  }
  .sm\:pt-2 {
    @media (width >= 40rem) {
      padding-top: calc(var(--spacing) * 2);
    }
  }
  .sm\:pt-4 {
    @media (width >= 40rem) {
      padding-top: calc(var(--spacing) * 4);
    }
  }
  .sm\:pb-0 {
    @media (width >= 40rem) {
      padding-bottom: calc(var(--spacing) * 0);
    }
  }
  .sm\:pb-12 {
    @media (width >= 40rem) {
      padding-bottom: calc(var(--spacing) * 12);
    }
  }
  .sm\:pl-7 {
    @media (width >= 40rem) {
      padding-left: calc(var(--spacing) * 7);
    }
  }
  .sm\:text-left {
    @media (width >= 40rem) {
      text-align: left;
    }
  }
  .sm\:text-2xl {
    @media (width >= 40rem) {
      font-size: var(--text-2xl);
      line-height: var(--tw-leading, var(--text-2xl--line-height));
    }
  }
  .sm\:text-3xl {
    @media (width >= 40rem) {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
  }
  .sm\:text-4xl {
    @media (width >= 40rem) {
      font-size: var(--text-4xl);
      line-height: var(--tw-leading, var(--text-4xl--line-height));
    }
  }
  .sm\:text-5xl {
    @media (width >= 40rem) {
      font-size: var(--text-5xl);
      line-height: var(--tw-leading, var(--text-5xl--line-height));
    }
  }
  .sm\:text-6xl {
    @media (width >= 40rem) {
      font-size: var(--text-6xl);
      line-height: var(--tw-leading, var(--text-6xl--line-height));
    }
  }
  .sm\:text-base {
    @media (width >= 40rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .sm\:text-lg {
    @media (width >= 40rem) {
      font-size: var(--text-lg);
      line-height: var(--tw-leading, var(--text-lg--line-height));
    }
  }
  .sm\:text-xl {
    @media (width >= 40rem) {
      font-size: var(--text-xl);
      line-height: var(--tw-leading, var(--text-xl--line-height));
    }
  }
  .sm\:text-xs {
    @media (width >= 40rem) {
      font-size: var(--text-xs);
      line-height: var(--tw-leading, var(--text-xs--line-height));
    }
  }
  .sm\:text-\[10px\] {
    @media (width >= 40rem) {
      font-size: 10px;
    }
  }
  .sm\:leading-7 {
    @media (width >= 40rem) {
      --tw-leading: calc(var(--spacing) * 7);
      line-height: calc(var(--spacing) * 7);
    }
  }
  .sm\:leading-8 {
    @media (width >= 40rem) {
      --tw-leading: calc(var(--spacing) * 8);
      line-height: calc(var(--spacing) * 8);
    }
  }
  .sm\:leading-tight {
    @media (width >= 40rem) {
      --tw-leading: var(--leading-tight);
      line-height: var(--leading-tight);
    }
  }
  .sm\:text-slate-500 {
    @media (width >= 40rem) {
      color: var(--color-slate-500);
    }
  }
  .sm\:shadow-2xl {
    @media (width >= 40rem) {
      --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .md\:col-span-2 {
    @media (width >= 48rem) {
      grid-column: span 2 / span 2;
    }
  }
  .md\:mt-5 {
    @media (width >= 48rem) {
      margin-top: calc(var(--spacing) * 5);
    }
  }
  .md\:mb-0 {
    @media (width >= 48rem) {
      margin-bottom: calc(var(--spacing) * 0);
    }
  }
  .md\:block {
    @media (width >= 48rem) {
      display: block;
    }
  }
  .md\:w-32 {
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 32);
    }
  }
  .md\:w-80 {
    @media (width >= 48rem) {
      width: calc(var(--spacing) * 80);
    }
  }
  .md\:w-auto {
    @media (width >= 48rem) {
      width: auto;
    }
  }
  .md\:max-w-md {
    @media (width >= 48rem) {
      max-width: var(--container-md);
    }
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-3 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-\[minmax\(0\,1fr\)_11rem\] {
    @media (width >= 48rem) {
      grid-template-columns: minmax(0,1fr) 11rem;
    }
  }
  .md\:grid-cols-\[minmax\(0\,1fr\)_12rem\] {
    @media (width >= 48rem) {
      grid-template-columns: minmax(0,1fr) 12rem;
    }
  }
  .md\:grid-cols-\[minmax\(0\,2fr\)_minmax\(10rem\,1fr\)\] {
    @media (width >= 48rem) {
      grid-template-columns: minmax(0,2fr) minmax(10rem,1fr);
    }
  }
  .md\:flex-row {
    @media (width >= 48rem) {
      flex-direction: row;
    }
  }
  .md\:items-center {
    @media (width >= 48rem) {
      align-items: center;
    }
  }
  .md\:items-end {
    @media (width >= 48rem) {
      align-items: flex-end;
    }
  }
  .md\:items-start {
    @media (width >= 48rem) {
      align-items: flex-start;
    }
  }
  .md\:justify-between {
    @media (width >= 48rem) {
      justify-content: space-between;
    }
  }
  .md\:p-8 {
    @media (width >= 48rem) {
      padding: calc(var(--spacing) * 8);
    }
  }
  .md\:px-8 {
    @media (width >= 48rem) {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
  .md\:py-5 {
    @media (width >= 48rem) {
      padding-block: calc(var(--spacing) * 5);
    }
  }
  .md\:py-20 {
    @media (width >= 48rem) {
      padding-block: calc(var(--spacing) * 20);
    }
  }
  .md\:py-24 {
    @media (width >= 48rem) {
      padding-block: calc(var(--spacing) * 24);
    }
  }
  .md\:pt-36 {
    @media (width >= 48rem) {
      padding-top: calc(var(--spacing) * 36);
    }
  }
  .md\:pb-8 {
    @media (width >= 48rem) {
      padding-bottom: calc(var(--spacing) * 8);
    }
  }
  .md\:text-left {
    @media (width >= 48rem) {
      text-align: left;
    }
  }
  .md\:text-3xl {
    @media (width >= 48rem) {
      font-size: var(--text-3xl);
      line-height: var(--tw-leading, var(--text-3xl--line-height));
    }
  }
  .md\:text-4xl {
    @media (width >= 48rem) {
      font-size: var(--text-4xl);
      line-height: var(--tw-leading, var(--text-4xl--line-height));
    }
  }
  .md\:text-5xl {
    @media (width >= 48rem) {
      font-size: var(--text-5xl);
      line-height: var(--tw-leading, var(--text-5xl--line-height));
    }
  }
  .md\:text-6xl {
    @media (width >= 48rem) {
      font-size: var(--text-6xl);
      line-height: var(--tw-leading, var(--text-6xl--line-height));
    }
  }
  .md\:text-base {
    @media (width >= 48rem) {
      font-size: var(--text-base);
      line-height: var(--tw-leading, var(--text-base--line-height));
    }
  }
  .md\:text-xl {
    @media (width >= 48rem) {
      font-size: var(--text-xl);
      line-height: var(--tw-leading, var(--text-xl--line-height));
    }
  }
  .md\:text-\[52px\] {
    @media (width >= 48rem) {
      font-size: 52px;
    }
  }
  .md\:text-\[60px\] {
    @media (width >= 48rem) {
      font-size: 60px;
    }
  }
  .lg\:static {
    @media (width >= 64rem) {
      position: static;
    }
  }
  .lg\:sticky {
    @media (width >= 64rem) {
      position: sticky;
    }
  }
  .lg\:top-24 {
    @media (width >= 64rem) {
      top: calc(var(--spacing) * 24);
    }
  }
  .lg\:col-span-5 {
    @media (width >= 64rem) {
      grid-column: span 5 / span 5;
    }
  }
  .lg\:col-span-7 {
    @media (width >= 64rem) {
      grid-column: span 7 / span 7;
    }
  }
  .lg\:-m-10 {
    @media (width >= 64rem) {
      margin: calc(var(--spacing) * -10);
    }
  }
  .lg\:mt-5 {
    @media (width >= 64rem) {
      margin-top: calc(var(--spacing) * 5);
    }
  }
  .lg\:mt-16 {
    @media (width >= 64rem) {
      margin-top: calc(var(--spacing) * 16);
    }
  }
  .lg\:mb-0 {
    @media (width >= 64rem) {
      margin-bottom: calc(var(--spacing) * 0);
    }
  }
  .lg\:mb-32 {
    @media (width >= 64rem) {
      margin-bottom: calc(var(--spacing) * 32);
    }
  }
  .lg\:block {
    @media (width >= 64rem) {
      display: block;
    }
  }
  .lg\:flex {
    @media (width >= 64rem) {
      display: flex;
    }
  }
  .lg\:hidden {
    @media (width >= 64rem) {
      display: none;
    }
  }
  .lg\:inline-flex {
    @media (width >= 64rem) {
      display: inline-flex;
    }
  }
  .lg\:h-screen {
    @media (width >= 64rem) {
      height: 100vh;
    }
  }
  .lg\:w-1\/2 {
    @media (width >= 64rem) {
      width: calc(1 / 2 * 100%);
    }
  }
  .lg\:w-56 {
    @media (width >= 64rem) {
      width: calc(var(--spacing) * 56);
    }
  }
  .lg\:w-80 {
    @media (width >= 64rem) {
      width: calc(var(--spacing) * 80);
    }
  }
  .lg\:w-auto {
    @media (width >= 64rem) {
      width: auto;
    }
  }
  .lg\:max-w-md {
    @media (width >= 64rem) {
      max-width: var(--container-md);
    }
  }
  .lg\:min-w-\[22\.5rem\] {
    @media (width >= 64rem) {
      min-width: 22.5rem;
    }
  }
  .lg\:flex-1 {
    @media (width >= 64rem) {
      flex: 1;
    }
  }
  .lg\:translate-x-0 {
    @media (width >= 64rem) {
      --tw-translate-x: calc(var(--spacing) * 0);
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
  }
  .lg\:grid-cols-2 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-3 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-4 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-12 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(12, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-\[\.9fr_1\.15fr\] {
    @media (width >= 64rem) {
      grid-template-columns: .9fr 1.15fr;
    }
  }
  .lg\:grid-cols-\[0\.9fr_1\.1fr\] {
    @media (width >= 64rem) {
      grid-template-columns: 0.9fr 1.1fr;
    }
  }
  .lg\:grid-cols-\[0\.95fr_1\.05fr\] {
    @media (width >= 64rem) {
      grid-template-columns: 0.95fr 1.05fr;
    }
  }
  .lg\:grid-cols-\[1fr_0\.8fr\] {
    @media (width >= 64rem) {
      grid-template-columns: 1fr 0.8fr;
    }
  }
  .lg\:grid-cols-\[1fr_0\.85fr\] {
    @media (width >= 64rem) {
      grid-template-columns: 1fr 0.85fr;
    }
  }
  .lg\:grid-cols-\[20rem_minmax\(0\,1fr\)\] {
    @media (width >= 64rem) {
      grid-template-columns: 20rem minmax(0,1fr);
    }
  }
  .lg\:grid-cols-\[minmax\(0\,0\.85fr\)_minmax\(320px\,0\.45fr\)\] {
    @media (width >= 64rem) {
      grid-template-columns: minmax(0,0.85fr) minmax(320px,0.45fr);
    }
  }
  .lg\:grid-cols-\[minmax\(0\,0\.95fr\)_minmax\(360px\,0\.65fr\)\] {
    @media (width >= 64rem) {
      grid-template-columns: minmax(0,0.95fr) minmax(360px,0.65fr);
    }
  }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_14rem\] {
    @media (width >= 64rem) {
      grid-template-columns: minmax(0,1fr) 14rem;
    }
  }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_17rem\] {
    @media (width >= 64rem) {
      grid-template-columns: minmax(0,1fr) 17rem;
    }
  }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_18rem\] {
    @media (width >= 64rem) {
      grid-template-columns: minmax(0,1fr) 18rem;
    }
  }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_240px_140px\] {
    @media (width >= 64rem) {
      grid-template-columns: minmax(0,1fr) 240px 140px;
    }
  }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
    @media (width >= 64rem) {
      grid-template-columns: minmax(0,1fr) auto;
    }
  }
  .lg\:grid-cols-\[minmax\(0\,48rem\)_20rem\] {
    @media (width >= 64rem) {
      grid-template-columns: minmax(0,48rem) 20rem;
    }
  }
  .lg\:flex-col {
    @media (width >= 64rem) {
      flex-direction: column;
    }
  }
  .lg\:flex-row {
    @media (width >= 64rem) {
      flex-direction: row;
    }
  }
  .lg\:flex-row-reverse {
    @media (width >= 64rem) {
      flex-direction: row-reverse;
    }
  }
  .lg\:items-center {
    @media (width >= 64rem) {
      align-items: center;
    }
  }
  .lg\:items-end {
    @media (width >= 64rem) {
      align-items: flex-end;
    }
  }
  .lg\:items-start {
    @media (width >= 64rem) {
      align-items: flex-start;
    }
  }
  .lg\:items-stretch {
    @media (width >= 64rem) {
      align-items: stretch;
    }
  }
  .lg\:justify-between {
    @media (width >= 64rem) {
      justify-content: space-between;
    }
  }
  .lg\:justify-end {
    @media (width >= 64rem) {
      justify-content: flex-end;
    }
  }
  .lg\:gap-4 {
    @media (width >= 64rem) {
      gap: calc(var(--spacing) * 4);
    }
  }
  .lg\:gap-8 {
    @media (width >= 64rem) {
      gap: calc(var(--spacing) * 8);
    }
  }
  .lg\:gap-14 {
    @media (width >= 64rem) {
      gap: calc(var(--spacing) * 14);
    }
  }
  .lg\:gap-20 {
    @media (width >= 64rem) {
      gap: calc(var(--spacing) * 20);
    }
  }
  .lg\:space-y-40 {
    @media (width >= 64rem) {
      :where(& > :not(:last-child)) {
        --tw-space-y-reverse: 0;
        margin-block-start: calc(calc(var(--spacing) * 40) * var(--tw-space-y-reverse));
        margin-block-end: calc(calc(var(--spacing) * 40) * calc(1 - var(--tw-space-y-reverse)));
      }
    }
  }
  .lg\:self-start {
    @media (width >= 64rem) {
      align-self: flex-start;
    }
  }
  .lg\:overflow-hidden {
    @media (width >= 64rem) {
      overflow: hidden;
    }
  }
  .lg\:overflow-y-auto {
    @media (width >= 64rem) {
      overflow-y: auto;
    }
  }
  .lg\:rounded-none {
    @media (width >= 64rem) {
      border-radius: 0;
    }
  }
  .lg\:border-y-0 {
    @media (width >= 64rem) {
      border-block-style: var(--tw-border-style);
      border-block-width: 0px;
    }
  }
  .lg\:border-t-0 {
    @media (width >= 64rem) {
      border-top-style: var(--tw-border-style);
      border-top-width: 0px;
    }
  }
  .lg\:border-r-0 {
    @media (width >= 64rem) {
      border-right-style: var(--tw-border-style);
      border-right-width: 0px;
    }
  }
  .lg\:border-l {
    @media (width >= 64rem) {
      border-left-style: var(--tw-border-style);
      border-left-width: 1px;
    }
  }
  .lg\:bg-transparent {
    @media (width >= 64rem) {
      background-color: transparent;
    }
  }
  .lg\:p-4 {
    @media (width >= 64rem) {
      padding: calc(var(--spacing) * 4);
    }
  }
  .lg\:p-6 {
    @media (width >= 64rem) {
      padding: calc(var(--spacing) * 6);
    }
  }
  .lg\:p-8 {
    @media (width >= 64rem) {
      padding: calc(var(--spacing) * 8);
    }
  }
  .lg\:p-10 {
    @media (width >= 64rem) {
      padding: calc(var(--spacing) * 10);
    }
  }
  .lg\:px-6 {
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 6);
    }
  }
  .lg\:px-8 {
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 8);
    }
  }
  .lg\:px-10 {
    @media (width >= 64rem) {
      padding-inline: calc(var(--spacing) * 10);
    }
  }
  .lg\:py-32 {
    @media (width >= 64rem) {
      padding-block: calc(var(--spacing) * 32);
    }
  }
  .lg\:pt-16 {
    @media (width >= 64rem) {
      padding-top: calc(var(--spacing) * 16);
    }
  }
  .lg\:pt-20 {
    @media (width >= 64rem) {
      padding-top: calc(var(--spacing) * 20);
    }
  }
  .lg\:pt-\[72px\] {
    @media (width >= 64rem) {
      padding-top: 72px;
    }
  }
  .lg\:pr-8 {
    @media (width >= 64rem) {
      padding-right: calc(var(--spacing) * 8);
    }
  }
  .lg\:pb-0 {
    @media (width >= 64rem) {
      padding-bottom: calc(var(--spacing) * 0);
    }
  }
  .lg\:pb-24 {
    @media (width >= 64rem) {
      padding-bottom: calc(var(--spacing) * 24);
    }
  }
  .lg\:pl-8 {
    @media (width >= 64rem) {
      padding-left: calc(var(--spacing) * 8);
    }
  }
  .lg\:text-right {
    @media (width >= 64rem) {
      text-align: right;
    }
  }
  .lg\:text-5xl {
    @media (width >= 64rem) {
      font-size: var(--text-5xl);
      line-height: var(--tw-leading, var(--text-5xl--line-height));
    }
  }
  .lg\:text-6xl {
    @media (width >= 64rem) {
      font-size: var(--text-6xl);
      line-height: var(--tw-leading, var(--text-6xl--line-height));
    }
  }
  .lg\:text-\[52px\] {
    @media (width >= 64rem) {
      font-size: 52px;
    }
  }
  .lg\:text-\[60px\] {
    @media (width >= 64rem) {
      font-size: 60px;
    }
  }
  .lg\:text-\[70px\] {
    @media (width >= 64rem) {
      font-size: 70px;
    }
  }
  .lg\:shadow-none {
    @media (width >= 64rem) {
      --tw-shadow: 0 0 #0000;
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .xl\:sticky {
    @media (width >= 80rem) {
      position: sticky;
    }
  }
  .xl\:top-24 {
    @media (width >= 80rem) {
      top: calc(var(--spacing) * 24);
    }
  }
  .xl\:col-span-1 {
    @media (width >= 80rem) {
      grid-column: span 1 / span 1;
    }
  }
  .xl\:w-auto {
    @media (width >= 80rem) {
      width: auto;
    }
  }
  .xl\:max-w-sm {
    @media (width >= 80rem) {
      max-width: var(--container-sm);
    }
  }
  .xl\:min-w-\[24rem\] {
    @media (width >= 80rem) {
      min-width: 24rem;
    }
  }
  .xl\:grid-cols-2 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-3 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-4 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-6 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-\[0\.95fr_1\.05fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 0.95fr 1.05fr;
    }
  }
  .xl\:grid-cols-\[1\.1fr_0\.9fr\] {
    @media (width >= 80rem) {
      grid-template-columns: 1.1fr 0.9fr;
    }
  }
  .xl\:grid-cols-\[23rem_minmax\(0\,1fr\)\] {
    @media (width >= 80rem) {
      grid-template-columns: 23rem minmax(0,1fr);
    }
  }
  .xl\:grid-cols-\[24rem_minmax\(0\,1fr\)\] {
    @media (width >= 80rem) {
      grid-template-columns: 24rem minmax(0,1fr);
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1fr\)_16rem\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1fr) 16rem;
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1fr\)_19rem\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1fr) 19rem;
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1fr\)_20rem\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1fr) 20rem;
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1fr\)_22rem\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1fr) 22rem;
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1fr\)_320px\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1fr) 320px;
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1fr\)_420px\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1fr) 420px;
    }
  }
  .xl\:grid-cols-\[minmax\(0\,1fr\)_auto_auto\] {
    @media (width >= 80rem) {
      grid-template-columns: minmax(0,1fr) auto auto;
    }
  }
  .xl\:flex-row {
    @media (width >= 80rem) {
      flex-direction: row;
    }
  }
  .xl\:items-end {
    @media (width >= 80rem) {
      align-items: flex-end;
    }
  }
  .xl\:items-start {
    @media (width >= 80rem) {
      align-items: flex-start;
    }
  }
  .xl\:justify-between {
    @media (width >= 80rem) {
      justify-content: space-between;
    }
  }
  .xl\:justify-end {
    @media (width >= 80rem) {
      justify-content: flex-end;
    }
  }
  .xl\:gap-16 {
    @media (width >= 80rem) {
      gap: calc(var(--spacing) * 16);
    }
  }
  .xl\:border-t-0 {
    @media (width >= 80rem) {
      border-top-style: var(--tw-border-style);
      border-top-width: 0px;
    }
  }
  .xl\:border-l {
    @media (width >= 80rem) {
      border-left-style: var(--tw-border-style);
      border-left-width: 1px;
    }
  }
  .xl\:p-20 {
    @media (width >= 80rem) {
      padding: calc(var(--spacing) * 20);
    }
  }
  .xl\:pr-12 {
    @media (width >= 80rem) {
      padding-right: calc(var(--spacing) * 12);
    }
  }
  .\[\&\:\:-webkit-details-marker\]\:hidden {
    &::-webkit-details-marker {
      display: none;
    }
  }
}
@font-face {
  font-family: "Platform UI";
  src: local("Inter Variable"), local("Inter"), local("SF Pro Display"), local("SF Pro Text"), local("Segoe UI");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}
.authorflow-custom-format {
  display: grid;
  gap: 0.75rem;
}
.authorflow-custom-format[hidden] {
  display: none;
}
.authorflow-custom-format__dimensions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.authorflow-custom-format__dimensions label {
  display: grid;
  gap: 0.4rem;
}
.authorflow-custom-format__dimensions label > span {
  color: var(--muted-foreground, #8a7d72);
  font-size: 0.78rem;
  font-weight: 700;
}
.authorflow-unit-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(3.5rem, 1fr));
  width: fit-content;
  padding: 0.25rem;
  border: 1px solid var(--border, #d7ccc3);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--border, #d7ccc3) 88%, transparent);
  }
  border-radius: 0.85rem;
  background: var(--muted, #f4efeb);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--muted, #f4efeb) 72%, transparent);
  }
}
.authorflow-unit-toggle label {
  cursor: pointer;
}
.authorflow-unit-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.authorflow-unit-toggle span {
  display: grid;
  min-height: 2.2rem;
  place-items: center;
  padding: 0 0.9rem;
  border-radius: 0.65rem;
  color: var(--muted-foreground, #756a61);
  font-size: 0.85rem;
  font-weight: 800;
}
.authorflow-unit-toggle input:checked + span {
  color: var(--foreground, #1f1b18);
  background: var(--card, #fff);
  box-shadow: 0 1px 3px var(--foreground, #1f1b18);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 1px 3px color-mix(in srgb, var(--foreground, #1f1b18) 12%, transparent);
  }
}
.authorflow-unit-toggle input:focus-visible + span {
  outline: 2px solid var(--ring, #9b5524);
  outline-offset: 2px;
}
@layer components {
  .author-profile-page {
    --ap-bg: var(--platform-bg, #f6f3ef);
    --ap-surface: var(--platform-surface, #ffffff);
    --ap-text: var(--platform-text, #171513);
    --ap-muted: var(--platform-muted, #756c66);
    --ap-primary: var(--platform-primary, #9b5524);
    --ap-accent: var(--platform-accent, #c97333);
    color: var(--ap-text);
  }
  .author-profile-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--ap-muted) 22%, transparent);
    }
    padding: 0.25rem 0 1.5rem;
  }
  .author-profile-page-header h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
  }
  .author-profile-page-header p {
    margin-top: 0.65rem;
    color: var(--ap-muted);
    font-size: 0.86rem;
  }
  .author-profile-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
  }
  .author-profile-header-actions > span {
    color: var(--ap-muted);
    font-size: 0.68rem;
    font-weight: 750;
    white-space: nowrap;
  }
  .author-profile-header-actions > span.is-dirty {
    color: var(--ap-accent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--ap-accent) 88%, var(--ap-text));
    }
  }
  .author-profile-open-link, .author-profile-save-button, .author-profile-upload-button, .author-profile-add-row {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    border-radius: 0.62rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.76rem;
    font-weight: 800;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
  }
  .author-profile-open-link {
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 28%, transparent);
    }
    color: var(--ap-primary);
  }
  .author-profile-open-link.is-muted {
    opacity: 0.55;
  }
  .author-profile-save-button {
    border: 1px solid var(--ap-primary);
    background: var(--ap-primary);
    color: white;
    box-shadow: 0 15px 34px -24px var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 15px 34px -24px color-mix(in oklab, var(--ap-primary) 72%, transparent);
    }
  }
  .author-profile-save-button.is-success {
    border-color: #16a34a;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, #16a34a 75%, var(--ap-primary));
    }
    background: #16a34a;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #16a34a 82%, var(--ap-primary));
    }
    animation: author-profile-save-confirmation 460ms ease both;
  }
  .author-profile-open-link:hover, .author-profile-save-button:hover, .author-profile-upload-button:hover, .author-profile-add-row:hover {
    transform: translateY(-1px);
  }
  .author-profile-save-button:hover {
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 88%, black);
    }
    color: white;
  }
  .author-profile-save-button:disabled {
    cursor: wait;
    opacity: 0.65;
  }
  @keyframes author-profile-save-confirmation {
    0% {
      transform: scale(1);
    }
    45% {
      transform: scale(1.045);
      box-shadow: 0 0 0 0.38rem color-mix(in oklab, #16a34a 20%, transparent);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 15px 34px -24px color-mix(in oklab, #16a34a 72%, transparent);
    }
  }
  .author-profile-tabs {
    display: flex;
    grid-area: tabs;
    gap: 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--ap-muted) 22%, transparent);
    }
    padding-top: 1rem;
    scrollbar-width: thin;
  }
  .author-profile-tabs button {
    position: relative;
    min-height: 3rem;
    flex: 0 0 auto;
    border-radius: 0.62rem 0.62rem 0 0;
    padding: 0.75rem 1rem;
    color: var(--ap-muted);
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease;
  }
  .author-profile-tabs button::after {
    position: absolute;
    right: 0.75rem;
    bottom: 0;
    left: 0.75rem;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: transparent;
    content: "";
  }
  .author-profile-tabs button:hover {
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 7%, transparent);
    }
    color: var(--ap-text);
  }
  .author-profile-tabs button:focus-visible {
    outline: 2px solid var(--ap-accent);
    outline-offset: -3px;
  }
  .author-profile-tabs button.is-active {
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 9%, transparent);
    }
    color: var(--ap-primary);
  }
  .author-profile-tabs button.is-active::after {
    background: var(--ap-primary);
  }
  .author-profile-layout {
    display: grid;
    min-width: 0;
    grid-template-areas: "tabs preview" "form preview";
    grid-template-columns: minmax(0, 1fr) 24rem;
    grid-template-rows: max-content minmax(0, 1fr);
    column-gap: clamp(1.25rem, 3vw, 2.5rem);
    padding: 0 0 3rem;
  }
  .author-profile-form-column {
    min-width: 0;
    grid-area: form;
    padding-top: 1.6rem;
  }
  .author-profile-tab-panel[hidden] {
    display: none;
  }
  .author-profile-section {
    border-bottom: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--ap-muted) 20%, transparent);
    }
    padding: 1.6rem 0;
  }
  .author-profile-section:first-child {
    padding-top: 0;
  }
  .author-profile-section h2 {
    color: var(--ap-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 600;
  }
  .author-profile-section h3 {
    margin: 1.15rem 0 0.65rem;
    color: var(--ap-muted);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .author-profile-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .author-profile-section-heading p {
    margin-top: 0.35rem;
    color: var(--ap-muted);
    font-size: 0.74rem;
    line-height: 1.55;
  }
  #author-profile-panel-books .author-profile-section-heading {
    margin-bottom: 28px;
  }
  .author-profile-control.author-profile-imprint-text {
    min-height: 26rem;
    background: var(--ap-surface);
    font-family: inherit;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.65;
    text-decoration: none;
    white-space: pre-wrap;
  }
  .author-profile-imprint-note {
    margin-top: 0.75rem;
    color: var(--ap-muted);
    font-size: 0.68rem;
    line-height: 1.55;
  }
  .author-profile-add-book-button {
    display: inline-flex;
    min-height: 2.55rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--ap-primary);
    border-radius: 0.62rem;
    background: var(--ap-primary);
    color: white;
    padding: 0.65rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 820;
    box-shadow: 0 15px 34px -24px var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 15px 34px -24px color-mix(in oklab, var(--ap-primary) 72%, transparent);
    }
    transition: background-color 160ms ease, transform 160ms ease;
  }
  #author-profile-panel-books .author-profile-add-book-button {
    margin-top: 0.55rem;
  }
  .author-profile-add-book-button:hover {
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 88%, black);
    }
    transform: translateY(-1px);
  }
  .author-profile-add-book-button:focus-visible {
    outline: 2px solid var(--ap-accent);
    outline-offset: 2px;
  }
  .author-profile-basics-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
  }
  .author-profile-basics-grid > div + div {
    border-left: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--ap-muted) 20%, transparent);
    }
    padding-left: 2rem;
  }
  .author-profile-label {
    display: block;
    margin: 1rem 0 0.4rem;
    color: var(--ap-muted);
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .author-profile-control {
    width: 100%;
    min-height: 2.65rem;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 28%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--ap-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-surface) 96%, var(--ap-bg));
    }
    color: var(--ap-text);
    padding: 0.66rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 620;
    outline: 0;
  }
  .author-profile-control:focus {
    border-color: var(--ap-accent);
    box-shadow: 0 0 0 3px var(--ap-accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--ap-accent) 17%, transparent);
    }
  }
  textarea.author-profile-control {
    resize: vertical;
    line-height: 1.55;
  }
  .author-profile-basics-grid label > small, .author-profile-picture-row small {
    display: block;
    margin-top: 0.4rem;
    color: var(--ap-muted);
    font-size: 0.62rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .author-profile-url-preview {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
  }
  .author-profile-url-preview small {
    min-width: 0;
    flex: 1;
    color: var(--ap-muted);
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .author-profile-url-preview button {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 26%, transparent);
    }
    border-radius: 0.52rem;
    background: var(--ap-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-surface) 96%, var(--ap-bg));
    }
    color: var(--ap-primary);
    place-items: center;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
  }
  .author-profile-url-preview button:hover {
    border-color: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--ap-primary) 42%, transparent);
    }
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 8%, var(--ap-surface));
    }
    transform: translateY(-1px);
  }
  .author-profile-url-preview button:focus-visible {
    outline: 2px solid var(--ap-accent);
    outline-offset: 2px;
  }
  .author-profile-url-preview button.is-copied {
    border-color: color-mix(in oklab, #16a34a 46%, transparent);
    background: #16a34a;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #16a34a 10%, var(--ap-surface));
    }
    color: #15803d;
  }
  .author-profile-switch-row {
    position: relative;
    display: flex;
    min-height: 4.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 20%, transparent);
    }
    border-radius: 0.7rem;
    padding: 0.8rem;
    cursor: pointer;
  }
  .author-profile-switch-row--compact {
    min-height: 3.2rem;
  }
  .author-profile-switch-row strong, .author-profile-switch-row small {
    display: block;
  }
  .author-profile-switch-row strong {
    font-size: 0.76rem;
  }
  .author-profile-switch-row small {
    margin-top: 0.25rem;
    color: var(--ap-muted);
    font-size: 0.62rem;
    line-height: 1.4;
  }
  .author-profile-switch-row input {
    position: absolute;
    opacity: 0;
  }
  .author-profile-switch-row i {
    position: relative;
    width: 2.4rem;
    height: 1.35rem;
    flex: 0 0 2.4rem;
    border-radius: 999px;
    background: var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-muted) 28%, transparent);
    }
    transition: background 160ms ease;
  }
  .author-profile-switch-row i::after {
    position: absolute;
    top: 0.18rem;
    left: 0.18rem;
    width: 0.99rem;
    height: 0.99rem;
    border-radius: 50%;
    background: var(--ap-surface);
    box-shadow: 0 2px 7px rgb(0 0 0 / 0.22);
    content: "";
    transition: transform 160ms ease;
  }
  .author-profile-switch-row input:checked + i {
    background: var(--ap-primary);
  }
  .author-profile-switch-row input:checked + i::after {
    transform: translateX(1.05rem);
  }
  .author-profile-switch-row input:focus-visible + i {
    outline: 2px solid var(--ap-accent);
    outline-offset: 2px;
  }
  .author-profile-picture-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  .author-profile-picture-row--stacked {
    align-items: flex-start;
  }
  .author-profile-picture {
    display: grid;
    width: 6.5rem;
    height: 6.5rem;
    flex: 0 0 6.5rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ap-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-accent) 40%, transparent);
    }
    border-radius: 50%;
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 12%, var(--ap-surface));
    }
    color: var(--ap-primary);
    font-family: Georgia, serif;
    font-size: 1.65rem;
  }
  .author-profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .author-profile-upload-button {
    border: 1px dashed var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in oklab, var(--ap-muted) 40%, transparent);
    }
    color: var(--ap-primary);
  }
  .author-profile-crop-dialog-root {
    --crop-surface: var(--platform-surface, #fff);
    --crop-bg: var(--platform-bg, #f6f3ef);
    --crop-text: var(--platform-text, #171513);
    --crop-muted: var(--platform-muted, #756c66);
    --crop-primary: var(--platform-primary, #9b5524);
    --crop-accent: var(--platform-accent, #c97333);
    position: fixed;
    inset: 0;
    z-index: 360;
    display: grid;
    place-items: center;
    padding: 1rem;
    color: var(--crop-text);
  }
  .author-profile-crop-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(8 10 14 / 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .author-profile-crop-dialog {
    position: relative;
    width: min(100%, 36rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    border: 1px solid var(--crop-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--crop-muted) 24%, transparent);
    }
    border-radius: 1.15rem;
    background: var(--crop-surface);
    padding: 1.15rem;
    box-shadow: 0 32px 90px -32px rgb(0 0 0 / 0.78);
    animation: confirmDialogIn 0.16s ease-out;
  }
  .author-profile-crop-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
  .author-profile-crop-dialog__header span {
    display: block;
    margin-bottom: 0.28rem;
    color: var(--crop-accent);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .author-profile-crop-dialog__header h2 {
    color: var(--crop-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.14;
  }
  .author-profile-crop-dialog__header button {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 2.4rem;
    place-items: center;
    border: 1px solid var(--crop-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--crop-muted) 24%, transparent);
    }
    border-radius: 0.65rem;
    color: var(--crop-muted);
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
  }
  .author-profile-crop-dialog__header button:hover {
    border-color: var(--crop-primary);
    background: var(--crop-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--crop-primary) 8%, var(--crop-surface));
    }
    color: var(--crop-primary);
  }
  .author-profile-crop-stage {
    position: relative;
    width: min(100%, 29rem, calc(100dvh - 21rem));
    min-width: min(16rem, 100%);
    aspect-ratio: 1;
    overflow: hidden;
    margin: 0.85rem auto 0;
    border: 1px solid var(--crop-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--crop-muted) 32%, transparent);
    }
    border-radius: 0.85rem;
    background: #111;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
  }
  .author-profile-crop-stage canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
  }
  .author-profile-crop-stage canvas.is-dragging {
    cursor: grabbing;
  }
  .author-profile-crop-stage canvas:focus-visible {
    outline: 3px solid var(--crop-accent);
    outline-offset: -3px;
  }
  .author-profile-crop-stage__grid {
    position: absolute;
    inset: 0;
    border: 1px solid rgb(255 255 255 / 0.72);
    background-image: linear-gradient(to right, transparent 33.15%, rgb(255 255 255 / 0.3) 33.3%, rgb(255 255 255 / 0.3) 33.55%, transparent 33.7%, transparent 66.45%, rgb(255 255 255 / 0.3) 66.6%, rgb(255 255 255 / 0.3) 66.85%, transparent 67%), linear-gradient(to bottom, transparent 33.15%, rgb(255 255 255 / 0.3) 33.3%, rgb(255 255 255 / 0.3) 33.55%, transparent 33.7%, transparent 66.45%, rgb(255 255 255 / 0.3) 66.6%, rgb(255 255 255 / 0.3) 66.85%, transparent 67%);
    box-shadow: inset 0 0 0 999px rgb(0 0 0 / 0.04);
    pointer-events: none;
  }
  .author-profile-crop-controls {
    display: grid;
    grid-template-columns: auto minmax(7rem, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
  }
  .author-profile-crop-controls > span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    color: var(--crop-muted);
    font-size: 0.7rem;
    font-weight: 800;
  }
  .author-profile-crop-controls input {
    width: 100%;
    accent-color: var(--crop-primary);
    cursor: pointer;
  }
  .author-profile-crop-controls button {
    min-height: 2rem;
    border: 1px solid var(--crop-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--crop-muted) 26%, transparent);
    }
    border-radius: 0.5rem;
    padding: 0.35rem 0.55rem;
    color: var(--crop-primary);
    font-size: 0.64rem;
    font-weight: 800;
  }
  .author-profile-crop-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--crop-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--crop-muted) 18%, transparent);
    }
  }
  .author-profile-crop-actions button {
    display: inline-flex;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--crop-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--crop-muted) 28%, transparent);
    }
    border-radius: 0.62rem;
    padding: 0.65rem 0.9rem;
    color: var(--crop-text);
    font-size: 0.72rem;
    font-weight: 800;
  }
  .author-profile-crop-actions [data-author-crop-confirm] {
    border-color: var(--crop-primary);
    background: var(--crop-primary);
    color: #fff;
  }
  .author-profile-crop-actions [data-author-crop-confirm]:hover {
    background: var(--crop-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--crop-primary) 88%, black);
    }
  }
  .author-profile-crop-actions button:focus-visible, .author-profile-crop-controls button:focus-visible, .author-profile-crop-dialog__header button:focus-visible {
    outline: 2px solid var(--crop-accent);
    outline-offset: 2px;
  }
  .author-profile-crop-actions button:disabled {
    cursor: wait;
    opacity: 0.65;
  }
  .author-profile-color-control {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.2rem 0.55rem;
    color: var(--ap-muted);
    font-size: 0.62rem;
    font-weight: 800;
  }
  .author-profile-color-control input {
    width: 2.4rem;
    height: 2.4rem;
    grid-row: span 2;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: transparent;
    padding: 0;
  }
  .author-profile-color-control b {
    color: var(--ap-text);
    font-size: 0.64rem;
  }
  .author-profile-template-rail {
    display: grid;
    grid-auto-columns: 9rem;
    grid-auto-flow: column;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.2rem 0.1rem 0.75rem;
    scroll-snap-type: x proximity;
  }
  .author-profile-template-card {
    position: relative;
    scroll-snap-align: start;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 22%, transparent);
    }
    border-radius: 0.72rem;
    background: var(--ap-surface);
    padding: 0.45rem;
    text-align: left;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  }
  .author-profile-template-card:hover {
    transform: translateY(-2px);
  }
  .author-profile-template-card.is-selected {
    border-color: var(--ap-accent);
    box-shadow: 0 0 0 2px var(--ap-accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 2px color-mix(in oklab, var(--ap-accent) 18%, transparent);
    }
  }
  .author-profile-template-card strong, .author-profile-template-card small {
    display: block;
  }
  .author-profile-template-card strong {
    margin-top: 0.48rem;
    color: var(--ap-text);
    font-family: Georgia, serif;
    font-size: 0.73rem;
  }
  .author-profile-template-card small {
    margin-top: 0.15rem;
    color: var(--ap-muted);
    font-size: 0.52rem;
    line-height: 1.35;
  }
  .author-profile-template-check {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: var(--ap-accent);
    color: white;
  }
  .author-profile-template-art {
    --thumb-bg: #f8f2e8;
    --thumb-ink: #362c25;
    --thumb-accent: #b85c38;
    position: relative;
    display: block;
    height: 7rem;
    overflow: hidden;
    border-radius: 0.44rem;
    background: var(--thumb-bg);
  }
  .author-profile-template-art::before {
    position: absolute;
    top: 0.75rem;
    left: 50%;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid var(--thumb-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--thumb-accent) 55%, transparent);
    }
    border-radius: 50%;
    background: var(--thumb-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--thumb-accent) 22%, var(--thumb-bg));
    }
    content: "";
    transform: translateX(-50%);
  }
  .author-profile-template-art::after {
    position: absolute;
    top: 3.2rem;
    left: 25%;
    width: 50%;
    height: 0.24rem;
    border-radius: 99px;
    background: var(--thumb-ink);
    box-shadow: 0 0.6rem 0 -0.05rem var(--thumb-ink);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.6rem 0 -0.05rem color-mix(in srgb, var(--thumb-ink) 30%, transparent);
    }
    content: "";
  }
  .author-profile-template-art i, .author-profile-template-art b, .author-profile-template-art em {
    position: absolute;
    bottom: 0.55rem;
    width: 1.65rem;
    height: 2.25rem;
    border-radius: 0.15rem;
    background: linear-gradient(145deg, var(--thumb-accent), var(--thumb-accent));
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(145deg, var(--thumb-accent), color-mix(in srgb, var(--thumb-accent) 30%, var(--thumb-bg)));
    }
    box-shadow: 0 5px 12px -8px #000;
  }
  .author-profile-template-art i {
    left: 1.1rem;
  }
  .author-profile-template-art b {
    left: 3.05rem;
  }
  .author-profile-template-art em {
    left: 5rem;
  }
  .author-profile-template-art.tpl-editorial-blush {
    --thumb-bg: #fff0ee;
    --thumb-accent: #b86469;
    border-radius: 2rem 2rem 0.4rem 0.4rem;
  }
  .author-profile-template-art.tpl-linen-gallery {
    --thumb-bg: #e5dfd2;
    --thumb-ink: #2f2a24;
    --thumb-accent: #7f7561;
    border-radius: 0;
  }
  .author-profile-template-art.tpl-botanical-letter {
    --thumb-bg: #edf1e4;
    --thumb-accent: #667d5d;
  }
  .author-profile-template-art.tpl-coastal-minimal {
    --thumb-bg: #eef7f8;
    --thumb-ink: #183b45;
    --thumb-accent: #4f8794;
    border-radius: 0;
  }
  .author-profile-template-art.tpl-modern-serif {
    --thumb-bg: #fff;
    --thumb-ink: #060606;
    --thumb-accent: #e4472d;
    border-radius: 0;
  }
  .author-profile-template-art.tpl-sunlit-stack {
    --thumb-bg: #fff4ca;
    --thumb-accent: #d48520;
  }
  .author-profile-template-art.tpl-monochrome-journal {
    --thumb-bg: #f3f3f1;
    --thumb-ink: #111;
    --thumb-accent: #555;
    border-radius: 0;
    filter: grayscale(1);
  }
  .author-profile-template-art.tpl-vintage-postcard {
    --thumb-bg: #ead8bd;
    --thumb-ink: #493325;
    --thumb-accent: #a36336;
    border: 1px dashed #8d6e50;
  }
  .author-profile-template-art.tpl-gallery-white {
    --thumb-bg: #fff;
    --thumb-ink: #1a1a1a;
    --thumb-accent: #777;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px #eee;
  }
  .author-profile-template-art.tpl-midnight-library {
    --thumb-bg: #151311;
    --thumb-ink: #f5ebd9;
    --thumb-accent: #a77c42;
  }
  .author-profile-template-art.tpl-obsidian-gold {
    --thumb-bg: #080808;
    --thumb-ink: #f8edcd;
    --thumb-accent: #c39a4a;
    border-radius: 0;
  }
  .author-profile-template-art.tpl-nocturne-blue {
    --thumb-bg: #09172a;
    --thumb-ink: #eaf4ff;
    --thumb-accent: #5580b7;
  }
  .author-profile-template-art.tpl-velvet-plum {
    --thumb-bg: #251322;
    --thumb-ink: #fff0fa;
    --thumb-accent: #a65c8f;
    border-radius: 1.5rem;
  }
  .author-profile-template-art.tpl-forest-ink {
    --thumb-bg: #102018;
    --thumb-ink: #eaf6ed;
    --thumb-accent: #5e8e72;
  }
  .author-profile-template-art.tpl-graphite-studio {
    --thumb-bg: #1e2124;
    --thumb-ink: #f2f3f4;
    --thumb-accent: #8e959c;
    border-radius: 0;
  }
  .author-profile-template-art.tpl-ember-night {
    --thumb-bg: #25120d;
    --thumb-ink: #ffeee5;
    --thumb-accent: #d5653b;
  }
  .author-profile-template-art.tpl-celestial-author {
    --thumb-bg: #090d25;
    --thumb-ink: #f1f3ff;
    --thumb-accent: #7a78ce;
    border-radius: 2rem;
  }
  .author-profile-template-art.tpl-noir-column {
    --thumb-bg: #080808;
    --thumb-ink: #fff;
    --thumb-accent: #777;
    border-radius: 0;
  }
  .author-profile-template-art.tpl-aurora-paper {
    --thumb-bg: #0b1b20;
    --thumb-ink: #edffff;
    --thumb-accent: #47a995;
  }
  .author-profile-layout-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(6.3rem, 1fr));
    gap: 0.6rem;
  }
  .author-profile-layout-card {
    position: relative;
    min-width: 0;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 22%, transparent);
    }
    border-radius: 0.9rem;
    background: var(--ap-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-surface) 96%, var(--ap-bg));
    }
    padding: 0.55rem;
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  }
  .author-profile-layout-card:hover {
    border-color: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--ap-primary) 55%, transparent);
    }
    transform: translateY(-2px);
  }
  .author-profile-layout-card:focus-visible {
    outline: 2px solid var(--ap-accent);
    outline-offset: 2px;
  }
  .author-profile-layout-card.is-selected {
    border-color: var(--ap-primary);
    box-shadow: 0 0 0 2px var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 2px color-mix(in oklab, var(--ap-primary) 15%, transparent);
    }
  }
  .author-profile-layout-card > strong, .author-profile-layout-card > small {
    display: block;
  }
  .author-profile-layout-card > strong {
    margin-top: 0.55rem;
    color: var(--ap-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
  }
  .author-profile-layout-card > small {
    display: -webkit-box;
    min-height: 3.2rem;
    margin-top: 0.22rem;
    overflow: hidden;
    color: var(--ap-muted);
    font-size: 0.52rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .author-profile-layout-check {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border-radius: 50%;
    background: var(--ap-primary);
    color: white;
    box-shadow: 0 5px 15px -8px var(--ap-primary);
  }
  .author-profile-layout-art {
    position: relative;
    display: block;
    height: 8.2rem;
    overflow: hidden;
    border-radius: 0.58rem;
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 7%, var(--ap-surface));
    }
  }
  .author-profile-layout-art i, .author-profile-layout-art b, .author-profile-layout-art em, .author-profile-layout-art span {
    position: absolute;
    display: block;
  }
  .author-profile-layout-art i {
    width: 2.5rem;
    height: 3.3rem;
    border-radius: 1.3rem 1.3rem 0.35rem 0.35rem;
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 28%, var(--ap-surface));
    }
  }
  .author-profile-layout-art i.has-image {
    background-position: center top;
    background-size: cover;
  }
  .author-profile-layout-art b {
    height: 0.3rem;
    border-radius: 99px;
    background: var(--ap-text);
    box-shadow: 0 0.65rem 0 -0.08rem var(--ap-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.65rem 0 -0.08rem color-mix(in oklab, var(--ap-text) 38%, transparent);
    }
  }
  .author-profile-layout-art em, .author-profile-layout-art span {
    bottom: 0.65rem;
    height: 2.15rem;
    border: 1px solid var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-primary) 26%, transparent);
    }
    border-radius: 0.25rem;
    background: var(--ap-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-surface) 92%, var(--ap-bg));
    }
  }
  .author-profile-layout-art em {
    left: 0.65rem;
    width: calc(50% - 0.8rem);
  }
  .author-profile-layout-art span {
    right: 0.65rem;
    width: calc(50% - 0.8rem);
  }
  .layout-preview-classic .author-profile-layout-art i {
    top: 0.65rem;
    left: 50%;
    transform: translateX(-50%);
  }
  .layout-preview-classic .author-profile-layout-art b {
    top: 4.25rem;
    left: 27%;
    width: 46%;
  }
  .layout-preview-editorial .author-profile-layout-art i {
    top: 0.65rem;
    left: 0.8rem;
    width: 3.4rem;
    height: 4.5rem;
    border-radius: 0.2rem;
  }
  .layout-preview-editorial .author-profile-layout-art b {
    top: 1.25rem;
    right: 0.8rem;
    width: 42%;
  }
  .layout-preview-editorial .author-profile-layout-art em {
    width: 30%;
  }
  .layout-preview-editorial .author-profile-layout-art span {
    width: 58%;
  }
  .layout-preview-modern .author-profile-layout-art i {
    top: 0.7rem;
    right: 0.7rem;
    width: 40%;
    height: 4rem;
    border-radius: 0;
    box-shadow: 0.35rem 0.35rem 0 var(--ap-primary);
  }
  .layout-preview-modern .author-profile-layout-art b {
    top: 1rem;
    left: 0.65rem;
    width: 42%;
    height: 0.55rem;
    box-shadow: 0 0.85rem 0 -0.12rem var(--ap-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.85rem 0 -0.12rem color-mix(in oklab, var(--ap-text) 40%, transparent);
    }
  }
  .layout-preview-studio .author-profile-layout-art i {
    top: 0;
    right: 0;
    width: 44%;
    height: 5.35rem;
    border-radius: 0;
  }
  .layout-preview-studio .author-profile-layout-art b {
    top: 1.3rem;
    left: 0.75rem;
    width: 42%;
  }
  .layout-preview-portrait .author-profile-layout-art i {
    inset: 0 0 auto;
    width: 100%;
    height: 5.55rem;
    border-radius: 0;
    background: linear-gradient(to bottom, var(--ap-primary), var(--ap-bg));
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(to bottom, color-mix(in oklab, var(--ap-primary) 42%, var(--ap-text)), color-mix(in oklab, var(--ap-bg) 96%, transparent));
    }
  }
  .layout-preview-portrait .author-profile-layout-art b {
    top: 4.85rem;
    left: 24%;
    width: 52%;
  }
  .author-profile-backgrounds-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--ap-muted) 18%, transparent);
    }
    padding-top: 1.5rem;
  }
  .author-profile-backgrounds-heading h2 {
    color: var(--ap-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 600;
  }
  .author-profile-backgrounds-heading p {
    margin-top: 0.3rem;
    color: var(--ap-muted);
    font-size: 0.7rem;
  }
  .author-profile-background-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1rem;
  }
  .author-profile-background-groups > section + section {
    border-left: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--ap-muted) 18%, transparent);
    }
    padding-left: 1.1rem;
  }
  .author-profile-background-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
  }
  .author-profile-background-group-head h3 {
    margin: 0;
    color: var(--ap-text);
    font-size: 0.68rem;
    letter-spacing: 0;
    text-transform: none;
  }
  .author-profile-background-group-head span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--ap-muted);
    font-size: 0.51rem;
  }
  .author-profile-background-rail {
    display: grid;
    grid-auto-columns: 4.8rem;
    grid-auto-flow: column;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0.15rem 0.65rem;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--ap-primary) transparent;
    @supports (color: color-mix(in lab, red, red)) {
      scrollbar-color: color-mix(in oklab, var(--ap-primary) 38%, transparent) transparent;
    }
    scrollbar-width: thin;
  }
  .author-profile-background-swatch-wrap, .author-profile-background-upload-tile {
    position: relative;
    width: 4.8rem;
    height: 6.5rem;
    scroll-snap-align: start;
  }
  .author-profile-background-swatch {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 24%, transparent);
    }
    border-radius: 0.62rem;
    background-color: var(--ap-bg);
    background-position: center top;
    background-size: cover;
    box-shadow: 0 10px 24px -22px #000;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  }
  .author-profile-background-swatch:hover {
    transform: translateY(-2px);
  }
  .author-profile-background-swatch:focus-visible {
    outline: 2px solid var(--ap-accent);
    outline-offset: 2px;
  }
  .author-profile-background-swatch.is-selected {
    border: 2px solid var(--ap-primary);
    box-shadow: 0 0 0 2px var(--ap-primary), 0 12px 24px -20px #000;
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 2px color-mix(in oklab, var(--ap-primary) 16%, transparent), 0 12px 24px -20px #000;
    }
  }
  .author-profile-background-swatch.is-selected::after {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    display: grid;
    width: 1.1rem;
    height: 1.1rem;
    place-items: center;
    border-radius: 50%;
    background: var(--ap-primary);
    color: white;
    content: "✓";
    font-size: 0.65rem;
    font-weight: 900;
  }
  .author-profile-background-delete {
    position: absolute;
    z-index: 2;
    top: 0.35rem;
    right: 0.35rem;
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    place-items: center;
    border-radius: 50%;
    background: #991b1b;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #991b1b 84%, var(--ap-text));
    }
    color: white;
    opacity: 0;
    box-shadow: 0 6px 18px -8px #000;
    transform: translateY(-3px);
    transition: opacity 140ms ease, transform 140ms ease;
  }
  .author-profile-background-swatch-wrap:hover .author-profile-background-delete, .author-profile-background-delete:focus-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .author-profile-background-upload-tile button {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.35rem;
    border: 1px dashed var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in oklab, var(--ap-muted) 38%, transparent);
    }
    border-radius: 0.62rem;
    background: transparent;
    color: var(--ap-primary);
    font-size: 0.54rem;
    font-weight: 800;
  }
  .author-profile-background-upload-tile button:hover {
    border-color: var(--ap-primary);
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 6%, transparent);
    }
  }
  .author-profile-background-upload-tile button:focus-visible {
    outline: 2px solid var(--ap-accent);
    outline-offset: 2px;
  }
  .author-profile-accent-override.is-disabled {
    cursor: not-allowed;
    opacity: 0.58;
  }
  .author-profile-book-list {
    display: grid;
    gap: 0.8rem;
  }
  .author-profile-book-editor {
    overflow: hidden;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 22%, transparent);
    }
    border-radius: 0.72rem;
    background: var(--ap-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-surface) 96%, var(--ap-bg));
    }
  }
  .author-profile-book-editor__head {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--ap-muted) 18%, transparent);
    }
    padding: 0.75rem 0.9rem;
  }
  .author-profile-book-head-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
  }
  .author-profile-book-order {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.9rem;
  }
  .author-profile-book-order > span {
    color: var(--ap-muted);
    font-size: 0.61rem;
    font-weight: 750;
  }
  .author-profile-book-order > div {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
  }
  .author-profile-book-order button {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    place-items: center;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 22%, transparent);
    }
    border-radius: 0.45rem;
    color: var(--ap-primary);
    background: var(--ap-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-surface) 96%, var(--ap-primary));
    }
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
  }
  .author-profile-book-order button:not(:disabled):hover {
    border-color: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--ap-primary) 36%, transparent);
    }
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 8%, var(--ap-surface));
    }
    transform: translateY(-1px);
  }
  .author-profile-book-order button:disabled {
    cursor: not-allowed;
    border-color: var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--ap-muted) 12%, transparent);
    }
    color: var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--ap-muted) 38%, transparent);
    }
    background: transparent;
    opacity: 0.65;
  }
  .author-profile-visibility-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
  }
  .author-profile-visibility-toggle > input[type="checkbox"] {
    position: absolute;
    opacity: 0;
  }
  .author-profile-visibility-toggle > span {
    position: relative;
    display: block;
    width: 2.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 35%, transparent);
    }
    border-radius: 999px;
    background: var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-muted) 14%, var(--ap-surface));
    }
    transition: border-color 160ms ease, background 160ms ease;
  }
  .author-profile-visibility-toggle > span::after {
    position: absolute;
    top: 0.16rem;
    left: 0.17rem;
    width: 0.82rem;
    height: 0.82rem;
    border-radius: 50%;
    background: var(--ap-surface);
    box-shadow: 0 2px 5px -2px #000;
    content: "";
    transition: transform 160ms ease, background 160ms ease;
  }
  .author-profile-visibility-toggle input:checked + span {
    border-color: var(--ap-primary);
    background: var(--ap-primary);
  }
  .author-profile-visibility-toggle input:checked + span::after {
    background: white;
    transform: translateX(0.98rem);
  }
  .author-profile-visibility-toggle input:focus-visible + span {
    outline: 2px solid var(--ap-accent);
    outline-offset: 2px;
  }
  .author-profile-visibility-toggle strong {
    font-family: Georgia, serif;
    font-size: 0.9rem;
  }
  .author-profile-book-title-input {
    min-width: 8rem;
    width: min(18rem, 34vw);
    border: 1px solid transparent;
    border-radius: 0.46rem;
    background: transparent;
    color: var(--ap-text);
    padding: 0.38rem 0.5rem;
    font-family: Georgia, serif;
    font-size: 0.9rem;
    font-weight: 700;
    outline: 0;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  }
  .author-profile-book-title-input:hover {
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 6%, transparent);
    }
  }
  .author-profile-book-title-input:focus {
    border-color: var(--ap-accent);
    background: var(--ap-surface);
    box-shadow: 0 0 0 3px var(--ap-accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--ap-accent) 17%, transparent);
    }
  }
  .author-profile-book-delete {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 1.9rem;
    place-items: center;
    border: 1px solid color-mix(in oklab, #dc2626 22%, transparent);
    border-radius: 0.45rem;
    background: #dc2626;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #dc2626 5%, var(--ap-surface));
    }
    color: #dc2626;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #dc2626 84%, var(--ap-text));
    }
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
  }
  .author-profile-book-delete:hover {
    border-color: color-mix(in oklab, #dc2626 46%, transparent);
    background: #dc2626;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #dc2626 10%, var(--ap-surface));
    }
    transform: translateY(-1px);
  }
  .author-profile-book-delete:focus-visible {
    outline: 2px solid var(--ap-accent);
    outline-offset: 2px;
  }
  .author-profile-book-editor__body {
    display: grid;
    grid-template-columns: minmax(17rem, 0.92fr) minmax(18rem, 1.08fr);
    gap: 2rem;
    padding: 1rem;
  }
  .author-profile-book-primary {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-width: 0;
  }
  .author-profile-cover-control {
    display: grid;
    grid-template-columns: 7.25rem minmax(8rem, 11.75rem);
    align-items: start;
    gap: 1rem;
  }
  .author-profile-cover-actions {
    display: grid;
    width: 100%;
    max-width: 11.75rem;
    align-content: start;
    gap: 0.55rem;
  }
  .author-profile-cover-actions small {
    color: var(--ap-muted);
    font-size: 0.58rem;
    line-height: 1.4;
  }
  .author-profile-cover-preview {
    display: grid;
    width: 6.2rem;
    aspect-ratio: 2 / 3;
    place-items: center;
    overflow: hidden;
    border-radius: 0.32rem;
    background: linear-gradient(145deg, var(--ap-primary), var(--ap-accent));
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(145deg, color-mix(in oklab, var(--ap-primary) 78%, #231914), color-mix(in oklab, var(--ap-accent) 28%, #f2e8df));
    }
    color: white;
    padding: 0.75rem;
    font-family: Georgia, serif;
    font-size: 0.72rem;
    text-align: center;
    box-shadow: 0 16px 30px -22px #000;
  }
  .author-profile-cover-preview img {
    width: calc(100% + 1.5rem);
    height: calc(100% + 1.5rem);
    max-width: none;
    object-fit: cover;
  }
  .author-profile-cover-actions .author-profile-upload-button {
    width: 100%;
    max-width: 11.75rem;
    min-height: 2.3rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.64rem;
  }
  .author-profile-cover-actions [data-use-linked-author-cover] {
    white-space: nowrap;
  }
  .author-profile-book-description {
    display: grid;
    gap: 0.45rem;
  }
  .author-profile-book-description textarea {
    min-height: 7rem;
    resize: vertical;
  }
  .author-profile-book-fields {
    min-width: 0;
  }
  .author-profile-platform-list {
    display: grid;
    gap: 0.72rem;
    margin-top: 0;
  }
  .author-profile-platform-row {
    display: grid;
    grid-template-columns: 1.7rem minmax(4.75rem, 0.58fr) minmax(8rem, 1fr);
    align-items: center;
    gap: 0.55rem;
  }
  .author-profile-platform-row > strong {
    color: var(--ap-text);
    font-size: 0.68rem;
  }
  .author-profile-platform-name {
    width: fit-content;
    max-width: 100%;
    cursor: text;
    border-radius: 0.32rem;
    padding: 0.18rem 0.28rem;
    margin-left: -0.28rem;
    line-height: 1.35;
    transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  }
  .author-profile-platform-name:hover {
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 7%, transparent);
    }
  }
  .author-profile-platform-name:focus {
    outline: 0;
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 9%, var(--ap-surface));
    }
    box-shadow: 0 0 0 2px var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 2px color-mix(in oklab, var(--ap-primary) 24%, transparent);
    }
  }
  .author-profile-platform-mark {
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border-radius: 50%;
    background: var(--ap-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-primary) 10%, var(--ap-surface));
    }
    color: var(--ap-primary);
    font-family: Georgia, serif;
    font-size: 0.7rem;
    font-weight: 800;
  }
  .author-profile-link-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .author-profile-link-columns > div + div {
    border-left: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--ap-muted) 18%, transparent);
    }
    padding-left: 2rem;
  }
  .author-profile-link-row {
    display: grid;
    grid-template-columns: minmax(6rem, 0.7fr) minmax(8rem, 1fr) 2rem;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
  }
  .author-profile-link-row > button {
    display: grid;
    width: 2rem;
    height: 2.65rem;
    place-items: center;
    border-radius: 0.4rem;
    color: #dc2626;
  }
  .author-profile-add-row {
    width: 100%;
    border: 1px dashed var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in oklab, var(--ap-muted) 35%, transparent);
    }
    color: var(--ap-primary);
  }
  .author-profile-social-list {
    display: grid;
    gap: 0.45rem;
  }
  .author-profile-social-list label {
    display: grid;
    grid-template-columns: minmax(7rem, 0.42fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
  }
  .author-profile-social-list label > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ap-muted);
    font-size: 0.68rem;
    font-weight: 750;
  }
  .author-profile-preview-column {
    position: sticky;
    top: 1rem;
    grid-area: preview;
    align-self: start;
    border-left: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--ap-muted) 20%, transparent);
    }
    padding-top: 1rem;
    padding-left: 1.25rem;
  }
  .author-profile-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--ap-text);
    font-size: 0.72rem;
    font-weight: 800;
  }
  .author-profile-preview-head > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }
  .author-profile-preview-head small {
    color: var(--ap-muted);
    font-size: 0.59rem;
    font-weight: 700;
  }
  .author-profile-preview-column > p {
    margin-top: 0.7rem;
    color: var(--ap-muted);
    font-size: 0.59rem;
    text-align: center;
  }
  .author-profile-phone {
    position: relative;
    width: min(100%, 21rem);
    height: min(72vh, 44rem);
    margin: auto;
    overflow: hidden;
    border: 0.48rem solid var(--ap-text);
    @supports (color: color-mix(in lab, red, red)) {
      border: 0.48rem solid color-mix(in oklab, var(--ap-text) 92%, #000);
    }
    border-radius: 2.25rem;
    background: #fff;
    box-shadow: 0 28px 70px -42px rgb(0 0 0 / 0.65);
  }
  .author-profile-phone-speaker {
    position: absolute;
    z-index: 3;
    top: 0.38rem;
    left: 50%;
    width: 5rem;
    height: 1.1rem;
    border-radius: 999px;
    background: var(--ap-text);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-text) 94%, #000);
    }
    transform: translateX(-50%);
  }
  .author-profile-phone-screen {
    position: absolute;
    inset: 0 0 -2px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .author-profile-phone-screen::-webkit-scrollbar {
    width: 0;
    height: 0;
    appearance: none;
    background: transparent;
  }
  .author-profile-phone-screen::-webkit-scrollbar-track, .author-profile-phone-screen::-webkit-scrollbar-corner {
    background: transparent;
  }
  .author-profile-phone-page {
    --phone-bg: #fbf7ef;
    --phone-surface: #fffdf9;
    --phone-ink: #211b17;
    --phone-muted: #74685f;
    min-height: 100%;
    background: var(--phone-bg);
    color: var(--phone-ink);
    font-size: 0.65rem;
  }
  .author-profile-phone-hero {
    padding: 2.35rem 1rem 1.35rem;
    text-align: center;
  }
  .author-profile-phone-avatar {
    display: grid;
    width: 5rem;
    height: 5rem;
    margin: auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--profile-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--profile-accent) 55%, transparent);
    }
    border-radius: 50%;
    background: var(--profile-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--profile-accent) 16%, var(--phone-surface));
    }
    color: var(--profile-accent);
    font-family: Georgia, serif;
    font-size: 1.25rem;
    box-shadow: 0 0 0 0.28rem var(--phone-surface);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 0.28rem color-mix(in srgb, var(--phone-surface) 75%, transparent);
    }
  }
  .author-profile-phone-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .author-profile-phone-hero h2 {
    margin-top: 0.85rem;
    font-family: Georgia, serif;
    font-size: 1.65rem;
    font-weight: 500;
    letter-spacing: -0.035em;
  }
  .author-profile-phone-hero p {
    margin: 0.55rem auto 0;
    color: var(--phone-muted);
    font-family: Georgia, serif;
    font-size: 0.68rem;
    line-height: 1.55;
  }
  .author-profile-phone-socials {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
  }
  .author-profile-phone-socials span {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    border: 1px solid var(--phone-ink);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--phone-ink) 16%, transparent);
    }
    border-radius: 50%;
  }
  .author-profile-phone-section {
    padding: 0.8rem;
  }
  .author-profile-phone-section > h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    color: var(--phone-ink);
    font-family: Georgia, serif;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
  }
  .author-profile-phone-section > h3::before, .author-profile-phone-section > h3::after {
    width: 2.2rem;
    height: 1px;
    background: var(--profile-accent);
    content: "";
  }
  .author-profile-phone-books {
    display: grid;
    gap: 0.85rem;
  }
  .author-profile-phone-book {
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--phone-ink);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--phone-ink) 20%, transparent);
    }
    border-radius: 0.24rem;
    background: var(--phone-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--phone-surface) 94%, var(--phone-bg));
    }
    box-shadow: none;
    flex-direction: column;
  }
  .author-profile-phone-book::before {
    position: absolute;
    z-index: 2;
    top: -1px;
    left: 50%;
    width: 2.4rem;
    height: 2px;
    background: var(--profile-accent);
    content: "";
    transform: translateX(-50%);
  }
  .author-profile-phone-cover {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--phone-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--phone-surface) 90%, var(--phone-bg));
    }
    color: var(--phone-ink);
    padding: 1.35rem 1rem 1.1rem;
    font-family: Georgia, serif;
    font-size: 0.58rem;
    line-height: 1.25;
    text-align: center;
  }
  .author-profile-phone-cover::after {
    display: none;
  }
  .author-profile-phone-cover img {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    max-width: 62%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.08rem;
    box-shadow: 0 12px 24px -20px #000;
  }
  .author-profile-phone-cover > span {
    display: grid;
    width: 48%;
    aspect-ratio: 2 / 3;
    place-items: center;
    border-left: 0.14rem solid rgb(255 255 255 / 0.1);
    background: var(--profile-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--profile-accent) 72%, #201b18);
    }
    box-shadow: 0 12px 24px -20px #000;
    color: white;
    padding: 0.45rem;
  }
  .author-profile-phone-book-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    border-top: 1px solid var(--phone-ink);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in srgb, var(--phone-ink) 10%, transparent);
    }
    padding: 0.92rem 0.82rem 1rem;
    text-align: center;
    flex-direction: column;
  }
  .author-profile-phone-book h4 {
    color: var(--phone-ink);
    font-family: Georgia, serif;
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: -0.022em;
    line-height: 1.15;
  }
  .author-profile-phone-book p {
    margin: 0.38rem 0 0;
    color: var(--phone-muted);
    font-size: 0.52rem;
    line-height: 1.52;
  }
  .author-profile-phone-platforms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.32rem;
    margin-top: 0.82rem;
  }
  .author-profile-phone-platform {
    display: flex;
    min-height: 1.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--profile-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--profile-accent) 62%, var(--phone-ink) 12%);
    }
    border-radius: 0.1rem;
    background: transparent;
    padding: 0.3rem 0.42rem;
    color: var(--phone-ink);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 0.47rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
  }
  .author-profile-phone-links {
    display: grid;
    gap: 0.35rem;
  }
  .author-profile-phone-links > span {
    display: flex;
    min-height: 2.3rem;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--phone-ink);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--phone-ink) 13%, transparent);
    }
    border-radius: 0.42rem;
    background: var(--phone-surface);
    padding: 0.55rem 0.65rem;
    font-family: Georgia, serif;
  }
  .author-profile-phone-page footer {
    margin-top: 0.8rem;
    border-top: 1px solid var(--phone-ink);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in srgb, var(--phone-ink) 12%, transparent);
    }
    padding: 1rem;
    color: var(--phone-muted);
    font-size: 0.5rem;
    text-align: center;
  }
  .author-profile-phone-page.tpl-editorial-blush {
    --phone-bg: #fff1ef;
    --phone-surface: #fffafa;
    --phone-ink: #3c2324;
    --phone-muted: #866365;
  }
  .author-profile-phone-page.tpl-editorial-blush .author-profile-phone-avatar {
    width: 5.8rem;
    height: 5.8rem;
  }
  .author-profile-phone-page.tpl-linen-gallery {
    --phone-bg: #e8e2d7;
    --phone-surface: #f8f5ee;
    --phone-ink: #322c25;
    --phone-muted: #71685e;
    background-image: repeating-linear-gradient(90deg, transparent 0 3px, rgb(50 44 37 / 0.025) 3px 4px);
  }
  .author-profile-phone-page.tpl-linen-gallery .author-profile-phone-book {
    border-radius: 0.12rem;
  }
  .author-profile-phone-page.tpl-botanical-letter {
    --phone-bg: #eef2e7;
    --phone-surface: #fbfcf8;
    --phone-ink: #263029;
    --phone-muted: #68736a;
  }
  .author-profile-phone-page.tpl-coastal-minimal {
    --phone-bg: #eef7f8;
    --phone-surface: #fff;
    --phone-ink: #17343d;
    --phone-muted: #60787e;
  }
  .author-profile-phone-page.tpl-coastal-minimal .author-profile-phone-avatar, .author-profile-phone-page.tpl-coastal-minimal .author-profile-phone-book {
    border-radius: 0.1rem;
  }
  .author-profile-phone-page.tpl-modern-serif {
    --phone-bg: #fff;
    --phone-surface: #fff;
    --phone-ink: #0b0b0b;
    --phone-muted: #666;
  }
  .author-profile-phone-page.tpl-modern-serif .author-profile-phone-hero {
    border-bottom: 0.3rem solid var(--profile-accent);
  }
  .author-profile-phone-page.tpl-modern-serif .author-profile-phone-avatar, .author-profile-phone-page.tpl-modern-serif .author-profile-phone-book {
    border-radius: 0;
    box-shadow: none;
  }
  .author-profile-phone-page.tpl-sunlit-stack {
    --phone-bg: #fff5d7;
    --phone-surface: #fffdf5;
    --phone-ink: #382817;
    --phone-muted: #806e58;
  }
  .author-profile-phone-page.tpl-monochrome-journal {
    --phone-bg: #f4f4f2;
    --phone-surface: #fff;
    --phone-ink: #111;
    --phone-muted: #666;
    filter: grayscale(1);
  }
  .author-profile-phone-page.tpl-vintage-postcard {
    --phone-bg: #efe1cd;
    --phone-surface: #fbf2e5;
    --phone-ink: #3d2c20;
    --phone-muted: #796451;
  }
  .author-profile-phone-page.tpl-vintage-postcard .author-profile-phone-book {
    border-style: dashed;
  }
  .author-profile-phone-page.tpl-gallery-white {
    --phone-bg: #fff;
    --phone-surface: #fff;
    --phone-ink: #151515;
    --phone-muted: #727272;
  }
  .author-profile-phone-page.tpl-gallery-white .author-profile-phone-book {
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
  }
  .author-profile-phone-page.tpl-midnight-library, .author-profile-phone-page.tpl-obsidian-gold, .author-profile-phone-page.tpl-nocturne-blue, .author-profile-phone-page.tpl-velvet-plum, .author-profile-phone-page.tpl-forest-ink, .author-profile-phone-page.tpl-graphite-studio, .author-profile-phone-page.tpl-ember-night, .author-profile-phone-page.tpl-celestial-author, .author-profile-phone-page.tpl-noir-column, .author-profile-phone-page.tpl-aurora-paper {
    --phone-bg: #11100f;
    --phone-surface: #1b1917;
    --phone-ink: #f7f0e5;
    --phone-muted: #aea49a;
  }
  .author-profile-phone-page.tpl-obsidian-gold {
    --phone-bg: #070707;
    --phone-surface: #12110f;
    --phone-ink: #f8eed2;
    --phone-muted: #b1a382;
  }
  .author-profile-phone-page.tpl-obsidian-gold .author-profile-phone-book {
    border-radius: 0;
  }
  .author-profile-phone-page.tpl-nocturne-blue {
    --phone-bg: #081422;
    --phone-surface: #102235;
    --phone-ink: #eef7ff;
    --phone-muted: #9eb1c4;
  }
  .author-profile-phone-page.tpl-velvet-plum {
    --phone-bg: #1e0e1b;
    --phone-surface: #2c1728;
    --phone-ink: #fff0fa;
    --phone-muted: #c9a9bf;
  }
  .author-profile-phone-page.tpl-velvet-plum .author-profile-phone-book {
    border-radius: 1rem;
  }
  .author-profile-phone-page.tpl-forest-ink {
    --phone-bg: #0d1813;
    --phone-surface: #15251d;
    --phone-ink: #eef8f0;
    --phone-muted: #9bb0a0;
  }
  .author-profile-phone-page.tpl-graphite-studio {
    --phone-bg: #16181a;
    --phone-surface: #222528;
    --phone-ink: #f4f5f6;
    --phone-muted: #a2a6aa;
  }
  .author-profile-phone-page.tpl-graphite-studio .author-profile-phone-book {
    border-radius: 0;
    box-shadow: none;
  }
  .author-profile-phone-page.tpl-ember-night {
    --phone-bg: #1e0f0b;
    --phone-surface: #2b1712;
    --phone-ink: #ffefe7;
    --phone-muted: #c6a098;
  }
  .author-profile-phone-page.tpl-celestial-author {
    --phone-bg: #090c20;
    --phone-surface: #111633;
    --phone-ink: #f1f3ff;
    --phone-muted: #a7add1;
    background-image: radial-gradient(circle at 20% 10%, rgb(255 255 255 / 0.16) 0 1px, transparent 2px);
    background-size: 55px 55px;
  }
  .author-profile-phone-page.tpl-celestial-author .author-profile-phone-book {
    border-radius: 1.4rem;
  }
  .author-profile-phone-page.tpl-noir-column {
    --phone-bg: #090909;
    --phone-surface: #141414;
    --phone-ink: #fff;
    --phone-muted: #aaa;
  }
  .author-profile-phone-page.tpl-noir-column .author-profile-phone-book {
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
  }
  .author-profile-phone-page.tpl-aurora-paper {
    --phone-bg: #0a171a;
    --phone-surface: #12252a;
    --phone-ink: #f0ffff;
    --phone-muted: #9cb9b6;
    background-image: radial-gradient(circle at 80% 0, var(--profile-accent), transparent 45%);
    @supports (color: color-mix(in lab, red, red)) {
      background-image: radial-gradient(circle at 80% 0, color-mix(in srgb, var(--profile-accent) 25%, transparent), transparent 45%);
    }
  }
  .author-profile-template-rail {
    grid-auto-columns: 10.5rem;
    gap: 0.85rem;
  }
  .author-profile-template-card {
    border-radius: 1rem;
    padding: 0.55rem;
    box-shadow: 0 12px 35px -30px rgb(0 0 0 / 0.5);
  }
  .author-profile-template-card.is-selected {
    border-color: var(--template-card-accent, var(--ap-accent));
  }
  .author-profile-template-art {
    height: 10.5rem;
    border-radius: 0.7rem;
    background-position: center top;
    background-size: cover;
  }
  .author-profile-template-art::before {
    inset: auto 0 0;
    width: auto;
    height: 48%;
    border: 0;
    border-radius: 0;
    background: linear-gradient(transparent, rgb(0 0 0 / 0.7));
    transform: none;
  }
  .author-profile-template-art::after {
    top: auto;
    right: 0.75rem;
    bottom: 0.8rem;
    left: 0.75rem;
    width: auto;
    height: 1px;
    background: var(--template-card-accent, white);
    box-shadow: none;
  }
  .author-profile-template-art > span {
    position: absolute;
    right: 0.7rem;
    bottom: 0.95rem;
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid white;
    border-radius: 50%;
    background: var(--template-card-accent);
    box-shadow: 0 3px 12px rgb(0 0 0 / 0.4);
  }
  .author-profile-design-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    gap: 1rem;
    margin-top: 1.25rem;
  }
  .author-profile-background-control, .author-profile-accent-override {
    display: flex;
    min-height: 7rem;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--ap-muted) 22%, transparent);
    }
    border-radius: 0.9rem;
    background: var(--ap-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-surface) 96%, var(--ap-bg));
    }
    padding: 0.75rem;
  }
  .author-profile-background-control strong, .author-profile-background-control small, .author-profile-accent-override strong, .author-profile-accent-override small {
    display: block;
  }
  .author-profile-background-control strong, .author-profile-accent-override strong {
    color: var(--ap-text);
    font-size: 0.75rem;
  }
  .author-profile-background-control small, .author-profile-accent-override small {
    margin-top: 0.2rem;
    color: var(--ap-muted);
    font-size: 0.59rem;
    line-height: 1.45;
  }
  .author-profile-background-thumb {
    width: 5.2rem;
    height: 6.6rem;
    flex: 0 0 5.2rem;
    border-radius: 0.55rem;
    background-position: center top;
    background-size: cover;
    box-shadow: 0 14px 30px -20px #000;
  }
  .author-profile-background-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
  }
  .author-profile-background-actions button {
    min-height: 2rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.6rem;
  }
  .author-profile-reset-button {
    color: var(--ap-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .author-profile-accent-override {
    position: relative;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1rem;
    cursor: pointer;
  }
  .author-profile-accent-override > input {
    position: absolute;
    opacity: 0;
  }
  .author-profile-accent-override > i {
    position: relative;
    width: 2.4rem;
    height: 1.35rem;
    flex: 0 0 2.4rem;
    border-radius: 999px;
    background: var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--ap-muted) 28%, transparent);
    }
  }
  .author-profile-accent-override > i::after {
    position: absolute;
    top: 0.18rem;
    left: 0.18rem;
    width: 0.99rem;
    height: 0.99rem;
    border-radius: 50%;
    background: var(--ap-surface);
    box-shadow: 0 2px 7px rgb(0 0 0 / 0.22);
    content: "";
    transition: transform 160ms ease;
  }
  .author-profile-accent-override > input:checked + i {
    background: var(--ap-primary);
  }
  .author-profile-accent-override > input:checked + i::after {
    transform: translateX(1.05rem);
  }
  .author-profile-accent-override > span:nth-of-type(1) {
    min-width: 9rem;
    flex: 1;
  }
  .author-profile-accent-override .author-profile-color-control {
    width: 100%;
    grid-template-columns: auto 1fr;
    border-top: 1px solid var(--ap-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--ap-muted) 18%, transparent);
    }
    padding-top: 0.75rem;
  }
  .author-profile-color-control.is-disabled {
    opacity: 0.58;
  }
  .author-profile-phone-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 24rem;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 6rem 1rem 1.4rem;
  }
  .author-profile-phone-hero::before {
    position: absolute;
    z-index: -3;
    inset: 0;
    background-image: var(--profile-background);
    background-position: center top;
    background-size: cover;
    content: "";
  }
  .author-profile-phone-hero::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(to bottom, transparent 12%, var(--phone-bg) 44%, var(--phone-bg) 94%);
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(to bottom, transparent 12%, color-mix(in srgb, var(--phone-bg) 12%, transparent) 44%, var(--phone-bg) 94%);
    }
    content: "";
  }
  .author-profile-phone-avatar {
    width: 5.1rem;
    height: 6.8rem;
    flex: 0 0 auto;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 0.22rem var(--phone-surface), 0 16px 35px -20px #000;
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--phone-surface) 62%, transparent), 0 16px 35px -20px #000;
    }
  }
  .author-profile-phone-hero h2, .author-profile-phone-hero p, .author-profile-phone-socials {
    position: relative;
  }
  .author-profile-phone-page.layout-full-bleed .author-profile-phone-hero {
    min-height: 31rem;
    align-items: flex-start;
    padding-top: 12rem;
    text-align: left;
  }
  .author-profile-phone-page.layout-full-bleed .author-profile-phone-avatar {
    width: 7.2rem;
    height: 9.5rem;
    margin: 0;
    border-radius: 0;
  }
  .author-profile-phone-page.layout-full-bleed .author-profile-phone-socials {
    justify-content: flex-start;
  }
  .author-profile-phone-page.layout-side-panel .author-profile-phone-hero {
    min-height: 28rem;
    align-items: flex-start;
    padding-right: 40%;
    text-align: left;
  }
  .author-profile-phone-page.layout-side-panel .author-profile-phone-avatar {
    position: absolute;
    right: 0.8rem;
    bottom: 1.5rem;
    width: 35%;
    height: 13rem;
    margin: 0;
    border-radius: 0;
  }
  .author-profile-phone-page.layout-side-panel .author-profile-phone-socials {
    justify-content: flex-start;
  }
  .author-profile-phone-page.layout-arch .author-profile-phone-avatar {
    width: 6.2rem;
    height: 8.5rem;
    border-radius: 999px 999px 0.35rem 0.35rem;
  }
  .author-profile-phone-page.layout-type-led .author-profile-phone-hero h2 {
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.07em;
    text-transform: uppercase;
  }
  .author-profile-phone-page.layout-type-led .author-profile-phone-avatar {
    border-radius: 0;
    box-shadow: 0.5rem 0.5rem 0 var(--profile-accent);
  }
  .author-profile-phone-page.layout-panorama .author-profile-phone-avatar {
    width: 9rem;
    height: 6.5rem;
    border-radius: 0;
  }
  .author-profile-phone-page.layout-column .author-profile-phone-hero {
    display: grid;
    grid-template-columns: 35% 1fr;
    align-content: end;
    gap: 0.7rem;
    text-align: left;
  }
  .author-profile-phone-page.layout-column .author-profile-phone-avatar {
    width: 100%;
    height: 9rem;
    grid-row: span 3;
    border-radius: 0;
  }
  .author-profile-phone-page.layout-column .author-profile-phone-hero h2 {
    margin: 0;
  }
  .author-profile-phone-page.layout-column .author-profile-phone-socials {
    justify-content: flex-start;
  }
  .author-profile-phone-page.layout-postcard .author-profile-phone-avatar {
    transform: rotate(-4deg);
    box-shadow: 0 0 0 0.38rem #f5ecdd, 0 16px 35px -20px #000;
  }
  .author-profile-phone-page.layout-offset .author-profile-phone-avatar {
    align-self: flex-end;
    margin-right: 1rem;
    transform: translateY(1rem);
  }
  .author-profile-phone-page.layout-diagonal .author-profile-phone-hero {
    clip-path: polygon(0 0,100% 0,100% 96%,0 86%);
    padding-bottom: 3rem;
  }
  .author-profile-phone-page.layout-orbital .author-profile-phone-avatar {
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--profile-accent),0 0 2rem var(--profile-accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 1px var(--profile-accent),0 0 2rem color-mix(in srgb,var(--profile-accent) 45%,transparent);
    }
  }
  .author-profile-phone-page.layout-classic .author-profile-phone-hero {
    align-items: center;
    text-align: center;
  }
  .author-profile-phone-page.layout-classic .author-profile-phone-avatar {
    width: 5.8rem;
    height: 7.6rem;
    border-radius: 999px 999px 0.55rem 0.55rem;
  }
  .author-profile-phone-page.layout-classic .author-profile-phone-book {
    border-radius: 0.75rem;
    box-shadow: 0 12px 28px -24px #000;
  }
  .author-profile-phone-page.layout-editorial .author-profile-phone-hero {
    align-items: flex-start;
    text-align: left;
  }
  .author-profile-phone-page.layout-editorial .author-profile-phone-avatar {
    width: 7.5rem;
    height: 10rem;
    margin: 0 0 0 auto;
    border-radius: 0;
    box-shadow: 0.55rem 0.55rem 0 var(--profile-accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0.55rem 0.55rem 0 color-mix(in srgb, var(--profile-accent) 26%, transparent);
    }
  }
  .author-profile-phone-page.layout-editorial .author-profile-phone-socials {
    justify-content: flex-start;
  }
  .author-profile-phone-page.layout-editorial .author-profile-phone-section > h3 {
    justify-content: flex-start;
    text-align: left;
  }
  .author-profile-phone-page.layout-editorial .author-profile-phone-section > h3::before {
    display: none;
  }
  .author-profile-phone-page.layout-editorial .author-profile-phone-book {
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .author-profile-phone-page.layout-modern .author-profile-phone-hero {
    align-items: flex-start;
    text-align: left;
  }
  .author-profile-phone-page.layout-modern .author-profile-phone-hero h2 {
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.07em;
    text-transform: uppercase;
  }
  .author-profile-phone-page.layout-modern .author-profile-phone-avatar {
    align-self: flex-end;
    border-radius: 0;
    box-shadow: 0.55rem 0.55rem 0 var(--profile-accent);
  }
  .author-profile-phone-page.layout-modern .author-profile-phone-socials {
    justify-content: flex-start;
  }
  .author-profile-phone-page.layout-modern .author-profile-phone-book, .author-profile-phone-page.layout-modern .author-profile-phone-links > span {
    border-radius: 0.18rem;
    box-shadow: none;
  }
  .author-profile-phone-page.layout-studio .author-profile-phone-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44%;
    align-content: end;
    gap: 0.7rem;
    text-align: left;
  }
  .author-profile-phone-page.layout-studio .author-profile-phone-avatar {
    width: 100%;
    height: 12rem;
    grid-row: 1 / span 4;
    grid-column: 2;
    border-radius: 0;
    box-shadow: none;
  }
  .author-profile-phone-page.layout-studio .author-profile-phone-hero h2 {
    margin: 0;
  }
  .author-profile-phone-page.layout-studio .author-profile-phone-socials {
    justify-content: flex-start;
  }
  .author-profile-phone-page.layout-studio .author-profile-phone-book {
    border-width: 1px 0;
    border-radius: 0;
    box-shadow: none;
  }
  .author-profile-phone-page.layout-portrait .author-profile-phone-hero {
    min-height: 35rem;
    align-items: center;
    justify-content: flex-end;
    padding: 24rem 1rem 2rem;
    text-align: center;
  }
  .author-profile-phone-page.layout-portrait.has-profile-image .author-profile-phone-hero::before {
    background-image: var(--profile-portrait), var(--profile-background);
    background-position: center top, center top;
    background-repeat: no-repeat;
    background-size: cover, cover;
  }
  .author-profile-phone-page.layout-portrait .author-profile-phone-hero::after {
    background: linear-gradient(to bottom, transparent 32%, var(--phone-bg) 55%, var(--phone-bg) 72%);
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(to bottom, transparent 32%, color-mix(in srgb, var(--phone-bg) 5%, transparent) 55%, var(--phone-bg) 72%);
    }
  }
  .author-profile-phone-page.layout-portrait.has-profile-image .author-profile-phone-avatar {
    display: none;
  }
  .author-profile-phone-page.layout-portrait .author-profile-phone-hero h2 {
    margin-top: 1.5rem;
    font-size: 2.15rem;
  }
  .author-profile-phone-page.layout-portrait .author-profile-phone-book {
    grid-template-columns: 5.2rem minmax(0, 1fr);
    border-radius: 0.7rem;
  }
  .author-profile-phone-page .author-profile-phone-books .author-profile-phone-book {
    border-width: 1px;
    border-radius: 0.24rem;
    background: var(--phone-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--phone-surface) 94%, var(--phone-bg));
    }
    box-shadow: none;
  }
  @media (max-width: 1280px) {
    .author-profile-layout {
      grid-template-columns: minmax(0, 1fr) 20rem;
    }
    .author-profile-book-editor__body {
      grid-template-columns: minmax(17rem, 0.92fr) minmax(18rem, 1.08fr);
    }
  }
  @media (max-width: 1023px) {
    .author-profile-page-header {
      align-items: flex-start;
      flex-direction: column;
    }
    .author-profile-header-actions {
      width: 100%;
      justify-content: flex-start;
      flex-wrap: wrap;
    }
    .author-profile-layout {
      grid-template-areas: "tabs" "form" "preview";
      grid-template-columns: 1fr;
      grid-template-rows: auto;
    }
    .author-profile-preview-column {
      position: static;
      border-top: 1px solid var(--ap-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-top: 1px solid color-mix(in oklab, var(--ap-muted) 20%, transparent);
      }
      border-left: 0;
      padding: 1.5rem 0 0;
    }
    .author-profile-phone {
      height: 38rem;
    }
    .author-profile-layout-rail {
      grid-auto-columns: 10rem;
      grid-auto-flow: column;
      grid-template-columns: none;
      overflow-x: auto;
      padding: 0.15rem 0.1rem 0.7rem;
      scroll-snap-type: x proximity;
    }
    .author-profile-layout-card {
      scroll-snap-align: start;
    }
  }
  @media (max-width: 767px) {
    .author-profile-crop-dialog-root {
      align-items: end;
      padding: 0.5rem;
    }
    .author-profile-crop-dialog {
      width: 100%;
      max-height: calc(100dvh - 1rem);
      border-radius: 1rem;
      padding: 0.9rem;
    }
    .author-profile-crop-dialog__header h2 {
      font-size: 1.3rem;
    }
    .author-profile-crop-stage {
      width: min(100%, 23rem, calc(100dvh - 20rem));
      min-width: min(13rem, 100%);
    }
    .author-profile-crop-controls {
      grid-template-columns: auto 1fr;
    }
    .author-profile-crop-controls button {
      grid-column: 1 / -1;
      justify-self: end;
    }
    .author-profile-crop-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .author-profile-crop-actions button {
      padding-inline: 0.6rem;
    }
    .author-profile-tabs {
      gap: 0;
    }
    .author-profile-tabs button {
      padding: 0.65rem 0.55rem;
      font-size: 0.68rem;
    }
    .author-profile-design-controls {
      grid-template-columns: 1fr;
    }
    .author-profile-background-groups {
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
    .author-profile-background-groups > section + section {
      border-top: 1px solid var(--ap-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-top: 1px solid color-mix(in oklab, var(--ap-muted) 18%, transparent);
      }
      border-left: 0;
      padding-top: 1rem;
      padding-left: 0;
    }
    .author-profile-background-delete {
      opacity: 1;
      transform: none;
    }
    .author-profile-page-header h1 {
      font-size: 2.35rem;
    }
    .author-profile-header-actions > span {
      width: 100%;
    }
    .author-profile-open-link, .author-profile-save-button {
      flex: 1;
    }
    .author-profile-basics-grid, .author-profile-link-columns {
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
    .author-profile-basics-grid > div + div, .author-profile-link-columns > div + div {
      border-top: 1px solid var(--ap-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-top: 1px solid color-mix(in oklab, var(--ap-muted) 18%, transparent);
      }
      border-left: 0;
      padding-top: 1.25rem;
      padding-left: 0;
    }
    .author-profile-section-heading {
      align-items: flex-start;
      flex-direction: column;
    }
    .author-profile-add-book-button {
      width: 100%;
    }
    .author-profile-book-editor__body {
      grid-template-columns: 1fr;
    }
    .author-profile-book-editor__head {
      flex-wrap: wrap;
    }
    .author-profile-book-head-actions {
      width: 100%;
      justify-content: flex-end;
    }
    .author-profile-book-title-input {
      width: min(15rem, calc(100vw - 10rem));
    }
    .author-profile-book-order {
      margin-left: auto;
      gap: 0.55rem;
    }
    .author-profile-cover-control {
      grid-template-columns: 5rem minmax(0, 1fr);
    }
    .author-profile-cover-preview {
      width: 5rem;
    }
    .author-profile-cover-actions .author-profile-upload-button {
      width: fit-content;
      max-width: 100%;
    }
    .author-profile-platform-row {
      grid-template-columns: 1.7rem minmax(5rem, 0.42fr) minmax(8rem, 1fr);
    }
    .author-profile-link-row {
      grid-template-columns: 1fr 2rem;
    }
    .author-profile-link-row [data-author-link-url] {
      grid-column: 1;
    }
    .author-profile-link-row > button {
      grid-row: 1 / span 2;
      grid-column: 2;
      height: 100%;
    }
    .author-profile-social-list label {
      grid-template-columns: 1fr;
      gap: 0.3rem;
    }
    .author-profile-phone {
      width: min(100%, 20rem);
    }
    #author-profile-panel-imprint .legal-editor-toolbar {
      align-items: stretch;
      flex-direction: column;
    }
    #author-profile-panel-imprint .legal-editor-toolbar > div {
      overflow-x: auto;
      flex-wrap: nowrap;
      padding-bottom: 0.25rem;
    }
    #author-profile-panel-imprint .legal-editor-source-toggle {
      align-self: flex-start;
    }
    #author-profile-panel-imprint .legal-editor-link-panel {
      align-items: stretch;
      flex-direction: column;
    }
    #author-profile-panel-imprint .legal-editor-surface {
      min-height: 22rem;
      padding: 1rem;
    }
  }
  .authorflow-page, .authorflow-editor-shell {
    --af-bg: var(--platform-bg, #f6f3ef);
    --af-surface: var(--platform-surface, #ffffff);
    --af-text: var(--platform-text, #171513);
    --af-muted: var(--platform-muted, #7f756e);
    --af-primary: var(--platform-primary, #9b5524);
    --af-accent: var(--platform-accent, #c97333);
    color: var(--af-text);
  }
  #companyModal {
    --af-bg: var(--platform-bg, #f6f3ef);
    --af-surface: var(--platform-surface, #ffffff);
    --af-text: var(--platform-text, #171513);
    --af-muted: var(--platform-muted, #7f756e);
    --af-primary: var(--platform-primary, #9b5524);
    --af-accent: var(--platform-accent, #c97333);
  }
  .authorflow-page {
    padding: 0.25rem 0 2rem;
  }
  .reader-page-tabs {
    display: inline-flex;
    margin-bottom: 2rem;
    gap: 0.25rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 1rem;
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 8%, var(--af-surface));
    }
    padding: 0.25rem;
  }
  .reader-page-tabs button {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 0.75rem;
    padding: 0.6rem 1.2rem;
    color: var(--af-muted);
    font-size: 0.78rem;
    font-weight: 800;
    transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
  }
  .reader-page-tabs button:hover:not(.is-active) {
    color: var(--af-text);
  }
  .reader-page-tabs button.is-active {
    background: var(--af-surface);
    color: var(--af-text);
    box-shadow: 0 6px 16px -12px rgb(15 23 42 / 0.65), 0 1px 3px rgb(15 23 42 / 0.08);
  }
  .reader-page-tabs button:focus-visible {
    outline: 2px solid var(--af-accent);
    outline-offset: 2px;
  }
  .reader-page-tabs__badge {
    border-radius: 999px;
    background: var(--af-primary);
    padding: 0.15rem 0.42rem;
    color: white;
    font-size: 0.55rem;
    font-weight: 850;
    line-height: 1;
  }
  .authorflow-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
  }
  .authorflow-kicker {
    color: var(--af-primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .authorflow-page-title {
    margin-top: 0.6rem;
    color: var(--af-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 4vw, 3.65rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.02;
  }
  .authorflow-page-subtitle {
    max-width: 45rem;
    margin-top: 0.85rem;
    color: var(--af-muted);
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .authorflow-button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    padding: 0.7rem 1rem;
    font-size: 0.83rem;
    font-weight: 750;
    line-height: 1;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
  }
  .authorflow-button:hover {
    transform: translateY(-1px);
  }
  .authorflow-button:focus-visible, .authorflow-input:focus, .authorflow-book-content:focus {
    outline: 2px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-accent) 72%, white);
    }
    outline-offset: 2px;
  }
  .authorflow-button--primary {
    background: var(--af-primary);
    color: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-surface) 94%, white);
    }
    box-shadow: 0 10px 24px -16px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 10px 24px -16px color-mix(in oklab, var(--af-primary) 75%, transparent);
    }
  }
  .authorflow-button--primary:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 88%, black);
    }
  }
  #companyModal .authorflow-button--primary:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    box-shadow: none;
    transform: none;
  }
  .authorflow-button--secondary {
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 30%, transparent);
    }
    background: var(--af-surface);
    color: var(--af-text);
  }
  .authorflow-button--danger {
    border-color: color-mix(in oklab, #e11d48 34%, transparent);
    background: #e11d48;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #e11d48 7%, var(--af-surface));
    }
    color: #e11d48;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #e11d48 82%, var(--af-text));
    }
  }
  .authorflow-button--danger:hover {
    border-color: color-mix(in oklab, #e11d48 52%, transparent);
    background: #e11d48;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #e11d48 13%, var(--af-surface));
    }
  }
  .authorflow-create-panel {
    margin-top: 1.25rem;
    border: 1px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-accent) 42%, transparent);
    }
    border-radius: 1rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, var(--af-bg));
    }
    padding: 1.25rem;
    box-shadow: 0 18px 45px -36px var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 18px 45px -36px color-mix(in oklab, var(--af-text) 45%, transparent);
    }
  }
  .authorflow-library-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
  }
  .authorflow-book-create-dialog, .authorflow-book-import-dialog {
    display: grid;
    width: min(100%, 34rem);
    max-height: calc(100dvh - 2.5rem);
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 1.1rem;
    background: var(--af-surface);
    color: var(--af-text);
    box-shadow: 0 40px 110px -38px rgb(0 0 0 / 0.72);
  }
  .authorflow-book-import-dialog {
    width: min(100%, 66rem);
  }
  .authorflow-book-create-dialog > header, .authorflow-book-import-dialog > header {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.85rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 1.25rem 1.35rem;
  }
  .authorflow-book-import-dialog > header {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .authorflow-book-create-dialog > header > div:not(.authorflow-book-dialog__icon) > span, .authorflow-book-import-dialog > header > div > span {
    display: block;
    color: var(--af-primary);
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }
  .authorflow-book-create-dialog > header h2, .authorflow-book-import-dialog > header h2 {
    margin-top: 0.22rem;
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
  }
  .authorflow-book-create-dialog > header p, .authorflow-book-import-dialog > header p {
    max-width: 43rem;
    margin-top: 0.35rem;
    color: var(--af-muted);
    font-size: 0.7rem;
    line-height: 1.55;
  }
  .authorflow-book-dialog__icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    margin-top: 0.08rem;
    border-radius: 0.72rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, var(--af-surface));
    }
    color: var(--af-primary);
    place-items: center;
  }
  .authorflow-book-create-dialog > header > button, .authorflow-book-import-dialog > header > button {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 999px;
    color: var(--af-muted);
    place-items: center;
  }
  .authorflow-book-create-dialog > header > button:hover, .authorflow-book-import-dialog > header > button:hover {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 30%, var(--af-muted));
    }
    color: var(--af-text);
  }
  .authorflow-book-create-dialog__body {
    padding: 1.65rem 1.35rem 1.8rem;
  }
  .authorflow-book-create-dialog__body .authorflow-input {
    min-height: 3rem;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
  }
  .authorflow-book-create-dialog > footer, .authorflow-book-import-dialog > footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 30%, var(--af-surface));
    }
    padding: 0.9rem 1.35rem;
  }
  .authorflow-book-import-dialog__body {
    overflow-y: auto;
    padding: 1.3rem 1.35rem 1.5rem;
  }
  .authorflow-docx-upload {
    display: grid;
    min-height: 15rem;
    cursor: pointer;
    place-items: center;
    align-content: center;
    gap: 0.48rem;
    border: 1.5px dashed var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1.5px dashed color-mix(in oklab, var(--af-primary) 38%, var(--af-muted));
    }
    border-radius: 0.9rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 4%, var(--af-surface));
    }
    color: var(--af-text);
    text-align: center;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
  }
  .authorflow-docx-upload:hover {
    border-color: var(--af-primary);
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    transform: translateY(-1px);
  }
  .authorflow-docx-upload > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .authorflow-docx-upload > span {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.2rem;
    border-radius: 0.85rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 11%, var(--af-surface));
    }
    color: var(--af-primary);
    place-items: center;
  }
  .authorflow-docx-upload > strong {
    font-family: Georgia, serif;
    font-size: 1.08rem;
  }
  .authorflow-docx-upload > small {
    color: var(--af-muted);
    font-size: 0.67rem;
  }
  .authorflow-docx-import-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.9rem;
  }
  .authorflow-docx-import-principles > span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.42rem;
    border-radius: 0.55rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 56%, var(--af-surface));
    }
    padding: 0.68rem 0.72rem;
    color: var(--af-muted);
    font-size: 0.62rem;
    font-weight: 700;
  }
  .authorflow-docx-import-principles svg {
    flex: 0 0 auto;
    color: var(--af-primary);
  }
  .authorflow-docx-progress {
    display: grid;
    min-height: 19rem;
    align-content: center;
    justify-items: center;
    gap: 0.55rem;
    text-align: center;
  }
  .authorflow-docx-progress svg {
    color: var(--af-primary);
  }
  .authorflow-docx-progress strong {
    margin-top: 0.3rem;
    font-family: Georgia, serif;
    font-size: 1.1rem;
  }
  .authorflow-docx-progress span {
    color: var(--af-muted);
    font-size: 0.68rem;
  }
  .authorflow-docx-review {
    display: grid;
    gap: 1rem;
  }
  .authorflow-docx-review__overview {
    display: grid;
    grid-template-columns: minmax(15rem, 1.4fr) minmax(21rem, 1fr);
    align-items: end;
    gap: 1rem;
  }
  .authorflow-docx-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 0.7rem;
  }
  .authorflow-docx-stats > span {
    min-width: 0;
    padding: 0.65rem 0.55rem;
    text-align: center;
  }
  .authorflow-docx-stats > span + span {
    border-left: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
  }
  .authorflow-docx-stats strong, .authorflow-docx-stats small {
    display: block;
  }
  .authorflow-docx-stats strong {
    color: var(--af-text);
    font-size: 0.78rem;
  }
  .authorflow-docx-stats small {
    margin-top: 0.12rem;
    overflow: hidden;
    color: var(--af-muted);
    font-size: 0.54rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-docx-error, .authorflow-docx-warnings > p {
    display: flex;
    align-items: flex-start;
    gap: 0.48rem;
    border-radius: 0.55rem;
    padding: 0.65rem 0.72rem;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.45;
  }
  .authorflow-docx-error {
    margin-top: 0.8rem;
    background: #b42318;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #b42318 8%, var(--af-surface));
    }
    color: #b42318;
  }
  .authorflow-docx-warnings {
    display: grid;
    gap: 0.45rem;
  }
  .authorflow-docx-warnings > p {
    background: #c56a16;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #c56a16 8%, var(--af-surface));
    }
    color: #a44d0c;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #a44d0c 82%, var(--af-text));
    }
  }
  .authorflow-docx-error svg, .authorflow-docx-warnings svg {
    flex: 0 0 auto;
    margin-top: 0.05rem;
  }
  .authorflow-docx-review__grid {
    display: grid;
    min-height: 25rem;
    grid-template-columns: 17rem minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 0.8rem;
  }
  .authorflow-docx-matter {
    display: grid;
    align-content: start;
    gap: 1rem;
    border-right: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-right: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 42%, var(--af-surface));
    }
    padding: 0.9rem;
  }
  .authorflow-docx-matter-group > h3, .authorflow-docx-chapters > div:first-child h3 {
    font-family: Georgia, serif;
    font-size: 0.9rem;
  }
  .authorflow-docx-matter-group > div {
    display: grid;
    gap: 0.3rem;
    margin-top: 0.55rem;
  }
  .authorflow-docx-matter-group article {
    display: grid;
    grid-template-columns: 1.55rem minmax(0, 1fr);
    align-items: center;
    gap: 0.45rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.42rem 0.48rem;
  }
  .authorflow-docx-matter-group article.is-detected {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 18%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 5%, var(--af-surface));
    }
  }
  .authorflow-docx-matter-group article > span {
    display: grid;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, var(--af-surface));
    }
    color: var(--af-primary);
    place-items: center;
  }
  .authorflow-docx-matter-group article.is-standard > span {
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 10%, var(--af-surface));
    }
    color: var(--af-muted);
  }
  .authorflow-docx-matter-group strong, .authorflow-docx-matter-group small {
    display: block;
  }
  .authorflow-docx-matter-group strong {
    font-size: 0.64rem;
  }
  .authorflow-docx-matter-group small {
    margin-top: 0.08rem;
    color: var(--af-muted);
    font-size: 0.52rem;
    line-height: 1.35;
  }
  .authorflow-docx-chapters {
    min-width: 0;
    padding: 0.95rem;
  }
  .authorflow-docx-chapters > div:first-child {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
  .authorflow-docx-chapters > div:first-child p {
    max-width: 25rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.5;
    text-align: right;
  }
  .authorflow-docx-chapter-list {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.75rem;
  }
  .authorflow-docx-chapter-list > label {
    display: grid;
    grid-template-columns: 1.4rem 1.7rem minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 19%, transparent);
    }
    border-radius: 0.62rem;
    background: var(--af-surface);
    padding: 0.58rem 0.65rem;
    transition: border-color 140ms ease, background-color 140ms ease;
  }
  .authorflow-docx-chapter-list > label:hover {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 38%, var(--af-muted));
    }
  }
  .authorflow-docx-chapter-list > label.is-selected {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 36%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 4%, var(--af-surface));
    }
  }
  .authorflow-docx-chapter-list input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .authorflow-docx-chapter-check {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 35%, transparent);
    }
    border-radius: 0.32rem;
    color: transparent;
    place-items: center;
  }
  .authorflow-docx-chapter-list label.is-selected .authorflow-docx-chapter-check {
    border-color: var(--af-primary);
    background: var(--af-primary);
    color: var(--af-surface);
  }
  .authorflow-docx-chapter-number {
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 80%, var(--af-surface));
    }
    color: var(--af-muted);
    font-size: 0.58rem;
    font-weight: 850;
    place-items: center;
  }
  .authorflow-docx-chapter-list strong, .authorflow-docx-chapter-list small, .authorflow-docx-chapter-list em {
    display: block;
    min-width: 0;
  }
  .authorflow-docx-chapter-list strong {
    overflow: hidden;
    font-size: 0.67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-docx-chapter-list small {
    margin-top: 0.12rem;
    color: var(--af-primary);
    font-size: 0.53rem;
    font-weight: 750;
  }
  .authorflow-docx-chapter-list em {
    margin-top: 0.16rem;
    overflow: hidden;
    color: var(--af-muted);
    font-size: 0.54rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-docx-no-chapters {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.8rem;
    border-radius: 0.62rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 60%, var(--af-surface));
    }
    padding: 0.8rem;
  }
  .authorflow-docx-no-chapters strong {
    font-size: 0.68rem;
  }
  .authorflow-docx-no-chapters span {
    color: var(--af-muted);
    font-size: 0.59rem;
    line-height: 1.5;
  }
  .authorflow-field-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--af-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .authorflow-field-hint {
    display: block;
    margin-top: 0.32rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.35;
  }
  .authorflow-input {
    width: 100%;
    min-height: 2.65rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 28%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 97%, var(--af-bg));
    }
    color: var(--af-text);
    padding: 0.68rem 0.78rem;
    font-size: 0.82rem;
    font-weight: 600;
  }
  .authorflow-inspector [data-print-profile-format] + .custom-select, .authorflow-inspector .custom-select:has([data-print-profile-format]) {
    width: 100%;
  }
  .authorflow-inspector .custom-select-trigger__label--with-meta {
    display: grid;
    align-items: start;
    gap: 0.12rem;
  }
  .authorflow-inspector .custom-select-trigger__label--with-meta .custom-select-trigger__primary, .authorflow-inspector .custom-select-trigger__label--with-meta .custom-select-trigger__meta {
    width: 100%;
  }
  .authorflow-inspector .custom-select-trigger__label--with-meta .custom-select-trigger__meta {
    font-size: 0.67rem;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option {
    min-height: 3.15rem;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option__content--with-meta {
    display: grid;
    align-items: start;
    gap: 0.12rem;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option__primary, .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option__meta {
    width: 100%;
  }
  textarea.authorflow-input {
    min-height: 6rem;
    resize: vertical;
    line-height: 1.55;
  }
  .authorflow-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 2rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
  }
  .authorflow-stat-strip > div {
    padding: 1.6rem 1.35rem;
    border-right: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-right: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
  }
  .authorflow-stat-strip > div:last-child {
    border-right: 0;
  }
  .authorflow-stat-strip strong {
    display: block;
    color: var(--af-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    font-weight: 500;
  }
  .authorflow-stat-strip span {
    display: block;
    margin-top: 0.25rem;
    color: var(--af-muted);
    font-size: 0.72rem;
    font-weight: 700;
  }
  .authorflow-book-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .authorflow-book-card {
    position: relative;
    display: flex;
    min-width: 0;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 1rem;
    background: var(--af-surface);
    box-shadow: 0 20px 50px -44px var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 20px 50px -44px color-mix(in oklab, var(--af-text) 45%, transparent);
    }
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }
  .authorflow-book-card__open {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 1.15rem;
    border-radius: inherit;
    padding: 1.15rem;
  }
  .authorflow-book-card__open:focus-visible {
    outline: 2px solid var(--af-accent);
    outline-offset: 3px;
  }
  .authorflow-book-card.is-importing, .authorflow-book-card.is-import-failed {
    border-style: dashed;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 62%, var(--af-surface));
    }
    box-shadow: none;
  }
  .authorflow-book-card.is-importing {
    color: var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-text) 68%, var(--af-muted));
    }
  }
  .authorflow-book-card.is-importing:hover, .authorflow-book-card.is-import-failed:hover {
    transform: none;
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 32%, transparent);
    }
    box-shadow: none;
  }
  .authorflow-book-card__import-state {
    cursor: default;
    user-select: none;
  }
  .authorflow-book-card__import-state h3 {
    color: var(--af-text);
  }
  .authorflow-book-card.is-importing .authorflow-book-card__cover {
    filter: grayscale(0.82);
    opacity: 0.58;
  }
  .authorflow-book-card.is-import-failed .authorflow-book-card__cover {
    background: #b91c1c;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #b91c1c 70%, var(--af-primary));
    }
  }
  .authorflow-book-card__import-title {
    display: block;
    margin-top: 0.7rem;
    color: var(--af-text);
    font-size: 0.76rem;
    font-weight: 800;
  }
  .authorflow-book-card__import-message {
    min-height: 2.4em;
    margin-top: 0.22rem;
    color: var(--af-muted);
    font-size: 0.68rem;
    line-height: 1.45;
  }
  .authorflow-book-card__import-progress {
    height: 0.32rem;
    margin-top: 0.8rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
  }
  .authorflow-book-card__import-progress > span {
    display: block;
    height: 100%;
    min-width: 0.2rem;
    border-radius: inherit;
    background: var(--af-primary);
    transition: width 240ms ease;
  }
  .authorflow-book-card__import-percent {
    display: block;
    margin-top: 0.35rem;
    color: var(--af-muted);
    font-size: 0.62rem;
    font-weight: 750;
    text-align: right;
  }
  .authorflow-book-card__retry {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    border: 1px solid #b91c1c;
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, #b91c1c 28%, var(--af-muted));
    }
    border-radius: 0.55rem;
    background: var(--af-surface);
    color: #b91c1c;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #b91c1c 78%, var(--af-text));
    }
    padding: 0.38rem 0.58rem;
    font-size: 0.66rem;
    font-weight: 800;
  }
  .authorflow-book-card__retry:hover, .authorflow-book-card__retry:focus-visible {
    border-color: #b91c1c;
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, #b91c1c 48%, var(--af-muted));
    }
    outline: none;
  }
  .authorflow-book-card__title {
    padding-right: 2.5rem;
  }
  .authorflow-book-actions {
    position: absolute;
    z-index: 10;
    top: 0.85rem;
    right: 0.85rem;
  }
  .authorflow-book-actions > summary {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    color: var(--af-muted);
    cursor: pointer;
    list-style: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  }
  .authorflow-book-actions > summary::-webkit-details-marker {
    display: none;
  }
  .authorflow-book-actions > summary:hover, .authorflow-book-actions > summary:focus-visible, .authorflow-book-actions[open] > summary {
    border-color: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-accent) 25%, transparent);
    }
    background: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-accent) 9%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: 0;
  }
  .authorflow-book-actions__menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    display: grid;
    width: 13.5rem;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.75rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 97%, var(--af-bg));
    }
    box-shadow: 0 24px 55px -30px var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 24px 55px -30px color-mix(in oklab, var(--af-text) 65%, transparent);
    }
    padding: 0.35rem;
  }
  .authorflow-book-actions__menu button {
    display: flex;
    width: 100%;
    min-height: 2.6rem;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.5rem;
    padding: 0.65rem 0.75rem;
    color: var(--af-text);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: left;
  }
  .authorflow-book-actions__menu button:hover, .authorflow-book-actions__menu button:focus-visible {
    background: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-accent) 9%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: 0;
  }
  .authorflow-book-actions__menu button.is-danger {
    color: #dc2626;
  }
  .authorflow-book-actions__menu button.is-danger:hover, .authorflow-book-actions__menu button.is-danger:focus-visible {
    background: #dc2626;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #dc2626 8%, var(--af-surface));
    }
    color: #b91c1c;
  }
  .authorflow-book-actions__menu button:disabled {
    cursor: wait;
    opacity: 0.55;
  }
  .authorflow-book-card:hover {
    transform: translateY(-2px);
    border-color: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-accent) 45%, transparent);
    }
    box-shadow: 0 24px 55px -42px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 24px 55px -42px color-mix(in oklab, var(--af-primary) 55%, transparent);
    }
  }
  .authorflow-book-card__cover {
    position: relative;
    display: flex;
    width: 4.8rem;
    min-height: 7.2rem;
    flex: 0 0 4.8rem;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.35rem 0.65rem 0.65rem 0.35rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 88%, #1d1713);
    }
    color: white;
    padding: 0.8rem 0.5rem;
    box-shadow: inset 3px 0 0 rgb(255 255 255 / 0.13), 0 8px 16px -12px rgb(0 0 0 / 0.65);
  }
  .authorflow-book-card__cover strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
  }
  .authorflow-progress {
    height: 0.24rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
  }
  .authorflow-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--af-accent);
  }
  .authorflow-empty-state {
    display: flex;
    min-height: 22rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in oklab, var(--af-muted) 35%, transparent);
    }
    border-radius: 1rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 88%, transparent);
    }
    padding: 3rem;
    text-align: center;
  }
  .authorflow-empty-state h2 {
    margin-top: 1rem;
    color: var(--af-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
  }
  .authorflow-empty-state p {
    max-width: 31rem;
    margin: 0.65rem 0 1.35rem;
    color: var(--af-muted);
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .authorflow-comment-preview {
    display: flex;
    gap: 0.85rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    padding: 1rem 0;
  }
  .authorflow-comment-preview strong, .authorflow-comment-preview small, .authorflow-comment-preview span span {
    display: block;
  }
  .authorflow-comment-preview strong {
    color: var(--af-text);
    font-size: 0.8rem;
  }
  .authorflow-comment-preview small {
    margin-top: 0.1rem;
    color: var(--af-primary);
    font-size: 0.65rem;
    font-weight: 700;
  }
  .authorflow-comment-preview span span {
    margin-top: 0.45rem;
    color: var(--af-muted);
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .authorflow-avatar {
    display: inline-flex;
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 2.1rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-accent) 35%, transparent);
    }
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 13%, var(--af-surface));
    }
    color: var(--af-primary);
    font-size: 0.68rem;
    font-weight: 800;
  }
  .authorflow-editor-shell {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-template: "topbar topbar topbar" 3.75rem "navigation writing inspector" minmax(0, 1fr) / clamp(14rem, 16vw, 17rem) minmax(32rem, 1fr) clamp(18.25rem, 22.5vw, 24rem);
    overflow: hidden;
    background: var(--af-surface);
  }
  .authorflow-manuscript-nav, .authorflow-inspector {
    min-width: 0;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 88%, var(--af-bg));
    }
  }
  .authorflow-manuscript-nav {
    grid-area: navigation;
    display: flex;
    min-height: 0;
    flex-direction: column;
    border-right: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-right: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
  }
  .authorflow-manuscript-head {
    padding: 1rem;
  }
  .authorflow-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--af-muted);
    font-size: 0.7rem;
    font-weight: 750;
  }
  .authorflow-manuscript-head h1 {
    margin-top: 1.1rem;
    color: var(--af-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
  }
  .authorflow-manuscript-head p {
    margin: 0.45rem 0 0.8rem;
    color: var(--af-muted);
    font-size: 0.68rem;
    font-weight: 650;
  }
  .authorflow-chapter-list {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    padding: 0.7rem;
  }
  .authorflow-chapter-list__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.45rem 0.75rem;
    color: var(--af-muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .authorflow-chapter-list__heading button {
    display: inline-flex;
    width: 1.8rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-accent) 40%, transparent);
    }
    border-radius: 0.4rem;
    color: var(--af-primary);
  }
  .authorflow-chapter-list__heading .authorflow-frontmatter-heading__toggle {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 0.35rem;
    padding: 0.2rem 0;
    color: inherit;
    transition: color 150ms ease;
  }
  .authorflow-frontmatter-heading__toggle:hover {
    color: var(--af-text);
  }
  .authorflow-frontmatter-heading__toggle:focus-visible {
    outline: 2px solid var(--af-accent);
    outline-offset: 3px;
  }
  .authorflow-frontmatter-heading__chevron {
    display: inline-flex;
    transition: transform 180ms ease;
  }
  .authorflow-frontmatter-heading__toggle[aria-expanded="false"] .authorflow-frontmatter-heading__chevron {
    transform: rotate(-90deg);
  }
  .authorflow-frontmatter-pages {
    display: block;
  }
  .authorflow-frontmatter-pages[hidden] {
    display: none;
  }
  .authorflow-chapter-group + .authorflow-chapter-group {
    margin-top: 0.45rem;
  }
  .authorflow-frontmatter-item.is-hidden {
    opacity: 0.62;
  }
  .authorflow-chapter-item {
    display: grid;
    width: 100%;
    grid-template-columns: 1.3rem minmax(0, 1fr);
    gap: 0.55rem;
    border-left: 2px solid transparent;
    border-radius: 0.4rem;
    padding: 0.72rem 0.6rem;
    text-align: left;
  }
  .authorflow-chapter-item:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, transparent);
    }
  }
  .authorflow-chapter-item.is-active {
    border-left-color: var(--af-accent);
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, transparent);
    }
  }
  .authorflow-chapter-item > span:first-child {
    color: var(--af-primary);
    font-family: Georgia, serif;
    font-size: 0.75rem;
  }
  .authorflow-chapter-item strong {
    display: block;
    overflow: hidden;
    color: var(--af-text);
    font-family: Georgia, serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-chapter-item small {
    display: block;
    margin-top: 0.25rem;
    color: var(--af-muted);
    font-size: 0.62rem;
  }
  .authorflow-add-chapter {
    display: inline-flex;
    width: calc(100% - 1.4rem);
    min-height: 2.45rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.7rem;
    border: 1px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-accent) 45%, transparent);
    }
    border-radius: 0.5rem;
    padding: 0.65rem;
    color: var(--af-primary);
    font-size: 0.72rem;
    font-weight: 750;
  }
  .authorflow-manuscript-search {
    display: grid;
    flex: 0 0 auto;
    gap: 0.5rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 92%, var(--af-bg));
    }
    padding: 0.7rem;
  }
  .authorflow-search-field {
    display: flex;
    min-width: 0;
    height: 2.45rem;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 26%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--af-surface);
    color: var(--af-muted);
    padding: 0 0.7rem;
    transition: border-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
  }
  .authorflow-search-field:focus-within {
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 26%, transparent);
    }
    color: var(--af-muted);
    box-shadow: none;
  }
  .authorflow-search-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: var(--af-text);
    font-size: 0.7rem;
    font-weight: 700;
  }
  .authorflow-search-field input::placeholder {
    color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-muted) 78%, transparent);
    }
  }
  .authorflow-search-field input::-webkit-search-cancel-button {
    display: none;
  }
  .authorflow-search-clear {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    color: var(--af-muted);
    transition: background-color 150ms ease, color 150ms ease;
  }
  .authorflow-search-clear[hidden] {
    display: none;
  }
  .authorflow-search-clear:hover, .authorflow-search-clear:focus-visible {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 9%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: none;
  }
  .authorflow-search-controls {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) repeat(2, 1.85rem) auto;
    align-items: center;
    gap: 0.22rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--af-surface);
    padding: 0.28rem;
    box-shadow: 0 0.75rem 1.7rem -1.25rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.75rem 1.7rem -1.25rem color-mix(in oklab, var(--af-text) 40%, transparent);
    }
  }
  .authorflow-search-controls[hidden] {
    display: none;
  }
  .authorflow-search-controls > span {
    overflow: hidden;
    color: var(--af-text);
    padding: 0 0.45rem;
    font-size: 0.64rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-search-controls button {
    display: inline-flex;
    width: 1.85rem;
    height: 1.85rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    color: var(--af-muted);
    transition: background-color 150ms ease, color 150ms ease;
  }
  .authorflow-search-controls button:hover:not(:disabled), .authorflow-search-controls button:focus-visible {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 9%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: none;
  }
  .authorflow-search-controls button:disabled {
    cursor: not-allowed;
    opacity: 0.32;
  }
  .authorflow-search-controls .authorflow-search-replace-toggle {
    width: auto;
    min-width: 4.35rem;
    padding: 0 0.48rem;
    color: var(--af-primary);
    font-size: 0.61rem;
    font-weight: 850;
  }
  .authorflow-search-controls .authorflow-search-replace-toggle[aria-expanded="true"] {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 11%, var(--af-surface));
    }
  }
  .authorflow-replace-panel {
    display: grid;
    gap: 0.5rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.62rem;
    background: var(--af-surface);
    padding: 0.65rem;
    box-shadow: 0 0.75rem 1.7rem -1.25rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.75rem 1.7rem -1.25rem color-mix(in oklab, var(--af-text) 40%, transparent);
    }
  }
  .authorflow-replace-panel[hidden] {
    display: none;
  }
  .authorflow-replace-panel > label {
    color: var(--af-text);
    font-size: 0.64rem;
    font-weight: 850;
  }
  .authorflow-replace-panel > p {
    color: var(--af-muted);
    font-size: 0.58rem;
    font-weight: 650;
    line-height: 1.45;
  }
  .authorflow-replace-field {
    display: flex;
    height: 2.25rem;
    min-width: 0;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 25%, transparent);
    }
    border-radius: 0.5rem;
    color: var(--af-muted);
    padding: 0 0.58rem;
  }
  .authorflow-replace-field:focus-within {
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 25%, transparent);
    }
    color: var(--af-muted);
    box-shadow: none;
  }
  .authorflow-replace-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--af-text);
    font-size: 0.67rem;
    font-weight: 700;
  }
  .authorflow-replace-field input::placeholder {
    color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-muted) 74%, transparent);
    }
  }
  .authorflow-replace-actions {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0.4rem;
  }
  .authorflow-replace-actions button {
    min-height: 2.05rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.46rem;
    color: var(--af-muted);
    font-size: 0.61rem;
    font-weight: 850;
  }
  .authorflow-replace-actions [data-replace-all-authorflow-search] {
    border-color: var(--af-primary);
    background: var(--af-primary);
    color: var(--af-surface);
  }
  .authorflow-replace-actions button:hover:not(:disabled), .authorflow-replace-actions button:focus-visible {
    transform: translateY(-1px);
    outline: none;
  }
  .authorflow-replace-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.38;
    transform: none;
  }
  mark[data-authorflow-search-hit] {
    border-radius: 0.12em;
    background: #fde68a;
    color: #2a2114;
    padding: 0 0.04em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }
  mark[data-authorflow-search-hit].is-current {
    background: #facc15;
    box-shadow: 0 0 0 2px color-mix(in oklab, #d89b00 44%, transparent);
  }
  .authorflow-writing-stage {
    grid-area: writing;
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto minmax(30rem, 1fr);
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 88%, var(--af-surface));
    }
  }
  .authorflow-editor-topbar {
    position: relative;
    z-index: 30;
    grid-area: topbar;
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    background: var(--af-surface);
    padding: 0 0.9rem;
  }
  .authorflow-editor-topbar__brand {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
    pointer-events: none;
  }
  .authorflow-editor-topbar__brand .authorflow-back-link, .authorflow-topbar-notes-button {
    pointer-events: auto;
  }
  .authorflow-editor-topbar__book {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
  }
  .authorflow-editor-topbar__view-mode {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .authorflow-editor-topbar__brand .authorflow-back-link, .authorflow-editor-topbar__actions .authorflow-button {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.48rem;
    background: var(--af-surface);
    color: var(--af-text);
    padding: 0.48rem 0.68rem;
    font-size: 0.66rem;
    font-weight: 750;
    white-space: nowrap;
  }
  .authorflow-editor-topbar__brand .authorflow-back-link:hover, .authorflow-editor-topbar__actions .authorflow-button:hover {
    transform: none;
  }
  .authorflow-editor-topbar__title {
    min-width: 8rem;
    max-width: min(30rem, 32vw);
    overflow: hidden;
    border-left: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    color: var(--af-text);
    padding: 0.35rem 0.75rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-book-status {
    position: relative;
    flex: 0 0 auto;
    pointer-events: auto;
  }
  .authorflow-topbar-notes-button {
    display: inline-flex;
    min-height: 2.15rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 999px;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, var(--af-bg));
    }
    color: var(--af-muted);
    padding: 0.38rem 0.68rem;
    font-size: 0.63rem;
    font-weight: 800;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
    white-space: nowrap;
  }
  .authorflow-topbar-notes-button:hover, .authorflow-topbar-notes-button:focus-visible {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 45%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: none;
  }
  .authorflow-book-status > summary {
    display: inline-flex;
    min-width: 2.15rem;
    min-height: 2.15rem;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 999px;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, var(--af-bg));
    }
    color: var(--af-muted);
    padding: 0.35rem 0.58rem;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
  }
  .authorflow-book-status > summary::-webkit-details-marker {
    display: none;
  }
  .authorflow-book-status > summary:hover, .authorflow-book-status > summary:focus-visible, .authorflow-book-status[open] > summary {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 45%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: none;
  }
  .authorflow-book-status > summary svg {
    transition: transform 160ms ease;
  }
  .authorflow-book-status[open] > summary svg {
    transform: rotate(180deg);
  }
  .authorflow-book-status__label {
    color: var(--af-text);
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .authorflow-book-status__dot {
    width: 0.68rem;
    height: 0.68rem;
    flex: 0 0 auto;
    border: 2px solid var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      border: 2px solid color-mix(in oklab, var(--af-surface) 78%, transparent);
    }
    border-radius: 999px;
    box-shadow: 0 0 0 1px currentColor;
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 1px color-mix(in oklab, currentColor 18%, transparent);
    }
  }
  .authorflow-book-status__dot[data-status="draft"] {
    background: #7c8799;
    color: #7c8799;
  }
  .authorflow-book-status__dot[data-status="complete"] {
    background: #22a663;
    color: #22a663;
  }
  .authorflow-book-status__dot[data-status="review"] {
    background: #ee941f;
    color: #ee941f;
  }
  .authorflow-book-status__menu {
    position: absolute;
    z-index: 60;
    top: calc(100% + 0.55rem);
    left: 50%;
    width: 12.25rem;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.75rem;
    background: var(--af-surface);
    padding: 0.4rem;
    box-shadow: 0 1rem 2.4rem -1rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1rem 2.4rem -1rem color-mix(in oklab, var(--af-text) 32%, transparent);
    }
    transform: translateX(-50%);
  }
  .authorflow-book-status__heading {
    display: block;
    color: var(--af-muted);
    padding: 0.38rem 0.55rem 0.3rem;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .authorflow-book-status__menu button {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.5rem;
    color: var(--af-text);
    padding: 0.58rem 0.55rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
  }
  .authorflow-book-status__menu button:hover, .authorflow-book-status__menu button:focus-visible, .authorflow-book-status__menu button.is-active {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 9%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: none;
  }
  .authorflow-book-status__menu button:disabled {
    cursor: wait;
    opacity: 0.55;
  }
  .authorflow-editor-topbar__actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
  }
  .authorflow-editor-topbar__actions .authorflow-history-button:disabled {
    cursor: not-allowed;
    opacity: 0.38;
  }
  .authorflow-editor-topbar__actions .authorflow-button--primary {
    border-color: transparent;
    background: var(--af-primary);
    color: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-surface) 94%, white);
    }
  }
  .authorflow-editor-topbar__actions [data-preview-book] {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 28%, transparent);
    }
    color: var(--af-primary);
  }
  .authorflow-editor-topbar__actions [data-preview-book]:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, var(--af-surface));
    }
  }
  .authorflow-editor-topbar__actions .authorflow-save-button {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 35%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-editor-topbar__actions .authorflow-save-button:hover:not(:disabled) {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 13%, var(--af-surface));
    }
  }
  .authorflow-editor-topbar__actions .authorflow-save-button.is-saving {
    cursor: wait;
    opacity: 0.72;
  }
  .authorflow-editor-topbar__actions .authorflow-save-button.is-saved {
    border-color: #16845b;
    background: #16845b;
    color: white;
    animation: authorflow-save-confirm 520ms ease both;
  }
  .authorflow-editor-topbar__actions .authorflow-save-button.is-error {
    border-color: color-mix(in oklab, #dc2626 45%, transparent);
    background: #dc2626;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #dc2626 8%, var(--af-surface));
    }
    color: #dc2626;
  }
  @keyframes authorflow-save-confirm {
    0% {
      transform: scale(0.96);
    }
    55% {
      transform: scale(1.045);
    }
    100% {
      transform: scale(1);
    }
  }
  .authorflow-save-state {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.45rem;
    color: var(--af-muted);
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .authorflow-save-state.saved {
    color: #059669;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #059669 80%, var(--af-text));
    }
  }
  .authorflow-save-state.error {
    color: #dc2626;
  }
  .authorflow-readonly-badge {
    border: 1px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-accent) 35%, transparent);
    }
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, transparent);
    }
    color: var(--af-primary);
    padding: 0.5rem 0.75rem;
    font-size: 0.67rem;
    font-weight: 800;
  }
  .authorflow-editor-toolbar {
    display: flex;
    min-height: 4rem;
    align-items: center;
    gap: 0.15rem;
    overflow-x: auto;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    background: var(--af-surface);
    padding: 0.35rem 0.8rem;
  }
  .authorflow-editor-toolbar button {
    display: inline-flex;
    min-width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    color: var(--af-text);
    padding: 0 0.55rem;
    font-size: 0.72rem;
  }
  .authorflow-editor-toolbar button:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, transparent);
    }
    color: var(--af-primary);
  }
  .authorflow-editor-toolbar button.is-active {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 14%, var(--af-surface));
    }
    color: var(--af-primary);
    box-shadow: inset 0 0 0 1px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--af-primary) 24%, transparent);
    }
  }
  .authorflow-editor-toolbar button:disabled {
    cursor: not-allowed;
    opacity: 0.34;
  }
  .authorflow-editor-toolbar button:disabled:hover {
    background: transparent;
    color: var(--af-text);
  }
  .authorflow-editor-toolbar [hidden] {
    display: none !important;
  }
  .authorflow-editor-toolbar > span {
    width: 1px;
    height: 1.2rem;
    margin: 0 0.3rem;
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 28%, transparent);
    }
  }
  .authorflow-editor-toolbar.is-image-selected [data-authorflow-text-only] {
    display: none !important;
  }
  .authorflow-editor-toolbar.is-chat-selected [data-authorflow-text-only], .authorflow-editor-toolbar.is-chat-selected [data-authorflow-body-only], .authorflow-editor-toolbar.is-chat-selected [data-authorflow-paragraph-format] {
    display: none !important;
  }
  .authorflow-editor-toolbar.is-chapter-title-selected [data-authorflow-paragraph-format], .authorflow-editor-toolbar.is-chapter-title-selected [data-authorflow-body-only] {
    display: none !important;
  }
  .authorflow-editor-toolbar__frontmatter {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--af-primary);
    padding: 0 0.2rem;
  }
  .authorflow-editor-toolbar__frontmatter[hidden] {
    display: none;
  }
  .authorflow-editor-toolbar__frontmatter strong, .authorflow-editor-toolbar__frontmatter small {
    display: block;
  }
  .authorflow-editor-toolbar__frontmatter strong {
    color: var(--af-text);
    font-size: 0.68rem;
  }
  .authorflow-editor-toolbar__frontmatter small {
    margin-top: 0.12rem;
    color: var(--af-muted);
    font-size: 0.57rem;
    line-height: 1.35;
  }
  .authorflow-editor-toolbar__image-tools {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.6rem;
    margin-left: 0.25rem;
  }
  .authorflow-editor-toolbar__image-tools[hidden] {
    display: none;
  }
  .authorflow-editor-toolbar .authorflow-editor-toolbar__grayscale {
    width: auto;
    gap: 0.4rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 23%, transparent);
    }
    padding: 0 0.65rem;
    font-weight: 750;
    white-space: nowrap;
  }
  .authorflow-editor-toolbar__image-range {
    display: grid;
    min-width: 7.4rem;
    grid-template-columns: auto minmax(3.8rem, 1fr) 2.1rem;
    align-items: center;
    gap: 0.4rem;
    color: var(--af-muted);
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .authorflow-editor-toolbar__image-range input[type="range"] {
    width: 100%;
    min-width: 3.8rem;
    accent-color: var(--af-primary);
  }
  .authorflow-editor-toolbar__image-range output {
    color: var(--af-text);
    font-variant-numeric: tabular-nums;
    text-align: right;
  }
  .authorflow-editor-toolbar__zoom {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    padding-right: 0.1rem;
    padding-left: 0.75rem;
  }
  .authorflow-editor-toolbar .authorflow-editor-toolbar__focus {
    width: calc(2.3rem + 2px);
    height: calc(2.3rem + 2px);
    min-width: calc(2.3rem + 2px);
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 23%, transparent);
    }
    border-radius: 0.55rem;
    background: var(--af-surface);
    color: var(--af-primary);
    padding: 0;
    font-weight: 800;
    white-space: nowrap;
  }
  .authorflow-toolbar-select {
    display: inline-flex;
    min-width: 7.8rem;
  }
  .authorflow-toolbar-select .custom-select-trigger {
    height: calc(2.3rem + 2px);
    min-height: calc(2.3rem + 2px);
  }
  .authorflow-toolbar-select select {
    width: 100%;
    height: 1.75rem;
    border: 0;
    border-radius: 0.35rem;
    background-color: transparent;
    color: var(--af-text);
    padding: 0 1.8rem 0 0.55rem !important;
    font-size: 0.7rem;
    font-weight: 700;
  }
  .authorflow-toolbar-tooltip {
    position: fixed;
    z-index: 160;
    max-width: min(18rem, calc(100vw - 1.25rem));
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 0.55rem;
    background: var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-text) 92%, #000);
    }
    color: var(--af-surface);
    padding: 0.45rem 0.62rem;
    box-shadow: 0 12px 32px -14px rgb(0 0 0 / 0.72);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -0.22rem) scale(0.97);
    transform-origin: 50% 0;
    transition: opacity 120ms ease, transform 120ms ease;
    white-space: nowrap;
  }
  .authorflow-toolbar-tooltip::before {
    position: absolute;
    top: -0.28rem;
    left: 50%;
    width: 0.55rem;
    height: 0.55rem;
    background: inherit;
    content: "";
    transform: translateX(-50%) rotate(45deg);
  }
  .authorflow-toolbar-tooltip.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  .authorflow-toolbar-tooltip.is-above {
    transform-origin: 50% 100%;
  }
  .authorflow-toolbar-tooltip.is-above::before {
    top: auto;
    bottom: -0.28rem;
  }
  .authorflow-paper-wrap {
    grid-row: 2;
    min-height: 0;
    overflow: auto;
    padding: clamp(1.25rem, 3vw, 3rem);
  }
  .authorflow-pages {
    display: grid;
    width: 100%;
    justify-items: center;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    min-width: 0;
    zoom: var(--authorflow-document-zoom, 1);
  }
  .authorflow-document-zoom {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 23%, transparent);
    }
    border-radius: 0.55rem;
    background: var(--af-surface);
    padding: 0.2rem;
  }
  .authorflow-document-zoom button {
    display: inline-flex;
    min-width: 1.9rem;
    height: 1.9rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.38rem;
    color: var(--af-muted);
  }
  .authorflow-document-zoom button:hover:not(:disabled) {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, transparent);
    }
    color: var(--af-primary);
  }
  .authorflow-document-zoom button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }
  .authorflow-document-zoom .authorflow-document-zoom__value {
    min-width: 3.15rem;
    color: var(--af-text);
    font-size: 0.64rem;
    font-weight: 800;
  }
  .authorflow-view-mode {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 23%, transparent);
    }
    border-radius: 0.55rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 72%, var(--af-surface));
    }
    padding: 0.2rem;
  }
  .authorflow-view-mode button {
    min-height: 1.9rem;
    border-radius: 0.38rem;
    padding: 0 0.65rem;
    color: var(--af-muted);
    font-size: 0.62rem;
    font-weight: 800;
    transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
  }
  .authorflow-view-mode button:hover {
    color: var(--af-primary);
  }
  .authorflow-view-mode button.is-active {
    background: var(--af-surface);
    color: var(--af-primary);
    box-shadow: 0 1px 4px var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1px 4px color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
  }
  .authorflow-paper {
    position: relative;
    box-sizing: border-box;
    width: var(--book-page-width, 444px);
    max-width: none;
    height: var(--book-page-height, 630px);
    min-height: var(--book-page-height, 630px);
    margin: 0 auto;
    overflow: hidden;
    border: 0;
    outline: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    background: #ffffff;
    color: #211d19;
    padding: var(--book-margin-top, 60px) var(--book-margin-right, 54px) var(--book-margin-bottom, 60px) var(--book-margin-left, 66px);
    box-shadow: 0 25px 60px -48px rgb(35 25 17 / 0.65);
  }
  .authorflow-paper[data-authorflow-page-side="left"] {
    padding-right: var(--book-margin-left, 66px);
    padding-left: var(--book-margin-right, 54px);
  }
  .authorflow-paper.has-selected-image {
    z-index: 30;
    overflow: visible;
  }
  .authorflow-paper.has-selected-image .authorflow-book-content {
    overflow: visible;
  }
  .authorflow-chapter-title-wrap {
    position: relative;
    margin-bottom: 2.2rem;
  }
  .authorflow-chapter-title-search-layer {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    display: none;
    overflow: hidden;
    color: transparent;
    font-family: var(--chapter-title-font, Georgia, "Times New Roman", serif);
    font-size: var(--chapter-title-size, 22pt);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: var(--chapter-title-leading, 1.15);
    overflow-wrap: anywhere;
    pointer-events: none;
    text-align: var(--authorflow-title-align, var(--chapter-title-align, left));
    white-space: pre-wrap;
  }
  .authorflow-chapter-title-wrap.is-search-active .authorflow-chapter-title-search-layer {
    display: block;
  }
  .authorflow-chapter-title-search-layer mark[data-authorflow-search-hit] {
    color: transparent;
  }
  .authorflow-chapter-title-input {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 1.15em;
    margin-bottom: 0;
    border: 0;
    background: transparent;
    color: #201b17;
    padding: 0;
    font-family: var(--chapter-title-font, Georgia, "Times New Roman", serif);
    font-size: var(--chapter-title-size, 22pt);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: var(--chapter-title-leading, 1.15);
    overflow: hidden;
    overflow-wrap: anywhere;
    resize: none;
    text-align: var(--authorflow-title-align, var(--chapter-title-align, left));
    white-space: pre-wrap;
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
  }
  .authorflow-chapter-title-input:focus {
    outline: 0;
  }
  .authorflow-book-content:focus {
    outline: 0;
  }
  .authorflow-chapter-ornament {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0.75rem;
    line-height: 0;
    pointer-events: none;
  }
  .authorflow-chapter-ornament[data-align="center"] {
    justify-content: center;
  }
  .authorflow-chapter-ornament[data-align="right"] {
    justify-content: flex-end;
  }
  .authorflow-chapter-ornament img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
  }
  .authorflow-layout-progress {
    position: fixed;
    z-index: 190;
    top: 4.75rem;
    left: 50%;
    display: flex;
    min-width: 15rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 22%, var(--af-muted));
    }
    border-radius: 0.75rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, transparent);
    }
    color: var(--af-primary);
    box-shadow: 0 16px 42px -24px rgb(28 22 18 / 0.55);
    padding: 0.62rem 0.85rem;
    pointer-events: none;
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
  }
  .authorflow-layout-progress > span {
    display: grid;
    gap: 0.06rem;
  }
  .authorflow-layout-progress strong {
    font-size: 0.72rem;
    line-height: 1.2;
  }
  .authorflow-layout-progress small {
    color: var(--af-muted);
    font-size: 0.61rem;
    line-height: 1.2;
  }
  .authorflow-book-content {
    position: relative;
    min-height: 0;
    overflow: hidden;
    color: #29231e;
    font-family: var(--book-font);
    font-size: var(--book-size);
    font-synthesis: weight style;
    line-height: var(--book-leading);
    user-select: text;
    -webkit-user-select: text;
  }
  .authorflow-virtual-caret {
    position: absolute;
    z-index: 5;
    top: var(--authorflow-virtual-caret-y, 0);
    left: var(--authorflow-virtual-caret-x, 0);
    display: block;
    width: 1px;
    height: var(--authorflow-virtual-caret-height, 1.2em);
    background: currentColor;
    pointer-events: none;
    animation: authorflow-caret-blink 1s steps(1, end) infinite;
  }
  @keyframes authorflow-caret-blink {
    0%, 48% {
      opacity: 1;
    }
    49%, 100% {
      opacity: 0;
    }
  }
  .authorflow-book-content:has(figure[data-authorflow-chat]:hover), .authorflow-book-content:has(figure[data-authorflow-chat]:focus-within), .authorflow-book-content:has(figure[data-authorflow-chat].is-selected), .authorflow-book-content:has(figure[data-authorflow-chat].is-resizing) {
    overflow: visible;
  }
  .authorflow-book-content p {
    margin: 0;
  }
  .authorflow-book-content em, .authorflow-book-content i {
    font-style: italic;
  }
  .authorflow-book-content > p:has(> br:only-child) {
    min-height: 1em;
    margin-bottom: 0;
    cursor: text;
  }
  .authorflow-book-content > p[data-authorflow-image-prelude] {
    margin-bottom: 0;
  }
  .authorflow-standard-header {
    position: absolute;
    top: 0.65rem;
    right: var(--book-margin-right);
    left: var(--book-margin-left);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #4d4945;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.58rem;
    line-height: 1.2;
  }
  .authorflow-standard-header strong {
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-standard-column-ruler {
    position: absolute;
    top: calc(var(--book-margin-top) - 1.4rem);
    right: var(--book-margin-right);
    left: var(--book-margin-left);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    color: #88817a;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.62rem;
    line-height: 1;
    text-align: right;
  }
  .authorflow-standard-column-ruler span {
    padding-right: 0.08rem;
  }
  .authorflow-standard-line-ruler {
    position: absolute;
    top: var(--book-margin-top);
    bottom: var(--book-margin-bottom);
    left: 0.15rem;
    display: grid;
    width: calc(var(--book-margin-left) - 0.35rem);
    grid-template-rows: repeat(30, minmax(0, 1fr));
    color: #aaa39c;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.58rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-align: right;
    user-select: none;
  }
  .authorflow-standard-line-ruler span {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-end;
    padding: 0.05rem 0.35rem 0 0;
  }
  .authorflow-standard-line-ruler span.is-major {
    color: #5f5953;
    font-weight: 700;
  }
  .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-chapter-title-input {
    margin-bottom: 1.5rem;
    font-family: "Courier New", Courier, monospace;
    font-size: var(--chapter-title-size);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.5;
    text-align: left !important;
  }
  .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-chapter-ornament {
    display: none;
  }
  .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-book-content, .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-book-content > * {
    text-align: left !important;
    hyphens: none !important;
  }
  .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-book-content p {
    margin-bottom: 0;
  }
  .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-book-content h2, .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-book-content h3 {
    margin: 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 1em;
    line-height: 1.5;
  }
  .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-book-content blockquote {
    margin: 1.5em 0;
  }
  .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-paper--first .authorflow-book-content {
    height: max(8rem, calc(var(--book-page-height) - var(--book-margin-top) - var(--book-margin-bottom) - var(--authorflow-chapter-title-block-height, 3rem) - 1.25rem));
  }
  .authorflow-pages[data-authorflow-view-mode="standard"] .authorflow-paper--continuation .authorflow-book-content {
    height: max(8rem, calc(var(--book-page-height) - var(--book-margin-top) - var(--book-margin-bottom)));
  }
  .authorflow-book-content h2 {
    margin: 0;
    font-family: var(--book-font);
    font-size: 1.45em;
    font-weight: 400;
    line-height: 1.2;
  }
  .authorflow-book-content h3 {
    margin: 0;
    font-family: var(--book-font);
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.25;
  }
  .authorflow-book-content blockquote {
    margin: 1.4em 0;
    border-left: 2px solid #111111;
    padding-left: 1.25em;
    color: #5f5147;
    font-style: italic;
  }
  .authorflow-book-content ul {
    margin: 1em 0;
    padding-left: 1.4em;
    list-style: disc;
  }
  .authorflow-book-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
    list-style: decimal;
  }
  .authorflow-book-content [data-align="left"] {
    text-align: left;
  }
  .authorflow-book-content [data-align="center"] {
    text-align: center;
  }
  .authorflow-book-content [data-align="right"] {
    text-align: right;
  }
  .authorflow-book-content [data-align="justify"] {
    text-align: justify;
    hyphens: auto;
  }
  .authorflow-character-reference {
    border-radius: 0.16em;
    background: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-accent) 16%, transparent);
    }
    box-decoration-break: clone;
    color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-primary) 84%, #211d19);
    }
    cursor: text;
    padding: 0;
    -webkit-box-decoration-break: clone;
  }
  .authorflow-character-link {
    position: fixed;
    z-index: 165;
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--platform-primary, #7f4522);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--platform-primary, #7f4522) 32%, transparent);
    }
    border-radius: 50%;
    background: var(--platform-surface, #fff);
    color: var(--platform-primary, #7f4522);
    box-shadow: 0 10px 24px -10px rgb(28 22 18 / 0.55);
    cursor: pointer;
    transform: translate(-50%, -100%);
  }
  .authorflow-character-link::after {
    position: absolute;
    top: calc(100% - 0.18rem);
    left: 50%;
    width: 0.42rem;
    height: 0.42rem;
    border-right: 1px solid var(--platform-primary, #7f4522);
    @supports (color: color-mix(in lab, red, red)) {
      border-right: 1px solid color-mix(in oklab, var(--platform-primary, #7f4522) 32%, transparent);
    }
    border-bottom: 1px solid var(--platform-primary, #7f4522);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--platform-primary, #7f4522) 32%, transparent);
    }
    background: inherit;
    content: "";
    transform: translateX(-50%) rotate(45deg);
  }
  .authorflow-character-link:hover {
    background: var(--platform-primary, #7f4522);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--platform-primary, #7f4522) 8%, var(--platform-surface, #fff));
    }
  }
  .authorflow-character-link[hidden] {
    display: none;
  }
  .authorflow-book-content [data-authorflow-image-line] {
    display: block;
    clear: both;
    margin: 0;
    cursor: text;
    line-height: inherit;
    white-space: pre-wrap;
  }
  .authorflow-book-content [data-authorflow-image-line][data-align="left"], .authorflow-book-content [data-authorflow-image-line][data-align="right"] {
    min-height: 1em;
    text-align: left;
  }
  .authorflow-book-content figure[data-authorflow-image] {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: var(--authorflow-image-width, 70%);
    max-width: 100%;
    margin: 0;
    cursor: pointer;
    line-height: 0;
    vertical-align: bottom;
    transition: width 120ms ease, outline-color 120ms ease;
  }
  .authorflow-book-content figure[data-authorflow-image][data-image-aspect] {
    aspect-ratio: var(--authorflow-image-aspect, auto);
  }
  .authorflow-book-content [data-authorflow-image-line][data-align="left"] > figure[data-authorflow-image] {
    float: left;
    margin: 0 0.8em 0.3em 0;
  }
  .authorflow-book-content [data-authorflow-image-line][data-align="right"] > figure[data-authorflow-image] {
    float: right;
    margin: 0 0 0.3em 0.8em;
  }
  .authorflow-book-content [data-authorflow-image-line][data-align="center"] > figure[data-authorflow-image] {
    float: none;
    margin: 0;
  }
  .authorflow-book-content figure[data-authorflow-image] > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(var(--book-page-height) - var(--book-margin-top) - var(--book-margin-bottom) - 0.5rem);
    margin: 0;
    border-radius: var(--authorflow-image-radius, 0);
    filter: none;
    mask-image: radial-gradient(ellipse at center, #000 0%, #000 calc(100% - var(--authorflow-image-mask, 0%)), transparent 100%);
    object-fit: contain;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 calc(100% - var(--authorflow-image-mask, 0%)), transparent 100%);
    -webkit-user-drag: none;
    user-select: none;
  }
  .authorflow-book-content figure[data-authorflow-image].is-grayscale > img {
    filter: grayscale(1);
  }
  .authorflow-book-content figure[data-authorflow-image].is-selected {
    z-index: 45;
    outline: 2px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-primary) 72%, transparent);
    }
    outline-offset: 0.25rem;
  }
  .authorflow-image-corner-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 61;
    display: none;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.55rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, transparent);
    }
    padding: 0.22rem;
    box-shadow: 0 10px 24px -18px #000;
    backdrop-filter: blur(8px);
  }
  figure[data-authorflow-image].is-selected .authorflow-image-corner-actions {
    display: flex;
  }
  .authorflow-image-corner-actions > button {
    display: inline-grid;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.38rem;
    color: var(--af-primary);
    place-items: center;
  }
  .authorflow-image-corner-actions > button:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, transparent);
    }
  }
  .authorflow-image-corner-actions > button[aria-pressed="true"] {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 14%, transparent);
    }
    color: var(--af-primary);
  }
  .authorflow-image-corner-actions > button[data-authorflow-image-delete]:hover {
    background: color-mix(in oklab, #dc2626 11%, transparent);
    color: #dc2626;
  }
  .authorflow-image-resize {
    position: absolute;
    right: -0.55rem;
    bottom: -0.55rem;
    display: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--af-primary);
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.25);
    cursor: nwse-resize;
  }
  figure[data-authorflow-image].is-selected .authorflow-image-resize {
    display: block;
  }
  figure[data-authorflow-image].is-resizing {
    transition: none;
  }
  .authorflow-book-content figure[data-authorflow-chat] {
    position: relative;
    display: block;
    clear: both;
    width: var(--authorflow-chat-render-width, var(--authorflow-chat-width, 100%));
    max-width: 100%;
    margin-top: 1.45em;
    margin-right: auto;
    margin-bottom: 1.45em;
    margin-left: auto;
    break-inside: avoid;
    color: #202020;
    line-height: 0;
    text-align: center !important;
    transition: width 120ms ease, outline-color 120ms ease;
    user-select: none;
    -webkit-user-select: none;
  }
  .authorflow-book-content figure[data-authorflow-chat][data-align="left"] {
    margin-right: auto;
    margin-left: 0;
  }
  .authorflow-book-content figure[data-authorflow-chat][data-align="center"] {
    margin-right: auto;
    margin-left: auto;
  }
  .authorflow-book-content figure[data-authorflow-chat][data-align="right"] {
    margin-right: 0;
    margin-left: auto;
  }
  .authorflow-book-content figure[data-authorflow-chat][data-chat-aspect] {
    aspect-ratio: var(--authorflow-chat-aspect, auto);
  }
  .authorflow-book-content figure[data-authorflow-chat] > img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
  }
  .authorflow-book-content figure[data-authorflow-chat].is-selected {
    z-index: 45;
    outline: 2px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-primary) 72%, transparent);
    }
    outline-offset: 0.25rem;
  }
  .authorflow-book-content figure[data-authorflow-chat].is-resizing {
    transition: none;
  }
  .authorflow-chat-resize {
    position: absolute;
    right: -0.55rem;
    bottom: -0.55rem;
    z-index: 13;
    display: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--af-primary);
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.25);
    cursor: nwse-resize;
  }
  figure[data-authorflow-chat]:hover .authorflow-chat-resize, figure[data-authorflow-chat]:focus-within .authorflow-chat-resize, figure[data-authorflow-chat].is-selected .authorflow-chat-resize, figure[data-authorflow-chat].is-resizing .authorflow-chat-resize {
    display: block;
  }
  .authorflow-book-content figure[data-authorflow-chat]:not([data-chat-payload]) {
    width: 100%;
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 0.76em;
    line-height: 1.45;
    text-align: left !important;
  }
  .authorflow-book-content figure[data-authorflow-chat]:not([data-chat-payload])[data-chat-run="single"], .authorflow-book-content figure[data-authorflow-chat]:not([data-chat-payload])[data-chat-run="start"] {
    margin-top: 1.45em;
  }
  .authorflow-book-content figure[data-authorflow-chat]:not([data-chat-payload])[data-chat-run="single"], .authorflow-book-content figure[data-authorflow-chat]:not([data-chat-payload])[data-chat-run="end"] {
    margin-bottom: 1.45em;
  }
  .authorflow-book-content figure[data-authorflow-chat]:not([data-chat-payload])[data-chat-run="middle"], .authorflow-book-content figure[data-authorflow-chat]:not([data-chat-payload])[data-chat-run="end"] {
    margin-top: 0.28em;
  }
  .authorflow-chat-message {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  figure[data-authorflow-chat][data-chat-side="recipient"] .authorflow-chat-message {
    align-items: flex-end;
  }
  .authorflow-chat-message [data-authorflow-chat-name] {
    margin: 0 0 0.55em 0.55em;
    color: #858585;
    font-size: 0.72em;
    font-weight: 650;
    letter-spacing: 0.01em;
    line-height: 1;
  }
  figure[data-authorflow-chat][data-chat-side="recipient"] [data-authorflow-chat-name] {
    margin-right: 0.55em;
    margin-left: 0;
    text-align: right;
  }
  figure[data-authorflow-chat][data-chat-run="middle"] [data-authorflow-chat-name], figure[data-authorflow-chat][data-chat-run="end"] [data-authorflow-chat-name] {
    display: none;
  }
  .authorflow-chat-message [data-authorflow-chat-bubble] {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: 78%;
    margin: 0;
    padding: 0.8em 1.05em;
    background: #f0f0ee;
    border-radius: 1.15em 1.15em 1.15em 0.35em;
    color: #202020;
    font-size: 0.92em;
    line-height: 1.48;
    letter-spacing: -0.012em;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  figure[data-authorflow-chat][data-chat-side="recipient"] [data-authorflow-chat-bubble] {
    background: #242424;
    border-radius: 1.15em 1.15em 0.35em 1.15em;
    color: #fff;
  }
  figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="sender"][data-chat-run="middle"] [data-authorflow-chat-bubble], figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="sender"][data-chat-run="end"] [data-authorflow-chat-bubble] {
    border-top-left-radius: 0.45em;
  }
  figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="sender"][data-chat-run="start"] [data-authorflow-chat-bubble], figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="sender"][data-chat-run="middle"] [data-authorflow-chat-bubble] {
    border-bottom-left-radius: 0.45em;
  }
  figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="recipient"][data-chat-run="middle"] [data-authorflow-chat-bubble], figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="recipient"][data-chat-run="end"] [data-authorflow-chat-bubble] {
    border-top-right-radius: 0.45em;
  }
  figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="recipient"][data-chat-run="start"] [data-authorflow-chat-bubble], figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="recipient"][data-chat-run="middle"] [data-authorflow-chat-bubble] {
    border-bottom-right-radius: 0.45em;
  }
  figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="sender"][data-chat-run="single"] [data-authorflow-chat-bubble]::after, figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="sender"][data-chat-run="end"] [data-authorflow-chat-bubble]::after {
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: -0.32em;
    width: 0.9em;
    height: 0.95em;
    border-bottom-right-radius: 0.85em;
    background: #f0f0ee;
    content: "";
    transform: skewX(-23deg);
    transform-origin: bottom right;
  }
  figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="recipient"][data-chat-run="single"] [data-authorflow-chat-bubble]::after, figure[data-authorflow-chat][data-chat-theme="modern"][data-chat-side="recipient"][data-chat-run="end"] [data-authorflow-chat-bubble]::after {
    position: absolute;
    z-index: -1;
    right: -0.32em;
    bottom: 0;
    width: 0.9em;
    height: 0.95em;
    border-bottom-left-radius: 0.85em;
    background: #242424;
    content: "";
    transform: skewX(23deg);
    transform-origin: bottom left;
  }
  figure[data-authorflow-chat][data-chat-theme="outline"] [data-authorflow-chat-name] {
    color: #969690;
    font-size: 0.68em;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  figure[data-authorflow-chat][data-chat-theme="outline"] [data-authorflow-chat-bubble] {
    background: #fff;
    border: 1px solid #d7d7d2;
    border-radius: 1em 1em 1em 0.28em;
    color: #202020;
  }
  figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-side="recipient"] [data-authorflow-chat-bubble] {
    border-color: #292929;
    border-radius: 1em 1em 0.28em 1em;
    color: #171717;
  }
  figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-run="single"] [data-authorflow-chat-bubble]::before, figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-run="end"] [data-authorflow-chat-bubble]::before {
    position: absolute;
    z-index: -2;
    bottom: -1px;
    left: -0.45em;
    width: 0.95em;
    height: 0.95em;
    background: #d7d7d2;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    content: "";
  }
  figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-run="single"] [data-authorflow-chat-bubble]::after, figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-run="end"] [data-authorflow-chat-bubble]::after {
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: -0.32em;
    width: 0.82em;
    height: 0.82em;
    background: #fff;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    content: "";
  }
  figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-side="recipient"][data-chat-run="single"] [data-authorflow-chat-bubble]::before, figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-side="recipient"][data-chat-run="end"] [data-authorflow-chat-bubble]::before {
    right: -0.45em;
    left: auto;
    background: #292929;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
  }
  figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-side="recipient"][data-chat-run="single"] [data-authorflow-chat-bubble]::after, figure[data-authorflow-chat][data-chat-theme="outline"][data-chat-side="recipient"][data-chat-run="end"] [data-authorflow-chat-bubble]::after {
    right: -0.32em;
    left: auto;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
  }
  figure[data-authorflow-chat][data-chat-theme="organic"] [data-authorflow-chat-name] {
    color: #686864;
    font-weight: 650;
  }
  figure[data-authorflow-chat][data-chat-theme="organic"] [data-authorflow-chat-bubble] {
    max-width: 82%;
    background: #f4f4f1;
    border-radius: 1.4em 1.4em 1.4em 0.55em;
    color: #252525;
    font-size: 0.88em;
  }
  figure[data-authorflow-chat][data-chat-theme="organic"][data-chat-side="recipient"] [data-authorflow-chat-bubble] {
    background: #deded9;
    border-radius: 1.4em 1.4em 0.55em 1.4em;
    color: #1e1e1d;
  }
  figure[data-authorflow-chat][data-chat-theme="organic"][data-chat-side="sender"][data-chat-run="single"] [data-authorflow-chat-bubble]::after, figure[data-authorflow-chat][data-chat-theme="organic"][data-chat-side="sender"][data-chat-run="end"] [data-authorflow-chat-bubble]::after {
    position: absolute;
    z-index: -1;
    bottom: -0.08em;
    left: -0.26em;
    width: 1em;
    height: 1em;
    border-radius: 0.25em 0.25em 0.72em 0.12em;
    background: #f4f4f1;
    content: "";
    transform: rotate(26deg);
  }
  figure[data-authorflow-chat][data-chat-theme="organic"][data-chat-side="recipient"][data-chat-run="single"] [data-authorflow-chat-bubble]::after, figure[data-authorflow-chat][data-chat-theme="organic"][data-chat-side="recipient"][data-chat-run="end"] [data-authorflow-chat-bubble]::after {
    position: absolute;
    z-index: -1;
    right: -0.26em;
    bottom: -0.08em;
    width: 1em;
    height: 1em;
    border-radius: 0.25em 0.25em 0.12em 0.72em;
    background: #deded9;
    content: "";
    transform: rotate(-26deg);
  }
  .authorflow-chat-actions {
    position: absolute;
    top: -0.25rem;
    right: -0.15rem;
    z-index: 12;
    display: flex;
    gap: 0.18rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.55rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 96%, transparent);
    }
    padding: 0.18rem;
    box-shadow: 0 8px 22px -15px #000;
    opacity: 0.68;
    backdrop-filter: blur(8px);
    transition: opacity 120ms ease, transform 120ms ease;
    transform: scale(0.92);
  }
  figure[data-authorflow-chat]:hover .authorflow-chat-actions, figure[data-authorflow-chat]:focus-within .authorflow-chat-actions {
    opacity: 1;
    transform: scale(1);
  }
  .authorflow-chat-actions button {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.38rem;
    color: var(--af-primary);
    place-items: center;
  }
  .authorflow-chat-actions button:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, transparent);
    }
  }
  .authorflow-chat-actions button[data-delete-authorflow-chat]:hover {
    background: color-mix(in oklab, #dc2626 11%, transparent);
    color: #dc2626;
  }
  .authorflow-paper--first .authorflow-book-content {
    height: max(8rem, calc(var(--book-page-height, 630px) - var(--book-margin-top, 60px) - var(--book-margin-bottom, 60px) - var(--authorflow-chapter-title-block-height, 5rem) - 2.5rem));
  }
  .authorflow-paper--continuation .authorflow-book-content {
    height: max(8rem, calc(var(--book-page-height, 630px) - var(--book-margin-top, 60px) - var(--book-margin-bottom, 60px) - 1.75rem));
  }
  .authorflow-book-content > [data-authorflow-continued] {
    margin-top: 0 !important;
  }
  .authorflow-book-content > [data-authorflow-split] {
    margin-bottom: 0 !important;
  }
  .authorflow-paper footer {
    position: absolute;
    right: 0;
    bottom: var(--book-page-number-bottom, 38.1px);
    left: 0;
    overflow: hidden;
    color: #786e66;
    font-family: "Inter", var(--font-sans);
    font-size: 0.595rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-inspector {
    grid-area: inspector;
    display: grid;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    border-left: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    background: var(--af-surface);
    scrollbar-color: var(--af-muted) transparent;
    @supports (color: color-mix(in lab, red, red)) {
      scrollbar-color: color-mix(in oklab, var(--af-muted) 28%, transparent) transparent;
    }
    scrollbar-width: thin;
  }
  .authorflow-inspector-tabs {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    background: var(--af-surface);
  }
  .authorflow-inspector-tabs button {
    position: relative;
    min-height: 3.35rem;
    color: var(--af-muted);
    padding: 0 0.12rem;
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 160ms ease, background-color 160ms ease;
  }
  .authorflow-inspector-tabs button:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 4%, transparent);
    }
    color: var(--af-text);
  }
  .authorflow-inspector-tabs button:focus-visible {
    box-shadow: inset 0 0 0 2px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--af-primary) 70%, transparent);
    }
    outline: none;
  }
  .authorflow-inspector-tabs button.is-active {
    color: var(--af-primary);
  }
  .authorflow-inspector-tabs button.is-active::after {
    position: absolute;
    right: 0.8rem;
    bottom: -1px;
    left: 0.8rem;
    height: 2px;
    background: var(--af-accent);
    content: "";
  }
  .authorflow-inspector-tabs button span {
    display: inline-flex;
    min-width: 1rem;
    height: 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 13%, transparent);
    }
    font-size: 0.56rem;
  }
  .authorflow-inspector-body {
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    background: var(--af-surface);
    padding: 0 10px;
  }
  .authorflow-inspector-body > section, .authorflow-inspector-body > form > section {
    margin: 0;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 1rem 0.9rem 1.1rem;
  }
  .authorflow-inspector-body > form > * {
    margin-block: 0;
  }
  #authorFlowBookSettingsForm > * {
    margin-block: 0 !important;
  }
  #authorFlowBookSettingsForm > .authorflow-book-data-section {
    padding-bottom: calc(1.1rem + 40px);
  }
  .authorflow-book-title-field {
    min-width: 0;
  }
  .authorflow-book-data-title-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
  }
  .authorflow-book-data-title-row .authorflow-inspector-heading {
    margin-bottom: 0;
  }
  .authorflow-book-data-title-row .authorflow-book-status {
    align-self: center;
  }
  .authorflow-book-data-title-row .authorflow-book-status > summary {
    min-height: 2rem;
  }
  .authorflow-book-data-title-row .authorflow-book-status__menu {
    right: 0;
    left: auto;
    transform: none;
  }
  .authorflow-inspector-body > form > .authorflow-danger-actions {
    border-top: 0;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 1rem 0.9rem 1.1rem;
  }
  .authorflow-inspector-body .mb-5 {
    margin-bottom: 0.85rem;
  }
  .authorflow-inspector-body .mt-5 {
    margin-top: 0.9rem;
  }
  .authorflow-inspector-heading {
    margin-bottom: 0.7rem;
    color: var(--af-muted);
    font-family: var(--font-sans);
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .authorflow-inspector-title-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
  }
  .authorflow-inspector-title-row .authorflow-inspector-heading {
    margin-bottom: 0;
  }
  .authorflow-inspector-count {
    display: inline-flex;
    min-width: 1.15rem;
    height: 1.15rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 12%, transparent);
    }
    color: var(--af-primary);
    padding: 0 0.34rem;
    font-family: var(--font-sans);
    font-size: 0.56rem;
    font-weight: 800;
    line-height: 1;
  }
  .authorflow-inspector-body .text-xs {
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.5;
  }
  .authorflow-inspector .authorflow-field-label {
    margin-bottom: 0.4rem;
    font-size: 0.53rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
  }
  .authorflow-field-stack {
    display: grid;
    gap: 1rem;
  }
  .authorflow-field-stack > label, .authorflow-setting-grid > label {
    display: block;
    min-width: 0;
  }
  .authorflow-setting-grid {
    row-gap: 1rem;
  }
  .authorflow-chapter-ornament-setting {
    min-width: 0;
    grid-column: 1 / -1;
  }
  .authorflow-chapter-ornament-setting__control {
    display: grid;
    min-height: 4rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.65rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 42%, var(--af-surface));
    }
    padding: 0.55rem;
  }
  .authorflow-chapter-ornament-setting__preview {
    display: flex;
    min-width: 0;
    height: 2.85rem;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 0.4rem;
    background: #fff;
    padding: 0.25rem 0.45rem;
  }
  .authorflow-chapter-ornament-setting__preview img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 2.35rem;
    object-fit: contain;
  }
  .authorflow-chapter-ornament-setting__empty {
    color: var(--af-muted);
    padding-left: 0.25rem;
    font-size: 0.63rem;
  }
  .authorflow-chapter-ornament-setting__control > button {
    display: inline-flex;
    min-height: 2.45rem;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 26%, var(--af-muted));
    }
    border-radius: 0.52rem;
    background: var(--af-surface);
    color: var(--af-primary);
    padding: 0 0.72rem;
    font-size: 0.62rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .authorflow-chapter-ornament-setting__control > button:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
  }
  .authorflow-chapter-ornament-setting__control > button:active {
    transform: none;
  }
  .authorflow-readonly-input {
    position: relative;
    display: block;
  }
  .authorflow-readonly-input .authorflow-input {
    padding-right: 2.65rem;
    color: var(--af-text);
    cursor: default;
  }
  .authorflow-readonly-input > a {
    position: absolute;
    top: 50%;
    right: 0.34rem;
    display: inline-flex;
    width: 1.82rem;
    height: 1.82rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.34rem;
    color: var(--af-primary);
    transform: translateY(-50%);
    transition: background-color 150ms ease, color 150ms ease;
  }
  .authorflow-readonly-input > a:hover, .authorflow-readonly-input > a:focus-visible {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, var(--af-surface));
    }
    color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-primary) 84%, var(--af-text));
    }
    outline: 2px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-accent) 62%, transparent);
    }
    outline-offset: 1px;
  }
  .authorflow-inspector .authorflow-field-hint {
    margin-top: 0.3rem;
    font-size: 0.5rem;
    line-height: 1.35;
  }
  .authorflow-inspector .authorflow-input:not(textarea), .authorflow-inspector .custom-select-trigger {
    height: 2.5rem;
    min-height: 2.5rem;
  }
  .authorflow-inspector .authorflow-input, .authorflow-inspector .custom-select-trigger {
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.42rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 96%, var(--af-bg));
    }
    padding: 0.48rem 0.55rem;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    box-shadow: none;
  }
  .authorflow-inspector select.authorflow-input, .authorflow-inspector .custom-select-trigger {
    font-size: 12px;
  }
  .authorflow-inspector .authorflow-input:focus {
    border-color: var(--af-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--af-primary) 16%, transparent);
    }
  }
  .authorflow-inspector .custom-select-trigger:hover:not(:disabled) {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 38%, transparent);
    }
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 96%, var(--af-bg));
    }
  }
  .authorflow-inspector .custom-select-trigger:focus-visible, .authorflow-inspector .custom-select[data-open="true"] .custom-select-trigger {
    border-color: var(--af-primary);
    box-shadow: 0 0 0 3px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--af-primary) 16%, transparent);
    }
  }
  .authorflow-inspector .custom-select-trigger__meta, .authorflow-inspector .custom-select-trigger__label--with-meta .custom-select-trigger__meta {
    font-size: 10px;
    font-weight: 500;
  }
  .authorflow-inspector textarea.authorflow-input {
    min-height: 5.6rem;
    resize: vertical;
    line-height: 1.45;
  }
  .authorflow-inspector .authorflow-button {
    min-height: 2.5rem;
    gap: 0.4rem;
    border-radius: 0.42rem;
    padding: 0.48rem 0.68rem;
    font-size: 0.66rem;
    font-weight: 750;
  }
  .authorflow-inspector .authorflow-button:hover {
    transform: none;
  }
  .authorflow-settings-accordion {
    padding: 0 !important;
  }
  .authorflow-settings-accordion__trigger {
    display: flex;
    width: 100%;
    min-height: 4rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    color: var(--af-text);
    padding: 1.15rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: left;
    transition: background-color 150ms ease, color 150ms ease;
  }
  .authorflow-settings-accordion__trigger:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 5%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-settings-accordion__trigger:focus-visible {
    outline: 2px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-accent) 64%, transparent);
    }
    outline-offset: -3px;
  }
  .authorflow-settings-accordion__title {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
  }
  .authorflow-settings-accordion__title > svg {
    flex: 0 0 auto;
    color: var(--af-primary);
  }
  .authorflow-settings-accordion__chevron {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--af-muted);
    transition: transform 160ms ease, color 160ms ease;
  }
  .authorflow-settings-accordion.is-open .authorflow-settings-accordion__trigger {
    color: var(--af-primary);
  }
  .authorflow-settings-accordion.is-open .authorflow-settings-accordion__chevron {
    color: var(--af-primary);
    transform: rotate(180deg);
  }
  .authorflow-settings-accordion__panel {
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 15%, transparent);
    }
    padding: 1.3rem 0.9rem 1.5rem;
  }
  .authorflow-settings-accordion__panel .authorflow-field-stack {
    gap: 1.2rem;
  }
  .authorflow-settings-accordion__panel .authorflow-setting-grid {
    row-gap: 1.2rem;
  }
  .authorflow-settings-accordion__panel[hidden] {
    display: none;
  }
  .authorflow-chapter-alignment-field {
    min-width: 0;
    border: 0;
    padding: 0;
  }
  .authorflow-chapter-alignment {
    display: grid;
    height: 2.5rem;
    min-height: 2.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.42rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 96%, var(--af-bg));
    }
  }
  .authorflow-chapter-alignment__option {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
  }
  .authorflow-chapter-alignment__option + .authorflow-chapter-alignment__option {
    border-left: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
  }
  .authorflow-chapter-alignment__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .authorflow-chapter-alignment__option > span[aria-hidden="true"] {
    display: flex;
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    color: var(--af-muted);
    transition: background-color 150ms ease, color 150ms ease;
  }
  .authorflow-chapter-alignment__option:hover > span[aria-hidden="true"] {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 6%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-chapter-alignment__option input:checked + span {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 11%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-chapter-alignment__option input:focus-visible + span {
    outline: 2px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-accent) 64%, transparent);
    }
    outline-offset: -3px;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] {
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.55rem;
    background: var(--af-surface);
    padding: 0.3rem;
    box-shadow: 0 18px 42px -24px rgb(15 23 42 / 0.42), 0 8px 18px -16px rgb(15 23 42 / 0.22);
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option {
    min-height: 2.25rem;
    border-radius: 0.42rem;
    color: var(--af-text);
    padding: 0.5rem 0.55rem;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option:hover:not(:disabled), .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option:focus-visible {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, var(--af-surface));
    }
    color: var(--af-text);
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option.is-selected {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 12%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-option__meta {
    color: var(--af-muted);
    font-size: 11px;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-inspector"] .custom-select-group-label {
    padding: 0.55rem 0.55rem 0.3rem;
    color: var(--af-muted);
    font-size: 10px;
  }
  .authorflow-issue, .authorflow-comment {
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.52rem;
    background: var(--af-surface);
    padding: 0.7rem;
  }
  .authorflow-issue {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .authorflow-issue strong, .authorflow-comment strong {
    display: block;
    color: var(--af-text);
    font-size: 0.72rem;
  }
  .authorflow-issue p, .authorflow-comment p {
    margin-top: 0.35rem;
    color: var(--af-muted);
    font-size: 0.69rem;
    line-height: 1.5;
  }
  .authorflow-issue small {
    display: block;
    margin-top: 0.45rem;
    color: var(--af-primary);
    font-size: 0.64rem;
    font-weight: 700;
  }
  .authorflow-issue > button {
    display: inline-flex;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 1.9rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #059669;
  }
  .authorflow-correction-panel {
    --af-correction-spelling: #d34d6b;
    --af-correction-grammar: #6d63d8;
    --af-correction-punctuation: #d58a29;
    display: grid;
    gap: 0.85rem;
    border-bottom: 0 !important;
  }
  .authorflow-correction-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.38rem 0.55rem;
  }
  .authorflow-correction-intro {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.82rem;
  }
  .authorflow-correction-intro__icon {
    display: inline-flex;
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 2.15rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.58rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 11%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-correction-intro h3, .authorflow-correction-result-head h3 {
    color: var(--af-text);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: -0.01em;
  }
  .authorflow-correction-header > p, .authorflow-correction-result-head p {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.6rem;
    line-height: 1.55;
  }
  .authorflow-correction-header > p {
    grid-column: 1 / -1;
    margin-top: 15px;
  }
  .authorflow-correction-language {
    align-self: start;
    padding-top: 0.82rem;
  }
  .authorflow-correction-language.is-disabled {
    pointer-events: none;
    opacity: 0.58;
  }
  .authorflow-correction-language__flag {
    display: inline-flex;
    width: 0.9rem;
    flex: 0 0 0.9rem;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    line-height: 1;
  }
  .authorflow-correction-language__menu {
    right: 0;
    left: auto;
    transform: none;
  }
  .authorflow-correction-native {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border: 1px solid var(--af-correction-spelling);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-correction-spelling) 24%, transparent);
    }
    border-radius: 0.55rem;
    background: var(--af-correction-spelling);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-correction-spelling) 6%, var(--af-surface));
    }
    color: var(--af-correction-spelling);
    padding: 0.68rem;
  }
  .authorflow-correction-native > svg {
    flex: 0 0 auto;
    margin-top: 0.04rem;
  }
  .authorflow-correction-native span {
    min-width: 0;
  }
  .authorflow-correction-native strong {
    display: block;
    color: var(--af-text);
    font-size: 0.62rem;
  }
  .authorflow-correction-native small {
    display: block;
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.54rem;
    line-height: 1.48;
  }
  .authorflow-correction-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .authorflow-correction-capabilities li {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 17%, transparent);
    }
    border-radius: 0.42rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 52%, var(--af-surface));
    }
    color: var(--af-muted);
    padding: 0.42rem 0.3rem 0.42rem calc(0.3rem + 4px);
    font-size: 0.54rem;
    font-weight: 750;
    white-space: nowrap;
  }
  .authorflow-correction-capabilities i, .authorflow-correction-summary i, .authorflow-correction-card__dot {
    width: 0.42rem;
    height: 0.42rem;
    flex: 0 0 0.42rem;
    border-radius: 999px;
    background: currentColor;
  }
  .authorflow-correction-capabilities .is-spelling {
    color: var(--af-correction-spelling);
  }
  .authorflow-correction-capabilities .is-grammar {
    color: var(--af-correction-grammar);
  }
  .authorflow-correction-capabilities .is-punctuation {
    color: var(--af-correction-punctuation);
  }
  .authorflow-correction-run {
    display: inline-flex;
    width: 100%;
    min-height: 2.55rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 0.52rem;
    background: var(--af-primary);
    color: var(--af-surface);
    padding: 0.58rem 0.8rem;
    font-size: calc(0.65rem + 1px);
    font-weight: 850;
    box-shadow: 0 8px 22px -16px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 8px 22px -16px color-mix(in oklab, var(--af-primary) 65%, transparent);
    }
    transition: filter 150ms ease, transform 150ms ease;
  }
  .authorflow-correction-run:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }
  .authorflow-correction-run:focus-visible {
    outline: 2px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-accent) 75%, transparent);
    }
    outline-offset: 2px;
  }
  .authorflow-correction-progress, .authorflow-correction-success {
    display: flex;
    min-height: 10.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 15%, transparent);
    }
    border-radius: 0.65rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 4%, var(--af-surface));
    }
    color: var(--af-primary);
    padding: 1.25rem;
    text-align: center;
  }
  .authorflow-correction-progress > svg {
    animation: spin 0.9s linear infinite;
  }
  .authorflow-correction-progress strong, .authorflow-correction-success strong {
    margin-top: 0.65rem;
    color: var(--af-text);
    font-size: 0.7rem;
  }
  .authorflow-correction-progress span, .authorflow-correction-success p {
    max-width: 13rem;
    margin-top: 0.35rem;
    color: var(--af-muted);
    font-size: 0.56rem;
    line-height: 1.5;
  }
  .authorflow-correction-success {
    min-height: 9rem;
    color: #15956c;
  }
  .authorflow-correction-error, .authorflow-correction-stale {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border: 1px solid color-mix(in oklab, #dc2626 24%, transparent);
    border-radius: 0.55rem;
    background: #dc2626;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #dc2626 6%, var(--af-surface));
    }
    color: #dc2626;
    padding: 0.7rem;
  }
  .authorflow-correction-error svg, .authorflow-correction-stale svg {
    flex: 0 0 auto;
    margin-top: 0.05rem;
  }
  .authorflow-correction-error strong {
    display: block;
    color: var(--af-text);
    font-size: 0.65rem;
  }
  .authorflow-correction-error p, .authorflow-correction-stale span {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.56rem;
    line-height: 1.48;
  }
  .authorflow-correction-stale {
    border-color: var(--af-correction-punctuation);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-correction-punctuation) 28%, transparent);
    }
    background: var(--af-correction-punctuation);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-correction-punctuation) 7%, var(--af-surface));
    }
    color: var(--af-correction-punctuation);
  }
  .authorflow-correction-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
  }
  .authorflow-correction-result-head > button {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.5rem;
    color: var(--af-primary);
  }
  .authorflow-correction-result-head > button:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
  }
  .authorflow-correction-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .authorflow-correction-summary > span {
    display: grid;
    min-width: 0;
    min-height: 3.25rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    align-items: center;
    justify-content: start;
    column-gap: 0.45rem;
    row-gap: 0.22rem;
    border-radius: 0.58rem;
    background: currentColor;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, currentColor 7%, var(--af-surface));
    }
    color: var(--af-muted);
    padding: 0.58rem 0.35rem 0.58rem calc(0.35rem + 4px);
    line-height: 1.28;
  }
  .authorflow-correction-summary > span strong {
    color: var(--af-text);
    font-size: 0.72rem;
    line-height: 1;
  }
  .authorflow-correction-summary > span small {
    grid-column: 1 / -1;
    min-width: 0;
    color: currentColor;
    font-size: 0.54rem;
    font-weight: 700;
    line-height: 1.28;
    white-space: nowrap;
  }
  .authorflow-correction-summary > .is-spelling {
    color: var(--af-correction-spelling);
  }
  .authorflow-correction-summary > .is-grammar {
    color: var(--af-correction-grammar);
  }
  .authorflow-correction-summary > .is-punctuation {
    color: var(--af-correction-punctuation);
  }
  .authorflow-correction-limit {
    border-left: 2px solid var(--af-correction-punctuation);
    color: var(--af-muted);
    padding-left: 0.55rem;
    font-size: 0.55rem;
    line-height: 1.45;
  }
  .authorflow-correction-list {
    display: grid;
    gap: 0.5rem;
  }
  .authorflow-correction-card {
    --af-correction-color: var(--af-correction-spelling);
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--af-surface);
    transition: border-color 150ms ease, box-shadow 150ms ease;
  }
  .authorflow-correction-card.is-grammar {
    --af-correction-color: var(--af-correction-grammar);
  }
  .authorflow-correction-card.is-punctuation {
    --af-correction-color: var(--af-correction-punctuation);
  }
  .authorflow-correction-card.is-active {
    border-color: var(--af-correction-color);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-correction-color) 52%, transparent);
    }
    box-shadow: 0 8px 24px -20px var(--af-correction-color);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 8px 24px -20px color-mix(in oklab, var(--af-correction-color) 70%, transparent);
    }
  }
  .authorflow-correction-card__select {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 0.68rem;
    color: var(--af-text);
    padding: 0.78rem 0.76rem;
    text-align: left;
  }
  .authorflow-correction-card__select:hover {
    background: var(--af-correction-color);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-correction-color) 5%, var(--af-surface));
    }
  }
  .authorflow-correction-card__select:focus-visible {
    outline: 2px solid var(--af-correction-color);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-correction-color) 64%, transparent);
    }
    outline-offset: -3px;
  }
  .authorflow-correction-card__dot {
    color: var(--af-correction-color);
  }
  .authorflow-correction-card__copy {
    min-width: 0;
    flex: 1;
  }
  .authorflow-correction-card__copy strong {
    display: block;
    overflow: hidden;
    color: var(--af-text);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-correction-card__copy small {
    display: block;
    overflow: hidden;
    margin-top: 0.24rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.32;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-correction-card__select > svg {
    flex: 0 0 auto;
    color: var(--af-muted);
  }
  .authorflow-correction-card__detail {
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
    padding: 0.72rem;
  }
  .authorflow-correction-change {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.42rem;
    margin-bottom: 0.65rem;
  }
  .authorflow-correction-change del, .authorflow-correction-change ins {
    overflow: hidden;
    border-radius: 0.35rem;
    padding: 0.28rem 0.4rem;
    font-size: 0.58rem;
    font-weight: 800;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-correction-change del {
    background: var(--af-correction-color);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-correction-color) 9%, var(--af-surface));
    }
    color: var(--af-muted);
    text-decoration: line-through;
  }
  .authorflow-correction-change ins {
    background: var(--af-correction-color);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-correction-color) 14%, var(--af-surface));
    }
    color: var(--af-correction-color);
  }
  .authorflow-correction-change > svg {
    flex: 0 0 auto;
    color: var(--af-muted);
  }
  .authorflow-correction-card__detail h4 {
    color: var(--af-text);
    font-size: 0.64rem;
    font-weight: 800;
  }
  .authorflow-correction-card__detail > p {
    margin-top: 0.28rem;
    color: var(--af-muted);
    font-size: 0.55rem;
    line-height: 1.5;
  }
  .authorflow-correction-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 0.4rem;
    margin-top: 0.7rem;
  }
  .authorflow-correction-actions button {
    display: inline-flex;
    min-height: 2.1rem;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    border-radius: 0.42rem;
    padding: 0.4rem 0.45rem;
    font-size: 0.52rem;
    font-weight: 850;
  }
  .authorflow-correction-actions button:first-child {
    background: var(--af-primary);
    color: var(--af-surface);
  }
  .authorflow-correction-actions button:last-child {
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    color: var(--af-muted);
  }
  .authorflow-correction-actions button:hover {
    filter: brightness(1.05);
  }
  .authorflow-correction-actions button:focus-visible {
    outline: 2px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-accent) 70%, transparent);
    }
    outline-offset: 2px;
  }
  .authorflow-correction-card[aria-busy="true"] {
    opacity: 0.65;
    pointer-events: none;
  }
  ::highlight(authorflow-correction-spelling) {
    background-color: color-mix(in srgb, #f25f7e 24%, transparent);
    text-decoration: underline 2px #d34d6b;
    text-underline-offset: 0.15em;
  }
  ::highlight(authorflow-correction-grammar) {
    background-color: color-mix(in srgb, #8176ee 23%, transparent);
    text-decoration: underline 2px #6d63d8;
    text-underline-offset: 0.15em;
  }
  ::highlight(authorflow-correction-punctuation) {
    background-color: color-mix(in srgb, #e7a13f 27%, transparent);
    text-decoration: underline 2px #d58a29;
    text-underline-offset: 0.15em;
  }
  ::highlight(authorflow-correction-active) {
    background-color: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb, var(--af-accent) 38%, transparent);
    }
    text-decoration: underline 3px var(--af-primary);
    text-underline-offset: 0.18em;
  }
  mark[data-authorflow-correction-highlight] {
    border-radius: 0.12em;
    background: color-mix(in srgb, #f25f7e 24%, transparent);
    color: inherit;
    text-decoration: underline 2px #d34d6b;
    text-underline-offset: 0.15em;
  }
  mark[data-authorflow-correction-highlight].is-grammar {
    background: color-mix(in srgb, #8176ee 23%, transparent);
    text-decoration-color: #6d63d8;
  }
  mark[data-authorflow-correction-highlight].is-punctuation {
    background: color-mix(in srgb, #e7a13f 27%, transparent);
    text-decoration-color: #d58a29;
  }
  mark[data-authorflow-correction-highlight].is-active {
    background: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--af-accent) 38%, transparent);
    }
    text-decoration-color: var(--af-primary);
    text-decoration-thickness: 3px;
  }
  .authorflow-correction-selection-spelling::selection, .authorflow-correction-selection-spelling *::selection {
    background: color-mix(in srgb, #f25f7e 42%, transparent);
    color: inherit;
  }
  .authorflow-correction-selection-grammar::selection, .authorflow-correction-selection-grammar *::selection {
    background: color-mix(in srgb, #8176ee 40%, transparent);
    color: inherit;
  }
  .authorflow-correction-selection-punctuation::selection, .authorflow-correction-selection-punctuation *::selection {
    background: color-mix(in srgb, #e7a13f 46%, transparent);
    color: inherit;
  }
  .authorflow-comment small {
    display: block;
    margin-top: 0.1rem;
    color: var(--af-muted);
    font-size: 0.58rem;
  }
  .authorflow-comment blockquote, .authorflow-quote-preview {
    margin-top: 0.65rem;
    border-left: 2px solid var(--af-accent);
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, transparent);
    }
    color: var(--af-muted);
    padding: 0.6rem 0.7rem;
    font-family: Georgia, serif;
    font-size: 0.66rem;
    line-height: 1.45;
  }
  .authorflow-comment > button {
    margin-top: 0.75rem;
    color: var(--af-primary);
    font-size: 0.63rem;
    font-weight: 800;
  }
  .authorflow-comment.is-resolved {
    opacity: 0.6;
  }
  .authorflow-inspector-empty {
    display: flex;
    min-height: 11rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
  }
  .authorflow-inspector-empty strong {
    margin-top: 0.6rem;
    color: var(--af-text);
    font-size: 0.68rem;
  }
  .authorflow-inspector-empty p {
    max-width: 14rem;
    margin-top: 0.35rem;
    color: var(--af-muted);
    font-size: 0.55rem;
    line-height: 1.5;
  }
  .authorflow-danger-actions {
    display: grid;
    gap: 0.45rem;
    border-top: 1px solid color-mix(in oklab, #dc2626 20%, transparent);
    padding-top: 1rem;
  }
  .authorflow-danger-actions button {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    gap: 0.4rem;
    color: #dc2626;
    font-size: 0.62rem;
    font-weight: 750;
  }
  .authorflow-layout-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.65rem;
    border-radius: 0.52rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    padding: 0.65rem;
  }
  .authorflow-layout-summary span {
    color: var(--af-muted);
    font-size: 0.62rem;
    line-height: 1.4;
  }
  .authorflow-layout-summary strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--af-text);
    font-size: 0.65rem;
  }
  .authorflow-layout-summary__notice {
    grid-column: 1 / -1;
    border-top: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-primary) 18%, transparent);
    }
    padding-top: 0.5rem;
  }
  .authorflow-frontmatter-toolbar {
    display: flex;
    min-height: 4rem;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    background: var(--af-surface);
    color: var(--af-primary);
    padding: 0.7rem 1rem;
  }
  .authorflow-frontmatter-toolbar strong, .authorflow-frontmatter-toolbar small {
    display: block;
  }
  .authorflow-frontmatter-toolbar strong {
    color: var(--af-text);
    font-size: 0.68rem;
  }
  .authorflow-frontmatter-toolbar small {
    margin-top: 0.15rem;
    color: var(--af-muted);
    font-size: 0.57rem;
    line-height: 1.35;
  }
  .authorflow-paper--frontmatter {
    display: flex;
    flex-direction: column;
  }
  .authorflow-paper--title-page {
    padding: 0;
  }
  .authorflow-frontmatter-section {
    scroll-margin-top: 1.25rem;
  }
  .authorflow-title-page-content {
    position: absolute;
    inset: 0;
    color: #171310;
    font-family: var(--book-font);
    text-align: center;
  }
  .authorflow-title-page-content h2, .authorflow-title-page-content p, .authorflow-title-page-content strong {
    position: absolute;
    left: 50%;
    width: calc(100% - var(--book-margin-left) - var(--book-margin-right));
    margin: 0;
    overflow-wrap: anywhere;
  }
  .authorflow-title-page-content h2 {
    top: 32%;
    transform: translate(-50%, -0.78em);
    font-family: var(--book-font);
    font-size: min(1.8519rem, calc(var(--book-size) * 2.2));
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.22;
  }
  .authorflow-title-page-content p {
    top: 49%;
    transform: translate(-50%, -0.935em);
    color: #171310;
    font-size: min(0.926rem, calc(var(--book-size) * 1.05));
    font-weight: 400;
    line-height: 1.35;
  }
  .authorflow-title-page-content strong {
    top: 63%;
    transform: translate(-50%, -0.935em);
    font-size: min(0.926rem, calc(var(--book-size) * 1.05));
    font-weight: 400;
    line-height: 1.35;
  }
  .authorflow-matter-content {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .authorflow-matter-content[contenteditable="true"] {
    cursor: text;
  }
  .authorflow-frontmatter-content {
    flex: 1;
    min-height: 0;
    color: #29231e;
    font-family: var(--book-font);
  }
  .authorflow-frontmatter-content h2 {
    margin-top: 0.65rem;
    font-family: var(--chapter-title-font, var(--book-font));
    font-size: 2.35rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }
  .authorflow-frontmatter-content h2[data-authorflow-toc-title] {
    min-height: 1.15em;
    border-radius: 0.25rem;
    cursor: text;
    overflow-wrap: anywhere;
  }
  .authorflow-frontmatter-content h2[data-authorflow-toc-title][data-align="left"] {
    text-align: left;
  }
  .authorflow-frontmatter-content h2[data-authorflow-toc-title][data-align="center"] {
    text-align: center;
  }
  .authorflow-frontmatter-content h2[data-authorflow-toc-title][data-align="right"] {
    text-align: right;
  }
  .authorflow-frontmatter-content h2[data-authorflow-toc-title]:focus {
    outline: 2px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-primary) 28%, transparent);
    }
    outline-offset: 0.22rem;
  }
  .authorflow-frontmatter-content ol {
    display: grid;
    gap: 0.72rem;
    margin-top: 2.5rem;
  }
  .authorflow-frontmatter-content li {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(1.5rem, 1fr) auto;
    align-items: end;
    gap: 0.5rem;
    font-size: var(--book-size);
    line-height: 1.35;
  }
  .authorflow-frontmatter-content li > span {
    overflow-wrap: anywhere;
  }
  .authorflow-frontmatter-content li > i {
    min-width: 1.5rem;
    border-bottom: 1px dotted #b9afa6;
    transform: translateY(-0.28em);
  }
  .authorflow-frontmatter-content li > strong {
    font-size: 0.78em;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
  }
  .authorflow-manuscript-chapter__marker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .authorflow-manuscript-chapter__marker em {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--af-muted);
    font-size: 0.56rem;
    font-style: normal;
    font-weight: 750;
  }
  .authorflow-preview-overlay {
    --af-bg: var(--platform-bg, #f6f3ef);
    --af-surface: var(--platform-surface, #ffffff);
    --af-text: var(--platform-text, #171513);
    --af-muted: var(--platform-muted, #7f756e);
    --af-primary: var(--platform-primary, #9b5524);
    --af-accent: var(--platform-accent, #c97333);
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 96%, #1f1813);
    }
    color: var(--af-text);
  }
  body.is-authorflow-studio #viewRoot > .fade-in {
    animation: none !important;
    transform: none !important;
  }
  .authorflow-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    background: var(--af-surface);
    padding: 0.8rem 1.25rem;
  }
  .authorflow-preview-header strong {
    display: block;
  }
  .authorflow-preview-header strong {
    margin-top: 0.15rem;
    font-family: Georgia, serif;
    font-size: 1rem;
  }
  .authorflow-preview-header > .authorflow-button {
    font-size: calc(0.83rem - 2px);
  }
  .authorflow-preview-canvas {
    overflow: auto;
    padding: 2.5rem;
  }
  .authorflow-preview-canvas--pdf {
    overflow: hidden;
    padding: 0;
  }
  .authorflow-preview-rendered {
    display: grid;
    height: 100%;
    min-height: 100%;
    align-content: start;
    justify-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    overflow: auto;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 88%, var(--af-surface));
    }
    padding: 2rem;
  }
  .authorflow-preview-spread {
    display: grid;
    width: min(100%, calc((var(--authorflow-preview-page-width, 720px) * 2) + clamp(0.25rem, 1vw, 0.8rem)));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(0.25rem, 1vw, 0.8rem);
  }
  .authorflow-preview-page-slot {
    display: grid;
    min-width: 0;
    justify-items: center;
  }
  .authorflow-preview-page-slot--empty {
    width: 100%;
    aspect-ratio: 1 / var(--authorflow-preview-empty-aspect, 1.5);
  }
  .authorflow-preview-rendered-page {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--authorflow-preview-page-width, 720px);
    flex: none;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    background: #fff;
    box-shadow: 0 25px 60px -48px rgb(35 25 17 / 0.65);
  }
  .authorflow-preview-rendered-page svg {
    display: block;
    width: 100%;
    height: auto;
  }
  .authorflow-preview-status {
    display: flex;
    height: 100%;
    min-height: 18rem;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 88%, var(--af-surface));
    }
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
  }
  .authorflow-preview-status--error {
    color: #fee2e2;
  }
  @media (max-width: 640px) {
    .authorflow-preview-rendered {
      gap: 1.25rem;
      padding: 0.75rem;
    }
    .authorflow-preview-spread {
      gap: 0.25rem;
    }
  }
  .authorflow-preview-page {
    position: relative;
    width: min(100%, var(--book-page-width, 444px));
    min-height: var(--book-page-height, 630px);
    margin: 0 auto 2rem;
    background: #fff;
    color: #211d19;
    padding: var(--book-margin-top, 60px) var(--book-margin-right, 54px) var(--book-margin-bottom, 60px) var(--book-margin-left, 66px);
    box-shadow: 0 30px 70px -42px rgb(25 18 13 / 0.7);
  }
  .authorflow-preview-page > h2 {
    margin: 0 0 1.5em;
    font-family: Georgia, serif;
    font-size: 1.75rem;
    font-weight: 500;
  }
  .authorflow-preview-page > footer {
    position: absolute;
    right: var(--book-margin-right);
    bottom: calc(var(--book-margin-bottom) * 0.35);
    left: var(--book-margin-left);
    color: #8c8178;
    font-size: 0.65rem;
    text-align: center;
  }
  .authorflow-preview-title-page {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .authorflow-preview-title-page h1 {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
  }
  .authorflow-preview-title-page p {
    margin-top: 1.1rem;
    color: #675b52;
    font-family: var(--book-font);
    font-size: calc(var(--book-size) * 0.95);
    line-height: 1.5;
  }
  .authorflow-preview-title-page strong {
    display: block;
    margin-top: 3rem;
    font-family: var(--book-font);
    font-size: var(--book-size);
  }
  .authorflow-preview-toc ol {
    display: grid;
    gap: 0.85rem;
    margin-top: 2rem;
    counter-reset: none;
  }
  .authorflow-preview-toc li {
    border-bottom: 1px dotted #c8beb4;
    padding-bottom: 0.45rem;
    color: #453d36;
    font-family: var(--book-font);
    font-size: var(--book-size);
    line-height: 1.4;
  }
  .authorflow-manuscript-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: 0.35rem;
    margin-top: 0.9rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding-top: 0.8rem;
  }
  .authorflow-manuscript-tools > button {
    display: inline-flex;
    min-width: 0;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    border-radius: 0.52rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 96%, var(--af-bg));
    }
    color: var(--af-primary);
    padding: 0.46rem 0.42rem;
    font-size: 0.58rem;
    font-weight: 800;
    text-align: center;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
  }
  .authorflow-manuscript-tools > button:hover, .authorflow-manuscript-tools > button:focus-visible {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 35%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    outline: none;
  }
  .authorflow-manuscript-tools > button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-chapter-item {
    position: relative;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    align-items: start;
    backface-visibility: hidden;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 180ms ease, opacity 150ms ease, transform 180ms ease;
  }
  .authorflow-chapter-drag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    color: var(--af-muted) !important;
    cursor: grab;
    transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
  }
  .authorflow-chapter-item:hover .authorflow-chapter-drag {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, transparent);
    }
    color: var(--af-primary) !important;
  }
  .authorflow-chapter-item:active .authorflow-chapter-drag, .authorflow-chapter-drag[aria-pressed="true"] {
    cursor: grabbing;
    transform: scale(0.96);
  }
  .authorflow-chapter-select {
    display: block;
    width: 100%;
    min-width: 0;
    padding-right: 1.5rem;
    text-align: left;
  }
  .authorflow-chapter-number {
    display: none;
  }
  .authorflow-chapter-pages .authorflow-chapter-select {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    align-items: start;
    gap: 0.38rem;
  }
  .authorflow-chapter-pages .authorflow-chapter-number {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    color: var(--af-primary);
    font-family: Georgia, serif;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1.35;
  }
  .authorflow-chapter-item strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
  .authorflow-chapter-delete {
    position: absolute;
    top: 0.55rem;
    right: 0.35rem;
    display: inline-flex;
    width: 1.7rem;
    height: 1.7rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    color: var(--af-muted);
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease, color 140ms ease, background-color 140ms ease;
  }
  .authorflow-chapter-item:hover .authorflow-chapter-delete, .authorflow-chapter-item:focus-within .authorflow-chapter-delete, .authorflow-chapter-delete:focus-visible {
    opacity: 1;
    pointer-events: auto;
  }
  .authorflow-chapter-delete:hover {
    background: color-mix(in oklab, #dc2626 10%, transparent);
    color: #dc2626;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #dc2626 82%, var(--af-text));
    }
  }
  .authorflow-frontmatter-drag {
    cursor: grab;
  }
  .authorflow-frontmatter-visibility:hover, .authorflow-frontmatter-visibility:focus-visible {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 9%, transparent);
    }
    color: var(--af-primary);
    outline: none;
  }
  .authorflow-frontmatter-visibility:disabled {
    cursor: default;
    opacity: 1;
  }
  .authorflow-frontmatter-item.is-hidden .authorflow-frontmatter-visibility {
    opacity: 0.72;
    pointer-events: auto;
  }
  @media (hover: none) {
    .authorflow-chapter-delete {
      opacity: 0.7;
      pointer-events: auto;
    }
  }
  .authorflow-chapter-item.is-dragging {
    overflow: hidden;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 25%, var(--af-muted));
    }
    border-radius: 0.48rem;
    background: linear-gradient(90deg, var(--af-muted), var(--af-primary), var(--af-muted));
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(90deg, color-mix(in oklab, var(--af-muted) 2.5%, transparent), color-mix(in oklab, var(--af-primary) 7%, transparent), color-mix(in oklab, var(--af-muted) 2.5%, transparent));
    }
    background-size: 200% 100%;
    box-shadow: inset 0 0 0 1px var(--af-surface), inset 0 8px 22px var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--af-surface) 72%, transparent), inset 0 8px 22px color-mix(in oklab, var(--af-text) 3.5%, transparent);
    }
    opacity: 1;
    animation: authorflow-chapter-placeholder-sheen 1.65s linear infinite;
  }
  .authorflow-chapter-item.is-dragging > * {
    visibility: hidden;
  }
  .authorflow-chapter-item.is-dragging::before {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    left: 0.7rem;
    height: 2px;
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 34%, var(--af-muted));
    }
    box-shadow: 0 1px 0 var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1px 0 color-mix(in oklab, var(--af-surface) 85%, transparent);
    }
    content: "";
    transform: translateY(-50%);
  }
  .authorflow-chapter-drag-placeholder {
    position: relative;
    width: var(--authorflow-chapter-placeholder-width);
    height: var(--authorflow-chapter-placeholder-height);
    min-height: var(--authorflow-chapter-placeholder-height);
    flex: 0 0 var(--authorflow-chapter-placeholder-width);
    overflow: hidden;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 25%, var(--af-muted));
    }
    border-radius: 0.48rem;
    background: linear-gradient(90deg, var(--af-muted), var(--af-primary), var(--af-muted));
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(90deg, color-mix(in oklab, var(--af-muted) 2.5%, transparent), color-mix(in oklab, var(--af-primary) 7%, transparent), color-mix(in oklab, var(--af-muted) 2.5%, transparent));
    }
    background-size: 200% 100%;
    box-shadow: inset 0 0 0 1px var(--af-surface), inset 0 8px 22px var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--af-surface) 72%, transparent), inset 0 8px 22px color-mix(in oklab, var(--af-text) 3.5%, transparent);
    }
    animation: authorflow-chapter-placeholder-sheen 1.65s linear infinite;
    pointer-events: none;
  }
  .authorflow-chapter-drag-placeholder::before {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    left: 0.7rem;
    height: 2px;
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 34%, var(--af-muted));
    }
    box-shadow: 0 1px 0 var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1px 0 color-mix(in oklab, var(--af-surface) 85%, transparent);
    }
    content: "";
    transform: translateY(-50%);
  }
  .authorflow-chapter-item.is-drop-settling {
    visibility: hidden;
  }
  .authorflow-chapter-item.is-drop-before:not(.is-dragging), .authorflow-chapter-item.is-drop-after:not(.is-dragging) {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 5%, var(--af-surface));
    }
  }
  .authorflow-chapter-item.is-drop-before::before, .authorflow-chapter-item.is-drop-after::after {
    position: absolute;
    z-index: 1;
    right: 0.3rem;
    left: 0.3rem;
    height: 2px;
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 34%, var(--af-muted));
    }
    box-shadow: 0 1px 0 var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1px 0 color-mix(in oklab, var(--af-surface) 85%, transparent);
    }
    content: "";
  }
  .authorflow-chapter-item.is-drop-before::before {
    top: -1px;
  }
  .authorflow-chapter-item.is-drop-after::after {
    bottom: -1px;
  }
  .authorflow-chapter-drag-preview {
    position: fixed;
    z-index: 300;
    isolation: isolate;
    top: -10000px;
    left: -10000px;
    margin: 0;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 28%, var(--af-muted));
    }
    border-left-color: var(--af-accent);
    border-radius: 0.48rem;
    background-color: var(--af-surface, #fff);
    background-image: linear-gradient(var(--af-primary), var(--af-primary));
    @supports (color: color-mix(in lab, red, red)) {
      background-image: linear-gradient(color-mix(in oklab, var(--af-primary) 7%, transparent), color-mix(in oklab, var(--af-primary) 7%, transparent));
    }
    color: var(--af-text);
    box-shadow: 0 24px 54px var(--af-text), 0 7px 18px var(--af-text), inset 0 1px 0 var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 24px 54px color-mix(in oklab, var(--af-text) 18%, transparent), 0 7px 18px color-mix(in oklab, var(--af-text) 10%, transparent), inset 0 1px 0 color-mix(in oklab, var(--af-surface) 98%, white);
    }
    opacity: 1;
    pointer-events: none;
    transform: scale(1.012);
    transform-origin: center;
    will-change: transform;
    contain: layout paint style;
  }
  .authorflow-chapter-drag-preview .authorflow-chapter-drag {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, transparent);
    }
    color: var(--af-primary) !important;
    cursor: grabbing;
  }
  .authorflow-chapter-drag-preview.is-drop-settling {
    transform: scale(1.012);
  }
  .authorflow-chapter-drag-preview.is-dropping {
    opacity: 0;
    transform: scale(1);
    box-shadow: 0 5px 14px var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 5px 14px color-mix(in oklab, var(--af-text) 6%, transparent);
    }
    transition: transform 210ms cubic-bezier(0.2, 0.82, 0.2, 1), opacity 170ms ease, box-shadow 210ms ease;
  }
  body.is-authorflow-chapter-sorting, body.is-authorflow-chapter-sorting * {
    cursor: grabbing !important;
  }
  @keyframes authorflow-chapter-placeholder-sheen {
    to {
      background-position: -200% 0;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .authorflow-chapter-item, .authorflow-chapter-drag-placeholder, .authorflow-chapter-drag-preview {
      animation: none !important;
      transition-duration: 0.01ms !important;
    }
  }
  .authorflow-chapter-rename {
    display: grid;
    grid-column: 2 / -1;
    grid-template-columns: minmax(0, 1fr) 1.8rem;
    gap: 0.3rem;
  }
  .authorflow-chapter-rename input {
    min-width: 0;
    border: 1px solid var(--af-accent);
    border-radius: 0.35rem;
    background: var(--af-surface);
    color: var(--af-text);
    padding: 0.4rem 0.45rem;
    font-family: Georgia, serif;
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .authorflow-chapter-rename button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--af-primary);
  }
  .authorflow-setting-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 0.85rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding-top: 0.85rem;
    cursor: pointer;
  }
  .authorflow-setting-toggle > span {
    min-width: 0;
  }
  .authorflow-setting-toggle strong, .authorflow-setting-toggle small {
    display: block;
  }
  .authorflow-setting-toggle strong {
    color: var(--af-text);
    font-size: 0.66rem;
  }
  .authorflow-setting-toggle small {
    margin-top: 0.18rem;
    color: var(--af-muted);
    font-size: 0.55rem;
    line-height: 1.4;
  }
  .authorflow-setting-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .authorflow-setting-toggle i {
    position: relative;
    width: 2rem;
    height: 1.1rem;
    flex: 0 0 2rem;
    border-radius: 999px;
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    transition: background-color 160ms ease;
  }
  .authorflow-setting-toggle i::after {
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: var(--af-surface);
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.22);
    content: "";
    transition: transform 160ms ease;
  }
  .authorflow-setting-toggle input:checked + i {
    background: var(--af-primary);
  }
  .authorflow-setting-toggle input:checked + i::after {
    transform: translateX(0.9rem);
  }
  .authorflow-setting-toggle input:focus-visible + i {
    outline: 2px solid var(--af-accent);
    outline-offset: 2px;
  }
  .authorflow-setting-toggle.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .authorflow-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    font-weight: 700;
  }
  .authorflow-checkbox-row input {
    width: 0.95rem;
    height: 0.95rem;
    accent-color: var(--af-primary);
  }
  .authorflow-notes-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.9rem;
  }
  .authorflow-note {
    position: relative;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.52rem;
    background: var(--af-surface);
    padding: 0.7rem 2.2rem 0.7rem 0.7rem;
  }
  .authorflow-note.is-current {
    border-left: 3px solid var(--af-accent);
  }
  .authorflow-note strong, .authorflow-note small {
    display: block;
  }
  .authorflow-note strong {
    color: var(--af-text);
    font-size: 0.68rem;
  }
  .authorflow-note small {
    margin-top: 0.15rem;
    color: var(--af-muted);
    font-size: 0.53rem;
  }
  .authorflow-note p {
    margin-top: 0.45rem;
    color: var(--af-muted);
    font-size: 0.62rem;
    line-height: 1.5;
    white-space: pre-wrap;
  }
  .authorflow-note > button {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    color: var(--af-muted);
  }
  .authorflow-editor-shell.is-focus-mode {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: block;
    overflow: auto;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 94%, var(--af-surface));
    }
  }
  .authorflow-editor-shell.is-focus-mode .authorflow-manuscript-nav, .authorflow-editor-shell.is-focus-mode .authorflow-inspector, .authorflow-editor-shell.is-focus-mode .authorflow-editor-topbar, .authorflow-editor-shell.is-focus-mode .authorflow-editor-toolbar {
    display: none;
  }
  .authorflow-editor-shell.is-focus-mode .authorflow-writing-stage {
    display: block;
    min-height: 100dvh;
    background: transparent;
  }
  .authorflow-editor-shell.is-focus-mode .authorflow-paper-wrap {
    min-height: 100dvh;
    overflow: visible;
    padding: clamp(4.5rem, 9vh, 7rem) 1rem 7rem;
  }
  .authorflow-editor-shell.is-focus-mode .authorflow-paper {
    outline-color: transparent;
    box-shadow: 0 32px 90px -68px rgb(35 25 17 / 0.6);
  }
  .authorflow-editor-shell.is-focus-mode .authorflow-book-content:focus {
    outline: 0;
  }
  .authorflow-manuscript {
    display: grid;
    gap: clamp(2.5rem, 6vh, 4.5rem);
    width: 100%;
  }
  .authorflow-editor-shell.is-focus-mode .authorflow-manuscript {
    gap: clamp(3.5rem, 9vh, 6rem);
  }
  .authorflow-manuscript-chapter {
    display: grid;
    justify-items: center;
    gap: 1rem;
    min-width: 0;
    scroll-margin-top: 1.25rem;
  }
  .authorflow-manuscript[data-authorflow-lazy-pagination="true"] .authorflow-manuscript-chapter[data-authorflow-paginated="false"] {
    align-content: start;
    min-height: max(var(--book-page-height, 630px), var(--authorflow-estimated-height, var(--book-page-height, 630px)));
    content-visibility: auto;
    contain-intrinsic-size: auto var(--authorflow-estimated-height, 630px);
  }
  .authorflow-manuscript[data-authorflow-lazy-pagination="true"] .authorflow-manuscript-chapter[data-authorflow-paginated="false"]::after {
    display: inline-flex;
    width: min(var(--book-page-width, 444px), calc(100vw - 2rem));
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    align-self: start;
    border: 1px dashed var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 0.65rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 88%, transparent);
    }
    color: var(--af-muted);
    content: "Seiten werden beim Scrollen vorbereitet …";
    font-size: 0.6rem;
    font-weight: 750;
    letter-spacing: 0.01em;
  }
  .authorflow-manuscript[data-authorflow-lazy-pagination="true"] .authorflow-manuscript-chapter[data-authorflow-paginated="false"] > .authorflow-pages {
    pointer-events: none;
  }
  .authorflow-manuscript[data-authorflow-lazy-pagination="true"] .authorflow-manuscript-chapter.is-pagination-pending::after {
    border-style: solid;
    border-color: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-accent) 38%, transparent);
    }
    color: var(--af-primary);
    content: "Seiten werden vorbereitet …";
  }
  .authorflow-manuscript-chapter__marker {
    width: min(var(--book-page-width, 444px), calc(100vw - 2rem));
    color: var(--af-muted);
  }
  .authorflow-manuscript-chapter__marker span {
    display: block;
  }
  .authorflow-manuscript-chapter__marker span {
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .authorflow-book-content > hr[data-authorflow-page-break] {
    display: none;
  }
  .authorflow-page-actions {
    display: flex;
    width: min(var(--book-page-width, 444px), calc(100vw - 2rem));
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
  }
  .authorflow-page-actions button {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 24%, transparent);
    }
    border-radius: 999px;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 92%, transparent);
    }
    padding: 0.42rem 0.68rem;
    color: var(--af-muted);
    font-size: 0.59rem;
    font-weight: 800;
    white-space: nowrap;
    transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease, transform 150ms ease;
  }
  .authorflow-page-actions button:hover {
    border-color: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-accent) 58%, transparent);
    }
    background: var(--af-surface);
    color: var(--af-primary);
    transform: translateY(-1px);
  }
  .authorflow-page-actions button:focus-visible {
    outline: 2px solid var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-accent) 64%, transparent);
    }
    outline-offset: 2px;
  }
  .authorflow-page-actions button:disabled {
    cursor: wait;
    opacity: 0.55;
    transform: none;
  }
  .authorflow-page-actions--compact {
    display: grid;
    grid-template-columns: minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr);
    column-gap: 0.65rem;
    row-gap: 0.42rem;
  }
  .authorflow-page-actions__line {
    height: 1px;
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 26%, transparent);
    }
  }
  .authorflow-page-actions__toggle {
    width: 2rem;
    min-width: 2rem;
    padding: 0 !important;
  }
  .authorflow-page-actions--compact.is-open .authorflow-page-actions__toggle {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 30%, var(--af-muted));
    }
    background: var(--af-surface);
    color: var(--af-primary);
    transform: rotate(45deg);
  }
  .authorflow-page-actions__menu {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding-top: 0.08rem;
  }
  .authorflow-page-actions__menu[hidden] {
    display: none;
  }
  .authorflow-focus-bar {
    position: fixed;
    top: 1rem;
    left: 50%;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.65rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, transparent);
    }
    padding: 0.48rem 0.75rem;
    box-shadow: 0 16px 40px -24px rgb(0 0 0 / 0.4);
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
  }
  .authorflow-focus-bar > button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--af-primary);
    font-size: 0.65rem;
    font-weight: 800;
  }
  .authorflow-focus-bar > span {
    color: var(--af-muted);
    font-size: 0.61rem;
    font-weight: 700;
  }
  .authorflow-modal-overlay, .authorflow-character-overlay, .authorflow-notes-overlay, .authorflow-plot-overlay {
    --af-bg: var(--platform-bg, #f6f3ef);
    --af-surface: var(--platform-surface, #ffffff);
    --af-text: var(--platform-text, #171513);
    --af-muted: var(--platform-muted, #7f756e);
    --af-primary: var(--platform-primary, #9b5524);
    --af-accent: var(--platform-accent, #c97333);
  }
  .authorflow-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 170;
    display: grid;
    place-items: center;
    background: rgb(22 18 15 / 0.52);
    padding: 1.25rem;
    backdrop-filter: blur(5px);
  }
  .authorflow-chapter-ornament-dialog {
    display: grid;
    width: min(54rem, 100%);
    max-height: calc(100dvh - 2.5rem);
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 1.05rem;
    background: var(--af-surface);
    color: var(--af-text);
    box-shadow: 0 36px 100px -36px rgb(0 0 0 / 0.68);
  }
  .authorflow-chapter-ornament-dialog > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 1.15rem 1.25rem;
  }
  .authorflow-chapter-ornament-dialog > header span {
    display: block;
    color: var(--af-primary);
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .authorflow-chapter-ornament-dialog > header h2 {
    margin-top: 0.18rem;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
  }
  .authorflow-chapter-ornament-dialog > header p {
    margin-top: 0.24rem;
    color: var(--af-muted);
    font-size: 0.7rem;
    line-height: 1.5;
  }
  .authorflow-chapter-ornament-dialog > header > button {
    display: inline-grid;
    width: 2.3rem;
    height: 2.3rem;
    flex: 0 0 auto;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 999px;
    color: var(--af-muted);
    place-items: center;
  }
  .authorflow-chapter-ornament-dialog > header > button:hover {
    color: var(--af-text);
  }
  .authorflow-chapter-ornament-dialog > header > button:active {
    transform: none;
  }
  .authorflow-chapter-ornament-dialog__body {
    overflow-y: auto;
    padding: 1.25rem;
  }
  .authorflow-chapter-ornament-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .authorflow-chapter-ornament-grid > button {
    position: relative;
    display: grid;
    min-width: 0;
    gap: 0.55rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 0.75rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 48%, var(--af-surface));
    }
    padding: 0.65rem;
    color: var(--af-text);
    text-align: left;
    transition: border-color 150ms ease, background-color 150ms ease;
  }
  .authorflow-chapter-ornament-grid > button:hover {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 42%, var(--af-muted));
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 5%, var(--af-surface));
    }
  }
  .authorflow-chapter-ornament-grid > button.is-selected {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 68%, transparent);
    }
    box-shadow: 0 0 0 2px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 2px color-mix(in oklab, var(--af-primary) 12%, transparent);
    }
  }
  .authorflow-chapter-ornament-grid > button:active {
    transform: none;
  }
  .authorflow-chapter-ornament-grid > button > span {
    display: flex;
    height: 6rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.65rem;
  }
  .authorflow-chapter-ornament-grid img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 4.4rem;
    object-fit: contain;
  }
  .authorflow-chapter-ornament-grid strong {
    padding-inline: 0.15rem;
    font-size: 0.69rem;
  }
  .authorflow-chapter-ornament-grid i {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: var(--af-primary);
    color: var(--af-surface);
    place-items: center;
  }
  .authorflow-chapter-ornament-upload {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 0.75rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 55%, var(--af-surface));
    }
    padding: 0.75rem;
  }
  .authorflow-chapter-ornament-upload > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
  }
  .authorflow-chapter-ornament-upload__preview, .authorflow-chapter-ornament-upload__placeholder {
    display: flex;
    width: 6rem;
    height: 3.2rem;
    flex: 0 0 6rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.45rem;
    background: #fff;
    color: var(--af-primary);
  }
  .authorflow-chapter-ornament-upload__preview img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 2.7rem;
    object-fit: contain;
  }
  .authorflow-chapter-ornament-upload strong, .authorflow-chapter-ornament-upload small {
    display: block;
  }
  .authorflow-chapter-ornament-upload strong {
    font-size: 0.69rem;
  }
  .authorflow-chapter-ornament-upload small {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.45;
  }
  .authorflow-chapter-ornament-upload > label {
    display: inline-flex;
    min-height: 2.45rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 28%, var(--af-muted));
    }
    border-radius: 0.52rem;
    background: var(--af-surface);
    color: var(--af-primary);
    cursor: pointer;
    padding: 0 0.8rem;
    font-size: 0.63rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .authorflow-chapter-ornament-upload > label.is-busy {
    cursor: wait;
    opacity: 0.65;
  }
  .authorflow-chapter-ornament-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .authorflow-chapter-ornament-error {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    border-radius: 0.55rem;
    background: #b42318;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #b42318 8%, var(--af-surface));
    }
    color: #b42318;
    padding: 0.65rem 0.75rem;
    font-size: 0.63rem;
    font-weight: 700;
  }
  .authorflow-chapter-ornament-dialog > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 0.85rem 1.25rem;
  }
  .authorflow-chapter-ornament-dialog > footer > span {
    color: var(--af-muted);
    font-size: 0.6rem;
  }
  .authorflow-chapter-ornament-dialog > footer > button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #b42318;
    font-size: 0.62rem;
    font-weight: 800;
  }
  .authorflow-chapter-ornament-dialog > footer > button:active {
    transform: none;
  }
  .authorflow-export-dialog {
    width: min(72rem, 100%);
    max-height: calc(100dvh - 2.5rem);
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 23%, transparent);
    }
    border-radius: 1rem;
    background: var(--af-surface);
    color: var(--af-text);
    box-shadow: 0 36px 100px -36px rgb(0 0 0 / 0.68);
  }
  .authorflow-export-dialog > header, .authorflow-export-dialog > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
  }
  .authorflow-export-dialog > header {
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
  }
  .authorflow-export-dialog > header span {
    color: var(--af-muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .authorflow-export-dialog > header h2 {
    margin-top: 0.15rem;
    font-family: Georgia, serif;
    font-size: 1.15rem;
  }
  .authorflow-export-dialog > header button {
    color: var(--af-muted);
  }
  .authorflow-export-dialog > footer {
    justify-content: flex-end;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
  }
  .authorflow-export-dialog__body {
    display: grid;
    min-height: 32rem;
    grid-template-columns: 16.5rem minmax(20rem, 1fr) 19rem;
  }
  .authorflow-export-formats {
    border-right: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-right: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    padding: 1rem;
  }
  .authorflow-export-formats button {
    display: grid;
    width: 100%;
    grid-template-columns: 1.5rem minmax(0,1fr);
    gap: 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    padding: 0.8rem;
    color: var(--af-muted);
    text-align: left;
  }
  .authorflow-export-formats button + button {
    margin-top: 0.4rem;
  }
  .authorflow-export-formats button.is-active {
    border-color: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-accent) 58%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-export-formats strong, .authorflow-export-formats small {
    display: block;
  }
  .authorflow-export-formats strong {
    color: var(--af-text);
    font-size: 0.72rem;
  }
  .authorflow-export-formats small {
    margin-top: 0.22rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.35;
    white-space: nowrap;
  }
  .authorflow-export-settings {
    overflow-y: auto;
    padding: 1.5rem;
  }
  .authorflow-export-settings h3, .authorflow-kindle-preview h3 {
    font-family: Georgia, serif;
    font-size: 1rem;
  }
  .authorflow-export-settings > p {
    max-width: 36rem;
    margin-top: 0.45rem;
    color: var(--af-muted);
    font-size: 0.68rem;
    line-height: 1.55;
  }
  .authorflow-export-options {
    margin-top: 1.3rem;
  }
  .authorflow-export-options > .authorflow-setting-toggle {
    margin-top: 0;
    padding: 0.9rem 0;
  }
  .authorflow-docx-layout {
    display: grid;
    gap: 0.55rem;
    margin: 0 0 0.35rem;
    border: 0;
    padding: 0;
  }
  .authorflow-docx-layout legend {
    margin-bottom: 0.15rem;
    color: var(--af-muted);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .authorflow-docx-layout > label {
    position: relative;
    display: block;
    cursor: pointer;
  }
  .authorflow-docx-layout > label > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .authorflow-docx-layout > label > span {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.65rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 45%, var(--af-surface));
    }
    padding: 0.75rem;
    color: var(--af-muted);
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
  }
  .authorflow-docx-layout > label strong, .authorflow-docx-layout > label small {
    display: block;
  }
  .authorflow-docx-layout > label strong {
    color: var(--af-text);
    font-size: 0.69rem;
  }
  .authorflow-docx-layout > label small {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.4;
  }
  .authorflow-docx-layout > label.is-active > span {
    border-color: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-accent) 58%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-docx-layout > label:has(input:focus-visible) > span {
    outline: 2px solid var(--af-accent);
    outline-offset: 2px;
  }
  .authorflow-export-control-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 0.75rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 0.9rem 0;
  }
  .authorflow-export-control-grid label > span {
    display: block;
    margin-bottom: 0.38rem;
    color: var(--af-muted);
    font-size: 0.62rem;
    font-weight: 800;
  }
  .authorflow-export-control-grid label > small {
    display: block;
    margin-top: 0.35rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.4;
  }
  .authorflow-export-control-grid .authorflow-input {
    min-height: 2.45rem;
    padding-block: 0.55rem;
    font-size: 0.72rem;
  }
  .authorflow-export-control-grid--single {
    grid-template-columns: 1fr;
  }
  .authorflow-export-readonly {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 0.9rem 0;
    font-size: 0.67rem;
  }
  .authorflow-export-readonly span {
    color: var(--af-muted);
  }
  .authorflow-export-readonly strong {
    color: var(--af-text);
  }
  .authorflow-binding-compatibility {
    display: grid;
    gap: 0.45rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 0.9rem 0;
  }
  .authorflow-binding-compatibility > em {
    color: var(--af-muted);
    font-size: 0.6rem;
    font-style: normal;
    font-weight: 800;
  }
  .authorflow-binding-compatibility > span {
    display: grid;
    grid-template-columns: auto minmax(5rem, 1fr) auto;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    border-radius: 0.55rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.64rem;
  }
  .authorflow-binding-compatibility > span small {
    color: var(--af-muted);
    text-align: right;
  }
  .authorflow-binding-compatibility > span.is-valid {
    border-color: color-mix(in oklab, #16845b 30%, transparent);
    background: #16845b;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #16845b 7%, var(--af-surface));
    }
    color: #16845b;
  }
  .authorflow-binding-compatibility > span.is-unavailable {
    color: var(--af-muted);
  }
  .authorflow-epub-cover {
    margin-top: 1rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding-top: 1rem;
  }
  .authorflow-epub-cover__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
  .authorflow-epub-cover__heading strong, .authorflow-epub-cover__heading small {
    display: block;
  }
  .authorflow-epub-cover__heading strong {
    font-size: 0.7rem;
  }
  .authorflow-epub-cover__heading small {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    line-height: 1.4;
  }
  .authorflow-epub-cover__heading button {
    color: var(--af-primary);
    font-size: 0.58rem;
    font-weight: 800;
  }
  .authorflow-epub-cover__selected, .authorflow-epub-cover__empty {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 0.65rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 55%, var(--af-surface));
    }
    padding: 0.65rem;
  }
  .authorflow-epub-cover__selected img, .authorflow-epub-cover__placeholder {
    width: 3.3rem;
    height: 4.7rem;
    flex: 0 0 3.3rem;
    border-radius: 0.25rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 9%, var(--af-surface));
    }
    object-fit: cover;
    box-shadow: 0 8px 18px -12px #000;
  }
  .authorflow-epub-cover__placeholder {
    display: grid;
    color: var(--af-primary);
    place-items: center;
  }
  .authorflow-epub-cover__selected strong, .authorflow-epub-cover__selected small, .authorflow-epub-cover__selected em, .authorflow-epub-cover__empty strong, .authorflow-epub-cover__empty small {
    display: block;
  }
  .authorflow-epub-cover__selected strong, .authorflow-epub-cover__empty strong {
    color: var(--af-text);
    font-size: 0.65rem;
  }
  .authorflow-epub-cover__selected small, .authorflow-epub-cover__empty small {
    margin-top: 0.18rem;
    color: var(--af-muted);
    font-size: 0.55rem;
  }
  .authorflow-epub-cover__selected em {
    margin-top: 0.35rem;
    color: var(--af-primary);
    font-size: 0.54rem;
    font-style: normal;
  }
  .authorflow-epub-cover__selected em.is-error {
    color: #b42318;
  }
  .authorflow-epub-cover__empty {
    color: var(--af-muted);
  }
  .authorflow-epub-cover__upload {
    display: inline-flex;
    margin-top: 0.65rem;
    align-items: center;
    gap: 0.4rem;
    border-radius: 0.45rem;
    color: var(--af-primary);
    cursor: pointer;
    font-size: 0.59rem;
    font-weight: 800;
  }
  .authorflow-epub-cover__upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .authorflow-kindle-preview {
    border-left: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 80%, var(--af-surface));
    }
    padding: 1.25rem;
    text-align: center;
  }
  .authorflow-kindle-device {
    position: relative;
    width: 11rem;
    height: 16.5rem;
    margin: 1rem auto 0.7rem;
    border: 0.45rem solid #282725;
    border-radius: 0.75rem;
    background: #292826;
    padding: 0.45rem 0.25rem 1.15rem;
    box-shadow: 0 22px 40px -26px #000;
  }
  .authorflow-kindle-device.is-paper {
    border-radius: 0.1rem;
    border-width: 0.25rem;
    background: #ddd5cc;
  }
  .authorflow-kindle-device > small {
    position: absolute;
    right: 0;
    bottom: 0.18rem;
    left: 0;
    color: #aaa7a1;
    font-size: 0.55rem;
  }
  .authorflow-kindle-screen {
    height: 100%;
    overflow: hidden;
    background: #f7f5ef;
    color: #221f1b;
    padding: 0.75rem;
    font-family: var(--kindle-body-font, Georgia, serif);
    text-align: left;
  }
  .authorflow-kindle-screen p {
    margin: 0 0 0.65em;
    font-size: 0.48rem;
    line-height: 1.45;
  }
  .authorflow-kindle-screen h2, .authorflow-kindle-screen h3 {
    font-size: 0.6rem;
  }
  .authorflow-kindle-first-page {
    min-height: 100%;
    overflow: hidden;
    font-size: 0.48rem;
    line-height: 1.45;
  }
  .authorflow-kindle-first-page h2, .authorflow-kindle-first-page h3 {
    margin: 0 0 0.65em;
    font-family: var(--kindle-title-font, Georgia, serif);
    font-weight: 500;
    line-height: var(--kindle-title-leading, 1.15);
  }
  .authorflow-kindle-first-page [data-align="left"] {
    text-align: left;
  }
  .authorflow-kindle-first-page [data-align="center"] {
    text-align: center;
  }
  .authorflow-kindle-first-page [data-align="right"] {
    text-align: right;
  }
  .authorflow-kindle-first-page [data-align="justify"] {
    text-align: justify;
  }
  .authorflow-kindle-first-page.is-half-title, .authorflow-kindle-first-page.is-title-page, .authorflow-kindle-first-page.is-dedication, .authorflow-kindle-first-page.is-epigraph {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .authorflow-kindle-first-page.is-half-title {
    padding-bottom: 24%;
  }
  .authorflow-kindle-first-page.is-copyright {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    font-size: 0.42rem;
  }
  .authorflow-kindle-first-page.is-toc ol {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
  }
  .authorflow-kindle-first-page.is-toc li {
    border-bottom: 1px dotted #c9c2b8;
    padding: 0.25rem 0;
  }
  .authorflow-kindle-chapter {
    display: block;
    margin-bottom: 1.1rem;
    font-family: var(--kindle-title-font, Georgia, serif);
    font-size: calc(var(--kindle-title-size, 22pt) * 0.44);
    font-weight: 700;
    line-height: var(--kindle-title-leading, 1.15);
    text-align: var(--kindle-title-align, left);
  }
  .authorflow-kindle-toc > strong {
    display: block;
    margin-bottom: 0.8rem;
    font-family: var(--kindle-title-font, Georgia, serif);
    font-size: 0.76rem;
    line-height: var(--kindle-title-leading, 1.15);
    text-align: center;
  }
  .authorflow-kindle-toc > span {
    display: block;
    border-bottom: 1px dotted #c9c2b8;
    padding: 0.33rem 0;
    font-size: 0.47rem;
    line-height: 1.35;
  }
  .authorflow-kindle-preview > p {
    color: var(--af-muted);
    font-size: 0.6rem;
  }
  .authorflow-character-overlay {
    position: fixed;
    inset: 0;
    z-index: 165;
    display: grid;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    background: var(--af-surface);
    color: var(--af-text);
  }
  .authorflow-character-overlay.authorflow-flow-overlay {
    grid-template-rows: minmax(0, 1fr);
  }
  .authorflow-character-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    padding: 0.8rem 1rem;
  }
  .authorflow-character-header > div:last-child {
    display: flex;
    gap: 0.55rem;
  }
  .authorflow-character-header span, .authorflow-relationship-heading span {
    color: var(--af-muted);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .authorflow-character-header h2 {
    margin-top: 0.12rem;
    font-family: Georgia, serif;
    font-size: 1.1rem;
  }
  .authorflow-character-layout {
    display: grid;
    min-height: 0;
    grid-template-columns: 15rem minmax(28rem, 1fr) 21rem;
  }
  .authorflow-character-list, .authorflow-character-profile {
    min-height: 0;
    overflow-y: auto;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 88%, var(--af-bg));
    }
    padding: 1rem;
  }
  .authorflow-character-list {
    border-right: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-right: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
  }
  .authorflow-character-profile {
    border-left: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
  }
  .authorflow-character-list h3 {
    margin-bottom: 0.75rem;
    font-family: Georgia, serif;
    font-size: 0.95rem;
  }
  .authorflow-character-list > p {
    color: var(--af-muted);
    font-size: 0.68rem;
  }
  .authorflow-character-list > button {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.55rem;
    padding: 0.65rem;
    text-align: left;
  }
  .authorflow-character-list > button.is-active {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 9%, var(--af-surface));
    }
  }
  .authorflow-character-list i, .authorflow-character-node i, .authorflow-profile-view > i {
    display: grid;
    border-radius: 50%;
    background: var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--character-color) 16%, var(--af-surface));
    }
    color: var(--character-color);
    place-items: center;
    font-style: normal;
    font-weight: 850;
  }
  .authorflow-character-list i {
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 2.15rem;
    font-size: 0.64rem;
  }
  .authorflow-character-list strong, .authorflow-character-list small {
    display: block;
  }
  .authorflow-character-list strong {
    color: var(--af-text);
    font-size: 0.71rem;
  }
  .authorflow-character-list small {
    margin-top: 0.15rem;
    color: var(--af-muted);
    font-size: 0.56rem;
    line-height: 1.3;
  }
  .authorflow-relationship-canvas {
    min-height: 0;
    overflow-y: auto;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 88%, var(--af-surface));
    }
  }
  .authorflow-relationship-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
  }
  .authorflow-relationship-heading h3 {
    margin-top: 0.25rem;
    font-family: Georgia, serif;
    font-size: 1.5rem;
  }
  .authorflow-relationship-heading > small {
    color: var(--af-muted);
    font-size: 0.62rem;
  }
  .authorflow-character-view-switch {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem;
  }
  .authorflow-character-view-switch button {
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.45rem;
    padding: 0.4rem 0.6rem;
    color: var(--af-muted);
    font-size: 0.59rem;
    font-weight: 800;
  }
  .authorflow-character-view-switch button.is-active {
    border-color: var(--af-accent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-accent) 52%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 9%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-character-view-switch small {
    width: 100%;
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.56rem;
    text-align: right;
  }
  .authorflow-character-map {
    display: flex;
    min-height: 12rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 4vw, 3rem);
    margin-top: 1.5rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
    border-radius: 0.85rem;
    background-image: radial-gradient(var(--af-muted) 0.8px, transparent 0.8px);
    @supports (color: color-mix(in lab, red, red)) {
      background-image: radial-gradient(color-mix(in oklab, var(--af-muted) 24%, transparent) 0.8px, transparent 0.8px);
    }
    background-size: 18px 18px;
    padding: 2rem;
  }
  .authorflow-character-map.is-tree {
    display: grid;
    grid-template-columns: repeat(2, minmax(8rem, 1fr));
    align-items: start;
    background-image: linear-gradient(to bottom, transparent 49%, var(--af-accent) 49% 50%, transparent 50%), radial-gradient(var(--af-muted) 0.8px, transparent 0.8px);
    @supports (color: color-mix(in lab, red, red)) {
      background-image: linear-gradient(to bottom, transparent 49%, color-mix(in oklab, var(--af-accent) 25%, transparent) 49% 50%, transparent 50%), radial-gradient(color-mix(in oklab, var(--af-muted) 24%, transparent) 0.8px, transparent 0.8px);
    }
  }
  .authorflow-character-map.is-tree .authorflow-character-node {
    justify-self: center;
  }
  .authorflow-character-map.is-tree .authorflow-character-node:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .authorflow-character-node {
    display: flex;
    width: 8rem;
    align-items: center;
    flex-direction: column;
    border: 1px solid var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--character-color) 32%, transparent);
    }
    border-radius: 0.75rem;
    background: var(--af-surface);
    padding: 0.8rem;
    box-shadow: 0 18px 35px -32px #000;
    text-align: center;
  }
  .authorflow-character-node.is-active {
    box-shadow: 0 0 0 2px var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 2px color-mix(in oklab, var(--character-color) 52%, transparent);
    }
  }
  .authorflow-character-node i {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 0.72rem;
  }
  .authorflow-character-node strong {
    margin-top: 0.5rem;
    font-family: Georgia, serif;
    font-size: 0.78rem;
  }
  .authorflow-character-node small {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.53rem;
    line-height: 1.3;
  }
  .authorflow-relationship-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
  }
  .authorflow-relationship-list article {
    position: relative;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 19%, transparent);
    }
    border-radius: 0.65rem;
    background: var(--af-surface);
    padding: 0.75rem 2.6rem 0.75rem 0.85rem;
  }
  .authorflow-relationship-list article > span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--af-text);
    font-size: 0.66rem;
  }
  .authorflow-relationship-list b {
    display: block;
    margin-top: 0.3rem;
    color: var(--af-primary);
    font-size: 0.58rem;
  }
  .authorflow-relationship-list p {
    margin-top: 0.35rem;
    color: var(--af-muted);
    font-size: 0.62rem;
    line-height: 1.45;
  }
  .authorflow-relationship-list article > button {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    color: var(--af-muted);
  }
  .authorflow-relationship-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 0.55rem;
    margin-top: 1rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    padding-top: 1rem;
  }
  .authorflow-relationship-form input {
    grid-column: 1 / 3;
  }
  .authorflow-relationship-form button {
    justify-content: center;
  }
  .authorflow-character-profile form {
    display: grid;
    gap: 0.8rem;
  }
  .authorflow-profile-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .authorflow-profile-heading h3 {
    font-family: Georgia, serif;
    font-size: 1rem;
  }
  .authorflow-character-profile input[type="color"] {
    width: 100%;
    height: 2.5rem;
    border-radius: 0.45rem;
    background: transparent;
  }
  .authorflow-profile-view {
    text-align: center;
  }
  .authorflow-profile-view > i {
    width: 4.4rem;
    height: 4.4rem;
    margin: 0 auto 0.8rem;
    font-size: 1rem;
  }
  .authorflow-profile-view > span {
    color: var(--af-primary);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .authorflow-profile-view > h3 {
    margin-top: 0.3rem;
    font-family: Georgia, serif;
    font-size: 1.5rem;
  }
  .authorflow-profile-age {
    margin-top: 0.25rem;
    color: var(--af-muted);
    font-size: 0.65rem;
  }
  .authorflow-profile-view section {
    margin-top: 1rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding-top: 0.85rem;
    text-align: left;
  }
  .authorflow-profile-view section strong {
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .authorflow-profile-view section p {
    margin-top: 0.35rem;
    color: var(--af-muted);
    font-size: 0.68rem;
    line-height: 1.55;
    white-space: pre-wrap;
  }
  .authorflow-profile-actions {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.2rem;
  }
  .authorflow-profile-actions .authorflow-button {
    justify-content: center;
  }
  .authorflow-profile-actions > button:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #dc2626;
    font-size: 0.66rem;
    font-weight: 750;
  }
  .authorflow-character-empty {
    display: flex;
    min-height: 10rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem;
    color: var(--af-muted);
    text-align: center;
  }
  .authorflow-character-empty strong {
    color: var(--af-text);
    font-family: Georgia, serif;
    font-size: 0.9rem;
  }
  .authorflow-character-empty p {
    max-width: 24rem;
    margin-top: 0.4rem;
    font-size: 0.65rem;
    line-height: 1.5;
  }
  .authorflow-character-empty .authorflow-button {
    margin-top: 0.8rem;
  }
  .authorflow-flow-overlay, .authorflow-plot-overlay {
    position: fixed;
    z-index: 175;
    inset: 0;
    overflow: hidden;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 94%, var(--af-surface));
    }
    color: var(--af-text);
  }
  .authorflow-flow-app, .authorflow-plot-app {
    display: grid;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    min-height: 0;
    grid-template-columns: 15.5rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.85rem;
  }
  .authorflow-flow-shell, .authorflow-plot-shell {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 15%, transparent);
    }
    border-radius: 1.65rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 86%, transparent);
    }
    box-shadow: 0 1.4rem 4rem -2.5rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1.4rem 4rem -2.5rem color-mix(in oklab, var(--af-text) 34%, transparent);
    }
  }
  .authorflow-flow-sidebar, .authorflow-plot-sidebar {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem;
  }
  .authorflow-flow-brand, .authorflow-plot-brand {
    padding: 0.25rem 0.25rem 0.4rem;
  }
  .authorflow-flow-brand > span, .authorflow-plot-brand > span, .authorflow-flow-inspector__head span, .authorflow-plot-inspector__head span {
    color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-muted) 72%, transparent);
    }
    font-size: 0.57rem;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .authorflow-flow-brand h1, .authorflow-plot-brand h1 {
    margin: 0.45rem 0;
    font-family: Georgia, serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
  }
  .authorflow-flow-brand p, .authorflow-plot-brand p {
    color: var(--af-muted);
    font-size: 0.69rem;
    line-height: 1.5;
  }
  .authorflow-flow-primary {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, var(--af-primary), var(--af-primary));
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(180deg, color-mix(in oklab, var(--af-primary) 88%, white), color-mix(in oklab, var(--af-primary) 84%, black));
    }
    color: white;
    box-shadow: 0 0.8rem 1.5rem -0.8rem var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.8rem 1.5rem -0.8rem color-mix(in oklab, var(--af-primary) 55%, transparent);
    }
    font-size: 0.68rem;
    font-weight: 850;
  }
  .authorflow-flow-primary:hover {
    transform: translateY(-1px);
  }
  .authorflow-flow-create-actions {
    display: grid;
    justify-items: stretch;
    gap: 0.48rem;
  }
  .authorflow-flow-import {
    display: inline-flex;
    width: 100%;
    min-height: 2.12rem;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 24%, transparent);
    }
    border-radius: 0.68rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 6%, var(--af-surface));
    }
    color: var(--af-primary);
    padding: 0.4rem 0.65rem;
    font-size: 0.59rem;
    font-weight: 820;
  }
  .authorflow-flow-import:hover:not(:disabled), .authorflow-flow-import:focus-visible {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 42%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 11%, var(--af-surface));
    }
    outline: none;
  }
  .authorflow-flow-import:disabled {
    cursor: wait;
    opacity: 0.58;
  }
  .authorflow-flow-search {
    position: relative;
    display: block;
  }
  .authorflow-flow-search svg {
    position: absolute;
    z-index: 1;
    top: 0.74rem;
    left: 0.75rem;
    color: var(--af-muted);
  }
  .authorflow-flow-search input {
    width: 100%;
    height: 2.5rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    border-radius: 0.72rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 90%, transparent);
    }
    padding: 0 0.75rem 0 2.2rem;
    color: var(--af-text);
    font-size: 0.68rem;
    outline: none;
  }
  .authorflow-flow-search input:focus {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 42%, transparent);
    }
    box-shadow: 0 0 0 3px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--af-primary) 9%, transparent);
    }
  }
  .authorflow-flow-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.2rem;
    font-size: 0.67rem;
  }
  .authorflow-flow-list-head span, .authorflow-plot-side-card > header span {
    display: grid;
    min-width: 1.55rem;
    height: 1.45rem;
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, var(--af-surface));
    }
    color: var(--af-primary);
    padding: 0 0.45rem;
    font-size: 0.58rem;
    font-weight: 850;
    place-items: center;
  }
  .authorflow-flow-list {
    display: grid;
    min-height: 0;
    gap: 0.4rem;
    overflow-y: auto;
    padding-right: 0.15rem;
  }
  .authorflow-flow-list > button {
    display: grid;
    width: 100%;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    padding: 0.52rem;
    text-align: left;
  }
  .authorflow-flow-list > button:hover {
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 82%, transparent);
    }
  }
  .authorflow-flow-list > button.is-active {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 19%, transparent);
    }
    background: var(--af-surface);
    box-shadow: 0 0.6rem 1.6rem -1.2rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.6rem 1.6rem -1.2rem color-mix(in oklab, var(--af-text) 32%, transparent);
    }
  }
  .authorflow-character-avatar, .authorflow-flow-list > button > i, .authorflow-flow-node__body > span:first-child > i, .authorflow-flow-profile > i {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--character-color) 20%, transparent);
    }
    border-radius: 0.85rem;
    background: var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--character-color) 14%, var(--af-surface));
    }
    color: var(--character-color);
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 850;
    place-items: center;
  }
  .authorflow-character-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .authorflow-flow-list strong, .authorflow-flow-list small {
    display: block;
  }
  .authorflow-flow-list strong {
    font-size: 0.69rem;
  }
  .authorflow-flow-list small {
    overflow: hidden;
    margin-top: 0.18rem;
    color: var(--af-muted);
    font-size: 0.56rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-flow-sidebar-foot {
    display: grid;
    gap: 0.45rem;
    margin-top: auto;
  }
  .authorflow-flow-sidebar-foot button {
    min-height: 2.35rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
    border-radius: 0.72rem;
    background: var(--af-surface);
    font-size: 0.62rem;
    font-weight: 800;
  }
  .authorflow-flow-stage, .authorflow-plot-stage {
    position: relative;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 36%, var(--af-surface));
    }
  }
  .authorflow-studio-header {
    position: absolute;
    z-index: 30;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    min-height: 5rem;
    grid-template-columns: minmax(8rem, 1fr) max-content;
    align-items: center;
    gap: 0.75rem 1rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 93%, transparent);
    }
    padding: 0.9rem 1.3rem;
  }
  .authorflow-studio-header > div:first-child {
    min-width: 8rem;
  }
  .authorflow-studio-header h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 600;
  }
  .authorflow-studio-header p {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.61rem;
  }
  .authorflow-studio-actions {
    display: flex;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.42rem;
  }
  .authorflow-studio-actions button {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 21%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, var(--af-bg));
    }
    color: var(--af-text);
    padding: 0.5rem 0.68rem;
    font-size: 0.61rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .authorflow-studio-actions button:hover:not(:disabled), .authorflow-studio-actions button:focus-visible {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 38%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: none;
  }
  .authorflow-studio-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
  }
  .authorflow-studio-actions .authorflow-studio-close {
    flex: 0 0 auto;
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 28%, transparent);
    }
    color: var(--af-primary);
    box-shadow: 0 0.7rem 1.8rem -1.2rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.7rem 1.8rem -1.2rem color-mix(in oklab, var(--af-text) 35%, transparent);
    }
  }
  .authorflow-studio-status {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 13%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 54%, var(--af-surface));
    }
    padding: 0 0.75rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    font-weight: 750;
    white-space: nowrap;
  }
  .authorflow-studio-status > i {
    width: 0.43rem;
    height: 0.43rem;
    border-radius: 50%;
    background: var(--af-primary);
    box-shadow: 0 0 0 4px var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 4px color-mix(in oklab, var(--af-primary) 10%, transparent);
    }
  }
  .authorflow-flow-zoom button {
    display: inline-flex;
    min-width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
    border-radius: 0.7rem;
    background: var(--af-surface);
    padding: 0 0.7rem;
    font-size: 0.62rem;
    font-weight: 800;
  }
  .authorflow-flow-canvas {
    --character-grid-size: 24px;
    --character-grid-x: 0px;
    --character-grid-y: 0px;
    position: absolute;
    overflow: hidden;
    cursor: grab;
    isolation: isolate;
    inset: 0;
    background-image: radial-gradient(var(--af-muted) 0.8px, transparent 0.8px);
    @supports (color: color-mix(in lab, red, red)) {
      background-image: radial-gradient(color-mix(in oklab, var(--af-muted) 18%, transparent) 0.8px, transparent 0.8px);
    }
    background-position: var(--character-grid-x) var(--character-grid-y);
    background-size: var(--character-grid-size) var(--character-grid-size);
    touch-action: none;
  }
  .authorflow-flow-canvas.is-panning {
    cursor: grabbing;
  }
  .authorflow-flow-canvas::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 52% 44%, var(--af-surface), transparent 72%);
    @supports (color: color-mix(in lab, red, red)) {
      background: radial-gradient(circle at 52% 44%, color-mix(in oklab, var(--af-surface) 88%, transparent), transparent 72%);
    }
    content: "";
    pointer-events: none;
  }
  .authorflow-flow-world {
    position: absolute;
    inset: 5.8rem 0 0;
    transform-origin: 0 0;
  }
  .authorflow-flow-world > svg {
    position: absolute;
    z-index: 1;
    overflow: visible;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .authorflow-flow-world > svg path {
    fill: none;
    stroke: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      stroke: color-mix(in oklab, var(--af-primary) 43%, var(--af-muted));
    }
    stroke-linecap: round;
    stroke-width: 0.22;
    vector-effect: non-scaling-stroke;
  }
  .authorflow-flow-world > svg .authorflow-flow-connection-preview {
    opacity: 0;
    stroke: var(--af-primary);
    stroke-width: 2.7px;
    stroke-dasharray: 8px 7px;
    pointer-events: none;
    animation: authorflow-flow-connection-dash 720ms linear infinite;
  }
  .authorflow-flow-world > svg .authorflow-flow-connection-preview.is-active {
    opacity: 1;
  }
  @keyframes authorflow-flow-connection-dash {
    to {
      stroke-dashoffset: -30px;
    }
  }
  .authorflow-flow-connection-guide {
    position: absolute;
    z-index: 35;
    top: 5.75rem;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 999px;
    background: var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-text) 94%, black);
    }
    color: white;
    padding: 0.62rem 0.86rem;
    box-shadow: 0 0.9rem 2rem -1rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.9rem 2rem -1rem color-mix(in oklab, var(--af-text) 58%, transparent);
    }
    font-size: 0.58rem;
    font-weight: 750;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -0.45rem);
    transition: opacity 150ms ease, transform 150ms ease;
  }
  .authorflow-flow-connection-guide b {
    color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-primary) 25%, white);
    }
  }
  .authorflow-flow-connection-guide.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .authorflow-flow-edge-labels {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
  }
  .authorflow-flow-edge-label {
    position: absolute;
    display: inline-flex;
    min-height: 1.8rem;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 17%, transparent);
    }
    border-radius: 999px;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 95%, transparent);
    }
    padding: 0 0.65rem;
    box-shadow: none;
    font-size: 0.55rem;
    pointer-events: auto;
    transform: translate(-50%, -50%);
  }
  .authorflow-flow-edge-label i {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--af-primary);
  }
  .authorflow-flow-edge-label.is-active {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 62%, transparent);
    }
    outline: 2px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-primary) 13%, transparent);
    }
    outline-offset: 2px;
  }
  .authorflow-flow-node {
    position: absolute;
    z-index: 5;
    width: 13.2rem;
    min-height: 7.8rem;
    border: 1px solid var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--character-color) 20%, color-mix(in oklab, var(--af-muted) 15%, transparent));
    }
    border-radius: 1.2rem;
    background: linear-gradient(180deg, var(--af-surface), var(--af-bg));
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(180deg, color-mix(in oklab, var(--af-surface) 98%, transparent), color-mix(in oklab, var(--af-bg) 38%, var(--af-surface)));
    }
    box-shadow: none;
    transform: translate(-50%, -50%);
  }
  .authorflow-flow-node.is-active {
    border-color: var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--character-color) 62%, transparent);
    }
    outline: 3px solid var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 3px solid color-mix(in oklab, var(--character-color) 11%, transparent);
    }
    outline-offset: 2px;
  }
  .authorflow-flow-node.is-source {
    border-color: var(--af-primary);
  }
  .authorflow-flow-node.is-dragging {
    z-index: 20;
    cursor: grabbing;
    transition: none;
  }
  .authorflow-flow-node.is-connect-self {
    opacity: 0.52;
  }
  .authorflow-flow-node.is-connect-existing {
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 42%, transparent);
    }
    filter: saturate(0.72);
    outline: 3px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 3px solid color-mix(in oklab, var(--af-muted) 9%, transparent);
    }
    outline-offset: 2px;
  }
  .authorflow-flow-node.is-connect-valid {
    border-color: color-mix(in oklab, #2f7a59 58%, transparent);
    outline: 3px solid color-mix(in oklab, #2f7a59 12%, transparent);
    outline-offset: 2px;
  }
  .authorflow-flow-node.is-connect-valid.is-connect-hover {
    border-color: color-mix(in oklab, #2f7a59 88%, transparent);
    outline-color: color-mix(in oklab, #2f7a59 21%, transparent);
    outline-width: 5px;
  }
  .authorflow-flow-node__body {
    width: 100%;
    padding: 0.85rem;
    text-align: left;
    cursor: grab;
  }
  .authorflow-flow-node__body > span:first-child {
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }
  .authorflow-flow-node__body > span:first-child b {
    min-width: 0;
    font-style: normal;
  }
  .authorflow-flow-node__body > span:first-child strong {
    display: block;
    overflow: hidden;
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-flow-node__body > span:first-child small {
    display: block;
    overflow: hidden;
    margin-top: 0.25rem;
    color: var(--af-muted);
    font-size: 0.56rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-flow-node__body > span:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.72rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 11%, transparent);
    }
    padding-top: 1rem;
  }
  .authorflow-flow-node__body > span:last-child em {
    border-radius: 999px;
    background: var(--character-color);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--character-color) 11%, var(--af-surface));
    }
    color: var(--character-color);
    padding: 0.32rem 0.48rem;
    font-size: 0.51rem;
    font-style: normal;
    font-weight: 800;
  }
  .authorflow-flow-node__body > span:last-child small {
    color: var(--af-muted);
    font-size: 0.51rem;
  }
  .authorflow-flow-port {
    position: absolute;
    top: 50%;
    right: -1.05rem;
    display: flex;
    width: 2.1rem;
    height: 2.1rem;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    overflow: hidden;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 35%, transparent);
    }
    border-radius: 999px;
    background: var(--af-surface);
    color: var(--af-primary);
    padding: 0 0.48rem;
    box-shadow: 0 0.55rem 1.3rem -0.65rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.55rem 1.3rem -0.65rem color-mix(in oklab, var(--af-text) 45%, transparent);
    }
    transform: translateY(-50%);
    transition: width 160ms ease, right 160ms ease, background 160ms ease, color 160ms ease;
  }
  .authorflow-flow-port span {
    display: none;
    font-size: 0.54rem;
    font-weight: 850;
    white-space: nowrap;
  }
  .authorflow-flow-port:hover {
    right: -4.9rem;
    width: 6rem;
    background: var(--af-primary);
    color: white;
  }
  .authorflow-flow-port:hover span {
    display: inline;
  }
  .authorflow-flow-port.is-connecting {
    right: -1.05rem;
    width: 2.1rem;
    background: var(--af-primary);
    color: white;
    cursor: grabbing;
    box-shadow: 0 0 0 7px var(--af-primary), 0 0.9rem 1.9rem -0.7rem var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 7px color-mix(in oklab, var(--af-primary) 13%, transparent), 0 0.9rem 1.9rem -0.7rem color-mix(in oklab, var(--af-primary) 56%, transparent);
    }
  }
  .authorflow-flow-port.is-connecting span {
    display: none;
  }
  .authorflow-flow-target-note {
    position: absolute;
    bottom: -1.6rem;
    left: 50%;
    z-index: 7;
    display: none;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
    border-radius: 999px;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 96%, transparent);
    }
    color: var(--af-muted);
    padding: 0.32rem 0.52rem;
    box-shadow: 0 0.55rem 1.2rem -0.75rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.55rem 1.2rem -0.75rem color-mix(in oklab, var(--af-text) 32%, transparent);
    }
    font-size: 0.5rem;
    font-weight: 800;
    pointer-events: none;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .authorflow-flow-node.is-connect-valid .authorflow-flow-target-note, .authorflow-flow-node.is-connect-existing .authorflow-flow-target-note {
    display: block;
  }
  .authorflow-flow-node.is-connect-valid .authorflow-flow-target-note {
    color: #2f7a59;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #2f7a59 86%, var(--af-text));
    }
  }
  .authorflow-flow-zoom {
    position: absolute;
    z-index: 25;
    bottom: 1.1rem;
    left: 1.1rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
    border-radius: 0.8rem;
    background: var(--af-surface);
  }
  .authorflow-flow-zoom button {
    border: 0;
    border-radius: 0;
  }
  .authorflow-flow-zoom output {
    min-width: 3.1rem;
    color: var(--af-muted);
    font-size: 0.58rem;
    font-weight: 800;
    text-align: center;
  }
  .authorflow-flow-empty {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 2rem;
    text-align: center;
  }
  .authorflow-flow-empty strong {
    font-family: Georgia, serif;
    font-size: 1rem;
  }
  .authorflow-flow-empty p {
    max-width: 23rem;
    margin: 0.4rem 0 0.9rem;
    color: var(--af-muted);
    font-size: 0.65rem;
  }
  .authorflow-flow-empty .authorflow-flow-primary {
    min-width: max-content;
    padding-inline: 1.5rem;
    white-space: nowrap;
  }
  .authorflow-flow-inspector, .authorflow-plot-inspector {
    position: absolute;
    z-index: 40;
    top: 5.9rem;
    right: 1.1rem;
    bottom: 1.1rem;
    display: flex;
    width: 22rem;
    flex-direction: column;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
    border-radius: 1.25rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 95%, transparent);
    }
    box-shadow: 0 1.4rem 4rem -2rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1.4rem 4rem -2rem color-mix(in oklab, var(--af-text) 42%, transparent);
    }
    backdrop-filter: blur(20px);
  }
  .authorflow-flow-inspector__head, .authorflow-plot-inspector__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 13%, transparent);
    }
    padding: 1rem;
  }
  .authorflow-flow-inspector__head h2, .authorflow-plot-inspector__head h2 {
    margin-top: 0.22rem;
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
  }
  .authorflow-flow-inspector__head p, .authorflow-plot-inspector__head p {
    margin-top: 0.22rem;
    color: var(--af-muted);
    font-size: 0.57rem;
  }
  .authorflow-flow-inspector__head .authorflow-flow-profile-meta {
    display: flex;
    min-width: 13rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .authorflow-flow-inspector__head .authorflow-flow-profile-meta span:last-child {
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
  }
  .authorflow-flow-inspector__head button, .authorflow-plot-inspector__head button {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    flex: 0 0 auto;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
    }
    border-radius: 0.68rem;
    background: var(--af-surface);
    place-items: center;
  }
  .authorflow-flow-inspector__body, .authorflow-plot-inspector__body {
    display: grid;
    min-height: 0;
    gap: 0.7rem;
    overflow-y: auto;
    padding: 0.85rem;
  }
  .authorflow-flow-inspector__body > section, .authorflow-plot-inspector__body > section {
    display: grid;
    gap: 0.65rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 13%, transparent);
    }
    border-radius: 0.95rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 28%, var(--af-surface));
    }
    padding: 0.8rem;
  }
  .authorflow-flow-inspector__body h3, .authorflow-plot-inspector__body h3 {
    color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-muted) 73%, transparent);
    }
    font-size: 0.54rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .authorflow-flow-inspector__body label, .authorflow-plot-inspector__body label {
    display: grid;
    gap: 0.3rem;
  }
  .authorflow-flow-inspector__body label > span, .authorflow-plot-inspector__body label > span {
    color: var(--af-muted);
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .authorflow-flow-inspector__body .authorflow-input, .authorflow-plot-inspector__body .authorflow-input {
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    border-radius: 0.68rem;
    background: var(--af-surface);
    padding: 0.62rem;
    font-size: 0.64rem;
  }
  .authorflow-flow-inspector .custom-select {
    width: 100%;
  }
  .authorflow-flow-inspector .custom-select-trigger {
    min-height: 2.5rem;
    border-color: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    border-radius: 0.68rem;
    background: var(--af-surface);
    padding: 0.55rem 0.62rem;
    font-size: 0.64rem;
    line-height: 1.2;
    box-shadow: none;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-flow"] {
    border-radius: 0.68rem;
    padding: 0.3rem;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-flow"] .custom-select-option {
    min-height: 2.25rem;
    border-radius: 0.48rem;
    padding: 0.48rem 0.58rem;
    font-size: 0.64rem;
    line-height: 1.3;
  }
  .authorflow-relationship-type-fields {
    display: grid;
    gap: 0.65rem;
  }
  .authorflow-custom-relationship-field[hidden] {
    display: none;
  }
  .authorflow-flow-inspector__body .authorflow-custom-relationship-field > small {
    justify-self: end;
    color: var(--af-muted);
    font-size: 0.52rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
  }
  .authorflow-flow-inspector__body textarea.authorflow-input, .authorflow-plot-inspector__body textarea.authorflow-input {
    min-height: 4.7rem;
    resize: vertical;
  }
  .authorflow-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .authorflow-flow-danger {
    min-height: 2.4rem;
    border: 1px solid color-mix(in oklab, #b84942 24%, transparent);
    border-radius: 0.72rem;
    background: #b84942;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #b84942 7%, var(--af-surface));
    }
    color: #b84942;
    font-size: 0.62rem;
    font-weight: 850;
  }
  .authorflow-character-image-field {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
  }
  .authorflow-character-image-field > .authorflow-character-avatar {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 1rem;
    font-size: 0.8rem;
  }
  .authorflow-character-image-field > div {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.42rem;
  }
  .authorflow-character-image-field .authorflow-character-image-upload, .authorflow-character-image-field [data-remove-character-profile-image] {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 25%, transparent);
    }
    border-radius: 0.62rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    color: var(--af-primary);
    padding: 0.42rem 0.6rem;
    font-size: 0.56rem;
    font-weight: 820;
    cursor: pointer;
  }
  .authorflow-character-image-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .authorflow-character-image-field [data-remove-character-profile-image] {
    border-color: color-mix(in oklab, #b84942 20%, transparent);
    background: #b84942;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #b84942 6%, var(--af-surface));
    }
    color: #b84942;
  }
  .authorflow-character-image-field small {
    width: 100%;
    color: var(--af-muted);
    font-size: 0.52rem;
    line-height: 1.45;
  }
  .authorflow-flow-profile > i {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    font-size: 0.78rem;
  }
  .authorflow-flow-profile > b {
    color: var(--af-muted);
    font-size: 0.6rem;
  }
  .authorflow-flow-profile section p {
    color: var(--af-muted);
    font-size: 0.64rem;
    line-height: 1.5;
  }
  .authorflow-plot-app {
    grid-template-columns: 15.6rem minmax(0, 1fr);
  }
  .authorflow-plot-sidebar {
    overflow-y: auto;
  }
  .authorflow-plot-create-actions {
    display: grid;
    gap: 0.5rem;
  }
  .authorflow-plot-add-act {
    display: inline-flex;
    width: 100%;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 22%, transparent);
    }
    border-radius: 0.78rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 6%, var(--af-surface));
    }
    color: var(--af-primary);
    font-size: 0.64rem;
    font-weight: 820;
  }
  .authorflow-plot-add-act:hover, .authorflow-plot-add-act:focus-visible {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 40%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, var(--af-surface));
    }
    outline: none;
  }
  .authorflow-plot-side-card {
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 13%, transparent);
    }
    border-radius: 1rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 70%, transparent);
    }
    padding: 0.8rem;
  }
  .authorflow-plot-side-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.63rem;
  }
  .authorflow-plot-side-card > div > small {
    display: flex;
    justify-content: space-between;
    color: var(--af-muted);
    font-size: 0.62rem;
  }
  .authorflow-plot-side-card > div > small b {
    color: var(--af-text);
  }
  .authorflow-plot-side-card > div > i {
    display: block;
    height: 0.42rem;
    overflow: hidden;
    margin-top: 0.5rem;
    border-radius: 999px;
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
  }
  .authorflow-plot-side-card > div > i > b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--af-primary), var(--af-accent));
  }
  .authorflow-plot-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .authorflow-plot-filters button {
    min-height: 1.9rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 15%, transparent);
    }
    border-radius: 999px;
    background: var(--af-surface);
    padding: 0 0.65rem;
    color: var(--af-muted);
    font-size: 0.6rem;
    font-weight: 800;
  }
  .authorflow-plot-filters button.is-active {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 23%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-plot-board {
    position: absolute;
    overflow: auto;
    padding: 5.95rem 1.1rem 1.1rem;
    inset: 0;
    background-image: radial-gradient(var(--af-muted) 0.8px, transparent 0.8px);
    @supports (color: color-mix(in lab, red, red)) {
      background-image: radial-gradient(color-mix(in oklab, var(--af-muted) 17%, transparent) 0.8px, transparent 0.8px);
    }
    background-size: 24px 24px;
  }
  .authorflow-plot-board__inner {
    display: grid;
    width: max-content;
    min-width: 100%;
    grid-template-columns: repeat(var(--plot-act-count, 3), 20rem);
    align-items: start;
    gap: 0.85rem;
  }
  .authorflow-plot-act {
    min-height: calc(100vh - 8rem);
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 14%, transparent);
    }
    border-radius: 1.25rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 58%, transparent);
    }
    padding: 0.72rem;
  }
  .authorflow-plot-act > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.35rem 0.3rem 0.75rem;
  }
  .authorflow-plot-act > header h2 {
    font-family: Georgia, serif;
    font-size: 1.08rem;
    font-weight: 600;
  }
  .authorflow-plot-act > header p {
    margin-top: 0.24rem;
    color: var(--af-muted);
    font-size: 0.62rem;
    line-height: 1.4;
  }
  .authorflow-plot-act-settings {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    border-radius: 0.65rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 88%, transparent);
    }
    color: var(--af-muted);
    place-items: center;
    transform: none;
  }
  .authorflow-plot-act-settings:hover, .authorflow-plot-act-settings:focus-visible {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 34%, transparent);
    }
    background: var(--af-surface);
    color: var(--af-primary);
    outline: none;
    transform: none;
  }
  .authorflow-plot-act-settings:active {
    transform: none !important;
  }
  .authorflow-plot-dropzone {
    display: grid;
    min-height: 10rem;
    align-content: start;
    gap: 0.55rem;
    border-radius: 0.85rem;
  }
  .authorflow-plot-dropzone.is-drag-over {
    outline: 2px dashed var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px dashed color-mix(in oklab, var(--af-primary) 35%, transparent);
    }
    outline-offset: 0.28rem;
  }
  .authorflow-plot-card {
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 15%, transparent);
    }
    border-radius: 1rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 96%, transparent);
    }
    padding: 0.78rem;
    box-shadow: 0 0.7rem 1.8rem -1.35rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.7rem 1.8rem -1.35rem color-mix(in oklab, var(--af-text) 35%, transparent);
    }
    cursor: grab;
  }
  .authorflow-plot-card:hover {
    transform: translateY(-1px);
  }
  .authorflow-plot-card.is-active {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 48%, transparent);
    }
    box-shadow: 0 0 0 3px var(--af-primary), 0 1rem 2rem -1.4rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--af-primary) 8%, transparent), 0 1rem 2rem -1.4rem color-mix(in oklab, var(--af-text) 42%, transparent);
    }
  }
  .authorflow-plot-card.is-dragging {
    opacity: 0.55;
    cursor: grabbing;
  }
  .authorflow-plot-card.is-done {
    border-color: color-mix(in oklab, #34745a 22%, transparent);
    background: #34745a;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #34745a 5%, var(--af-surface));
    }
  }
  .authorflow-plot-card > div {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .authorflow-plot-card > div > button {
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 auto;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 0.48rem;
    background: var(--af-surface);
    place-items: center;
  }
  .authorflow-plot-card.is-done > div > button {
    border-color: #34745a;
    background: #34745a;
    color: white;
  }
  .authorflow-plot-card > div > span {
    min-width: 0;
    flex: 1;
  }
  .authorflow-plot-card > div > span strong, .authorflow-plot-card > div > span small {
    display: block;
  }
  .authorflow-plot-card > div > span strong {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .authorflow-plot-card > div > span small {
    margin-top: 0.22rem;
    color: var(--af-muted);
    font-size: 0.61rem;
  }
  .authorflow-plot-card > div > i {
    display: grid;
    min-width: 1.65rem;
    height: 1.45rem;
    border-radius: 999px;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 75%, var(--af-surface));
    }
    color: var(--af-muted);
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 800;
    place-items: center;
  }
  .authorflow-plot-card > p {
    margin-top: 0.65rem;
    color: var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--af-text) 70%, var(--af-muted));
    }
    font-size: 0.7rem;
    line-height: 1.55;
  }
  .authorflow-plot-card > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.65rem;
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 11%, transparent);
    }
    padding-top: 0.55rem;
  }
  .authorflow-plot-card > footer > span {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .authorflow-plot-card > footer b {
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 10%, var(--af-surface));
    }
    color: var(--af-primary);
    padding: 0.32rem 0.48rem;
    font-size: 0.55rem;
  }
  .authorflow-plot-card > footer em {
    color: var(--af-muted);
    font-size: 0.55rem;
    font-style: normal;
    font-weight: 850;
  }
  .authorflow-plot-card.is-done > footer em {
    color: #34745a;
  }
  .authorflow-plot-act > button {
    display: inline-flex;
    width: 100%;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    margin-top: 0.55rem;
    border: 1px dashed var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in oklab, var(--af-primary) 28%, transparent);
    }
    border-radius: 0.85rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 45%, transparent);
    }
    color: var(--af-primary);
    font-size: 0.65rem;
    font-weight: 850;
  }
  .authorflow-plot-empty {
    display: grid;
    min-height: 24rem;
    place-items: center;
    align-content: center;
    border: 1px dashed var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 1rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 72%, transparent);
    }
    padding: 2rem;
    text-align: center;
  }
  .authorflow-plot-empty strong {
    font-family: Georgia, serif;
    font-size: 1rem;
  }
  .authorflow-plot-empty p {
    max-width: 20rem;
    margin-top: 0.45rem;
    color: var(--af-muted);
    font-size: 0.68rem;
    line-height: 1.5;
  }
  .authorflow-plot-inspector {
    top: 6rem;
    width: 23rem;
  }
  .authorflow-plot-inspector .custom-select-trigger {
    min-height: 3rem;
    border-radius: 0.68rem;
    padding: 0.62rem;
    font-size: 0.64rem;
    line-height: 1.5;
    box-shadow: none;
  }
  .authorflow-plot-inspector .custom-select-trigger__meta {
    font-size: 0.56rem;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-plot"] {
    border-radius: 0.68rem;
    padding: 0.3rem;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-plot"] .custom-select-option {
    min-height: 2.25rem;
    border-radius: 0.48rem;
    padding: 0.48rem 0.58rem;
    font-size: 0.64rem;
    line-height: 1.35;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-plot"] .custom-select-option__meta {
    font-size: 0.55rem;
  }
  .custom-select-dropdown[data-custom-select-context="authorflow-plot"] .custom-select-group-label {
    padding: 0.48rem 0.58rem 0.26rem;
    font-size: 0.52rem;
  }
  .authorflow-plot-check {
    display: flex !important;
    align-items: center;
    gap: 0.55rem;
    border-radius: 0.7rem;
    background: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-bg) 62%, var(--af-surface));
    }
    padding: 0.65rem;
  }
  .authorflow-plot-check input {
    accent-color: var(--af-primary);
  }
  .authorflow-plot-check span {
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  .authorflow-plot-autosave {
    color: var(--af-muted);
    font-size: 0.55rem;
    text-align: center;
  }
  @media (max-width: 1100px) {
    .authorflow-flow-app, .authorflow-plot-app {
      grid-template-columns: 13rem minmax(0, 1fr);
    }
    .authorflow-flow-inspector, .authorflow-plot-inspector {
      width: min(21rem, 38vw);
    }
    .authorflow-flow-node {
      width: 11.8rem;
    }
  }
  @media (max-width: 820px) {
    .authorflow-flow-overlay, .authorflow-plot-overlay {
      overflow-y: auto;
    }
    .authorflow-flow-app, .authorflow-plot-app {
      height: auto;
      min-height: 100%;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      overflow: visible;
    }
    .authorflow-flow-sidebar {
      min-height: 28rem;
      max-height: none;
      overflow: visible;
    }
    .authorflow-plot-sidebar {
      max-height: 32rem;
      overflow-y: auto;
    }
    .authorflow-flow-list {
      display: flex;
      overflow-x: auto;
    }
    .authorflow-flow-list > button {
      min-width: 11rem;
    }
    .authorflow-flow-stage {
      min-height: 46rem;
    }
    .authorflow-plot-stage {
      min-height: 55rem;
    }
    .authorflow-flow-inspector, .authorflow-plot-inspector {
      top: auto;
      right: 0.7rem;
      bottom: 0.7rem;
      left: 0.7rem;
      width: auto;
      max-height: 65%;
    }
    .authorflow-studio-header {
      grid-template-columns: 1fr;
      align-items: flex-start;
    }
    .authorflow-studio-actions {
      width: 100%;
      flex-wrap: wrap;
      justify-content: flex-start;
    }
    .authorflow-flow-world {
      inset-block-start: 8.8rem;
    }
    .authorflow-plot-board {
      padding-top: 9rem;
    }
  }
  .authorflow-notes-overlay {
    position: fixed;
    inset: 0;
    z-index: 168;
    overflow: hidden;
    background: radial-gradient(circle at 82% 8%, var(--af-primary), transparent 31rem), var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: radial-gradient(circle at 82% 8%, color-mix(in oklab, var(--af-primary) 10%, transparent), transparent 31rem), color-mix(in oklab, var(--af-bg) 92%, var(--af-surface));
    }
    color: var(--af-text);
    padding: 1rem;
  }
  .authorflow-notes-shell {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 1rem;
  }
  .authorflow-notes-panel {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 1.15rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 93%, transparent);
    }
    box-shadow: 0 1.6rem 4.6rem -2.8rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 1.6rem 4.6rem -2.8rem color-mix(in oklab, var(--af-text) 42%, transparent);
    }
    backdrop-filter: blur(18px);
  }
  .authorflow-notes-sidebar {
    display: flex;
    flex-direction: column;
    padding: 1.45rem;
  }
  .authorflow-notes-eyebrow {
    display: block;
    color: var(--af-primary);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .authorflow-notes-sidebar h2 {
    margin-top: 0.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
  }
  .authorflow-notes-sidebar > div:first-child > p {
    margin-top: 0.72rem;
    color: var(--af-muted);
    font-size: 0.67rem;
    line-height: 1.62;
  }
  .authorflow-notes-tools {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.65rem;
  }
  .authorflow-notes-tools button {
    display: grid;
    width: 100%;
    min-height: 3.05rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
    }
    border-radius: 0.72rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, var(--af-bg));
    }
    color: var(--af-text);
    padding: 0.52rem 0.68rem;
    font-size: 0.67rem;
    font-weight: 800;
    text-align: left;
    transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
  }
  .authorflow-notes-tools button i {
    display: grid;
    width: 2rem;
    height: 2rem;
    border-radius: 0.52rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 9%, var(--af-surface));
    }
    color: var(--af-primary);
    place-items: center;
    font-style: normal;
  }
  .authorflow-notes-tools button.is-primary {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 34%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-notes-tools button:hover:not(:disabled), .authorflow-notes-tools button:focus-visible {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 42%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 11%, var(--af-surface));
    }
    outline: none;
    transform: translateY(-1px);
  }
  .authorflow-notes-tools button:disabled {
    cursor: wait;
    opacity: 0.56;
  }
  .authorflow-notes-help {
    margin-top: auto;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 16%, transparent);
    }
    border-radius: 0.78rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 5%, var(--af-surface));
    }
    padding: 0.85rem;
  }
  .authorflow-notes-help strong {
    color: var(--af-primary);
    font-size: 0.61rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .authorflow-notes-help p {
    margin-top: 0.38rem;
    color: var(--af-muted);
    font-size: 0.59rem;
    line-height: 1.55;
  }
  .authorflow-notes-workspace {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .authorflow-notes-header {
    position: relative;
    display: grid;
    min-height: 5rem;
    grid-template-columns: minmax(8rem, 1fr) max-content;
    align-items: center;
    gap: 0.75rem 1rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 0.9rem 8rem 0.9rem 1.3rem;
  }
  .authorflow-notes-header > div:first-child {
    min-width: 8rem;
  }
  .authorflow-notes-header h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 600;
  }
  .authorflow-notes-header p {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.61rem;
  }
  .authorflow-notes-actions {
    display: flex;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.42rem;
  }
  .authorflow-notes-actions button {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 21%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, var(--af-bg));
    }
    color: var(--af-text);
    padding: 0.5rem 0.68rem;
    font-size: 0.61rem;
    font-weight: 800;
    white-space: nowrap;
  }
  .authorflow-notes-actions button:hover:not(:disabled), .authorflow-notes-actions button:focus-visible {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 38%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, var(--af-surface));
    }
    color: var(--af-primary);
    outline: none;
  }
  .authorflow-notes-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
  }
  .authorflow-notes-actions .authorflow-notes-close {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 1.3rem;
    flex: 0 0 auto;
    transform: translateY(-50%);
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 28%, transparent);
    }
    color: var(--af-primary);
    box-shadow: 0 0.7rem 1.8rem -1.2rem var(--af-text);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0.7rem 1.8rem -1.2rem color-mix(in oklab, var(--af-text) 35%, transparent);
    }
  }
  .authorflow-notes-actions .authorflow-notes-close:active {
    transform: translateY(-50%);
  }
  .authorflow-notes-zoom {
    display: inline-grid;
    min-height: 2.25rem;
    grid-template-columns: 2.2rem 3.15rem 2.2rem;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 21%, transparent);
    }
    border-radius: 0.58rem;
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 94%, var(--af-bg));
    }
  }
  .authorflow-notes-actions .authorflow-notes-zoom button {
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }
  .authorflow-notes-zoom button + output, .authorflow-notes-zoom output + button {
    border-left: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-left: 1px solid color-mix(in oklab, var(--af-muted) 17%, transparent);
    }
  }
  .authorflow-notes-zoom output {
    display: grid;
    color: var(--af-muted);
    font-size: 0.57rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    place-items: center;
  }
  .authorflow-notes-board-shell {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 1rem;
  }
  .authorflow-notes-board {
    --notes-board-grid-size: 18px;
    --notes-board-grid-x: 50%;
    --notes-board-grid-y: 50%;
    position: relative;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 34rem;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 14%, transparent);
    }
    border-radius: 0.85rem;
    background-color: var(--af-bg);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--af-bg) 72%, var(--af-surface));
    }
    background-image: radial-gradient(var(--af-muted) 0.85px, transparent 0.85px);
    @supports (color: color-mix(in lab, red, red)) {
      background-image: radial-gradient(color-mix(in oklab, var(--af-muted) 28%, transparent) 0.85px, transparent 0.85px);
    }
    background-position: var(--notes-board-grid-x) var(--notes-board-grid-y);
    background-size: var(--notes-board-grid-size) var(--notes-board-grid-size);
    cursor: grab;
    touch-action: none;
    transition: background-size 70ms linear;
  }
  .authorflow-notes-board.is-panning {
    cursor: grabbing;
  }
  .authorflow-notes-world {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    transform-origin: 0 0;
    transition: opacity 100ms ease;
  }
  .authorflow-notes-board.is-camera-ready .authorflow-notes-world {
    opacity: 1;
  }
  .authorflow-note-board-item {
    position: absolute;
    transform: translate(-50%, -50%);
    touch-action: none;
    user-select: none;
  }
  .authorflow-note-board-item.is-dragging {
    cursor: grabbing;
  }
  .authorflow-note-board-item.is-selected {
    outline: 2px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in oklab, var(--af-primary) 56%, transparent);
    }
    outline-offset: 4px;
  }
  .authorflow-note-board-item__toolbar {
    position: absolute;
    z-index: 2;
    top: 0.55rem;
    right: 0.55rem;
    opacity: 0;
    transition: opacity 130ms ease;
  }
  .authorflow-note-board-item:hover .authorflow-note-board-item__toolbar, .authorflow-note-board-item.is-selected .authorflow-note-board-item__toolbar, .authorflow-note-board-item:focus-within .authorflow-note-board-item__toolbar {
    opacity: 1;
  }
  .authorflow-note-board-item__toolbar button {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid rgb(114 95 84 / 0.14);
    border-radius: 999px;
    background: rgb(255 255 255 / 0.78);
    color: #725f54;
    place-items: center;
    box-shadow: none;
  }
  .authorflow-note-board-item__toolbar button:hover, .authorflow-note-board-item__toolbar button:focus-visible {
    background: #fff;
    color: #b42318;
    outline: none;
  }
  .authorflow-note-board-card {
    width: 15rem;
    min-height: 13.4rem;
    cursor: grab;
    overflow: hidden;
    border: 1px solid rgb(72 54 42 / 0.08);
    border-radius: 0.45rem 0.45rem 1.2rem 0.45rem;
    color: #342b24;
    padding: 2.15rem 1.15rem 1.15rem;
    box-shadow: inset 0 1px rgb(255 255 255 / 0.5);
  }
  .authorflow-note-board-card.is-tone-0 {
    background: #f4e0a7;
    transform: translate(-50%, -50%) rotate(-1.2deg);
  }
  .authorflow-note-board-card.is-tone-1 {
    background: #e9c8b1;
    transform: translate(-50%, -50%) rotate(1deg);
  }
  .authorflow-note-board-card.is-tone-2 {
    background: #cadbd0;
    transform: translate(-50%, -50%) rotate(-0.5deg);
  }
  .authorflow-note-board-card.is-dragging {
    transform: translate(-50%, -50%) rotate(0) scale(1.018);
  }
  .authorflow-note-board-card__handle {
    position: absolute;
    top: 0.68rem;
    left: 50%;
    display: flex;
    color: rgb(65 52 43 / 0.52);
    cursor: grab;
    transform: translateX(-50%);
  }
  .authorflow-note-board-card__title, .authorflow-note-board-card__body, .authorflow-note-board-heading, .authorflow-note-board-text [data-note-board-field] {
    user-select: text;
    cursor: text;
    outline: none;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .authorflow-note-board-card__title {
    min-height: 1.5em;
    padding-right: 1.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.32;
  }
  .authorflow-note-board-card__body {
    min-height: 7.2rem;
    margin-top: 0.7rem;
    font-size: 0.68rem;
    line-height: 1.58;
  }
  [data-note-board-field]:empty::before {
    color: currentColor;
    content: attr(data-placeholder);
    opacity: 0.44;
    pointer-events: none;
  }
  .authorflow-note-board-text {
    min-width: 12rem;
    max-width: 24rem;
    cursor: grab;
    border-radius: 0.35rem;
    padding: 0.65rem 2.15rem 0.65rem 0.85rem;
  }
  .authorflow-note-board-text.is-heading {
    width: 15rem;
    min-width: 15rem;
    max-width: 15rem;
  }
  .authorflow-note-board-text.is-selected {
    background: var(--af-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-surface) 66%, transparent);
    }
  }
  .authorflow-note-board-text__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0.32rem;
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 32%, transparent);
    }
    opacity: 0.5;
  }
  .authorflow-note-board-heading {
    min-height: 1.35em;
    color: var(--af-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.16;
  }
  .authorflow-note-board-text.is-text [data-note-board-field] {
    min-height: 1.5em;
    color: var(--af-text);
    font-size: 0.78rem;
    line-height: 1.6;
  }
  .authorflow-notes-empty {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--af-muted);
    text-align: center;
  }
  .authorflow-notes-board.is-empty .authorflow-notes-empty {
    display: flex;
  }
  .authorflow-notes-empty i {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 20%, transparent);
    }
    border-radius: 0.85rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    color: var(--af-primary);
    place-items: center;
  }
  .authorflow-notes-empty strong {
    display: block;
    color: var(--af-text);
    font-family: Georgia, serif;
    font-size: 1rem;
  }
  .authorflow-notes-empty p {
    max-width: 18rem;
    margin-top: 0.35rem;
    font-size: 0.66rem;
    line-height: 1.5;
  }
  @keyframes authorflow-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .authorflow-reader-table, .authorflow-export-list {
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.9rem;
    background: var(--af-surface);
  }
  .authorflow-reader-table {
    overflow-x: auto;
  }
  .authorflow-reader-table__head, .authorflow-reader-table__row {
    display: grid;
    min-width: 48rem;
    grid-template-columns: minmax(14rem, 1.3fr) repeat(var(--book-count, 3), minmax(8rem, 1fr));
  }
  .authorflow-reader-table__head {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    color: var(--af-muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .authorflow-reader-table__head > span, .authorflow-reader-table__row > span, .authorflow-reader-table__row > label {
    min-width: 0;
    border-right: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-right: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
    padding: 0.9rem 1rem;
  }
  .authorflow-reader-table__head > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-reader-table__row > span:first-child {
    display: flex;
    align-items: center;
    gap: 0.7rem;
  }
  .authorflow-reader-table__row strong, .authorflow-reader-table__row small {
    display: block;
  }
  .authorflow-reader-table__row strong {
    color: var(--af-text);
    font-size: 0.75rem;
  }
  .authorflow-reader-table__row small {
    margin-top: 0.15rem;
    color: var(--af-muted);
    font-size: 0.61rem;
  }
  .authorflow-access-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .authorflow-access-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .authorflow-access-toggle span {
    display: inline-flex;
    width: 1.85rem;
    height: 1.85rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 35%, transparent);
    }
    border-radius: 0.45rem;
    color: transparent;
  }
  .authorflow-access-toggle input:checked + span {
    border-color: var(--af-accent);
    background: var(--af-primary);
    color: white;
  }
  .authorflow-access-toggle input:focus-visible + span {
    outline: 2px solid var(--af-accent);
    outline-offset: 2px;
  }
  .authorflow-reader-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .authorflow-reader-stats > div:last-child {
    border-right: 0;
  }
  .authorflow-reader-toolbar {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .authorflow-reader-filters {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-left: auto;
  }
  .authorflow-reader-filters__fields {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .authorflow-reader-filters__fields label {
    width: auto;
    min-width: 0;
  }
  .authorflow-reader-filters__fields label:first-child {
    width: min(13rem, 28vw);
  }
  .authorflow-reader-filters__fields label:last-child {
    width: 8.5rem;
  }
  .authorflow-reader-filters__fields .authorflow-input {
    min-height: 1.9rem;
    height: auto;
    padding: 0.25rem 1.85rem 0.25rem 0.6rem;
    font-size: 0.65rem;
  }
  .authorflow-reader-filters__fields .custom-select-trigger {
    min-height: 30px;
    height: 30px;
    gap: 0.4rem;
    border-radius: 0.5rem;
    padding: 0 0.5rem 0 0.6rem;
    font-size: 0.65rem;
    line-height: 1;
  }
  .authorflow-reader-filters__result {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }
  .authorflow-reader-filters__result button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 0.5rem;
    color: var(--af-primary);
    padding: 0.45rem 0.55rem;
    font-size: 0.63rem;
    font-weight: 800;
  }
  .authorflow-reader-filters__result button:hover {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 8%, transparent);
    }
  }
  .authorflow-reader-filters__result button:focus-visible {
    outline: 2px solid var(--af-accent);
    outline-offset: 2px;
  }
  .authorflow-reader-bulkbar {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.55rem;
  }
  .authorflow-reader-bulkbar__summary {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.4rem;
    transition: opacity 160ms ease;
  }
  .authorflow-reader-bulkbar__summary > span {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 13%, transparent);
    }
    color: var(--af-primary);
  }
  .authorflow-reader-bulkbar__summary strong {
    color: var(--af-text);
    font-size: 0.65rem;
    white-space: nowrap;
  }
  .authorflow-reader-bulkbar__actions {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
  }
  .authorflow-reader-bulkbar__actions .authorflow-button {
    min-height: 30px;
    height: 30px;
    gap: 0.35rem;
    border-radius: 0.5rem;
    padding: 0 0.55rem;
    font-size: 0.63rem;
    white-space: nowrap;
  }
  .authorflow-reader-bulkbar.is-disabled .authorflow-reader-bulkbar__summary {
    opacity: 0.42;
  }
  .authorflow-reader-bulkbar__actions .authorflow-button:disabled {
    cursor: not-allowed;
    opacity: 0.4;
    filter: grayscale(0.35);
    pointer-events: none;
    box-shadow: none;
    transform: none;
  }
  .authorflow-reader-toolbar + .authorflow-reader-management {
    margin-top: 20px;
  }
  .authorflow-reader-management {
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
    }
    border-radius: 0.9rem;
    background: var(--af-surface);
  }
  .authorflow-reader-management__head, .authorflow-reader-management__row {
    display: grid;
    grid-template-columns: 2rem minmax(14rem, 1.15fr) minmax(16rem, 1.5fr) 6rem auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
  }
  .authorflow-reader-management__head {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    color: var(--af-muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .authorflow-reader-management__row {
    border-top: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
    }
  }
  .authorflow-reader-management__row.is-selected {
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 5%, var(--af-surface));
    }
  }
  .authorflow-reader-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .authorflow-reader-select input {
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 40%, transparent);
    }
    border-radius: 0.3rem;
    accent-color: var(--af-primary);
    cursor: pointer;
  }
  .authorflow-reader-select input:focus-visible {
    outline: 2px solid var(--af-accent);
    outline-offset: 3px;
  }
  .authorflow-reader-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.7rem;
  }
  .authorflow-reader-identity > span:last-child {
    min-width: 0;
  }
  .authorflow-reader-identity strong, .authorflow-reader-identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-reader-identity strong {
    color: var(--af-text);
    font-size: 0.76rem;
  }
  .authorflow-reader-identity small {
    margin-top: 0.15rem;
    color: var(--af-muted);
    font-size: 0.62rem;
  }
  .authorflow-reader-book-chips {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .authorflow-reader-book-chips > span {
    display: inline-flex;
    max-width: 12rem;
    align-items: center;
    gap: 0.3rem;
    overflow: hidden;
    border: 1px solid var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-primary) 17%, transparent);
    }
    border-radius: 999px;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    padding: 0.35rem 0.6rem;
    color: var(--af-text);
    font-size: 0.62rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .authorflow-reader-book-chips > span[data-status="declined"] {
    border-color: color-mix(in oklab, #e11d48 22%, transparent);
    background: #e11d48;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #e11d48 7%, var(--af-surface));
    }
    color: #e11d48;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #e11d48 78%, var(--af-text));
    }
  }
  .authorflow-reader-book-chips > .is-empty {
    border-style: dashed;
    background: transparent;
    color: var(--af-muted);
    font-weight: 600;
  }
  .authorflow-reader-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-size: 0.62rem;
    font-weight: 800;
  }
  .authorflow-reader-status.is-active {
    background: color-mix(in oklab, #10b981 14%, transparent);
    color: #10b981;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #10b981 75%, var(--af-text));
    }
  }
  .authorflow-reader-status.is-inactive {
    background: var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-muted) 12%, transparent);
    }
    color: var(--af-muted);
  }
  .authorflow-reader-status.is-declined {
    background: color-mix(in oklab, #e11d48 11%, transparent);
    color: #e11d48;
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, #e11d48 76%, var(--af-text));
    }
  }
  .authorflow-reader-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
  }
  .authorflow-reader-actions button {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in oklab, var(--af-muted) 23%, transparent);
    }
    border-radius: 0.5rem;
    color: var(--af-muted);
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
  }
  .authorflow-reader-actions button:hover {
    border-color: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--af-primary) 32%, transparent);
    }
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 7%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-reader-actions button:last-child:hover {
    border-color: color-mix(in oklab, #e11d48 30%, transparent);
    background: #e11d48;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, #e11d48 7%, var(--af-surface));
    }
    color: #e11d48;
  }
  .authorflow-reader-actions button:focus-visible {
    outline: 2px solid var(--af-accent);
    outline-offset: 2px;
  }
  .authorflow-export-list {
    display: grid;
  }
  .authorflow-export-list article {
    display: grid;
    grid-template-columns: auto minmax(11rem, 1fr) minmax(24rem, 2fr) auto;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--af-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 19%, transparent);
    }
    padding: 1rem;
  }
  .authorflow-export-list article:last-child {
    border-bottom: 0;
  }
  .authorflow-export-icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    background: var(--af-primary);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--af-primary) 11%, var(--af-surface));
    }
    color: var(--af-primary);
  }
  .authorflow-export-list strong, .authorflow-export-list small {
    display: block;
  }
  .authorflow-export-list strong {
    color: var(--af-text);
    font-family: Georgia, serif;
    font-size: 0.88rem;
  }
  .authorflow-export-list small {
    margin-top: 0.2rem;
    color: var(--af-muted);
    font-size: 0.6rem;
  }
  .authorflow-export-list dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .authorflow-export-list dt {
    color: var(--af-muted);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .authorflow-export-list dd {
    margin-top: 0.2rem;
    color: var(--af-text);
    font-size: 0.69rem;
    font-weight: 700;
  }
  @media (max-width: 1280px) {
    .authorflow-editor-shell {
      grid-template-columns: 12.5rem minmax(28rem, 1fr) 18.25rem;
    }
    .authorflow-paper-wrap {
      padding: 1.25rem;
    }
    .authorflow-book-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 1023px) {
    .authorflow-page-header {
      align-items: flex-start;
      flex-direction: column;
      gap: 1.25rem;
    }
    .authorflow-docx-review__overview {
      grid-template-columns: 1fr;
    }
    .authorflow-docx-review__grid {
      grid-template-columns: 14rem minmax(0, 1fr);
    }
    .authorflow-stat-strip {
      grid-template-columns: repeat(2, 1fr);
    }
    .authorflow-stat-strip > div:nth-child(2) {
      border-right: 0;
    }
    .authorflow-editor-shell {
      display: block;
      height: auto;
      min-height: var(--app-viewport-height, 100dvh);
      overflow: visible;
    }
    .authorflow-editor-topbar {
      position: sticky;
      top: 0;
      display: flex;
      min-height: 4rem;
      flex-wrap: wrap;
      padding: 0.55rem;
    }
    .authorflow-editor-topbar__brand {
      order: 1;
      flex: 1 1 18rem;
    }
    .authorflow-editor-topbar__view-mode {
      position: static;
      order: 2;
      display: flex;
      width: 100%;
      flex: 1 1 100%;
      justify-content: center;
      transform: none;
    }
    .authorflow-editor-topbar__actions {
      order: 3;
      flex: 1 1 auto;
      flex-wrap: wrap;
    }
    .authorflow-manuscript-nav {
      border-right: 0;
      border-bottom: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
      }
    }
    .authorflow-manuscript-head {
      padding-bottom: 0.7rem;
    }
    .authorflow-chapter-list {
      display: flex;
      overflow-x: auto;
      padding: 0.5rem;
    }
    .authorflow-chapter-group {
      display: contents;
    }
    .authorflow-chapter-list__heading, .authorflow-add-chapter {
      display: none;
    }
    .authorflow-frontmatter-heading {
      display: flex;
      min-width: 7.5rem;
      flex: 0 0 7.5rem;
      padding: 0.35rem 0.55rem;
    }
    .authorflow-frontmatter-heading .authorflow-frontmatter-heading__toggle {
      border: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
      }
      padding: 0.45rem 0.55rem;
    }
    .authorflow-frontmatter-pages {
      display: contents;
    }
    .authorflow-frontmatter-pages[hidden] {
      display: none;
    }
    .authorflow-chapter-pages .authorflow-add-chapter {
      display: inline-flex;
      width: auto;
      min-width: 10.5rem;
      flex: 0 0 auto;
      margin: 0.35rem 0.5rem;
    }
    .authorflow-chapter-item, .authorflow-frontmatter-item {
      min-width: 10.5rem;
      flex: 0 0 auto;
    }
    .authorflow-writing-stage {
      min-height: auto;
      grid-template-rows: auto auto;
    }
    .authorflow-paper-wrap {
      overflow: visible;
    }
    .authorflow-inspector {
      display: block;
      border-top: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-top: 1px solid color-mix(in oklab, var(--af-muted) 22%, transparent);
      }
      border-left: 0;
    }
    .authorflow-inspector-body {
      max-height: none;
    }
    .authorflow-export-list article {
      grid-template-columns: auto 1fr auto;
    }
    .authorflow-export-list dl {
      grid-column: 2 / -1;
    }
    .authorflow-reader-management__head {
      display: none;
    }
    .authorflow-reader-toolbar {
      flex-wrap: wrap;
    }
    .authorflow-reader-filters {
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .authorflow-reader-filters__result {
      justify-content: flex-end;
    }
    .authorflow-reader-bulkbar {
      align-items: center;
      flex-direction: row;
    }
    .authorflow-reader-bulkbar__actions {
      width: auto;
      justify-content: flex-start;
    }
    .authorflow-reader-management__row {
      grid-template-columns: auto minmax(12rem, 1fr) auto;
    }
    .authorflow-reader-select {
      grid-column: 1;
      grid-row: 1;
    }
    .authorflow-reader-identity {
      grid-column: 2;
      grid-row: 1;
    }
    .authorflow-reader-book-chips {
      grid-column: 2 / -1;
      grid-row: 2;
    }
    .authorflow-reader-status {
      grid-column: 3;
      grid-row: 1;
    }
    .authorflow-reader-actions {
      grid-column: 2 / -1;
      grid-row: 3;
      justify-content: flex-start;
    }
    .authorflow-export-dialog__body {
      grid-template-columns: 16.5rem minmax(18rem, 1fr);
      overflow-y: auto;
      max-height: calc(100dvh - 10rem);
    }
    .authorflow-kindle-preview {
      grid-column: 1 / -1;
      border-top: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-top: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
      }
      border-left: 0;
    }
    .authorflow-character-layout {
      grid-template-columns: 12rem minmax(24rem, 1fr);
    }
    .authorflow-character-profile {
      position: fixed;
      z-index: 2;
      top: 4.6rem;
      right: 0;
      bottom: 0;
      width: min(22rem, 90vw);
      box-shadow: -18px 0 48px -34px #000;
    }
    .authorflow-notes-overlay {
      overflow-y: auto;
      padding: 0.65rem;
    }
    .authorflow-notes-shell {
      height: auto;
      min-height: calc(100dvh - 1.3rem);
      grid-template-columns: 1fr;
      grid-template-rows: auto minmax(42rem, 1fr);
    }
    .authorflow-notes-sidebar {
      padding: 1rem;
    }
    .authorflow-notes-sidebar > div:first-child > p {
      max-width: 36rem;
    }
    .authorflow-notes-tools {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin-top: 1rem;
    }
    .authorflow-notes-help {
      margin-top: 1rem;
    }
    .authorflow-notes-workspace {
      min-height: 42rem;
    }
  }
  @media (max-width: 767px) {
    .authorflow-library-actions {
      width: 100%;
      justify-content: stretch;
    }
    .authorflow-library-actions .authorflow-button {
      flex: 1 1 auto;
    }
    .authorflow-book-create-dialog, .authorflow-book-import-dialog {
      width: 100%;
      max-height: 100dvh;
      min-height: 100dvh;
      border: 0;
      border-radius: 0;
    }
    .authorflow-book-create-dialog > header, .authorflow-book-import-dialog > header {
      padding: 1rem;
    }
    .authorflow-book-create-dialog > header {
      grid-template-columns: minmax(0, 1fr) auto;
    }
    .authorflow-book-create-dialog > header .authorflow-book-dialog__icon {
      display: none;
    }
    .authorflow-book-create-dialog__body, .authorflow-book-import-dialog__body {
      padding: 1rem;
    }
    .authorflow-book-create-dialog > footer, .authorflow-book-import-dialog > footer {
      padding: 0.8rem 1rem;
    }
    .authorflow-book-import-dialog > footer .authorflow-button {
      flex: 1 1 auto;
    }
    .authorflow-docx-upload {
      min-height: 13rem;
    }
    .authorflow-docx-import-principles {
      grid-template-columns: 1fr;
    }
    .authorflow-docx-stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .authorflow-docx-stats > span:nth-child(3) {
      border-top: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-top: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
      }
      border-left: 0;
    }
    .authorflow-docx-stats > span:nth-child(4) {
      border-top: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-top: 1px solid color-mix(in oklab, var(--af-muted) 16%, transparent);
      }
    }
    .authorflow-docx-review__grid {
      display: block;
      overflow: visible;
    }
    .authorflow-docx-matter {
      border-right: 0;
      border-bottom: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 18%, transparent);
      }
    }
    .authorflow-docx-chapters > div:first-child {
      display: block;
    }
    .authorflow-docx-chapters > div:first-child p {
      margin-top: 0.3rem;
      text-align: left;
    }
    .authorflow-chapter-ornament-overlay {
      padding: 0;
    }
    .authorflow-chapter-ornament-dialog {
      width: 100%;
      max-height: 100dvh;
      border: 0;
      border-radius: 0;
    }
    .authorflow-chapter-ornament-grid {
      grid-template-columns: 1fr;
    }
    .authorflow-chapter-ornament-upload {
      align-items: stretch;
      flex-direction: column;
    }
    .authorflow-chapter-ornament-upload > label {
      width: 100%;
    }
    .authorflow-chapter-ornament-dialog > footer {
      align-items: flex-start;
      flex-direction: column;
    }
    .authorflow-page {
      padding-top: 0;
    }
    .authorflow-page-title {
      font-size: 2.25rem;
    }
    .authorflow-book-grid {
      grid-template-columns: 1fr;
    }
    .authorflow-book-card__cover {
      width: 4.2rem;
      min-height: 6.4rem;
      flex-basis: 4.2rem;
    }
    .authorflow-stat-strip > div {
      padding: 1.1rem 0.75rem;
    }
    .authorflow-stat-strip strong {
      font-size: 1.4rem;
    }
    .authorflow-writing-stage {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
    }
    .authorflow-editor-topbar {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      align-items: flex-start;
    }
    .authorflow-editor-topbar__brand {
      display: flex !important;
      width: 100%;
      min-width: 0;
      flex: 1 1 100%;
      flex-wrap: wrap;
    }
    .authorflow-editor-topbar__book {
      min-width: 0;
      flex: 1;
    }
    .authorflow-editor-topbar__title {
      min-width: 0;
      max-width: none;
      flex: 1;
    }
    .authorflow-book-status__menu {
      right: 0;
      left: auto;
      transform: none;
    }
    .authorflow-editor-topbar__brand .authorflow-save-state {
      flex: 1 1 100%;
      padding-left: 0.15rem;
    }
    .authorflow-editor-topbar__actions {
      display: grid !important;
      width: 100%;
      min-width: 0;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .authorflow-editor-topbar__view-mode .authorflow-view-mode {
      width: 100%;
    }
    .authorflow-editor-topbar .authorflow-button {
      width: 100%;
      min-width: 0;
      padding-right: 0.55rem;
      padding-left: 0.55rem;
      font-size: 0.74rem;
      white-space: normal;
    }
    .authorflow-editor-topbar__actions .authorflow-history-button {
      width: 100%;
    }
    .authorflow-editor-topbar__actions .authorflow-save-button {
      grid-column: 1 / -1;
    }
    .authorflow-editor-toolbar {
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }
    .authorflow-paper-wrap {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      padding: 0.75rem;
    }
    .authorflow-pages {
      width: max-content;
      min-width: var(--book-page-width, 444px);
      transform-origin: top left;
      zoom: calc(var(--authorflow-page-scale, 1) * var(--authorflow-document-zoom, 1));
    }
    .authorflow-editor-topbar .authorflow-view-mode {
      grid-column: 1 / -1;
      width: 100%;
    }
    .authorflow-editor-topbar .authorflow-view-mode button {
      flex: 1;
    }
    .authorflow-focus-bar {
      top: 0.55rem;
      width: calc(100% - 1rem);
      max-width: 31rem;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.45rem 0.75rem;
    }
    .authorflow-focus-bar > span {
      width: 100%;
      text-align: center;
    }
    .authorflow-paper {
      height: var(--book-page-height);
      min-height: var(--book-page-height);
    }
    .authorflow-preview-header {
      align-items: flex-start;
      flex-direction: column;
    }
    .authorflow-preview-header .authorflow-button {
      width: 100%;
    }
    .authorflow-preview-canvas {
      padding: 1rem;
    }
    .authorflow-export-list article {
      grid-template-columns: auto 1fr;
    }
    .authorflow-export-list article > a {
      grid-column: 1 / -1;
    }
    .authorflow-export-list dl {
      grid-column: 1 / -1;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .authorflow-reader-stats {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .authorflow-reader-stats > div {
      border-right: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-right: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
      }
    }
    .authorflow-reader-stats > div:last-child {
      border-right: 0;
    }
    .authorflow-reader-toolbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
    }
    .authorflow-reader-bulkbar {
      width: 100%;
      align-items: flex-start;
      flex-direction: column;
    }
    .authorflow-reader-filters {
      align-items: flex-end;
      gap: 0.5rem;
    }
    .authorflow-reader-filters {
      width: 100%;
      margin-left: 0;
    }
    .authorflow-reader-filters__fields {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 8.5rem;
      width: 100%;
    }
    .authorflow-reader-filters__fields label, .authorflow-reader-filters__fields label:first-child, .authorflow-reader-filters__fields label:last-child {
      width: 100%;
    }
    .authorflow-reader-filters__result {
      align-items: center;
      flex-direction: row;
      justify-content: flex-end;
    }
    .authorflow-reader-bulkbar__actions {
      display: grid;
      grid-template-columns: 1fr;
    }
    .authorflow-reader-bulkbar__actions .authorflow-button {
      width: 100%;
    }
    .authorflow-reader-management__row {
      grid-template-columns: auto minmax(0, 1fr) auto;
      gap: 0.75rem;
    }
    .authorflow-reader-book-chips {
      grid-column: 2 / -1;
    }
    .authorflow-reader-actions {
      grid-column: 2 / -1;
      grid-row: 3;
      justify-content: flex-start;
    }
    .authorflow-editor-shell:not(.is-focus-mode) .authorflow-chapter-item {
      min-width: 12rem;
    }
    .authorflow-focus-bar {
      top: 0.65rem;
      width: calc(100% - 1rem);
      justify-content: space-between;
    }
    .authorflow-modal-overlay {
      padding: 0;
    }
    .authorflow-export-dialog {
      width: 100dvw;
      max-width: 100dvw;
      min-width: 0;
      max-height: 100dvh;
      min-height: 100dvh;
      border: 0;
      border-radius: 0;
    }
    .authorflow-export-dialog > header, .authorflow-export-dialog > footer, .authorflow-export-dialog__body, .authorflow-export-settings, .authorflow-export-formats {
      min-width: 0;
    }
    .authorflow-export-dialog > header > div {
      min-width: 0;
    }
    .authorflow-export-dialog > header h2 {
      overflow-wrap: anywhere;
    }
    .authorflow-export-dialog__body {
      display: block;
      max-height: calc(100dvh - 9.5rem);
      overflow-y: auto;
    }
    .authorflow-export-formats {
      display: grid;
      grid-template-columns: 1fr;
      border-right: 0;
      border-bottom: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
      }
    }
    .authorflow-export-formats button + button {
      margin-top: 0;
    }
    .authorflow-export-settings {
      overflow: visible;
      padding: 1rem;
    }
    .authorflow-export-control-grid {
      grid-template-columns: 1fr;
    }
    .authorflow-kindle-preview {
      padding: 1rem;
    }
    .authorflow-character-header {
      align-items: flex-start;
      flex-direction: column;
    }
    .authorflow-character-header > div:last-child {
      width: 100%;
    }
    .authorflow-character-header .authorflow-button {
      flex: 1;
      justify-content: center;
    }
    .authorflow-character-layout {
      display: block;
      overflow-y: auto;
    }
    .authorflow-character-list {
      display: flex;
      overflow-x: auto;
      border-right: 0;
      border-bottom: 1px solid var(--af-muted);
      @supports (color: color-mix(in lab, red, red)) {
        border-bottom: 1px solid color-mix(in oklab, var(--af-muted) 20%, transparent);
      }
    }
    .authorflow-character-list h3 {
      display: none;
    }
    .authorflow-character-list > button {
      min-width: 10rem;
    }
    .authorflow-relationship-canvas {
      overflow: visible;
      padding: 1rem;
    }
    .authorflow-character-profile {
      top: 7.3rem;
      width: 100%;
    }
    .authorflow-relationship-form {
      grid-template-columns: 1fr;
    }
    .authorflow-relationship-form input {
      grid-column: auto;
    }
    .authorflow-topbar-notes-button {
      flex: 0 0 auto;
    }
    .authorflow-notes-header {
      display: flex;
      align-items: flex-start;
      flex-direction: column;
    }
    .authorflow-notes-actions {
      width: 100%;
      flex-wrap: wrap;
      justify-content: flex-start;
    }
    .authorflow-notes-header {
      padding-right: 1.15rem;
    }
    .authorflow-notes-actions .authorflow-notes-close, .authorflow-notes-actions .authorflow-notes-close:active {
      position: static;
      box-shadow: none;
      transform: none;
    }
    .authorflow-notes-board-shell {
      padding: 0.65rem;
    }
  }
  @media (max-width: 560px) {
    .authorflow-topbar-notes-button span {
      display: none;
    }
    .authorflow-topbar-notes-button {
      width: 2.15rem;
      padding-inline: 0;
    }
    .authorflow-manuscript-tools {
      grid-template-columns: 1fr 1fr;
    }
    .authorflow-notes-tools {
      grid-template-columns: 1fr;
    }
    .authorflow-notes-actions button {
      flex: 1 1 calc(50% - 0.45rem);
    }
    .authorflow-notes-actions .authorflow-notes-close {
      flex-basis: 100%;
    }
    .authorflow-notes-board {
      min-width: 0;
    }
    .reader-page-tabs {
      display: grid;
      width: 100%;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reader-page-tabs button {
      min-width: 0;
      padding-inline: 0.7rem;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .authorflow-button, .authorflow-book-card {
      transition: none;
    }
  }
}
.authorflow-editor-shell .authorflow-search-field input, .authorflow-editor-shell .authorflow-search-field input:focus, .authorflow-editor-shell .authorflow-replace-field input, .authorflow-editor-shell .authorflow-replace-field input:focus {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.authorflow-editor-shell .authorflow-chapter-title-input, .authorflow-editor-shell .authorflow-chapter-title-input:focus {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
@layer base {
  * {
    box-sizing: border-box;
  }
  html, body {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body, body.antialiased {
    margin: 0;
    font-family: var(--font-sans);
    background: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    font-synthesis: none;
    text-rendering: auto;
    overscroll-behavior: none;
  }
  .antialiased {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
  }
  body[data-palette="fjord"] {
    --color-brand-50: #f0fdfa;
    --color-brand-100: #ccfbf1;
    --color-brand-200: #99f6e4;
    --color-brand-500: #14b8a6;
    --color-brand-600: #0d9488;
    --color-brand-700: #0f766e;
    --color-brand-900: #134e4a;
  }
  body[data-palette="moss"] {
    --color-brand-50: #f0fdf4;
    --color-brand-100: #dcfce7;
    --color-brand-200: #bbf7d0;
    --color-brand-500: #22c55e;
    --color-brand-600: #16a34a;
    --color-brand-700: #15803d;
    --color-brand-900: #14532d;
  }
  body[data-palette="cobalt"] {
    --color-brand-50: #eff6ff;
    --color-brand-100: #dbeafe;
    --color-brand-200: #bfdbfe;
    --color-brand-500: #3b82f6;
    --color-brand-600: #2563eb;
    --color-brand-700: #1d4ed8;
    --color-brand-900: #1e3a8a;
  }
  body[data-palette="ember"] {
    --color-brand-50: #fff1f2;
    --color-brand-100: #ffe4e6;
    --color-brand-200: #fecdd3;
    --color-brand-500: #f43f5e;
    --color-brand-600: #e11d48;
    --color-brand-700: #be123c;
    --color-brand-900: #881337;
  }
  body[data-palette="saffron"] {
    --color-brand-50: #fffbeb;
    --color-brand-100: #fef3c7;
    --color-brand-200: #fde68a;
    --color-brand-500: #f59e0b;
    --color-brand-600: #d97706;
    --color-brand-700: #b45309;
    --color-brand-900: #78350f;
  }
  body[data-palette="graphite"] {
    --color-brand-50: #f8fafc;
    --color-brand-100: #f1f5f9;
    --color-brand-200: #e2e8f0;
    --color-brand-500: #64748b;
    --color-brand-600: #475569;
    --color-brand-700: #334155;
    --color-brand-900: #0f172a;
  }
  body[data-theme="dark"] {
    background: #0f172a;
    color: #e2e8f0;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  a, button, [role="button"] {
    touch-action: manipulation;
  }
  button, input, select, textarea {
    font: inherit;
    font-family: var(--font-sans);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  @media (max-width: 767px) {
    input, select, textarea {
      font-size: 16px !important;
    }
  }
  button {
    cursor: pointer;
    font-weight: inherit;
  }
  select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.75rem !important;
  }
  h1, h2, h3, h4, p {
    margin: 0;
  }
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
}
@layer components {
  #appBody {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    height: var(--app-shell-height, 100dvh);
  }
  #appMain, #appSidebar {
    min-height: 0;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    height: var(--app-shell-height, 100dvh);
  }
  #mainScrollArea {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
  }
  #viewRoot {
    flex: 1 0 auto;
    padding-bottom: 2rem;
  }
  body.is-authorflow-studio {
    overflow: hidden;
  }
  body.is-authorflow-studio #appMain {
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
  }
  @media (min-width: 1024px) {
    body.is-authorflow-studio #appMain {
      overflow: clip !important;
    }
  }
  body.is-authorflow-studio #mainScrollArea {
    height: var(--app-shell-height, 100dvh);
    min-height: 0;
    overflow: hidden !important;
  }
  body.is-authorflow-studio #viewRoot {
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    padding: 0 !important;
  }
  body.is-authorflow-studio #viewRoot > .fade-in {
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  @media (min-width: 1024px) {
    #appSidebar {
      width: 18rem;
      flex: 0 0 18rem;
      transition: width 220ms ease, flex-basis 220ms ease, background-color 180ms ease;
    }
  }
  @media (max-width: 1023px) {
    body.is-authorflow-studio {
      overflow-x: clip !important;
      overflow-y: visible !important;
    }
    body.is-authorflow-studio #appMain, body.is-authorflow-studio #mainScrollArea, body.is-authorflow-studio #viewRoot, body.is-authorflow-studio #viewRoot > .fade-in {
      height: auto;
      min-height: var(--app-shell-height, 100dvh);
    }
    body.is-authorflow-studio #mainScrollArea {
      overflow: visible !important;
    }
  }
  .app-backend-footer {
    --app-footer-safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --app-footer-scroll-clearance: calc(2rem + var(--app-footer-safe-area-bottom));
    --app-mobile-scroll-clearance: max(4.5rem, calc(3rem + var(--app-footer-safe-area-bottom)));
    flex: 0 0 auto;
    color: #64748b;
    padding-bottom: var(--app-footer-scroll-clearance);
  }
  .app-backend-footer::after {
    display: block;
    height: var(--app-footer-safe-area-bottom);
    content: "";
  }
  .app-backend-footer__inner {
    display: flex;
    width: calc(100% - 3rem);
    margin: 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 0 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
  }
  .app-backend-footer__links {
    align-items: center;
    justify-content: flex-start;
    row-gap: 0.25rem;
    line-height: 1.2;
  }
  .global-search-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    z-index: 60;
    width: min(28rem, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 24px 70px -28px rgba(15, 23, 42, 0.45), 0 10px 24px -18px rgba(15, 23, 42, 0.28);
  }
  .glass-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  }
  .theme-mode-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    padding: 0.25rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: var(--shadow-soft);
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  }
  .theme-mode-toggle:hover {
    border-color: var(--color-brand-200);
    color: var(--color-brand-700);
    transform: translateY(-1px);
  }
  .theme-mode-toggle:focus-visible {
    outline: 2px solid var(--color-brand-500);
    outline-offset: 2px;
  }
  .theme-mode-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  .theme-mode-toggle[data-mode="dark"] .theme-mode-toggle__icon {
    background: #0f172a;
    color: #f8fafc;
  }
  .nav-unread-badge, .thread-unread-badge {
    display: inline-flex;
    min-width: 1.25rem;
    height: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    padding: 0 0.4rem;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px -8px rgba(239, 68, 68, 0.85);
  }
  .thread-unread-badge {
    min-width: 1.35rem;
    height: 1.35rem;
    font-size: 0.72rem;
  }
  .custom-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    clip-path: inset(50%) !important;
  }
  .custom-select {
    width: 100%;
    min-width: 0;
  }
  .message-filter-control .custom-select {
    width: auto;
    min-width: 11rem;
    flex: 0 0 auto;
  }
  .message-filter-control select {
    width: 11rem;
  }
  .custom-select[data-variant="chip"] {
    width: auto;
    min-width: 8rem;
  }
  .custom-select-trigger {
    display: flex;
    width: 100%;
    min-height: 3.35rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: #ffffff;
    color: #334155;
    padding: 0.85rem 0.95rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
  }
  .custom-select[data-size="sm"] .custom-select-trigger {
    min-height: 2.55rem;
    border-radius: 0.75rem;
    padding: 0.56rem 0.75rem;
    font-size: 0.84rem;
  }
  .custom-select[data-size="md"] .custom-select-trigger {
    min-height: 3rem;
    padding: 0.72rem 0.85rem;
  }
  .custom-select[data-variant="responsible"] .custom-select-trigger {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 700;
  }
  .custom-select[data-variant="chip"] .custom-select-trigger {
    min-height: 1.5rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    padding: 0;
    color: inherit;
    box-shadow: none;
    font-size: 0.78rem;
    font-weight: 800;
  }
  .custom-select-trigger:hover:not(:disabled) {
    border-color: #cbd5e1;
    background: #f8fafc;
  }
  .custom-select[data-variant="responsible"] .custom-select-trigger:hover:not(:disabled) {
    border-color: #94a3b8;
    background: #ffffff;
  }
  .custom-select[data-variant="chip"] .custom-select-trigger:hover:not(:disabled) {
    background: transparent;
    color: var(--color-brand-900);
  }
  .custom-select-trigger:focus-visible, .custom-select[data-open="true"] .custom-select-trigger {
    border-color: var(--color-brand-500);
    background: #ffffff;
    box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 18%, transparent), 0 1px 2px rgb(15 23 42 / 0.04);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-500) 18%, transparent), 0 1px 2px rgb(15 23 42 / 0.04);
    }
    outline: none;
  }
  .custom-select[data-variant="chip"] .custom-select-trigger:focus-visible, .custom-select[data-variant="chip"][data-open="true"] .custom-select-trigger {
    box-shadow: none;
    color: var(--color-brand-900);
  }
  .custom-select-trigger:disabled {
    cursor: not-allowed;
    opacity: 0.58;
  }
  .custom-select-trigger__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .custom-select-trigger__label--with-meta {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
  }
  .custom-select-trigger__primary, .custom-select-trigger__meta {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .custom-select-trigger__primary {
    flex: 0 1 auto;
    color: inherit;
    font-weight: 700;
  }
  .custom-select-trigger__meta {
    flex: 1 1 auto;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
  }
  .custom-select-trigger__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: transform 0.16s ease, color 0.16s ease;
  }
  .custom-select[data-open="true"] .custom-select-trigger__icon {
    color: var(--color-brand-700);
    transform: rotate(180deg);
  }
  .custom-select-dropdown {
    position: fixed;
    z-index: 310;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.35rem;
    box-shadow: 0 22px 55px -28px rgb(15 23 42 / 0.48), 0 10px 24px -18px rgb(15 23 42 / 0.28);
  }
  .custom-select-dropdown.hidden {
    display: none;
  }
  .custom-select-option {
    display: flex;
    width: 100%;
    min-height: 2.45rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: #334155;
    padding: 0.63rem 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background-color 0.14s ease, color 0.14s ease;
  }
  .custom-select-group-label {
    padding: 0.65rem 0.75rem 0.35rem;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }
  .custom-select-option:hover:not(:disabled), .custom-select-option:focus-visible {
    background: #f1f5f9;
    color: #0f172a;
    outline: none;
  }
  .custom-select-option.is-selected {
    background: var(--color-brand-50);
    color: var(--color-brand-900);
  }
  .custom-select-option:disabled {
    cursor: not-allowed;
    opacity: 0.45;
  }
  .custom-select-option__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .custom-select-option__content {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: baseline;
    gap: 0.4rem;
  }
  .custom-select-option__primary, .custom-select-option__meta {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .custom-select-option__primary {
    flex: 0 1 auto;
    color: inherit;
    font-weight: 700;
  }
  .custom-select-option__meta {
    flex: 1 1 auto;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 500;
  }
  .custom-select-option__check {
    display: inline-flex;
    width: 1rem;
    flex: 0 0 1rem;
    align-items: center;
    justify-content: center;
    color: var(--color-brand-700);
  }
  .custom-select-option-tooltip {
    position: fixed;
    z-index: 315;
    display: grid;
    min-width: 11rem;
    gap: 0.22rem;
    border: 1px solid rgb(15 23 42 / 0.12);
    border-radius: 0.9rem;
    background: #0f172a;
    color: #f8fafc;
    padding: 0.65rem 0.75rem;
    box-shadow: 0 18px 42px -24px rgb(15 23 42 / 0.85), 0 8px 18px -16px rgb(15 23 42 / 0.7);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-0.25rem);
    transition: opacity 0.12s ease, transform 0.12s ease;
  }
  .custom-select-option-tooltip[hidden] {
    display: none;
  }
  .custom-select-option-tooltip.is-visible {
    opacity: 1;
    transform: translateX(0);
  }
  .custom-select-option-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    width: 10px;
    height: 10px;
    border-top: 1px solid rgb(15 23 42 / 0.12);
    border-right: 1px solid rgb(15 23 42 / 0.12);
    background: #0f172a;
    transform: translateY(-50%) rotate(45deg);
  }
  .custom-select-option-tooltip__title, .custom-select-option-tooltip__meta {
    position: relative;
    z-index: 1;
    display: block;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }
  .custom-select-option-tooltip__title {
    font-size: 0.86rem;
    font-weight: 800;
  }
  .custom-select-option-tooltip__meta {
    color: #cbd5e1;
    font-size: 0.74rem;
    font-weight: 600;
  }
  .confirm-dialog-root {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  .confirm-dialog-root.hidden {
    display: none;
  }
  .confirm-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 0.46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .confirm-dialog-card {
    position: relative;
    width: min(100%, 30rem);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 34px 90px -34px rgb(15 23 42 / 0.6), 0 18px 42px -28px rgb(15 23 42 / 0.34);
    animation: confirmDialogIn 0.16s ease-out;
  }
  .confirm-dialog-card--wide {
    width: min(100%, 38rem);
  }
  .signature-dialog-card {
    width: min(100%, 46rem);
    max-height: min(92vh, 48rem);
    overflow-y: auto;
  }
  .signature-dialog-canvas {
    height: clamp(16rem, 42vh, 24rem);
  }
  .signature-mobile-hint {
    display: none;
  }
  @media (max-width: 640px) {
    .signature-dialog-card {
      width: min(100%, calc(100vw - 1rem));
      max-height: 94vh;
      padding: 1rem;
    }
    .signature-dialog-canvas {
      height: clamp(14rem, 44vh, 20rem);
    }
    .signature-mobile-hint {
      display: block;
    }
  }
  .confirm-dialog-icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
  }
  .confirm-dialog-icon[data-variant="danger"] {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #e11d48;
  }
  .confirm-dialog-icon[data-variant="warning"] {
    border-color: #fde68a;
    background: #fffbeb;
    color: #d97706;
  }
  .confirm-dialog-content {
    margin-top: 1rem;
  }
  .confirm-dialog-title {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
  }
  .confirm-dialog-message {
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .confirm-dialog-details {
    margin-top: 0.9rem;
    border: 1px solid #fed7aa;
    border-radius: 1rem;
    background: #fff7ed;
    padding: 0.85rem 0.95rem;
    color: #9a3412;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.55;
  }
  .confirm-dialog-details[data-variant="danger"] {
    border-color: #fecdd3;
    background: #fff1f2;
    color: #be123c;
  }
  .confirm-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.35rem;
  }
  .authorflow-choice-dialog-actions {
    flex-wrap: wrap;
  }
  .authorflow-choice-dialog-actions button {
    gap: 0.45rem;
  }
  .authorflow-choice-dialog-actions [data-authorflow-choice="cancel"] {
    margin-right: auto;
  }
  @media (max-width: 640px) {
    .authorflow-choice-dialog-actions {
      display: grid;
      grid-template-columns: 1fr;
    }
    .authorflow-choice-dialog-actions [data-authorflow-choice="cancel"] {
      margin-right: 0;
      order: 3;
    }
  }
  .cover-leave-dialog {
    width: min(94vw, 36rem);
  }
  .cover-leave-actions {
    flex-wrap: wrap;
  }
  .cover-leave-actions [data-cover-leave="save"] {
    gap: 0.5rem;
  }
  .cover-leave-actions .is-danger {
    border-color: #fecdd3;
    color: #be123c;
  }
  .cover-leave-actions .is-danger:hover {
    border-color: #fda4af;
    background: #fff1f2;
    color: #9f1239;
  }
  .cover-template-book-dialog {
    width: min(94vw, 36rem);
  }
  .cover-template-book-field {
    display: block;
    margin-top: 1.1rem;
  }
  .cover-template-book-field .custom-select-trigger {
    width: 100%;
    min-height: 3rem;
    border-color: var(--design-border, #cbd5e1);
    background: var(--design-panel, #fff);
    color: var(--platform-text, #0f172a);
  }
  .custom-select-dropdown[data-custom-select-context="cover-template-book"] {
    z-index: 340;
  }
  .custom-select-option-tooltip[data-custom-select-context="cover-template-book"] {
    z-index: 350;
  }
  .cover-template-book-hint {
    margin-top: 0.55rem;
    color: var(--platform-muted, #64748b);
    font-size: 0.76rem;
    line-height: 1.5;
  }
  .cover-template-book-actions {
    flex-wrap: wrap;
  }
  .cover-template-book-actions [data-cover-template-book-skip] {
    margin-right: auto;
  }
  @media (max-width: 640px) {
    .cover-template-book-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .cover-template-book-actions [data-cover-template-book-skip] {
      grid-column: 1 / -1;
      grid-row: 1;
      margin-right: 0;
    }
  }
  .confirm-dialog-cancel, .confirm-dialog-action {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  }
  .confirm-dialog-cancel {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
  }
  .confirm-dialog-cancel:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
  }
  .confirm-dialog-action {
    border: 1px solid #0f172a;
    background: #0f172a;
    color: #ffffff;
    box-shadow: var(--shadow-soft);
  }
  .confirm-dialog-action:hover {
    transform: translateY(-1px);
    background: #1e293b;
  }
  .confirm-dialog-action[data-variant="danger"] {
    border-color: #e11d48;
    background: #e11d48;
  }
  .confirm-dialog-action[data-variant="danger"]:hover {
    background: #be123c;
  }
  .confirm-dialog-action[data-variant="warning"] {
    border-color: #d97706;
    background: #d97706;
  }
  .confirm-dialog-action[data-variant="warning"]:hover {
    background: #b45309;
  }
  .confirm-dialog-cancel:focus-visible, .confirm-dialog-action:focus-visible {
    outline: 2px solid var(--color-brand-500);
    outline-offset: 2px;
  }
  @keyframes confirmDialogIn {
    from {
      opacity: 0;
      transform: translateY(0.35rem) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .department-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(2.75rem, 1fr));
    gap: 0.75rem;
  }
  .department-icon-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-height: 2.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  }
  .department-icon-option:hover {
    border-color: var(--color-brand-200);
    background: var(--color-brand-50);
    color: var(--color-brand-700);
    transform: translateY(-1px);
  }
  .department-icon-option:has(input[type="radio"]:checked) {
    border-color: var(--color-brand-500);
    background: var(--color-brand-50);
    color: var(--color-brand-700);
    box-shadow: 0 0 0 3px color-mix(in srgb, #99f6e4 62%, transparent), var(--shadow-soft);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-200) 62%, transparent), var(--shadow-soft);
    }
  }
  .department-icon-option.is-selected {
    border-color: var(--color-brand-500);
    background: var(--color-brand-50);
    color: var(--color-brand-700);
    box-shadow: 0 0 0 3px color-mix(in srgb, #99f6e4 62%, transparent), var(--shadow-soft);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-200) 62%, transparent), var(--shadow-soft);
    }
  }
  .department-icon-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .department-checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.3rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    padding: 0.7rem 0.85rem;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  }
  .department-checkbox-card:hover {
    border-color: var(--color-brand-200);
    background: var(--color-brand-50);
    transform: translateY(-1px);
  }
  .department-checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: var(--color-brand-500);
    background: var(--color-brand-50);
    box-shadow: 0 0 0 3px color-mix(in srgb, #99f6e4 56%, transparent), var(--shadow-soft);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-200) 56%, transparent), var(--shadow-soft);
    }
  }
  .department-checkbox-card input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    accent-color: var(--color-brand-600);
  }
  .shadow-soft {
    box-shadow: var(--shadow-soft);
  }
  .shadow-card {
    box-shadow: var(--shadow-card);
  }
  .docs-card-pattern {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.34;
  }
  @keyframes blogCtaPulse {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.26), 0 0 0 0 rgba(15, 23, 42, 0.18);
    }
    50% {
      transform: scale(1.025);
      box-shadow: 0 20px 44px rgba(15, 23, 42, 0.34), 0 0 0 10px rgba(15, 23, 42, 0);
    }
  }
  @keyframes blogCtaPulseRing {
    0% {
      opacity: 0.44;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.12);
    }
  }
  .blog-cta-pulse {
    position: relative;
    overflow: visible;
    animation: blogCtaPulse 1.45s ease-in-out infinite;
  }
  .blog-cta-pulse::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(15, 23, 42, 0.22);
    border-radius: 1rem;
    pointer-events: none;
    animation: blogCtaPulseRing 1.45s ease-out infinite;
  }
  .docs-article-content {
    color: #475569;
  }
  .blog-copy-block {
    margin: 2.25rem 0;
    border: 1px solid #dbe4ef;
    border-radius: 1.4rem;
    background: #f8fafc;
    padding: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }
  .blog-copy-block ol {
    margin-bottom: 1.25rem;
  }
  .blog-copy-source {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: pre;
    clip-path: inset(50%);
  }
  .blog-copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: #0f172a;
    padding: 0.78rem 1.1rem;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
  }
  .blog-copy-button:hover {
    background: #1e293b;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
    transform: translateY(-1px);
  }
  .docs-article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.65rem;
    line-height: 1.25;
    letter-spacing: 0;
  }
  .docs-article-content h3 {
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    font-size: 1.22rem;
  }
  .docs-article-content p {
    margin-bottom: 1.15rem;
  }
  .docs-article-content ul, .docs-article-content ol {
    margin: 1rem 0 2rem;
    padding-left: 1.45rem;
  }
  .docs-article-content ul {
    list-style: disc;
  }
  .docs-article-content ol {
    list-style: decimal;
  }
  .docs-article-content li {
    margin: 0.45rem 0;
    padding-left: 0.15rem;
  }
  .docs-article-content li::marker {
    color: #94a3b8;
  }
  .docs-article-content figure {
    margin: 2.5rem 0;
  }
  .docs-article-content img, .docs-article-content .sop-inline-image {
    width: 100%;
    max-height: 32rem;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
    object-fit: contain;
    box-shadow: 0 24px 70px -48px rgb(15 23 42 / 0.65);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .docs-article-content img:hover, .docs-article-content .sop-inline-image:hover {
    box-shadow: 0 30px 84px -52px rgb(15 23 42 / 0.8);
  }
  .docs-article-content figcaption {
    margin-top: 0.9rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
  }
  .hide-scrollbar {
    scrollbar-width: none;
  }
  .hide-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .fade-in {
    animation: fade-in 0.24s ease-out;
  }
  .is-search-rendering .fade-in {
    animation: none;
  }
  .theme-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
  }
  .theme-option-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .theme-option-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    padding: 1rem;
    color: #334155;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  }
  .theme-option-card:hover {
    border-color: var(--color-brand-200);
    background: color-mix(in srgb, #f0fdfa 44%, #ffffff);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--color-brand-50) 44%, #ffffff);
    }
    transform: translateY(-1px);
  }
  .theme-option-card.is-selected, .theme-option-card:has(input[type="radio"]:checked) {
    border-color: var(--color-brand-500);
    background: color-mix(in srgb, #f0fdfa 68%, #ffffff);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--color-brand-50) 68%, #ffffff);
    }
    box-shadow: 0 0 0 3px color-mix(in srgb, #99f6e4 56%, transparent), var(--shadow-soft);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-200) 56%, transparent), var(--shadow-soft);
    }
  }
  .theme-option-top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .theme-option-card input[type="radio"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.18rem;
    flex: 0 0 auto;
    accent-color: var(--color-brand-600);
  }
  .theme-option-title {
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
  }
  .theme-option-copy {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .theme-swatch-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .theme-swatch {
    display: block;
    height: 1.05rem;
    border: 1px solid rgb(15 23 42 / 0.08);
    border-radius: 999px;
  }
  .sop-hidden-file-input {
    display: none;
  }
  .sop-inline-title-input {
    display: block;
    width: min(100%, 52rem);
    min-height: 2.15rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #0f172a;
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: 0;
    outline: none;
    overflow: hidden;
    resize: none;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .sop-inline-title-input:focus {
    box-shadow: 0 2px 0 var(--color-brand-500);
  }
  .sop-inline-chip-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: var(--color-brand-50);
    padding: 0.35rem 0.65rem;
    color: var(--color-brand-700);
  }
  .sop-inline-chip-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .sop-inline-chip-select, .sop-inline-responsible-select {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    outline: none;
  }
  .sop-inline-responsible-select {
    width: 100%;
    min-height: 3rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.9rem;
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.35;
    padding: 0.8rem 2.85rem 0.8rem 1rem !important;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }
  .sop-inline-responsible-select:hover {
    border-color: #94a3b8;
    background-color: #ffffff;
  }
  .sop-inline-responsible-select:focus {
    border-color: var(--color-brand-500);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 18%, transparent), 0 1px 2px rgb(15 23 42 / 0.04);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-500) 18%, transparent), 0 1px 2px rgb(15 23 42 / 0.04);
    }
  }
  .sop-inline-editor-shell {
    position: relative;
  }
  .sop-inline-editor {
    min-height: 18rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    padding: 1.25rem 1.35rem;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.8;
    outline: none;
    box-shadow: var(--shadow-card);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
  }
  .sop-inline-editor:focus {
    border-color: var(--color-brand-500);
    box-shadow: 0 0 0 3px color-mix(in srgb, #ccfbf1 78%, transparent), var(--shadow-card);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-100) 78%, transparent), var(--shadow-card);
    }
  }
  .sop-inline-editor p, .sop-inline-editor ul, .sop-inline-editor ol, .sop-inline-editor h2, .sop-inline-editor h3, .sop-rich-content p, .sop-rich-content ul, .sop-rich-content ol, .docs-rich-content p, .docs-rich-content ul, .docs-rich-content ol, .sop-rich-content h2, .docs-rich-content h2, .sop-rich-content h3, .docs-rich-content h3 {
    margin: 0 0 0.9rem;
  }
  .sop-inline-editor p:last-child, .sop-inline-editor ul:last-child, .sop-inline-editor ol:last-child, .sop-inline-editor h2:last-child, .sop-inline-editor h3:last-child, .sop-rich-content p:last-child, .sop-rich-content ul:last-child, .sop-rich-content ol:last-child, .docs-rich-content p:last-child, .docs-rich-content ul:last-child, .docs-rich-content ol:last-child, .sop-rich-content h2:last-child, .docs-rich-content h2:last-child, .sop-rich-content h3:last-child, .docs-rich-content h3:last-child {
    margin-bottom: 0;
  }
  .sop-inline-editor ul, .sop-rich-content ul, .docs-rich-content ul {
    list-style: disc;
    padding-left: 1.45rem;
  }
  .sop-inline-editor ol, .sop-rich-content ol, .docs-rich-content ol {
    list-style: decimal;
    padding-left: 1.45rem;
  }
  .sop-inline-editor li, .sop-rich-content li, .docs-rich-content li {
    margin: 0.25rem 0;
    padding-left: 0.15rem;
  }
  .sop-inline-editor li p, .sop-inline-editor li div, .sop-rich-content li p, .sop-rich-content li div, .docs-rich-content li p, .docs-rich-content li div {
    margin: 0;
  }
  .sop-inline-editor h2, .sop-rich-content h2, .docs-rich-content h2 {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.35;
  }
  .docs-article-content h2 {
    margin-top: 35px;
  }
  .sop-inline-editor h3, .sop-rich-content h3, .docs-rich-content h3 {
    color: #1e293b;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.4;
  }
  .sop-inline-link, .sop-rich-content a, .docs-rich-content a {
    color: var(--color-brand-600);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .sop-inline-editor-toolbar, .sop-inline-image-tools {
    position: absolute;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    padding: 0.35rem;
    box-shadow: 0 16px 40px -22px rgb(15 23 42 / 0.48), 0 8px 20px -18px rgb(15 23 42 / 0.35);
  }
  .sop-inline-editor-toolbar {
    transform: translateX(-50%);
  }
  .sop-inline-editor-toolbar.hidden, .sop-inline-image-tools.hidden, .sop-inline-image-resize-handle.hidden, .sop-inline-media-actions.hidden {
    display: none;
  }
  .sop-inline-editor-command, .sop-inline-image-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 2rem;
    min-height: 2rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  .sop-inline-image-tool {
    padding: 0.45rem 0.65rem;
    white-space: nowrap;
  }
  .sop-inline-editor-command:hover, .sop-inline-image-tool:hover {
    background: var(--color-brand-50);
    color: var(--color-brand-700);
  }
  .sop-inline-editor-command-active, .sop-inline-editor-command-active:hover, .sop-inline-editor-command[aria-pressed="true"] {
    background: var(--color-brand-600);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #0f766e 35%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-brand-700) 35%, transparent);
    }
  }
  .sop-inline-image-tool-danger:hover {
    background: #fff1f2;
    color: #be123c;
  }
  .sop-inline-media-actions {
    position: absolute;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    padding: 0.25rem;
    box-shadow: var(--shadow-soft);
  }
  .sop-inline-media-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #475569;
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  .sop-inline-media-button:hover {
    background: var(--color-brand-50);
    color: var(--color-brand-700);
  }
  .sop-inline-add-image {
    color: var(--color-brand-700);
  }
  .sop-inline-add-video {
    color: #334155;
  }
  .sop-inline-image, .sop-rich-content .sop-inline-image, .docs-rich-content .sop-inline-image {
    display: block;
    max-width: 100%;
    max-height: 32rem;
    width: auto;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 18px 50px -36px rgb(15 23 42 / 0.6);
  }
  [data-inline-sop-editor] .sop-inline-image {
    cursor: pointer;
    transition: box-shadow 0.16s ease, outline-color 0.16s ease, opacity 0.16s ease;
  }
  .sop-inline-image-selected {
    outline: 3px solid var(--color-brand-500);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px color-mix(in srgb, #ccfbf1 70%, transparent), 0 18px 50px -36px rgb(15 23 42 / 0.6);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 6px color-mix(in oklab, var(--color-brand-100) 70%, transparent), 0 18px 50px -36px rgb(15 23 42 / 0.6);
    }
  }
  .sop-inline-image-pending {
    opacity: 0.62;
  }
  .sop-inline-image-resize-handle {
    position: absolute;
    z-index: 25;
    display: inline-flex;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: var(--color-brand-600);
    box-shadow: 0 12px 26px -14px rgb(15 23 42 / 0.75), 0 0 0 1px rgb(15 23 42 / 0.08);
    cursor: nwse-resize;
    touch-action: none;
  }
  .sop-inline-image-resize-handle::after {
    content: "";
    position: absolute;
    inset: 0.22rem;
    border-right: 2px solid rgb(255 255 255 / 0.82);
    border-bottom: 2px solid rgb(255 255 255 / 0.82);
    border-radius: 1px;
  }
  .sop-inline-image-resize-handle-active, .sop-inline-image-resize-handle:hover {
    background: var(--color-brand-700);
    transform: scale(1.08);
  }
  .sop-inline-image-resizing {
    cursor: nwse-resize;
    user-select: none;
  }
  .sop-video-embed {
    position: relative;
    display: block;
    width: 100%;
    max-width: 48rem;
    margin: 1rem 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #020617;
    box-shadow: 0 18px 50px -36px rgb(15 23 42 / 0.65);
  }
  .sop-video-iframe, .sop-video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #020617;
  }
  .sop-video-consent {
    display: flex;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    align-items: center;
    gap: 1rem;
    border: 0;
    background: linear-gradient(135deg, #111827 0%, #1f2937 55%, #334155 100%);
    color: #ffffff;
    padding: 1.25rem;
    text-align: left;
  }
  .sop-video-edit-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 8px;
    background: rgb(255 255 255 / 0.94);
    padding: 0.3rem;
    box-shadow: 0 16px 36px -22px rgb(15 23 42 / 0.7);
  }
  .sop-video-edit-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #334155;
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  .sop-video-edit-action:hover {
    background: var(--color-brand-50);
    color: var(--color-brand-700);
  }
  .sop-video-edit-action--danger:hover {
    background: #fff1f2;
    color: #be123c;
  }
  .sop-video-consent__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.1);
    color: #e2e8f0;
  }
  .sop-video-consent__body {
    display: grid;
    min-width: 0;
    gap: 0.45rem;
  }
  .sop-video-consent__title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 850;
  }
  .sop-video-consent__copy {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
  }
  .sop-video-consent__cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 850;
  }
  @media (max-width: 640px) {
    .sop-video-consent {
      gap: 0.7rem;
      padding: 1rem;
    }
    .sop-video-consent__icon {
      width: 2.25rem;
      height: 2.25rem;
    }
    .sop-video-consent__title {
      font-size: 0.92rem;
    }
    .sop-video-consent__copy {
      font-size: 0.78rem;
      line-height: 1.35;
    }
    .sop-video-consent__cta, .sop-video-edit-action {
      font-size: 0.72rem;
      padding: 0.42rem 0.55rem;
    }
  }
  .sop-video-dialog {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
  }
  .sop-video-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 0.46);
    backdrop-filter: blur(8px);
  }
  .sop-video-dialog__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 34rem);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 28px 70px -30px rgb(15 23 42 / 0.45);
  }
  .sop-video-dialog__header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
  }
  .sop-video-dialog__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
  }
  .sop-video-dialog__header h2 {
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.25;
  }
  .sop-video-dialog__header p, .sop-video-dialog__hint {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .sop-video-dialog__label {
    display: block;
    margin-bottom: 0.45rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .sop-video-dialog__input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
  }
  .sop-video-dialog__input:focus {
    border-color: var(--color-brand-500);
    box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 18%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-500) 18%, transparent);
    }
  }
  .sop-video-dialog__hint {
    margin-top: 0.6rem;
  }
  .sop-video-dialog__error {
    margin-top: 0.6rem;
    color: #be123c;
    font-size: 0.86rem;
    font-weight: 750;
  }
  .sop-video-dialog__error.hidden {
    display: none;
  }
  .sop-video-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1.25rem;
  }
  .sop-video-dialog__button {
    border: 0;
    border-radius: 8px;
    padding: 0.72rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 850;
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  .sop-video-dialog__button--secondary {
    background: #f1f5f9;
    color: #475569;
  }
  .sop-video-dialog__button--secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
  }
  .sop-video-dialog__button--primary {
    background: #111827;
    color: #ffffff;
  }
  .sop-video-dialog__button--primary:hover {
    background: var(--color-brand-600);
  }
  .sop-editor-toolbar-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 800;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  }
  .sop-editor-toolbar-button:hover {
    border-color: var(--color-brand-200);
    background: var(--color-brand-50);
    color: var(--color-brand-700);
  }
  .sop-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
  }
  .sop-image-lightbox.hidden {
    display: none;
  }
  .sop-image-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(15 23 42 / 0.82);
    backdrop-filter: blur(10px);
  }
  .sop-image-lightbox__dialog {
    position: relative;
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  .sop-image-lightbox__close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    border: 1px solid rgb(255 255 255 / 0.16);
    border-radius: 999px;
    background: rgb(15 23 42 / 0.76);
    color: #ffffff;
    padding: 0.7rem;
  }
  .sop-image-lightbox__figure {
    position: relative;
    max-width: min(92vw, 72rem);
    max-height: 86vh;
  }
  .sop-image-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 86vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 30px 90px -24px rgb(0 0 0 / 0.55);
  }
  body[data-theme="dark"] .glass-header {
    background: rgb(15 23 42 / 0.82);
    border-bottom-color: rgb(51 65 85 / 0.9);
  }
  body[data-theme="dark"] .app-backend-footer {
    color: #94a3b8;
  }
  body[data-theme="dark"] .app-backend-footer a:hover {
    color: #f8fafc;
  }
  body[data-theme="dark"] .global-search-dropdown {
    border-color: #334155;
    background: #0f172a;
    box-shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.65);
  }
  body[data-theme="dark"] .global-search-dropdown button:hover, body[data-theme="dark"] .global-search-dropdown button:focus {
    background: rgb(30 41 59 / 0.8);
  }
  @media (max-width: 767px) {
    #appHeader {
      height: auto;
      min-height: calc(4.75rem + env(safe-area-inset-top, 0px));
      padding-left: 1rem;
      padding-right: 1rem;
      padding-top: calc(0.875rem + env(safe-area-inset-top, 0px));
      padding-bottom: 0.75rem;
    }
    #viewRoot {
      padding: 1rem;
      padding-bottom: 2.5rem;
    }
    .app-backend-footer__inner {
      width: calc(100% - 2rem);
      align-items: center;
      gap: 0.375rem;
      padding-bottom: 0.75rem;
      text-align: center;
    }
    .app-backend-footer__links {
      justify-content: center;
      row-gap: 0.125rem;
    }
  }
  @media (max-width: 1023px) {
    #appSidebarToggle {
      display: none !important;
    }
    html {
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior-y: auto;
    }
    #appBody {
      display: block;
      min-height: 100vh;
      min-height: 100svh;
      height: auto;
      overflow: visible;
      overscroll-behavior: auto;
    }
    #appMain {
      display: block;
      min-height: 100vh;
      min-height: 100svh;
      height: auto;
      overflow: visible;
    }
    #appHeader {
      position: sticky;
      top: 0;
      z-index: 70;
      flex: 0 0 auto;
    }
    #mainScrollArea {
      display: block;
      flex: none;
      min-height: 0;
      overflow: visible;
      overscroll-behavior: auto;
      -webkit-overflow-scrolling: auto;
      padding-bottom: var(--app-mobile-scroll-clearance, max(4.5rem, calc(3rem + env(safe-area-inset-bottom, 0px))));
      scroll-padding-bottom: var(--app-mobile-scroll-clearance, max(4.5rem, calc(3rem + env(safe-area-inset-bottom, 0px))));
    }
    #viewRoot {
      flex: 0 0 auto;
      min-height: 0;
    }
    .app-backend-footer {
      padding-bottom: 0;
    }
    .app-backend-footer::after {
      display: none;
      height: 0;
    }
    .app-backend-footer a {
      display: inline-flex;
      min-height: 1.875rem;
      align-items: center;
    }
    #appSidebar {
      top: 0;
      bottom: 0;
      height: var(--app-viewport-height, 100svh);
      max-height: none;
      padding-top: env(safe-area-inset-top, 0px);
      padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    #mobileMenuOverlay {
      inset: 0;
      height: var(--app-viewport-height, 100svh);
    }
  }
  @media (min-width: 640px) {
    .app-backend-footer__inner {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }
  @media (min-width: 1024px) {
    .app-backend-footer__inner {
      width: calc(100% - 5rem);
    }
  }
  body[data-theme="dark"] .theme-mode-toggle {
    border-color: #334155;
    background: #111827;
    color: #cbd5e1;
  }
  body[data-theme="dark"] .theme-mode-toggle:hover {
    border-color: #64748b;
    color: #f8fafc;
  }
  body[data-theme="dark"] .theme-mode-toggle__icon {
    background: #1e293b;
  }
  body[data-theme="dark"] .custom-select-trigger {
    border-color: #334155;
    background: #111827;
    color: #e2e8f0;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.18);
  }
  body[data-theme="dark"] .custom-select-trigger:hover:not(:disabled), body[data-theme="dark"] .custom-select-trigger:focus-visible, body[data-theme="dark"] .custom-select[data-open="true"] .custom-select-trigger {
    border-color: var(--color-brand-500);
    background: #0f172a;
    box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 22%, transparent), 0 1px 2px rgb(0 0 0 / 0.18);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-500) 22%, transparent), 0 1px 2px rgb(0 0 0 / 0.18);
    }
  }
  body[data-theme="dark"] .custom-select[data-variant="responsible"] .custom-select-trigger {
    border-color: #334155;
    background: #0f172a;
    color: #f8fafc;
  }
  body[data-theme="dark"] .custom-select[data-variant="chip"] .custom-select-trigger, body[data-theme="dark"] .custom-select[data-variant="chip"] .custom-select-trigger:hover:not(:disabled), body[data-theme="dark"] .custom-select[data-variant="chip"] .custom-select-trigger:focus-visible, body[data-theme="dark"] .custom-select[data-variant="chip"][data-open="true"] .custom-select-trigger {
    background: transparent;
    color: #f8fafc;
    box-shadow: none;
  }
  body[data-theme="dark"] .custom-select-trigger__icon {
    color: #94a3b8;
  }
  body[data-theme="dark"] .custom-select-trigger__meta, body[data-theme="dark"] .custom-select-option__meta, body[data-theme="dark"] .custom-select-group-label {
    color: #94a3b8;
  }
  body[data-theme="dark"] .custom-select-dropdown {
    border-color: #334155;
    background: #0f172a;
    box-shadow: 0 24px 60px -28px rgb(0 0 0 / 0.9), 0 10px 24px -18px rgb(0 0 0 / 0.65);
  }
  body[data-theme="dark"] .custom-select-option {
    color: #cbd5e1;
  }
  body[data-theme="dark"] .custom-select-option:hover:not(:disabled), body[data-theme="dark"] .custom-select-option:focus-visible {
    background: #1e293b;
    color: #f8fafc;
  }
  body[data-theme="dark"] .custom-select-option.is-selected {
    background: color-mix(in srgb, #134e4a 42%, #111827);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--color-brand-900) 42%, #111827);
    }
    color: #f8fafc;
  }
  body[data-theme="dark"] .custom-select-option-tooltip {
    border-color: rgb(148 163 184 / 0.34);
    background: #f8fafc;
    color: #0f172a;
    box-shadow: 0 18px 42px -24px rgb(0 0 0 / 0.85), 0 8px 18px -16px rgb(0 0 0 / 0.7);
  }
  body[data-theme="dark"] .custom-select-option-tooltip::after {
    border-color: rgb(148 163 184 / 0.34);
    background: #f8fafc;
  }
  body[data-theme="dark"] .custom-select-option-tooltip__meta {
    color: #475569;
  }
  body[data-theme="dark"] .confirm-dialog-backdrop {
    background: rgb(2 6 23 / 0.62);
  }
  body[data-theme="dark"] .confirm-dialog-card {
    border-color: #334155;
    background: #111827;
    box-shadow: 0 34px 90px -34px rgb(0 0 0 / 0.9), 0 18px 42px -28px rgb(0 0 0 / 0.7);
  }
  body[data-theme="dark"] .confirm-dialog-icon {
    border-color: #334155;
    background: #0f172a;
    color: #cbd5e1;
  }
  body[data-theme="dark"] .confirm-dialog-icon[data-variant="danger"] {
    border-color: rgb(244 63 94 / 0.34);
    background: rgb(136 19 55 / 0.28);
    color: #fb7185;
  }
  body[data-theme="dark"] .confirm-dialog-icon[data-variant="warning"] {
    border-color: rgb(245 158 11 / 0.34);
    background: rgb(120 53 15 / 0.28);
    color: #fbbf24;
  }
  body[data-theme="dark"] .confirm-dialog-title {
    color: #f8fafc;
  }
  body[data-theme="dark"] .confirm-dialog-message {
    color: #94a3b8;
  }
  body[data-theme="dark"] .confirm-dialog-details {
    border-color: rgb(245 158 11 / 0.3);
    background: rgb(120 53 15 / 0.22);
    color: #fcd34d;
  }
  body[data-theme="dark"] .confirm-dialog-details[data-variant="danger"] {
    border-color: rgb(244 63 94 / 0.34);
    background: rgb(136 19 55 / 0.22);
    color: #fda4af;
  }
  body[data-theme="dark"] .confirm-dialog-cancel {
    border-color: #334155;
    background: #0f172a;
    color: #cbd5e1;
  }
  body[data-theme="dark"] .confirm-dialog-cancel:hover {
    border-color: #475569;
    background: #1e293b;
    color: #f8fafc;
  }
  body[data-theme="dark"] .department-icon-option {
    border-color: #334155;
    background: #111827;
    color: #cbd5e1;
  }
  body[data-theme="dark"] .department-icon-option:hover, body[data-theme="dark"] .department-icon-option:has(input[type="radio"]:checked) {
    border-color: var(--color-brand-500);
    background: color-mix(in srgb, #134e4a 28%, #111827);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--color-brand-900) 28%, #111827);
    }
    color: #f8fafc;
  }
  body[data-theme="dark"] .department-checkbox-card {
    border-color: #334155;
    background: #111827;
  }
  body[data-theme="dark"] .department-checkbox-card:hover, body[data-theme="dark"] .department-checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: var(--color-brand-500);
    background: color-mix(in srgb, #134e4a 28%, #111827);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--color-brand-900) 28%, #111827);
    }
  }
  body[data-theme="dark"] .theme-option-card {
    border-color: #334155;
    background: #111827;
    color: #cbd5e1;
  }
  body[data-theme="dark"] .theme-option-card:hover {
    border-color: var(--color-brand-500);
    background: color-mix(in srgb, #134e4a 22%, #111827);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--color-brand-900) 22%, #111827);
    }
  }
  body[data-theme="dark"] .theme-option-card.is-selected, body[data-theme="dark"] .theme-option-card:has(input[type="radio"]:checked) {
    border-color: var(--color-brand-500);
    background: color-mix(in srgb, #134e4a 34%, #111827);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--color-brand-900) 34%, #111827);
    }
    box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 24%, transparent), var(--shadow-soft);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-500) 24%, transparent), var(--shadow-soft);
    }
  }
  body[data-theme="dark"] .theme-option-title {
    color: #f8fafc;
  }
  body[data-theme="dark"] .theme-option-copy {
    color: #94a3b8;
  }
  body[data-theme="dark"] .theme-swatch {
    border-color: rgb(248 250 252 / 0.14);
  }
  body[data-theme="dark"] .sop-inline-title-input, body[data-theme="dark"] .sop-inline-editor h2, body[data-theme="dark"] .sop-rich-content h2 {
    color: #f8fafc;
  }
  body[data-theme="dark"] .sop-inline-responsible-select {
    border-color: #334155;
    background-color: #0f172a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    color: #f8fafc;
  }
  body[data-theme="dark"] .sop-inline-responsible-select:hover, body[data-theme="dark"] .sop-inline-responsible-select:focus {
    border-color: var(--color-brand-500);
    background-color: #111827;
  }
  body[data-theme="dark"] .sop-inline-editor h3, body[data-theme="dark"] .sop-rich-content h3 {
    color: #e2e8f0;
  }
  body[data-theme="dark"] .sop-inline-editor, body[data-theme="dark"] .sop-inline-editor-toolbar, body[data-theme="dark"] .sop-inline-image-tools, body[data-theme="dark"] .sop-inline-media-actions, body[data-theme="dark"] .sop-editor-toolbar-button {
    border-color: #334155;
    background: #111827;
    color: #cbd5e1;
  }
  body[data-theme="dark"] .sop-inline-editor:focus {
    border-color: var(--color-brand-500);
    box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 24%, transparent), var(--shadow-card);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-brand-500) 24%, transparent), var(--shadow-card);
    }
  }
  body[data-theme="dark"] .sop-inline-editor-command, body[data-theme="dark"] .sop-inline-image-tool, body[data-theme="dark"] .sop-inline-media-button {
    color: #cbd5e1;
  }
  body[data-theme="dark"] .sop-inline-editor-command:hover, body[data-theme="dark"] .sop-inline-image-tool:hover, body[data-theme="dark"] .sop-inline-media-button:hover, body[data-theme="dark"] .sop-editor-toolbar-button:hover {
    background: color-mix(in srgb, #134e4a 32%, #111827);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in oklab, var(--color-brand-900) 32%, #111827);
    }
    color: #f8fafc;
  }
  body[data-theme="dark"] .sop-inline-editor-command-active, body[data-theme="dark"] .sop-inline-editor-command-active:hover, body[data-theme="dark"] .sop-inline-editor-command[aria-pressed="true"] {
    background: var(--color-brand-500);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px var(--color-brand-300);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-brand-300) 35%, transparent);
    }
  }
  body[data-theme="dark"] .sop-inline-image-resize-handle {
    border-color: #0f172a;
    box-shadow: 0 12px 26px -14px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.16);
  }
  body[data-theme="dark"] .sop-video-embed {
    border-color: #334155;
    box-shadow: 0 18px 50px -36px rgb(0 0 0 / 0.75);
  }
  body[data-theme="dark"] .sop-video-consent {
    background: linear-gradient(135deg, #020617 0%, #0f172a 60%, #1e293b 100%);
  }
  body[data-theme="dark"] .sop-video-edit-actions {
    border: 1px solid #334155;
    background: rgb(15 23 42 / 0.94);
  }
  body[data-theme="dark"] .sop-video-edit-action {
    color: #cbd5e1;
  }
  body[data-theme="dark"] .sop-video-edit-action:hover {
    background: #1e293b;
    color: #f8fafc;
  }
  body[data-theme="dark"] .sop-video-edit-action--danger:hover {
    background: rgb(136 19 55 / 0.3);
    color: #fecdd3;
  }
  body[data-theme="dark"] .sop-video-dialog__panel {
    border-color: #334155;
    background: #111827;
    box-shadow: 0 28px 70px -30px rgb(0 0 0 / 0.72);
  }
  body[data-theme="dark"] .sop-video-dialog__icon, body[data-theme="dark"] .sop-video-dialog__button--secondary {
    background: #1f2937;
    color: #cbd5e1;
  }
  body[data-theme="dark"] .sop-video-dialog__header h2 {
    color: #f8fafc;
  }
  body[data-theme="dark"] .sop-video-dialog__header p, body[data-theme="dark"] .sop-video-dialog__hint, body[data-theme="dark"] .sop-video-dialog__label {
    color: #94a3b8;
  }
  body[data-theme="dark"] .sop-video-dialog__input {
    border-color: #334155;
    background: #0f172a;
    color: #f8fafc;
  }
  body[data-theme="dark"] .sop-video-dialog__button--secondary:hover {
    background: #334155;
    color: #f8fafc;
  }
  @media (min-width: 1024px) {
    .setup-dashboard-copy {
      flex: 1 1 auto;
      min-width: 0;
    }
    .setup-dashboard-copy-text {
      min-width: 0;
    }
    .setup-dashboard-actions {
      flex: 0 0 342px;
      width: 342px;
    }
    .setup-dashboard-progress {
      width: 326px;
      max-width: 100%;
      margin-left: auto;
    }
    .setup-dashboard-video-button {
      min-width: 120px;
    }
    .setup-dashboard-primary-button {
      min-width: 214px;
    }
  }
  @media (max-width: 1023px) {
    .setup-dashboard-copy, .setup-dashboard-copy-text, .setup-dashboard-progress {
      width: 100%;
      max-width: 100%;
    }
  }
  .setup-guide-panel {
    position: relative;
  }
  .setup-guide-panel::before {
    content: "";
    position: absolute;
    left: 2.15rem;
    top: 6.1rem;
    bottom: 1.5rem;
    width: 1px;
    background: #e2e8f0;
  }
  .setup-guide-panel > * {
    position: relative;
    z-index: 1;
  }
  .setup-guide-item {
    position: relative;
  }
  body[data-theme="dark"] .setup-guide-panel::before {
    background: #334155;
  }
  .setup-responsible-dropzone {
    position: relative;
    overflow: hidden;
  }
  .setup-responsible-slot {
    min-height: 25rem;
  }
  .setup-responsible-dropzone::before {
    content: "";
    position: absolute;
    inset: 0.45rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    pointer-events: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
  }
  .setup-responsible-drop-hint {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: color 180ms ease, transform 180ms ease;
  }
  .setup-responsible-dropzone.is-drag-over {
    border-color: var(--color-brand-500);
    background: radial-gradient(circle at 20% 20%, color-mix(in srgb, #14b8a6 16%, transparent), transparent 35%), linear-gradient(135deg, color-mix(in srgb, #f0fdfa 92%, #ffffff), #f8fafc);
    @supports (color: color-mix(in lab, red, red)) {
      background: radial-gradient(circle at 20% 20%, color-mix(in oklab, var(--color-brand-500) 16%, transparent), transparent 35%), linear-gradient(135deg, color-mix(in oklab, var(--color-brand-50) 92%, #ffffff), #f8fafc);
    }
    box-shadow: 0 18px 45px rgb(15 23 42 / 0.1);
  }
  .setup-responsible-dropzone.is-drag-over::before {
    border-color: color-mix(in srgb, #14b8a6 58%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-brand-500) 58%, transparent);
    }
    background: rgb(255 255 255 / 0.5);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.75), 0 0 0 5px color-mix(in srgb, #99f6e4 34%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.75), 0 0 0 5px color-mix(in oklab, var(--color-brand-200) 34%, transparent);
    }
    transform: scale(0.985);
  }
  .setup-responsible-dropzone.is-drag-over .setup-responsible-drop-hint {
    color: var(--color-brand-700);
    transform: translateY(-1px);
  }
  .setup-responsible-dropzone.is-drag-over .setup-responsible-drop-hint > span:first-child {
    color: var(--color-brand-600);
    animation: setupDropHintPulse 900ms ease-in-out infinite;
  }
  @keyframes setupDropHintPulse {
    0%, 100% {
      transform: translateY(0) scale(1);
    }
    50% {
      transform: translateY(2px) scale(1.04);
    }
  }
  .landing-theme-root {
    background: linear-gradient(180deg, var(--landing-surface, #fff) 0%, var(--landing-soft, #f8fafc) 48%, var(--landing-surface, #fff) 100%);
  }
  .landing-theme-root .text-brand-700, .landing-theme-root .hover\:text-slate-950:hover {
    color: var(--landing-primary, #0f172a);
  }
  .landing-theme-root .text-slate-950 {
    color: var(--landing-text, #0f172a);
  }
  .landing-theme-root .text-slate-600, .landing-theme-root .text-slate-500 {
    color: var(--landing-muted, #64748b);
  }
  .landing-theme-root .bg-slate-950 {
    background-color: var(--landing-primary, #0f172a);
  }
  .landing-theme-root .bg-slate-50, .landing-theme-root .bg-slate-100 {
    background-color: var(--landing-soft, #f8fafc);
  }
  .landing-theme-root .border-slate-200, .landing-theme-root .border-slate-200\/70 {
    border-color: var(--landing-primary, #0f172a);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--landing-primary, #0f172a) 13%, #e2e8f0);
    }
  }
  @media (max-width: 767px) {
    .public-mobile-x-padding {
      padding-right: 15px !important;
      padding-left: 15px !important;
    }
    .landing-theme-root main > .landing-section-mobile-padding-product, .landing-theme-root main > .landing-section-mobile-padding-features, .landing-theme-root main > .landing-section-mobile-padding-workflow, .landing-theme-root main > .landing-section-mobile-padding-faq, .landing-theme-root main > .landing-section-mobile-padding-final, .landing-theme-root .landing-section-mobile-padding-product, .landing-theme-root .landing-section-mobile-padding-features, .landing-theme-root .landing-section-mobile-padding-workflow, .landing-theme-root .landing-section-mobile-padding-faq, .landing-theme-root .landing-section-mobile-padding-final {
      padding-right: 15px !important;
      padding-left: 15px !important;
    }
    .landing-theme-root main > [class*="landing-section-mobile-padding-"] > section:first-child > div:first-child {
      padding-right: 15px !important;
      padding-left: 15px !important;
    }
    .landing-theme-root .landing-style-featuresheadline {
      font-size: 1.9375rem !important;
      line-height: 1.12 !important;
    }
    .landing-theme-root .landing-style-features-0-title, .landing-theme-root .landing-style-features-1-title, .landing-theme-root .landing-style-proofheadline {
      font-size: 1.875rem !important;
      line-height: 1.12 !important;
    }
    .landing-theme-root .landing-style-featurestorymeta-0-subtitle, .landing-theme-root .landing-style-featurestorymeta-1-subtitle, .landing-theme-root .landing-style-featurestorymeta-2-subtitle {
      font-size: 1.1875rem !important;
      line-height: 1.28 !important;
    }
    .landing-pricing-cta {
      font-size: 17px !important;
      min-height: 66px !important;
      margin-bottom: 15px !important;
    }
  }
  .landing-builder-edit {
    min-width: 1.5rem;
    border-radius: 0.5rem;
    outline: 0 solid transparent;
    transition: background-color 0.16s ease, box-shadow 0.16s ease;
  }
  .landing-builder-edit:hover {
    background: var(--landing-primary, #0f172a);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--landing-primary, #0f172a) 7%, transparent);
    }
    box-shadow: 0 0 0 4px var(--landing-primary, #0f172a);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--landing-primary, #0f172a) 7%, transparent);
    }
  }
  .landing-builder-edit:focus {
    background: #ffffff;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--landing-primary, #0f172a);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px color-mix(in srgb, var(--landing-primary, #0f172a) 26%, transparent);
    }
  }
  body.is-landing-builder {
    background: #e5e7eb;
  }
  .landing-builder-view-root {
    padding: 0 !important;
  }
  .landing-builder-main-scroll {
    background: #e5e7eb !important;
  }
  .landing-builder-shell {
    min-height: 100dvh;
    background: #e5e7eb;
    color: #0f172a;
  }
  .landing-builder-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    min-height: 4.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(203, 213, 225, 0.8);
    background: rgba(255, 255, 255, 0.94);
    padding: 0.8rem 1rem;
    backdrop-filter: blur(18px);
  }
  .landing-builder-icon-button, .landing-builder-secondary-button, .landing-builder-save-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.9rem;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  }
  .landing-builder-icon-button {
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    box-shadow: var(--shadow-soft);
  }
  .landing-builder-secondary-button {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0.78rem 1rem;
    color: #475569;
    box-shadow: var(--shadow-soft);
  }
  .landing-builder-save-button {
    background: #0f172a;
    padding: 0.82rem 1.15rem;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  }
  .landing-builder-secondary-button:hover, .landing-builder-icon-button:hover, .landing-builder-save-button:hover {
    transform: translateY(-1px);
  }
  .landing-builder-workbench {
    display: grid;
    grid-template-columns: 21rem minmax(0, 1fr);
    min-height: calc(100dvh - 4.75rem);
  }
  .landing-builder-sidepanel {
    position: sticky;
    top: 4.75rem;
    align-self: start;
    height: calc(100dvh - 4.75rem);
    overflow: auto;
    border-right: 1px solid rgba(203, 213, 225, 0.8);
    background: #f8fafc;
    padding: 1rem;
  }
  .landing-builder-panel-section {
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  }
  .landing-builder-panel-section + .landing-builder-panel-section {
    margin-top: 0.8rem;
  }
  .landing-builder-panel-section summary {
    cursor: pointer;
    list-style: none;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 900;
  }
  .landing-builder-panel-section summary::-webkit-details-marker {
    display: none;
  }
  .landing-builder-panel-kicker {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .landing-builder-panel-section h3 {
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
  }
  .landing-builder-panel-section p {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.55;
  }
  .landing-builder-control {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.72rem;
  }
  .landing-builder-control span, .landing-builder-icon-control__label {
    display: block;
    color: #94a3b8;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .landing-builder-control input, .landing-builder-icon-control select {
    margin-top: 0.42rem;
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 0.78rem;
    background: #f8fafc;
    padding: 0.6rem 0.7rem;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 750;
    outline: none;
  }
  .landing-builder-control input:focus, .landing-builder-icon-control select:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
  }
  .landing-builder-icon-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.7rem;
  }
  .landing-builder-icon-control__preview {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.82rem;
    background: #0f172a;
    color: #ffffff;
  }
  .landing-builder-style-inspector {
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.85rem;
  }
  .landing-builder-style-current {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 0.84rem !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
  }
  .landing-builder-style-help {
    margin-top: 0.35rem !important;
    color: #64748b !important;
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
  }
  .landing-builder-style-inspector h4 {
    margin-bottom: 0.55rem;
    color: #94a3b8;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .landing-builder-style-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .landing-builder-style-input {
    display: block;
    min-width: 0;
  }
  .landing-builder-style-input span {
    display: block;
    color: #64748b;
    font-size: 0.64rem;
    font-weight: 850;
    line-height: 1.15;
  }
  .landing-builder-style-input input {
    margin-top: 0.28rem;
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 0.72rem;
    background: #ffffff;
    padding: 0.48rem 0.55rem;
    color: #0f172a;
    font-size: 0.76rem;
    font-weight: 800;
    outline: none;
  }
  .landing-builder-style-input input:focus {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
  }
  .landing-builder-style-input input:disabled {
    cursor: not-allowed;
    background: #f1f5f9;
    color: #94a3b8;
  }
  .landing-builder-edit, .landing-builder-resizable {
    position: relative;
  }
  .landing-builder-edit:hover, .landing-builder-resizable:hover {
    outline: 1px dashed rgba(15, 23, 42, 0.22);
    outline-offset: 4px;
  }
  .landing-builder-edit.is-style-selected, .landing-builder-resizable.is-style-selected {
    outline: 2px solid #0f172a;
    outline-offset: 5px;
  }
  .landing-builder-resizable {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  .landing-builder-resizable--inline {
    display: inline-flex;
    margin-left: 0;
    margin-right: 0;
    vertical-align: middle;
  }
  .landing-builder-logo-resizable {
    width: 160px;
    max-width: 100%;
  }
  .landing-builder-logo-resizable > a, .landing-builder-logo-resizable img {
    width: 100%;
    max-width: none;
    height: auto;
  }
  @media (min-width: 640px) {
    .landing-builder-logo-resizable {
      width: 170px;
    }
  }
  .landing-builder-resize-handle {
    position: absolute;
    right: -0.45rem;
    bottom: -0.45rem;
    z-index: 20;
    display: none;
    width: 1.1rem;
    height: 1.1rem;
    cursor: nwse-resize;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
  }
  .landing-builder-resizable:hover .landing-builder-resize-handle, .landing-builder-resizable.is-style-selected .landing-builder-resize-handle {
    display: block;
  }
  body.is-landing-resizing {
    cursor: nwse-resize;
    user-select: none;
  }
  .landing-builder-section-shell {
    position: relative;
  }
  .landing-builder-section-html-button {
    position: absolute;
    top: 1.25rem;
    right: 0.75rem;
    z-index: 50;
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    opacity: 0;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    transform: translateX(0.25rem);
    transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease, color 160ms ease;
    backdrop-filter: blur(12px);
  }
  .landing-builder-section-shell:hover > .landing-builder-section-html-button, .landing-builder-section-html-button:focus-visible {
    opacity: 1;
    transform: translateX(0);
  }
  .landing-builder-section-html-button:hover {
    background: #0f172a;
    color: #fff;
  }
  .public-menu-icon {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.27rem;
  }
  .public-menu-icon span {
    display: block;
    height: 0.125rem;
    border-radius: 999px;
    background: currentColor;
    transition: width 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
  }
  .public-menu-icon span:nth-child(1) {
    width: 1.25rem;
  }
  .public-menu-icon span:nth-child(2) {
    width: 0.9rem;
  }
  .public-menu-icon span:nth-child(3) {
    width: 1.1rem;
  }
  .public-menu-icon-button:hover .public-menu-icon span {
    width: 1.25rem;
  }
  .landing-builder-viewport-switch {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.25rem;
  }
  .landing-builder-viewport-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 0.75rem;
    padding: 0.62rem 0.72rem;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 850;
    transition: background-color 0.16s ease, color 0.16s ease;
  }
  .landing-builder-viewport-switch button.is-active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
  }
  .landing-builder-canvas {
    overflow: auto;
    padding: 1.4rem;
  }
  .landing-builder-device {
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
  }
  .landing-builder-device.is-desktop {
    width: min(100%, 1440px);
    border-radius: 1.75rem;
  }
  .landing-builder-device.is-mobile {
    border-radius: 2.4rem;
  }
  .landing-builder-preview-surface {
    height: 100%;
    overflow: auto;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface {
    width: 100%;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface header > div {
    padding: 0.75rem 1rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface header nav, .landing-builder-device.is-mobile .landing-builder-preview-surface [class~="hidden"][class*="sm:inline-flex"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class~="hidden"][class*="md:flex"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class~="hidden"][class*="lg:flex"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class~="hidden"][class*="xl:flex"], .landing-builder-device.is-mobile .landing-builder-preview-surface .lg\:block {
    display: none !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .lg\:hidden {
    display: inline-flex !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="sm:grid-cols"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="md:grid-cols"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="lg:grid-cols"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="xl:grid-cols"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="sm:flex-row"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="md:flex-row"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="lg:flex-row"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="xl:flex-row"] {
    flex-direction: column !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="sm:items-end"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="md:items-end"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="lg:items-end"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="xl:items-end"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="lg:items-center"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="xl:items-center"] {
    align-items: stretch !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="sm:w-auto"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="md:w-auto"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="lg:w-1/2"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="xl:w-auto"] {
    width: 100% !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="sm:max-w-none"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="md:max-w-none"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="lg:max-w-none"] {
    max-width: 100% !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-mobile-x-padding, .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="landing-section-mobile-padding-"] > [data-landing-section-content] > section:first-child > div:first-child, .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="landing-section-mobile-padding-"] > section:first-child > div:first-child {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-section-mobile-padding-product, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-section-mobile-padding-features, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-section-mobile-padding-workflow, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-section-mobile-padding-faq, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-section-mobile-padding-final {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface main > section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface main > section:first-child {
    padding-top: 3rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-hero-title, .landing-builder-device.is-mobile .landing-builder-preview-surface h1 {
    font-size: 2.45rem !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface h2 {
    font-size: 2rem !important;
    line-height: 1.16 !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface h3 {
    font-size: 1.55rem !important;
    line-height: 1.22 !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface p, .landing-builder-device.is-mobile .landing-builder-preview-surface li, .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="sm:text-xl"] {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-style-featuresheadline {
    font-size: 1.9375rem !important;
    line-height: 1.12 !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-style-features-0-title, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-style-features-1-title, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-style-proofheadline {
    font-size: 1.875rem !important;
    line-height: 1.12 !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-style-featurestorymeta-0-subtitle, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-style-featurestorymeta-1-subtitle, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-style-featurestorymeta-2-subtitle {
    font-size: 1.1875rem !important;
    line-height: 1.28 !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="text-xs"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="text-[10px]"], .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="text-[11px]"] {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="px-8"] {
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface [class*="py-4"] {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface footer > div {
    align-items: flex-start !important;
    padding: 1.5rem 1rem !important;
  }
  @media (max-width: 1180px) {
    .landing-builder-workbench {
      grid-template-columns: 1fr;
    }
    .landing-builder-sidepanel {
      position: relative;
      top: auto;
      height: auto;
      border-right: 0;
      border-bottom: 1px solid rgba(203, 213, 225, 0.8);
    }
    .landing-builder-topbar {
      align-items: flex-start;
      flex-direction: column;
    }
  }
  .legal-editor-shell {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
  }
  .legal-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 0.75rem;
  }
  .legal-editor-button, .legal-editor-source-toggle {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #ffffff;
    padding: 0.5rem 0.75rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  }
  .legal-editor-button:hover, .legal-editor-source-toggle:hover, .legal-editor-source-toggle.is-active {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    transform: translateY(-1px);
  }
  .legal-editor-link-panel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.75rem;
  }
  .legal-editor-link-panel.hidden {
    display: none;
  }
  .legal-editor-surface {
    min-height: 23rem;
    padding: 1.35rem 1.5rem;
    color: #334155;
    outline: none;
  }
  .legal-editor-surface:focus {
    box-shadow: inset 0 0 0 2px var(--color-brand-500);
  }
  .legal-editor-source {
    min-height: 23rem;
    width: 100%;
    resize: vertical;
    border: 0;
    background: #0f172a;
    padding: 1.25rem;
    color: #e2e8f0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    outline: none;
  }
  .legal-editor-source:focus {
    box-shadow: inset 0 0 0 2px var(--color-brand-500);
  }
  .legal-rich-content {
    font-size: 0.98rem;
    line-height: 1.85;
  }
  .landing-rich-toolbar {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: calc(100vw - 2rem);
    transform: translateX(-50%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.45rem;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
  }
  .landing-rich-toolbar.hidden {
    display: none;
  }
  .landing-rich-toolbar button {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: #334155;
    transition: background-color 160ms ease, color 160ms ease;
  }
  .landing-rich-toolbar button:hover {
    background: #f1f5f9;
    color: #0f172a;
  }
  .landing-rich-toolbar input {
    height: 2.25rem;
    width: min(16rem, 38vw);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
    padding: 0 0.75rem;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 650;
    outline: none;
  }
  .landing-rich-toolbar input:focus {
    border-color: var(--color-brand-500);
    box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 18%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand-500) 18%, transparent);
    }
  }
  .landing-rich-toolbar__divider {
    height: 1.5rem;
    width: 1px;
    background: #e2e8f0;
  }
  .landing-element-toolbar {
    position: fixed;
    z-index: 95;
    width: min(44rem, calc(100vw - 1.5rem));
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.85rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(16px);
  }
  .landing-element-toolbar.hidden {
    display: none;
  }
  .landing-element-toolbar__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
  }
  .landing-element-toolbar__title {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .landing-element-toolbar__viewport {
    display: inline-flex;
    gap: 0.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    padding: 0.2rem;
  }
  .landing-element-toolbar__viewport button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  }
  .landing-element-toolbar__viewport button.is-active {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.2);
  }
  .landing-element-toolbar__link {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
  }
  .landing-element-toolbar__link.hidden {
    display: none;
  }
  .landing-element-toolbar__link span, .landing-element-toolbar__grid span {
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .landing-element-toolbar input {
    width: 100%;
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.78rem;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.76rem;
    font-weight: 750;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  }
  .landing-element-toolbar input:focus {
    border-color: var(--color-brand-500);
    background: #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 18%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand-500) 18%, transparent);
    }
  }
  .landing-element-toolbar__link input {
    height: 2.35rem;
    padding: 0 0.75rem;
  }
  .landing-element-toolbar__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.45rem;
    max-height: min(18rem, 46vh);
    overflow: auto;
    padding-right: 0.15rem;
  }
  .landing-element-toolbar__grid label {
    display: grid;
    gap: 0.28rem;
  }
  .landing-element-toolbar__grid input {
    height: 2.25rem;
    padding: 0 0.55rem;
  }
  @media (max-width: 900px) {
    .landing-element-toolbar__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (max-width: 560px) {
    .landing-element-toolbar {
      padding: 0.7rem;
    }
    .landing-element-toolbar__top {
      align-items: stretch;
      flex-direction: column;
    }
    .landing-element-toolbar__viewport {
      justify-content: stretch;
    }
    .landing-element-toolbar__viewport button {
      justify-content: center;
      flex: 1;
    }
    .landing-element-toolbar__link {
      grid-template-columns: 1fr;
    }
    .landing-element-toolbar__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .landing-builder-edit a {
    color: var(--landing-primary, #0f172a);
    text-decoration: underline;
    text-underline-offset: 0.16em;
  }
  .public-landing-hero-title {
    max-width: min(100%, 64rem);
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
  .landing-hero-zettelchaos-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding-bottom: 0.14em;
  }
  .landing-hero-zettelchaos-text {
    display: inline;
    background-image: linear-gradient(90deg, rgb(2, 6, 23) 0%, rgb(67 79 105) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .landing-hero-zettelchaos-underline {
    position: absolute;
    left: 0;
    bottom: -0.02em;
    width: 100%;
    height: 0.24em;
    color: #434f69;
    opacity: 0.82;
    overflow: visible;
    pointer-events: none;
  }
  .landing-hero-zettelchaos-underline path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: landingZettelchaosDraw 1.5s ease-out 0.35s forwards;
    vector-effect: non-scaling-stroke;
  }
  .public-landing-proof, .public-landing-preview {
    max-width: 100%;
    overflow-x: hidden;
  }
  .public-landing-preview--video {
    overflow: visible;
  }
  .public-landing-workflow-video {
    max-width: 100%;
    overflow: visible;
  }
  .public-landing-preview-frame {
    container-type: inline-size;
  }
  .public-landing-preview-scale {
    transform-origin: top left;
  }
  .public-landing-preview-video {
    aspect-ratio: 16 / 9;
    background: #ffffff;
    box-shadow: 0 34px 90px -48px rgba(15, 23, 42, 0.5), 0 18px 44px -36px rgba(15, 23, 42, 0.32);
    outline: 1px solid rgba(226, 232, 240, 0.72);
    outline-offset: -1px;
  }
  .public-landing-preview-video-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
  }
  .public-landing-video-scroll-shield {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: none;
    border: 0;
    background: transparent;
    cursor: default;
    touch-action: pan-y;
  }
  .landing-video-scroll-shield-enabled .public-landing-preview-video:not(.is-video-scroll-shield-disabled) .public-landing-video-scroll-shield {
    display: block;
  }
  .public-landing-video-fullscreen-button {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 20;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(14px);
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
  }
  .public-landing-video-fullscreen-button:hover {
    background: rgba(15, 23, 42, 0.96);
    transform: translateY(-1px);
  }
  .public-landing-workflow-video .public-landing-video-fullscreen-button--enter {
    top: auto;
    right: 0.75rem;
    bottom: 0.75rem;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(15, 23, 42, 0.46);
    opacity: 0.88;
  }
  .public-landing-workflow-video .public-landing-video-fullscreen-button--enter:hover {
    background: rgba(15, 23, 42, 0.78);
    opacity: 1;
  }
  .public-landing-video-fullscreen-button--exit {
    display: none;
  }
  .public-landing-preview-video.is-video-fullscreen, .public-landing-preview-video:fullscreen {
    position: fixed !important;
    inset: 0;
    z-index: 9999;
    display: flex;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    max-width: none;
    border-radius: 0 !important;
    aspect-ratio: auto;
    background: #000000;
    box-shadow: none;
    outline: 0;
  }
  .public-landing-preview-video:-webkit-full-screen {
    position: fixed !important;
    inset: 0;
    z-index: 9999;
    display: flex;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    max-width: none;
    border-radius: 0 !important;
    aspect-ratio: auto;
    background: #000000;
    box-shadow: none;
    outline: 0;
  }
  .public-landing-preview-video.is-video-fullscreen .public-landing-preview-video-iframe, .public-landing-preview-video:fullscreen .public-landing-preview-video-iframe, .public-landing-preview-video:-webkit-full-screen .public-landing-preview-video-iframe {
    width: min(100vw, 177.7778vh) !important;
    height: min(56.25vw, 100vh) !important;
    flex: none;
    background: #000000;
  }
  .public-landing-preview-video.is-video-fullscreen .public-landing-video-fullscreen-button--enter, .public-landing-preview-video:fullscreen .public-landing-video-fullscreen-button--enter, .public-landing-preview-video:-webkit-full-screen .public-landing-video-fullscreen-button--enter {
    display: none;
  }
  .public-landing-preview-video.is-video-fullscreen .public-landing-video-fullscreen-button--exit, .public-landing-preview-video:fullscreen .public-landing-video-fullscreen-button--exit, .public-landing-preview-video:-webkit-full-screen .public-landing-video-fullscreen-button--exit {
    top: 0.75rem;
    right: 0.75rem;
    bottom: auto;
    background: rgba(15, 23, 42, 0.82);
    opacity: 1;
    display: inline-flex;
  }
  .landing-builder-preview-surface .public-landing-preview-video-iframe {
    pointer-events: none;
  }
  @media (max-width: 640px) {
    .public-landing-preview-frame {
      border-radius: 1rem;
    }
    .public-landing-preview-scale {
      position: absolute !important;
      top: 50%;
      left: 50%;
      width: 64rem !important;
      height: 36rem !important;
      flex: none !important;
      transform-origin: center;
      transform: translate(-50%, -50%) scale(0.32);
    }
    .public-landing-preview-scale > div:first-child {
      padding: 0.75rem 1.25rem !important;
    }
    .public-landing-preview-scale > div:first-child [class~="hidden"][class*="lg:flex"] {
      display: flex !important;
    }
    .public-landing-preview-scale > div:first-child [class~="hidden"][class*="sm:inline-flex"] {
      display: inline-flex !important;
    }
    .public-landing-preview-scale > div:nth-child(2) {
      flex-direction: row !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > aside {
      display: flex !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > div {
      padding: 1.5rem !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > div > div:first-child {
      align-items: flex-end !important;
      flex-direction: row !important;
      justify-content: space-between !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > div > div:first-child > div:last-child {
      width: auto !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) {
      grid-template-columns: minmax(0, 1fr) 16rem !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) > section:first-child {
      padding: 1rem !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) > section:first-child > div:first-child {
      grid-template-columns: minmax(0, 1fr) 12rem !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) > section:first-child > div:nth-child(2) {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) > section:nth-child(2) {
      padding: 1.25rem !important;
    }
  }
  @container (max-width: 20.5rem) {
    .public-landing-preview-scale {
      transform: translate(-50%, -50%) scale(0.28);
    }
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-frame {
    border-radius: 1rem;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale {
    position: absolute !important;
    top: 50%;
    left: 50%;
    width: 64rem !important;
    height: 36rem !important;
    flex: none !important;
    transform-origin: center;
    transform: translate(-50%, -50%) scale(0.32);
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:first-child {
    padding: 0.75rem 1.25rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:first-child [class~="hidden"][class*="lg:flex"] {
    display: flex !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:first-child [class~="hidden"][class*="sm:inline-flex"] {
    display: inline-flex !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) {
    flex-direction: row !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > aside {
    display: flex !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > div {
    padding: 1.5rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > div > div:first-child {
    align-items: flex-end !important;
    flex-direction: row !important;
    justify-content: space-between !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > div > div:first-child > div:last-child {
    width: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) {
    grid-template-columns: minmax(0, 1fr) 16rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) > section:first-child {
    padding: 1rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) > section:first-child > div:first-child {
    grid-template-columns: minmax(0, 1fr) 12rem !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) > section:first-child > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale > div:nth-child(2) > div > div:nth-child(2) > section:nth-child(2) {
    padding: 1.25rem !important;
  }
  @container (max-width: 20.5rem) {
    .landing-builder-device.is-mobile .landing-builder-preview-surface .public-landing-preview-scale {
      transform: translate(-50%, -50%) scale(0.28);
    }
  }
  .public-faq-card > summary::-webkit-details-marker {
    display: none;
  }
  .public-faq-card > summary::marker {
    content: "";
  }
  .public-faq-card[open] {
    border-color: #cbd5e1;
    box-shadow: 0 18px 45px -32px rgba(15, 23, 42, 0.45);
  }
  .public-faq-card[open] .public-faq-chevron {
    transform: rotate(180deg);
  }
  @media (min-width: 641px) {
    .landing-style-subheadline {
      max-width: 75% !important;
    }
  }
  @media (max-width: 640px) {
    .public-landing-hero-title {
      max-width: calc(100vw - 2rem);
      font-size: 1.5rem;
      line-height: 1.12;
    }
    h1.public-landing-hero-title {
      margin-top: 15px !important;
      font-size: 33px !important;
    }
    .landing-style-eyebrow {
      font-size: 11px !important;
    }
    .landing-hero-zettelchaos-text {
      font-size: 29px;
      line-height: 1.12;
    }
    .landing-hero-zettelchaos-underline {
      bottom: -0.04em;
      height: 0.28em;
    }
    .landing-style-subheadline {
      padding-left: 10px;
      padding-right: 10px;
    }
    .public-landing-cta {
      width: calc(100vw - 4rem);
      max-width: 22rem;
    }
    .public-landing-proof {
      max-width: calc(100vw - 2rem);
    }
    .public-landing-preview {
      width: calc(100vw - 2rem);
      max-width: calc(100vw - 2rem);
    }
    .public-landing-preview--video {
      padding-left: 8px;
      padding-right: 8px;
    }
  }
  .legal-rich-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--landing-text, #0f172a);
    font-size: 1.45rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.25;
  }
  .legal-rich-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--landing-text, #0f172a);
    font-size: 1.08rem;
    font-weight: 820;
    letter-spacing: 0;
    line-height: 1.35;
  }
  .legal-rich-content p + p {
    margin-top: 1rem;
  }
  .legal-rich-content a {
    color: var(--landing-primary, #0f172a);
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
  }
  .legal-rich-content strong {
    color: var(--landing-text, #0f172a);
    font-weight: 850;
  }
  .legal-rich-content em {
    color: #334155;
  }
  .legal-rich-content u {
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
  }
  .pricing-plan-grid {
    align-items: stretch;
  }
  .pricing-plan-card {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--design-border, #e2e8f0);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px solid color-mix(in srgb, var(--design-border, #e2e8f0) 86%, transparent);
    }
    border-radius: 1.5rem;
    background: var(--design-panel, #ffffff);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--design-panel, #ffffff) 94%, #ffffff);
    }
    padding: 1.5rem;
    color: var(--platform-text, #0f172a);
    box-shadow: 0 14px 34px rgb(15 23 42 / 0.07);
  }
  .pricing-plan-card--compact {
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 10px 26px rgb(15 23 42 / 0.055);
  }
  .pricing-plan-card--landing {
    border-radius: 1.65rem;
    border-color: var(--design-border, #e2e8f0);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--design-border, #e2e8f0) 72%, transparent);
    }
    background: linear-gradient(180deg, rgb(255 255 255 / 0.98), var(--landing-surface, #ffffff)), var(--design-panel, #ffffff);
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(180deg, rgb(255 255 255 / 0.98), color-mix(in srgb, var(--landing-surface, #ffffff) 96%, #ffffff)), var(--design-panel, #ffffff);
    }
    min-height: 31rem;
    padding: 1.65rem;
    box-shadow: 0 12px 32px rgb(15 23 42 / 0.055);
  }
  .pricing-plan-card--featured {
    border-color: var(--landing-primary, var(--platform-primary, #0f172a));
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--landing-primary, var(--platform-primary, #0f172a)) 34%, var(--design-border, #e2e8f0));
    }
    box-shadow: 0 18px 42px rgb(15 23 42 / 0.1);
  }
  .pricing-plan-card--landing.pricing-plan-card--featured {
    border-color: var(--landing-primary, var(--platform-primary, #0f172a));
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--landing-primary, var(--platform-primary, #0f172a)) 32%, var(--design-border, #e2e8f0));
    }
    box-shadow: 0 18px 40px rgb(15 23 42 / 0.075);
  }
  @media (min-width: 1024px) {
    .pricing-plan-card--landing.pricing-plan-card--featured {
      transform: translateY(-0.65rem);
    }
  }
  .pricing-plan-card--current {
    border-color: var(--platform-primary, #0f172a);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--platform-primary, #0f172a) 46%, var(--design-border, #e2e8f0));
    }
  }
  .pricing-plan-card--single {
    max-width: 48rem;
    padding: 2rem;
  }
  .pricing-plan-card__header {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
  .pricing-plan-card__eyebrow {
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--platform-muted, #64748b);
  }
  .pricing-plan-card__title {
    margin-top: 0.45rem;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1.15;
    color: var(--platform-text, #0f172a);
  }
  .pricing-plan-card__capacity {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 680;
    line-height: 1.45;
    color: var(--platform-muted, #64748b);
  }
  .pricing-plan-card__badge {
    display: inline-flex;
    max-width: 12rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--landing-primary, var(--platform-primary, #0f172a));
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--landing-primary, var(--platform-primary, #0f172a)) 8%, #ffffff);
    }
    padding: 0.45rem 0.7rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 850;
    line-height: 1.2;
    color: var(--landing-primary, var(--platform-primary, #0f172a));
    box-shadow: inset 0 0 0 1px var(--landing-primary, var(--platform-primary, #0f172a));
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--landing-primary, var(--platform-primary, #0f172a)) 10%, transparent);
    }
  }
  .pricing-plan-card__description {
    margin-top: 1rem;
    min-height: 4.2rem;
    font-size: 0.92rem;
    font-weight: 520;
    line-height: 1.65;
    color: var(--platform-muted, #64748b);
  }
  .pricing-plan-card__price-row {
    margin-top: 1.35rem;
  }
  .pricing-plan-card--landing .pricing-plan-card__price-row {
    margin-top: 1.35rem;
    padding-top: 0;
    border-top: 0;
  }
  .pricing-plan-card__price {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    color: var(--platform-text, #0f172a);
  }
  .pricing-plan-card__interval {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    font-weight: 750;
    color: var(--platform-muted, #64748b);
  }
  .pricing-plan-card__features {
    margin-top: 1.4rem;
    display: grid;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.45;
    color: var(--platform-text, #0f172a);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--platform-text, #0f172a) 78%, var(--platform-muted, #64748b));
    }
  }
  .pricing-plan-card--landing .pricing-plan-card__features {
    margin-top: 1.45rem;
    gap: 0.72rem;
    font-size: 0.88rem;
    font-weight: 680;
  }
  .pricing-plan-card__features li {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .pricing-plan-card__features li > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .pricing-plan-card__check {
    display: inline-flex;
    margin-top: 0.08rem;
    height: 1.35rem;
    width: 1.35rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--landing-primary, var(--platform-primary, #0f172a));
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--landing-primary, var(--platform-primary, #0f172a)) 10%, #ffffff);
    }
    color: var(--landing-primary, var(--platform-primary, #0f172a));
  }
  .pricing-plan-card--landing .pricing-plan-card__check {
    height: 1.18rem;
    width: 1.18rem;
    background: transparent;
  }
  .pricing-plan-card__note {
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.78rem;
    font-weight: 720;
    line-height: 1.45;
    color: var(--platform-muted, #64748b);
  }
  .pricing-plan-card__cta {
    margin-top: 1.3rem;
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.95rem;
    background: var(--landing-primary, var(--platform-primary, #0f172a));
    padding: 0.9rem 1.1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 850;
    color: var(--landing-primary-text, #ffffff);
    box-shadow: 0 12px 26px rgb(15 23 42 / 0.12);
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  }
  .pricing-plan-card--landing .pricing-plan-card__cta {
    margin-top: 1.35rem;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    box-shadow: 0 10px 22px rgb(15 23 42 / 0.1);
  }
  .pricing-plan-card__fineprint {
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 680;
    line-height: 1.35;
    color: var(--platform-muted, #64748b);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in srgb, var(--platform-muted, #64748b) 84%, transparent);
    }
  }
  .pricing-plan-card__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgb(15 23 42 / 0.16);
  }
  .pricing-plan-card__cta:disabled {
    cursor: not-allowed;
    opacity: 0.52;
    transform: none;
    box-shadow: none;
  }
}
@layer utilities {
  body[data-theme="dark"] .bg-white {
    background-color: #111827;
  }
  body[data-theme="dark"] .bg-white\/80 {
    background-color: rgb(17 24 39 / 0.82);
  }
  body[data-theme="dark"] .bg-white\/90 {
    background-color: rgb(17 24 39 / 0.9);
  }
  body[data-theme="dark"] .bg-slate-50, body[data-theme="dark"] .bg-slate-50\/50, body[data-theme="dark"] .bg-slate-50\/70, body[data-theme="dark"] .bg-slate-50\/80 {
    background-color: #1e293b;
  }
  body[data-theme="dark"] .bg-slate-100, body[data-theme="dark"] .bg-slate-100\/50 {
    background-color: #334155;
  }
  body[data-theme="dark"] .bg-slate-400 {
    background-color: #64748b;
  }
  body[data-theme="dark"] .bg-slate-900 {
    background-color: #f8fafc;
    color: #0f172a;
  }
  body[data-theme="dark"] .border-white {
    border-color: #111827;
  }
  body[data-theme="dark"] .border-slate-50, body[data-theme="dark"] .border-slate-100, body[data-theme="dark"] .border-slate-100\/60 {
    border-color: #243044;
  }
  body[data-theme="dark"] .border-slate-200, body[data-theme="dark"] .border-slate-200\/60, body[data-theme="dark"] .border-slate-200\/70, body[data-theme="dark"] .border-slate-200\/80, body[data-theme="dark"] .border-slate-300 {
    border-color: #334155;
  }
  body[data-theme="dark"] .text-slate-900, body[data-theme="dark"] .text-slate-800 {
    color: #f8fafc;
  }
  body[data-theme="dark"] .text-slate-700, body[data-theme="dark"] .text-slate-600 {
    color: #e2e8f0;
  }
  body[data-theme="dark"] .text-slate-500 {
    color: #cbd5e1;
  }
  body[data-theme="dark"] .text-slate-400 {
    color: #94a3b8;
  }
  body[data-theme="dark"] .hover\:bg-slate-50:hover, body[data-theme="dark"] .hover\:bg-slate-100:hover {
    background-color: #263449;
  }
  body[data-theme="dark"] .hover\:bg-slate-200:hover {
    background-color: #334155;
  }
  body[data-theme="dark"] .hover\:text-slate-700:hover, body[data-theme="dark"] .hover\:text-slate-800:hover {
    color: #f8fafc;
  }
}
.platform-design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}
.platform-design-card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.platform-design-card:hover {
  transform: translateY(-1px);
  border-color: var(--color-brand-200);
  box-shadow: var(--shadow-soft);
}
.platform-design-card.is-selected, .platform-design-card:has(input[type="radio"]:checked) {
  border-color: var(--color-brand-500);
  background: color-mix(in srgb, #f0fdfa 66%, #ffffff);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--color-brand-50) 66%, #ffffff);
  }
  box-shadow: 0 0 0 3px color-mix(in srgb, #14b8a6 17%, transparent), var(--shadow-soft);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand-500) 17%, transparent), var(--shadow-soft);
  }
}
.platform-design-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.platform-design-card__select {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.platform-design-card input[type="radio"] {
  margin-top: 0.18rem;
  accent-color: var(--color-brand-600);
}
.platform-design-card__edit {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(148 163 184 / 0.24);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.82);
  color: #64748b;
  box-shadow: 0 10px 22px rgb(15 23 42 / 0.08);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.platform-design-card__edit:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, #14b8a6 38%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--color-brand-500) 38%, transparent);
  }
  background: color-mix(in srgb, #f0fdfa 72%, #ffffff);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--color-brand-50) 72%, #ffffff);
  }
  color: var(--color-brand-700);
}
.platform-design-card__title {
  display: block;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.25;
}
.platform-design-card__copy {
  display: block;
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}
.platform-design-card__preview {
  display: grid;
  height: 7.25rem;
  grid-template-columns: 34% 1fr;
  overflow: hidden;
  border: 1px solid var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--preview-muted) 22%, transparent);
  }
  border-radius: 14px;
  background: radial-gradient(circle at 68% 12%, var(--preview-accent), transparent 46%), var(--preview-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 68% 12%, color-mix(in srgb, var(--preview-accent) 22%, transparent), transparent 46%), var(--preview-bg);
  }
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}
.platform-design-card__preview-sidebar {
  border-right: 1px solid var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-right: 1px solid color-mix(in srgb, var(--preview-muted) 20%, transparent);
  }
  background: var(--preview-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-surface) 82%, var(--preview-bg));
  }
}
.platform-design-card__preview-main {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem;
}
.platform-design-card__preview-main span {
  border: 1px solid var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--preview-muted) 18%, transparent);
  }
  border-radius: 10px;
  background: var(--preview-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-surface) 78%, transparent);
  }
}
.platform-design-card__preview-main span:first-child {
  width: 72%;
  background: var(--preview-primary);
}
.platform-design-card__preview-main span:last-child {
  width: 54%;
  background: var(--preview-accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-accent) 72%, var(--preview-surface));
  }
}
.platform-design-card__accent {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.45rem;
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / 0.18);
  border-radius: 999px;
  background: rgb(248 250 252 / 0.82);
  padding: 0.35rem 0.6rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}
.platform-design-card__accent-dot {
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  border-radius: 999px;
  box-shadow: 0 0 0 3px currentColor;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 8%, transparent);
  }
}
.platform-design-editors {
  display: grid;
  gap: 1rem;
}
.platform-design-editors--hidden {
  display: none;
}
.platform-design-editor {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}
.platform-design-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.platform-design-editor h4 {
  margin: 0;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 850;
}
.platform-design-editor p {
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}
.platform-design-editor__swatches {
  width: min(13rem, 38%);
}
.platform-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 0.75rem;
}
.platform-color-field {
  display: grid;
  gap: 0.4rem;
}
.platform-color-field__label {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.platform-color-field__control {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.platform-color-field__swatch {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-right: 1px solid rgb(15 23 42 / 0.08);
}
.platform-color-field__picker {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2.75rem;
  height: 2.75rem;
  opacity: 0.01;
  cursor: pointer;
}
.platform-color-field__hex {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.75rem 0.85rem;
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 800;
  outline: none;
  text-transform: lowercase;
}
.platform-theme-editor-modal {
  display: grid;
  gap: 1.25rem;
}
.platform-theme-preview {
  overflow: hidden;
  border: 1px solid var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--preview-muted) 24%, transparent);
  }
  border-radius: 24px;
  background: radial-gradient(560px 280px at 78% 4%, var(--preview-accent), transparent 70%), var(--preview-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(560px 280px at 78% 4%, color-mix(in srgb, var(--preview-accent) 20%, transparent), transparent 70%), var(--preview-bg);
  }
  box-shadow: 0 24px 70px rgb(15 23 42 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.09);
}
.platform-theme-preview--classic {
  background: radial-gradient(520px 260px at 80% 0%, var(--preview-accent), transparent 70%), linear-gradient(180deg, var(--preview-bg), #ffffff);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(520px 260px at 80% 0%, color-mix(in srgb, var(--preview-accent) 14%, transparent), transparent 70%), linear-gradient(180deg, var(--preview-bg), #ffffff);
  }
}
.platform-theme-preview--glamour {
  border-radius: 30px;
  background: radial-gradient(420px 220px at 0% 10%, var(--preview-accent), transparent 68%), radial-gradient(460px 260px at 100% 8%, var(--preview-accent), transparent 70%), linear-gradient(180deg, var(--preview-bg), #f5f1ed);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(420px 220px at 0% 10%, color-mix(in srgb, var(--preview-accent) 13%, transparent), transparent 68%), radial-gradient(460px 260px at 100% 8%, color-mix(in srgb, var(--preview-accent) 10%, transparent), transparent 70%), linear-gradient(180deg, var(--preview-bg), #f5f1ed);
  }
  box-shadow: 0 30px 90px rgb(22 18 12 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.72);
}
.platform-theme-preview--dark-neon {
  border-radius: 16px;
}
.platform-theme-preview--dark-futuristic {
  border-radius: 28px;
}
.platform-theme-preview__shell {
  display: grid;
  min-height: 18rem;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  color: var(--preview-text);
}
.platform-theme-preview__sidebar {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  border-right: 1px solid var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-right: 1px solid color-mix(in srgb, var(--preview-muted) 18%, transparent);
  }
  background: var(--preview-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-surface) 82%, var(--preview-bg));
  }
  padding: 1rem 0.9rem;
}
.platform-theme-preview__sidebar span:not(.platform-theme-preview__logo) {
  height: 0.54rem;
  border-radius: 999px;
  background: var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-muted) 34%, transparent);
  }
}
.platform-theme-preview__logo {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.55rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--preview-primary), var(--preview-accent));
  box-shadow: 0 0 22px var(--preview-accent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 22px color-mix(in srgb, var(--preview-accent) 28%, transparent);
  }
}
.platform-theme-preview__main {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.85rem;
  padding: 1rem;
}
.platform-theme-preview__header, .platform-theme-preview__hero, .platform-theme-preview__table {
  border: 1px solid var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--preview-muted) 18%, transparent);
  }
  background: var(--preview-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-surface) 86%, transparent);
  }
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
}
.platform-theme-preview__header {
  display: flex;
  height: 2.5rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  padding: 0 0.75rem;
}
.platform-theme-preview__header span:first-child {
  width: 42%;
  height: 0.52rem;
  border-radius: 999px;
  background: var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-muted) 30%, transparent);
  }
}
.platform-theme-preview__header span:last-child {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--preview-accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-accent) 24%, var(--preview-surface));
  }
}
.platform-theme-preview__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 18px;
  padding: 1rem;
}
.platform-theme-preview__eyebrow, .platform-theme-preview__headline, .platform-theme-preview__copy {
  display: block;
  border-radius: 999px;
}
.platform-theme-preview__eyebrow {
  width: 5rem;
  height: 0.42rem;
  margin-bottom: 0.65rem;
  background: var(--preview-accent);
}
.platform-theme-preview__headline {
  width: 10rem;
  height: 0.82rem;
  margin-bottom: 0.65rem;
  background: var(--preview-text);
}
.platform-theme-preview__copy {
  width: 8rem;
  height: 0.5rem;
  background: var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-muted) 50%, transparent);
  }
}
.platform-theme-preview__metric {
  width: 4.25rem;
  height: 4.25rem;
  flex: 0 0 auto;
  border-radius: 1.35rem;
  background: radial-gradient(circle at 50% 50%, var(--preview-accent), transparent 62%), var(--preview-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--preview-accent) 26%, transparent), transparent 62%), color-mix(in srgb, var(--preview-primary) 78%, var(--preview-surface));
  }
  box-shadow: 0 18px 38px var(--preview-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 18px 38px color-mix(in srgb, var(--preview-primary) 20%, transparent);
  }
}
.platform-theme-preview__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.platform-theme-preview__cards span {
  min-height: 3.7rem;
  border: 1px solid var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--preview-muted) 18%, transparent);
  }
  border-radius: 16px;
  background: var(--preview-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-surface) 88%, transparent);
  }
}
.platform-theme-preview__cards span:first-child {
  background: var(--preview-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-primary) 22%, var(--preview-surface));
  }
}
.platform-theme-preview__table {
  display: grid;
  gap: 0.55rem;
  border-radius: 16px;
  padding: 0.8rem;
}
.platform-theme-preview__table span {
  height: 0.54rem;
  border-radius: 999px;
  background: var(--preview-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--preview-muted) 32%, transparent);
  }
}
.platform-theme-preview__table span:nth-child(2) {
  width: 78%;
}
.platform-theme-preview__table span:nth-child(3) {
  width: 58%;
}
.platform-theme-editor-modal__controls {
  display: grid;
  gap: 1rem;
}
.platform-theme-editor-modal__label {
  margin: 0;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 850;
}
.platform-theme-editor-modal__hint {
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.55;
}
.platform-accent-input {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.platform-accent-input__swatch-button {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid rgb(15 23 42 / 0.08);
  background: transparent;
  padding: 0.42rem;
  cursor: pointer;
}
.platform-accent-input__swatch {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgb(15 23 42 / 0.1);
  border-radius: 0.9rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 8px 18px rgb(15 23 42 / 0.12);
}
.platform-accent-input input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.85rem 1rem;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 850;
  outline: none;
  text-transform: lowercase;
}
.platform-color-popover {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  padding: 0.9rem;
  box-shadow: 0 18px 50px rgb(15 23 42 / 0.14);
}
.platform-color-popover__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}
.platform-color-wheel {
  position: relative;
  width: min(13rem, 46vw);
  aspect-ratio: 1;
  border: 1px solid rgb(15 23 42 / 0.12);
  border-radius: 999px;
  background: linear-gradient(rgb(0 0 0 / var(--picker-value-alpha)), rgb(0 0 0 / var(--picker-value-alpha))), radial-gradient(circle, #ffffff 0%, rgb(255 255 255 / 0.9) 3%, rgb(255 255 255 / 0) 68%), conic-gradient(from 0deg, #f43f5e, #f97316, #facc15, #22c55e, #06b6d4, #3b82f6, #8b5cf6, #ec4899, #f43f5e);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 14px 36px rgb(15 23 42 / 0.12);
  cursor: crosshair;
  touch-action: none;
}
.platform-color-wheel__thumb {
  position: absolute;
  left: var(--picker-thumb-x);
  top: var(--picker-thumb-y);
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgb(15 23 42 / 0.34), 0 8px 16px rgb(15 23 42 / 0.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.platform-color-popover__side {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}
.platform-color-value-track {
  position: relative;
  width: 100%;
  min-width: 8rem;
  height: 1.05rem;
  border: 1px solid rgb(15 23 42 / 0.12);
  border-radius: 999px;
  background: linear-gradient(90deg, #000000, var(--picker-hue-color));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18);
  cursor: ew-resize;
  touch-action: none;
}
.platform-color-value-track__thumb {
  position: absolute;
  left: var(--picker-value);
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgb(15 23 42 / 0.34), 0 8px 16px rgb(15 23 42 / 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.platform-color-popover__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}
.platform-color-popover__meta strong {
  color: #0f172a;
}
.platform-tailwind-picker {
  display: grid;
  gap: 0.45rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
  padding: 0.75rem;
}
.platform-tailwind-picker__row {
  display: grid;
  grid-template-columns: 4.8rem minmax(0, 1fr);
  align-items: center;
  gap: 0.6rem;
}
.platform-tailwind-picker__name {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.platform-tailwind-picker__swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.38rem;
}
.platform-tailwind-picker__swatch {
  height: 1.8rem;
  border: 1px solid rgb(15 23 42 / 0.1);
  border-radius: 0.65rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.24);
  transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}
.platform-tailwind-picker__swatch:hover, .platform-tailwind-picker__swatch.is-selected {
  transform: translateY(-1px);
  border-color: rgb(15 23 42 / 0.26);
  box-shadow: 0 0 0 3px rgb(15 23 42 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.3);
}
.platform-derived-color-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  height: 0.75rem;
  border: 1px solid rgb(15 23 42 / 0.08);
  border-radius: 999px;
}
body[data-platform-design="dark-neon"], body[data-platform-design="dark-futuristic"] {
  --color-brand-50: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-50: color-mix(in srgb, var(--platform-primary) 10%, var(--platform-bg));
  }
  --color-brand-100: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-100: color-mix(in srgb, var(--platform-primary) 16%, var(--platform-bg));
  }
  --color-brand-200: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-200: color-mix(in srgb, var(--platform-primary) 28%, var(--platform-bg));
  }
  --color-brand-500: var(--platform-primary);
  --color-brand-600: var(--platform-primary);
  --color-brand-700: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-700: color-mix(in srgb, var(--platform-primary) 78%, #000000);
  }
  --color-brand-900: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-900: color-mix(in srgb, var(--platform-primary) 34%, #000000);
  }
  --design-bg-layer: var(--platform-bg);
  --design-panel: var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel: color-mix(in srgb, var(--platform-surface) 88%, var(--platform-bg));
  }
  --design-panel-2: var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel-2: color-mix(in srgb, var(--platform-surface) 72%, var(--platform-bg));
  }
  --design-panel-3: var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel-3: color-mix(in srgb, var(--platform-surface) 55%, var(--platform-bg));
  }
  --design-border: var(--platform-muted);
  @supports (color: color-mix(in lab, red, red)) {
    --design-border: color-mix(in srgb, var(--platform-muted) 22%, transparent);
  }
  --design-border-strong: var(--platform-muted);
  @supports (color: color-mix(in lab, red, red)) {
    --design-border-strong: color-mix(in srgb, var(--platform-muted) 38%, transparent);
  }
  --design-shadow: 0 28px 80px rgb(0 0 0 / 0.42), inset 0 1px 0 rgb(255 255 255 / 0.055);
  --design-radius: 14px;
  --design-radius-lg: 18px;
  --design-glow: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-glow: color-mix(in srgb, var(--platform-accent) 22%, transparent);
  }
  background: var(--design-bg-layer);
  color: var(--platform-text);
}
body[data-platform-design="classic"] {
  --color-brand-50: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-50: color-mix(in srgb, var(--platform-primary) 10%, #ffffff);
  }
  --color-brand-100: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-100: color-mix(in srgb, var(--platform-primary) 16%, #ffffff);
  }
  --color-brand-200: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-200: color-mix(in srgb, var(--platform-primary) 28%, #ffffff);
  }
  --color-brand-500: var(--platform-primary);
  --color-brand-600: var(--platform-primary);
  --color-brand-700: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-700: color-mix(in srgb, var(--platform-primary) 78%, #000000);
  }
  --color-brand-900: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-900: color-mix(in srgb, var(--platform-primary) 34%, #000000);
  }
  --design-bg-layer: #f8fafc;
  --design-panel: #ffffff;
  --design-panel-2: #f8fafc;
  --design-panel-3: #f1f5f9;
  --design-border: rgb(226 232 240 / 0.85);
  --design-border-strong: rgb(203 213 225 / 0.95);
  --design-shadow: var(--shadow-card);
  --design-shadow-soft: var(--shadow-soft);
  --design-radius: 12px;
  --design-radius-lg: 16px;
  --design-glow: transparent;
  background: var(--design-bg-layer);
  color: var(--platform-text);
}
body[data-platform-design="glamour"] {
  --color-brand-50: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-50: color-mix(in srgb, var(--platform-accent) 10%, #ffffff);
  }
  --color-brand-100: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-100: color-mix(in srgb, var(--platform-accent) 17%, #ffffff);
  }
  --color-brand-200: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-200: color-mix(in srgb, var(--platform-accent) 30%, #ffffff);
  }
  --color-brand-500: var(--platform-primary);
  --color-brand-600: var(--platform-primary);
  --color-brand-700: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --color-brand-700: color-mix(in srgb, var(--platform-primary) 74%, #171513);
  }
  --color-brand-900: #171513;
  --design-bg-layer: radial-gradient(circle at 0% 10%, var(--platform-accent), transparent 24rem),
    radial-gradient(circle at 100% 15%, var(--platform-accent), transparent 22rem),
    radial-gradient(circle at 50% 38%, var(--platform-accent), transparent 30rem),
    linear-gradient(180deg, #fbf9f6 0%, var(--platform-bg) 100%);
  @supports (color: color-mix(in lab, red, red)) {
    --design-bg-layer: radial-gradient(circle at 0% 10%, color-mix(in srgb, var(--platform-accent) 9%, transparent), transparent 24rem),
    radial-gradient(circle at 100% 15%, color-mix(in srgb, var(--platform-accent) 7%, transparent), transparent 22rem),
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--platform-accent) 6%, transparent), transparent 30rem),
    linear-gradient(180deg, #fbf9f6 0%, var(--platform-bg) 100%);
  }
  --design-panel: linear-gradient(180deg, rgb(255 255 255 / 0.88), var(--platform-surface));
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel: linear-gradient(180deg, rgb(255 255 255 / 0.88), color-mix(in srgb, var(--platform-surface) 74%, var(--platform-bg)));
  }
  --design-panel-2: #fbf7f3;
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel-2: color-mix(in srgb, #fbf7f3 82%, var(--platform-bg));
  }
  --design-panel-3: #f6ebe3;
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel-3: color-mix(in srgb, #f6ebe3 72%, var(--platform-bg));
  }
  --design-border: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-border: color-mix(in srgb, var(--platform-primary) 12%, #e9ded5);
  }
  --design-border-strong: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-border-strong: color-mix(in srgb, var(--platform-primary) 24%, #e6d8ce);
  }
  --design-shadow: 0 5px 16px rgb(88 58 35 / 0.035), 0 1px 2px rgb(88 58 35 / 0.02), inset 0 1px 0 rgb(255 255 255 / 0.72);
  --design-shadow-soft: 0 2px 8px rgb(88 58 35 / 0.022), inset 0 1px 0 rgb(255 255 255 / 0.72);
  --design-radius: 18px;
  --design-radius-lg: 28px;
  --design-glow: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-glow: color-mix(in srgb, var(--platform-accent) 18%, transparent);
  }
  --design-primary-soft: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-primary-soft: color-mix(in srgb, var(--platform-accent) 13%, #fffaf7);
  }
  --design-primary-wash: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-primary-wash: color-mix(in srgb, var(--platform-accent) 8%, #ffffff);
  }
  --design-accent-soft: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-accent-soft: color-mix(in srgb, var(--platform-accent) 18%, #fffaf7);
  }
  --design-danger-soft: color-mix(in srgb, #f43f5e 10%, #ffffff);
  --design-warning-soft: color-mix(in srgb, #f59e0b 14%, #ffffff);
  --design-success-soft: color-mix(in srgb, #10b981 10%, #ffffff);
  --design-control-bg: #fffdfb;
  --design-control-hover: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-control-hover: color-mix(in srgb, var(--platform-accent) 6%, #fffdfb);
  }
  --design-control-ring: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-control-ring: color-mix(in srgb, var(--platform-accent) 13%, transparent);
  }
  --design-primary-contrast: #ffffff;
  background: var(--design-bg-layer);
  color: var(--platform-text);
  accent-color: var(--platform-primary);
}
body[data-platform-design="dark-neon"] {
  --design-bg-layer: radial-gradient(circle at 50% 360px, var(--platform-accent), transparent 310px),
    radial-gradient(circle at 14% 14%, rgb(255 255 255 / 0.075), transparent 310px),
    radial-gradient(circle at 82% 4%, var(--platform-primary), transparent 260px),
    linear-gradient(180deg, #111111 0%, var(--platform-bg) 38%, #070707 100%);
  @supports (color: color-mix(in lab, red, red)) {
    --design-bg-layer: radial-gradient(circle at 50% 360px, color-mix(in srgb, var(--platform-accent) 20%, transparent), transparent 310px),
    radial-gradient(circle at 14% 14%, rgb(255 255 255 / 0.075), transparent 310px),
    radial-gradient(circle at 82% 4%, color-mix(in srgb, var(--platform-primary) 13%, transparent), transparent 260px),
    linear-gradient(180deg, #111111 0%, var(--platform-bg) 38%, #070707 100%);
  }
  --design-panel: var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel: color-mix(in srgb, var(--platform-surface) 86%, #111111);
  }
  --design-panel-2: var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel-2: color-mix(in srgb, var(--platform-surface) 70%, #111111);
  }
  --design-radius: 12px;
  --design-radius-lg: 14px;
  --design-shadow: 0 18px 44px rgb(0 0 0 / 0.34), inset 0 1px 0 rgb(255 255 255 / 0.04);
}
body[data-platform-design="dark-futuristic"] {
  --design-bg-layer: radial-gradient(1100px 520px at 54% -15%, var(--platform-primary), transparent 62%),
    radial-gradient(760px 420px at 96% 6%, var(--platform-accent), transparent 65%),
    radial-gradient(620px 520px at 76% 91%, var(--platform-accent), transparent 68%),
    linear-gradient(180deg, #060a12 0%, var(--platform-bg) 52%, #02050a 100%);
  @supports (color: color-mix(in lab, red, red)) {
    --design-bg-layer: radial-gradient(1100px 520px at 54% -15%, color-mix(in srgb, var(--platform-primary) 28%, transparent), transparent 62%),
    radial-gradient(760px 420px at 96% 6%, color-mix(in srgb, var(--platform-accent) 13%, transparent), transparent 65%),
    radial-gradient(620px 520px at 76% 91%, color-mix(in srgb, var(--platform-accent) 12%, transparent), transparent 68%),
    linear-gradient(180deg, #060a12 0%, var(--platform-bg) 52%, #02050a 100%);
  }
  --design-panel: var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel: color-mix(in srgb, var(--platform-surface) 66%, transparent);
  }
  --design-panel-2: var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --design-panel-2: color-mix(in srgb, var(--platform-surface) 52%, transparent);
  }
  --design-border: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-border: color-mix(in srgb, var(--platform-primary) 18%, transparent);
  }
  --design-border-strong: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-border-strong: color-mix(in srgb, var(--platform-primary) 30%, transparent);
  }
  --design-radius: 20px;
  --design-radius-lg: 26px;
  --design-shadow: 0 30px 90px rgb(0 0 0 / 0.48), 0 0 0 1px rgb(255 255 255 / 0.02), inset 0 1px 0 rgb(255 255 255 / 0.08);
}
body[data-platform-design="dark-neon"]::before, body[data-platform-design="dark-futuristic"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.026) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.026) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.65;
  mask-image: linear-gradient(180deg, black 0%, rgb(0 0 0 / 0.5) 60%, transparent 100%);
}
body[data-platform-design="dark-futuristic"]::before {
  background-image: radial-gradient(circle at 14% 10%, rgb(255 255 255 / 0.34) 0 1px, transparent 1.5px), radial-gradient(circle at 62% 16%, rgb(255 255 255 / 0.28) 0 1px, transparent 1.5px), radial-gradient(circle at 89% 38%, rgb(255 255 255 / 0.24) 0 1px, transparent 1.5px), linear-gradient(var(--platform-primary) 1px, transparent 1px), linear-gradient(90deg, var(--platform-primary) 1px, transparent 1px);
  @supports (color: color-mix(in lab, red, red)) {
    background-image: radial-gradient(circle at 14% 10%, rgb(255 255 255 / 0.34) 0 1px, transparent 1.5px), radial-gradient(circle at 62% 16%, rgb(255 255 255 / 0.28) 0 1px, transparent 1.5px), radial-gradient(circle at 89% 38%, rgb(255 255 255 / 0.24) 0 1px, transparent 1.5px), linear-gradient(color-mix(in srgb, var(--platform-primary) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--platform-primary) 7%, transparent) 1px, transparent 1px);
  }
  background-size: auto, auto, auto, 72px 72px, 72px 72px;
}
body[data-platform-design="dark-neon"]::after, body[data-platform-design="dark-futuristic"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.035), transparent 18%, transparent 82%, rgb(255 255 255 / 0.035)), radial-gradient(circle at 50% 0%, var(--design-glow), transparent 32rem);
}
body[data-platform-design="dark-neon"] #appBody, body[data-platform-design="dark-futuristic"] #appBody, body[data-platform-design="dark-neon"] #appMain, body[data-platform-design="dark-futuristic"] #appMain, body[data-platform-design="dark-neon"] #mainScrollArea, body[data-platform-design="dark-futuristic"] #mainScrollArea {
  background: transparent;
  color: var(--platform-text);
}
body[data-platform-design="classic"] #appMain, body[data-platform-design="classic"] #mainScrollArea {
  background: transparent;
  color: var(--platform-text);
}
body[data-platform-design="classic"] #appSidebar, body[data-platform-design="classic"] #supportNav, body[data-platform-design="classic"] #userSnippet {
  border-color: rgb(226 232 240 / 0.82);
  background: rgb(255 255 255 / 0.86);
}
body[data-platform-design="classic"] #appHeader, body[data-platform-design="classic"] .glass-header {
  border-color: rgb(226 232 240 / 0.82);
  background: rgb(255 255 255 / 0.78);
  color: var(--platform-text);
  box-shadow: none;
}
body[data-platform-design="glamour"] #appBody, body[data-platform-design="glamour"] #appMain, body[data-platform-design="glamour"] #mainScrollArea {
  background: transparent;
  color: var(--platform-text);
}
body[data-platform-design="glamour"] #appSidebar {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 15%, transparent);
  }
  background: rgb(255 255 255 / 0.76);
  box-shadow: 5px 0 18px rgb(88 58 35 / 0.022), inset -1px 0 0 rgb(255 255 255 / 0.78);
  backdrop-filter: blur(18px) saturate(128%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
}
body[data-platform-design="glamour"] #supportNav, body[data-platform-design="glamour"] #userSnippet, body[data-platform-design="glamour"] #appSidebar > div:first-child > div:first-child {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 12%, transparent);
  }
  background: rgb(255 255 255 / 0.66);
}
body[data-platform-design="glamour"] #appHeader, body[data-platform-design="glamour"] .glass-header {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 12%, transparent);
  }
  background: linear-gradient(180deg, rgb(249 246 242 / 0.94), rgb(249 246 242 / 0.82));
  color: var(--platform-text);
  box-shadow: 0 5px 16px rgb(88 58 35 / 0.026), inset 0 -1px 0 rgb(255 255 255 / 0.64);
  backdrop-filter: blur(14px) saturate(128%);
  -webkit-backdrop-filter: blur(14px) saturate(128%);
}
body[data-platform-design="glamour"] #viewRoot {
  color: var(--platform-text);
}
body[data-platform-design="glamour"] .bg-white, body[data-platform-design="glamour"] .bg-white\/80, body[data-platform-design="glamour"] .bg-white\/90, body[data-platform-design="glamour"] .bg-slate-50, body[data-platform-design="glamour"] .bg-slate-50\/50, body[data-platform-design="glamour"] .bg-slate-50\/70, body[data-platform-design="glamour"] .bg-slate-50\/80 {
  background: var(--design-panel) !important;
}
body[data-platform-design="glamour"] .bg-slate-100, body[data-platform-design="glamour"] .bg-slate-100\/50 {
  background: var(--design-panel-2) !important;
}
body[data-platform-design="glamour"] .bg-slate-950, body[data-platform-design="glamour"] .bg-slate-900, body[data-platform-design="glamour"] .bg-slate-800, body[data-platform-design="glamour"] .bg-brand-600, body[data-platform-design="glamour"] .bg-brand-700 {
  background: linear-gradient(135deg, #171513, var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, #171513, color-mix(in srgb, var(--platform-primary) 38%, #171513)) !important;
  }
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgb(22 18 12 / 0.055), inset 0 1px 0 rgb(255 255 255 / 0.08);
}
body[data-platform-design="glamour"] .border, body[data-platform-design="glamour"] .border-t, body[data-platform-design="glamour"] .border-b, body[data-platform-design="glamour"] .border-y, body[data-platform-design="glamour"] .border-slate-50, body[data-platform-design="glamour"] .border-slate-100, body[data-platform-design="glamour"] .border-slate-100\/60, body[data-platform-design="glamour"] .border-slate-200, body[data-platform-design="glamour"] .border-slate-200\/60, body[data-platform-design="glamour"] .border-slate-200\/70, body[data-platform-design="glamour"] .border-slate-200\/80, body[data-platform-design="glamour"] .border-slate-300, body[data-platform-design="glamour"] .divide-y > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--design-border) !important;
}
body[data-platform-design="glamour"] .text-slate-950, body[data-platform-design="glamour"] .text-slate-900, body[data-platform-design="glamour"] .text-slate-800 {
  color: var(--platform-text) !important;
}
body[data-platform-design="glamour"] .text-slate-700, body[data-platform-design="glamour"] .text-slate-600, body[data-platform-design="glamour"] .text-slate-500 {
  color: var(--platform-muted) !important;
}
body[data-platform-design="glamour"] .text-slate-400 {
  color: var(--platform-muted) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-muted) 70%, #ffffff) !important;
  }
}
body[data-platform-design="glamour"] #viewRoot > div > div[class*="bg-white"], body[data-platform-design="glamour"] #viewRoot section[class*="rounded"][class*="border"], body[data-platform-design="glamour"] #viewRoot section[class*="bg-white"], body[data-platform-design="glamour"] #viewRoot article[class*="border"], body[data-platform-design="glamour"] #viewRoot div[class*="rounded"][class*="border"] {
  border-color: var(--design-border) !important;
  background: var(--design-panel) !important;
  box-shadow: var(--design-shadow-soft);
}
body[data-platform-design="glamour"] input, body[data-platform-design="glamour"] textarea, body[data-platform-design="glamour"] select {
  border-color: var(--design-border) !important;
  background-color: var(--design-control-bg) !important;
  color: var(--platform-text) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.82), 0 2px 7px rgb(88 58 35 / 0.018);
}
body[data-platform-design="glamour"] input::placeholder, body[data-platform-design="glamour"] textarea::placeholder {
  color: var(--platform-muted);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-muted) 70%, #ffffff);
  }
}
body[data-platform-design="glamour"] input:focus, body[data-platform-design="glamour"] textarea:focus, body[data-platform-design="glamour"] select:focus {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 42%, var(--design-border)) !important;
  }
  box-shadow: 0 0 0 3px var(--design-control-ring), 0 4px 12px rgb(88 58 35 / 0.028) !important;
  outline: none;
}
body[data-platform-design="glamour"] input[type="checkbox"], body[data-platform-design="glamour"] input[type="radio"] {
  accent-color: var(--platform-primary);
}
body[data-platform-design="glamour"] .shadow-card, body[data-platform-design="glamour"] .shadow-soft, body[data-platform-design="glamour"] .shadow-premium {
  box-shadow: var(--design-shadow-soft) !important;
}
body[data-platform-design="glamour"] #appBody .shadow-sm, body[data-platform-design="glamour"] #appBody .shadow-md, body[data-platform-design="glamour"] #appBody .shadow-lg, body[data-platform-design="glamour"] #appBody .shadow-xl, body[data-platform-design="glamour"] #appBody .shadow-2xl, body[data-platform-design="glamour"] #appBody .shadow-card, body[data-platform-design="glamour"] #appBody .shadow-soft, body[data-platform-design="glamour"] #appBody .shadow-premium {
  box-shadow: var(--design-shadow-soft) !important;
}
body[data-platform-design="glamour"] #appBody .hover\:shadow-md:hover, body[data-platform-design="glamour"] #appBody .hover\:shadow-lg:hover, body[data-platform-design="glamour"] #appBody .hover\:shadow-xl:hover, body[data-platform-design="glamour"] #appBody .hover\:shadow-2xl:hover {
  box-shadow: var(--design-shadow) !important;
}
body[data-platform-design="glamour"] .rounded-2xl, body[data-platform-design="glamour"] .rounded-\[2rem\] {
  border-radius: var(--design-radius-lg) !important;
}
body[data-platform-design="glamour"] .rounded-xl {
  border-radius: var(--design-radius) !important;
}
body[data-platform-design="glamour"] .text-brand-600, body[data-platform-design="glamour"] .text-brand-700, body[data-platform-design="glamour"] .text-blue-600, body[data-platform-design="glamour"] .text-blue-700, body[data-platform-design="glamour"] .text-sky-600, body[data-platform-design="glamour"] .text-sky-700, body[data-platform-design="glamour"] .text-indigo-600, body[data-platform-design="glamour"] .text-indigo-700, body[data-platform-design="glamour"] .text-violet-600, body[data-platform-design="glamour"] .text-violet-700 {
  color: var(--platform-primary) !important;
}
body[data-platform-design="glamour"] .bg-brand-50, body[data-platform-design="glamour"] .bg-brand-100, body[data-platform-design="glamour"] .bg-blue-50, body[data-platform-design="glamour"] .bg-blue-100, body[data-platform-design="glamour"] .bg-sky-50, body[data-platform-design="glamour"] .bg-sky-100, body[data-platform-design="glamour"] .bg-indigo-50, body[data-platform-design="glamour"] .bg-indigo-100, body[data-platform-design="glamour"] .bg-violet-50, body[data-platform-design="glamour"] .bg-violet-100 {
  background: var(--design-primary-soft) !important;
  color: var(--platform-primary) !important;
}
body[data-platform-design="glamour"] .hover\:bg-slate-50:hover, body[data-platform-design="glamour"] .hover\:bg-slate-100:hover, body[data-platform-design="glamour"] .hover\:bg-brand-100:hover {
  background-color: var(--design-control-hover) !important;
}
body[data-platform-design="glamour"] button, body[data-platform-design="glamour"] a {
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}
body[data-platform-design="glamour"] button:active, body[data-platform-design="glamour"] a:active {
  transform: translateY(1px);
}
body[data-platform-design] .cover-color-picker button:active {
  transform: none;
}
body[data-platform-design] .authorflow-notes-actions .authorflow-notes-close:active {
  transform: translateY(-50%);
}
body[data-platform-design] .authorflow-studio-actions .authorflow-studio-close:active {
  transform: none;
}
body[data-platform-design] .authorflow-readonly-input > a:active {
  transform: translateY(-50%);
}
body[data-platform-design] .authorflow-flow-port:active {
  transform: translateY(-50%);
}
body[data-platform-design] .authorflow-flow-edge-label:active {
  transform: translate(-50%, -50%);
}
@media (max-width: 767px) {
  body[data-platform-design] .authorflow-notes-actions .authorflow-notes-close:active {
    transform: none;
  }
}
body[data-platform-design] .cover-gradient-bar button:active {
  transform: translate(-50%, -50%);
}
body[data-platform-design] button.cover-move-handle:active, body[data-platform-design] .cover-canvas-layer.is-dragging button.cover-move-handle {
  transform: translateY(-50%);
}
body[data-platform-design] button.cover-rotate-handle:active, body[data-platform-design] .cover-canvas-layer.is-rotating button.cover-rotate-handle {
  transform: translateX(-50%);
}
body[data-platform-design] button.cover-text-width-handle:active, body[data-platform-design] .cover-canvas-layer.is-resizing button.cover-text-width-handle {
  transform: translateY(-50%) scale(1.06);
}
body[data-platform-design] .authorflow-character-link:active {
  transform: translate(-50%, -100%);
}
body[data-platform-design] .cover-template-card__art > button:active {
  transform: translate(50%, 50%);
}
body[data-platform-design="dark-neon"] #appSidebar, body[data-platform-design="dark-futuristic"] #appSidebar {
  border-color: var(--design-border);
  background: var(--design-panel);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 86%, transparent);
  }
  box-shadow: 24px 0 70px rgb(0 0 0 / 0.28), inset -1px 0 0 rgb(255 255 255 / 0.025);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
body[data-platform-design="dark-neon"] #appSidebar {
  background: #151515;
}
body[data-platform-design="dark-futuristic"] #appSidebar {
  background: linear-gradient(180deg, var(--platform-surface), var(--platform-bg)), radial-gradient(420px 260px at 18% 4%, var(--platform-primary), transparent 65%);
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, color-mix(in srgb, var(--platform-surface) 64%, transparent), color-mix(in srgb, var(--platform-bg) 94%, transparent)), radial-gradient(420px 260px at 18% 4%, color-mix(in srgb, var(--platform-primary) 15%, transparent), transparent 65%);
  }
}
body[data-platform-design="dark-neon"] #appHeader, body[data-platform-design="dark-futuristic"] #appHeader, body[data-platform-design="dark-neon"] .glass-header, body[data-platform-design="dark-futuristic"] .glass-header {
  border-color: var(--design-border);
  background: var(--design-panel);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 80%, transparent);
  }
  color: var(--platform-text);
  box-shadow: 0 18px 60px rgb(0 0 0 / 0.22);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}
body[data-platform-design="dark-futuristic"] #appHeader::after {
  content: "";
  position: absolute;
  right: 2.5rem;
  bottom: -1px;
  left: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--platform-primary), transparent);
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--platform-primary) 42%, transparent), transparent);
  }
  pointer-events: none;
}
body[data-platform-design="dark-neon"] #viewRoot, body[data-platform-design="dark-futuristic"] #viewRoot {
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .bg-white, body[data-platform-design="dark-neon"] .bg-white\/80, body[data-platform-design="dark-neon"] .bg-white\/90, body[data-platform-design="dark-neon"] .bg-slate-50, body[data-platform-design="dark-neon"] .bg-slate-50\/50, body[data-platform-design="dark-neon"] .bg-slate-50\/70, body[data-platform-design="dark-neon"] .bg-slate-50\/80, body[data-platform-design="dark-futuristic"] .bg-white, body[data-platform-design="dark-futuristic"] .bg-white\/80, body[data-platform-design="dark-futuristic"] .bg-white\/90, body[data-platform-design="dark-futuristic"] .bg-slate-50, body[data-platform-design="dark-futuristic"] .bg-slate-50\/50, body[data-platform-design="dark-futuristic"] .bg-slate-50\/70, body[data-platform-design="dark-futuristic"] .bg-slate-50\/80 {
  background: var(--design-panel) !important;
}
body[data-platform-design="dark-neon"] .bg-slate-100, body[data-platform-design="dark-neon"] .bg-slate-100\/50, body[data-platform-design="dark-futuristic"] .bg-slate-100, body[data-platform-design="dark-futuristic"] .bg-slate-100\/50 {
  background: var(--design-panel-2) !important;
}
body[data-platform-design="dark-neon"] .bg-slate-950, body[data-platform-design="dark-futuristic"] .bg-slate-950 {
  background: var(--platform-primary) !important;
  color: #ffffff !important;
}
body[data-platform-design="dark-futuristic"] .bg-slate-950 {
  color: #06101d !important;
}
body[data-platform-design="dark-neon"] .border-slate-50, body[data-platform-design="dark-neon"] .border-slate-100, body[data-platform-design="dark-neon"] .border-slate-100\/60, body[data-platform-design="dark-neon"] .border-slate-200, body[data-platform-design="dark-neon"] .border-slate-200\/60, body[data-platform-design="dark-neon"] .border-slate-200\/70, body[data-platform-design="dark-neon"] .border-slate-200\/80, body[data-platform-design="dark-neon"] .border-slate-300, body[data-platform-design="dark-futuristic"] .border-slate-50, body[data-platform-design="dark-futuristic"] .border-slate-100, body[data-platform-design="dark-futuristic"] .border-slate-100\/60, body[data-platform-design="dark-futuristic"] .border-slate-200, body[data-platform-design="dark-futuristic"] .border-slate-200\/60, body[data-platform-design="dark-futuristic"] .border-slate-200\/70, body[data-platform-design="dark-futuristic"] .border-slate-200\/80, body[data-platform-design="dark-futuristic"] .border-slate-300 {
  border-color: var(--design-border) !important;
}
body[data-platform-design="dark-neon"] .text-slate-950, body[data-platform-design="dark-neon"] .text-slate-900, body[data-platform-design="dark-neon"] .text-slate-800, body[data-platform-design="dark-futuristic"] .text-slate-950, body[data-platform-design="dark-futuristic"] .text-slate-900, body[data-platform-design="dark-futuristic"] .text-slate-800 {
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .text-slate-700, body[data-platform-design="dark-neon"] .text-slate-600, body[data-platform-design="dark-neon"] .text-slate-500, body[data-platform-design="dark-futuristic"] .text-slate-700, body[data-platform-design="dark-futuristic"] .text-slate-600, body[data-platform-design="dark-futuristic"] .text-slate-500 {
  color: var(--platform-muted) !important;
}
body[data-platform-design="dark-neon"] .text-slate-400, body[data-platform-design="dark-futuristic"] .text-slate-400 {
  color: var(--platform-muted) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-muted) 82%, var(--platform-text)) !important;
  }
}
body[data-platform-design="dark-neon"] input, body[data-platform-design="dark-neon"] textarea, body[data-platform-design="dark-neon"] select, body[data-platform-design="dark-futuristic"] input, body[data-platform-design="dark-futuristic"] textarea, body[data-platform-design="dark-futuristic"] select {
  border-color: var(--design-border) !important;
  background-color: var(--design-panel-2) !important;
  color: var(--platform-text) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
}
body[data-platform-design="dark-neon"] input::placeholder, body[data-platform-design="dark-neon"] textarea::placeholder, body[data-platform-design="dark-futuristic"] input::placeholder, body[data-platform-design="dark-futuristic"] textarea::placeholder {
  color: var(--platform-muted);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-muted) 72%, transparent);
  }
}
body[data-platform-design="dark-neon"] .sop-inline-chip-select-wrap, body[data-platform-design="dark-futuristic"] .sop-inline-chip-select-wrap {
  border: 1px solid var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-primary) 18%, rgb(255 255 255 / 0.08));
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 13%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.045);
}
body[data-platform-design="dark-neon"] .sop-inline-chip-select, body[data-platform-design="dark-futuristic"] .sop-inline-chip-select {
  max-width: min(15rem, 34vw);
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: inherit !important;
  line-height: 1.15;
  outline: none !important;
  padding: 0 !important;
  text-overflow: ellipsis;
}
body[data-platform-design="dark-neon"] #viewRoot tbody tr:hover, body[data-platform-design="dark-futuristic"] #viewRoot tbody tr:hover {
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 8%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] #viewRoot tbody.divide-y > :where(:not(:last-child)), body[data-platform-design="dark-neon"] #viewRoot tbody.divide-y > :not([hidden]) ~ :not([hidden]), body[data-platform-design="dark-neon"] #viewRoot tbody.divide-slate-50 > :where(:not(:last-child)), body[data-platform-design="dark-neon"] #viewRoot tbody.divide-slate-50 > :not([hidden]) ~ :not([hidden]), body[data-platform-design="dark-futuristic"] #viewRoot tbody.divide-y > :where(:not(:last-child)), body[data-platform-design="dark-futuristic"] #viewRoot tbody.divide-y > :not([hidden]) ~ :not([hidden]), body[data-platform-design="dark-futuristic"] #viewRoot tbody.divide-slate-50 > :where(:not(:last-child)), body[data-platform-design="dark-futuristic"] #viewRoot tbody.divide-slate-50 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 10%, rgb(255 255 255 / 0.055)) !important;
  }
  border-top-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-top-color: color-mix(in srgb, var(--platform-primary) 10%, rgb(255 255 255 / 0.055)) !important;
  }
  border-bottom-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom-color: color-mix(in srgb, var(--platform-primary) 10%, rgb(255 255 255 / 0.055)) !important;
  }
}
body[data-platform-design="dark-neon"] button:hover, body[data-platform-design="dark-neon"] .hover\:bg-slate-50:hover, body[data-platform-design="dark-neon"] .hover\:bg-slate-100:hover, body[data-platform-design="dark-futuristic"] button:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-slate-50:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-slate-100:hover {
  background-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background-color: color-mix(in srgb, var(--platform-primary) 14%, var(--design-panel-2)) !important;
  }
}
body[data-platform-design="dark-neon"] .shadow-card, body[data-platform-design="dark-neon"] .shadow-soft, body[data-platform-design="dark-neon"] .shadow-premium, body[data-platform-design="dark-futuristic"] .shadow-card, body[data-platform-design="dark-futuristic"] .shadow-soft, body[data-platform-design="dark-futuristic"] .shadow-premium {
  box-shadow: var(--design-shadow) !important;
}
body[data-platform-design="dark-neon"] .rounded-2xl, body[data-platform-design="dark-neon"] .rounded-\[2rem\], body[data-platform-design="dark-futuristic"] .rounded-2xl, body[data-platform-design="dark-futuristic"] .rounded-\[2rem\] {
  border-radius: var(--design-radius-lg) !important;
}
body[data-platform-design="dark-neon"] .rounded-xl, body[data-platform-design="dark-futuristic"] .rounded-xl {
  border-radius: var(--design-radius) !important;
}
body[data-platform-design="dark-neon"] .platform-design-card, body[data-platform-design="dark-neon"] .platform-design-editor, body[data-platform-design="dark-neon"] .theme-option-card, body[data-platform-design="dark-futuristic"] .platform-design-card, body[data-platform-design="dark-futuristic"] .platform-design-editor, body[data-platform-design="dark-futuristic"] .theme-option-card {
  border-color: var(--design-border);
  background: var(--design-panel);
  box-shadow: var(--design-shadow);
}
body[data-platform-design="dark-neon"] .platform-design-card__title, body[data-platform-design="dark-neon"] .platform-design-editor h4, body[data-platform-design="dark-futuristic"] .platform-design-card__title, body[data-platform-design="dark-futuristic"] .platform-design-editor h4 {
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .platform-design-card__copy, body[data-platform-design="dark-neon"] .platform-design-editor p, body[data-platform-design="dark-neon"] .platform-color-field__label, body[data-platform-design="dark-futuristic"] .platform-design-card__copy, body[data-platform-design="dark-futuristic"] .platform-design-editor p, body[data-platform-design="dark-futuristic"] .platform-color-field__label {
  color: var(--platform-muted);
}
body[data-platform-design="dark-neon"] .platform-color-field__control, body[data-platform-design="dark-futuristic"] .platform-color-field__control {
  border-color: var(--design-border);
  background: var(--design-panel-2);
}
body[data-platform-design="dark-neon"] .platform-color-field__hex, body[data-platform-design="dark-futuristic"] .platform-color-field__hex {
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .platform-design-card__edit, body[data-platform-design="dark-futuristic"] .platform-design-card__edit {
  border-color: var(--design-border);
  background: var(--design-panel-2);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 88%, transparent);
  }
  color: var(--platform-muted);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
}
body[data-platform-design="dark-neon"] .platform-design-card__edit:hover, body[data-platform-design="dark-futuristic"] .platform-design-card__edit:hover {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 42%, transparent);
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 18%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .platform-design-card__accent, body[data-platform-design="dark-futuristic"] .platform-design-card__accent {
  border-color: var(--design-border);
  background: var(--design-panel-2);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 72%, transparent);
  }
  color: var(--platform-muted);
}
body[data-platform-design="dark-neon"] .platform-theme-editor-modal__label, body[data-platform-design="dark-futuristic"] .platform-theme-editor-modal__label {
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .platform-theme-editor-modal__hint, body[data-platform-design="dark-futuristic"] .platform-theme-editor-modal__hint, body[data-platform-design="dark-neon"] .platform-tailwind-picker__name, body[data-platform-design="dark-futuristic"] .platform-tailwind-picker__name {
  color: var(--platform-muted);
}
body[data-platform-design="dark-neon"] .platform-accent-input, body[data-platform-design="dark-neon"] .platform-color-popover, body[data-platform-design="dark-neon"] .platform-tailwind-picker, body[data-platform-design="dark-futuristic"] .platform-accent-input, body[data-platform-design="dark-futuristic"] .platform-color-popover, body[data-platform-design="dark-futuristic"] .platform-tailwind-picker {
  border-color: var(--design-border);
  background: var(--design-panel-2);
  box-shadow: var(--design-shadow);
}
body[data-platform-design="dark-neon"] .platform-accent-input__swatch-button, body[data-platform-design="dark-futuristic"] .platform-accent-input__swatch-button {
  border-right-color: var(--design-border);
}
body[data-platform-design="dark-neon"] .platform-accent-input input, body[data-platform-design="dark-futuristic"] .platform-accent-input input {
  background: transparent !important;
  color: var(--platform-text);
  box-shadow: none;
}
body[data-platform-design="dark-neon"] .platform-color-popover__meta, body[data-platform-design="dark-futuristic"] .platform-color-popover__meta {
  color: var(--platform-muted);
}
body[data-platform-design="dark-neon"] .platform-color-popover__meta strong, body[data-platform-design="dark-futuristic"] .platform-color-popover__meta strong {
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .platform-tailwind-picker__swatch, body[data-platform-design="dark-futuristic"] .platform-tailwind-picker__swatch {
  border-color: var(--platform-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-muted) 20%, transparent);
  }
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16);
}
body[data-platform-design="dark-neon"] .platform-tailwind-picker__swatch:hover, body[data-platform-design="dark-neon"] .platform-tailwind-picker__swatch.is-selected, body[data-platform-design="dark-futuristic"] .platform-tailwind-picker__swatch:hover, body[data-platform-design="dark-futuristic"] .platform-tailwind-picker__swatch.is-selected {
  border-color: var(--platform-text);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-text) 42%, transparent);
  }
  box-shadow: 0 0 0 3px var(--platform-primary), inset 0 1px 0 rgb(255 255 255 / 0.22);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--platform-primary) 22%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.22);
  }
}
body[data-platform-design="glamour"] .platform-design-card, body[data-platform-design="glamour"] .platform-design-editor, body[data-platform-design="glamour"] .theme-option-card {
  border-color: var(--design-border);
  background: var(--design-panel);
  box-shadow: var(--design-shadow-soft);
}
body[data-platform-design="glamour"] .platform-design-card.is-selected, body[data-platform-design="glamour"] .platform-design-card:has(input[type="radio"]:checked) {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 38%, var(--design-border));
  }
  background: linear-gradient(180deg, #fffaf7 0%, #fbf1ea 100%) !important;
  box-shadow: 0 0 0 2px var(--platform-primary), var(--design-shadow-soft);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--platform-primary) 8%, transparent), var(--design-shadow-soft);
  }
}
body[data-platform-design="glamour"] .platform-design-card__title, body[data-platform-design="glamour"] .platform-design-editor h4, body[data-platform-design="glamour"] .platform-theme-editor-modal__label {
  color: var(--platform-text);
}
body[data-platform-design="glamour"] .platform-design-card__copy, body[data-platform-design="glamour"] .platform-design-editor p, body[data-platform-design="glamour"] .platform-color-field__label, body[data-platform-design="glamour"] .platform-theme-editor-modal__hint, body[data-platform-design="glamour"] .platform-tailwind-picker__name {
  color: var(--platform-muted);
}
body[data-platform-design="glamour"] .platform-design-card__edit, body[data-platform-design="glamour"] .platform-accent-input__swatch-button {
  border-color: var(--design-border);
  background: rgb(255 253 251 / 0.9);
  color: var(--platform-muted);
  box-shadow: 0 2px 8px rgb(88 58 35 / 0.022), inset 0 1px 0 rgb(255 255 255 / 0.78);
}
body[data-platform-design="glamour"] .platform-design-card__edit:hover {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 42%, transparent);
  }
  background: var(--design-control-hover) !important;
  color: var(--platform-primary);
}
body[data-platform-design="glamour"] .platform-design-card__accent, body[data-platform-design="glamour"] .platform-accent-input, body[data-platform-design="glamour"] .platform-color-popover, body[data-platform-design="glamour"] .platform-tailwind-picker, body[data-platform-design="glamour"] .platform-color-field__control {
  border-color: var(--design-border);
  background: var(--design-control-bg);
  box-shadow: 0 3px 12px rgb(88 58 35 / 0.026), inset 0 1px 0 rgb(255 255 255 / 0.78);
}
body[data-platform-design="glamour"] .platform-color-field__hex, body[data-platform-design="glamour"] .platform-accent-input input {
  background: transparent !important;
  color: var(--platform-text);
  box-shadow: none;
}
body[data-platform-design="glamour"] .platform-color-popover__meta {
  color: var(--platform-muted);
}
body[data-platform-design="glamour"] .platform-color-popover__meta strong {
  color: var(--platform-text);
}
body[data-platform-design="glamour"] .platform-tailwind-picker__swatch {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 20%, transparent);
  }
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.72);
}
body[data-platform-design="glamour"] .platform-tailwind-picker__swatch:hover, body[data-platform-design="glamour"] .platform-tailwind-picker__swatch.is-selected {
  border-color: var(--platform-text);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-text) 28%, transparent);
  }
  box-shadow: 0 0 0 3px var(--design-control-ring), inset 0 1px 0 rgb(255 255 255 / 0.82);
}
body[data-platform-design="glamour"] .custom-select-trigger, body[data-platform-design="glamour"] .custom-select-dropdown, body[data-platform-design="glamour"] .custom-select-option-tooltip, body[data-platform-design="glamour"] .custom-select-option-tooltip::after {
  border-color: var(--design-border);
  background: #ffffff;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #ffffff 95%, var(--platform-bg));
  }
  color: var(--platform-text);
  box-shadow: var(--design-shadow-soft);
}
body[data-platform-design="glamour"] .custom-select-option-tooltip__meta {
  color: var(--platform-text);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-text) 72%, var(--platform-bg));
  }
}
body[data-platform-design="glamour"] .custom-select-trigger:hover:not(:disabled), body[data-platform-design="glamour"] .custom-select-trigger:focus-visible, body[data-platform-design="glamour"] .custom-select[data-open="true"] .custom-select-trigger {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 34%, var(--design-border));
  }
  background: var(--design-control-hover);
  box-shadow: 0 0 0 3px var(--design-control-ring), 0 3px 12px rgb(88 58 35 / 0.026);
}
body[data-platform-design="glamour"] .custom-select-option {
  color: var(--platform-text);
}
body[data-platform-design="glamour"] .custom-select-option:hover:not(:disabled), body[data-platform-design="glamour"] .custom-select-option:focus-visible, body[data-platform-design="glamour"] .custom-select-option.is-selected {
  background: var(--design-control-hover);
  color: var(--platform-primary);
}
body[data-platform-design="glamour"] .custom-select-trigger__icon, body[data-platform-design="glamour"] .custom-select-option__check {
  color: var(--platform-primary);
}
body[data-platform-design="glamour"] .custom-select-trigger__meta, body[data-platform-design="glamour"] .custom-select-option__meta, body[data-platform-design="glamour"] .custom-select-group-label {
  color: var(--platform-muted);
}
body[data-platform-design="glamour"] #modalPanel, body[data-platform-design="glamour"] #companyModal, body[data-platform-design="glamour"] .confirm-dialog-card, body[data-platform-design="glamour"] .global-search-dropdown {
  border-color: var(--design-border) !important;
  background: var(--design-panel) !important;
  color: var(--platform-text) !important;
  box-shadow: 0 18px 50px rgb(22 18 12 / 0.075), 0 1px 2px rgb(22 18 12 / 0.028), inset 0 1px 0 rgb(255 255 255 / 0.76) !important;
}
body[data-platform-design="glamour"] #modalPanel .border-b, body[data-platform-design="glamour"] #modalPanel .border-t, body[data-platform-design="glamour"] #modalPanel .bg-white, body[data-platform-design="glamour"] #companyModal .border-b, body[data-platform-design="glamour"] #companyModal .border-t, body[data-platform-design="glamour"] #companyModal .bg-white {
  border-color: var(--design-border) !important;
  background: #ffffff !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #ffffff 86%, var(--platform-bg)) !important;
  }
}
body[data-platform-design="glamour"] #modalBackdrop, body[data-platform-design="glamour"] .confirm-dialog-backdrop, body[data-platform-design="glamour"] .sop-video-dialog__backdrop, body[data-platform-design="glamour"] .sop-image-lightbox__backdrop {
  background: radial-gradient(620px 460px at 78% 16%, var(--platform-primary), transparent 72%), radial-gradient(520px 420px at 14% 86%, var(--platform-accent), transparent 72%), rgb(43 31 22 / 0.38) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(620px 460px at 78% 16%, color-mix(in srgb, var(--platform-primary) 13%, transparent), transparent 72%), radial-gradient(520px 420px at 14% 86%, color-mix(in srgb, var(--platform-accent) 10%, transparent), transparent 72%), rgb(43 31 22 / 0.38) !important;
  }
  backdrop-filter: blur(10px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(112%) !important;
}
body[data-platform-design="glamour"] .confirm-dialog-title {
  color: var(--platform-text) !important;
}
body[data-platform-design="glamour"] .confirm-dialog-message, body[data-platform-design="glamour"] .confirm-dialog-details {
  color: var(--platform-muted) !important;
}
body[data-platform-design="glamour"] .confirm-dialog-details, body[data-platform-design="glamour"] .confirm-dialog-icon, body[data-platform-design="glamour"] .confirm-dialog-cancel {
  border-color: var(--design-border) !important;
  background: var(--design-control-bg) !important;
  color: var(--platform-muted) !important;
}
body[data-platform-design="glamour"] .confirm-dialog-action {
  border-color: #171513 !important;
  background: linear-gradient(135deg, #171513, var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, #171513, color-mix(in srgb, var(--platform-primary) 36%, #171513)) !important;
  }
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgb(22 18 12 / 0.09), inset 0 1px 0 rgb(255 255 255 / 0.08) !important;
}
body[data-platform-design="glamour"] .confirm-dialog-action:hover {
  background: linear-gradient(135deg, var(--platform-primary), var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--platform-primary) 18%, #171513), color-mix(in srgb, var(--platform-primary) 52%, #171513)) !important;
  }
  color: #ffffff !important;
}
body[data-platform-design="glamour"] .profile-password-reset-card {
  accent-color: var(--platform-primary);
}
body[data-platform-design="glamour"] .pricing-plan-card {
  border-color: var(--design-border);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--design-border) 84%, transparent);
  }
  background: linear-gradient(180deg, rgb(255 255 255 / 0.96), var(--design-panel)), var(--design-panel);
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.96), color-mix(in srgb, var(--design-panel) 92%, #fff8f2)), var(--design-panel);
  }
  box-shadow: 0 10px 26px rgb(61 45 31 / 0.065);
}
body[data-platform-design="glamour"] .pricing-plan-card--featured, body[data-platform-design="glamour"] .pricing-plan-card--current {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 42%, var(--design-border));
  }
  box-shadow: 0 14px 34px rgb(61 45 31 / 0.085);
}
body[data-platform-design="glamour"] .pricing-plan-card__badge, body[data-platform-design="glamour"] .pricing-plan-card__check {
  background: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 9%, #fff9f4);
  }
}
body[data-platform-design="glamour"] .pricing-plan-card__cta {
  background: linear-gradient(135deg, #171513, var(--platform-primary));
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, #171513, color-mix(in srgb, var(--platform-primary) 34%, #171513));
  }
  color: #ffffff;
  box-shadow: 0 10px 22px rgb(61 45 31 / 0.1);
}
body[data-platform-design="glamour"] .pricing-plan-card--landing {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.98), var(--design-panel)), var(--design-panel);
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.98), color-mix(in srgb, var(--design-panel) 96%, #fffaf6)), var(--design-panel);
  }
  box-shadow: 0 12px 28px rgb(61 45 31 / 0.055);
}
body[data-platform-design="glamour"] .pricing-plan-card--landing.pricing-plan-card--featured {
  box-shadow: 0 16px 34px rgb(61 45 31 / 0.075);
}
body[data-platform-design="glamour"] ::selection {
  background: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-accent) 30%, transparent);
  }
  color: var(--platform-text);
}
body[data-platform-design="glamour"] *:focus-visible {
  outline-color: var(--platform-primary);
}
body[data-platform-design="glamour"] ::-webkit-scrollbar-thumb {
  background: #d8c8bd;
  border: 2px solid transparent;
  background-clip: padding-box;
}
body[data-platform-design="glamour"] .landing-theme-root {
  --landing-primary: var(--platform-primary) !important;
  --landing-accent: var(--platform-accent) !important;
  --landing-soft: #f6ebe3 !important;
  --landing-surface: #ffffff !important;
  --landing-text: var(--platform-text) !important;
  --landing-muted: var(--platform-muted) !important;
  --landing-primary-text: #ffffff !important;
  --landing-glass-border: var(--design-border);
  --landing-glass-border-strong: var(--design-border-strong);
  --landing-card-radius: 30px;
  --landing-control-radius: 999px;
  --landing-hero-title-weight: 900;
  --landing-section-title-weight: 900;
  --landing-card-title-weight: 850;
  --landing-glass-surface: linear-gradient(180deg, rgb(255 255 255 / 0.88), #ffffff),
    #ffffff;
  @supports (color: color-mix(in lab, red, red)) {
    --landing-glass-surface: linear-gradient(180deg, rgb(255 255 255 / 0.88), color-mix(in srgb, #ffffff 74%, var(--platform-bg))),
    #ffffff;
  }
  background: var(--design-bg-layer) !important;
  color: var(--platform-text) !important;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[data-platform-design="glamour"] .landing-theme-root header.fixed {
  top: 18px !important;
  left: 50% !important;
  right: auto !important;
  width: min(calc(100% - 32px), 1140px) !important;
  transform: translateX(-50%);
  border: 1px solid rgb(223 214 204 / 0.78) !important;
  border-radius: 24px !important;
  background: rgb(245 245 243 / 0.84) !important;
  box-shadow: 0 16px 46px rgb(22 18 12 / 0.06) !important;
  backdrop-filter: blur(18px) saturate(128%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(128%) !important;
}
body[data-platform-design="glamour"] .landing-theme-root header .mx-auto {
  max-width: 100% !important;
  padding: 12px 18px !important;
}
body[data-platform-design="glamour"] .landing-theme-root main.pt-20, body[data-platform-design="glamour"] .landing-theme-root main.lg\:pt-\[72px\] {
  padding-top: 112px !important;
}
body[data-platform-design="glamour"] .landing-theme-root section {
  background: transparent !important;
  border-color: var(--landing-glass-border) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-section-mobile-padding-hero section {
  position: relative;
  overflow: hidden !important;
  isolation: isolate;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-section-mobile-padding-hero section::before {
  content: "";
  position: absolute;
  left: -180px;
  top: -50px;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(0 0 0 / 0.07), transparent 68%);
  filter: blur(20px);
  opacity: 0.45;
  pointer-events: none;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-section-mobile-padding-hero section::after {
  content: "";
  position: absolute;
  right: -160px;
  top: 110px;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--platform-accent), transparent 68%);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle, color-mix(in srgb, var(--platform-accent) 10%, transparent), transparent 68%);
  }
  filter: blur(24px);
  opacity: 0.52;
  pointer-events: none;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-section-mobile-padding-hero section > div {
  position: relative;
  z-index: 1;
  padding-top: 64px !important;
  padding-bottom: 52px !important;
}
body[data-platform-design="glamour"] .landing-theme-root h1, body[data-platform-design="glamour"] .landing-theme-root h2, body[data-platform-design="glamour"] .landing-theme-root h3, body[data-platform-design="glamour"] .landing-theme-root .public-landing-hero-title {
  color: var(--platform-text) !important;
  letter-spacing: -0.055em !important;
}
body[data-platform-design="glamour"] .landing-theme-root .public-landing-hero-title {
  max-width: 980px !important;
  font-size: clamp(42px, 6vw, 82px) !important;
  line-height: 0.96 !important;
  font-weight: var(--landing-hero-title-weight) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-hero-zettelchaos-text {
  color: var(--platform-primary) !important;
  -webkit-text-fill-color: currentColor !important;
  filter: none !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-hero-zettelchaos-underline {
  color: var(--platform-accent) !important;
  opacity: 0.78;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-featuresheadline, body[data-platform-design="glamour"] .landing-theme-root .landing-style-usecasesheadline, body[data-platform-design="glamour"] .landing-theme-root .landing-style-workflowheadline, body[data-platform-design="glamour"] .landing-theme-root .landing-style-pricingheadline, body[data-platform-design="glamour"] .landing-theme-root .landing-style-faqheadline, body[data-platform-design="glamour"] .landing-theme-root .landing-style-finalheadline {
  font-size: clamp(34px, 4.6vw, 58px) !important;
  font-weight: var(--landing-section-title-weight) !important;
  line-height: 0.99 !important;
  text-wrap: balance;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-features-0-title, body[data-platform-design="glamour"] .landing-theme-root .landing-style-features-1-title, body[data-platform-design="glamour"] .landing-theme-root .landing-style-proofheadline, body[data-platform-design="glamour"] .landing-theme-root [class*="landing-style-secondaryfeatures-"][class*="-title"] {
  color: var(--platform-text) !important;
  font-weight: var(--landing-card-title-weight) !important;
  letter-spacing: -0.035em !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-subheadline, body[data-platform-design="glamour"] .landing-theme-root .landing-style-featuresbody, body[data-platform-design="glamour"] .landing-theme-root .landing-style-usecasesbody, body[data-platform-design="glamour"] .landing-theme-root .landing-style-workflowbody, body[data-platform-design="glamour"] .landing-theme-root .landing-style-pricingbody, body[data-platform-design="glamour"] .landing-theme-root .landing-style-finalbody {
  color: var(--platform-muted) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-eyebrow {
  border: 1px solid var(--landing-glass-border) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--platform-primary) !important;
  box-shadow: 0 12px 28px rgb(22 18 12 / 0.05) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-eyebrow span.h-2 {
  background: var(--platform-accent) !important;
  box-shadow: 0 0 0 4px var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--platform-accent) 12%, transparent);
  }
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-pricingeyebrow, body[data-platform-design="glamour"] .landing-theme-root .landing-style-faqeyebrow, body[data-platform-design="glamour"] .landing-theme-root .landing-style-finaleyebrow, body[data-platform-design="glamour"] .landing-theme-root .landing-style-languageeyebrow {
  color: var(--platform-primary) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-primarycta, body[data-platform-design="glamour"] .landing-theme-root .landing-style-primaryctabutton, body[data-platform-design="glamour"] .landing-theme-root .landing-style-pricingctabutton, body[data-platform-design="glamour"] .landing-theme-root .landing-style-finalprimaryctabutton, body[data-platform-design="glamour"] .landing-theme-root .landing-pricing-cta {
  border: 1px solid #171513 !important;
  border-radius: var(--landing-control-radius) !important;
  background: linear-gradient(135deg, #171513, var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, #171513, color-mix(in srgb, var(--platform-primary) 36%, #171513)) !important;
  }
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgb(16 16 16 / 0.14) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-secondarycta, body[data-platform-design="glamour"] .landing-theme-root .landing-style-secondaryctabutton, body[data-platform-design="glamour"] .landing-theme-root .landing-style-finalsecondarycta, body[data-platform-design="glamour"] .landing-theme-root .landing-style-finalsecondaryctabutton {
  border: 1px solid var(--landing-glass-border) !important;
  border-radius: var(--landing-control-radius) !important;
  background: #ffffff !important;
  color: var(--platform-primary) !important;
  box-shadow: 0 12px 24px rgb(22 18 12 / 0.06) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-primarycta:hover, body[data-platform-design="glamour"] .landing-theme-root .landing-style-primaryctabutton:hover, body[data-platform-design="glamour"] .landing-theme-root .landing-style-secondarycta:hover, body[data-platform-design="glamour"] .landing-theme-root .landing-style-secondaryctabutton:hover, body[data-platform-design="glamour"] .landing-theme-root .landing-style-pricingctabutton:hover, body[data-platform-design="glamour"] .landing-theme-root .landing-style-finalprimaryctabutton:hover, body[data-platform-design="glamour"] .landing-theme-root .landing-style-finalsecondaryctabutton:hover {
  transform: translateY(-2px) !important;
}
body[data-platform-design="glamour"] .landing-theme-root article.group, body[data-platform-design="glamour"] .landing-theme-root .public-faq-card, body[data-platform-design="glamour"] .landing-theme-root #ablauf article, body[data-platform-design="glamour"] .landing-theme-root #preise .overflow-hidden.rounded-\[2rem\], body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-story-instructions > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-story-onboarding > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-story-proof > div, body[data-platform-design="glamour"] .landing-theme-root .landing-section-mobile-padding-final section, body[data-platform-design="glamour"] .landing-theme-root .landing-pricing-trial-pill, body[data-platform-design="glamour"] .landing-theme-root details {
  border: 1px solid var(--landing-glass-border) !important;
  border-radius: var(--landing-card-radius) !important;
  background: var(--landing-glass-surface) !important;
  box-shadow: var(--design-shadow) !important;
}
body[data-platform-design="glamour"] .landing-theme-root article.group {
  padding: 24px !important;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease !important;
}
body[data-platform-design="glamour"] .landing-theme-root article.group:hover {
  transform: translateY(-5px) !important;
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 34%, var(--landing-glass-border)) !important;
  }
  box-shadow: 0 24px 64px rgb(88 58 35 / 0.11) !important;
}
body[data-platform-design="glamour"] .landing-theme-root #produkt, body[data-platform-design="glamour"] .landing-theme-root #funktionen, body[data-platform-design="glamour"] .landing-theme-root #ablauf, body[data-platform-design="glamour"] .landing-theme-root #preise, body[data-platform-design="glamour"] .landing-theme-root #faq {
  position: relative;
}
body[data-platform-design="glamour"] .landing-theme-root #produkt::before, body[data-platform-design="glamour"] .landing-theme-root #funktionen::before, body[data-platform-design="glamour"] .landing-theme-root #ablauf::before, body[data-platform-design="glamour"] .landing-theme-root #preise::before, body[data-platform-design="glamour"] .landing-theme-root #faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 1px solid var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in srgb, var(--platform-primary) 10%, transparent);
  }
  background: radial-gradient(circle at 85% 10%, var(--platform-accent), transparent 340px), radial-gradient(circle at 10% 38%, rgb(255 255 255 / 0.5), transparent 300px);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--platform-accent) 7%, transparent), transparent 340px), radial-gradient(circle at 10% 38%, rgb(255 255 255 / 0.5), transparent 300px);
  }
}
body[data-platform-design="glamour"] .landing-theme-root #produkt .mx-auto, body[data-platform-design="glamour"] .landing-theme-root #funktionen .mx-auto, body[data-platform-design="glamour"] .landing-theme-root #ablauf .mx-auto, body[data-platform-design="glamour"] .landing-theme-root #preise .mx-auto, body[data-platform-design="glamour"] .landing-theme-root #faq .mx-auto {
  position: relative;
  z-index: 1;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-0 > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-1 > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-2 > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-3 > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-4 > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-5 > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-6 > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-7 > div, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-8 > div {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 18%, #eadfd6) !important;
  }
  background: radial-gradient(circle at 50% 15%, var(--platform-accent), transparent 54%), #faf7f3 !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 15%, color-mix(in srgb, var(--platform-accent) 16%, transparent), transparent 54%), #faf7f3 !important;
  }
}
body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-0 svg, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-1 svg, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-2 svg, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-3 svg, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-4 svg, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-5 svg, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-6 svg, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-7 svg, body[data-platform-design="glamour"] .landing-theme-root .landing-style-visual-secondaryfeatures-8 svg, body[data-platform-design="glamour"] .landing-theme-root li span.mr-4 {
  color: var(--platform-primary) !important;
}
body[data-platform-design="glamour"] .landing-theme-root li span.mr-4 {
  background: var(--platform-accent) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-accent) 12%, #ffffff) !important;
  }
  border: 1px solid var(--platform-accent) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-accent) 20%, #eadfd6) !important;
  }
  box-shadow: 0 8px 20px rgb(88 58 35 / 0.06);
}
body[data-platform-design="glamour"] .landing-theme-root #preise .grid > div.bg-slate-950 {
  border-color: #171513 !important;
  background: linear-gradient(180deg, #171513, var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, #171513, color-mix(in srgb, var(--platform-primary) 28%, #171513)) !important;
  }
  color: #ffffff !important;
}
body[data-platform-design="glamour"] .landing-theme-root #preise .grid > div.bg-slate-950 .bg-white\/5 {
  border-color: rgb(255 255 255 / 0.13) !important;
  background: rgb(255 255 255 / 0.07) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .public-faq-card summary {
  color: var(--platform-text) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .public-faq-card .public-faq-chevron {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--landing-glass-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--platform-primary) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .public-faq-card[open] {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 32%, var(--landing-glass-border)) !important;
  }
}
body[data-platform-design="glamour"] .landing-theme-root .landing-section-mobile-padding-final section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbf2ea, #efcfb7) !important;
}
body[data-platform-design="glamour"] .landing-theme-root .landing-section-mobile-padding-final section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 18%, rgb(255 255 255 / 0.7), transparent 3rem), radial-gradient(circle at 82% 20%, rgb(255 255 255 / 0.62), transparent 3rem);
}
body[data-platform-design="glamour"] .landing-theme-root .landing-section-mobile-padding-final .mx-auto {
  position: relative;
  z-index: 1;
}
body[data-platform-design="glamour"] .landing-theme-root footer {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 12%, transparent) !important;
  }
  background: var(--platform-bg) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-bg) 92%, #ffffff) !important;
  }
  color: var(--platform-muted) !important;
}
body[data-platform-design="glamour"] .landing-theme-root footer a, body[data-platform-design="glamour"] .landing-theme-root footer p, body[data-platform-design="glamour"] .landing-theme-root footer button {
  color: var(--platform-muted) !important;
}
body[data-platform-design="glamour"] .public-menu-icon-button, body[data-platform-design="glamour"] #publicMobileMenu {
  border-color: var(--landing-glass-border) !important;
  background: #ffffff !important;
  color: var(--platform-text) !important;
  box-shadow: var(--design-shadow-soft) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root, body[data-platform-design="dark-futuristic"] .landing-theme-root {
  --landing-primary: var(--platform-primary) !important;
  --landing-accent: var(--platform-accent) !important;
  --landing-soft: var(--platform-surface) !important;
  @supports (color: color-mix(in lab, red, red)) {
    --landing-soft: color-mix(in srgb, var(--platform-surface) 32%, var(--platform-bg)) !important;
  }
  --landing-surface: var(--design-panel) !important;
  --landing-text: var(--platform-text) !important;
  --landing-muted: var(--platform-muted) !important;
  --landing-primary-text: #ffffff !important;
  background: var(--design-bg-layer) !important;
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-futuristic"] .landing-theme-root {
  --landing-primary-text: #06101d !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root header.fixed, body[data-platform-design="dark-futuristic"] .landing-theme-root header.fixed {
  top: 22px !important;
  left: 50% !important;
  right: auto !important;
  width: min(calc(100% - 32px), 1120px) !important;
  transform: translateX(-50%);
  border: 1px solid var(--design-border) !important;
  border-radius: 24px !important;
  background: var(--design-panel) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 78%, transparent) !important;
  }
  box-shadow: 0 22px 70px rgb(0 0 0 / 0.36), inset 0 1px 0 rgb(255 255 255 / 0.08) !important;
  backdrop-filter: blur(22px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root header .mx-auto, body[data-platform-design="dark-futuristic"] .landing-theme-root header .mx-auto {
  max-width: 100% !important;
  padding: 12px 18px !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root main.pt-20, body[data-platform-design="dark-neon"] .landing-theme-root main.lg\:pt-\[72px\], body[data-platform-design="dark-futuristic"] .landing-theme-root main.pt-20, body[data-platform-design="dark-futuristic"] .landing-theme-root main.lg\:pt-\[72px\] {
  padding-top: 112px !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root section, body[data-platform-design="dark-futuristic"] .landing-theme-root section {
  background: transparent !important;
  border-color: var(--design-border) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root details, body[data-platform-design="dark-neon"] .landing-theme-root .public-faq-card, body[data-platform-design="dark-futuristic"] .landing-theme-root details, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-faq-card {
  border-color: var(--design-border) !important;
  background: var(--design-panel) !important;
  box-shadow: var(--design-shadow) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-docs-article, body[data-platform-design="dark-neon"] .landing-theme-root .public-blog-article, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-docs-article, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-blog-article {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .docs-article-content, body[data-platform-design="dark-futuristic"] .landing-theme-root .docs-article-content {
  color: var(--platform-muted) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .docs-article-content img, body[data-platform-design="dark-neon"] .landing-theme-root .docs-article-content .sop-inline-image, body[data-platform-design="dark-futuristic"] .landing-theme-root .docs-article-content img, body[data-platform-design="dark-futuristic"] .landing-theme-root .docs-article-content .sop-inline-image {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 16%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 78%, transparent) !important;
  }
  box-shadow: 0 20px 58px rgb(0 0 0 / 0.32), inset 0 1px 0 rgb(255 255 255 / 0.04) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root footer, body[data-platform-design="dark-futuristic"] .landing-theme-root footer {
  border-color: var(--design-border) !important;
  background: var(--design-panel) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 88%, transparent) !important;
  }
  color: var(--platform-muted) !important;
}
body[data-platform-design="dark-neon"] #appFooter, body[data-platform-design="dark-futuristic"] #appFooter {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--platform-muted) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-muted) 78%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] #appFooter .app-backend-footer__inner, body[data-platform-design="dark-futuristic"] #appFooter .app-backend-footer__inner {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-platform-design="dark-neon"] #appFooter a, body[data-platform-design="dark-futuristic"] #appFooter a {
  color: inherit !important;
}
body[data-platform-design="dark-neon"] #appFooter a:hover, body[data-platform-design="dark-futuristic"] #appFooter a:hover {
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .public-menu-icon-button, body[data-platform-design="dark-futuristic"] .public-menu-icon-button, body[data-platform-design="dark-neon"] #publicMobileMenu, body[data-platform-design="dark-futuristic"] #publicMobileMenu {
  border-color: var(--design-border) !important;
  background: var(--design-panel) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 94%, transparent) !important;
  }
  color: var(--platform-text) !important;
  box-shadow: var(--design-shadow) !important;
}
body[data-platform-design="dark-neon"], body[data-platform-design="dark-futuristic"] {
  --design-primary-soft: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-primary-soft: color-mix(in srgb, var(--platform-primary) 16%, var(--design-panel));
  }
  --design-primary-wash: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-primary-wash: color-mix(in srgb, var(--platform-primary) 10%, var(--design-panel));
  }
  --design-accent-soft: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-accent-soft: color-mix(in srgb, var(--platform-accent) 16%, var(--design-panel));
  }
  --design-danger-soft: #fb7185;
  @supports (color: color-mix(in lab, red, red)) {
    --design-danger-soft: color-mix(in srgb, #fb7185 14%, var(--design-panel));
  }
  --design-warning-soft: #f59e0b;
  @supports (color: color-mix(in lab, red, red)) {
    --design-warning-soft: color-mix(in srgb, #f59e0b 16%, var(--design-panel));
  }
  --design-success-soft: var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --design-success-soft: color-mix(in srgb, var(--platform-accent) 14%, var(--design-panel));
  }
  --design-control-bg: var(--design-panel-2);
  @supports (color: color-mix(in lab, red, red)) {
    --design-control-bg: color-mix(in srgb, var(--design-panel-2) 92%, #000000);
  }
  --design-control-hover: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-control-hover: color-mix(in srgb, var(--platform-primary) 13%, var(--design-panel-2));
  }
  --design-control-ring: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-control-ring: color-mix(in srgb, var(--platform-primary) 32%, transparent);
  }
  --design-primary-contrast: #ffffff;
  accent-color: var(--platform-primary);
}
body[data-platform-design="dark-futuristic"] {
  --design-primary-contrast: #06101d;
  --design-success-soft: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    --design-success-soft: color-mix(in srgb, var(--platform-primary) 13%, var(--design-panel));
  }
}
body[data-platform-design="dark-neon"] ::selection, body[data-platform-design="dark-futuristic"] ::selection {
  background: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 45%, transparent);
  }
  color: var(--design-primary-contrast);
}
body[data-platform-design="dark-neon"] *:focus-visible, body[data-platform-design="dark-futuristic"] *:focus-visible {
  outline-color: var(--platform-primary);
}
body[data-platform-design="dark-neon"] .border, body[data-platform-design="dark-neon"] .border-t, body[data-platform-design="dark-neon"] .border-b, body[data-platform-design="dark-neon"] .border-y, body[data-platform-design="dark-neon"] .divide-y > :not([hidden]) ~ :not([hidden]), body[data-platform-design="dark-futuristic"] .border, body[data-platform-design="dark-futuristic"] .border-t, body[data-platform-design="dark-futuristic"] .border-b, body[data-platform-design="dark-futuristic"] .border-y, body[data-platform-design="dark-futuristic"] .divide-y > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--design-border) !important;
}
body[data-platform-design="dark-neon"] .border-white, body[data-platform-design="dark-neon"] .border-white\/10, body[data-platform-design="dark-neon"] .border-white\/20, body[data-platform-design="dark-neon"] .ring-white, body[data-platform-design="dark-neon"] .ring-slate-50, body[data-platform-design="dark-futuristic"] .border-white, body[data-platform-design="dark-futuristic"] .border-white\/10, body[data-platform-design="dark-futuristic"] .border-white\/20, body[data-platform-design="dark-futuristic"] .ring-white, body[data-platform-design="dark-futuristic"] .ring-slate-50 {
  border-color: var(--design-border) !important;
  --tw-ring-color: var(--design-border) !important;
}
body[data-platform-design="dark-neon"] hr, body[data-platform-design="dark-futuristic"] hr {
  border-color: var(--design-border) !important;
}
body[data-platform-design="dark-neon"] #viewRoot > div > div[class*="bg-white"], body[data-platform-design="dark-neon"] #viewRoot section[class*="rounded"][class*="border"], body[data-platform-design="dark-neon"] #viewRoot section[class*="bg-white"], body[data-platform-design="dark-neon"] #viewRoot article[class*="border"], body[data-platform-design="dark-neon"] #viewRoot div[class*="rounded"][class*="border"], body[data-platform-design="dark-futuristic"] #viewRoot > div > div[class*="bg-white"], body[data-platform-design="dark-futuristic"] #viewRoot section[class*="rounded"][class*="border"], body[data-platform-design="dark-futuristic"] #viewRoot section[class*="bg-white"], body[data-platform-design="dark-futuristic"] #viewRoot article[class*="border"], body[data-platform-design="dark-futuristic"] #viewRoot div[class*="rounded"][class*="border"] {
  border-color: var(--design-border) !important;
  background: linear-gradient(180deg, var(--design-panel), var(--design-panel-2)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, color-mix(in srgb, var(--design-panel) 96%, transparent), color-mix(in srgb, var(--design-panel-2) 90%, transparent)) !important;
  }
  box-shadow: var(--design-shadow);
}
body[data-platform-design="dark-neon"] #viewRoot h1, body[data-platform-design="dark-neon"] #viewRoot h2, body[data-platform-design="dark-neon"] #viewRoot h3, body[data-platform-design="dark-futuristic"] #viewRoot h1, body[data-platform-design="dark-futuristic"] #viewRoot h2, body[data-platform-design="dark-futuristic"] #viewRoot h3 {
  background: transparent !important;
  box-shadow: none !important;
}
body[data-platform-design="dark-neon"] #viewRoot > div > section.pt-1, body[data-platform-design="dark-futuristic"] #viewRoot > div > section.pt-1 {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}
body[data-platform-design="dark-neon"] .sop-detail-card, body[data-platform-design="dark-futuristic"] .sop-detail-card {
  overflow: hidden;
  border-radius: var(--design-radius-lg) !important;
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-card {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 22%, rgb(255 255 255 / 0.08)) !important;
  }
  background: radial-gradient(760px 420px at 8% -12%, var(--platform-primary), transparent 62%), radial-gradient(520px 320px at 100% 12%, var(--platform-primary), transparent 68%), linear-gradient(180deg, rgb(24 24 24 / 0.97), rgb(11 11 11 / 0.96)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(760px 420px at 8% -12%, color-mix(in srgb, var(--platform-primary) 11%, transparent), transparent 62%), radial-gradient(520px 320px at 100% 12%, color-mix(in srgb, var(--platform-primary) 8%, transparent), transparent 68%), linear-gradient(180deg, rgb(24 24 24 / 0.97), rgb(11 11 11 / 0.96)) !important;
  }
  box-shadow: 0 28px 72px rgb(0 0 0 / 0.48), inset 0 1px 0 rgb(255 255 255 / 0.045) !important;
}
body[data-platform-design="dark-futuristic"] .sop-detail-card {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 26%, rgb(255 255 255 / 0.08)) !important;
  }
  background: radial-gradient(820px 440px at 8% -12%, var(--platform-primary), transparent 62%), radial-gradient(580px 360px at 100% 12%, var(--platform-accent), transparent 68%), linear-gradient(180deg, rgb(8 14 24 / 0.97), rgb(3 6 12 / 0.96)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(820px 440px at 8% -12%, color-mix(in srgb, var(--platform-primary) 13%, transparent), transparent 62%), radial-gradient(580px 360px at 100% 12%, color-mix(in srgb, var(--platform-accent) 10%, transparent), transparent 68%), linear-gradient(180deg, rgb(8 14 24 / 0.97), rgb(3 6 12 / 0.96)) !important;
  }
  box-shadow: 0 32px 90px rgb(0 0 0 / 0.52), 0 0 0 1px rgb(255 255 255 / 0.018), inset 0 1px 0 rgb(255 255 255 / 0.06) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-accent, body[data-platform-design="dark-futuristic"] .sop-detail-accent {
  height: 3px !important;
  border-radius: var(--design-radius-lg) var(--design-radius-lg) 0 0 !important;
  background: linear-gradient(90deg, transparent 0%, var(--platform-primary) 18%, var(--platform-primary) 50%, var(--platform-accent) 82%, transparent 100%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--platform-primary) 72%, transparent) 18%, var(--platform-primary) 50%, color-mix(in srgb, var(--platform-accent) 70%, var(--platform-primary)) 82%, transparent 100%) !important;
  }
  box-shadow: 0 0 24px var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 24px color-mix(in srgb, var(--platform-primary) 24%, transparent);
  }
}
body[data-platform-design="dark-neon"] .sop-detail-actions, body[data-platform-design="dark-neon"] .sop-detail-project, body[data-platform-design="dark-futuristic"] .sop-detail-actions, body[data-platform-design="dark-futuristic"] .sop-detail-project {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 16%, rgb(255 255 255 / 0.1)) !important;
  }
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 74%, transparent) !important;
  }
  box-shadow: 0 18px 42px rgb(0 0 0 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.045) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-back, body[data-platform-design="dark-neon"] .sop-detail-status, body[data-platform-design="dark-futuristic"] .sop-detail-back, body[data-platform-design="dark-futuristic"] .sop-detail-status {
  border: 1px solid var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-primary) 18%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 72%, transparent) !important;
  }
  color: var(--platform-muted) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-back:hover, body[data-platform-design="dark-futuristic"] .sop-detail-back:hover {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 34%, transparent) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 13%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-project-icon, body[data-platform-design="dark-futuristic"] .sop-detail-project-icon {
  border: 1px solid var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-primary) 18%, transparent);
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 15%, var(--design-panel-2)) !important;
  }
  color: var(--platform-primary) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.055);
}
body[data-platform-design="dark-neon"] .sop-detail-card [data-start-inline-sop-edit], body[data-platform-design="dark-futuristic"] .sop-detail-card [data-start-inline-sop-edit] {
  border: 1px solid var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-primary) 20%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 72%, transparent) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-card [data-start-inline-sop-edit]:hover, body[data-platform-design="dark-futuristic"] .sop-detail-card [data-start-inline-sop-edit]:hover {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 38%, transparent) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 14%, var(--design-panel-2)) !important;
  }
}
body[data-platform-design="dark-neon"] .sop-detail-card [data-delete-sop], body[data-platform-design="dark-futuristic"] .sop-detail-card [data-delete-sop] {
  border: 1px solid color-mix(in srgb, #fb7185 26%, rgb(255 255 255 / 0.08)) !important;
  background: #fb7185 !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #fb7185 13%, var(--design-panel-2)) !important;
  }
  color: #fb7185 !important;
}
body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor-toolbar, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-image-tools, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-media-actions, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor-toolbar, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-image-tools, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-media-actions {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 18%, rgb(255 255 255 / 0.08)) !important;
  }
  border-radius: var(--design-radius) !important;
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 78%, transparent) !important;
  }
  color: var(--platform-muted) !important;
  box-shadow: 0 18px 46px rgb(0 0 0 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.04) !important;
}
body[data-platform-design="dark-neon"] #viewRoot .sop-inline-editor, body[data-platform-design="dark-futuristic"] #viewRoot .sop-inline-editor {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 18%, rgb(255 255 255 / 0.08)) !important;
  }
  border-radius: var(--design-radius) !important;
  color: var(--platform-muted) !important;
  box-shadow: 0 18px 46px rgb(0 0 0 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.04) !important;
}
body[data-platform-design="dark-neon"] #viewRoot .sop-inline-editor {
  background: radial-gradient(440px 260px at 12% 0%, var(--platform-primary), transparent 66%), linear-gradient(180deg, rgb(24 23 22 / 0.98), rgb(13 12 11 / 0.98)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(440px 260px at 12% 0%, color-mix(in srgb, var(--platform-primary) 8%, transparent), transparent 66%), linear-gradient(180deg, rgb(24 23 22 / 0.98), rgb(13 12 11 / 0.98)) !important;
  }
}
body[data-platform-design="dark-futuristic"] #viewRoot .sop-inline-editor {
  background: radial-gradient(440px 260px at 12% 0%, var(--platform-primary), transparent 66%), linear-gradient(180deg, rgb(8 13 22 / 0.96), rgb(4 7 13 / 0.96)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(440px 260px at 12% 0%, color-mix(in srgb, var(--platform-primary) 9%, transparent), transparent 66%), linear-gradient(180deg, rgb(8 13 22 / 0.96), rgb(4 7 13 / 0.96)) !important;
  }
}
body[data-platform-design="dark-neon"] #viewRoot .sop-inline-media-actions, body[data-platform-design="dark-futuristic"] #viewRoot .sop-inline-media-actions {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 18%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 82%, transparent) !important;
  }
  box-shadow: 0 16px 38px rgb(0 0 0 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.045) !important;
}
body[data-platform-design="dark-neon"] #viewRoot .sop-inline-media-button, body[data-platform-design="dark-futuristic"] #viewRoot .sop-inline-media-button {
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--platform-muted) !important;
  box-shadow: none !important;
}
body[data-platform-design="dark-neon"] #viewRoot .sop-inline-media-button:hover, body[data-platform-design="dark-futuristic"] #viewRoot .sop-inline-media-button:hover {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 22%, transparent) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 13%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] #viewRoot .sop-inline-add-image, body[data-platform-design="dark-futuristic"] #viewRoot .sop-inline-add-image {
  color: var(--platform-primary) !important;
}
body[data-platform-design="dark-neon"] #viewRoot .sop-inline-add-video, body[data-platform-design="dark-futuristic"] #viewRoot .sop-inline-add-video {
  color: var(--platform-accent) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-accent) 74%, var(--platform-primary)) !important;
  }
}
body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor {
  background: radial-gradient(420px 240px at 12% 0%, var(--platform-primary), transparent 66%), linear-gradient(180deg, rgb(23 23 23 / 0.96), rgb(12 12 12 / 0.96)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(420px 240px at 12% 0%, color-mix(in srgb, var(--platform-primary) 7%, transparent), transparent 66%), linear-gradient(180deg, rgb(23 23 23 / 0.96), rgb(12 12 12 / 0.96)) !important;
  }
}
body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor {
  background: radial-gradient(440px 260px at 12% 0%, var(--platform-primary), transparent 66%), linear-gradient(180deg, rgb(8 13 22 / 0.96), rgb(4 7 13 / 0.96)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(440px 260px at 12% 0%, color-mix(in srgb, var(--platform-primary) 9%, transparent), transparent 66%), linear-gradient(180deg, rgb(8 13 22 / 0.96), rgb(4 7 13 / 0.96)) !important;
  }
}
body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor:focus, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor:focus {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 42%, transparent) !important;
  }
  box-shadow: 0 0 0 3px var(--platform-primary), 0 20px 52px rgb(0 0 0 / 0.34), inset 0 1px 0 rgb(255 255 255 / 0.05) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--platform-primary) 14%, transparent), 0 20px 52px rgb(0 0 0 / 0.34), inset 0 1px 0 rgb(255 255 255 / 0.05) !important;
  }
}
body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor h2, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor h3, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor h2, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor h3 {
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor-command, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-image-tool, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-media-button, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor-command, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-image-tool, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-media-button {
  color: var(--platform-muted) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor-command:hover, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-image-tool:hover, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-media-button:hover, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor-command:hover, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-image-tool:hover, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-media-button:hover {
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 13%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor-command-active, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor-command-active:hover, body[data-platform-design="dark-neon"] .sop-detail-card .sop-inline-editor-command[aria-pressed="true"], body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor-command-active, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor-command-active:hover, body[data-platform-design="dark-futuristic"] .sop-detail-card .sop-inline-editor-command[aria-pressed="true"] {
  background: var(--platform-primary) !important;
  color: var(--design-primary-contrast) !important;
  box-shadow: inset 0 0 0 1px var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--platform-primary) 35%, rgb(255 255 255 / 0.22)) !important;
  }
}
body[data-platform-design="dark-neon"] #viewRoot div[class*="rounded"][class*="bg-slate-50"], body[data-platform-design="dark-neon"] #viewRoot div[class*="rounded"][class*="bg-slate-100"], body[data-platform-design="dark-futuristic"] #viewRoot div[class*="rounded"][class*="bg-slate-50"], body[data-platform-design="dark-futuristic"] #viewRoot div[class*="rounded"][class*="bg-slate-100"] {
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 92%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] .bg-slate-900, body[data-platform-design="dark-neon"] .bg-slate-800, body[data-platform-design="dark-neon"] .bg-brand-600, body[data-platform-design="dark-neon"] .bg-brand-700, body[data-platform-design="dark-futuristic"] .bg-slate-900, body[data-platform-design="dark-futuristic"] .bg-slate-800, body[data-platform-design="dark-futuristic"] .bg-brand-600, body[data-platform-design="dark-futuristic"] .bg-brand-700 {
  background: linear-gradient(135deg, var(--platform-primary), var(--platform-accent)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, var(--platform-primary), color-mix(in srgb, var(--platform-accent) 76%, var(--platform-primary))) !important;
  }
  color: var(--design-primary-contrast) !important;
}
body[data-platform-design="dark-neon"] .text-brand-600, body[data-platform-design="dark-neon"] .text-brand-700, body[data-platform-design="dark-neon"] .text-blue-600, body[data-platform-design="dark-neon"] .text-blue-700, body[data-platform-design="dark-neon"] .text-sky-600, body[data-platform-design="dark-neon"] .text-sky-700, body[data-platform-design="dark-neon"] .text-indigo-600, body[data-platform-design="dark-neon"] .text-indigo-700, body[data-platform-design="dark-neon"] .text-violet-600, body[data-platform-design="dark-neon"] .text-violet-700, body[data-platform-design="dark-futuristic"] .text-brand-600, body[data-platform-design="dark-futuristic"] .text-brand-700, body[data-platform-design="dark-futuristic"] .text-blue-600, body[data-platform-design="dark-futuristic"] .text-blue-700, body[data-platform-design="dark-futuristic"] .text-sky-600, body[data-platform-design="dark-futuristic"] .text-sky-700, body[data-platform-design="dark-futuristic"] .text-indigo-600, body[data-platform-design="dark-futuristic"] .text-indigo-700, body[data-platform-design="dark-futuristic"] .text-violet-600, body[data-platform-design="dark-futuristic"] .text-violet-700 {
  color: var(--platform-primary) !important;
}
body[data-platform-design="dark-neon"] .bg-brand-50, body[data-platform-design="dark-neon"] .bg-brand-100, body[data-platform-design="dark-neon"] .bg-blue-50, body[data-platform-design="dark-neon"] .bg-blue-100, body[data-platform-design="dark-neon"] .bg-sky-50, body[data-platform-design="dark-neon"] .bg-sky-100, body[data-platform-design="dark-neon"] .bg-indigo-50, body[data-platform-design="dark-neon"] .bg-indigo-100, body[data-platform-design="dark-neon"] .bg-violet-50, body[data-platform-design="dark-neon"] .bg-violet-100, body[data-platform-design="dark-futuristic"] .bg-brand-50, body[data-platform-design="dark-futuristic"] .bg-brand-100, body[data-platform-design="dark-futuristic"] .bg-blue-50, body[data-platform-design="dark-futuristic"] .bg-blue-100, body[data-platform-design="dark-futuristic"] .bg-sky-50, body[data-platform-design="dark-futuristic"] .bg-sky-100, body[data-platform-design="dark-futuristic"] .bg-indigo-50, body[data-platform-design="dark-futuristic"] .bg-indigo-100, body[data-platform-design="dark-futuristic"] .bg-violet-50, body[data-platform-design="dark-futuristic"] .bg-violet-100 {
  background: var(--design-primary-soft) !important;
  color: var(--platform-primary) !important;
}
body[data-platform-design="dark-neon"] .border-brand-100, body[data-platform-design="dark-neon"] .border-brand-200, body[data-platform-design="dark-neon"] .border-blue-100, body[data-platform-design="dark-neon"] .border-blue-200, body[data-platform-design="dark-neon"] .border-sky-100, body[data-platform-design="dark-neon"] .border-sky-200, body[data-platform-design="dark-neon"] .border-indigo-100, body[data-platform-design="dark-neon"] .border-indigo-200, body[data-platform-design="dark-futuristic"] .border-brand-100, body[data-platform-design="dark-futuristic"] .border-brand-200, body[data-platform-design="dark-futuristic"] .border-blue-100, body[data-platform-design="dark-futuristic"] .border-blue-200, body[data-platform-design="dark-futuristic"] .border-sky-100, body[data-platform-design="dark-futuristic"] .border-sky-200, body[data-platform-design="dark-futuristic"] .border-indigo-100, body[data-platform-design="dark-futuristic"] .border-indigo-200 {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 34%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] .bg-emerald-50, body[data-platform-design="dark-neon"] .bg-emerald-100, body[data-platform-design="dark-neon"] .bg-emerald-500, body[data-platform-design="dark-futuristic"] .bg-emerald-50, body[data-platform-design="dark-futuristic"] .bg-emerald-100, body[data-platform-design="dark-futuristic"] .bg-emerald-500 {
  background: var(--design-success-soft) !important;
}
body[data-platform-design="dark-neon"] .text-emerald-700, body[data-platform-design="dark-neon"] .text-emerald-800, body[data-platform-design="dark-futuristic"] .text-emerald-700, body[data-platform-design="dark-futuristic"] .text-emerald-800 {
  color: var(--platform-accent) !important;
}
body[data-platform-design="dark-neon"] .border-emerald-100, body[data-platform-design="dark-neon"] .border-emerald-200, body[data-platform-design="dark-neon"] .border-emerald-300, body[data-platform-design="dark-futuristic"] .border-emerald-100, body[data-platform-design="dark-futuristic"] .border-emerald-200, body[data-platform-design="dark-futuristic"] .border-emerald-300 {
  border-color: var(--platform-accent) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-accent) 34%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] .bg-amber-50, body[data-platform-design="dark-neon"] .bg-amber-100, body[data-platform-design="dark-futuristic"] .bg-amber-50, body[data-platform-design="dark-futuristic"] .bg-amber-100 {
  background: var(--design-warning-soft) !important;
}
body[data-platform-design="dark-neon"] .text-amber-600, body[data-platform-design="dark-neon"] .text-amber-700, body[data-platform-design="dark-neon"] .text-amber-800, body[data-platform-design="dark-futuristic"] .text-amber-600, body[data-platform-design="dark-futuristic"] .text-amber-700, body[data-platform-design="dark-futuristic"] .text-amber-800 {
  color: #fbbf24 !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, #fbbf24 84%, var(--platform-text)) !important;
  }
}
body[data-platform-design="dark-neon"] .border-amber-100, body[data-platform-design="dark-neon"] .border-amber-200, body[data-platform-design="dark-futuristic"] .border-amber-100, body[data-platform-design="dark-futuristic"] .border-amber-200 {
  border-color: color-mix(in srgb, #f59e0b 34%, transparent) !important;
}
body[data-platform-design="dark-neon"] .bg-rose-50, body[data-platform-design="dark-neon"] .bg-rose-100, body[data-platform-design="dark-futuristic"] .bg-rose-50, body[data-platform-design="dark-futuristic"] .bg-rose-100 {
  background: var(--design-danger-soft) !important;
}
body[data-platform-design="dark-neon"] .text-rose-500, body[data-platform-design="dark-neon"] .text-rose-600, body[data-platform-design="dark-neon"] .text-rose-700, body[data-platform-design="dark-futuristic"] .text-rose-500, body[data-platform-design="dark-futuristic"] .text-rose-600, body[data-platform-design="dark-futuristic"] .text-rose-700 {
  color: #fb7185 !important;
}
body[data-platform-design="dark-neon"] .hover\:bg-brand-100:hover, body[data-platform-design="dark-neon"] .hover\:bg-brand-600:hover, body[data-platform-design="dark-neon"] .hover\:bg-brand-700:hover, body[data-platform-design="dark-neon"] .hover\:bg-slate-200:hover, body[data-platform-design="dark-neon"] .hover\:bg-slate-800:hover, body[data-platform-design="dark-neon"] .hover\:bg-emerald-100:hover, body[data-platform-design="dark-neon"] .hover\:bg-amber-100:hover, body[data-platform-design="dark-neon"] .hover\:bg-rose-100:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-brand-100:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-brand-600:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-brand-700:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-slate-200:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-slate-800:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-emerald-100:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-amber-100:hover, body[data-platform-design="dark-futuristic"] .hover\:bg-rose-100:hover {
  background: var(--design-control-hover) !important;
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .rounded-full, body[data-platform-design="dark-neon"] .rounded-lg[class*="bg-"], body[data-platform-design="dark-neon"] span[class*="rounded"][class*="bg-"], body[data-platform-design="dark-futuristic"] .rounded-full, body[data-platform-design="dark-futuristic"] .rounded-lg[class*="bg-"], body[data-platform-design="dark-futuristic"] span[class*="rounded"][class*="bg-"] {
  border-color: var(--design-border) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.055);
}
body[data-platform-design="dark-neon"] #viewRoot span.inline-flex[class*="rounded"][class*="bg-"], body[data-platform-design="dark-neon"] #viewRoot a.inline-flex[class*="rounded"][class*="bg-"], body[data-platform-design="dark-neon"] #viewRoot button.inline-flex[class*="rounded"][class*="bg-"], body[data-platform-design="dark-futuristic"] #viewRoot span.inline-flex[class*="rounded"][class*="bg-"], body[data-platform-design="dark-futuristic"] #viewRoot a.inline-flex[class*="rounded"][class*="bg-"], body[data-platform-design="dark-futuristic"] #viewRoot button.inline-flex[class*="rounded"][class*="bg-"] {
  border: 1px solid currentColor;
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, currentColor 18%, var(--design-border));
  }
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 12px 26px rgb(0 0 0 / 0.14);
}
body[data-platform-design="dark-neon"] #viewRoot button, body[data-platform-design="dark-neon"] #viewRoot a[class*="rounded"], body[data-platform-design="dark-futuristic"] #viewRoot button, body[data-platform-design="dark-futuristic"] #viewRoot a[class*="rounded"] {
  border-color: currentColor;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, currentColor 14%, var(--design-border));
  }
}
body[data-platform-design="dark-neon"] input:focus, body[data-platform-design="dark-neon"] textarea:focus, body[data-platform-design="dark-neon"] select:focus, body[data-platform-design="dark-futuristic"] input:focus, body[data-platform-design="dark-futuristic"] textarea:focus, body[data-platform-design="dark-futuristic"] select:focus {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 52%, var(--design-border)) !important;
  }
  box-shadow: 0 0 0 3px var(--design-control-ring), inset 0 1px 0 rgb(255 255 255 / 0.05) !important;
  outline: none;
}
body[data-platform-design="dark-neon"] input[type="checkbox"], body[data-platform-design="dark-neon"] input[type="radio"], body[data-platform-design="dark-futuristic"] input[type="checkbox"], body[data-platform-design="dark-futuristic"] input[type="radio"] {
  accent-color: var(--platform-primary);
}
body[data-platform-design="dark-neon"] .peer:checked ~ .peer-checked\:bg-slate-900, body[data-platform-design="dark-neon"] .peer:checked ~ .peer-checked\:bg-slate-950, body[data-platform-design="dark-futuristic"] .peer:checked ~ .peer-checked\:bg-slate-900, body[data-platform-design="dark-futuristic"] .peer:checked ~ .peer-checked\:bg-slate-950 {
  background: linear-gradient(135deg, var(--platform-primary), var(--platform-accent)) !important;
}
body[data-platform-design="dark-neon"] .custom-select-trigger, body[data-platform-design="dark-futuristic"] .custom-select-trigger {
  border-color: var(--design-border);
  background: var(--design-control-bg);
  color: var(--platform-text);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 14px 34px rgb(0 0 0 / 0.13);
}
body[data-platform-design="dark-neon"] .custom-select-trigger:hover:not(:disabled), body[data-platform-design="dark-neon"] .custom-select-trigger:focus-visible, body[data-platform-design="dark-neon"] .custom-select[data-open="true"] .custom-select-trigger, body[data-platform-design="dark-futuristic"] .custom-select-trigger:hover:not(:disabled), body[data-platform-design="dark-futuristic"] .custom-select-trigger:focus-visible, body[data-platform-design="dark-futuristic"] .custom-select[data-open="true"] .custom-select-trigger {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 56%, var(--design-border));
  }
  background: var(--design-control-hover);
  box-shadow: 0 0 0 3px var(--design-control-ring), inset 0 1px 0 rgb(255 255 255 / 0.07), 0 18px 42px rgb(0 0 0 / 0.16);
}
body[data-platform-design="dark-neon"] .custom-select[data-variant="responsible"] .custom-select-trigger, body[data-platform-design="dark-futuristic"] .custom-select[data-variant="responsible"] .custom-select-trigger {
  border-color: var(--design-border);
  background: var(--design-panel-3);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-3) 78%, transparent);
  }
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .custom-select[data-variant="chip"] .custom-select-trigger, body[data-platform-design="dark-neon"] .custom-select[data-variant="chip"] .custom-select-trigger:hover:not(:disabled), body[data-platform-design="dark-neon"] .custom-select[data-variant="chip"] .custom-select-trigger:focus-visible, body[data-platform-design="dark-neon"] .custom-select[data-variant="chip"][data-open="true"] .custom-select-trigger, body[data-platform-design="dark-futuristic"] .custom-select[data-variant="chip"] .custom-select-trigger, body[data-platform-design="dark-futuristic"] .custom-select[data-variant="chip"] .custom-select-trigger:hover:not(:disabled), body[data-platform-design="dark-futuristic"] .custom-select[data-variant="chip"] .custom-select-trigger:focus-visible, body[data-platform-design="dark-futuristic"] .custom-select[data-variant="chip"][data-open="true"] .custom-select-trigger {
  background: transparent;
  color: var(--platform-primary);
  box-shadow: none;
}
body[data-platform-design="dark-neon"] .custom-select-trigger__icon, body[data-platform-design="dark-neon"] .custom-select-option__check, body[data-platform-design="dark-futuristic"] .custom-select-trigger__icon, body[data-platform-design="dark-futuristic"] .custom-select-option__check {
  color: var(--platform-primary);
}
body[data-platform-design="dark-neon"] .custom-select-trigger__meta, body[data-platform-design="dark-neon"] .custom-select-option__meta, body[data-platform-design="dark-neon"] .custom-select-group-label, body[data-platform-design="dark-futuristic"] .custom-select-trigger__meta, body[data-platform-design="dark-futuristic"] .custom-select-option__meta, body[data-platform-design="dark-futuristic"] .custom-select-group-label {
  color: var(--platform-muted);
}
body[data-platform-design="dark-neon"] .custom-select-dropdown, body[data-platform-design="dark-futuristic"] .custom-select-dropdown {
  border-color: var(--design-border-strong);
  background: var(--design-panel);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 97%, #000000);
  }
  box-shadow: 0 28px 75px rgb(0 0 0 / 0.44), inset 0 1px 0 rgb(255 255 255 / 0.07);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
body[data-platform-design="dark-neon"] .custom-select-option, body[data-platform-design="dark-futuristic"] .custom-select-option {
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .custom-select-option:hover:not(:disabled), body[data-platform-design="dark-neon"] .custom-select-option:focus-visible, body[data-platform-design="dark-futuristic"] .custom-select-option:hover:not(:disabled), body[data-platform-design="dark-futuristic"] .custom-select-option:focus-visible {
  background: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 12%, var(--design-panel-2));
  }
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .custom-select-option.is-selected, body[data-platform-design="dark-futuristic"] .custom-select-option.is-selected {
  background: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 20%, var(--design-panel-2));
  }
  color: var(--platform-primary);
}
body[data-platform-design="dark-neon"] .custom-select-option-tooltip, body[data-platform-design="dark-futuristic"] .custom-select-option-tooltip {
  border-color: var(--design-border-strong);
  background: var(--design-panel);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 98%, #000000);
  }
  color: var(--platform-text);
}
body[data-platform-design="dark-neon"] .custom-select-option-tooltip::after, body[data-platform-design="dark-futuristic"] .custom-select-option-tooltip::after {
  border-color: var(--design-border-strong);
  background: var(--design-panel);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 98%, #000000);
  }
}
body[data-platform-design="dark-neon"] #modalPanel, body[data-platform-design="dark-futuristic"] #modalPanel {
  border-color: var(--design-border) !important;
  background: var(--design-panel) !important;
  color: var(--platform-text) !important;
  box-shadow: 0 32px 110px rgb(0 0 0 / 0.58), inset 0 1px 0 rgb(255 255 255 / 0.07) !important;
}
body[data-platform-design="dark-neon"] #modalBackdrop, body[data-platform-design="dark-neon"] .sop-video-dialog__backdrop, body[data-platform-design="dark-neon"] .sop-image-lightbox__backdrop {
  background: radial-gradient(620px 460px at 78% 16%, var(--platform-primary), transparent 72%), radial-gradient(520px 420px at 14% 86%, var(--platform-accent), transparent 72%), rgb(5 5 5 / 0.56) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(620px 460px at 78% 16%, color-mix(in srgb, var(--platform-primary) 12%, transparent), transparent 72%), radial-gradient(520px 420px at 14% 86%, color-mix(in srgb, var(--platform-accent) 8%, transparent), transparent 72%), rgb(5 5 5 / 0.56) !important;
  }
  backdrop-filter: blur(8px) saturate(116%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(116%) !important;
}
body[data-platform-design="dark-futuristic"] #modalBackdrop, body[data-platform-design="dark-futuristic"] .sop-video-dialog__backdrop, body[data-platform-design="dark-futuristic"] .sop-image-lightbox__backdrop {
  background: radial-gradient(760px 520px at 68% 8%, var(--platform-primary), transparent 72%), radial-gradient(600px 460px at 16% 88%, var(--platform-accent), transparent 74%), rgb(2 5 10 / 0.56) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(760px 520px at 68% 8%, color-mix(in srgb, var(--platform-primary) 14%, transparent), transparent 72%), radial-gradient(600px 460px at 16% 88%, color-mix(in srgb, var(--platform-accent) 8%, transparent), transparent 74%), rgb(2 5 10 / 0.56) !important;
  }
  backdrop-filter: blur(9px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(9px) saturate(120%) !important;
}
body[data-platform-design="dark-neon"] #modalPanel .border-b, body[data-platform-design="dark-neon"] #modalPanel .border-t, body[data-platform-design="dark-neon"] #modalPanel .bg-white, body[data-platform-design="dark-futuristic"] #modalPanel .border-b, body[data-platform-design="dark-futuristic"] #modalPanel .border-t, body[data-platform-design="dark-futuristic"] #modalPanel .bg-white {
  border-color: var(--design-border) !important;
  background: var(--design-panel) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 92%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] #modalPanel .profile-password-reset-card, body[data-platform-design="dark-neon"] #companyModal .profile-password-reset-card, body[data-platform-design="dark-neon"] form#profileForm > .profile-password-reset-card, body[data-platform-design="dark-futuristic"] #modalPanel .profile-password-reset-card, body[data-platform-design="dark-futuristic"] #companyModal .profile-password-reset-card, body[data-platform-design="dark-futuristic"] form#profileForm > .profile-password-reset-card {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 20%, rgb(255 255 255 / 0.08)) !important;
  }
  background-color: var(--design-panel-2) !important;
  background-image: radial-gradient(circle at 12% 0%, var(--platform-primary), transparent 52%), linear-gradient(135deg, var(--design-panel-2), var(--design-panel)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background-image: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--platform-primary) 10%, transparent), transparent 52%), linear-gradient(135deg, color-mix(in srgb, var(--design-panel-2) 96%, #000000), color-mix(in srgb, var(--design-panel) 88%, #000000)) !important;
  }
  background: radial-gradient(circle at 12% 0%, var(--platform-primary), transparent 52%), linear-gradient(135deg, var(--design-panel-2), var(--design-panel)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--platform-primary) 10%, transparent), transparent 52%), linear-gradient(135deg, color-mix(in srgb, var(--design-panel-2) 96%, #000000), color-mix(in srgb, var(--design-panel) 88%, #000000)) !important;
  }
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.055), 0 18px 42px rgb(0 0 0 / 0.24) !important;
}
body[data-platform-design="dark-neon"] #modalPanel .profile-password-reset-card p:first-child, body[data-platform-design="dark-neon"] #companyModal .profile-password-reset-card p:first-child, body[data-platform-design="dark-neon"] form#profileForm > .profile-password-reset-card p:first-child, body[data-platform-design="dark-futuristic"] #modalPanel .profile-password-reset-card p:first-child, body[data-platform-design="dark-futuristic"] #companyModal .profile-password-reset-card p:first-child, body[data-platform-design="dark-futuristic"] form#profileForm > .profile-password-reset-card p:first-child {
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] #modalPanel .profile-password-reset-card p:last-child, body[data-platform-design="dark-neon"] #companyModal .profile-password-reset-card p:last-child, body[data-platform-design="dark-neon"] form#profileForm > .profile-password-reset-card p:last-child, body[data-platform-design="dark-futuristic"] #modalPanel .profile-password-reset-card p:last-child, body[data-platform-design="dark-futuristic"] #companyModal .profile-password-reset-card p:last-child, body[data-platform-design="dark-futuristic"] form#profileForm > .profile-password-reset-card p:last-child {
  color: var(--platform-muted) !important;
}
body[data-platform-design="dark-neon"] #modalPanel .profile-password-reset-button, body[data-platform-design="dark-neon"] #companyModal .profile-password-reset-button, body[data-platform-design="dark-neon"] form#profileForm .profile-password-reset-button, body[data-platform-design="dark-futuristic"] #modalPanel .profile-password-reset-button, body[data-platform-design="dark-futuristic"] #companyModal .profile-password-reset-button, body[data-platform-design="dark-futuristic"] form#profileForm .profile-password-reset-button {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 32%, transparent) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 14%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.055), 0 14px 30px rgb(0 0 0 / 0.18) !important;
}
body[data-platform-design="dark-neon"] #modalPanel .profile-password-reset-button:hover, body[data-platform-design="dark-neon"] #companyModal .profile-password-reset-button:hover, body[data-platform-design="dark-neon"] form#profileForm .profile-password-reset-button:hover, body[data-platform-design="dark-futuristic"] #modalPanel .profile-password-reset-button:hover, body[data-platform-design="dark-futuristic"] #companyModal .profile-password-reset-button:hover, body[data-platform-design="dark-futuristic"] form#profileForm .profile-password-reset-button:hover {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 48%, transparent) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 20%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-backdrop, body[data-platform-design="dark-futuristic"] .confirm-dialog-backdrop {
  background: radial-gradient(circle at 50% 36%, var(--platform-primary), transparent 34rem), var(--platform-bg) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 36%, color-mix(in srgb, var(--platform-primary) 14%, transparent), transparent 34rem), color-mix(in srgb, var(--platform-bg) 78%, #000000) !important;
  }
  backdrop-filter: blur(14px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(125%) !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-card, body[data-platform-design="dark-neon"] .global-search-dropdown, body[data-platform-design="dark-futuristic"] .confirm-dialog-card, body[data-platform-design="dark-futuristic"] .global-search-dropdown {
  border-color: var(--design-border) !important;
  background: var(--design-panel) !important;
  color: var(--platform-text) !important;
  box-shadow: 0 30px 90px rgb(0 0 0 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.06) !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-card {
  background: radial-gradient(420px 260px at 12% 0%, var(--platform-primary), transparent 68%), linear-gradient(180deg, rgb(24 24 24 / 0.98), rgb(12 12 12 / 0.98)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(420px 260px at 12% 0%, color-mix(in srgb, var(--platform-primary) 9%, transparent), transparent 68%), linear-gradient(180deg, rgb(24 24 24 / 0.98), rgb(12 12 12 / 0.98)) !important;
  }
}
body[data-platform-design="dark-futuristic"] .confirm-dialog-card {
  background: radial-gradient(460px 280px at 12% 0%, var(--platform-primary), transparent 68%), linear-gradient(180deg, rgb(8 14 24 / 0.98), rgb(3 6 12 / 0.98)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(460px 280px at 12% 0%, color-mix(in srgb, var(--platform-primary) 11%, transparent), transparent 68%), linear-gradient(180deg, rgb(8 14 24 / 0.98), rgb(3 6 12 / 0.98)) !important;
  }
}
body[data-platform-design="dark-neon"] .confirm-dialog-title, body[data-platform-design="dark-futuristic"] .confirm-dialog-title {
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-message, body[data-platform-design="dark-futuristic"] .confirm-dialog-message {
  color: var(--platform-muted) !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-details, body[data-platform-design="dark-futuristic"] .confirm-dialog-details {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 22%, transparent) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 10%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-icon, body[data-platform-design="dark-futuristic"] .confirm-dialog-icon {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 20%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 11%, var(--design-panel-2)) !important;
  }
  color: var(--platform-primary) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.055);
}
body[data-platform-design="dark-neon"] .confirm-dialog-icon[data-variant="danger"], body[data-platform-design="dark-futuristic"] .confirm-dialog-icon[data-variant="danger"] {
  border-color: color-mix(in srgb, #fb7185 30%, transparent) !important;
  background: #fb7185 !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #fb7185 14%, var(--design-panel-2)) !important;
  }
  color: #fb7185 !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, #fb7185 72%, var(--platform-primary)) !important;
  }
}
body[data-platform-design="dark-neon"] .confirm-dialog-icon[data-variant="warning"], body[data-platform-design="dark-futuristic"] .confirm-dialog-icon[data-variant="warning"] {
  border-color: color-mix(in srgb, #f59e0b 30%, transparent) !important;
  background: #f59e0b !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #f59e0b 13%, var(--design-panel-2)) !important;
  }
  color: #fbbf24 !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-cancel, body[data-platform-design="dark-futuristic"] .confirm-dialog-cancel {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 18%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 78%, transparent) !important;
  }
  color: var(--platform-muted) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04) !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-cancel:hover, body[data-platform-design="dark-futuristic"] .confirm-dialog-cancel:hover {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 34%, transparent) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 13%, var(--design-panel-2)) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-action, body[data-platform-design="dark-futuristic"] .confirm-dialog-action {
  border-color: var(--platform-primary) !important;
  background: linear-gradient(135deg, var(--platform-primary), var(--platform-accent)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, var(--platform-primary), color-mix(in srgb, var(--platform-accent) 58%, var(--platform-primary))) !important;
  }
  color: var(--design-primary-contrast) !important;
  box-shadow: 0 16px 36px var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 16px 36px color-mix(in srgb, var(--platform-primary) 20%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] .confirm-dialog-action[data-variant="danger"], body[data-platform-design="dark-futuristic"] .confirm-dialog-action[data-variant="danger"] {
  border-color: #fb7185 !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, #fb7185 64%, var(--platform-primary)) !important;
  }
  background: linear-gradient(135deg, #fb7185, #fb4a61) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, color-mix(in srgb, #fb7185 62%, var(--platform-primary)), #fb4a61) !important;
  }
  color: #ffffff !important;
}
body[data-platform-design="dark-neon"] .confirm-dialog-action[data-variant="warning"], body[data-platform-design="dark-futuristic"] .confirm-dialog-action[data-variant="warning"] {
  border-color: #f59e0b !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, #f59e0b 72%, var(--platform-primary)) !important;
  }
  background: linear-gradient(135deg, #f59e0b, #f59e0b) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, #f59e0b, color-mix(in srgb, #f59e0b 62%, var(--platform-primary))) !important;
  }
  color: #111111 !important;
}
body[data-platform-design="dark-neon"] .pricing-plan-card, body[data-platform-design="dark-futuristic"] .pricing-plan-card {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 18%, var(--design-border));
  }
  background: linear-gradient(180deg, var(--design-panel), var(--design-panel-2));
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, color-mix(in srgb, var(--design-panel) 90%, #ffffff 3%), var(--design-panel-2));
  }
  box-shadow: 0 18px 42px rgb(0 0 0 / 0.24);
}
body[data-platform-design="dark-neon"] .pricing-plan-card--featured, body[data-platform-design="dark-futuristic"] .pricing-plan-card--featured, body[data-platform-design="dark-neon"] .pricing-plan-card--current, body[data-platform-design="dark-futuristic"] .pricing-plan-card--current {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 58%, var(--design-border));
  }
  box-shadow: 0 0 0 1px var(--platform-primary), 0 22px 52px rgb(0 0 0 / 0.32);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--platform-primary) 18%, transparent), 0 22px 52px rgb(0 0 0 / 0.32);
  }
}
body[data-platform-design="dark-neon"] .pricing-plan-card__badge, body[data-platform-design="dark-futuristic"] .pricing-plan-card__badge, body[data-platform-design="dark-neon"] .pricing-plan-card__check, body[data-platform-design="dark-futuristic"] .pricing-plan-card__check {
  background: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 16%, var(--design-panel-3));
  }
  color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-primary) 86%, #ffffff);
  }
}
body[data-platform-design="dark-neon"] .pricing-plan-card__cta, body[data-platform-design="dark-futuristic"] .pricing-plan-card__cta {
  box-shadow: 0 0 0 1px var(--platform-primary), 0 14px 34px rgb(0 0 0 / 0.32);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--platform-primary) 18%, transparent), 0 14px 34px rgb(0 0 0 / 0.32);
  }
}
body[data-platform-design="dark-neon"] .pricing-plan-card--landing, body[data-platform-design="dark-futuristic"] .pricing-plan-card--landing {
  border-color: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 14%, var(--design-border));
  }
  background: linear-gradient(180deg, var(--design-panel), var(--design-panel-2));
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, color-mix(in srgb, var(--design-panel) 94%, #ffffff 2%), var(--design-panel-2));
  }
  box-shadow: 0 16px 38px rgb(0 0 0 / 0.2);
}
body[data-platform-design="dark-neon"] .pricing-plan-card--landing.pricing-plan-card--featured, body[data-platform-design="dark-futuristic"] .pricing-plan-card--landing.pricing-plan-card--featured {
  box-shadow: 0 0 0 1px var(--platform-primary), 0 20px 46px rgb(0 0 0 / 0.26);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--platform-primary) 16%, transparent), 0 20px 46px rgb(0 0 0 / 0.26);
  }
}
body[data-platform-design="dark-neon"] ::-webkit-scrollbar-thumb, body[data-platform-design="dark-futuristic"] ::-webkit-scrollbar-thumb {
  background: var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 48%, var(--design-panel-3));
  }
  border: 3px solid var(--platform-bg);
  @supports (color: color-mix(in lab, red, red)) {
    border: 3px solid color-mix(in srgb, var(--platform-bg) 88%, transparent);
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root, body[data-platform-design="dark-futuristic"] .landing-theme-root {
  --landing-glass-border: var(--design-border);
  --landing-glass-border-strong: var(--design-border-strong);
  --landing-card-radius: var(--design-radius-lg);
  --landing-control-radius: var(--design-radius);
  --landing-hero-title-weight: 560;
  --landing-section-title-weight: 620;
  --landing-card-title-weight: 700;
  --landing-glass-surface: linear-gradient(145deg, rgb(255 255 255 / 0.072), rgb(255 255 255 / 0.025) 45%, rgb(255 255 255 / 0.045)),
    var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --landing-glass-surface: linear-gradient(145deg, rgb(255 255 255 / 0.072), rgb(255 255 255 / 0.025) 45%, rgb(255 255 255 / 0.045)),
    color-mix(in srgb, var(--platform-surface) 84%, transparent);
  }
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body[data-platform-design="dark-neon"] .landing-theme-root {
  --landing-card-radius: 22px;
  --landing-control-radius: 15px;
  --landing-hero-title-weight: 520;
  --landing-section-title-weight: 560;
  --landing-card-title-weight: 620;
  --landing-glass-surface: linear-gradient(145deg, rgb(255 255 255 / 0.074), rgb(255 255 255 / 0.024) 42%, rgb(255 255 255 / 0.045)),
    #111111;
}
body[data-platform-design="dark-futuristic"] .landing-theme-root {
  --landing-card-radius: 22px;
  --landing-control-radius: 999px;
  --landing-hero-title-weight: 850;
  --landing-section-title-weight: 820;
  --landing-card-title-weight: 820;
  --landing-glass-surface: linear-gradient(180deg, rgb(10 22 42 / 0.82), rgb(5 12 24 / 0.82)),
    var(--platform-surface);
  @supports (color: color-mix(in lab, red, red)) {
    --landing-glass-surface: linear-gradient(180deg, rgb(10 22 42 / 0.82), rgb(5 12 24 / 0.82)),
    color-mix(in srgb, var(--platform-surface) 74%, transparent);
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root::before, body[data-platform-design="dark-neon"] .landing-theme-root::after, body[data-platform-design="dark-futuristic"] .landing-theme-root::before, body[data-platform-design="dark-futuristic"] .landing-theme-root::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body[data-platform-design="dark-neon"] .landing-theme-root::before {
  z-index: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.026) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.026) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.82;
  mask-image: radial-gradient(circle at top, black, transparent 72%);
}
body[data-platform-design="dark-neon"] .landing-theme-root::after {
  z-index: 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.035), transparent 18%, transparent 82%, rgb(255 255 255 / 0.035)), radial-gradient(circle at 50% 0%, rgb(255 255 255 / 0.05), transparent 32%);
}
body[data-platform-design="dark-futuristic"] .landing-theme-root::before {
  z-index: 0;
  background: linear-gradient(rgb(255 255 255 / 0.034) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.034) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: 0.19;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.28) 70%, transparent 100%);
}
body[data-platform-design="dark-futuristic"] .landing-theme-root::after {
  z-index: 0;
  background: radial-gradient(circle at 50% 0%, var(--platform-primary), transparent 22rem), radial-gradient(circle at 50% 50%, transparent 0%, rgb(0 0 0 / 0.26) 100%);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--platform-primary) 20%, transparent), transparent 22rem), radial-gradient(circle at 50% 50%, transparent 0%, rgb(0 0 0 / 0.26) 100%);
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root > *, body[data-platform-design="dark-futuristic"] .landing-theme-root > * {
  position: relative;
  z-index: 1;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-hero section, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-hero section {
  position: relative;
  overflow: hidden !important;
  isolation: isolate;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-hero section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 240px;
  z-index: 0;
  width: min(1120px, 115vw);
  height: 560px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, var(--platform-primary), var(--platform-primary) 28%, transparent 68%);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--platform-primary) 22%, transparent), color-mix(in srgb, var(--platform-primary) 8%, transparent) 28%, transparent 68%);
  }
  filter: blur(8px);
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-hero section::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 390px;
  z-index: 0;
  width: min(1040px, 118vw);
  height: min(1040px, 118vw);
  transform: translateX(-50%);
  border: 2px solid var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 2px solid color-mix(in srgb, var(--platform-primary) 22%, transparent);
  }
  border-radius: 999px;
  box-shadow: 0 -18px 80px var(--platform-primary), inset 0 20px 80px var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 -18px 80px color-mix(in srgb, var(--platform-primary) 20%, transparent), inset 0 20px 80px color-mix(in srgb, var(--platform-primary) 8%, transparent);
  }
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, black 24%, transparent 48%);
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-hero section::before {
  content: "";
  position: absolute;
  inset: -180px 0 auto;
  z-index: 0;
  height: 720px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 24%, var(--platform-primary), transparent 18rem), radial-gradient(circle at 50% 44%, var(--platform-accent), transparent 28rem);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 24%, color-mix(in srgb, var(--platform-primary) 30%, transparent), transparent 18rem), radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--platform-accent) 16%, transparent), transparent 28rem);
  }
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-hero section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--platform-bg) 86%);
  pointer-events: none;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-hero section > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-hero section > div {
  position: relative;
  z-index: 1;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-hero section > div {
  padding-top: 56px !important;
  padding-bottom: 94px !important;
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-hero section > div {
  padding-top: 82px !important;
  padding-bottom: 64px !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root h1, body[data-platform-design="dark-neon"] .landing-theme-root h2, body[data-platform-design="dark-neon"] .landing-theme-root h3, body[data-platform-design="dark-neon"] .landing-theme-root .public-landing-hero-title, body[data-platform-design="dark-futuristic"] .landing-theme-root h1, body[data-platform-design="dark-futuristic"] .landing-theme-root h2, body[data-platform-design="dark-futuristic"] .landing-theme-root h3, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-landing-hero-title {
  color: var(--platform-text) !important;
  letter-spacing: -0.045em !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-landing-hero-title {
  max-width: 980px !important;
  font-size: clamp(44px, 7vw, 88px) !important;
  line-height: 0.94 !important;
  font-weight: var(--landing-hero-title-weight) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root h1.public-landing-hero-title {
  font-size: clamp(42px, 6vw, 78px) !important;
  font-weight: var(--landing-hero-title-weight) !important;
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .public-landing-hero-title {
  max-width: 930px !important;
  font-size: clamp(44px, 6.2vw, 82px) !important;
  line-height: 0.98 !important;
  font-weight: var(--landing-hero-title-weight) !important;
}
body[data-platform-design="dark-futuristic"] .landing-theme-root h1.public-landing-hero-title {
  font-size: clamp(40px, 5.5vw, 70px) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-hero-zettelchaos-text, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-hero-zettelchaos-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-hero-zettelchaos-text {
  background-image: linear-gradient(90deg, var(--platform-text) 0%, var(--platform-primary) 44%, var(--platform-accent) 100%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background-image: linear-gradient(90deg, var(--platform-text) 0%, color-mix(in srgb, var(--platform-primary) 34%, var(--platform-text)) 44%, var(--platform-accent) 100%) !important;
  }
  filter: drop-shadow(0 0 22px var(--platform-primary));
  @supports (color: color-mix(in lab, red, red)) {
    filter: drop-shadow(0 0 22px color-mix(in srgb, var(--platform-primary) 16%, transparent));
  }
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-hero-zettelchaos-text {
  background-image: linear-gradient(90deg, var(--platform-text) 0%, var(--platform-primary) 54%, var(--platform-accent) 100%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background-image: linear-gradient(90deg, var(--platform-text) 0%, color-mix(in srgb, var(--platform-primary) 55%, var(--platform-text)) 54%, var(--platform-accent) 100%) !important;
  }
  filter: drop-shadow(0 0 24px var(--platform-primary));
  @supports (color: color-mix(in lab, red, red)) {
    filter: drop-shadow(0 0 24px color-mix(in srgb, var(--platform-primary) 18%, transparent));
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-hero-zettelchaos-underline, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-hero-zettelchaos-underline {
  left: 4%;
  right: 4%;
  bottom: -0.17em;
  width: 92%;
  color: var(--platform-primary) !important;
  opacity: 0.95;
  filter: drop-shadow(0 0 18px var(--platform-primary));
  @supports (color: color-mix(in lab, red, red)) {
    filter: drop-shadow(0 0 18px color-mix(in srgb, var(--platform-primary) 45%, transparent));
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-featuresheadline, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-usecasesheadline, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-workflowheadline, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-pricingheadline, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-faqheadline, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-finalheadline, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-featuresheadline, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-usecasesheadline, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-workflowheadline, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-pricingheadline, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-faqheadline, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-finalheadline {
  font-size: clamp(34px, 4.8vw, 58px) !important;
  font-weight: var(--landing-section-title-weight) !important;
  line-height: 1.04 !important;
  text-wrap: balance;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-features-0-title, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-features-1-title, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-proofheadline, body[data-platform-design="dark-neon"] .landing-theme-root [class*="landing-style-secondaryfeatures-"][class*="-title"], body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-features-0-title, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-features-1-title, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-proofheadline, body[data-platform-design="dark-futuristic"] .landing-theme-root [class*="landing-style-secondaryfeatures-"][class*="-title"] {
  color: var(--platform-text) !important;
  font-weight: var(--landing-card-title-weight) !important;
  letter-spacing: -0.035em !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-subheadline, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-featuresbody, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-usecasesbody, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-workflowbody, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-pricingbody, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-finalbody, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-subheadline, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-featuresbody, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-usecasesbody, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-workflowbody, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-pricingbody, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-finalbody {
  color: var(--platform-muted) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-eyebrow, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-pricingeyebrow, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-faqeyebrow, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-finaleyebrow, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-languageeyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-eyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-pricingeyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-faqeyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-finaleyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-languageeyebrow {
  border: 1px solid var(--landing-glass-border) !important;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.075), rgb(255 255 255 / 0.03)) !important;
  color: var(--platform-text) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-text) 70%, transparent) !important;
  }
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 16px 50px rgb(0 0 0 / 0.22) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-eyebrow span.h-2, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-eyebrow span.h-2 {
  background: var(--platform-primary) !important;
  box-shadow: 0 0 18px var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 18px color-mix(in srgb, var(--platform-primary) 82%, transparent);
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-pricingeyebrow, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-faqeyebrow, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-finaleyebrow, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-languageeyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-pricingeyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-faqeyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-finaleyebrow, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-languageeyebrow {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--platform-text) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-text) 68%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-primarycta, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-primaryctabutton, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-pricingctabutton, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-finalprimaryctabutton, body[data-platform-design="dark-neon"] .landing-theme-root .landing-pricing-cta {
  border: 0 !important;
  border-radius: var(--landing-control-radius) !important;
  background: linear-gradient(135deg, var(--platform-accent) 0%, var(--platform-primary) 46%, var(--platform-primary) 100%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--platform-accent) 88%, #ffffff) 0%, var(--platform-primary) 46%, color-mix(in srgb, var(--platform-primary) 82%, #1a0500) 100%) !important;
  }
  color: #ffffff !important;
  box-shadow: 0 18px 54px var(--platform-primary), inset 0 1px 0 rgb(255 255 255 / 0.26) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 18px 54px color-mix(in srgb, var(--platform-primary) 33%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.26) !important;
  }
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-primarycta, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-primaryctabutton, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-pricingctabutton, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-finalprimaryctabutton, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-pricing-cta {
  border: 1px solid rgb(255 255 255 / 0.48) !important;
  border-radius: var(--landing-control-radius) !important;
  background: radial-gradient(circle at 50% 0%, rgb(255 255 255 / 0.98), rgb(255 255 255 / 0.5) 55%, var(--platform-primary) 100%), linear-gradient(180deg, #f2f8ff, var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 0%, rgb(255 255 255 / 0.98), rgb(255 255 255 / 0.5) 55%, color-mix(in srgb, var(--platform-primary) 78%, #ffffff) 100%), linear-gradient(180deg, #f2f8ff, var(--platform-primary)) !important;
  }
  color: #06101d !important;
  box-shadow: 0 0 34px var(--platform-primary), 0 14px 40px rgb(0 0 0 / 0.28) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 34px color-mix(in srgb, var(--platform-primary) 20%, transparent), 0 14px 40px rgb(0 0 0 / 0.28) !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-primarycta:hover, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-primaryctabutton:hover, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-pricingctabutton:hover, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-finalprimaryctabutton:hover, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-primarycta:hover, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-primaryctabutton:hover, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-pricingctabutton:hover, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-finalprimaryctabutton:hover {
  transform: translateY(-3px) !important;
  filter: saturate(1.06) brightness(1.03);
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-secondarycta, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-secondaryctabutton, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-finalsecondarycta, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-finalsecondaryctabutton, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-secondarycta, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-secondaryctabutton, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-finalsecondarycta, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-finalsecondaryctabutton {
  border: 1px solid var(--landing-glass-border) !important;
  border-radius: var(--landing-control-radius) !important;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.085), rgb(255 255 255 / 0.035)) !important;
  color: var(--platform-text) !important;
  box-shadow: 0 18px 46px rgb(0 0 0 / 0.24), inset 0 1px 0 rgb(255 255 255 / 0.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-secondarycta svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-secondaryctabutton svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-secondarycta svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-secondaryctabutton svg {
  color: var(--platform-primary) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-landing-preview-video, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-landing-preview-video {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--landing-glass-border-strong) !important;
  border-radius: calc(var(--landing-card-radius) + 10px) !important;
  background: var(--landing-glass-surface) !important;
  box-shadow: 0 42px 115px rgb(0 0 0 / 0.54), inset 0 1px 0 rgb(255 255 255 / 0.1) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-landing-preview-video::before, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-landing-preview-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-landing-preview-video::before {
  background: radial-gradient(circle at 50% 0%, var(--platform-primary), transparent 42%), linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent 28%);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--platform-primary) 22%, transparent), transparent 42%), linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent 28%);
  }
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .public-landing-preview-video::before {
  background: radial-gradient(circle at 50% 18%, var(--platform-primary), transparent 38%), linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent 32%);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--platform-primary) 24%, transparent), transparent 38%), linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent 32%);
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-productpreview::after, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-productpreview::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  z-index: -1;
  width: min(760px, 88vw);
  height: 84px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse, var(--platform-primary), transparent 68%);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(ellipse, color-mix(in srgb, var(--platform-primary) 27%, transparent), transparent 68%);
  }
  filter: blur(18px);
}
body[data-platform-design="dark-neon"] .landing-theme-root #produkt, body[data-platform-design="dark-neon"] .landing-theme-root #funktionen, body[data-platform-design="dark-neon"] .landing-theme-root #ablauf, body[data-platform-design="dark-neon"] .landing-theme-root #preise, body[data-platform-design="dark-neon"] .landing-theme-root #faq, body[data-platform-design="dark-futuristic"] .landing-theme-root #produkt, body[data-platform-design="dark-futuristic"] .landing-theme-root #funktionen, body[data-platform-design="dark-futuristic"] .landing-theme-root #ablauf, body[data-platform-design="dark-futuristic"] .landing-theme-root #preise, body[data-platform-design="dark-futuristic"] .landing-theme-root #faq {
  position: relative;
}
body[data-platform-design="dark-neon"] .landing-theme-root #produkt::before, body[data-platform-design="dark-neon"] .landing-theme-root #funktionen::before, body[data-platform-design="dark-neon"] .landing-theme-root #ablauf::before, body[data-platform-design="dark-neon"] .landing-theme-root #preise::before, body[data-platform-design="dark-neon"] .landing-theme-root #faq::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #produkt::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #funktionen::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #ablauf::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #preise::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 1px solid var(--landing-glass-border);
}
body[data-platform-design="dark-neon"] .landing-theme-root #produkt::before, body[data-platform-design="dark-neon"] .landing-theme-root #funktionen::before, body[data-platform-design="dark-neon"] .landing-theme-root #ablauf::before, body[data-platform-design="dark-neon"] .landing-theme-root #preise::before, body[data-platform-design="dark-neon"] .landing-theme-root #faq::before {
  background: radial-gradient(circle at 85% 10%, var(--platform-primary), transparent 340px), radial-gradient(circle at 10% 38%, rgb(255 255 255 / 0.055), transparent 300px);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--platform-primary) 8%, transparent), transparent 340px), radial-gradient(circle at 10% 38%, rgb(255 255 255 / 0.055), transparent 300px);
  }
  opacity: 0.92;
}
body[data-platform-design="dark-futuristic"] .landing-theme-root #produkt::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #funktionen::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #ablauf::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #preise::before, body[data-platform-design="dark-futuristic"] .landing-theme-root #faq::before {
  background: radial-gradient(circle at 82% 12%, var(--platform-primary), transparent 350px), radial-gradient(circle at 12% 40%, var(--platform-accent), transparent 310px);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--platform-primary) 12%, transparent), transparent 350px), radial-gradient(circle at 12% 40%, color-mix(in srgb, var(--platform-accent) 9%, transparent), transparent 310px);
  }
  opacity: 0.88;
}
body[data-platform-design="dark-neon"] .landing-theme-root #produkt .mx-auto, body[data-platform-design="dark-neon"] .landing-theme-root #funktionen .mx-auto, body[data-platform-design="dark-neon"] .landing-theme-root #ablauf .mx-auto, body[data-platform-design="dark-neon"] .landing-theme-root #preise .mx-auto, body[data-platform-design="dark-neon"] .landing-theme-root #faq .mx-auto, body[data-platform-design="dark-futuristic"] .landing-theme-root #produkt .mx-auto, body[data-platform-design="dark-futuristic"] .landing-theme-root #funktionen .mx-auto, body[data-platform-design="dark-futuristic"] .landing-theme-root #ablauf .mx-auto, body[data-platform-design="dark-futuristic"] .landing-theme-root #preise .mx-auto, body[data-platform-design="dark-futuristic"] .landing-theme-root #faq .mx-auto {
  position: relative;
  z-index: 1;
}
body[data-platform-design="dark-neon"] .landing-theme-root article.group, body[data-platform-design="dark-neon"] .landing-theme-root .public-faq-card, body[data-platform-design="dark-neon"] .landing-theme-root #ablauf article, body[data-platform-design="dark-neon"] .landing-theme-root #preise .overflow-hidden.rounded-\[2rem\], body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-instructions > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-onboarding > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-proof > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-final section, body[data-platform-design="dark-neon"] .landing-theme-root .landing-pricing-trial-pill, body[data-platform-design="dark-futuristic"] .landing-theme-root article.group, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-faq-card, body[data-platform-design="dark-futuristic"] .landing-theme-root #ablauf article, body[data-platform-design="dark-futuristic"] .landing-theme-root #preise .overflow-hidden.rounded-\[2rem\], body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-instructions > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-onboarding > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-proof > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-final section, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-pricing-trial-pill {
  border: 1px solid var(--landing-glass-border) !important;
  border-radius: var(--landing-card-radius) !important;
  background: var(--landing-glass-surface) !important;
  box-shadow: var(--design-shadow) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
body[data-platform-design="dark-neon"] .landing-theme-root article.group, body[data-platform-design="dark-futuristic"] .landing-theme-root article.group {
  padding: 26px !important;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root article.group:hover, body[data-platform-design="dark-futuristic"] .landing-theme-root article.group:hover {
  transform: translateY(-6px) !important;
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 32%, transparent) !important;
  }
  box-shadow: 0 36px 100px rgb(0 0 0 / 0.46), 0 0 0 1px var(--platform-primary), inset 0 1px 0 rgb(255 255 255 / 0.12) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 36px 100px rgb(0 0 0 / 0.46), 0 0 0 1px color-mix(in srgb, var(--platform-primary) 10%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.12) !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-0 > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-1 > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-2 > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-3 > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-4 > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-5 > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-6 > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-7 > div, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-8 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-0 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-1 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-2 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-3 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-4 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-5 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-6 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-7 > div, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-8 > div {
  border-color: var(--landing-glass-border) !important;
  background: radial-gradient(circle at 50% 15%, var(--platform-primary), transparent 54%), rgb(255 255 255 / 0.035) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 15%, color-mix(in srgb, var(--platform-primary) 16%, transparent), transparent 54%), rgb(255 255 255 / 0.035) !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-0 svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-1 svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-2 svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-3 svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-4 svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-5 svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-6 svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-7 svg, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-secondaryfeatures-8 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-0 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-1 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-2 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-3 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-4 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-5 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-6 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-7 svg, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-secondaryfeatures-8 svg {
  color: var(--platform-primary) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-instructions *, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-onboarding *, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-proof *, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-instructions *, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-onboarding *, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-proof * {
  border-color: var(--landing-glass-border) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-instructions .bg-white, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-instructions .bg-slate-50, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-instructions .bg-slate-100, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-onboarding .bg-white, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-onboarding .bg-slate-50, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-onboarding .bg-slate-100, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-proof .bg-white, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-proof .bg-slate-50, body[data-platform-design="dark-neon"] .landing-theme-root .landing-style-visual-story-proof .bg-slate-100, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-instructions .bg-white, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-instructions .bg-slate-50, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-instructions .bg-slate-100, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-onboarding .bg-white, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-onboarding .bg-slate-50, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-onboarding .bg-slate-100, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-proof .bg-white, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-proof .bg-slate-50, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-style-visual-story-proof .bg-slate-100 {
  background: rgb(255 255 255 / 0.045) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root li span.mr-4, body[data-platform-design="dark-futuristic"] .landing-theme-root li span.mr-4 {
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 12%, transparent) !important;
  }
  color: var(--platform-primary) !important;
  border: 1px solid var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-primary) 20%, transparent) !important;
  }
  box-shadow: 0 0 24px var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 24px color-mix(in srgb, var(--platform-primary) 8%, transparent);
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root #preise .overflow-hidden.rounded-\[2rem\], body[data-platform-design="dark-futuristic"] .landing-theme-root #preise .overflow-hidden.rounded-\[2rem\] {
  position: relative;
  overflow: hidden !important;
  border-radius: calc(var(--landing-card-radius) + 8px) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root #preise .overflow-hidden.rounded-\[2rem\] {
  background: radial-gradient(circle at 68% 22%, var(--platform-primary), transparent 34%), var(--landing-glass-surface) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 68% 22%, color-mix(in srgb, var(--platform-primary) 21%, transparent), transparent 34%), var(--landing-glass-surface) !important;
  }
}
body[data-platform-design="dark-futuristic"] .landing-theme-root #preise .overflow-hidden.rounded-\[2rem\] {
  background: radial-gradient(circle at 50% 0%, var(--platform-primary), transparent 42%), var(--landing-glass-surface) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--platform-primary) 18%, transparent), transparent 42%), var(--landing-glass-surface) !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root #preise .grid > div.bg-slate-950, body[data-platform-design="dark-futuristic"] .landing-theme-root #preise .grid > div.bg-slate-950 {
  border-color: var(--landing-glass-border) !important;
  background: radial-gradient(circle at 82% 12%, var(--platform-primary), transparent 18rem), linear-gradient(180deg, rgb(7 12 22 / 0.96), rgb(3 7 14 / 0.98)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--platform-primary) 10%, transparent), transparent 18rem), linear-gradient(180deg, rgb(7 12 22 / 0.96), rgb(3 7 14 / 0.98)) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root #preise .grid > div.bg-slate-950 .bg-white\/5, body[data-platform-design="dark-futuristic"] .landing-theme-root #preise .grid > div.bg-slate-950 .bg-white\/5 {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 16%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 7%, rgb(255 255 255 / 0.04)) !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-faq-card, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-faq-card {
  overflow: hidden;
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-faq-card summary, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-faq-card summary {
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-faq-card .public-faq-chevron, body[data-platform-design="dark-futuristic"] .landing-theme-root .public-faq-card .public-faq-chevron {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--landing-glass-border);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.045);
  color: var(--platform-primary) !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .public-faq-card[open], body[data-platform-design="dark-futuristic"] .landing-theme-root .public-faq-card[open] {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 24%, transparent) !important;
  }
  box-shadow: 0 26px 80px rgb(0 0 0 / 0.35), 0 0 0 1px var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 26px 80px rgb(0 0 0 / 0.35), 0 0 0 1px color-mix(in srgb, var(--platform-primary) 8%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-final section, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-final section {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-final section {
  background: radial-gradient(circle at 50% 0%, var(--platform-primary), transparent 34%), transparent !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--platform-primary) 18%, transparent), transparent 34%), transparent !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-final section::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -250px;
  width: min(1360px, 122vw);
  height: 520px;
  transform: translateX(-50%);
  border-top: 1px solid var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in srgb, var(--platform-primary) 30%, transparent);
  }
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at center top, var(--platform-primary), transparent 42%), repeating-linear-gradient(90deg, transparent 0 54px, var(--platform-primary) 55px, transparent 56px);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(ellipse at center top, color-mix(in srgb, var(--platform-primary) 22%, transparent), transparent 42%), repeating-linear-gradient(90deg, transparent 0 54px, color-mix(in srgb, var(--platform-primary) 8%, transparent) 55px, transparent 56px);
  }
  box-shadow: 0 -30px 120px var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 -30px 120px color-mix(in srgb, var(--platform-primary) 18%, transparent);
  }
  pointer-events: none;
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-final section {
  background: radial-gradient(circle at 50% 0%, var(--platform-primary), transparent 25rem), linear-gradient(180deg, var(--platform-bg) 0%, var(--platform-bg) 100%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--platform-primary) 18%, transparent), transparent 25rem), linear-gradient(180deg, var(--platform-bg) 0%, var(--platform-bg) 100%) !important;
  }
}
body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-final section::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -245px;
  width: min(1400px, 120%);
  height: 500px;
  transform: translateX(-50%);
  border-top: 1px solid var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in srgb, var(--platform-primary) 42%, transparent);
  }
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at center top, var(--platform-primary), transparent 42%), repeating-linear-gradient(90deg, transparent 0 54px, var(--platform-primary) 55px, transparent 56px);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(ellipse at center top, color-mix(in srgb, var(--platform-primary) 24%, transparent), transparent 42%), repeating-linear-gradient(90deg, transparent 0 54px, color-mix(in srgb, var(--platform-primary) 8%, transparent) 55px, transparent 56px);
  }
  box-shadow: 0 -30px 120px var(--platform-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 -30px 120px color-mix(in srgb, var(--platform-primary) 22%, transparent);
  }
  pointer-events: none;
}
body[data-platform-design="dark-neon"] .landing-theme-root .landing-section-mobile-padding-final .mx-auto, body[data-platform-design="dark-futuristic"] .landing-theme-root .landing-section-mobile-padding-final .mx-auto {
  position: relative;
  z-index: 1;
}
body[data-platform-design="dark-neon"] .landing-theme-root footer, body[data-platform-design="dark-futuristic"] .landing-theme-root footer {
  border-color: var(--landing-glass-border) !important;
  background: var(--platform-bg) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-bg) 92%, transparent) !important;
  }
}
body[data-platform-design="dark-neon"] .landing-theme-root footer::before, body[data-platform-design="dark-futuristic"] .landing-theme-root footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.38;
  mask-image: linear-gradient(180deg, transparent, black 40%, transparent);
}
body[data-platform-design="dark-neon"] .landing-theme-root footer a, body[data-platform-design="dark-neon"] .landing-theme-root footer p, body[data-platform-design="dark-neon"] .landing-theme-root footer button, body[data-platform-design="dark-futuristic"] .landing-theme-root footer a, body[data-platform-design="dark-futuristic"] .landing-theme-root footer p, body[data-platform-design="dark-futuristic"] .landing-theme-root footer button {
  color: var(--platform-muted) !important;
}
@media (max-width: 767px) {
  .platform-design-editor__header {
    display: block;
  }
  .platform-design-editor__swatches {
    width: 100%;
    margin-top: 0.85rem;
  }
  body[data-platform-design="dark-neon"] .landing-theme-root header.fixed, body[data-platform-design="dark-futuristic"] .landing-theme-root header.fixed {
    top: 12px !important;
    width: min(calc(100% - 20px), 1120px) !important;
    border-radius: 18px !important;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes landingZettelchaosDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .authorflow-flow-world > svg .authorflow-flow-connection-preview {
    animation: none;
  }
  .landing-hero-zettelchaos-underline path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
@media (max-width: 767px) {
  .landing-theme-root .landing-pricing-cta, .landing-builder-device.is-mobile .landing-builder-preview-surface .landing-pricing-cta {
    font-size: 17px !important;
    min-height: 66px !important;
  }
  .landing-theme-root .landing-pricing-kpis > div {
    margin-top: 30px !important;
  }
  .landing-theme-root .landing-pricing-trial-pill {
    margin-bottom: 15px !important;
  }
}
.landing-builder-device.is-mobile .landing-builder-preview-surface .landing-pricing-kpis > div {
  margin-top: 30px !important;
}
.landing-builder-device.is-mobile .landing-builder-preview-surface .landing-pricing-trial-pill {
  margin-bottom: 15px !important;
}
@media (min-width: 1024px) {
  .landing-theme-root .landing-style-usecasesheadline, .landing-builder-device:not(.is-mobile) .landing-builder-preview-surface .landing-style-usecasesheadline {
    max-width: calc(100% - 90px);
    margin-left: auto;
    margin-right: auto;
  }
}
body[data-platform-design="glamour"] .login-shell {
  background: radial-gradient(620px 360px at 12% 12%, var(--platform-accent), transparent 72%), linear-gradient(180deg, #fbf9f6, var(--platform-bg)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(620px 360px at 12% 12%, color-mix(in srgb, var(--platform-accent) 10%, transparent), transparent 72%), linear-gradient(180deg, #fbf9f6, var(--platform-bg)) !important;
  }
  color: var(--platform-text) !important;
}
body[data-platform-design="glamour"] .login-card {
  border-color: var(--design-border) !important;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.92), #ffffff) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.92), color-mix(in srgb, #ffffff 78%, var(--platform-bg))) !important;
  }
  box-shadow: 0 14px 46px rgb(88 58 35 / 0.075), inset 0 1px 0 rgb(255 255 255 / 0.88) !important;
}
body[data-platform-design="glamour"] .login-hero {
  border-color: var(--design-border) !important;
  background: radial-gradient(520px 320px at 18% 8%, var(--platform-accent), transparent 70%), linear-gradient(180deg, #fffdfb 0%, var(--platform-bg) 100%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(520px 320px at 18% 8%, color-mix(in srgb, var(--platform-accent) 12%, transparent), transparent 70%), linear-gradient(180deg, #fffdfb 0%, color-mix(in srgb, var(--platform-bg) 80%, #ffffff) 100%) !important;
  }
}
body[data-platform-design="glamour"] .login-hero-grid {
  background-image: radial-gradient(var(--platform-primary) 1px, transparent 1px) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background-image: radial-gradient(color-mix(in srgb, var(--platform-primary) 20%, transparent) 1px, transparent 1px) !important;
  }
  opacity: 0.34 !important;
}
body[data-platform-design="glamour"] .login-hero-wash {
  background: linear-gradient(180deg, transparent, var(--platform-bg)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--platform-bg) 82%, #ffffff)) !important;
  }
}
body[data-platform-design="glamour"] .login-panel {
  background: #ffffff !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #ffffff 84%, var(--platform-bg)) !important;
  }
}
body[data-platform-design="glamour"] .login-primary-button {
  border: 1px solid var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-primary) 28%, #171513) !important;
  }
  background: linear-gradient(135deg, #171513, var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, #171513, color-mix(in srgb, var(--platform-primary) 54%, #171513)) !important;
  }
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgb(88 58 35 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.1) !important;
}
body[data-platform-design="glamour"] .login-primary-button:hover {
  background: linear-gradient(135deg, var(--platform-primary), var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--platform-primary) 22%, #171513), color-mix(in srgb, var(--platform-primary) 68%, #171513)) !important;
  }
  box-shadow: 0 12px 28px rgb(88 58 35 / 0.14), inset 0 1px 0 rgb(255 255 255 / 0.12) !important;
}
body[data-platform-design="dark-neon"] .login-shell, body[data-platform-design="dark-futuristic"] .login-shell {
  background: var(--design-bg-layer) !important;
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .login-card, body[data-platform-design="dark-futuristic"] .login-card {
  border-color: var(--design-border) !important;
  background: radial-gradient(720px 420px at 76% 8%, var(--platform-primary), transparent 70%), var(--design-panel) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(720px 420px at 76% 8%, color-mix(in srgb, var(--platform-primary) 10%, transparent), transparent 70%), color-mix(in srgb, var(--design-panel) 92%, #000000) !important;
  }
  box-shadow: 0 34px 110px rgb(0 0 0 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.06) !important;
}
body[data-platform-design="dark-neon"] .login-hero {
  border-color: var(--design-border) !important;
  background: radial-gradient(620px 360px at 22% 12%, var(--platform-primary), transparent 70%), radial-gradient(440px 340px at 78% 86%, var(--platform-accent), transparent 72%), linear-gradient(180deg, #171717 0%, #101010 54%, #080808 100%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(620px 360px at 22% 12%, color-mix(in srgb, var(--platform-primary) 16%, transparent), transparent 70%), radial-gradient(440px 340px at 78% 86%, color-mix(in srgb, var(--platform-accent) 10%, transparent), transparent 72%), linear-gradient(180deg, #171717 0%, #101010 54%, #080808 100%) !important;
  }
}
body[data-platform-design="dark-futuristic"] .login-hero {
  border-color: var(--design-border) !important;
  background: radial-gradient(720px 390px at 26% 0%, var(--platform-primary), transparent 68%), radial-gradient(520px 360px at 82% 90%, var(--platform-accent), transparent 74%), linear-gradient(180deg, #08111f 0%, #050a13 56%, #02050a 100%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(720px 390px at 26% 0%, color-mix(in srgb, var(--platform-primary) 19%, transparent), transparent 68%), radial-gradient(520px 360px at 82% 90%, color-mix(in srgb, var(--platform-accent) 13%, transparent), transparent 74%), linear-gradient(180deg, #08111f 0%, #050a13 56%, #02050a 100%) !important;
  }
}
body[data-platform-design="dark-neon"] .login-hero-grid, body[data-platform-design="dark-futuristic"] .login-hero-grid {
  background-image: radial-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1px) !important;
  opacity: 0.23 !important;
}
body[data-platform-design="dark-neon"] .login-hero-wash, body[data-platform-design="dark-futuristic"] .login-hero-wash {
  background: linear-gradient(180deg, rgb(0 0 0 / 0), rgb(0 0 0 / 0.18) 45%, rgb(0 0 0 / 0.42)), radial-gradient(circle at 50% 100%, var(--platform-primary), transparent 52%) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(180deg, rgb(0 0 0 / 0), rgb(0 0 0 / 0.18) 45%, rgb(0 0 0 / 0.42)), radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--platform-primary) 8%, transparent), transparent 52%) !important;
  }
}
body[data-platform-design="dark-neon"] .login-panel, body[data-platform-design="dark-futuristic"] .login-panel {
  background: var(--design-panel) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel) 90%, #000000) !important;
  }
}
body[data-platform-design="dark-neon"] .login-hero-title, body[data-platform-design="dark-neon"] .login-title, body[data-platform-design="dark-futuristic"] .login-hero-title, body[data-platform-design="dark-futuristic"] .login-title {
  color: var(--platform-text) !important;
}
body[data-platform-design="dark-neon"] .login-hero-accent, body[data-platform-design="dark-neon"] .login-hero-copy, body[data-platform-design="dark-neon"] .login-copy, body[data-platform-design="dark-futuristic"] .login-hero-accent, body[data-platform-design="dark-futuristic"] .login-hero-copy, body[data-platform-design="dark-futuristic"] .login-copy {
  color: var(--platform-muted) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-muted) 88%, var(--platform-text)) !important;
  }
}
body[data-platform-design="dark-neon"] .login-eyebrow, body[data-platform-design="dark-futuristic"] .login-eyebrow {
  color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-primary) 72%, var(--platform-text)) !important;
  }
}
body[data-platform-design="dark-neon"] .login-label, body[data-platform-design="dark-neon"] .login-remember-device, body[data-platform-design="dark-futuristic"] .login-label, body[data-platform-design="dark-futuristic"] .login-remember-device {
  color: var(--platform-text) !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, var(--platform-text) 84%, var(--platform-muted)) !important;
  }
}
body[data-platform-design="dark-neon"] .login-input, body[data-platform-design="dark-futuristic"] .login-input {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 18%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 92%, #000000) !important;
  }
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.055), 0 10px 24px rgb(0 0 0 / 0.14) !important;
}
body[data-platform-design="dark-neon"] .login-input:focus, body[data-platform-design="dark-futuristic"] .login-input:focus {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 68%, rgb(255 255 255 / 0.12)) !important;
  }
  box-shadow: 0 0 0 4px var(--platform-primary), inset 0 1px 0 rgb(255 255 255 / 0.06) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--platform-primary) 18%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.06) !important;
  }
}
body[data-platform-design="dark-neon"] .login-remember-device, body[data-platform-design="dark-futuristic"] .login-remember-device {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 18%, rgb(255 255 255 / 0.08)) !important;
  }
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 86%, #000000) !important;
  }
}
body[data-platform-design="dark-neon"] .login-primary-button, body[data-platform-design="dark-futuristic"] .login-primary-button {
  border: 1px solid var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-primary) 58%, transparent) !important;
  }
  background: linear-gradient(135deg, var(--platform-primary), var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--platform-primary) 92%, var(--platform-accent)), var(--platform-primary)) !important;
  }
  color: #ffffff !important;
  box-shadow: 0 0 0 1px var(--platform-primary), 0 18px 34px var(--platform-primary), inset 0 1px 0 rgb(255 255 255 / 0.18) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--platform-primary) 16%, transparent), 0 18px 34px color-mix(in srgb, var(--platform-primary) 22%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.18) !important;
  }
}
body[data-platform-design="dark-futuristic"] .login-primary-button {
  color: #06101d !important;
}
body[data-platform-design="dark-neon"] .login-primary-button:hover, body[data-platform-design="dark-futuristic"] .login-primary-button:hover {
  background: linear-gradient(135deg, var(--platform-primary), var(--platform-primary)) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(135deg, color-mix(in srgb, var(--platform-primary) 78%, #ffffff), var(--platform-primary)) !important;
  }
  box-shadow: 0 0 0 1px var(--platform-primary), 0 22px 44px var(--platform-primary), inset 0 1px 0 rgb(255 255 255 / 0.22) !important;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--platform-primary) 24%, transparent), 0 22px 44px color-mix(in srgb, var(--platform-primary) 28%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.22) !important;
  }
}
body[data-platform-design="glamour"] .login-secondary-button, body[data-platform-design="dark-neon"] .login-secondary-button, body[data-platform-design="dark-futuristic"] .login-secondary-button {
  border-color: var(--design-border) !important;
  background: var(--design-panel-2) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--design-panel-2) 92%, transparent) !important;
  }
  color: var(--platform-text) !important;
  box-shadow: none !important;
}
body[data-platform-design="glamour"] .login-secondary-button:hover, body[data-platform-design="dark-neon"] .login-secondary-button:hover, body[data-platform-design="dark-futuristic"] .login-secondary-button:hover {
  border-color: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, var(--platform-primary) 34%, var(--design-border)) !important;
  }
  background: var(--platform-primary) !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-primary) 10%, var(--design-panel-2)) !important;
  }
}
body[data-platform-design="glamour"] .login-forgot-button, body[data-platform-design="dark-neon"] .login-forgot-button, body[data-platform-design="dark-futuristic"] .login-forgot-button {
  background: transparent !important;
  color: var(--platform-muted) !important;
}
body[data-platform-design="glamour"] .login-forgot-button:hover, body[data-platform-design="dark-neon"] .login-forgot-button:hover, body[data-platform-design="dark-futuristic"] .login-forgot-button:hover {
  background: transparent !important;
  color: var(--platform-primary) !important;
}
body[data-platform-design="glamour"] .login-success-card, body[data-platform-design="dark-neon"] .login-success-card, body[data-platform-design="dark-futuristic"] .login-success-card {
  border-color: #10b981 !important;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in srgb, #10b981 28%, var(--design-border)) !important;
  }
  background: #10b981 !important;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #10b981 12%, var(--design-panel-2)) !important;
  }
  color: #10b981 !important;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, #10b981 70%, var(--platform-text)) !important;
  }
}
.cover-library-page, .cover-editor-shell, .cover-layer-drag-preview, .cover-color-picker, .cover-eyedropper-hint, .cover-eyedropper-loupe {
  --cover-bg: var(--platform-bg, #f6f3ef);
  --cover-surface: var(--platform-surface, #fff);
  --cover-text: var(--platform-text, #171513);
  --cover-muted: var(--platform-muted, #7f756e);
  --cover-primary: var(--platform-primary, #9b5524);
  --cover-accent: var(--platform-accent, #c97333);
  color: var(--cover-text);
}
.cover-library-page {
  padding: 0.25rem 0 3rem;
}
.cover-library-page .authorflow-button--primary {
  background: var(--cover-primary);
  color: #fff;
  box-shadow: 0 12px 24px -17px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 12px 24px -17px color-mix(in oklab, var(--cover-primary) 76%, transparent);
  }
}
.cover-library-page .authorflow-button--primary:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 88%, black);
  }
}
.cover-library-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 24%, transparent);
  }
}
.cover-library-header h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}
.cover-library-header p {
  max-width: 47rem;
  margin-top: 0.9rem;
  color: var(--cover-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.cover-library-section {
  margin-top: 2.5rem;
}
.cover-library-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.15rem;
}
.cover-library-section__head h2 {
  font-family: Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
}
.cover-library-section__head p, .cover-library-section__head > span {
  margin-top: 0.25rem;
  color: var(--cover-muted);
  font-size: 0.72rem;
  font-weight: 650;
}
.cover-library-projects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem 1.15rem;
}
.cover-library-project {
  min-width: 0;
}
.cover-library-project__preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--cover-front-aspect, 2 / 3);
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 24%, transparent);
  }
  border-radius: 0.7rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 84%, var(--cover-muted));
  }
  box-shadow: 0 18px 45px -35px rgb(20 15 10 / 0.58);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.cover-library-project__preview:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -34px rgb(20 15 10 / 0.72);
}
.cover-library-project__frontcover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-library-project__placeholder {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-direction: column;
  padding: 1.5rem;
  color: var(--cover-muted);
  text-align: center;
}
.cover-library-project__placeholder > svg {
  color: var(--cover-primary);
}
.cover-library-project__placeholder span {
  display: grid;
  gap: 0.3rem;
}
.cover-library-project__placeholder strong {
  color: var(--cover-text);
  font-family: Georgia, serif;
  font-size: 0.85rem;
  font-weight: 500;
}
.cover-library-project__placeholder small {
  max-width: 13rem;
  font-size: 0.62rem;
  line-height: 1.45;
}
.cover-library-project__open-label {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.4rem;
  background: rgb(20 17 14 / 0.82);
  padding: 0.45rem 0.65rem;
  color: white;
  font-size: 0.62rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 160ms ease, transform 160ms ease;
}
.cover-library-project__preview:hover .cover-library-project__open-label, .cover-library-project__preview:focus-visible .cover-library-project__open-label {
  opacity: 1;
  transform: none;
}
.cover-library-project__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.2rem 0;
}
.cover-library-project__meta > div:first-child {
  min-width: 0;
}
.cover-library-project__meta h3 {
  font-family: Georgia, serif;
  font-size: 0.92rem;
}
.cover-library-project__meta p, .cover-library-project__meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--cover-muted);
  font-size: 0.61rem;
}
.cover-library-project__meta p {
  margin-top: 0.2rem;
}
.cover-library-project__meta small {
  margin-top: 0.12rem;
}
.cover-library-project__meta button {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 1.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  color: var(--cover-muted);
}
.cover-library-project__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.15rem;
}
.cover-library-project__meta button:disabled {
  cursor: wait;
  opacity: 0.5;
}
.cover-library-project__duplicate:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 9%, transparent);
  }
  color: var(--cover-primary);
}
.cover-library-project__delete:hover {
  background: color-mix(in oklab, #e11d48 8%, transparent);
  color: #e11d48;
}
.cover-library-empty {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px dashed color-mix(in oklab, var(--cover-muted) 33%, transparent);
  }
  border-radius: 0.8rem;
  text-align: center;
}
.cover-library-empty > div {
  display: inline-flex;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 10%, var(--cover-surface));
  }
  color: var(--cover-primary);
}
.cover-library-empty h3 {
  margin-top: 0.75rem;
  font-family: Georgia, serif;
  font-size: 1.1rem;
}
.cover-library-empty p {
  max-width: 32rem;
  margin-top: 0.4rem;
  color: var(--cover-muted);
  font-size: 0.76rem;
}
.cover-template-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.45rem 1rem;
}
.cover-template-card {
  min-width: 0;
}
.cover-template-card__art {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 23%, transparent);
  }
  border-radius: 0.65rem;
  background-position: center;
  background-size: cover;
  box-shadow: 0 16px 35px -30px rgb(15 12 9 / 0.8);
}
.cover-template-card__art--wrap {
  aspect-ratio: 640 / 423;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 90%, var(--cover-bg));
  }
}
.cover-template-card__art--wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-template-card__art--wrap::before, .cover-template-card__art--wrap::after {
  display: none;
}
.cover-template-card__art::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.12), transparent 44%, rgb(0 0 0 / 0.18));
  content: "";
}
.cover-template-card__art::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3.7%;
  border-right: 1px solid rgb(255 255 255 / 0.18);
  border-left: 1px solid rgb(0 0 0 / 0.18);
  background: rgb(0 0 0 / 0.06);
  content: "";
  transform: translateX(-50%);
}
.cover-template-card__sample {
  position: absolute;
  z-index: 1;
  top: 24%;
  right: 5%;
  display: flex;
  width: 40%;
  flex-direction: column;
  align-items: center;
  color: var(--sample-color);
  text-align: center;
  text-shadow: 0 1px 12px rgb(0 0 0 / 0.38);
}
.cover-template-card__sample strong {
  font-family: Georgia, serif;
  font-size: clamp(0.68rem, 1.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}
.cover-template-card__sample span {
  margin-top: 1rem;
  color: var(--sample-accent);
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.cover-template-card__art > button {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 50%;
  min-height: 2.4rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 0.5rem;
  background: rgb(16 14 12 / 0.84);
  padding: 0.65rem 0.9rem;
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0;
  transform: translate(50%, 65%);
  transition: opacity 160ms ease, transform 160ms ease;
}
.cover-template-card__art:hover > button, .cover-template-card__art > button:focus-visible {
  opacity: 1;
  transform: translate(50%, 50%);
}
.cover-template-card > div:last-child {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.55rem;
  padding: 0.65rem 0.15rem 0;
}
.cover-template-card > div:last-child > span {
  grid-row: 1 / span 2;
  color: var(--cover-primary);
  font-family: Georgia, serif;
  font-size: 0.68rem;
}
.cover-template-card h3 {
  font-family: Georgia, serif;
  font-size: 0.84rem;
  font-weight: 500;
}
.cover-template-card small {
  margin-top: 0.12rem;
  color: var(--cover-muted);
  font-size: 0.55rem;
}
.cover-canvas-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--cover-aspect);
  overflow: hidden;
  container-type: inline-size;
  background: #1d1a17;
  box-shadow: 0 25px 55px -30px rgb(0 0 0 / 0.75);
  isolation: isolate;
}
.cover-canvas-render-preview {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cover-canvas-interaction-preview {
  visibility: hidden;
}
.cover-canvas-active-preview {
  z-index: 1;
  visibility: hidden;
  transform: translate(var(--cover-active-dx, 0%), var(--cover-active-dy, 0%)) rotate(var(--cover-active-rotation, 0deg)) scale(var(--cover-active-scale-x, 1), var(--cover-active-scale-y, 1));
  transform-origin: var(--cover-active-origin-x, 50%) var(--cover-active-origin-y, 50%);
}
.cover-canvas-frame.has-rendered-preview > .cover-canvas-art, .cover-canvas-frame.has-rendered-preview > .cover-canvas-layer .cover-layer-visual {
  visibility: hidden;
}
.cover-canvas-frame.has-rendered-preview > .cover-canvas-layer.is-provider-managed {
  z-index: 1000 !important;
}
.cover-canvas-frame.has-rendered-preview > .cover-canvas-layer.is-provider-managed .cover-layer-visual {
  visibility: visible;
}
.cover-canvas-frame.has-rendered-preview > .cover-canvas-layer.is-inline-editing .cover-layer-visual {
  visibility: visible;
}
.cover-canvas-frame.has-rendered-preview.is-direct-manipulating.has-interaction-preview > .cover-canvas-render-preview:not(.cover-canvas-interaction-preview) {
  visibility: hidden;
}
.cover-canvas-frame.has-rendered-preview.is-direct-manipulating.has-interaction-preview > .cover-canvas-interaction-preview {
  visibility: visible;
}
.cover-canvas-frame.has-rendered-preview.is-direct-manipulating.has-interaction-preview.has-active-preview > .cover-canvas-active-preview {
  visibility: visible;
}
.cover-canvas-frame.has-rendered-preview.is-direct-manipulating.has-interaction-preview.is-dom-active-manipulation > .cover-canvas-active-preview {
  visibility: hidden;
}
.cover-canvas-frame.has-rendered-preview.is-direct-manipulating.has-interaction-preview.is-dom-active-manipulation > .cover-canvas-layer.is-selected .cover-layer-visual, .cover-canvas-frame.has-rendered-preview.is-direct-manipulating.has-interaction-preview > .cover-canvas-layer.is-inline-editing .cover-layer-visual {
  visibility: visible;
}
.cover-canvas-frame.has-rendered-preview.is-direct-manipulating:not(.has-interaction-preview) > .cover-canvas-render-preview {
  visibility: hidden;
}
.cover-canvas-frame.has-rendered-preview.is-direct-manipulating:not(.has-interaction-preview) > .cover-canvas-art, .cover-canvas-frame.has-rendered-preview.is-direct-manipulating:not(.has-interaction-preview) > .cover-canvas-layer .cover-layer-visual {
  visibility: visible;
}
.cover-canvas-frame.has-rendered-preview.is-font-previewing.has-interaction-preview > .cover-canvas-render-preview:not(.cover-canvas-interaction-preview) {
  visibility: hidden;
}
.cover-canvas-frame.has-rendered-preview.is-font-previewing.has-interaction-preview > .cover-canvas-interaction-preview {
  visibility: visible;
}
.cover-canvas-frame.has-rendered-preview.is-font-previewing.has-interaction-preview > .cover-canvas-layer.is-selected .cover-layer-visual {
  visibility: visible;
}
.cover-canvas-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.cover-canvas-art img {
  position: absolute;
  left: var(--cover-background-x);
  top: var(--cover-background-y);
  width: var(--cover-background-scale);
  height: var(--cover-background-scale);
  max-width: none;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.cover-canvas-art::before, .cover-layer-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: var(--cover-tint);
  content: "";
  opacity: var(--cover-tint-opacity);
  mix-blend-mode: color;
  pointer-events: none;
}
.cover-canvas-art::after, .cover-layer-visual::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--cover-overlay);
  content: "";
  opacity: var(--cover-overlay-opacity);
  pointer-events: none;
}
.cover-canvas-frame.is-compact .cover-zone-labels, .cover-canvas-frame.is-compact .cover-zone-line, .cover-canvas-frame.is-compact .cover-guide {
  display: none;
}
.cover-canvas-frame.is-compact .cover-canvas-layer {
  outline: 0;
}
.cover-canvas-frame.is-compact .cover-canvas-layer--barcode {
  border-width: 1px;
  padding: 0.12rem;
}
.cover-canvas-layer {
  position: absolute;
  z-index: 3;
  left: var(--cover-x);
  top: var(--cover-y);
  display: block;
  width: var(--cover-w);
  min-height: var(--cover-h);
  transform: translate(-50%, -50%) rotate(var(--cover-rotation));
  transform-origin: center;
}
.cover-canvas-layer--text {
  width: var(--cover-w);
  min-height: 0;
}
.cover-canvas-layer[tabindex] {
  cursor: move;
}
.cover-canvas-layer.is-position-locked[tabindex] {
  cursor: default;
}
.cover-canvas-layer[tabindex]:hover, .cover-canvas-layer.is-selected {
  outline: 1px solid rgb(32 208 225 / 0.95);
  outline-offset: 3px;
}
.cover-canvas-layer.is-selected {
  z-index: 9;
}
.cover-canvas-layer.is-inline-editing {
  z-index: 15;
  outline: 2px solid rgb(32 208 225 / 0.98);
  outline-offset: 4px;
  cursor: text;
}
.cover-canvas-layer.is-inline-editing .cover-layer-visual--text {
  min-width: 2ch;
  outline: none;
  caret-color: currentColor;
  cursor: text;
  user-select: text;
  white-space: pre-wrap;
}
.cover-canvas-layer.is-inline-editing[data-cover-font-family="rock-salt"] .cover-layer-visual--text {
  display: block;
  font-family: "Rock Salt Cover Editor", cursive;
}
.cover-canvas-layer.is-inline-editing .cover-layer-visual--text > [data-cover-inline-line] {
  display: block;
}
.cover-canvas-layer.is-locked {
  cursor: not-allowed;
}
.cover-canvas-layer.is-locked.is-inline-editing {
  cursor: text;
}
.cover-canvas-layer.is-dragging {
  z-index: 10;
  outline-color: #ee3fa5;
}
.cover-canvas-layer.is-resizing {
  z-index: 10;
  outline-color: #ee3fa5;
}
.cover-layer-visual {
  position: relative;
  display: flex;
  width: 100%;
  min-height: inherit;
  align-items: center;
  justify-content: var(--cover-text-align);
  overflow: hidden;
}
.cover-layer-visual--text {
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: stretch;
  flex-direction: column;
  overflow: visible;
  color: var(--cover-color);
  font-family: var(--cover-font-family);
  font-size: var(--cover-font-size);
  font-style: var(--cover-font-style);
  font-weight: var(--cover-font-weight);
  letter-spacing: var(--cover-letter-spacing);
  line-height: var(--cover-line-height);
  text-align: var(--cover-text-align);
  text-decoration-color: var(--cover-color);
  text-decoration-line: var(--cover-text-decoration);
  text-decoration-thickness: 0.065em;
  text-transform: var(--cover-text-transform);
  text-underline-offset: 0.12em;
  white-space: pre;
}
.cover-layer-visual--text > span {
  display: block;
  margin-inline-end: calc(var(--cover-letter-spacing) * -1);
}
.cover-canvas-layer--text:not(.is-inline-editing) .cover-layer-visual--text {
  width: calc(100% + 0.7em);
  margin: -0.6em -0.35em;
  padding: 0.6em 0.35em;
}
.cover-canvas-layer--text:not(.is-inline-editing) .cover-layer-visual--text > span {
  margin-block: -0.6em;
  margin-inline-start: -0.35em;
  margin-inline-end: calc(-0.35em - var(--cover-letter-spacing));
  padding: 0.6em 0.35em;
}
.cover-canvas-layer.has-gradient-fill .cover-layer-visual--text {
  background: var(--cover-fill);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cover-canvas-layer[class*="has-texture-"] .cover-layer-visual--text {
  background: none;
  color: var(--cover-color);
  -webkit-text-fill-color: currentColor;
}
.cover-canvas-layer[class*="has-texture-"] .cover-layer-visual--text > span {
  background-attachment: scroll;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cover-canvas-layer.has-texture-grunge .cover-layer-visual--text > span, .cover-texture-swatch--grunge .cover-texture-sample {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix type='matrix' values='1.5 0 0 0 -.1 1.5 0 0 0 -.1 1.5 0 0 0 -.1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.08 .02' numOctaves='3'/%3E%3CfeColorMatrix type='matrix' values='1.8 0 0 0 -.2 1.8 0 0 0 -.2 1.8 0 0 0 -.2 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='2'/%3E%3CfeColorMatrix type='matrix' values='2.5 0 0 0 -.5 2.5 0 0 0 -.5 2.5 0 0 0 -.5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"), var(--cover-texture-base, linear-gradient(#fff, #fff));
  background-position: center;
  background-repeat: repeat;
  background-size: 0.706em 0.706em, 1.544em 1.544em, 2.872em 2.872em, 100% 100%;
  background-blend-mode: multiply, multiply, multiply, normal;
}
.cover-canvas-layer.has-texture-stone .cover-layer-visual--text > span, .cover-texture-swatch--stone .cover-texture-sample {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 520'%3E%3Cg fill='none' stroke='%23373531' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath opacity='.78' stroke-width='3.3' d='M-20 145L83 158 137 145 206 177 287 166 351 211 434 224 492 270 587 252 668 286 752 273 920 304'/%3E%3Cpath opacity='.56' stroke-width='1.55' d='M137 145L155 98 148 62 181 8M287 166L304 123 297 83 326 43M434 224L416 271 423 315 389 370 401 424 372 520M668 286L690 331 682 377 719 421'/%3E%3Cpath opacity='.36' stroke-width='1' d='M83 158L62 205 76 246 43 285M206 177L223 205 216 241M492 270L518 229 511 192 541 158M752 273L781 230 776 197 804 165'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 360'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.18' numOctaves='3' seed='12'/%3E%3CfeColorMatrix type='matrix' values='.48 0 0 0 .26 .48 0 0 0 .25 .48 0 0 0 .23 0 0 0 .42 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='.72'/%3E%3Cg fill='%235c5952' opacity='.32'%3E%3Ccircle cx='42' cy='58' r='3'/%3E%3Ccircle cx='126' cy='211' r='5'/%3E%3Ccircle cx='238' cy='91' r='2'/%3E%3Ccircle cx='347' cy='294' r='4'/%3E%3Ccircle cx='451' cy='127' r='3'/%3E%3Ccircle cx='519' cy='326' r='2'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(118deg, rgb(255 255 255 / 0.34), rgb(122 118 109 / 0.18) 46%, rgb(255 255 255 / 0.2) 72%, rgb(86 83 77 / 0.16)), var(--cover-texture-base, linear-gradient(#fff, #fff));
  background-position: center;
  background-repeat: repeat;
  background-size: 2.344em 1.354em, 1.458em 0.938em, 100% 100%, 100% 100%;
  background-blend-mode: multiply, multiply, soft-light, normal;
  -webkit-text-stroke: 0.0026em rgb(35 34 31 / 0.42);
}
.cover-canvas-layer.has-texture-cutted .cover-layer-visual--text > span, .cover-canvas-layer.has-texture-metallic .cover-layer-visual--text > span, .cover-texture-swatch--cutted .cover-texture-sample, .cover-texture-swatch--metallic .cover-texture-sample {
  position: relative;
  isolation: isolate;
  background: none;
  overflow: visible;
}
.cover-canvas-layer.has-texture-metallic .cover-layer-visual--text > span, .cover-texture-swatch--metallic .cover-texture-sample {
  -webkit-text-stroke: 0.006em var(--cover-color, #aaa096);
  @supports (color: color-mix(in lab, red, red)) {
    -webkit-text-stroke: 0.006em color-mix(in srgb, var(--cover-color, #aaa096) 82%, #000);
  }
}
.cover-canvas-layer.has-texture-cutted .cover-layer-visual--text > span::before, .cover-canvas-layer.has-texture-cutted .cover-layer-visual--text > span::after, .cover-texture-swatch--cutted .cover-texture-sample::before, .cover-texture-swatch--cutted .cover-texture-sample::after, .cover-canvas-layer.has-texture-metallic .cover-layer-visual--text > span::before, .cover-canvas-layer.has-texture-metallic .cover-layer-visual--text > span::after, .cover-texture-swatch--metallic .cover-texture-sample::before, .cover-texture-swatch--metallic .cover-texture-sample::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: inherit;
  text-decoration: var(--cover-text-decoration, none);
  text-transform: inherit;
  white-space: pre;
  pointer-events: none;
}
.cover-canvas-layer.has-texture-cutted .cover-layer-visual--text > span::before, .cover-texture-swatch--cutted .cover-texture-sample::before {
  background: var(--cover-texture-base, linear-gradient(#fff, #fff));
  background-clip: text;
  clip-path: polygon(0 0, 100% 0, 100% 48%, 0 52%);
  transform: translateX(-0.02em);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cover-canvas-layer.has-texture-cutted .cover-layer-visual--text > span::after, .cover-texture-swatch--cutted .cover-texture-sample::after {
  background: var(--cover-texture-base, linear-gradient(#fff, #fff));
  background-clip: text;
  clip-path: polygon(0 54%, 100% 50%, 100% 100%, 0 100%);
  transform: translateX(0.09em);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cover-canvas-layer.has-texture-metallic .cover-layer-visual--text > span::before, .cover-texture-swatch--metallic .cover-texture-sample::before {
  z-index: -1;
  color: transparent;
  text-shadow: 0.004em 0.005em 0 var(--cover-color, #aaa096), 0.008em 0.01em 0 var(--cover-color, #aaa096), 0.012em 0.015em 0 var(--cover-color, #aaa096);
  @supports (color: color-mix(in lab, red, red)) {
    text-shadow: 0.004em 0.005em 0 color-mix(in srgb, var(--cover-color, #aaa096) 88%, #000), 0.008em 0.01em 0 color-mix(in srgb, var(--cover-color, #aaa096) 80%, #000), 0.012em 0.015em 0 color-mix(in srgb, var(--cover-color, #aaa096) 72%, #000);
  }
  -webkit-text-fill-color: transparent;
}
.cover-canvas-layer.has-texture-metallic .cover-layer-visual--text > span::after, .cover-texture-swatch--metallic .cover-texture-sample::after {
  z-index: 1;
  background-image: radial-gradient(ellipse at 14% 47%, rgb(255 247 224 / 0.62) 0%, rgb(255 239 205 / 0.15) 6%, transparent 15%), radial-gradient(ellipse at 51% 35%, rgb(255 250 231 / 0.54) 0%, rgb(255 239 207 / 0.13) 7%, transparent 18%), radial-gradient(ellipse at 84% 51%, rgb(255 244 217 / 0.5) 0%, rgb(255 231 194 / 0.11) 7%, transparent 17%), linear-gradient(104deg, transparent 0% 8%, rgb(255 248 228 / 0.28) 12%, transparent 19% 43%, rgb(255 250 232 / 0.25) 49%, transparent 57% 79%, rgb(255 244 217 / 0.22) 84%, transparent 92%), repeating-linear-gradient(0deg, rgb(255 255 255 / 0.014) 0 1px, rgb(32 27 23 / 0.012) 1px 2px, transparent 2px 7px), linear-gradient(180deg, var(--cover-color, #aaa096) 0%, var(--cover-color, #aaa096) 14%, var(--cover-color, #aaa096) 35%, var(--cover-color, #aaa096) 54%, var(--cover-color, #aaa096) 69%, var(--cover-color, #aaa096) 87%, var(--cover-color, #aaa096) 100%);
  @supports (color: color-mix(in lab, red, red)) {
    background-image: radial-gradient(ellipse at 14% 47%, rgb(255 247 224 / 0.62) 0%, rgb(255 239 205 / 0.15) 6%, transparent 15%), radial-gradient(ellipse at 51% 35%, rgb(255 250 231 / 0.54) 0%, rgb(255 239 207 / 0.13) 7%, transparent 18%), radial-gradient(ellipse at 84% 51%, rgb(255 244 217 / 0.5) 0%, rgb(255 231 194 / 0.11) 7%, transparent 17%), linear-gradient(104deg, transparent 0% 8%, rgb(255 248 228 / 0.28) 12%, transparent 19% 43%, rgb(255 250 232 / 0.25) 49%, transparent 57% 79%, rgb(255 244 217 / 0.22) 84%, transparent 92%), repeating-linear-gradient(0deg, rgb(255 255 255 / 0.014) 0 1px, rgb(32 27 23 / 0.012) 1px 2px, transparent 2px 7px), linear-gradient(180deg, color-mix(in srgb, var(--cover-color, #aaa096) 30%, #e3d9cd) 0%, color-mix(in srgb, var(--cover-color, #aaa096) 52%, #cbbfb2) 14%, color-mix(in srgb, var(--cover-color, #aaa096) 80%, #aaa198) 35%, color-mix(in srgb, var(--cover-color, #aaa096) 78%, #8f8a85) 54%, color-mix(in srgb, var(--cover-color, #aaa096) 90%, #a79f97) 69%, color-mix(in srgb, var(--cover-color, #aaa096) 72%, #73716e) 87%, color-mix(in srgb, var(--cover-color, #aaa096) 68%, #6c6a67) 100%);
  }
  background-blend-mode: screen, screen, screen, screen, soft-light, normal;
  background-clip: text;
  background-position: left top;
  background-repeat: repeat-y;
  background-size: 100% 1em;
  filter: drop-shadow(-0.0025em -0.003em 0 var(--cover-color, #aaa096)) drop-shadow(0.0025em 0.003em 0 var(--cover-color, #aaa096));
  @supports (color: color-mix(in lab, red, red)) {
    filter: drop-shadow(-0.0025em -0.003em 0 color-mix(in srgb, var(--cover-color, #aaa096) 58%, #fffdf8)) drop-shadow(0.0025em 0.003em 0 color-mix(in srgb, var(--cover-color, #aaa096) 84%, #000));
  }
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.006em var(--cover-color, #aaa096);
  @supports (color: color-mix(in lab, red, red)) {
    -webkit-text-stroke: 0.006em color-mix(in srgb, var(--cover-color, #aaa096) 78%, #f2eee8);
  }
}
.cover-canvas-layer.is-inline-editing[class*="has-texture-"] .cover-layer-visual--text {
  background: var(--cover-fill, none);
  color: var(--cover-color);
  -webkit-text-fill-color: initial;
}
.cover-canvas-layer--image {
  height: var(--cover-h);
  overflow: visible;
}
.cover-layer-visual--image {
  height: 100%;
  min-height: 0;
}
.cover-layer-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.cover-resize-handles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cover-resize-handles i {
  position: absolute;
  z-index: 2;
  width: 0.68rem;
  height: 0.68rem;
  border: 2px solid white;
  border-radius: 999px;
  background: #18bccc;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.38);
  pointer-events: auto;
}
.cover-resize-handles i[data-cover-resize-handle="nw"] {
  top: 0.18rem;
  left: 0.18rem;
  cursor: nwse-resize;
}
.cover-resize-handles i[data-cover-resize-handle="ne"] {
  top: 0.18rem;
  right: 0.18rem;
  cursor: nesw-resize;
}
.cover-resize-handles i[data-cover-resize-handle="se"] {
  right: 0.18rem;
  bottom: 0.18rem;
  cursor: nwse-resize;
}
.cover-resize-handles i[data-cover-resize-handle="sw"] {
  bottom: 0.18rem;
  left: 0.18rem;
  cursor: nesw-resize;
}
.cover-canvas-selection-overlay {
  position: absolute;
  z-index: 30;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.cover-canvas-selection {
  z-index: 1;
  pointer-events: none;
}
.cover-canvas-selection .cover-resize-handles i, .cover-canvas-selection .cover-rotate-handle {
  touch-action: none;
  pointer-events: auto;
}
.cover-text-width-handles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cover-text-width-handle {
  position: absolute;
  z-index: 16;
  top: 50%;
  width: 0.72rem;
  height: 1.55rem;
  touch-action: none;
  border: 2px solid white;
  border-radius: 999px;
  background: #18bccc;
  box-shadow: 0 2px 7px rgb(0 0 0 / 0.34);
  cursor: ew-resize;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.cover-text-width-handle--left {
  left: -0.46rem;
}
.cover-text-width-handle--right {
  right: -0.46rem;
}
.cover-text-width-handle:hover, .cover-text-width-handle:focus-visible {
  background: #11aabd;
  box-shadow: 0 0 0 3px rgb(24 188 204 / 0.2), 0 2px 7px rgb(0 0 0 / 0.34);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}
.cover-canvas-layer.is-resizing .cover-text-width-handle {
  cursor: ew-resize;
}
.cover-move-handle {
  position: absolute;
  z-index: 15;
  top: 50%;
  left: -2.2rem;
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  touch-action: none;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  border-radius: 999px;
  background: #18bccc;
  color: white;
  box-shadow: 0 3px 9px rgb(0 0 0 / 0.3);
  cursor: grab;
  transform: translateY(-50%);
}
.cover-move-handle::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 0.72rem;
  border-top: 1px solid #18bccc;
  content: "";
}
.cover-move-handle:hover, .cover-move-handle:focus-visible {
  background: #11aabd;
  box-shadow: 0 0 0 3px rgb(24 188 204 / 0.2), 0 3px 9px rgb(0 0 0 / 0.3);
  outline: none;
}
.cover-move-handle:active, .cover-canvas-layer.is-dragging .cover-move-handle {
  cursor: grabbing;
}
.cover-rotate-handle {
  position: absolute;
  z-index: 14;
  top: -2.2rem;
  left: 50%;
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  border-radius: 999px;
  background: #18bccc;
  color: white;
  box-shadow: 0 3px 9px rgb(0 0 0 / 0.3);
  cursor: grab;
  transform: translateX(-50%);
}
.cover-rotate-handle::after {
  position: absolute;
  top: 100%;
  left: 50%;
  height: 0.72rem;
  border-left: 1px solid #18bccc;
  content: "";
}
.cover-rotate-handle:active, .cover-canvas-layer.is-rotating .cover-rotate-handle {
  cursor: grabbing;
}
.cover-canvas-layer--shape {
  height: var(--cover-h);
}
.cover-layer-visual--shape {
  height: 100%;
  border-radius: 0.15rem;
  background: var(--cover-bg);
}
.cover-canvas-layer--barcode {
  height: var(--cover-h);
}
.cover-layer-visual--barcode {
  height: 100%;
  border: 0;
  background: var(--cover-barcode-background, #fff);
  color: var(--cover-barcode-color, #111);
  padding: 0;
}
.cover-barcode-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--cover-barcode-color, #111);
}
.cover-barcode-svg text {
  font-family: Arial, sans-serif;
  font-size: 8px;
}
.cover-barcode-svg--amazon text {
  font-size: 6.8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.cover-layer-visual--amazon-barcode {
  background: #fff;
}
.cover-layer-visual--barcode-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.22cqw;
  border: 0.16cqw dashed var(--cover-accent);
  @supports (color: color-mix(in lab, red, red)) {
    border: 0.16cqw dashed color-mix(in oklab, var(--cover-accent) 72%, #ffffff);
  }
  background: color-mix(in oklab, #ffffff 88%, transparent);
  color: #2d2824;
  text-align: center;
}
.cover-layer-visual--barcode-reserve strong {
  font-size: 1.15cqw;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover-layer-visual--barcode-reserve small {
  max-width: 82%;
  font-size: 0.68cqw;
  line-height: 1.3;
}
.cover-barcode-invalid {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.25cqw;
  border: 0.12cqw dashed color-mix(in oklab, #e11d48 60%, transparent);
  color: #be123c;
  font-size: 0.72cqw;
  text-align: center;
}
.cover-barcode-invalid svg {
  flex: 0 0 auto;
}
.cover-barcode-input-field input[aria-invalid="true"] {
  border-color: #e11d48;
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, #e11d48 58%, var(--cover-muted));
  }
  box-shadow: 0 0 0 3px color-mix(in oklab, #e11d48 11%, transparent);
}
.cover-barcode-status {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.32rem;
  margin-top: 0.38rem !important;
  font-size: 10px !important;
  line-height: 1.35;
  white-space: normal !important;
}
.cover-barcode-status svg {
  margin-top: 0.05rem;
}
.cover-barcode-status strong {
  grid-column: 2;
  color: var(--cover-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cover-barcode-input-field.is-valid .cover-barcode-status {
  color: #16845b;
}
.cover-barcode-input-field.is-invalid .cover-barcode-status {
  color: #be123c;
}
.cover-barcode-provider-note, .cover-barcode-monochrome {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.7rem;
  background: var(--cover-accent);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-accent) 6%, var(--cover-surface));
  }
  padding: 0.7rem;
  color: var(--cover-muted);
}
.cover-barcode-source-toggle {
  margin-bottom: 0.7rem;
}
.cover-barcode-position-note {
  margin-top: 0.7rem;
}
.cover-barcode-provider-note--amazon {
  border-color: var(--cover-accent);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-accent) 28%, transparent);
  }
}
.cover-barcode-provider-note span, .cover-barcode-monochrome span {
  min-width: 0;
}
.cover-barcode-provider-note strong, .cover-barcode-provider-note small, .cover-barcode-monochrome strong, .cover-barcode-monochrome small {
  display: block;
}
.cover-barcode-provider-note strong, .cover-barcode-monochrome strong {
  color: var(--cover-text);
  font-size: 0.7rem;
}
.cover-barcode-provider-note small, .cover-barcode-monochrome small {
  margin-top: 0.22rem;
  font-size: 0.62rem;
  line-height: 1.45;
}
.cover-barcode-monochrome {
  margin-top: 0.7rem;
  color: #16845b;
}
.cover-managed-position--barcode span em {
  display: block;
  margin-top: 0.3rem;
  color: var(--cover-muted);
  font-size: 0.6rem;
  font-style: normal;
  line-height: 1.45;
}
.cover-zone-labels {
  position: absolute;
  z-index: 5;
  top: 0.5rem;
  right: 0;
  left: 0;
  color: white;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.cover-zone-labels span {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  background: rgb(15 18 22 / 0.72);
  padding: 0.12rem 0.3rem;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.42), inset 0 1px rgb(255 255 255 / 0.08);
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.9);
  backdrop-filter: blur(3px) saturate(120%);
  -webkit-backdrop-filter: blur(3px) saturate(120%);
  transform: translateX(-50%);
}
.cover-zone-line {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  border-left: 1px solid rgb(255 255 255 / 0.62);
  box-shadow: 1px 0 rgb(0 0 0 / 0.35);
  pointer-events: none;
}
.cover-guide {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}
.cover-guide--bleed {
  inset: var(--cover-allowance-y) var(--cover-allowance-x);
  border: 1px dashed #ef3b9b;
}
.cover-zone-line--hinge {
  border-left-style: dashed;
  border-left-color: #f7b84b;
  box-shadow: none;
}
.cover-guide--safe-panel {
  border: 1px dashed #23d3df;
}
.cover-guide--center {
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 1px dashed rgb(255 255 255 / 0.45);
}
.cover-guide--grid {
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.12) 1px, transparent 1px);
  background-size: 5% 10%;
}
.cover-smart-guide {
  position: absolute;
  z-index: 12;
  display: none;
  pointer-events: none;
}
.cover-smart-guide.is-visible {
  display: block;
}
.cover-smart-guide--x {
  top: 0;
  bottom: 0;
  border-left: 1px solid #ef3b9b;
}
.cover-smart-guide--y {
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px solid #ef3b9b;
}
.cover-angle-guide {
  position: absolute;
  z-index: 14;
  top: 50%;
  right: 8%;
  left: 8%;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cover-angle-guide.is-visible {
  display: flex;
}
.cover-angle-guide > i {
  position: absolute;
  right: 0;
  left: 0;
  border-top: 1px solid #23d3df;
  box-shadow: 0 1px rgb(0 0 0 / 0.22);
}
.cover-angle-guide > span {
  position: relative;
  border: 1px solid rgb(255 255 255 / 0.36);
  border-radius: 999px;
  background: rgb(10 20 22 / 0.82);
  padding: 0.28rem 0.52rem;
  color: white;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.cover-editor-shell {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template: "top top top" 3.75rem "layers canvas inspector" minmax(0, 1fr) / clamp(13.75rem, 17.5vw, 16.5rem) minmax(30rem, 1fr) clamp(18.25rem, 22.5vw, 24rem);
  overflow: hidden;
  background: var(--cover-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-bg) 88%, #c8c1b8);
  }
}
.cover-editor-topbar {
  position: relative;
  z-index: 30;
  grid-area: top;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 24%, transparent);
  }
  background: var(--cover-surface);
  padding: 0 0.9rem;
}
.cover-editor-topbar__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}
.cover-editor-topbar button, .cover-editor-toolbar button {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.48rem;
  background: var(--cover-surface);
  color: var(--cover-text);
  padding: 0.48rem 0.68rem;
  font-size: 0.66rem;
  font-weight: 750;
}
.cover-editor-topbar button:disabled {
  opacity: 0.38;
}
.cover-editor-topbar__brand input {
  width: clamp(16rem, 34vw, 30rem);
  min-width: 8rem;
  max-width: min(30rem, calc(100% - 6.5rem));
  border: 0;
  border-left: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-left: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  background: transparent;
  color: var(--cover-text);
  padding: 0.35rem 0.75rem;
  font-family: Georgia, serif;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
}
.cover-document-book-link {
  margin-top: 0 !important;
}
.cover-document-book-link option:disabled {
  color: var(--cover-muted);
}
.cover-book-settings-toggle {
  margin-top: 0.85rem !important;
  border: 1px solid var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-primary) 20%, transparent);
  }
  border-radius: 0.52rem;
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 5%, var(--cover-surface));
  }
  padding: 0.62rem 0.68rem;
}
.cover-book-settings-toggle:has(input:focus-visible) {
  border-color: var(--cover-primary);
  box-shadow: 0 0 0 3px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--cover-primary) 14%, transparent);
  }
}
.cover-book-settings-toggle:has(input:disabled) {
  opacity: 0.58;
}
.cover-book-setting-field {
  margin-top: 0.75rem !important;
}
.cover-book-setting-field .custom-select-trigger:disabled {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 24%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 6%, var(--cover-surface));
  }
  color: var(--cover-text);
  cursor: default;
  opacity: 1;
}
.cover-book-setting-field .custom-select-trigger:disabled .custom-select-trigger__icon {
  opacity: 0.45;
}
.cover-inspector-grid.cover-page-paper-grid {
  grid-template-columns: minmax(5.4rem, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}
.cover-page-count-field > small {
  display: block;
  margin-top: 0.3rem;
  color: var(--cover-muted);
  font-size: 0.5rem;
  line-height: 1.35;
}
.cover-page-count-field input:disabled {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 24%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 6%, var(--cover-surface));
  }
  color: var(--cover-text);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in oklab, var(--cover-text) 72%, var(--cover-muted));
  }
  -webkit-text-fill-color: var(--cover-text);
  @supports (color: color-mix(in lab, red, red)) {
    -webkit-text-fill-color: color-mix(in oklab, var(--cover-text) 72%, var(--cover-muted));
  }
  cursor: not-allowed;
  opacity: 1;
}
.cover-editor-topbar__actions {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}
.cover-editor-topbar__actions .cover-export-button {
  border-color: transparent;
  background: var(--cover-primary);
  color: white;
}
.cover-editor-topbar__actions .cover-save-button {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 35%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 8%, var(--cover-surface));
  }
  color: var(--cover-primary);
}
.cover-editor-topbar__actions .cover-save-button.is-dirty {
  border-color: transparent;
  background: var(--cover-primary);
  color: white;
  box-shadow: 0 10px 24px -16px var(--cover-primary);
}
.cover-editor-topbar__actions .cover-export-button:hover, .cover-editor-topbar__actions .cover-save-button.is-dirty:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 88%, black);
  }
  color: white;
}
.cover-editor-topbar__actions .cover-save-button.is-saved {
  background: #16845b;
  color: white;
  animation: cover-save-confirm 520ms ease both;
}
@keyframes cover-save-confirm {
  0% {
    transform: scale(0.96);
  }
  55% {
    transform: scale(1.045);
  }
  100% {
    transform: scale(1);
  }
}
.cover-editor-topbar__actions .cover-preview-button {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 28%, transparent);
  }
  color: var(--cover-primary);
}
.cover-editor-topbar__actions .cover-preview-button:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 8%, var(--cover-surface));
  }
}
.cover-export-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.55rem);
  right: 0;
  width: 16rem;
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 25%, transparent);
  }
  border-radius: 0.7rem;
  background: var(--cover-surface);
  padding: 0.4rem;
  box-shadow: 0 20px 55px -25px rgb(0 0 0 / 0.5);
}
.cover-export-menu button {
  display: block;
  width: 100%;
  border: 0;
  text-align: left;
}
.cover-export-menu button:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 8%, var(--cover-surface));
  }
}
.cover-export-menu strong, .cover-export-menu small {
  display: block;
}
.cover-export-menu small {
  margin-top: 0.2rem;
  color: var(--cover-muted);
  font-size: 0.55rem;
}
.cover-editor-layers {
  grid-area: layers;
  display: flex;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-right: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  background: var(--cover-surface);
}
.cover-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
.cover-panel-heading h2 {
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover-panel-heading span {
  color: var(--cover-muted);
  font-size: 0.58rem;
}
.cover-layer-list {
  position: relative;
  display: grid;
  min-height: 0;
  flex: 1;
  align-content: start;
  gap: 0.2rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0.45rem 0.45rem;
  scrollbar-color: var(--cover-muted) transparent;
  @supports (color: color-mix(in lab, red, red)) {
    scrollbar-color: color-mix(in oklab, var(--cover-muted) 26%, transparent) transparent;
  }
  scrollbar-width: thin;
}
.cover-layer-row {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 1.8rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 0.48rem;
  padding: 0.48rem;
  text-align: left;
  backface-visibility: hidden;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 180ms ease, opacity 150ms ease;
}
.cover-layer-row:hover {
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 6%, transparent);
  }
}
.cover-layer-row.is-reorderable {
  cursor: default;
}
.cover-layer-row.is-drag-source {
  pointer-events: none;
}
.cover-layer-row.is-drop-settling {
  visibility: hidden;
}
.cover-layer-row.is-selected {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 20%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 9%, var(--cover-surface));
  }
}
.cover-layer-row > span:first-child {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  color: var(--cover-muted);
}
.cover-layer-row__drag {
  cursor: grab;
  touch-action: none;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}
.cover-layer-row.is-reorderable:hover .cover-layer-row__drag, .cover-layer-row__drag:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 8%, transparent);
  }
  color: var(--cover-primary);
}
.cover-layer-row__drag:active, .cover-layer-row__drag[aria-pressed="true"] {
  cursor: grabbing;
  transform: scale(0.96);
}
.cover-layer-row strong, .cover-layer-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover-layer-row strong {
  font-size: calc(0.64rem + 1px);
}
.cover-layer-row small {
  margin-top: 0.1rem;
  color: var(--cover-muted);
  font-size: calc(0.5rem + 1px);
}
.cover-layer-row__actions {
  display: flex;
  gap: 0.2rem;
}
.cover-layer-row__actions i {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
  color: var(--cover-muted);
}
.cover-layer-row__actions i:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 10%, transparent);
  }
  color: var(--cover-primary);
}
.cover-layer-drag-placeholder {
  position: relative;
  width: var(--cover-layer-placeholder-width);
  height: var(--cover-layer-placeholder-height);
  min-height: var(--cover-layer-placeholder-height);
  flex: 0 0 var(--cover-layer-placeholder-width);
  overflow: hidden;
  border: 1px solid var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-primary) 25%, var(--cover-muted));
  }
  border-radius: 0.48rem;
  background: linear-gradient(90deg, var(--cover-muted), var(--cover-primary), var(--cover-muted));
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(90deg, color-mix(in oklab, var(--cover-muted) 2.5%, transparent), color-mix(in oklab, var(--cover-primary) 7%, transparent), color-mix(in oklab, var(--cover-muted) 2.5%, transparent));
  }
  background-size: 200% 100%;
  box-shadow: inset 0 0 0 1px var(--cover-surface), inset 0 8px 22px var(--cover-text);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cover-surface) 72%, transparent), inset 0 8px 22px color-mix(in oklab, var(--cover-text) 3.5%, transparent);
  }
  animation: cover-layer-placeholder-sheen 1.65s linear infinite;
  pointer-events: none;
}
.cover-layer-drag-placeholder::before {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  left: 0.7rem;
  height: 2px;
  border-radius: 999px;
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 34%, var(--cover-muted));
  }
  box-shadow: 0 1px 0 var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 1px 0 color-mix(in oklab, var(--cover-surface) 85%, transparent);
  }
  content: "";
  transform: translateY(-50%);
}
.cover-layer-drag-preview {
  --cover-layer-ghost-x: 0px;
  --cover-layer-ghost-y: 0px;
  position: fixed;
  z-index: 300;
  isolation: isolate;
  top: 0;
  left: 0;
  margin: 0;
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 28%, var(--cover-muted));
  }
  background-color: var(--cover-surface, #fff);
  background-image: linear-gradient(var(--cover-primary), var(--cover-primary));
  @supports (color: color-mix(in lab, red, red)) {
    background-image: linear-gradient(color-mix(in oklab, var(--cover-primary) 5%, transparent), color-mix(in oklab, var(--cover-primary) 5%, transparent));
  }
  color: var(--cover-text);
  box-shadow: 0 24px 54px var(--cover-text), 0 7px 18px var(--cover-text), inset 0 1px 0 var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 24px 54px color-mix(in oklab, var(--cover-text) 18%, transparent), 0 7px 18px color-mix(in oklab, var(--cover-text) 10%, transparent), inset 0 1px 0 color-mix(in oklab, var(--cover-surface) 98%, white);
  }
  opacity: 1;
  pointer-events: none;
  transform: translate3d(var(--cover-layer-ghost-x), var(--cover-layer-ghost-y), 0) scale(1.012);
  transform-origin: center;
  will-change: transform;
  contain: layout paint style;
}
.cover-layer-drag-preview.cover-layer-row.is-selected {
  background-color: var(--cover-surface);
  background-image: linear-gradient(var(--cover-primary), var(--cover-primary));
  @supports (color: color-mix(in lab, red, red)) {
    background-image: linear-gradient(color-mix(in oklab, var(--cover-primary) 9%, transparent), color-mix(in oklab, var(--cover-primary) 9%, transparent));
  }
}
.cover-layer-drag-preview .cover-layer-row__drag {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 8%, transparent);
  }
  color: var(--cover-primary);
  cursor: grabbing;
}
.cover-layer-drag-preview.is-dropping {
  opacity: 0;
  transform: translate3d(var(--cover-layer-ghost-x), var(--cover-layer-ghost-y), 0) scale(1);
  box-shadow: 0 5px 14px var(--cover-text);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 5px 14px color-mix(in oklab, var(--cover-text) 6%, transparent);
  }
  transition: transform 210ms cubic-bezier(0.2, 0.82, 0.2, 1), opacity 170ms ease, box-shadow 210ms ease;
}
.cover-layer-list.is-layer-ordering {
  cursor: grabbing;
}
.cover-layer-reorder-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.is-cover-layer-sorting, body.is-cover-layer-sorting * {
  cursor: grabbing !important;
}
body.is-cover-layer-sorting .cover-layer-list {
  scroll-behavior: auto !important;
}
@keyframes cover-layer-placeholder-sheen {
  to {
    background-position: -200% 0;
  }
}
.cover-layer-actions {
  border-top: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  padding: 0.8rem;
}
.cover-layer-actions button {
  display: inline-flex;
  width: 100%;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.45rem;
  color: var(--cover-text);
  font-size: 0.6rem;
  font-weight: 750;
}
.cover-layer-actions .is-danger {
  color: #e11d48;
}
.cover-editor-workspace {
  grid-area: canvas;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: 3.5rem minmax(0, 1fr);
}
.cover-editor-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 94%, var(--cover-bg));
  }
  padding: 0 0.7rem;
}
.cover-editor-toolbar__elements {
  grid-row: 1;
  grid-column: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
}
.cover-editor-toolbar__guides {
  grid-row: 1;
  grid-column: 2;
  justify-self: center;
}
.cover-editor-zoom {
  grid-row: 1;
  grid-column: 3;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-self: end;
  gap: 0.3rem;
}
.cover-editor-zoom button {
  width: 2.25rem;
  flex: 0 0 auto;
  padding: 0;
}
.cover-editor-zoom input {
  width: clamp(3.5rem, 5vw, 6rem);
  min-width: 0;
  accent-color: var(--cover-primary);
}
.cover-editor-zoom strong {
  min-width: 2.25rem;
  color: var(--cover-text);
  font-size: 0.58rem;
  text-align: center;
}
.cover-editor-toolbar button.is-active {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 10%, var(--cover-surface));
  }
  color: var(--cover-primary);
}
.cover-editor-canvas-scroll {
  position: relative;
  min-height: 0;
  overflow: auto;
  background: var(--cover-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-bg) 82%, #aaa39b);
  }
}
.cover-editor-canvas-stage {
  --cover-zoom: 74;
  display: flex;
  min-width: 48rem;
  min-height: 100%;
  align-items: safe center;
  justify-content: safe center;
  padding: 2.25rem;
}
.cover-canvas-editor-space {
  width: calc(var(--cover-zoom) * 1%);
  min-width: 0;
  max-width: none;
  box-sizing: content-box;
  flex: 0 0 auto;
}
.cover-canvas-editor-wrap {
  position: relative;
  width: 100%;
}
.cover-canvas-editor-wrap > .cover-canvas-frame {
  width: 100%;
  min-width: 0;
  max-width: none;
}
.cover-editor-inspector {
  grid-area: inspector;
  min-height: 0;
  overflow-y: auto;
  border-left: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-left: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  background: var(--cover-surface);
}
.cover-inspector-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
}
.cover-inspector-tabs button {
  min-height: 3rem;
  border-bottom: 2px solid transparent;
  color: var(--cover-muted);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover-inspector-tabs button.is-active {
  border-color: var(--cover-primary);
  color: var(--cover-primary);
}
.cover-inspector-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}
.cover-inspector-pane {
  min-height: 0;
}
.cover-editor-inspector section {
  border-bottom: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  padding: 1rem 0.9rem 1.1rem;
}
.cover-editor-inspector h3, .cover-inspector-label {
  margin-bottom: 0.7rem;
  color: var(--cover-muted);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover-editor-inspector label {
  display: block;
  margin-top: 0.85rem;
}
.cover-editor-inspector label > span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cover-muted);
  font-size: 0.53rem;
  font-weight: 750;
}
.cover-editor-inspector input:not([type="checkbox"]):not([type="color"]):not([type="range"]), .cover-editor-inspector textarea, .cover-editor-inspector select {
  width: 100%;
  min-width: 0;
  min-height: 2.5rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.42rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
  color: var(--cover-text);
  padding: 0.48rem 0.55rem;
  outline: none;
}
.cover-editor-inspector input:not([type="checkbox"]):not([type="color"]):not([type="range"]), .cover-editor-inspector textarea {
  font-size: 11px;
}
.cover-editor-inspector select {
  font-size: 12px;
}
.cover-editor-inspector input:not([type="checkbox"]):not([type="color"]):not([type="range"]), .cover-editor-inspector select {
  height: 2.5rem;
}
.cover-editor-inspector .custom-select {
  min-width: 0;
}
.cover-editor-inspector .custom-select-trigger {
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  min-height: 2.5rem;
  border-color: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.42rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
  color: var(--cover-text);
  padding: 0.48rem 0.55rem;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
}
.cover-editor-inspector .custom-select-trigger:hover:not(:disabled) {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 38%, transparent);
  }
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
}
.cover-editor-inspector .custom-select-trigger:focus-visible, .cover-editor-inspector .custom-select[data-open="true"] .custom-select-trigger {
  border-color: var(--cover-primary);
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
  box-shadow: 0 0 0 3px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--cover-primary) 16%, transparent);
  }
}
.cover-editor-inspector .custom-select-trigger__label {
  line-height: 1.2;
}
.cover-editor-inspector .custom-select-trigger__meta {
  color: var(--cover-muted);
  font-size: 10px;
  font-weight: 500;
}
.custom-select-dropdown[data-custom-select-context="cover-inspector"] {
  border-color: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.55rem;
  background: var(--cover-surface);
  padding: 0.3rem;
  box-shadow: 0 18px 42px -24px rgb(15 23 42 / 0.42), 0 8px 18px -16px rgb(15 23 42 / 0.22);
}
.custom-select-dropdown[data-custom-select-context="cover-inspector"] .custom-select-option {
  min-height: 2.25rem;
  border-radius: 0.42rem;
  color: var(--cover-text);
  padding: 0.5rem 0.55rem;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.custom-select-dropdown[data-custom-select-context="cover-inspector"] .custom-select-option:hover:not(:disabled), .custom-select-dropdown[data-custom-select-context="cover-inspector"] .custom-select-option:focus-visible {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 8%, var(--cover-surface));
  }
  color: var(--cover-text);
}
.custom-select-dropdown[data-custom-select-context="cover-inspector"] .custom-select-option.is-selected {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 12%, var(--cover-surface));
  }
  color: var(--cover-primary);
}
.custom-select-dropdown[data-custom-select-context="cover-inspector"] .custom-select-option__meta {
  color: var(--cover-muted);
  font-size: 11px;
}
.custom-select-dropdown[data-custom-select-context="cover-inspector"] .custom-select-group-label {
  padding: 0.55rem 0.55rem 0.3rem;
  color: var(--cover-muted);
  font-size: 10px;
}
.cover-editor-inspector textarea {
  resize: vertical;
  line-height: 1.45;
}
.cover-editor-inspector input[type="color"] {
  width: 100%;
  height: 2.5rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.42rem;
  background: var(--cover-surface);
  padding: 0.2rem;
}
.cover-editor-inspector .cover-color-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip-path: inset(50%) !important;
}
.cover-color-trigger {
  display: flex;
  width: 100%;
  height: 2.5rem;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.42rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
  color: var(--cover-text);
  padding: 0.34rem 0.45rem;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.cover-color-trigger:hover, .cover-color-trigger[aria-expanded="true"] {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 48%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 4%, var(--cover-surface));
  }
}
.cover-color-trigger:focus-visible {
  border-color: var(--cover-primary);
  box-shadow: 0 0 0 3px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--cover-primary) 16%, transparent);
  }
  outline: none;
}
.cover-color-trigger > i {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  border: 2px solid var(--cover-surface);
  border-radius: 0.34rem;
  background: var(--cover-picker-color);
  box-shadow: 0 0 0 1px var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--cover-muted) 28%, transparent);
  }
}
.cover-color-trigger > strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover-color-trigger > svg {
  flex: 0 0 auto;
  color: var(--cover-muted);
}
.cover-color-picker {
  position: fixed;
  z-index: 240;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
  border-radius: 0.9rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 98%, var(--cover-bg));
  }
  padding: 0.85rem;
  color: var(--cover-text);
  box-shadow: 0 26px 70px -24px rgb(15 23 42 / 0.5), 0 12px 26px -18px rgb(15 23 42 / 0.28);
}
.cover-color-picker[hidden] {
  display: none;
}
.cover-color-picker__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.cover-color-picker__top > strong {
  font-size: 0.72rem;
  font-weight: 800;
}
.cover-color-picker__top > div {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.cover-color-picker__close {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: var(--cover-muted);
}
.cover-color-picker__close:hover {
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 10%, transparent);
  }
  color: var(--cover-text);
}
.cover-color-eyedropper {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: var(--cover-muted);
}
.cover-color-eyedropper:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 8%, transparent);
  }
  color: var(--cover-primary);
}
.cover-gradient-controls {
  display: none;
  grid-template-columns: minmax(0, 1fr) 4.35rem;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.cover-color-picker.is-gradient .cover-gradient-controls {
  display: grid;
}
.cover-gradient-bar {
  position: relative;
  height: 1.65rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 999px;
  background: var(--cover-picker-gradient);
  box-shadow: inset 0 1px 2px rgb(15 23 42 / 0.1);
}
.cover-gradient-bar button {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 1.45rem;
  height: 1.45rem;
  appearance: none;
  border: 3px solid white;
  border-radius: 999px;
  background: var(--cover-picker-color);
  box-shadow: 0 1px 5px rgb(0 0 0 / 0.38);
  cursor: pointer;
  outline: none;
  padding: 0;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
  -webkit-tap-highlight-color: transparent;
}
.cover-gradient-bar button::after {
  position: absolute;
  inset: -0.7rem;
  border-radius: 999px;
  content: "";
}
.cover-gradient-bar button:first-child {
  left: 0.78rem;
}
.cover-gradient-bar button:last-child {
  left: calc(100% - 0.78rem);
}
.cover-gradient-bar button.is-active {
  box-shadow: 0 0 0 2px var(--cover-primary), 0 2px 6px rgb(0 0 0 / 0.35);
}
.cover-gradient-angle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
  border-radius: 0.58rem;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 4%, var(--cover-surface));
  }
  padding-right: 0.48rem;
}
.cover-gradient-angle input {
  width: 100%;
  min-width: 0;
  height: 2.15rem;
  border: 0;
  background: transparent;
  color: var(--cover-text);
  padding: 0 0.15rem 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 750;
  outline: none;
}
.cover-gradient-angle input::-webkit-inner-spin-button, .cover-gradient-angle input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
.cover-gradient-angle span {
  color: var(--cover-muted);
  font-size: 0.7rem;
}
.cover-color-picker__workspace {
  display: grid;
  width: 100%;
  height: 9.7rem;
  min-height: 9.7rem;
  grid-template-columns: minmax(0, 1fr) 1.05rem;
  align-items: stretch;
  gap: 0.42rem;
}
.cover-color-field {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 9.7rem;
  overflow: hidden;
  border: 1px solid var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-primary) 55%, transparent);
  }
  border-radius: 0.72rem;
  background-color: #f00;
  background-image: linear-gradient(to bottom, transparent, #000), linear-gradient(to right, #fff, var(--cover-picker-hue, #f00));
  cursor: crosshair;
  touch-action: none;
}
.cover-color-field > i {
  position: absolute;
  width: 1.15rem;
  height: 1.15rem;
  border: 3px solid white;
  border-radius: 999px;
  background: var(--cover-picker-color);
  box-shadow: 0 1px 5px rgb(0 0 0 / 0.5);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.cover-color-hue {
  position: relative;
  display: block;
  width: 1.05rem;
  height: 100%;
  min-height: 9.7rem;
  border-radius: 999px;
  background-color: #f00;
  background-image: linear-gradient(to bottom, #f00 0%, #ff0 16.6%, #0f0 33.3%, #0ff 50%, #00f 66.6%, #f0f 83.3%, #f00 100%);
  cursor: crosshair;
  touch-action: none;
}
.cover-color-hue:focus-visible {
  box-shadow: 0 0 0 3px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--cover-primary) 22%, transparent);
  }
  outline: none;
}
.cover-color-hue > i {
  position: absolute;
  left: 50%;
  width: 1.18rem;
  height: 1.18rem;
  border: 3px solid white;
  border-radius: 999px;
  background: var(--cover-picker-hue);
  box-shadow: 0 1px 5px rgb(0 0 0 / 0.42);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.cover-eyedropper-active, .cover-eyedropper-active * {
  cursor: crosshair !important;
}
.cover-eyedropper-hint {
  position: fixed;
  top: 0.85rem;
  left: 50%;
  z-index: 260;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 999px;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 97%, var(--cover-bg));
  }
  color: var(--cover-text);
  padding: 0.58rem 0.72rem;
  box-shadow: 0 16px 38px -20px rgb(15 23 42 / 0.55);
  font-size: 0.7rem;
  font-weight: 750;
  pointer-events: none;
  transform: translateX(-50%);
}
.cover-eyedropper-hint svg {
  flex: 0 0 auto;
  color: var(--cover-primary);
}
.cover-eyedropper-hint kbd {
  border-radius: 0.3rem;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 10%, var(--cover-surface));
  }
  color: var(--cover-muted);
  padding: 0.15rem 0.35rem;
  font-size: 0.58rem;
}
.cover-eyedropper-loupe {
  position: fixed;
  z-index: 261;
  width: 5.75rem;
  height: 5.75rem;
  overflow: hidden;
  border: 3px solid var(--cover-surface);
  border-radius: 999px;
  background: var(--cover-eyedropper-color, #fff);
  box-shadow: 0 0 0 1px rgb(15 23 42 / 0.26), 0 12px 24px -12px rgb(15 23 42 / 0.58);
  pointer-events: none;
}
.cover-eyedropper-loupe[hidden] {
  display: none;
}
.cover-eyedropper-loupe canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.cover-eyedropper-loupe > i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid white;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.55);
  transform: translate(-50%, -50%);
}
.cover-eyedropper-loupe > span {
  position: absolute;
  right: 0.65rem;
  bottom: 0.5rem;
  left: 0.65rem;
  border-radius: 999px;
  background: rgb(15 23 42 / 0.78);
  color: white;
  padding: 0.18rem 0.35rem;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
}
.cover-color-hex {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
  border-radius: 0.65rem;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 4%, var(--cover-surface));
  }
  padding: 0.28rem 0.38rem 0.28rem 0.65rem;
}
.cover-color-hex > span {
  color: var(--cover-muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}
.cover-color-hex > input {
  width: 100%;
  min-width: 0;
  height: 2.15rem;
  border: 0;
  background: transparent;
  color: var(--cover-text);
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
  outline: none;
}
.cover-color-picker.is-gradient .cover-color-hex > input {
  font-size: 0.66rem;
  text-transform: none;
}
.cover-color-hex > button {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  color: var(--cover-muted);
}
.cover-color-hex > button:hover {
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 10%, transparent);
  }
  color: var(--cover-text);
}
.cover-color-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin-top: 0.75rem;
  border-radius: 0.7rem;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 7%, var(--cover-surface));
  }
  padding: 0.25rem;
}
.cover-color-modes button {
  min-height: 2.35rem;
  border-radius: 0.55rem;
  color: var(--cover-muted);
  font-size: 0.7rem;
  font-weight: 750;
}
.cover-color-modes button:hover {
  color: var(--cover-text);
}
.cover-color-modes button.is-active {
  background: var(--cover-surface);
  color: var(--cover-text);
  box-shadow: 0 4px 14px -10px rgb(15 23 42 / 0.5), 0 1px 3px rgb(15 23 42 / 0.08);
}
.cover-inspector-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
}
.cover-inspector-grid > label {
  min-width: 0;
}
.cover-text-align-field {
  min-width: 0;
  margin-top: 0.85rem;
}
.cover-text-align-field > span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cover-muted);
  font-size: 0.53rem;
  font-weight: 750;
}
.cover-text-align-control {
  display: grid;
  height: 2.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.42rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
}
.cover-text-align-control button {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-right: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  color: var(--cover-muted);
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.cover-text-align-control button:last-child {
  border-right: 0;
}
.cover-text-align-control button:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 7%, var(--cover-surface));
  }
  color: var(--cover-text);
}
.cover-text-align-control button:focus-visible {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 2px var(--cover-primary);
  outline: none;
}
.cover-text-align-control button.is-active {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 13%, var(--cover-surface));
  }
  color: var(--cover-primary);
}
.cover-font-fields {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: end;
}
.cover-text-style-field {
  margin-top: 0.85rem;
}
.cover-text-style-field > span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cover-muted);
  font-size: 0.53rem;
  font-weight: 750;
}
.cover-text-style-control {
  display: grid;
  height: 2.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.42rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
}
.cover-text-style-control button {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-right: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  color: var(--cover-muted);
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.cover-text-style-control button:last-child {
  border-right: 0;
}
.cover-text-style-control button:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 7%, var(--cover-surface));
  }
  color: var(--cover-text);
}
.cover-text-style-control button:focus-visible {
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 2px var(--cover-primary);
  outline: none;
}
.cover-text-style-control button.is-active {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 13%, var(--cover-surface));
  }
  color: var(--cover-primary);
}
.cover-texture-field {
  min-width: 0;
  margin-top: 0.85rem;
}
.cover-texture-field > span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cover-muted);
  font-size: 0.53rem;
  font-weight: 750;
}
.cover-texture-control {
  display: grid;
  height: 2.85rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.5rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
}
.cover-texture-swatch {
  position: relative;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-right: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  color: var(--cover-text);
  transition: background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.cover-texture-swatch:last-child {
  border-right: 0;
}
.cover-texture-swatch:hover {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 7%, var(--cover-surface));
  }
}
.cover-texture-swatch:focus-visible {
  z-index: 1;
  box-shadow: inset 0 0 0 2px var(--cover-primary);
  outline: none;
}
.cover-texture-swatch.is-active {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 13%, var(--cover-surface));
  }
  color: var(--cover-primary);
  box-shadow: inset 0 -2px 0 var(--cover-primary);
}
.cover-texture-sample {
  --cover-color: currentColor;
  --cover-texture-base: linear-gradient(currentColor, currentColor);
  position: relative;
  display: block;
  width: 1em;
  height: 1.1em;
  color: currentColor;
  font-family: Georgia, serif;
  font-size: 1.28rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}
.cover-texture-swatch--none .cover-texture-sample::after {
  position: absolute;
  top: 50%;
  left: -0.1em;
  width: 1.2em;
  border-top: 2px solid currentColor;
  content: "";
  transform: rotate(-42deg);
  transform-origin: center;
}
.cover-texture-swatch--grunge .cover-texture-sample, .cover-texture-swatch--stone .cover-texture-sample {
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cover-effect-range > span {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cover-effect-range > span > span {
  color: var(--cover-muted);
}
.cover-effect-range output {
  color: var(--cover-text);
  font-size: 0.52rem;
  font-weight: 800;
}
.cover-effect-range input[type="range"] {
  width: 100%;
  accent-color: var(--cover-primary);
}
.cover-effect-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0 !important;
}
.cover-effect-toggle > span {
  margin: 0 !important;
}
.cover-effect-toggle strong, .cover-effect-toggle small {
  display: block;
}
.cover-effect-toggle strong {
  color: var(--cover-text);
  font-size: 0.62rem;
}
.cover-effect-toggle small {
  margin-top: 0.12rem;
  color: var(--cover-muted);
  font-size: 0.5rem;
  font-weight: 500;
}
.cover-effect-toggle input {
  position: absolute;
  opacity: 0;
}
.cover-effect-toggle i {
  position: relative;
  width: 2rem;
  height: 1.1rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
}
.cover-effect-toggle i::after {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--cover-surface);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.28);
  content: "";
  transition: transform 150ms ease;
}
.cover-effect-toggle input:checked + i {
  background: var(--cover-primary);
}
.cover-effect-toggle input:checked + i::after {
  transform: translateX(0.9rem);
}
.cover-editor-inspector {
  scrollbar-color: var(--cover-muted) transparent;
  @supports (color: color-mix(in lab, red, red)) {
    scrollbar-color: color-mix(in oklab, var(--cover-muted) 28%, transparent) transparent;
  }
  scrollbar-width: thin;
}
.cover-inspector-tabs {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 94%, transparent);
  }
  backdrop-filter: blur(18px) saturate(1.15);
}
.cover-inspector-tabs button {
  min-height: 3.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.cover-inspector-tabs button:hover:not(:disabled) {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 4%, transparent);
  }
  color: var(--cover-text);
}
.cover-inspector-tabs button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--cover-primary) 72%, transparent);
  }
  outline: none;
}
.cover-inspector-pane--glass {
  display: grid;
  gap: 0.65rem;
  min-height: 100%;
  background: var(--cover-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-bg) 42%, var(--cover-surface));
  }
  padding: 0.65rem;
}
.cover-inspector-pane--glass.cover-inspector-pane--background, .cover-inspector-pane--glass.cover-inspector-pane--image {
  align-content: start;
}
.cover-editor-inspector .cover-inspector-pane--glass > .cover-inspector-section {
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 16%, transparent);
  }
  border-radius: 0.9rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 97%, var(--cover-bg));
  }
  padding: 0.95rem;
  box-shadow: 0 18px 42px -34px var(--cover-text), 0 2px 8px -6px var(--cover-text), inset 0 1px 0 color-mix(in srgb, white 56%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 18px 42px -34px color-mix(in oklab, var(--cover-text) 34%, transparent), 0 2px 8px -6px color-mix(in oklab, var(--cover-text) 20%, transparent), inset 0 1px 0 color-mix(in oklab, white 56%, transparent);
  }
}
.cover-inspector-pane--glass .cover-inspector-label, .cover-inspector-pane--glass h3 {
  margin-bottom: 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.105em;
}
.cover-inspector-pane--glass .cover-inspector-element-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cover-text);
}
.cover-inspector-pane--glass .cover-inspector-element-title svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--cover-primary);
}
.cover-inspector-pane--glass .cover-inspector-grid {
  gap: 0.65rem;
}
.cover-inspector-pane--glass .cover-background-position-controls {
  align-items: start;
  margin-top: 0.92rem;
}
.cover-inspector-pane--glass .cover-background-position-controls > .cover-effect-range {
  min-width: 0;
  margin-top: 0;
}
.cover-inspector-pane--glass .cover-background-position-controls .cover-effect-range__header {
  align-items: center;
  flex-direction: row;
  gap: 0.22rem;
}
.cover-inspector-pane--glass .cover-background-position-controls .cover-effect-range__value {
  width: auto;
  margin-left: auto;
  justify-content: flex-end;
  gap: 0.2rem;
}
.cover-inspector-pane--glass .cover-background-position-controls .cover-effect-range__label {
  white-space: nowrap;
}
.cover-inspector-pane--glass .cover-background-position-controls output {
  min-height: 1.5rem;
  padding: 0.2rem 0.32rem;
  font-size: 0.6rem;
}
.cover-inspector-pane--glass label, .cover-inspector-pane--glass .cover-text-style-field, .cover-inspector-pane--glass .cover-text-align-field, .cover-inspector-pane--glass .cover-texture-field {
  margin-top: 0.92rem;
}
.cover-inspector-pane--glass label > span, .cover-inspector-pane--glass .cover-text-style-field > span, .cover-inspector-pane--glass .cover-text-align-field > span, .cover-inspector-pane--glass .cover-texture-field > span {
  margin-bottom: 0.42rem;
  font-size: 0.61rem;
  font-weight: 720;
  letter-spacing: 0.005em;
}
.cover-inspector-pane--glass input:not([type="checkbox"]):not([type="color"]):not([type="range"]), .cover-inspector-pane--glass select, .cover-inspector-pane--glass .custom-select-trigger, .cover-inspector-pane--glass .cover-color-trigger {
  height: 2.7rem;
  min-height: 2.7rem;
  border-color: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  border-radius: 0.68rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 97%, var(--cover-bg));
  }
  box-shadow: 0 10px 22px -22px var(--cover-text), inset 0 1px 0 color-mix(in srgb, white 55%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 10px 22px -22px color-mix(in oklab, var(--cover-text) 38%, transparent), inset 0 1px 0 color-mix(in oklab, white 55%, transparent);
  }
  font-size: 0.7rem;
  font-weight: 650;
}
.cover-inspector-pane--glass .custom-select-trigger, .cover-inspector-pane--glass .cover-color-trigger {
  padding-right: 0.68rem;
  padding-left: 0.68rem;
}
.cover-inspector-pane--glass .cover-color-trigger > i {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.48rem;
}
.cover-inspector-pane--glass .cover-color-trigger > strong {
  font-size: 0.7rem;
}
.cover-inspector-pane--glass .cover-text-style-control, .cover-inspector-pane--glass .cover-text-align-control, .cover-inspector-pane--glass .cover-texture-control {
  height: 2.7rem;
  border-color: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  border-radius: 0.68rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 97%, var(--cover-bg));
  }
  box-shadow: 0 10px 22px -22px var(--cover-text), inset 0 1px 0 color-mix(in srgb, white 55%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 10px 22px -22px color-mix(in oklab, var(--cover-text) 38%, transparent), inset 0 1px 0 color-mix(in oklab, white 55%, transparent);
  }
}
.cover-inspector-pane--glass .cover-text-style-control button, .cover-inspector-pane--glass .cover-text-align-control button, .cover-inspector-pane--glass .cover-texture-control button {
  border-color: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-muted) 14%, transparent);
  }
  color: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in oklab, var(--cover-muted) 92%, var(--cover-text));
  }
}
.cover-inspector-pane--glass .cover-text-style-control button.is-active, .cover-inspector-pane--glass .cover-text-align-control button.is-active, .cover-inspector-pane--glass .cover-texture-control button.is-active {
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 9%, var(--cover-surface));
  }
  color: var(--cover-primary);
  box-shadow: inset 0 0 0 1px var(--cover-primary), 0 7px 15px -13px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cover-primary) 12%, transparent), 0 7px 15px -13px color-mix(in oklab, var(--cover-primary) 52%, transparent);
  }
}
.custom-select-dropdown[data-custom-select-kind="cover-font"] {
  scrollbar-color: var(--cover-muted) transparent;
  @supports (color: color-mix(in lab, red, red)) {
    scrollbar-color: color-mix(in oklab, var(--cover-muted) 28%, transparent) transparent;
  }
  scrollbar-width: thin;
}
.custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-group-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.55rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-group-label::before, .custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-group-label::after {
  height: 1px;
  flex: 1 1 auto;
  background: currentColor;
  content: "";
  opacity: 0.45;
}
.custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-group-label:first-child {
  padding-top: 0.55rem;
}
.custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-option {
  min-height: 2.55rem;
  padding-block: 0.58rem;
  transition: background-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}
.custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-option:hover:not(:disabled):not(.is-selected), .custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-option:focus-visible:not(:disabled):not(.is-selected) {
  background: currentColor;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, currentColor 7%, transparent);
  }
  box-shadow: inset 0 0 0 1px currentColor;
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 12%, transparent);
  }
}
.custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-option__label {
  overflow: visible;
  font-size: 0.8rem;
  font-weight: 500;
  text-overflow: clip;
}
.cover-inspector-pane--glass .cover-media-controls {
  margin-top: 0.95rem;
}
.cover-inspector-pane--glass .cover-media-controls > button, .cover-inspector-pane--glass .cover-image-change-control > button, .cover-inspector-pane--glass .cover-media-controls > div button {
  min-height: 2.7rem;
  gap: 0.45rem;
  border-color: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-muted) 17%, transparent);
  }
  border-radius: 0.68rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 97%, var(--cover-bg));
  }
  color: var(--cover-text);
  box-shadow: 0 10px 22px -22px var(--cover-text), inset 0 1px 0 color-mix(in srgb, white 55%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 10px 22px -22px color-mix(in oklab, var(--cover-text) 38%, transparent), inset 0 1px 0 color-mix(in oklab, white 55%, transparent);
  }
  font-size: 0.65rem;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}
.cover-inspector-pane--glass .cover-media-controls > button, .cover-inspector-pane--glass .cover-media-controls > .cover-image-change-control > button {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 24%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 6%, var(--cover-surface));
  }
  color: var(--cover-primary);
}
.cover-inspector-pane--glass .cover-media-controls > button:hover, .cover-inspector-pane--glass .cover-media-controls > .cover-image-change-control > button:hover, .cover-inspector-pane--glass .cover-media-controls > div button:hover {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 44%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 9%, var(--cover-surface));
  }
  color: var(--cover-primary);
  transform: translateY(-1px);
}
.cover-inspector-pane--glass .cover-media-controls button:focus-visible {
  box-shadow: 0 0 0 3px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--cover-primary) 16%, transparent);
  }
  outline: none;
}
.cover-inspector-pane--glass .cover-managed-position {
  margin-top: 0.92rem;
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 16%, transparent);
  }
  border-radius: 0.7rem;
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 5%, var(--cover-surface));
  }
  padding: 0.72rem;
}
.cover-inspector-pane--glass .cover-managed-position svg {
  flex: 0 0 auto;
}
.cover-inspector-pane--glass .cover-managed-position strong {
  font-size: 0.66rem;
}
.cover-inspector-pane--glass .cover-managed-position small {
  margin-top: 0.16rem;
  font-size: 0.55rem;
}
.cover-inspector-pane--glass .cover-inspector-section--tint > .cover-inspector-grid, .cover-inspector-pane--glass .cover-inspector-section--shadow > .cover-inspector-grid {
  align-items: end;
}
.cover-inspector-pane--glass .cover-inspector-section--overlay > label:first-of-type {
  margin-top: 0;
}
.cover-effect-range {
  --cover-range-progress: 50%;
}
.cover-effect-range > .cover-effect-range__header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem !important;
}
.cover-effect-range > .cover-effect-range__header > span {
  margin: 0;
  color: var(--cover-muted);
}
.cover-effect-range__label {
  font-size: 0.61rem;
  font-weight: 720;
  letter-spacing: 0.005em;
  line-height: 1.2;
}
.cover-effect-range__value {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0.32rem;
}
.cover-effect-range__reset {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 16%, transparent);
  }
  border-radius: 0.5rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
  color: var(--cover-muted);
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 52%, transparent);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}
.cover-effect-range__reset:hover {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 30%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 8%, var(--cover-surface));
  }
  color: var(--cover-primary);
}
.cover-effect-range__reset:active {
  transform: translateX(-1px) scale(0.96);
}
.cover-effect-range__reset:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--cover-primary) 16%, transparent);
  }
}
.cover-effect-range output {
  display: inline-flex;
  min-height: 1.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 16%, transparent);
  }
  border-radius: 0.5rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, var(--cover-bg));
  }
  color: var(--cover-text);
  padding: 0.25rem 0.48rem;
  box-shadow: 0 8px 18px -16px var(--cover-text), inset 0 1px 0 color-mix(in srgb, white 52%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 8px 18px -16px color-mix(in oklab, var(--cover-text) 38%, transparent), inset 0 1px 0 color-mix(in oklab, white 52%, transparent);
  }
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
}
.cover-effect-range__track {
  display: flex !important;
  min-width: 0;
  align-items: center;
  gap: 0.48rem;
  margin: 0 !important;
}
.cover-effect-range__track input[type="range"] {
  width: 100%;
  height: 1.4rem;
  min-width: 0;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(to right, var(--cover-primary) 0 var(--cover-range-progress), var(--cover-muted) var(--cover-range-progress) 100%) center / 100% 0.27rem no-repeat;
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(to right, var(--cover-primary) 0 var(--cover-range-progress), color-mix(in oklab, var(--cover-muted) 18%, var(--cover-surface)) var(--cover-range-progress) 100%) center / 100% 0.27rem no-repeat;
  }
  cursor: pointer;
  outline: none;
}
.cover-effect-range__track input[type="range"]::-webkit-slider-thumb {
  width: 1.18rem;
  height: 1.18rem;
  appearance: none;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
  border-radius: 999px;
  background: var(--cover-surface);
  box-shadow: 0 4px 10px -5px var(--cover-text), 0 1px 3px var(--cover-text), inset 0 1px 0 color-mix(in srgb, white 78%, transparent);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 4px 10px -5px color-mix(in oklab, var(--cover-text) 55%, transparent), 0 1px 3px color-mix(in oklab, var(--cover-text) 16%, transparent), inset 0 1px 0 color-mix(in oklab, white 78%, transparent);
  }
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.cover-effect-range__track input[type="range"]::-moz-range-thumb {
  width: 1.18rem;
  height: 1.18rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
  border-radius: 999px;
  background: var(--cover-surface);
  box-shadow: 0 4px 10px -5px var(--cover-text), 0 1px 3px var(--cover-text);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 4px 10px -5px color-mix(in oklab, var(--cover-text) 55%, transparent), 0 1px 3px color-mix(in oklab, var(--cover-text) 16%, transparent);
  }
}
.cover-effect-range__track input[type="range"]::-moz-range-track {
  height: 0.27rem;
  border-radius: 999px;
  background: transparent;
}
.cover-effect-range__track input[type="range"]:hover::-webkit-slider-thumb {
  box-shadow: 0 0 0 0.3rem var(--cover-primary), 0 4px 10px -5px var(--cover-text), 0 1px 3px var(--cover-text);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 0.3rem color-mix(in oklab, var(--cover-primary) 10%, transparent), 0 4px 10px -5px color-mix(in oklab, var(--cover-text) 55%, transparent), 0 1px 3px color-mix(in oklab, var(--cover-text) 16%, transparent);
  }
}
.cover-effect-range__track input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.08);
}
.cover-effect-range__track input[type="range"]:focus-visible {
  box-shadow: 0 0 0 3px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--cover-primary) 16%, transparent);
  }
}
.cover-range-bound {
  flex: 0 0 auto;
  color: var(--cover-muted);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1;
}
.cover-range-bound--max {
  font-size: 0.88rem;
}
.cover-inspector-pane--glass .cover-inspector-section--appearance .cover-effect-range {
  margin-top: 0;
}
.cover-inspector-pane--glass .cover-inspector-section--shadow > .cover-inspector-grid {
  align-items: end;
  margin-top: 0.88rem;
}
.cover-inspector-pane--glass .cover-inspector-section--shadow > .cover-inspector-grid > label, .cover-inspector-pane--glass .cover-inspector-section--shadow > .cover-inspector-grid > .cover-effect-range {
  margin-top: 0;
}
.cover-inspector-pane--glass .cover-effect-toggle {
  min-height: 2.4rem;
}
.cover-inspector-pane--glass .cover-effect-toggle strong {
  font-size: 0.74rem;
  font-weight: 780;
}
.cover-inspector-pane--glass .cover-effect-toggle small {
  margin-top: 0.2rem;
  font-size: 0.58rem;
}
.cover-inspector-pane--glass .cover-effect-toggle i {
  width: 2.3rem;
  height: 1.3rem;
  box-shadow: inset 0 0 0 1px var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--cover-muted) 12%, transparent);
  }
}
.cover-inspector-pane--glass .cover-effect-toggle i::after {
  top: 0.15rem;
  left: 0.15rem;
  width: 1rem;
  height: 1rem;
}
.cover-inspector-pane--glass .cover-effect-toggle input:checked + i::after {
  transform: translateX(1rem);
}
.cover-inspector-pane--glass .cover-effect-toggle input:focus-visible + i {
  box-shadow: 0 0 0 3px var(--cover-primary), inset 0 0 0 1px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--cover-primary) 18%, transparent), inset 0 0 0 1px color-mix(in oklab, var(--cover-primary) 28%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cover-inspector-tabs button, .cover-effect-range__track input[type="range"]::-webkit-slider-thumb, .cover-effect-toggle i::after {
    transition: none;
  }
}
.cover-media-controls {
  margin-top: 0.9rem;
}
.cover-media-controls > button, .cover-media-controls > div button {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.42rem;
  color: var(--cover-text);
  padding: 0.45rem 0.6rem;
  font-size: 0.57rem;
  font-weight: 750;
}
.cover-media-controls > button {
  width: 100%;
}
.cover-media-controls > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.cover-media-controls > .cover-image-change-control {
  grid-template-columns: 3.65rem minmax(0, 1fr);
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 0;
}
.cover-inspector-pane--image .cover-media-scale-controls {
  margin-top: 0.78rem;
}
.cover-image-preview {
  display: block;
  width: 3.65rem;
  height: 2.7rem;
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
  border-radius: 0.68rem;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 8%, var(--cover-surface));
  }
  box-shadow: 0 8px 18px -15px var(--cover-text);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 8px 18px -15px color-mix(in oklab, var(--cover-text) 46%, transparent);
  }
}
.cover-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-image-change-control > button {
  width: 100%;
  min-width: 0;
}
.cover-inspector-empty {
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cover-muted);
  text-align: center;
}
.cover-inspector-empty h3 {
  margin: 0.6rem 0 0;
  color: var(--cover-text);
  font-size: 0.68rem;
}
.cover-inspector-empty p {
  max-width: 14rem;
  margin-top: 0.35rem;
  font-size: 0.55rem;
  line-height: 1.5;
}
.cover-production-values {
  margin-top: 1.5rem;
  border-top: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--cover-muted) 16%, transparent);
  }
  padding-top: 0.55rem;
}
.cover-production-values > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.57rem;
}
.cover-production-values dt {
  color: var(--cover-muted);
}
.cover-production-values dd {
  font-weight: 750;
  text-align: right;
}
.cover-production-warning {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  border: 1px solid color-mix(in oklab, #d97706 34%, transparent);
  border-radius: 0.55rem;
  background: #f59e0b;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, #f59e0b 8%, var(--cover-surface));
  }
  padding: 0.55rem 0.6rem;
  color: #b45309;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in oklab, #b45309 84%, var(--cover-text));
  }
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1.45;
}
.cover-production-warning svg {
  flex: 0 0 auto;
}
.cover-binding-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.95rem;
}
.cover-binding-selector button {
  display: grid;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  grid-template-columns: 1.25rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.58rem;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 3%, transparent);
  }
  padding: 0.48rem 0.5rem;
  color: var(--cover-text);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.cover-binding-selector button:hover {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 38%, transparent);
  }
  transform: translateY(-1px);
}
.cover-binding-selector button.is-active {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 58%, transparent);
  }
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 9%, var(--cover-surface));
  }
  color: var(--cover-primary);
  box-shadow: 0 10px 28px -24px var(--cover-primary);
}
.cover-binding-selector button > svg:first-child {
  justify-self: center;
}
.cover-binding-selector button > svg:last-child {
  justify-self: end;
}
.cover-binding-selector strong {
  display: block;
  overflow: hidden;
  color: var(--cover-text);
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover-managed-position {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.7rem;
  border: 1px solid var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-primary) 18%, transparent);
  }
  border-radius: 0.52rem;
  background: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-primary) 5%, var(--cover-surface));
  }
  padding: 0.58rem;
  color: var(--cover-primary);
}
.cover-managed-position strong, .cover-managed-position small {
  display: block;
}
.cover-managed-position strong {
  color: var(--cover-text);
  font-size: 0.58rem;
}
.cover-managed-position small {
  margin-top: 0.12rem;
  color: var(--cover-muted);
  font-size: 0.5rem;
  line-height: 1.4;
}
.cover-guide-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cover-guide-toggle > span {
  margin: 0 !important;
  color: var(--cover-text) !important;
}
.cover-guide-toggle input {
  position: absolute;
  opacity: 0;
}
.cover-guide-toggle i {
  position: relative;
  width: 2rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
}
.cover-guide-toggle i::after {
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--cover-surface);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.28);
  content: "";
  transition: transform 150ms ease;
}
.cover-guide-toggle input:checked + i {
  background: var(--cover-primary);
}
.cover-guide-toggle input:checked + i::after {
  transform: translateX(0.9rem);
}
.cover-mockup-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(13 11 9 / 0.74);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
}
.cover-image-library-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, #17130f 58%, transparent);
  padding: 1.25rem;
  backdrop-filter: blur(7px);
}
.authorflow-image-library-overlay {
  --cover-bg: var(--platform-bg, #f6f3ef);
  --cover-surface: var(--platform-surface, #fff);
  --cover-text: var(--platform-text, #171513);
  --cover-muted: var(--platform-muted, #7f756e);
  --cover-primary: var(--platform-primary, #9b5524);
}
.cover-image-library-modal {
  display: grid;
  width: min(92vw, 980px);
  height: min(86vh, 760px);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 20%, transparent);
  }
  border-radius: 1.25rem;
  background: var(--cover-surface);
  color: var(--cover-text);
  box-shadow: 0 38px 100px -32px rgb(0 0 0 / 0.68);
}
.authorflow-image-library-modal {
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.authorflow-chat-overlay {
  --chat-bg: var(--platform-bg, #f6f3ef);
  --chat-surface: var(--platform-surface, #fff);
  --chat-text: var(--platform-text, #171513);
  --chat-muted: var(--platform-muted, #7f756e);
  --chat-primary: var(--platform-primary, #9b5524);
  position: fixed;
  inset: 0;
  z-index: 186;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, #17130f 62%, transparent);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}
.authorflow-chat-modal {
  display: grid;
  width: min(95vw, 1120px);
  height: min(88vh, 790px);
  max-height: 900px;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--chat-muted) 20%, transparent);
  }
  border-radius: 1.15rem;
  background: var(--chat-surface);
  color: var(--chat-text);
  box-shadow: 0 40px 110px -32px rgb(0 0 0 / 0.72);
}
.authorflow-chat-modal > header {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--chat-muted) 15%, transparent);
  }
  padding: 0.8rem 1rem 0.8rem 1.35rem;
}
.authorflow-chat-modal > header h2 {
  font-size: 1.08rem;
  font-weight: 780;
  letter-spacing: -0.012em;
}
.authorflow-chat-modal > header button {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  border-radius: 0.58rem;
  color: var(--chat-muted);
  place-items: center;
  transition: background-color 140ms ease, color 140ms ease;
}
.authorflow-chat-modal > header button:hover {
  background: var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--chat-muted) 9%, transparent);
  }
  color: var(--chat-text);
}
.authorflow-chat-modal > header button:focus-visible {
  outline: 2px solid var(--chat-primary);
  @supports (color: color-mix(in lab, red, red)) {
    outline: 2px solid color-mix(in oklab, var(--chat-primary) 60%, transparent);
  }
  outline-offset: 2px;
}
.authorflow-chat-modal > form {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}
.authorflow-chat-modal__body {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.92fr);
  overflow: hidden;
}
.authorflow-chat-editor {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 1.3rem 1.4rem 1.5rem;
  scrollbar-color: var(--chat-muted) transparent;
  @supports (color: color-mix(in lab, red, red)) {
    scrollbar-color: color-mix(in oklab, var(--chat-muted) 24%, transparent) transparent;
  }
  scrollbar-width: thin;
}
.authorflow-chat-fields {
  min-width: 0;
}
.authorflow-chat-fields + .authorflow-chat-fields {
  margin-top: 1.65rem;
}
.authorflow-chat-fields h3, .authorflow-chat-preview-head > h3, .authorflow-chat-preview-head legend {
  color: var(--chat-text);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.01em;
}
.authorflow-chat-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0.72rem;
}
.authorflow-chat-name-grid label > span {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  margin-bottom: 0.36rem;
  color: var(--chat-muted);
  font-size: 0.62rem;
  font-weight: 700;
}
.authorflow-chat-name-grid label > span i {
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--chat-muted) 58%, transparent);
  }
}
.authorflow-chat-name-grid label[data-chat-person="recipient"] > span i {
  background: var(--chat-primary);
}
.authorflow-chat-name-grid .authorflow-input {
  height: 2.65rem;
  border-color: var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--chat-muted) 20%, transparent);
  }
  border-radius: 0.58rem;
  background: var(--chat-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--chat-surface) 96%, var(--chat-bg));
  }
  padding: 0 0.72rem;
  font-size: 0.75rem;
  font-weight: 650;
}
.authorflow-chat-name-grid .authorflow-input:focus {
  border-color: var(--chat-primary);
  box-shadow: 0 0 0 3px var(--chat-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--chat-primary) 11%, transparent);
  }
  outline: none;
}
.authorflow-chat-messages-head {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.authorflow-chat-message-list {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.66rem;
}
.authorflow-chat-message-row {
  display: grid;
  grid-template-columns: 1.4rem minmax(8.6rem, 9.8rem) minmax(0, 1fr) 1.8rem;
  align-items: start;
  gap: 0.38rem;
}
.authorflow-chat-message-row__index {
  padding-top: 0.56rem;
  color: var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in oklab, var(--chat-muted) 70%, transparent);
  }
  font-size: 0.52rem;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
}
.authorflow-chat-message-row select, .authorflow-chat-message-row textarea {
  width: 100%;
  border: 1px solid var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--chat-muted) 20%, transparent);
  }
  border-radius: 0.55rem;
  background: var(--chat-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--chat-surface) 97%, var(--chat-bg));
  }
  color: var(--chat-text);
  font-size: 0.68rem;
  outline: none;
}
.authorflow-chat-message-row select {
  height: 2rem;
  padding: 0 1.45rem 0 0.5rem;
  font-size: 0.59rem;
  font-weight: 680;
}
.authorflow-chat-message-row textarea {
  min-height: 2.5rem;
  max-height: 8rem;
  resize: vertical;
  padding: 0.58rem 0.65rem;
  line-height: 1.42;
}
.authorflow-chat-message-row select:focus, .authorflow-chat-message-row textarea:focus {
  border-color: var(--chat-primary);
  box-shadow: 0 0 0 3px var(--chat-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--chat-primary) 11%, transparent);
  }
}
.authorflow-chat-message-row > button {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.1rem;
  border-radius: 0.45rem;
  color: var(--chat-muted);
  place-items: center;
}
.authorflow-chat-message-row > button:hover {
  background: color-mix(in oklab, #dc2626 10%, transparent);
  color: #dc2626;
}
.authorflow-chat-empty {
  display: grid;
  min-height: 5rem;
  border: 1px dashed var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px dashed color-mix(in oklab, var(--chat-muted) 22%, transparent);
  }
  border-radius: 0.62rem;
  color: var(--chat-muted);
  font-size: 0.68rem;
  place-items: center;
}
.authorflow-chat-add-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}
.authorflow-chat-add-actions button {
  display: inline-flex;
  max-width: 9rem;
  min-height: 2rem;
  align-items: center;
  gap: 0.28rem;
  overflow: hidden;
  border: 1px solid var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--chat-muted) 19%, transparent);
  }
  border-radius: 0.5rem;
  background: var(--chat-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--chat-surface) 96%, var(--chat-bg));
  }
  color: var(--chat-text);
  padding: 0 0.52rem;
  font-size: 0.61rem;
  font-weight: 720;
  white-space: nowrap;
}
.authorflow-chat-add-actions button:hover {
  border-color: var(--chat-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--chat-primary) 42%, transparent);
  }
  color: var(--chat-primary);
}
.authorflow-chat-add-actions button span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.authorflow-chat-modal-preview {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  border-left: 1px solid var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-left: 1px solid color-mix(in oklab, var(--chat-muted) 15%, transparent);
  }
  background: var(--chat-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--chat-bg) 62%, var(--chat-surface));
  }
  padding: 1.25rem;
}
.authorflow-chat-preview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.85rem;
}
.authorflow-chat-preview-head fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
}
.authorflow-chat-preview-head legend {
  margin: 0 0 0.38rem auto;
  color: var(--chat-muted);
  font-size: 0.56rem;
  text-align: right;
}
.authorflow-chat-theme-grid {
  display: flex;
  gap: 0.3rem;
}
.authorflow-chat-theme-grid > button {
  position: relative;
  display: grid;
  min-width: 4.75rem;
  height: 2.15rem;
  grid-template-columns: 1.05rem minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--chat-muted) 18%, transparent);
  }
  border-radius: 0.5rem;
  background: var(--chat-surface);
  padding: 0 0.48rem;
  color: var(--chat-muted);
}
.authorflow-chat-theme-grid > button:hover {
  border-color: var(--chat-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--chat-primary) 36%, transparent);
  }
  color: var(--chat-text);
}
.authorflow-chat-theme-grid > button.is-active {
  border-color: var(--chat-primary);
  background: var(--chat-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--chat-primary) 7%, var(--chat-surface));
  }
  color: var(--chat-primary);
  box-shadow: 0 0 0 1px var(--chat-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 1px color-mix(in oklab, var(--chat-primary) 8%, transparent);
  }
}
.authorflow-chat-theme-grid > button:focus-visible {
  outline: 2px solid var(--chat-primary);
  @supports (color: color-mix(in lab, red, red)) {
    outline: 2px solid color-mix(in oklab, var(--chat-primary) 58%, transparent);
  }
  outline-offset: 2px;
}
.authorflow-chat-theme-grid strong {
  overflow: hidden;
  font-size: 0.57rem;
  font-weight: 740;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.authorflow-chat-theme-card__check {
  position: absolute;
  top: -0.28rem;
  right: -0.28rem;
  display: none;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: var(--chat-primary);
  color: var(--chat-surface);
  place-items: center;
}
.authorflow-chat-theme-grid > button.is-active .authorflow-chat-theme-card__check {
  display: grid;
}
.authorflow-chat-theme-card__sample {
  display: flex;
  width: 1.05rem;
  flex-direction: column;
  gap: 0.14rem;
}
.authorflow-chat-theme-card__sample i {
  display: block;
  width: 76%;
  height: 0.23rem;
  border-radius: 999px;
  background: #cfcfcb;
}
.authorflow-chat-theme-card__sample i:last-child {
  width: 68%;
  align-self: flex-end;
  background: #242424;
}
.authorflow-chat-theme-card__sample[data-chat-theme="outline"] i {
  border: 1px solid #c9c9c5;
  background: transparent;
}
.authorflow-chat-theme-card__sample[data-chat-theme="outline"] i:last-child {
  border-color: #242424;
}
.authorflow-chat-theme-card__sample[data-chat-theme="organic"] i {
  height: 0.28rem;
  background: #e3e3de;
}
.authorflow-chat-theme-card__sample[data-chat-theme="organic"] i:last-child {
  background: #dbdbd5;
}
.authorflow-chat-preview-stage {
  display: grid;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--chat-muted) 13%, transparent);
  }
  border-radius: 0.75rem;
  background: var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--chat-muted) 7%, var(--chat-surface));
  }
  padding: 1.35rem;
  place-items: start center;
  scrollbar-color: var(--chat-muted) transparent;
  @supports (color: color-mix(in lab, red, red)) {
    scrollbar-color: color-mix(in oklab, var(--chat-muted) 24%, transparent) transparent;
  }
  scrollbar-width: thin;
}
.authorflow-chat-preview-canvas {
  display: grid;
  width: min(100%, 22rem);
  min-height: 27rem;
  align-content: start;
  gap: 0.28rem;
  border: 1px solid #ecebe7;
  border-radius: 0.18rem;
  background: #fff;
  padding: 2.35rem 2.1rem;
  color: #202020;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 16px 38px -30px rgb(20 18 16 / 0.48);
}
.authorflow-chat-preview-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.authorflow-chat-preview-message[data-chat-side="recipient"] {
  align-items: flex-end;
}
.authorflow-chat-preview-message > span {
  margin: 0 0 0.38rem 0.45rem;
  color: #858585;
  font-size: 0.58rem;
  font-weight: 700;
}
.authorflow-chat-preview-message[data-chat-side="recipient"] > span {
  margin-right: 0.45rem;
  margin-left: 0;
}
.authorflow-chat-preview-message[data-chat-run="middle"] > span, .authorflow-chat-preview-message[data-chat-run="end"] > span {
  display: none;
}
.authorflow-chat-preview-message p {
  max-width: 78%;
  border-radius: 1rem 1rem 1rem 0.3rem;
  background: #f0f0ee;
  padding: 0.55rem 0.72rem;
  font-size: 0.66rem;
  line-height: 1.45;
}
.authorflow-chat-preview-message[data-chat-side="recipient"] p {
  border-radius: 1rem 1rem 0.3rem 1rem;
  background: #242424;
  color: #fff;
}
.authorflow-chat-modal-preview[data-chat-theme="outline"] .authorflow-chat-preview-message p {
  border: 1px solid #d7d7d2;
  background: #fff;
  color: #202020;
}
.authorflow-chat-modal-preview[data-chat-theme="outline"] .authorflow-chat-preview-message[data-chat-side="recipient"] p {
  border-color: #292929;
}
.authorflow-chat-modal-preview[data-chat-theme="outline"] .authorflow-chat-preview-message > span {
  color: #969690;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.authorflow-chat-modal-preview[data-chat-theme="organic"] .authorflow-chat-preview-message p {
  max-width: 82%;
  border-radius: 1.2rem 1.2rem 1.2rem 0.5rem;
  background: #f4f4f1;
  color: #252525;
}
.authorflow-chat-modal-preview[data-chat-theme="organic"] .authorflow-chat-preview-message[data-chat-side="recipient"] p {
  border-radius: 1.2rem 1.2rem 0.5rem 1.2rem;
  background: #deded9;
}
.authorflow-chat-modal footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  border-top: 1px solid var(--chat-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--chat-muted) 15%, transparent);
  }
  padding: 0.72rem 1rem;
}
.authorflow-chat-modal footer .authorflow-button {
  min-height: 2.45rem;
  border-radius: 0.55rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.67rem;
}
@media (max-width: 860px) {
  .authorflow-chat-overlay {
    align-items: end;
    padding: 0;
  }
  .authorflow-chat-modal {
    width: 100%;
    height: calc(var(--app-viewport-height, 100dvh) - 0.5rem);
    max-height: none;
    border-radius: 1.15rem 1.15rem 0 0;
  }
  .authorflow-chat-modal > header {
    padding: 1rem;
  }
  .authorflow-chat-modal__body {
    display: block;
    overflow-y: auto;
  }
  .authorflow-chat-editor {
    overflow: visible;
    padding: 1rem;
  }
  .authorflow-chat-modal-preview {
    min-height: 32rem;
    border-top: 1px solid var(--chat-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--chat-muted) 15%, transparent);
    }
    border-left: 0;
    padding: 1rem;
  }
  .authorflow-chat-preview-stage {
    min-height: 25rem;
  }
}
@media (max-width: 560px) {
  .authorflow-chat-name-grid {
    grid-template-columns: 1fr;
  }
  .authorflow-chat-messages-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .authorflow-chat-add-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .authorflow-chat-message-row {
    grid-template-columns: 1.3rem minmax(0, 1fr) 1.9rem;
  }
  .authorflow-chat-message-row select {
    grid-column: 2;
    grid-row: 1;
  }
  .authorflow-chat-message-row textarea {
    grid-column: 2 / -1;
    grid-row: 2;
  }
  .authorflow-chat-message-row > button {
    grid-column: 3;
    grid-row: 1;
  }
  .authorflow-chat-message-row__index {
    grid-column: 1;
    grid-row: 1;
  }
  .authorflow-chat-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .authorflow-chat-preview-head fieldset {
    width: 100%;
  }
  .authorflow-chat-preview-head legend {
    margin-left: 0;
    text-align: left;
  }
  .authorflow-chat-theme-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .authorflow-chat-theme-grid > button {
    min-width: 0;
  }
  .authorflow-chat-theme-grid strong {
    font-size: 0.54rem;
  }
  .authorflow-chat-preview-canvas {
    min-height: 23rem;
    padding: 1.6rem 1.2rem;
  }
  .authorflow-chat-modal footer .authorflow-button--secondary {
    padding-inline: 0.7rem;
  }
}
.cover-image-library-modal > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 16%, transparent);
  }
  padding: 1.15rem 1.3rem 1rem;
}
.cover-image-library-modal > header span {
  display: block;
  color: var(--cover-primary);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cover-image-library-modal > header h2 {
  margin-top: 0.18rem;
  font-size: 1.15rem;
  font-weight: 780;
}
.cover-image-library-modal > header p {
  margin-top: 0.24rem;
  color: var(--cover-muted);
  font-size: 0.76rem;
}
.cover-image-library-modal > header button {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  border-radius: 999px;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 95%, var(--cover-bg));
  }
  color: var(--cover-muted);
}
.cover-image-library-modal > header button:hover {
  color: var(--cover-text);
}
.cover-image-library-tabs {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 14%, transparent);
  }
  padding: 0.65rem 1.3rem 0;
}
.cover-image-library-tabs button {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  gap: 0.48rem;
  border-bottom: 2px solid transparent;
  color: var(--cover-muted);
  padding: 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 720;
}
.cover-image-library-tabs button span {
  display: inline-flex;
  min-width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 10%, transparent);
  }
  font-size: 0.6rem;
}
.cover-image-library-tabs button.is-active {
  border-bottom-color: var(--cover-primary);
  color: var(--cover-primary);
}
.cover-image-library-body {
  min-height: 0;
  overflow-y: auto;
  padding: 1.15rem 1.3rem 1.35rem;
}
.cover-image-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 0.85rem;
}
.cover-image-library-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  border-radius: 0.85rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 97%, var(--cover-bg));
  }
  color: var(--cover-text);
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
button.cover-image-library-card:hover, .cover-image-library-card__select:hover {
  border-color: var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--cover-primary) 42%, transparent);
  }
}
.cover-image-library-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -24px var(--cover-text);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 16px 30px -24px color-mix(in oklab, var(--cover-text) 58%, transparent);
  }
}
.cover-image-library-card.is-selected {
  border-color: var(--cover-primary);
  box-shadow: 0 0 0 2px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--cover-primary) 14%, transparent);
  }
}
.cover-image-library-card:disabled {
  cursor: wait;
  opacity: 0.72;
}
.cover-image-library-card__preview {
  position: relative;
  display: block;
  height: 8.2rem;
  overflow: hidden;
  background: var(--cover-bg);
}
.cover-image-library-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-image-library-card__preview i {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: inline-flex;
  width: 1.65rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cover-primary);
  color: white;
  box-shadow: 0 6px 14px -6px rgb(0 0 0 / 0.5);
}
.cover-image-library-card > span:last-child, .cover-image-library-card__select > span:last-child {
  display: block;
  min-width: 0;
  padding: 0.72rem 0.78rem 0.8rem;
}
.cover-image-library-card strong {
  display: block;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover-image-library-card small {
  display: block;
  overflow: hidden;
  margin-top: 0.18rem;
  color: var(--cover-muted);
  font-size: 0.59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover-image-library-card--upload {
  overflow: visible;
}
.cover-image-library-card__select {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
  color: inherit;
  text-align: left;
}
.cover-image-library-card__delete {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 0.42);
  border-radius: 999px;
  background: rgb(20 17 15 / 0.72);
  color: white;
  backdrop-filter: blur(5px);
}
.cover-image-library-card__delete:not(:disabled):hover {
  background: #b42332;
}
.cover-image-library-card__delete:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}
.cover-image-library-card em {
  position: absolute;
  right: 0.45rem;
  bottom: 3.35rem;
  border-radius: 999px;
  background: rgb(20 17 15 / 0.7);
  color: white;
  padding: 0.25rem 0.48rem;
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 720;
  backdrop-filter: blur(4px);
}
.cover-image-library-status {
  display: flex;
  min-height: 18rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--cover-muted);
  text-align: center;
}
.cover-image-library-status strong {
  color: var(--cover-text);
  font-size: 0.82rem;
}
.cover-image-library-status span {
  max-width: 27rem;
  font-size: 0.7rem;
  line-height: 1.55;
}
.cover-image-library-status button {
  margin-top: 0.35rem;
  border-radius: 0.6rem;
  background: var(--cover-primary);
  color: white;
  padding: 0.55rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 720;
}
.cover-image-library-status.is-error svg {
  color: #c43c4e;
}
.cover-image-library-modal > footer {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--cover-muted) 16%, transparent);
  }
  padding: 0.75rem 1.3rem;
}
.cover-image-library-modal > footer > span {
  color: var(--cover-muted);
  font-size: 0.64rem;
}
.cover-image-library-modal > footer button {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.68rem;
  background: var(--cover-primary);
  color: white;
  padding: 0 1rem;
  font-size: 0.72rem;
  font-weight: 760;
  box-shadow: 0 12px 24px -16px var(--cover-primary);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 12px 24px -16px color-mix(in oklab, var(--cover-primary) 85%, transparent);
  }
}
.cover-mockup-modal {
  display: grid;
  width: min(96vw, 1440px);
  height: min(91vh, 920px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1.35rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, #17130f);
  }
  color: var(--cover-text);
  box-shadow: 0 45px 120px -35px rgb(0 0 0 / 0.85);
}
.cover-mockup-modal > header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  padding: 0.6rem 1rem;
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, transparent);
  }
}
.cover-mockup-kicker {
  color: var(--cover-primary);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cover-mockup-modal header button {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 999px;
  background: var(--cover-surface);
  color: var(--cover-text);
}
.cover-mockup-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  perspective: 1700px;
  background: radial-gradient(circle at 50% 32%, var(--cover-primary) 0, var(--cover-bg) 46%, var(--cover-bg) 100%);
  @supports (color: color-mix(in lab, red, red)) {
    background: radial-gradient(circle at 50% 32%, color-mix(in oklab, var(--cover-primary) 13%, #f4efe8) 0, color-mix(in oklab, var(--cover-bg) 78%, #bcb4aa) 46%, color-mix(in oklab, var(--cover-bg) 92%, #7d776f) 100%);
  }
  user-select: none;
}
.cover-mockup-stage::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 3rem 3rem;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, black 35%, black);
  pointer-events: none;
}
.cover-mockup-light {
  position: absolute;
  top: -35%;
  left: 50%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgb(255 245 225 / 0.26);
  filter: blur(60px);
  transform: translateX(-50%);
  pointer-events: none;
}
.cover-mockup-floor {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: min(58vw, 720px);
  height: 12%;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.34);
  filter: blur(28px);
  transform: translateX(-50%);
  pointer-events: none;
}
.cover-mockup-book {
  position: relative;
  z-index: 2;
  width: var(--mockup-width);
  height: var(--mockup-height);
  cursor: grab;
  transform-style: preserve-3d;
  transition: transform 120ms ease-out;
  touch-action: none;
}
.cover-mockup-book:active {
  cursor: grabbing;
  transition: none;
}
.cover-mockup-face {
  position: absolute;
  background-position: center;
  background-size: 100% 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.cover-mockup-face--front, .cover-mockup-face--back {
  inset: 0;
  width: var(--mockup-width);
  height: var(--mockup-height);
  border-radius: 0 0.22rem 0.22rem 0;
}
.cover-mockup-face--front {
  transform: translateZ(calc(var(--mockup-depth) / 2));
  box-shadow: inset 0 0 28px rgb(255 255 255 / 0.05), 15px 22px 45px rgb(0 0 0 / 0.24);
}
.cover-mockup-face--front::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, rgb(255 255 255 / 0.18), transparent 18%, transparent 70%, rgb(0 0 0 / 0.12));
  content: "";
  pointer-events: none;
}
.cover-mockup-face--back {
  transform: rotateY(180deg) translateZ(calc(var(--mockup-depth) / 2));
}
.cover-mockup-face--spine, .cover-mockup-face--pages {
  top: 0;
  left: 50%;
  width: var(--mockup-depth);
  height: var(--mockup-height);
  margin-left: calc(var(--mockup-depth) / -2);
}
.cover-mockup-face--spine {
  transform: rotateY(-90deg) translateZ(calc(var(--mockup-width) / 2));
}
.cover-mockup-face--pages {
  background: repeating-linear-gradient(90deg, #f7f1e7 0 2px, #d9d0c2 2px 3px), linear-gradient(#fffaf1, #d8cdbd);
  transform: rotateY(90deg) translateZ(calc(var(--mockup-width) / 2));
}
.cover-mockup-face--top, .cover-mockup-face--bottom {
  top: 50%;
  left: 0;
  width: var(--mockup-width);
  height: var(--mockup-depth);
  margin-top: calc(var(--mockup-depth) / -2);
  background: repeating-linear-gradient(0deg, #f6efe4 0 2px, #d7cebf 2px 3px);
}
.cover-mockup-face--top {
  transform: rotateX(90deg) translateZ(calc(var(--mockup-height) / 2));
}
.cover-mockup-face--bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--mockup-height) / 2));
}
.cover-mockup-book.is-softcover .cover-mockup-face--front, .cover-mockup-book.is-softcover .cover-mockup-face--back {
  border-radius: 0 0.36rem 0.36rem 0;
}
.cover-mockup-book.is-softcover .cover-mockup-face--front {
  transform: translateZ(calc(var(--mockup-depth) / 2)) rotateY(-0.35deg);
  transform-origin: left center;
  box-shadow: inset -7px 0 16px rgb(0 0 0 / 0.08), 13px 20px 42px rgb(0 0 0 / 0.22);
}
.cover-mockup-book.is-softcover .cover-mockup-face--back {
  transform: rotateY(180deg) translateZ(calc(var(--mockup-depth) / 2));
}
.cover-mockup-board-edge {
  position: absolute;
  display: none;
  border: 1px solid rgb(0 0 0 / 0.24);
  background-color: var(--mockup-edge-color, #2a2927);
  background-image: linear-gradient(145deg, rgb(255 255 255 / 0.14), transparent 42%, rgb(0 0 0 / 0.16));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 0 10px rgb(0 0 0 / 0.12);
  backface-visibility: visible;
}
.cover-mockup-book.is-hardcover .cover-mockup-board-edge {
  display: block;
}
.cover-mockup-board-edge--front-top, .cover-mockup-board-edge--front-bottom, .cover-mockup-board-edge--back-top, .cover-mockup-board-edge--back-bottom {
  left: calc(var(--mockup-overhang) * -1);
  width: calc(var(--mockup-width) + (var(--mockup-overhang) * 2));
  height: var(--mockup-board);
}
.cover-mockup-board-edge--front-top {
  --mockup-edge-color: var(--mockup-front-top-color, #2a2927);
}
.cover-mockup-board-edge--front-bottom {
  --mockup-edge-color: var(--mockup-front-bottom-color, #2a2927);
}
.cover-mockup-board-edge--back-top {
  --mockup-edge-color: var(--mockup-back-top-color, #2a2927);
}
.cover-mockup-board-edge--back-bottom {
  --mockup-edge-color: var(--mockup-back-bottom-color, #2a2927);
}
.cover-mockup-board-edge--front-top, .cover-mockup-board-edge--back-top {
  top: calc((var(--mockup-overhang) * -1) - (var(--mockup-board) / 2));
}
.cover-mockup-board-edge--front-bottom, .cover-mockup-board-edge--back-bottom {
  top: calc(var(--mockup-height) + var(--mockup-overhang) - (var(--mockup-board) / 2));
}
.cover-mockup-board-edge--front-top, .cover-mockup-board-edge--front-bottom {
  transform: translateZ(calc((var(--mockup-depth) / 2) - (var(--mockup-board) / 2))) rotateX(90deg);
}
.cover-mockup-board-edge--back-top, .cover-mockup-board-edge--back-bottom {
  transform: translateZ(calc((var(--mockup-depth) / -2) + (var(--mockup-board) / 2))) rotateX(90deg);
}
.cover-mockup-board-edge--front-left, .cover-mockup-board-edge--front-right, .cover-mockup-board-edge--back-left, .cover-mockup-board-edge--back-right {
  top: calc(var(--mockup-overhang) * -1);
  width: var(--mockup-board);
  height: calc(var(--mockup-height) + (var(--mockup-overhang) * 2));
}
.cover-mockup-board-edge--front-left {
  --mockup-edge-color: var(--mockup-front-left-color, #2a2927);
}
.cover-mockup-board-edge--front-right {
  --mockup-edge-color: var(--mockup-front-right-color, #2a2927);
}
.cover-mockup-board-edge--back-left {
  --mockup-edge-color: var(--mockup-back-left-color, #2a2927);
}
.cover-mockup-board-edge--back-right {
  --mockup-edge-color: var(--mockup-back-right-color, #2a2927);
}
.cover-mockup-board-edge--front-left, .cover-mockup-board-edge--back-left {
  left: calc((var(--mockup-overhang) * -1) - (var(--mockup-board) / 2));
}
.cover-mockup-board-edge--front-right, .cover-mockup-board-edge--back-right {
  left: calc(var(--mockup-width) + var(--mockup-overhang) - (var(--mockup-board) / 2));
}
.cover-mockup-board-edge--front-left, .cover-mockup-board-edge--front-right {
  transform: translateZ(calc((var(--mockup-depth) / 2) - (var(--mockup-board) / 2))) rotateY(90deg);
}
.cover-mockup-board-edge--back-left, .cover-mockup-board-edge--back-right {
  transform: translateZ(calc((var(--mockup-depth) / -2) + (var(--mockup-board) / 2))) rotateY(90deg);
}
.cover-mockup-book.is-hardcover .cover-mockup-face--front, .cover-mockup-book.is-hardcover .cover-mockup-face--back {
  top: calc(var(--mockup-overhang) * -1);
  left: calc(var(--mockup-overhang) * -1);
  width: calc(var(--mockup-width) + (var(--mockup-overhang) * 2));
  height: calc(var(--mockup-height) + (var(--mockup-overhang) * 2));
  overflow: hidden;
  border: max(1px, calc(var(--mockup-board) * 0.28)) solid rgb(0 0 0 / 0.2);
  border-radius: 0.1rem 0.34rem 0.34rem 0.1rem;
  background-blend-mode: normal;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), inset -8px 0 14px rgb(0 0 0 / 0.045), 20px 28px 55px rgb(0 0 0 / 0.3);
}
.cover-mockup-book.is-hardcover .cover-mockup-face--front {
  transform: translateZ(calc(var(--mockup-depth) / 2));
}
.cover-mockup-book.is-hardcover .cover-mockup-face--back {
  transform: rotateY(180deg) translateZ(calc(var(--mockup-depth) / 2));
}
.cover-mockup-book.is-hardcover .cover-mockup-face--front {
  background-color: var(--mockup-front-left-color, #2a2927);
}
.cover-mockup-book.is-hardcover .cover-mockup-face--back {
  background-color: var(--mockup-back-right-color, #2a2927);
}
.cover-mockup-book.is-hardcover .cover-mockup-face--front::after, .cover-mockup-book.is-hardcover .cover-mockup-face--back::after {
  background: linear-gradient(105deg, rgb(255 255 255 / 0.1), transparent 16%, transparent 74%, rgb(0 0 0 / 0.055)), linear-gradient(to bottom, rgb(255 255 255 / 0.04), transparent 12%, transparent 90%, rgb(0 0 0 / 0.045));
}
.cover-mockup-spine-edge {
  position: absolute;
  display: none;
  border: 1px solid rgb(0 0 0 / 0.24);
  background-color: var(--mockup-spine-color, #2a2927);
  background-image: linear-gradient(90deg, rgb(0 0 0 / 0.12), transparent 35%, rgb(255 255 255 / 0.12), transparent 72%, rgb(0 0 0 / 0.14));
  backface-visibility: visible;
}
.cover-mockup-book.is-hardcover .cover-mockup-spine-edge {
  display: block;
}
.cover-mockup-spine-edge--front, .cover-mockup-spine-edge--back {
  top: calc(var(--mockup-overhang) * -1);
  left: calc(var(--mockup-overhang) * -1);
  width: var(--mockup-board);
  height: calc(var(--mockup-height) + (var(--mockup-overhang) * 2));
}
.cover-mockup-spine-edge--front {
  transform: translateZ(calc(var(--mockup-depth) / 2));
}
.cover-mockup-spine-edge--back {
  transform: translateZ(calc(var(--mockup-depth) / -2));
}
.cover-mockup-book.is-hardcover .cover-mockup-face--spine {
  top: calc(var(--mockup-overhang) * -1);
  height: calc(var(--mockup-height) + (var(--mockup-overhang) * 2));
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 0.18);
  border-radius: 0.08rem;
  background-color: var(--mockup-spine-color, #2a2927);
  box-shadow: inset 7px 0 13px rgb(255 255 255 / 0.075), inset -7px 0 14px rgb(0 0 0 / 0.07), 0 12px 30px rgb(0 0 0 / 0.16);
  transform: rotateY(-90deg) translateZ(calc((var(--mockup-width) / 2) + var(--mockup-overhang)));
}
.cover-mockup-book.is-hardcover .cover-mockup-face--spine::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.06), transparent 22%, transparent 78%, rgb(0 0 0 / 0.075));
  content: "";
  pointer-events: none;
}
.cover-mockup-book.is-hardcover .cover-mockup-hinge-groove {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 0.58rem;
  width: 0.3rem;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.1), rgb(255 255 255 / 0.075), rgb(0 0 0 / 0.05));
  box-shadow: 2px 0 6px rgb(0 0 0 / 0.07);
  opacity: 0.45;
  pointer-events: none;
}
.cover-mockup-book.is-hardcover .cover-mockup-face--back .cover-mockup-hinge-groove {
  right: 0.58rem;
  left: auto;
}
.cover-mockup-book.is-softcover .cover-mockup-hinge-groove {
  display: none;
}
.cover-mockup-book.is-hardcover .cover-mockup-face--pages {
  top: var(--mockup-page-inset);
  height: calc(var(--mockup-height) - (var(--mockup-page-inset) * 2));
  width: var(--mockup-page-depth);
  margin-left: calc(var(--mockup-page-depth) / -2);
  transform: rotateY(90deg) translateZ(calc((var(--mockup-width) / 2) - var(--mockup-page-inset)));
}
.cover-mockup-book.is-hardcover .cover-mockup-face--top, .cover-mockup-book.is-hardcover .cover-mockup-face--bottom {
  left: var(--mockup-page-inset);
  width: calc(var(--mockup-width) - (var(--mockup-page-inset) * 2));
  height: var(--mockup-page-depth);
  margin-top: calc(var(--mockup-page-depth) / -2);
}
.cover-mockup-book.is-hardcover .cover-mockup-face--top {
  transform: rotateX(90deg) translateZ(calc((var(--mockup-height) / 2) - var(--mockup-page-inset)));
}
.cover-mockup-book.is-hardcover .cover-mockup-face--bottom {
  transform: rotateX(-90deg) translateZ(calc((var(--mockup-height) / 2) - var(--mockup-page-inset)));
}
.cover-mockup-loading {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  background: rgb(20 17 14 / 0.74);
  padding: 0.7rem 1rem;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 12px 35px rgb(0 0 0 / 0.25);
  backdrop-filter: blur(10px);
}
.cover-mockup-loading svg {
  animation: spin 900ms linear infinite;
}
.cover-mockup-modal > footer {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 4.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
  background: var(--cover-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-surface) 96%, transparent);
  }
  padding: 0.75rem 1.35rem;
}
.cover-mockup-hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cover-muted);
  font-size: 0.62rem;
  font-weight: 650;
}
.cover-mockup-actions {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}
.cover-mockup-actions > span {
  width: 1px;
  height: 1.5rem;
  margin: 0 0.25rem;
  background: var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--cover-muted) 18%, transparent);
  }
}
.cover-mockup-actions button {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--cover-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
  }
  border-radius: 0.48rem;
  background: var(--cover-surface);
  color: var(--cover-text);
  padding: 0.45rem 0.65rem;
  font-size: 0.58rem;
  font-weight: 750;
}
.cover-mockup-actions strong {
  min-width: 2.8rem;
  font-size: 0.6rem;
  text-align: center;
}
@media (max-width: 767px) {
  .cover-mockup-overlay {
    padding: 0;
  }
  .cover-mockup-modal {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .cover-mockup-modal > header {
    padding: 0.6rem 1rem;
  }
  .cover-mockup-stage {
    perspective: 1200px;
  }
  .cover-mockup-book {
    scale: 0.68;
  }
  .cover-mockup-modal > footer {
    align-items: stretch;
    flex-direction: column;
    padding: 0.7rem 1rem;
  }
  .cover-mockup-hint {
    justify-content: center;
  }
  .cover-mockup-actions {
    justify-content: center;
  }
}
@media (max-width: 1200px) {
  .cover-library-projects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cover-template-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cover-editor-shell {
    grid-template-columns: 14rem minmax(28rem, 1fr) 15.5rem;
  }
  .cover-editor-topbar {
    grid-template-columns: minmax(14rem, 1fr) auto;
  }
  .cover-editor-workspace {
    grid-template-rows: 6rem minmax(0, 1fr);
  }
  .cover-editor-toolbar {
    grid-template-rows: 3.25rem 2.35rem;
  }
  .cover-editor-toolbar__elements, .cover-editor-toolbar__guides {
    grid-row: 1;
  }
  .cover-editor-zoom {
    grid-row: 2;
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }
}
@media (max-width: 1023px) {
  .cover-library-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cover-editor-shell {
    display: block;
    height: auto;
    min-height: var(--app-viewport-height, 100dvh);
    overflow: visible;
  }
  .cover-editor-topbar {
    position: sticky;
    top: 0;
    display: flex;
    min-height: 4rem;
    flex-wrap: wrap;
    padding: 0.55rem;
  }
  .cover-editor-topbar__brand {
    flex: 1;
  }
  .cover-editor-layers {
    max-height: 15rem;
    border-right: 0;
    border-bottom: 1px solid var(--cover-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
    }
  }
  .cover-layer-list {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding: 0.45rem;
  }
  .cover-layer-row {
    min-width: 12rem;
  }
  .cover-layer-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .cover-layer-actions button {
    width: auto;
  }
  .cover-editor-workspace {
    min-height: 36rem;
  }
  .cover-editor-inspector {
    max-height: none;
    border-top: 1px solid var(--cover-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--cover-muted) 22%, transparent);
    }
    border-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cover-layer-row, .cover-layer-drag-placeholder, .cover-layer-drag-preview {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 767px) {
  .cover-image-library-overlay {
    padding: 0;
  }
  .cover-image-library-modal {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .cover-image-library-modal > header {
    padding: 0.9rem 1rem 0.8rem;
  }
  .cover-image-library-modal > header p {
    display: none;
  }
  .cover-image-library-tabs {
    padding-inline: 0.6rem;
  }
  .cover-image-library-tabs button {
    flex: 1;
    justify-content: center;
    padding-inline: 0.35rem;
  }
  .cover-image-library-body {
    padding: 0.9rem;
  }
  .cover-image-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .cover-image-library-card__preview {
    height: 7.2rem;
  }
  .cover-image-library-modal > footer {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.7rem 0.9rem;
  }
  .cover-image-library-modal > footer > span {
    text-align: center;
  }
  .cover-image-library-modal > footer button {
    justify-content: center;
  }
  .cover-library-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .cover-library-header h1 {
    font-size: 2.55rem;
  }
  .cover-library-projects, .cover-template-gallery {
    grid-template-columns: 1fr;
  }
  .cover-library-section__head {
    align-items: flex-start;
    flex-direction: column;
  }
  .cover-editor-topbar__brand {
    width: 100%;
    flex: 1 1 100%;
  }
  .cover-editor-topbar__brand input {
    width: min(14rem, calc(100vw - 7.5rem));
    max-width: 14rem;
  }
  .cover-editor-topbar__actions {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
  .cover-editor-topbar__actions > button[data-cover-history] {
    display: none;
  }
  .cover-editor-topbar__actions .cover-preview-button {
    padding-inline: 0.55rem;
  }
  .cover-editor-workspace {
    grid-template-rows: 8.75rem minmax(0, 1fr);
  }
  .cover-editor-toolbar {
    grid-template-rows: 3.25rem 2.5rem 2.5rem;
    gap: 0.25rem;
    overflow: hidden;
    padding-inline: 0.45rem;
  }
  .cover-editor-toolbar__elements {
    grid-row: 1;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 0.25rem;
  }
  .cover-editor-toolbar__elements button {
    white-space: nowrap;
  }
  .cover-editor-toolbar__guides {
    grid-row: 2;
  }
  .cover-editor-zoom {
    grid-row: 3;
    grid-column: 1 / -1;
    justify-self: end;
  }
  .cover-editor-toolbar button {
    gap: 0.25rem;
    padding-inline: 0.25rem;
    font-size: 0.6rem;
  }
  .cover-editor-zoom input {
    width: 5.5rem;
  }
  .cover-editor-inspector .custom-select-trigger {
    font-size: 16px;
  }
  .cover-editor-inspector .custom-select-trigger__meta {
    font-size: 14px;
  }
  .custom-select-dropdown[data-custom-select-context="cover-inspector"] .custom-select-option {
    font-size: 16px;
  }
  .custom-select-dropdown[data-custom-select-context="cover-inspector"] .custom-select-option__meta {
    font-size: 15px;
  }
  .custom-select-dropdown[data-custom-select-kind="cover-font"] .custom-select-group-label {
    font-size: 12px;
  }
  .cover-book-settings-toggle strong {
    font-size: 14px;
  }
  .cover-book-settings-toggle small {
    font-size: 13px;
  }
  .cover-color-picker {
    top: auto !important;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem !important;
    width: auto !important;
  }
  .cover-color-picker__workspace {
    height: 12.2rem;
    min-height: 12.2rem;
  }
  .cover-color-field, .cover-color-hue {
    min-height: 12.2rem;
  }
  .cover-editor-canvas-stage {
    min-width: 100%;
    min-height: 27rem;
    padding: 1.25rem;
  }
  .cover-export-menu {
    position: fixed;
    top: auto;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}
body .confirm-dialog-details[data-variant="danger"] {
  border-color: #fecdd3 !important;
  background: #fff1f2 !important;
  color: #be123c !important;
}
body[data-theme="dark"] .confirm-dialog-details[data-variant="danger"] {
  border-color: rgb(244 63 94 / 0.42) !important;
  background: rgb(136 19 55 / 0.28) !important;
  color: #fda4af !important;
}
.account-two-factor-toggle {
  display: inline-flex;
  flex-shrink: 0;
  min-height: 3rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.25rem;
  color: var(--platform-text, #334155);
  cursor: pointer;
  user-select: none;
}
.account-two-factor-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.account-two-factor-toggle > span {
  position: relative;
  width: 2.5rem;
  height: 1.4rem;
  flex: 0 0 2.5rem;
  border: 1px solid var(--platform-muted, #64748b);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-muted, #64748b) 34%, transparent);
  }
  border-radius: 999px;
  background: var(--platform-muted, #64748b);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--platform-muted, #64748b) 18%, var(--platform-surface, #ffffff));
  }
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.account-two-factor-toggle > span::after {
  position: absolute;
  top: 0.16rem;
  left: 0.17rem;
  width: 0.98rem;
  height: 0.98rem;
  border-radius: 50%;
  background: var(--platform-surface, #ffffff);
  box-shadow: 0 2px 7px rgb(0 0 0 / 0.24);
  content: "";
  transition: transform 160ms ease, background-color 160ms ease;
}
.account-two-factor-toggle input:checked + span {
  border-color: var(--platform-primary, #9b5524);
  background: var(--platform-primary, #9b5524);
}
.account-two-factor-toggle input:checked + span::after {
  background: #ffffff;
  transform: translateX(1.08rem);
}
.account-two-factor-toggle input:focus-visible + span {
  outline: 2px solid var(--platform-accent, #c97333);
  outline-offset: 3px;
}
.account-two-factor-toggle strong {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  white-space: nowrap;
}
.account-two-factor-toggle:has(input:disabled), .account-two-factor-toggle.is-pending {
  cursor: wait;
  opacity: 0.55;
}
.account-avv-button {
  display: inline-flex;
  flex-shrink: 0;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--platform-shadow-soft, 0 5px 16px rgb(15 23 42 / 0.06));
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.account-avv-button:hover {
  transform: translateY(-1px);
}
.account-avv-button:focus-visible {
  outline: 2px solid var(--platform-accent, #c97333);
  outline-offset: 3px;
}
.account-avv-button--accepted {
  border-color: color-mix(in srgb, #059669 38%, transparent);
  background: #10b981;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #10b981 15%, var(--platform-surface, #ffffff));
  }
  color: #047857;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, #047857 86%, var(--platform-text, #0f172a));
  }
}
.account-avv-button--accepted:hover {
  background: #10b981;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #10b981 23%, var(--platform-surface, #ffffff));
  }
}
.account-avv-button--pending {
  border-color: color-mix(in srgb, #e11d48 34%, transparent);
  background: #f43f5e;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #f43f5e 13%, var(--platform-surface, #ffffff));
  }
  color: #be123c;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in srgb, #be123c 88%, var(--platform-text, #0f172a));
  }
}
.account-avv-button--pending:hover {
  background: #f43f5e;
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, #f43f5e 20%, var(--platform-surface, #ffffff));
  }
}
@media (max-width: 639px) {
  .account-two-factor-toggle {
    min-height: 2.5rem;
  }
  .account-avv-button {
    min-height: 2.75rem;
  }
}
.social-media-content-page, .social-media-editor-dialog {
  --social-bg: var(--platform-bg, #f6f3ef);
  --social-surface: var(--platform-surface, #ffffff);
  --social-text: var(--platform-text, #171513);
  --social-muted: var(--platform-muted, #7f756e);
  --social-primary: var(--platform-primary, #9b5524);
  --social-accent: var(--platform-accent, #c97333);
  --cover-bg: var(--social-bg);
  --cover-surface: var(--social-surface);
  --cover-text: var(--social-text);
  --cover-muted: var(--social-muted);
  --cover-primary: var(--social-primary);
  --cover-accent: var(--social-accent);
  color: var(--social-text);
}
.social-media-content-page {
  padding: 0.25rem 0 3rem;
}
.social-media-content-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in oklab, var(--social-muted) 24%, transparent);
  }
}
.social-media-content-header h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}
.social-media-content-header p {
  max-width: 52rem;
  margin-top: 0.9rem;
  color: var(--social-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.social-media-content-header > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-primary) 25%, transparent);
  }
  border-radius: 999px;
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 7%, var(--social-surface));
  }
  padding: 0.62rem 0.85rem;
  color: var(--social-primary);
  font-size: 0.72rem;
  font-weight: 800;
}
.social-media-content-tabs {
  display: inline-flex;
  margin-top: 1.5rem;
  gap: 0.25rem;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 22%, transparent);
  }
  border-radius: 1rem;
  background: var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-muted) 8%, var(--social-surface));
  }
  padding: 0.25rem;
}
.social-media-content-tabs button {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  padding: 0.6rem 1.2rem;
  color: var(--social-muted);
  font-size: 0.78rem;
  font-weight: 800;
  transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
}
.social-media-content-tabs button:hover:not(.is-active) {
  color: var(--social-text);
}
.social-media-content-tabs button.is-active {
  background: var(--social-surface);
  color: var(--social-text);
  box-shadow: 0 6px 16px -12px rgb(15 23 42 / 0.65), 0 1px 3px rgb(15 23 42 / 0.08);
}
.social-media-content-tabs button:focus-visible {
  outline: 2px solid var(--social-accent);
  outline-offset: 2px;
}
.social-media-tab-panel > .social-media-ideas {
  margin-top: 2.6rem;
  padding-top: 0;
  border-top: 0;
}
.social-media-library-section {
  margin-top: 2.6rem;
}
.social-media-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.15rem;
}
.social-media-section-heading h2 {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.social-media-section-heading p {
  margin-top: 0.35rem;
  color: var(--social-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.social-media-section-heading > span {
  color: var(--social-muted);
  font-size: 0.7rem;
  font-weight: 750;
  white-space: nowrap;
}
.social-media-template-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(10rem, 1fr));
  column-gap: 1rem;
  row-gap: 2.5rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.7rem;
  scrollbar-color: var(--social-primary) transparent;
  @supports (color: color-mix(in lab, red, red)) {
    scrollbar-color: color-mix(in oklab, var(--social-primary) 35%, transparent) transparent;
  }
  scrollbar-width: thin;
}
.social-media-template-card {
  min-width: 0;
}
.social-media-template-card > button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 24%, transparent);
  }
  border-radius: 0.72rem;
  background: var(--social-surface);
  box-shadow: 0 18px 44px -34px rgb(20 15 10 / 0.66);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.social-media-template-card > button:hover {
  border-color: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--social-primary) 52%, transparent);
  }
  box-shadow: 0 24px 50px -32px rgb(20 15 10 / 0.74);
  transform: translateY(-2px);
}
.social-media-template-card > button:focus-visible {
  outline: 3px solid var(--social-accent);
  @supports (color: color-mix(in lab, red, red)) {
    outline: 3px solid color-mix(in oklab, var(--social-accent) 32%, transparent);
  }
  outline-offset: 3px;
}
.social-media-template-card .social-media-art-viewport {
  width: 100%;
}
.social-media-template-card__hover {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border-radius: 0.45rem;
  background: rgb(18 16 14 / 0.84);
  padding: 0.48rem 0.65rem;
  color: white;
  font-size: 0.61rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 160ms ease, transform 160ms ease;
}
.social-media-template-card > button:hover .social-media-template-card__hover, .social-media-template-card > button:focus-visible .social-media-template-card__hover {
  opacity: 1;
  transform: none;
}
.social-media-template-card > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.72rem 0.2rem 0;
}
.social-media-template-card > div span {
  min-width: 0;
  overflow: hidden;
  color: var(--social-text);
  font-family: Georgia, serif;
  font-size: 0.87rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-media-template-card > div small {
  flex: 0 0 auto;
  color: var(--social-muted);
  font-size: 0.55rem;
  line-height: 1.5;
}
.social-media-art-viewport {
  position: relative;
  overflow: hidden;
  background: #e9e5df;
}
.social-media-gallery-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
canvas.social-media-gallery-preview {
  background: #e9e5df;
}
.social-media-ideas {
  margin-top: 3.4rem;
  padding-top: 2.8rem;
  border-top: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--social-muted) 24%, transparent);
  }
}
.social-media-ideas__heading {
  align-items: center;
}
.social-media-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.social-media-slider-controls > span {
  margin-right: 0.25rem;
  color: var(--social-muted);
  font-size: 0.65rem;
  font-weight: 750;
}
.social-media-slider-controls button {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 26%, transparent);
  }
  border-radius: 50%;
  background: var(--social-surface);
  color: var(--social-text);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}
.social-media-slider-controls button:hover:not(:disabled) {
  border-color: var(--social-primary);
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 8%, var(--social-surface));
  }
  color: var(--social-primary);
}
.social-media-slider-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
.social-media-slider-controls button:focus-visible {
  outline: 2px solid var(--social-accent);
  outline-offset: 2px;
}
.social-media-idea-lanes {
  display: grid;
  gap: 2.6rem;
}
.social-media-idea-lane {
  min-width: 0;
}
.social-media-idea-lane__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.social-media-idea-lane__heading > div:first-child > span {
  color: var(--social-primary);
  font-size: 0.53rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.social-media-idea-lane__heading h3 {
  margin-top: 0.12rem;
  font-family: Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
}
.social-media-idea-lane__heading p {
  margin-top: 0.22rem;
  color: var(--social-muted);
  font-size: 0.64rem;
  line-height: 1.45;
}
.social-media-idea-slider {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.social-media-ideas__all-saved {
  display: flex;
  min-height: 8rem;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px dashed var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px dashed color-mix(in oklab, var(--social-muted) 28%, transparent);
  }
  border-radius: 0.72rem;
  color: var(--social-muted);
  text-align: left;
}
.social-media-ideas__all-saved > svg {
  color: var(--social-primary);
}
.social-media-ideas__all-saved strong, .social-media-ideas__all-saved small {
  display: block;
}
.social-media-ideas__all-saved strong {
  color: var(--social-text);
  font-size: 0.72rem;
}
.social-media-ideas__all-saved small {
  margin-top: 0.2rem;
  font-size: 0.6rem;
}
.social-media-idea-card {
  display: flex;
  min-width: 0;
  min-height: 11.25rem;
  flex-direction: column;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 22%, transparent);
  }
  border-radius: 0.72rem;
  background: var(--social-surface);
  padding: 1rem;
  box-shadow: 0 14px 32px -30px rgb(0 0 0 / 0.6);
}
.social-media-idea-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.social-media-idea-card__type {
  color: var(--social-primary);
  font-size: 0.57rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.social-media-idea-card button {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 1.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  color: var(--social-muted);
  transition: background-color 150ms ease, color 150ms ease;
}
.social-media-idea-card button:hover {
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 9%, transparent);
  }
  color: var(--social-primary);
}
.social-media-idea-card button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.social-media-idea-card button[aria-busy="true"] svg {
  animation: social-spin 800ms linear infinite;
}
.social-media-idea-card button:focus-visible {
  outline: 2px solid var(--social-accent);
  outline-offset: 2px;
}
.social-media-idea-card.is-saved button {
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 10%, var(--social-surface));
  }
  color: var(--social-primary);
}
.social-media-idea-card.is-saved button svg {
  fill: currentColor;
}
.social-media-idea-card h3 {
  margin-top: 0.8rem;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}
.social-media-idea-card p {
  margin-top: 0.45rem;
  color: var(--social-muted);
  font-size: 0.7rem;
  line-height: 1.58;
}
.social-media-idea-card > small {
  margin-top: auto;
  padding-top: 0.8rem;
  color: var(--social-primary);
  font-size: 0.56rem;
  font-weight: 750;
}
.social-media-saved-ideas {
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--social-muted) 22%, transparent);
  }
}
.social-media-saved-ideas__heading, .social-media-saved-ideas__heading > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.social-media-saved-ideas__heading {
  justify-content: space-between;
  padding-bottom: 0.85rem;
}
.social-media-saved-ideas__heading > div > svg {
  color: var(--social-primary);
}
.social-media-saved-ideas__heading h3 {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.social-media-saved-ideas__heading p {
  margin-top: 0.15rem;
  color: var(--social-muted);
  font-size: 0.62rem;
}
.social-media-saved-ideas__heading > span {
  display: grid;
  min-width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 999px;
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 10%, var(--social-surface));
  }
  color: var(--social-primary);
  font-size: 0.64rem;
  font-weight: 850;
}
.social-media-saved-ideas__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.social-media-saved-ideas__empty {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px dashed var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px dashed color-mix(in oklab, var(--social-muted) 28%, transparent);
  }
  border-radius: 0.65rem;
  color: var(--social-muted);
  text-align: left;
}
.social-media-saved-ideas__empty svg {
  color: var(--social-primary);
}
.social-media-saved-ideas__empty strong, .social-media-saved-ideas__empty small {
  display: block;
}
.social-media-saved-ideas__empty strong {
  color: var(--social-text);
  font-size: 0.7rem;
}
.social-media-saved-ideas__empty small {
  margin-top: 0.2rem;
  font-size: 0.59rem;
}
body.is-social-media-editor-open {
  overflow: hidden !important;
}
.social-media-editor-overlay {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.social-media-editor-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgb(8 7 6 / 0.64);
  backdrop-filter: blur(6px);
}
.social-media-editor-dialog {
  position: relative;
  display: grid;
  width: min(96vw, 88rem);
  height: min(94vh, 58rem);
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 24%, transparent);
  }
  border-radius: 1rem;
  background: var(--social-surface);
  box-shadow: 0 35px 100px -28px rgb(0 0 0 / 0.64);
}
.social-media-editor-dialog:focus, .social-media-editor-dialog:focus-visible {
  outline: none;
}
.social-media-editor-close {
  position: absolute;
  z-index: 4;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 22%, transparent);
  }
  border-radius: 999px;
  background: var(--social-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-surface) 92%, transparent);
  }
  color: var(--social-muted);
  box-shadow: 0 12px 28px -20px rgb(0 0 0 / 0.7);
  backdrop-filter: blur(12px);
}
.social-media-editor-close:hover {
  border-color: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--social-primary) 36%, transparent);
  }
  color: var(--social-primary);
}
.social-media-editor-dialog button:focus-visible, .social-media-editor-dialog input:focus-visible, .social-media-editor-dialog textarea:focus-visible, .social-media-editor-dialog select:focus-visible {
  outline: 2px solid var(--social-accent);
  outline-offset: 2px;
}
.social-media-editor-body {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(20rem, 0.82fr) minmax(28rem, 1.18fr);
}
.social-media-editor-form {
  overflow-y: auto;
  border-right: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-right: 1px solid color-mix(in oklab, var(--social-muted) 20%, transparent);
  }
  padding: 1.25rem;
  scrollbar-width: thin;
}
.social-media-editor-form > section {
  margin-bottom: 1rem;
}
.social-media-editor-intro {
  padding-right: 2.6rem;
}
.social-media-editor-intro > span {
  color: var(--social-primary);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.social-media-editor-intro > h2 {
  margin-top: 0.2rem;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
}
.social-media-editor-intro > div {
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--social-muted) 18%, transparent);
  }
}
.social-media-editor-form > section h3 {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.social-media-editor-form > section p {
  margin-top: 0.22rem;
  color: var(--social-muted);
  font-size: 0.62rem;
  line-height: 1.45;
}
.social-media-editor-form > label, .social-media-editor-fields > label {
  display: block;
  margin-top: 0.85rem;
}
.social-media-editor-form > label > span, .social-media-editor-fields > label > span, .social-media-cover-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.38rem;
  color: var(--social-muted);
  font-size: 0.59rem;
  font-weight: 800;
}
.social-media-editor-fields > label > span small {
  font-size: 0.52rem;
  font-weight: 650;
}
.social-media-editor-form input[type="text"], .social-media-editor-form input[type="number"], .social-media-editor-form textarea, .social-media-editor-form select, .social-media-editor-form .custom-select-trigger {
  width: 100%;
  min-height: 2.55rem;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 25%, transparent);
  }
  border-radius: 0.55rem;
  background: var(--social-surface);
  padding: 0.62rem 0.72rem;
  color: var(--social-text);
  font-family: inherit;
  font-size: 0.69rem;
  line-height: 1.45;
  resize: vertical;
}
.social-media-editor-dialog .cover-color-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip-path: inset(50%) !important;
}
.cover-color-picker.is-social-media {
  z-index: 380;
}
.social-media-editor-form .custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.custom-select-dropdown[data-custom-select-context="social-media-editor"] {
  z-index: 340;
  border-color: var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--social-muted) 25%, transparent);
  }
  border-radius: 0.65rem;
  background: var(--social-surface);
  box-shadow: 0 22px 55px -28px rgb(0 0 0 / 0.58), 0 10px 24px -18px rgb(0 0 0 / 0.32);
}
.custom-select-dropdown[data-custom-select-context="social-media-editor"] .custom-select-option {
  color: var(--social-text);
  font-family: inherit;
  font-size: 0.69rem;
}
.custom-select-dropdown[data-custom-select-context="social-media-editor"] .custom-select-option:hover:not(:disabled), .custom-select-dropdown[data-custom-select-context="social-media-editor"] .custom-select-option:focus-visible {
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 9%, var(--social-surface));
  }
  color: var(--social-text);
}
.custom-select-dropdown[data-custom-select-context="social-media-editor"] .custom-select-option.is-selected {
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 13%, var(--social-surface));
  }
  color: var(--social-primary);
}
.custom-select-option-tooltip[data-custom-select-context="social-media-editor"] {
  z-index: 350;
}
.social-media-editor-form input[type="text"]:focus, .social-media-editor-form textarea:focus {
  border-color: var(--social-primary);
}
.social-media-cover-field {
  margin-top: 0.85rem;
}
.social-media-media-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.85rem;
}
.social-media-media-fields .social-media-cover-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin-top: 0;
}
.social-media-cover-field > span > small {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--social-primary);
  font-size: 0.52rem;
  font-weight: 800;
}
.social-media-cover-field > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 20%, transparent);
  }
  border-radius: 0.65rem;
  background: var(--social-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-bg) 55%, var(--social-surface));
  }
  padding: 0.65rem;
}
.social-media-media-fields .social-media-cover-field > div {
  height: 100%;
  align-items: stretch;
  flex-direction: column;
  gap: 0.55rem;
}
.social-media-cover-thumb {
  position: relative;
  display: grid;
  width: 3.2rem;
  height: 4.6rem;
  flex: 0 0 3.2rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.25rem;
  background: linear-gradient(145deg, var(--social-primary), #171513);
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient(145deg, color-mix(in oklab, var(--social-primary) 62%, #17211e), #171513);
  }
  color: white;
  box-shadow: 0 10px 22px -14px #000;
}
.social-media-cover-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}
.social-media-media-fields .social-media-cover-thumb {
  width: 100%;
  height: 5.5rem;
  flex: 0 0 5.5rem;
  border-radius: 0.4rem;
}
.social-media-media-fields .social-media-cover-field.is-cover .social-media-cover-thumb img {
  object-fit: contain;
  background: #171513;
}
.social-media-media-fields .social-media-cover-field.is-background .social-media-cover-thumb img {
  object-fit: cover;
}
.social-media-cover-thumb > span {
  display: grid;
  place-items: center;
  gap: 0.2rem;
}
.social-media-cover-thumb small {
  font-size: 0.45rem;
}
.social-media-cover-field > div > span {
  min-width: 0;
}
.social-media-cover-field > div > span > strong, .social-media-cover-field > div > span > small {
  display: block;
}
.social-media-cover-field > div > span > strong {
  overflow: hidden;
  color: var(--social-text);
  font-size: 0.64rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-media-cover-field > div > span > small {
  margin-top: 0.18rem;
  color: var(--social-muted);
  font-size: 0.53rem;
}
.social-media-cover-upload {
  display: inline-flex;
  margin-top: 0.48rem;
  align-items: center;
  gap: 0.38rem;
  color: var(--social-primary);
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 850;
}
.social-media-cover-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.social-media-live-preview {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: var(--social-bg);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-bg) 82%, var(--social-surface));
  }
  padding: 0.8rem 1rem 0.9rem;
}
.social-media-live-preview__head {
  display: grid;
  min-height: 2.7rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.45rem;
  padding-right: 2.8rem;
}
.social-media-live-preview__title {
  min-width: 0;
  grid-column: 1;
}
.social-media-live-preview__title span, .social-media-live-preview__title strong {
  display: block;
}
.social-media-live-preview__title span {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}
.social-media-live-preview__title strong {
  margin-top: 0.15rem;
  color: var(--social-muted);
  font-size: 0.55rem;
  font-weight: 650;
}
.social-media-live-preview__format {
  grid-column: 3;
  justify-self: end;
  border-radius: 999px;
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 10%, var(--social-surface));
  }
  padding: 0.35rem 0.55rem;
  color: var(--social-primary);
  font-size: 0.55rem;
  font-weight: 800;
}
.social-media-preview-colors {
  display: flex;
  min-height: 2.7rem;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  transform: translateX(1.4rem);
}
.social-media-preview-color-field {
  position: relative;
  display: block;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 2.45rem;
}
.social-media-preview-color-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.social-media-preview-color-field .cover-color-trigger {
  --cover-bg: var(--social-bg);
  --cover-surface: var(--social-surface);
  --cover-text: var(--social-text);
  --cover-muted: var(--social-muted);
  --cover-primary: var(--social-primary);
  width: 2.45rem;
  height: 2.45rem;
  min-width: 2.45rem;
  gap: 0;
  border-radius: 50%;
  background: var(--social-surface);
  padding: 0.22rem;
  box-shadow: 0 4px 14px -10px rgb(15 23 42 / 0.56), 0 0 0 1px var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 4px 14px -10px rgb(15 23 42 / 0.56), 0 0 0 1px color-mix(in oklab, var(--social-muted) 8%, transparent);
  }
}
.social-media-preview-color-field .cover-color-trigger:hover, .social-media-preview-color-field .cover-color-trigger[aria-expanded="true"] {
  border-color: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--social-primary) 56%, transparent);
  }
  background: var(--social-surface);
  transform: translateY(-1px);
}
.social-media-preview-color-field .cover-color-trigger > i {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 24%, transparent);
  }
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3);
}
.social-media-preview-color-field .cover-color-trigger > strong, .social-media-preview-color-field .cover-color-trigger > svg {
  display: none;
}
.social-media-live-preview__stage {
  display: grid;
  min-height: 0;
  flex: 1;
  place-items: center;
  overflow: visible;
  container-type: size;
}
.social-media-live-preview__stage canvas {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.7rem;
  box-shadow: 0 24px 58px -30px rgb(0 0 0 / 0.72);
}
@supports (width: 1cqh) {
  .social-media-live-preview__stage canvas {
    height: auto;
  }
  .social-media-live-preview__stage canvas.is-story {
    width: min(88cqw, 49.5cqh);
  }
  .social-media-live-preview__stage canvas.is-feed {
    width: min(88cqw, 66cqh);
  }
}
.social-media-export-validation {
  width: 1.65rem;
  height: 2.25rem;
  object-fit: cover;
  border: 1px solid var(--platform-accent);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in srgb, var(--platform-accent) 28%, var(--border));
  }
  border-radius: 0.35rem;
  box-shadow: 0 7px 16px -10px rgb(15 23 42 / 0.7);
}
.social-media-live-preview .social-media-art-viewport {
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.7rem;
  box-shadow: 0 24px 58px -30px rgb(0 0 0 / 0.72);
}
.social-media-live-preview .social-media-art-viewport.is-editor {
  height: 100%;
  width: auto;
  max-width: 100%;
}
.social-media-editor-dialog > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border-top: 1px solid color-mix(in oklab, var(--social-muted) 20%, transparent);
  }
  padding: 0.65rem 1rem;
}
.social-media-editor-dialog > footer > div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.social-media-editor-dialog > footer button {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border: 1px solid var(--social-muted);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix(in oklab, var(--social-muted) 24%, transparent);
  }
  border-radius: 0.58rem;
  padding: 0.6rem 0.85rem;
  color: var(--social-muted);
  font-size: 0.65rem;
  font-weight: 800;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}
.social-media-editor-dialog > footer button:hover:not(:disabled) {
  border-color: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix(in oklab, var(--social-primary) 40%, transparent);
  }
  color: var(--social-primary);
}
.social-media-editor-dialog > footer button.is-primary {
  border-color: transparent;
  background: var(--social-primary);
  padding-inline: 1rem;
  color: white;
  box-shadow: 0 12px 25px -18px var(--social-primary);
}
.social-media-editor-dialog > footer button.is-primary:hover:not(:disabled) {
  background: var(--social-primary);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in oklab, var(--social-primary) 88%, black);
  }
  color: white;
}
.social-media-editor-dialog > footer button:disabled {
  cursor: wait;
  opacity: 0.62;
}
.social-media-editor-dialog > footer span {
  color: var(--social-muted);
  font-size: 0.57rem;
}
.social-media-editor-dialog > footer span.is-success, .social-media-editor-dialog > footer span.is-error {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 750;
}
.social-media-editor-dialog > footer span.is-success {
  color: #059669;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in oklab, #059669 78%, var(--social-text));
  }
}
.social-media-editor-dialog > footer span.is-error {
  color: #e11d48;
  @supports (color: color-mix(in lab, red, red)) {
    color: color-mix(in oklab, #e11d48 82%, var(--social-text));
  }
}
.social-media-editor-dialog [aria-busy="true"] svg {
  animation: social-spin 800ms linear infinite;
}
@keyframes social-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1180px) {
  .social-media-idea-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social-media-saved-ideas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social-media-editor-body {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.1fr);
  }
}
@media (max-width: 820px) {
  .social-media-content-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
  .social-media-content-header > span {
    align-self: flex-start;
  }
  .social-media-template-grid {
    grid-template-columns: repeat(5, minmax(10.5rem, 10.5rem));
  }
  .social-media-editor-overlay {
    padding: 0;
  }
  .social-media-editor-dialog {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }
  .social-media-editor-body {
    display: flex;
    overflow-y: auto;
    flex-direction: column;
  }
  .social-media-editor-form {
    overflow: visible;
    border-top: 1px solid var(--social-muted);
    @supports (color: color-mix(in lab, red, red)) {
      border-top: 1px solid color-mix(in oklab, var(--social-muted) 20%, transparent);
    }
    border-right: 0;
  }
  .social-media-live-preview {
    min-height: 34rem;
    flex: 0 0 34rem;
    order: -1;
  }
  .social-media-editor-dialog > footer {
    align-items: stretch;
    flex-direction: column;
  }
  .social-media-editor-dialog > footer > div {
    justify-content: space-between;
  }
  .social-media-idea-lane__heading {
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .social-media-content-header h1 {
    font-size: 2.3rem;
  }
  .social-media-content-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social-media-content-tabs button {
    padding-inline: 0.7rem;
  }
  .social-media-section-heading {
    align-items: flex-start;
  }
  .social-media-section-heading p {
    max-width: 15rem;
  }
  .social-media-idea-slider, .social-media-saved-ideas__grid {
    grid-template-columns: 1fr;
  }
  .social-media-idea-lane {
    min-width: 0;
  }
  .social-media-idea-lane__heading {
    flex-direction: column;
  }
  .social-media-idea-lane__heading .social-media-slider-controls {
    align-self: flex-end;
  }
  .social-media-idea-card {
    min-height: 9.5rem;
  }
  .social-media-live-preview {
    min-height: 29rem;
    flex-basis: 29rem;
  }
  .social-media-live-preview__head {
    gap: 0.45rem;
  }
  .social-media-preview-colors {
    gap: 0.38rem;
  }
  .social-media-preview-color-field, .social-media-preview-color-field .cover-color-trigger {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    flex-basis: 2.2rem;
  }
  .social-media-editor-dialog > footer > div:first-child {
    display: none;
  }
  .social-media-editor-dialog > footer > div:last-of-type {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .social-media-editor-dialog > footer button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-media-template-card > button, .social-media-template-card__hover, .social-media-idea-slider {
    animation: none;
    transition: none;
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-divide-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-gradient-position {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-content {
  syntax: "*";
  initial-value: "";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-space-x-reverse: 0;
      --tw-divide-y-reverse: 0;
      --tw-border-style: solid;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-content: "";
    }
  }
}
