/* [project]/apps/waterfall-wiki/src/styles/globals.css [client] (css) */
@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-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: 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;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: "Inter","PingFang SC","Microsoft YaHei",Arial,sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

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

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

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

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

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

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

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

  b, strong {
    font-weight: bolder;
  }

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

  small {
    font-size: 80%;
  }

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

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

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

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

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

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

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

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

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

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

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

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

  ::placeholder {
    opacity: 1;
  }

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

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

  textarea {
    resize: vertical;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@layer components;

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

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .static {
    position: static;
  }

  .container {
    width: 100%;
  }

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

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

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

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

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

  .block {
    display: block;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .hidden\! {
    display: none !important;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }

  .h-\[1440px\] {
    height: 1440px;
  }

  .w-\[1080px\] {
    width: 1080px;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .italic {
    font-style: italic;
  }

  .italic\! {
    font-style: italic !important;
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .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, );
  }
}

:root {
  --el-cream: #fff6ef;
  --el-color-2: #fffcf9;
  --el-espresso: #49372e;
  --el-color-4: #68574d;
  --el-deep-mocha: #78523f;
  --el-color-6: #fff;
  --el-oat: #ede9d0;
  --el-color-8: #ddcfc4;
  --el-color-9: #f1e8e0;
  --el-color-10: #38281f;
  --el-color-11: #674634;
  --el-color-12: #573b2d;
  --el-color-13: #f0e6dd;
  --el-color-14: #e8d8ca;
  --el-color-15: #dfccba;
  --el-color-16: #9a8879;
  --el-color-17: #f5ece3;
  --el-color-18: #e7e1d8;
  --el-color-19: #92867a;
  --el-color-20: #41684b;
  --el-color-21: #eaf1e8;
  --el-color-22: #805a16;
  --el-color-23: #fbf0d4;
  --el-color-24: #a33e32;
  --el-color-25: #8b3026;
  --el-color-26: #f9eae5;
  --el-color-27: #48667d;
  --el-color-28: #eaf0f4;
  --el-color-29: #3b292314;
  --el-color-30: #29262366;
  --el-mocha: #a47764;
  --el-terracotta: #e07242;
  --el-color-33: #a84e2c;
  --el-color-34: .625rem;
  --el-color-35: #d9d9d9;
  --el-color-36: #55704d;
  --el-color-37: #805a7b;
  --el-canvas-white: #fafafa;
  --el-color-39: #292623;
  --el-color-40: #6d665f;
  --el-color-41: #f2e8e1;
  --el-color-42: #ddd9d2;
  --el-color-43: #f3f1ee;
  --el-color-44: #201d1a;
  --el-color-45: #ebe6df;
  --el-color-46: #e1d8cd;
  --el-color-47: #f6f3ef;
  --el-color-48: #efeeeb;
  --el-color-49: #95908a;
  --el-color-50: #29262314;
  --el-canvas-black: #141414;
  --el-color-52: #202020;
  --el-color-53: #282828;
  --el-color-54: #252525;
  --el-color-55: #eee;
  --el-color-56: #b9b4ae;
  --el-color-57: #d1aa92;
  --el-color-58: #debda8;
  --el-color-59: #be967b;
  --el-color-60: #211a17;
  --el-color-61: #3a302b;
  --el-color-62: #2c2926;
  --el-color-63: #37312c;
  --el-color-64: #44392f;
  --el-color-65: #3b3b3b;
  --el-color-66: #81756a;
  --el-color-67: #333;
  --el-color-68: #292522;
  --el-color-69: #292929;
  --el-color-70: #77736e;
  --el-color-71: #a4c2a1;
  --el-color-72: #243127;
  --el-color-73: #e3c381;
  --el-color-74: #362f20;
  --el-color-75: #f0a395;
  --el-color-76: #f6b5aa;
  --el-color-77: #3b2724;
  --el-color-78: #a6c6dc;
  --el-color-79: #23303b;
  --el-color-80: #0000004d;
  --el-color-81: #0009;
  --el-color-82: #e8ae92;
  --el-color-83: #d9ae8f;
  --el-color-84: #c8a7cd;
  --el-color-85: #1c1816;
  --el-color-86: #27211e;
  --el-color-87: #302720;
  --el-color-88: #302823;
}

.dark, [data-theme="home-dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --background: var(--el-color-85);
  --surface: var(--el-color-86);
  --surface-raised: var(--el-color-87);
  --surface-muted: var(--el-color-88);
  --foreground: var(--el-color-55);
  --foreground-strong: var(--el-color-6);
  --muted-foreground: var(--el-color-56);
  --primary: var(--el-color-57);
  --primary-hover: var(--el-color-58);
  --primary-active: var(--el-color-59);
  --primary-foreground: var(--el-color-60);
  --accent: var(--el-color-61);
  --secondary: var(--el-color-62);
  --secondary-hover: var(--el-color-63);
  --secondary-active: var(--el-color-64);
  --secondary-foreground: var(--el-color-55);
  --selection: var(--el-color-61);
  --selection-border: var(--el-color-57);
  --connector: var(--el-color-57);
  --border: var(--el-color-65);
  --control-border: var(--el-color-66);
  --grid: var(--el-color-67);
  --focus-ring: var(--el-color-57);
  --link: var(--el-color-57);
  --row-hover: var(--el-color-68);
  --disabled-background: var(--el-color-69);
  --disabled-foreground: var(--el-color-70);
  --success: var(--el-color-71);
  --success-background: var(--el-color-72);
  --warning: var(--el-color-73);
  --warning-background: var(--el-color-74);
  --danger: var(--el-color-75);
  --danger-hover: var(--el-color-76);
  --danger-background: var(--el-color-77);
  --info: var(--el-color-78);
  --info-background: var(--el-color-79);
  --shadow: var(--el-color-80);
  --scrim: var(--el-color-81);
  --surface-muted-foreground: var(--el-color-56);
  --brand-mocha: var(--el-mocha);
  --brand-orange: var(--el-terracotta);
  --brand-cream: var(--el-cream);
  --brand-oat: var(--el-oat);
  --orange-foreground: var(--el-color-82);
  --card: var(--el-color-86);
  --card-foreground: var(--el-color-55);
  --popover: var(--el-color-87);
  --popover-foreground: var(--el-color-55);
  --muted: var(--el-color-88);
  --accent-foreground: var(--el-color-55);
  --destructive: var(--el-color-75);
  --destructive-foreground: var(--el-color-60);
  --input: var(--el-color-66);
  --ring: var(--el-color-57);
  --sidebar: var(--el-color-86);
  --sidebar-foreground: var(--el-color-55);
  --sidebar-primary: var(--el-color-57);
  --sidebar-primary-foreground: var(--el-color-60);
  --sidebar-accent: var(--el-color-61);
  --sidebar-accent-foreground: var(--el-color-55);
  --sidebar-border: var(--el-color-65);
  --sidebar-ring: var(--el-color-57);
  --radius: var(--el-color-34);
  --chart-1: var(--el-color-57);
  --chart-2: var(--el-color-78);
  --chart-3: var(--el-color-71);
  --chart-4: var(--el-color-83);
  --chart-5: var(--el-color-84);
}

[data-theme="canvas-dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --background: var(--el-canvas-black);
  --surface: var(--el-color-52);
  --surface-raised: var(--el-color-53);
  --surface-muted: var(--el-color-54);
  --foreground: var(--el-color-55);
  --foreground-strong: var(--el-color-6);
  --muted-foreground: var(--el-color-56);
  --primary: var(--el-color-57);
  --primary-hover: var(--el-color-58);
  --primary-active: var(--el-color-59);
  --primary-foreground: var(--el-color-60);
  --accent: var(--el-color-61);
  --secondary: var(--el-color-62);
  --secondary-hover: var(--el-color-63);
  --secondary-active: var(--el-color-64);
  --secondary-foreground: var(--el-color-55);
  --selection: var(--el-color-61);
  --selection-border: var(--el-color-57);
  --connector: var(--el-color-57);
  --border: var(--el-color-65);
  --control-border: var(--el-color-66);
  --grid: var(--el-color-67);
  --focus-ring: var(--el-color-57);
  --link: var(--el-color-57);
  --row-hover: var(--el-color-68);
  --disabled-background: var(--el-color-69);
  --disabled-foreground: var(--el-color-70);
  --success: var(--el-color-71);
  --success-background: var(--el-color-72);
  --warning: var(--el-color-73);
  --warning-background: var(--el-color-74);
  --danger: var(--el-color-75);
  --danger-hover: var(--el-color-76);
  --danger-background: var(--el-color-77);
  --info: var(--el-color-78);
  --info-background: var(--el-color-79);
  --shadow: var(--el-color-80);
  --scrim: var(--el-color-81);
  --surface-muted-foreground: var(--el-color-56);
  --brand-mocha: var(--el-mocha);
  --brand-orange: var(--el-terracotta);
  --brand-cream: var(--el-cream);
  --brand-oat: var(--el-oat);
  --orange-foreground: var(--el-color-82);
  --card: var(--el-color-52);
  --card-foreground: var(--el-color-55);
  --popover: var(--el-color-53);
  --popover-foreground: var(--el-color-55);
  --muted: var(--el-color-54);
  --accent-foreground: var(--el-color-55);
  --destructive: var(--el-color-75);
  --destructive-foreground: var(--el-color-60);
  --input: var(--el-color-66);
  --ring: var(--el-color-57);
  --sidebar: var(--el-color-52);
  --sidebar-foreground: var(--el-color-55);
  --sidebar-primary: var(--el-color-57);
  --sidebar-primary-foreground: var(--el-color-60);
  --sidebar-accent: var(--el-color-61);
  --sidebar-accent-foreground: var(--el-color-55);
  --sidebar-border: var(--el-color-65);
  --sidebar-ring: var(--el-color-57);
  --radius: var(--el-color-34);
  --chart-1: var(--el-color-57);
  --chart-2: var(--el-color-78);
  --chart-3: var(--el-color-71);
  --chart-4: var(--el-color-83);
  --chart-5: var(--el-color-84);
}

:root:not([data-theme]):not(.dark), [data-theme="home-light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --background: var(--el-cream);
  --surface: var(--el-color-2);
  --foreground: var(--el-espresso);
  --muted-foreground: var(--el-color-4);
  --primary: var(--el-deep-mocha);
  --primary-foreground: var(--el-color-6);
  --accent: var(--el-oat);
  --selection: var(--el-oat);
  --border: var(--el-color-8);
  --surface-raised: var(--el-color-6);
  --surface-muted: var(--el-color-9);
  --foreground-strong: var(--el-color-10);
  --primary-hover: var(--el-color-11);
  --primary-active: var(--el-color-12);
  --secondary: var(--el-color-13);
  --secondary-hover: var(--el-color-14);
  --secondary-active: var(--el-color-15);
  --secondary-foreground: var(--el-espresso);
  --link: var(--el-deep-mocha);
  --focus-ring: var(--el-deep-mocha);
  --control-border: var(--el-color-16);
  --row-hover: var(--el-color-17);
  --disabled-background: var(--el-color-18);
  --disabled-foreground: var(--el-color-19);
  --success: var(--el-color-20);
  --success-background: var(--el-color-21);
  --warning: var(--el-color-22);
  --warning-background: var(--el-color-23);
  --danger: var(--el-color-24);
  --danger-hover: var(--el-color-25);
  --danger-background: var(--el-color-26);
  --info: var(--el-color-27);
  --info-background: var(--el-color-28);
  --shadow: var(--el-color-29);
  --scrim: var(--el-color-30);
  --surface-muted-foreground: var(--el-color-4);
  --brand-mocha: var(--el-mocha);
  --brand-orange: var(--el-terracotta);
  --brand-cream: var(--el-cream);
  --brand-oat: var(--el-oat);
  --orange-foreground: var(--el-color-33);
  --card: var(--el-color-2);
  --card-foreground: var(--el-espresso);
  --popover: var(--el-color-6);
  --popover-foreground: var(--el-espresso);
  --muted: var(--el-color-9);
  --accent-foreground: var(--el-espresso);
  --destructive: var(--el-color-24);
  --destructive-foreground: var(--el-color-6);
  --input: var(--el-color-16);
  --ring: var(--el-deep-mocha);
  --sidebar: var(--el-color-2);
  --sidebar-foreground: var(--el-espresso);
  --sidebar-primary: var(--el-deep-mocha);
  --sidebar-primary-foreground: var(--el-color-6);
  --sidebar-accent: var(--el-oat);
  --sidebar-accent-foreground: var(--el-espresso);
  --sidebar-border: var(--el-color-8);
  --sidebar-ring: var(--el-deep-mocha);
  --radius: var(--el-color-34);
  --connector: var(--el-deep-mocha);
  --selection-border: var(--el-deep-mocha);
  --grid: var(--el-color-35);
  --chart-1: var(--el-deep-mocha);
  --chart-2: var(--el-color-27);
  --chart-3: var(--el-color-36);
  --chart-4: var(--el-mocha);
  --chart-5: var(--el-color-37);
}

[data-theme="canvas-light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --background: var(--el-canvas-white);
  --surface: var(--el-color-6);
  --foreground: var(--el-color-39);
  --muted-foreground: var(--el-color-40);
  --primary: var(--el-deep-mocha);
  --primary-foreground: var(--el-color-6);
  --connector: var(--el-deep-mocha);
  --selection: var(--el-color-41);
  --border: var(--el-color-42);
  --grid: var(--el-color-35);
  --surface-raised: var(--el-color-6);
  --surface-muted: var(--el-color-43);
  --foreground-strong: var(--el-color-44);
  --primary-hover: var(--el-color-11);
  --primary-active: var(--el-color-12);
  --secondary: var(--el-color-43);
  --secondary-hover: var(--el-color-45);
  --secondary-active: var(--el-color-46);
  --secondary-foreground: var(--el-espresso);
  --link: var(--el-deep-mocha);
  --focus-ring: var(--el-deep-mocha);
  --control-border: var(--el-color-16);
  --selection-border: var(--el-deep-mocha);
  --row-hover: var(--el-color-47);
  --disabled-background: var(--el-color-48);
  --disabled-foreground: var(--el-color-49);
  --success: var(--el-color-20);
  --success-background: var(--el-color-21);
  --warning: var(--el-color-22);
  --warning-background: var(--el-color-23);
  --danger: var(--el-color-24);
  --danger-hover: var(--el-color-25);
  --danger-background: var(--el-color-26);
  --info: var(--el-color-27);
  --info-background: var(--el-color-28);
  --shadow: var(--el-color-50);
  --scrim: var(--el-color-30);
  --surface-muted-foreground: var(--el-color-40);
  --accent: var(--el-color-41);
  --brand-mocha: var(--el-mocha);
  --brand-orange: var(--el-terracotta);
  --brand-cream: var(--el-cream);
  --brand-oat: var(--el-oat);
  --orange-foreground: var(--el-color-33);
  --card: var(--el-color-6);
  --card-foreground: var(--el-color-39);
  --popover: var(--el-color-6);
  --popover-foreground: var(--el-color-39);
  --muted: var(--el-color-43);
  --accent-foreground: var(--el-color-39);
  --destructive: var(--el-color-24);
  --destructive-foreground: var(--el-color-6);
  --input: var(--el-color-16);
  --ring: var(--el-deep-mocha);
  --sidebar: var(--el-color-6);
  --sidebar-foreground: var(--el-color-39);
  --sidebar-primary: var(--el-deep-mocha);
  --sidebar-primary-foreground: var(--el-color-6);
  --sidebar-accent: var(--el-color-41);
  --sidebar-accent-foreground: var(--el-color-39);
  --sidebar-border: var(--el-color-42);
  --sidebar-ring: var(--el-deep-mocha);
  --radius: var(--el-color-34);
  --chart-1: var(--el-deep-mocha);
  --chart-2: var(--el-color-27);
  --chart-3: var(--el-color-36);
  --chart-4: var(--el-mocha);
  --chart-5: var(--el-color-37);
}

:root.dark:not([data-theme]) {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --background: var(--el-color-85);
  --surface: var(--el-color-86);
  --surface-raised: var(--el-color-87);
  --surface-muted: var(--el-color-88);
  --foreground: var(--el-color-55);
  --foreground-strong: var(--el-color-6);
  --muted-foreground: var(--el-color-56);
  --primary: var(--el-color-57);
  --primary-hover: var(--el-color-58);
  --primary-active: var(--el-color-59);
  --primary-foreground: var(--el-color-60);
  --accent: var(--el-color-61);
  --secondary: var(--el-color-62);
  --secondary-hover: var(--el-color-63);
  --secondary-active: var(--el-color-64);
  --secondary-foreground: var(--el-color-55);
  --selection: var(--el-color-61);
  --selection-border: var(--el-color-57);
  --connector: var(--el-color-57);
  --border: var(--el-color-65);
  --control-border: var(--el-color-66);
  --grid: var(--el-color-67);
  --focus-ring: var(--el-color-57);
  --link: var(--el-color-57);
  --row-hover: var(--el-color-68);
  --disabled-background: var(--el-color-69);
  --disabled-foreground: var(--el-color-70);
  --success: var(--el-color-71);
  --success-background: var(--el-color-72);
  --warning: var(--el-color-73);
  --warning-background: var(--el-color-74);
  --danger: var(--el-color-75);
  --danger-hover: var(--el-color-76);
  --danger-background: var(--el-color-77);
  --info: var(--el-color-78);
  --info-background: var(--el-color-79);
  --shadow: var(--el-color-80);
  --scrim: var(--el-color-81);
  --surface-muted-foreground: var(--el-color-56);
  --brand-mocha: var(--el-mocha);
  --brand-orange: var(--el-terracotta);
  --brand-cream: var(--el-cream);
  --brand-oat: var(--el-oat);
  --orange-foreground: var(--el-color-82);
  --card: var(--el-color-86);
  --card-foreground: var(--el-color-55);
  --popover: var(--el-color-87);
  --popover-foreground: var(--el-color-55);
  --muted: var(--el-color-88);
  --accent-foreground: var(--el-color-55);
  --destructive: var(--el-color-75);
  --destructive-foreground: var(--el-color-60);
  --input: var(--el-color-66);
  --ring: var(--el-color-57);
  --sidebar: var(--el-color-86);
  --sidebar-foreground: var(--el-color-55);
  --sidebar-primary: var(--el-color-57);
  --sidebar-primary-foreground: var(--el-color-60);
  --sidebar-accent: var(--el-color-61);
  --sidebar-accent-foreground: var(--el-color-55);
  --sidebar-border: var(--el-color-65);
  --sidebar-ring: var(--el-color-57);
  --radius: var(--el-color-34);
  --chart-1: var(--el-color-57);
  --chart-2: var(--el-color-78);
  --chart-3: var(--el-color-71);
  --chart-4: var(--el-color-83);
  --chart-5: var(--el-color-84);
}

:root {
  --ink: var(--foreground);
  --line: var(--border);
  --green: var(--selection);
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background);
  color: var(--ink);
  font: 16px var(--font-sans);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

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

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

button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}

button:disabled {
  cursor: default;
  opacity: .45;
}

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

input, textarea, select {
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

.sidebar {
  border-right: 1px solid var(--border);
  background: var(--surface);
  z-index: 30;
  flex-direction: column;
  width: 208px;
  padding: 30px 16px 24px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
  overflow-y: auto;
}

.brand {
  letter-spacing: -1px;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
  padding: 0 8px;
  display: flex;
}

.brand strong {
  font-size: 23px;
  font-weight: 800;
}

.brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: block;
}

.nav-group {
  margin-bottom: 14px;
}

.nav-group > p {
  color: var(--muted-foreground);
  margin: 10px 18px 6px;
  font-size: 12px;
}

.nav-item {
  border-radius: 30px;
  align-items: center;
  gap: 16px;
  min-height: 51px;
  margin: 2px 0;
  padding: 13px 20px;
  font-size: 17px;
  font-weight: 500;
  transition: background .15s;
  display: flex;
}

.nav-item svg {
  flex-shrink: 0;
}

.nav-item:hover {
  background: var(--row-hover);
}

.nav-item.active {
  background: var(--selection);
  font-weight: 700;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 20px;
}

.import-link {
  border-radius: 28px;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  font-size: 15px;
  display: flex;
}

.import-link:hover {
  background: var(--row-hover);
}

.import-link svg:last-child {
  margin-left: auto;
}

.main-content {
  margin-left: 208px;
  padding: 0 28px 30px;
}

.global-topbar {
  z-index: 15;
  background: var(--surface);
  align-items: center;
  gap: 20px;
  height: 96px;
  margin: 0 -4px 18px;
  padding: 16px 4px;
  display: flex;
  position: sticky;
  top: 0;
}

.global-search {
  background: var(--surface-muted);
  height: 56px;
  color: var(--muted-foreground);
  border-radius: 30px;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  display: flex;
}

.global-search:focus-within {
  outline: 4px solid var(--ring);
}

.global-search input {
  width: 100%;
  min-width: 0;
  color: var(--foreground-strong);
  background: none;
  border: 0;
  font-size: 16px;
}

.global-search input::placeholder {
  color: var(--muted-foreground);
}

.global-search button {
  place-items: center;
  display: grid;
}

.page-header {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 20px 0 28px;
  display: flex;
}

.page-header h1 {
  letter-spacing: -.5px;
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

.page-header p {
  color: var(--muted-foreground);
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.eyebrow, .brand-caption, .page-footer {
  display: none;
}

.feed-heading h1 {
  font-size: 24px;
}

.feed-heading {
  margin-bottom: 24px;
}

.feed-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  display: flex;
}

.feed-tabs {
  white-space: nowrap;
  gap: 10px;
  min-height: 46px;
  display: flex;
  overflow: auto;
}

.feed-tabs a {
  color: var(--foreground);
  border-radius: 25px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 500;
}

.feed-tabs a:hover {
  background: var(--row-hover);
}

.feed-tabs a.selected {
  color: var(--foreground-strong);
  background: var(--selection);
  font-weight: 650;
}

.sort-label {
  color: var(--muted-foreground);
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  padding-right: 5px;
  font-size: 12px;
  display: flex;
}

.masonry {
  align-items: start;
  gap: 20px;
  display: grid;
}

.masonry-column {
  min-width: 0;
}

.post-card {
  width: 100%;
  margin-bottom: 26px;
  display: block;
}

.post-cover {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.post-cover:after {
  content: "";
  background: var(--surface);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
  position: absolute;
  inset: 0;
}

.post-card:hover .post-cover:after {
  opacity: .08;
}

.post-cover > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.post-card h3 {
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 10px 8px 8px;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.55;
  overflow: hidden;
}

.post-meta {
  white-space: nowrap;
  color: var(--muted-foreground);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 18px;
  display: flex;
}

.post-meta > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  display: block;
  overflow: hidden;
}

.type-dot {
  vertical-align: -2px;
  background: var(--surface-muted);
  border: 4px solid var(--border);
  border-radius: 50%;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  display: inline-block;
}

.type-dot.video, .type-dot.audio {
  background: var(--selection);
}

.post-meta time {
  flex-shrink: 0;
  font-size: 11px;
}

.post-meta > svg {
  flex-shrink: 0;
}

.cover-count, .cover-badge {
  color: var(--foreground);
  background: var(--surface);
  z-index: 1;
  border-radius: 14px;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  font-size: 12px;
  display: flex;
  position: absolute;
  top: 11px;
  right: 11px;
}

.cover-badge {
  top: auto;
  bottom: 11px;
}

.cover-audio {
  background: var(--selection);
  aspect-ratio: 1;
}

.waveform {
  justify-content: center;
  align-items: center;
  gap: 3px;
  height: 100%;
  padding: 20px;
  display: flex;
}

.waveform i {
  background: var(--surface-muted);
  border-radius: 5px;
  width: 3px;
}

.cover-symbol {
  height: 100%;
  color: var(--muted-foreground);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  display: flex;
}

.empty-state {
  text-align: center;
  min-height: 390px;
  color: var(--muted-foreground);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  display: flex;
}

.empty-state h2 {
  color: var(--foreground-strong);
  margin: 22px 0 12px;
  font-size: 21px;
  font-weight: 600;
}

.empty-state p {
  white-space: pre-line;
  color: var(--muted-foreground);
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.8;
}

.empty-state > small {
  color: var(--muted-foreground);
  margin-top: 22px;
  font-size: 12px;
}

.empty-art {
  color: var(--muted-foreground);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 94px;
  display: flex;
  position: relative;
  transform: rotate(-5deg);
}

.empty-art > span {
  border: 1px solid var(--border);
  z-index: -1;
  border-radius: 17px;
  position: absolute;
  inset: -8px 10px 10px -8px;
  transform: rotate(12deg);
}

.empty-art > i, .empty-art > b {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  display: flex;
  position: absolute;
  bottom: 2px;
  right: -17px;
  transform: rotate(12deg);
}

.empty-art > b {
  top: -12px;
  left: -17px;
  transform: rotate(-12deg);
}

.primary-button, .secondary-button {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid #0000;
  border-radius: 26px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 14px 23px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
}

.primary-button:hover {
  background: var(--primary-hover);
}

.secondary-button {
  background: var(--surface);
  color: var(--foreground-strong);
}

.secondary-button:hover {
  background: var(--row-hover);
}

.text-link {
  color: var(--muted-foreground);
  align-items: center;
  gap: 7px;
  font-size: 13px;
  display: inline-flex;
}

.breadcrumbs {
  color: var(--muted-foreground);
  margin: 0 0 24px;
  font-size: 14px;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.load-more {
  text-align: center;
  margin: 30px 0;
}

.load-more button {
  background: var(--surface);
  color: var(--foreground);
  border-radius: 25px;
  align-items: center;
  gap: 12px;
  padding: 14px 25px;
  font-size: 14px;
  display: inline-flex;
}

.icon-button {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 10px;
  display: inline-flex;
}

.mobile-menu {
  display: none;
}

.detail-top {
  color: var(--muted-foreground);
  justify-content: space-between;
  margin: 8px 0 22px;
  font-size: 14px;
  display: flex;
}

.detail-top > a {
  align-items: center;
  gap: 8px;
  display: flex;
}

.detail-layout {
  border: 1px solid var(--border);
  box-shadow: 0 6px 25px var(--shadow);
  border-radius: 26px;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr);
  gap: 0;
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  overflow: hidden;
}

.detail-media {
  background: var(--surface);
  min-width: 0;
}

.media-stage {
  background: var(--surface);
  justify-content: center;
  align-items: center;
  height: 70vh;
  min-height: 480px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.media-stage > img, .media-stage > video {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.stage-video {
  background: var(--surface);
}

.gallery-prev, .gallery-next {
  opacity: .85;
  position: absolute;
  top: 50%;
  left: 14px;
}

.gallery-next {
  left: auto;
  right: 14px;
}

.gallery-position {
  background: var(--surface);
  color: var(--foreground);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.thumbnail-strip {
  gap: 10px;
  padding: 18px;
  display: flex;
  overflow: auto;
}

.thumbnail-strip button {
  background: var(--surface);
  width: 64px;
  height: 64px;
  color: var(--muted-foreground);
  border: 2px solid #0000;
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 12px;
  overflow: hidden;
}

.thumbnail-strip button.selected {
  border-color: var(--selection-border);
}

.thumbnail-strip img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.detail-info {
  background: var(--surface);
  min-width: 0;
  padding: 30px;
}

.detail-info h1 {
  margin: 0 0 15px;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.5;
}

.detail-date {
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.8;
}

.detail-date span {
  margin-left: 9px;
}

.description p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--foreground);
  margin: 26px 0;
  font-size: 15px;
  line-height: 1.9;
}

.tag-list {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.tag-list > a {
  color: var(--foreground);
  padding: 4px 0;
  font-size: 14px;
}

.asset-facts {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 22px;
}

.asset-facts h3 {
  font-size: 14px;
  font-weight: 550;
}

.asset-facts dl {
  grid-template-columns: 65px 1fr;
  gap: 14px;
  margin: 20px 0;
  font-size: 12px;
  display: grid;
}

.asset-facts dt {
  color: var(--muted-foreground);
}

.asset-facts dd {
  color: var(--foreground);
  overflow-wrap: anywhere;
  margin: 0;
}

.asset-facts .secondary-button {
  min-height: 38px;
  margin-right: 14px;
  padding: 10px 14px;
  font-size: 12px;
}

.pill {
  background: var(--surface);
  color: var(--foreground);
  border-radius: 18px;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  font-size: 12px;
  display: inline-flex;
}

.video-companion {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 0 18px 18px;
  padding: 18px;
}

.video-companion > div:first-child {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.video-companion small {
  color: var(--muted-foreground);
  font-size: 12px;
}

.bound-audio {
  color: var(--foreground);
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  display: grid;
}

.bound-audio > span {
  align-items: center;
  gap: 7px;
  display: flex;
}

.bound-audio audio {
  width: 100%;
  height: 42px;
}

.audio-stage {
  text-align: center;
  width: 100%;
  color: var(--foreground);
  padding: 35px;
}

.audio-stage h3 {
  margin: 30px 0 20px;
  font-size: 15px;
  font-weight: 500;
}

.audio-stage audio {
  width: 100%;
  max-width: 400px;
}

.vinyl {
  background: repeating-radial-gradient(circle,var(--surface) 0 2px,var(--surface) 3px 4px);
  width: 180px;
  height: 180px;
  box-shadow: 0 12px 25px var(--shadow);
  border-radius: 50%;
  place-items: center;
  margin: auto;
  display: grid;
}

.vinyl > span {
  background: var(--selection);
  border: 25px solid var(--selection-border);
  border-radius: 50%;
  width: 66px;
  height: 66px;
}

.editor-panel {
  border: 1px solid var(--border);
  max-width: 1000px;
  box-shadow: 0 5px 20px var(--shadow);
  border-radius: 24px;
  margin: 0 auto;
  padding: 32px;
}

.kind-picker {
  gap: 8px;
  margin-bottom: 25px;
  display: flex;
}

.kind-picker button {
  color: var(--foreground);
  background: var(--surface);
  border-radius: 26px;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 15px;
  display: flex;
}

.kind-picker .selected {
  background: var(--selection);
  color: var(--foreground);
}

.drop-zone {
  cursor: pointer;
  border: 2px dashed var(--border);
  background: var(--surface);
  min-height: 230px;
  color: var(--muted-foreground);
  border-radius: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 17px;
  display: flex;
  position: relative;
}

.drop-zone:hover {
  background: var(--row-hover);
}

.drop-zone input {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  position: absolute;
  inset: 0;
}

.drop-zone strong {
  color: var(--foreground);
  font-size: 17px;
  font-weight: 600;
}

.drop-zone > span:last-child {
  font-size: 13px;
}

.upload-circle {
  background: var(--surface);
  width: 54px;
  height: 54px;
  color: var(--foreground);
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.form-field {
  margin-top: 27px;
}

.form-field > label, .compact-form > label {
  color: var(--foreground);
  margin-bottom: 12px;
  font-size: 14px;
  display: block;
}

.form-field small {
  color: var(--muted-foreground);
  margin-left: 6px;
  font-size: 12px;
}

.form-field input, .form-field textarea, .compact-form input, .compact-form select {
  border: 1px solid var(--input);
  width: 100%;
  color: var(--foreground-strong);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  display: block;
}

.form-field input:focus, .form-field textarea:focus, .compact-form input:focus, .compact-form select:focus {
  outline: 3px solid var(--ring);
  border-color: var(--selection-border);
}

.form-field textarea {
  resize: vertical;
  line-height: 1.8;
}

.form-field input::placeholder, .form-field textarea::placeholder, .compact-form input::placeholder {
  color: var(--muted-foreground);
}

.form-actions {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 27px;
  padding-top: 25px;
  display: flex;
}

.form-actions > span {
  color: var(--muted-foreground);
  font-size: 12px;
}

.form-note {
  color: var(--muted-foreground);
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.8;
}

.file-list {
  margin: 15px 0;
  padding: 0;
  list-style: none;
}

.file-list li {
  color: var(--foreground);
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  padding: 12px;
  font-size: 14px;
  display: flex;
}

.file-list li > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  overflow: hidden;
}

.file-list small {
  color: var(--muted-foreground);
  font-size: 12px;
}

.file-list button {
  display: flex;
}

.tag-picker {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.tag-picker > label {
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 22px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
}

.tag-picker input {
  width: 14px;
  accent-color: var(--ring);
}

.error-message {
  color: var(--danger);
  background: var(--danger-background);
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
}

.surface {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
}

.surface > h2 {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 650;
}

.surface h2 > small {
  color: var(--muted-foreground);
  margin-left: 14px;
  font-size: 13px;
  font-weight: 400;
}

.management-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(290px, .8fr);
  align-items: start;
  gap: 25px;
  display: grid;
}

.compact-form > label {
  margin-top: 24px;
}

.compact-form input, .compact-form select {
  margin-top: 10px;
}

.compact-form > label small {
  color: var(--muted-foreground);
  margin-top: 10px;
  font-size: 12px;
  display: block;
}

.compact-form > button {
  margin-top: 20px;
}

.taxonomy-row {
  border-bottom: 1px solid var(--line);
  color: var(--foreground);
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  font-size: 15px;
  display: flex;
}

.taxonomy-row strong {
  font-weight: 550;
}

.taxonomy-row code {
  color: var(--muted-foreground);
  overflow-wrap: anywhere;
  margin-left: auto;
  font-size: 12px;
}

.quiet-empty {
  text-align: center;
  color: var(--muted-foreground);
  padding: 70px 10px;
  font-size: 14px;
}

.asset-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  display: grid;
}

.asset-tile {
  overflow: hidden;
}

.asset-preview {
  background: var(--surface);
  border-radius: 18px;
  justify-content: center;
  align-items: center;
  height: 245px;
  display: flex;
  overflow: hidden;
}

.asset-preview img, .asset-preview video {
  object-fit: contain;
  width: 100%;
  max-height: 100%;
}

.asset-preview p {
  color: var(--foreground);
  white-space: pre-wrap;
  padding: 20px;
  font-size: 14px;
}

.asset-preview audio {
  width: 90%;
}

.asset-tile-info {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 13px 6px;
  display: flex;
}

.asset-tile h3 {
  overflow-wrap: anywhere;
  width: 100%;
  margin: 0;
  font-size: 14px;
  font-weight: 550;
}

.asset-tile-info > span {
  color: var(--muted-foreground);
  font-size: 12px;
}

.asset-tile-info button {
  color: var(--foreground);
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 12px;
  display: flex;
}

.doodle-layout {
  grid-template-columns: 1fr 300px;
  align-items: start;
  gap: 30px;
  display: grid;
}

.doodle-catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  display: grid;
}

.doodle-card {
  text-align: left;
  border: 2px solid #0000;
  border-radius: 20px;
  padding: 0 0 15px;
  transition: transform .15s;
  overflow: hidden;
}

.doodle-card:hover {
  transform: translateY(-3px);
}

.doodle-card.selected {
  border-color: var(--selection-border);
}

.doodle-card > div {
  aspect-ratio: 1.15;
  background: #777c7b;
  border-radius: 18px;
  place-items: center;
  display: grid;
}

.doodle-card:nth-child(3n+2) > div, .doodle-card:nth-child(3n) > div {
  background: var(--surface-muted);
}

.doodle-card svg {
  width: 70%;
  height: 80%;
}

.doodle-card strong {
  margin: 15px 13px 7px;
  font-size: 16px;
  font-weight: 600;
  display: block;
}

.doodle-card small {
  color: var(--muted-foreground);
  margin: 0 13px;
  font-size: 12px;
  line-height: 1.6;
  display: block;
}

.doodle-inspector {
  text-align: left;
  padding: 22px;
  position: sticky;
  top: 115px;
}

.doodle-large {
  background: #777c7b;
  border-radius: 18px;
  margin-bottom: 24px;
  padding: 25px;
}

.doodle-large svg {
  width: 100%;
  height: 170px;
}

.doodle-inspector h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.doodle-inspector > p {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.8;
}

.swatches {
  gap: 15px;
  margin: 26px 0;
  display: flex;
}

.swatches button {
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 29px;
  height: 29px;
}

.swatches button.selected {
  outline-offset: 3px;
  outline: 2px solid #333;
}

.doodle-inspector > .primary-button, .doodle-inspector > .secondary-button {
  width: 100%;
  margin-top: 12px;
  font-size: 14px;
  display: flex;
}

.coded-detail {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1800px) {
  .main-content {
    padding-left: 35px;
    padding-right: 35px;
  }

  .doodle-catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 1200px) {
  .sidebar {
    width: 180px;
    padding: 26px 12px;
  }

  .main-content {
    margin-left: 180px;
    padding: 0 24px 25px;
  }

  .brand {
    gap: 7px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .nav-item {
    gap: 13px;
    padding: 13px 17px;
    font-size: 16px;
  }

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

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

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(285px, .8fr);
  }

  .detail-info {
    padding: 25px;
  }
}

@media (max-width: 950px) {
  .sidebar {
    width: 88px;
    padding: 26px 14px;
  }

  .brand {
    margin: 0 auto 30px;
    padding: 0;
  }

  .brand strong, .nav-item span, .nav-group > p, .import-link span, .import-link svg:last-child {
    display: none;
  }

  .nav-item {
    justify-content: center;
    gap: 0;
    min-height: 56px;
    padding: 16px 10px;
  }

  .nav-group {
    margin-bottom: 10px;
  }

  .import-link {
    justify-content: center;
    padding: 15px 10px;
  }

  .main-content {
    margin-left: 88px;
    padding: 0 22px 25px;
  }

  .detail-layout, .management-grid {
    grid-template-columns: 1fr;
  }

  .media-stage {
    height: 65vh;
    min-height: 400px;
  }

  .doodle-layout {
    grid-template-columns: 1fr 260px;
    gap: 20px;
  }

  .doodle-catalog {
    gap: 16px;
  }

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

  .page-header p {
    font-size: 13px;
  }

  .sort-label {
    display: none;
  }

  .feed-tabs {
    gap: 3px;
  }

  .feed-tabs a {
    padding: 11px 14px;
    font-size: 14px;
  }
}

@media (max-width: 650px) {
  .sidebar {
    width: 210px;
    padding: 25px 15px;
    transition: transform .2s;
    transform: translateX(-100%);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar .brand {
    margin: 0 10px 25px;
  }

  .sidebar .brand strong, .sidebar .nav-item span, .sidebar .nav-group > p, .sidebar .import-link span {
    display: block;
  }

  .sidebar .nav-item, .sidebar .import-link {
    justify-content: flex-start;
    gap: 15px;
    padding: 13px 18px;
  }

  .main-content {
    margin-left: 0;
    padding: 0 16px 25px;
  }

  .global-topbar {
    gap: 12px;
    height: 83px;
    margin-bottom: 18px;
    padding-left: 45px;
  }

  .global-search {
    gap: 8px;
    height: 46px;
    padding: 0 13px;
  }

  .global-search > svg {
    flex-shrink: 0;
    width: 20px;
  }

  .global-search input {
    font-size: 14px;
  }

  .mobile-menu {
    z-index: 40;
    background: var(--surface);
    border: 0;
    display: flex;
    position: fixed;
    top: 22px;
    left: 12px;
  }

  .mobile-menu[aria-expanded="true"] {
    padding: 4px;
    top: 28px;
    left: 169px;
  }

  .nav-scrim {
    background: var(--scrim);
    z-index: 25;
    position: fixed;
    inset: 0;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0 0 24px;
  }

  .page-header h1 {
    font-size: 25px;
  }

  .page-header p {
    font-size: 13px;
  }

  .feed-tabs a {
    padding: 10px 14px;
    font-size: 14px;
  }

  .feed-toolbar {
    margin-bottom: 19px;
  }

  .post-cover {
    border-radius: 14px;
  }

  .masonry {
    gap: 14px;
  }

  .post-card h3 {
    margin: 9px 4px 7px;
    font-size: 14px;
  }

  .post-meta {
    padding: 0 4px;
    font-size: 11px;
  }

  .empty-state p {
    font-size: 13px;
  }

  .empty-state > small {
    font-size: 11px;
  }

  .detail-top {
    margin-top: 0;
    font-size: 13px;
  }

  .detail-layout {
    border-radius: 18px;
  }

  .media-stage {
    height: 58vh;
    min-height: 300px;
  }

  .detail-info {
    padding: 23px;
  }

  .detail-info h1 {
    font-size: 21px;
  }

  .editor-panel {
    border-radius: 20px;
    padding: 20px;
  }

  .drop-zone {
    min-height: 210px;
  }

  .drop-zone strong {
    font-size: 15px;
  }

  .drop-zone > span:last-child {
    font-size: 11px;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions button {
    width: 100%;
  }

  .kind-picker button {
    padding: 11px 18px;
    font-size: 14px;
  }

  .asset-grid {
    gap: 16px;
  }

  .asset-preview {
    height: 200px;
  }

  .asset-tile-info {
    padding: 11px 3px;
  }

  .asset-tile-info > span {
    font-size: 11px;
  }

  .asset-tile h3 {
    font-size: 13px;
  }

  .management-grid .surface {
    padding: 23px 18px;
  }

  .taxonomy-row code {
    max-width: 45%;
    font-size: 11px;
  }

  .doodle-layout {
    grid-template-columns: 1fr;
  }

  .doodle-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .doodle-inspector {
    position: static;
  }

  .doodle-card strong {
    font-size: 15px;
  }

  .doodle-card small {
    font-size: 11px;
  }
}

.media-stage {
  max-height: 760px;
}

.skill-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  grid-template-columns: minmax(220px, 380px) 1fr;
  max-width: 1000px;
  display: grid;
  overflow: hidden;
}

.skill-card > div:last-child {
  padding: 42px;
}

.skill-card h2 {
  align-items: center;
  gap: 20px;
  margin: 22px 0 16px;
  font-size: 30px;
  display: flex;
}

.skill-card p, .skill-doc p, .skill-doc li {
  color: var(--muted-foreground);
  line-height: 1.9;
}

.skill-card span:last-child {
  font-size: 14px;
}

.skill-art {
  background-color: var(--selection);
  background-image: linear-gradient(45deg,var(--selection) 25%,transparent 25%),linear-gradient(-45deg,var(--selection) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--selection) 75%),linear-gradient(-45deg,transparent 75%,var(--selection) 75%);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
  place-items: center;
  padding: 28px;
  display: grid;
}

.skill-art img {
  object-fit: contain;
  height: 340px;
}

.skill-doc {
  max-width: 1200px;
  margin: auto;
}

.skill-hero {
  background: var(--selection);
  border-radius: 26px;
  grid-template-columns: 1.5fr 1fr;
  display: grid;
  overflow: hidden;
}

.skill-hero > div:first-child {
  padding: 45px;
}

.skill-hero h1 {
  letter-spacing: -1px;
  margin: 24px 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.4;
}

.skill-hero p {
  margin-bottom: 25px;
}

.skill-doc-grid {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 45px;
  margin: 40px 0;
  display: grid;
}

.skill-doc h2 {
  margin: 32px 0 16px;
  font-size: 21px;
}

.skill-doc pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--selection);
  border: 1px solid var(--selection-border);
  color: var(--foreground);
  border-radius: 16px;
  padding: 24px;
  font-size: 13px;
  line-height: 1.8;
}

.skill-doc li {
  margin: 12px 0;
  padding-left: 8px;
}

.skill-sidebar {
  align-self: start;
  position: sticky;
  top: 112px;
}

.skill-sidebar h2 {
  margin-top: 0;
}

.skill-sidebar p {
  font-size: 13px;
}

.skill-sidebar code {
  overflow-wrap: anywhere;
  margin: 16px 0;
  font-size: 12px;
  display: block;
}

.skill-sidebar .secondary-button {
  margin: 12px 0;
  padding: 12px;
  font-size: 13px;
  display: flex;
}

@media (max-width: 800px) {
  .skill-doc-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .skill-sidebar {
    position: static;
  }

  .skill-hero {
    grid-template-columns: 1fr;
  }

  .skill-hero > div:first-child {
    padding: 28px;
  }

  .skill-hero .skill-art img {
    height: 260px;
  }

  .skill-card {
    grid-template-columns: 1fr;
  }

  .skill-card > div:last-child {
    padding: 26px;
  }
}

.wiki-tabs {
  gap: 12px;
  padding: 10px 0 20px;
  display: flex;
  overflow: auto;
}

.wiki-tabs a {
  white-space: nowrap;
  border-radius: 30px;
  padding: 10px 20px;
}

.wiki-tabs .selected {
  background: var(--selection);
  font-weight: 700;
}

.wiki-intro {
  padding: 28px 0 36px;
}

.wiki-intro > span {
  letter-spacing: 3px;
  color: var(--muted-foreground);
  font-size: 11px;
}

.wiki-intro h1 {
  letter-spacing: -1px;
  margin: 14px 0;
  font-size: 34px;
}

.wiki-intro p, .wiki-card p {
  color: var(--muted-foreground);
}

.wiki-cards {
  columns: 4 220px;
  column-gap: 22px;
}

.wiki-card {
  break-inside: avoid;
  width: 100%;
  color: inherit;
  margin-bottom: 28px;
  text-decoration: none;
  display: inline-block;
}

.wiki-cover {
  border-radius: 18px;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 28px;
  display: flex;
}

.wiki-cover small {
  letter-spacing: 2px;
  font-size: 11px;
}

.wiki-cover strong {
  letter-spacing: -1px;
  font-size: 35px;
  line-height: 1.4;
}

.wiki-cover > span {
  opacity: .5;
  font-size: 12px;
}

.wiki-card h2 {
  margin: 14px 2px 6px;
  font-size: 16px;
}

.wiki-card p {
  margin: 0 2px 10px;
  font-size: 13px;
  line-height: 1.7;
}

.wiki-card footer {
  color: var(--muted-foreground);
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.wiki-card footer > span:last-child {
  margin-left: auto;
  font-size: 20px;
}

.wiki-avatar {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  line-height: 23px;
}

.wiki-bottom {
  color: var(--muted-foreground);
  justify-content: space-between;
  padding: 30px 0;
  display: flex;
}

.wiki-article {
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
}

.wiki-label {
  color: var(--primary);
  font-size: 13px;
}

.wiki-article h1 {
  font-size: 38px;
}

.wiki-summary {
  color: var(--muted-foreground);
}

.wiki-body {
  white-space: pre-wrap;
  margin: 40px 0;
  font-size: 17px;
  line-height: 2;
}

.wiki-article footer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13px;
}

.wiki-empty {
  background: var(--selection);
  border-radius: 20px;
  padding: 50px;
}

@media (max-width: 600px) {
  .wiki-intro h1 {
    font-size: 26px;
  }

  .wiki-cards {
    columns: 2;
    column-gap: 12px;
  }

  .wiki-cover {
    padding: 18px;
    min-height: 220px !important;
  }

  .wiki-cover strong {
    font-size: 25px;
  }

  .wiki-article {
    margin: 20px 0;
    padding: 22px;
  }

  .wiki-article h1 {
    font-size: 28px;
  }
}

.discovery-tabs {
  white-space: nowrap;
  gap: 12px;
  padding: 12px 0 24px;
  display: flex;
  overflow: auto;
}

.discovery-tabs a {
  color: var(--muted-foreground);
  border-radius: 30px;
  padding: 10px 22px;
}

.discovery-tabs .selected {
  background: var(--selection);
  color: var(--foreground-strong);
  font-weight: 600;
}

.discovery-grid {
  columns: 4 220px;
  column-gap: 22px;
  padding-bottom: 30px;
}

.discovery-card {
  break-inside: avoid;
  width: 100%;
  color: var(--foreground-strong);
  margin-bottom: 25px;
  text-decoration: none;
  display: inline-block;
}

.discovery-cover {
  border-radius: 17px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.discovery-cover:has(img) {
  padding: 0;
}

.discovery-cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.discovery-cover strong {
  font-size: 32px;
  line-height: 1.45;
}

.discovery-cover small, .discovery-cover > span {
  letter-spacing: 2px;
  opacity: .6;
  font-size: 11px;
}

.discovery-card h2 {
  margin: 11px 2px;
  font-size: 16px;
  line-height: 1.5;
}

.discovery-card footer {
  color: var(--muted-foreground);
  align-items: center;
  gap: 7px;
  font-size: 12px;
  display: flex;
}

.discovery-card footer > span:last-child {
  margin-left: auto;
  font-size: 20px;
}

.note-overlay {
  z-index: 1000;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
  padding: 38px 7vw;
  display: flex;
  position: fixed;
  inset: 0;
}

.note-dialog {
  background: var(--surface);
  width: min(1180px, 100%);
  height: min(860px, 88vh);
  box-shadow: 0 20px 90px var(--shadow);
  border-radius: 24px;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, 1fr);
  display: grid;
  position: relative;
}

.note-close {
  background: var(--surface);
  width: 40px;
  height: 40px;
  color: var(--foreground);
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: absolute;
  top: 0;
  left: -56px;
}

.note-stage {
  background: var(--surface);
  border-radius: 24px 0 0 24px;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.note-stage > img, .note-stage > video {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.note-stage:has(video) {
  background: var(--surface);
}

.note-title-cover {
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 55px;
  display: flex;
}

.note-title-cover strong {
  letter-spacing: -2px;
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1.5;
}

.note-title-cover small, .note-title-cover > span {
  letter-spacing: 3px;
  opacity: .6;
  font-size: 13px;
}

.note-prev, .note-next {
  background: var(--surface);
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 35px;
  height: 35px;
  display: grid;
  position: absolute;
  top: 48%;
}

.note-prev {
  left: 15px;
}

.note-next {
  right: 15px;
}

.note-prev:disabled, .note-next:disabled {
  opacity: .2;
}

.note-count {
  background: var(--surface);
  color: var(--foreground);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  position: absolute;
  top: 15px;
  right: 15px;
}

.note-dots {
  justify-content: center;
  gap: 8px;
  display: flex;
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
}

.note-dots button {
  background: var(--surface-muted);
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  padding: 0;
}

.note-dots .selected {
  background: var(--selection);
}

.note-info {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.note-info > header {
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding: 26px 28px;
  display: flex;
}

.note-author-avatar {
  background: var(--primary);
  width: 40px;
  height: 40px;
  color: var(--primary-foreground);
  border-radius: 50%;
  place-items: center;
  font-weight: 700;
  display: grid;
}

.note-info header b {
  font-size: 15px;
}

.note-info header small {
  color: var(--muted-foreground);
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.note-category-button {
  border: 1px solid var(--selection-border);
  color: var(--primary);
  border-radius: 24px;
  margin-left: auto;
  padding: 8px 17px;
  font-size: 13px;
}

.note-content {
  overscroll-behavior: contain;
  flex: 1;
  padding: 8px 28px 28px;
  overflow: auto;
}

.note-content h1 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.6;
}

.note-content h3 {
  margin: 24px 0 10px;
  font-size: 16px;
}

.note-content p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.95;
}

.note-content pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--selection);
  border-radius: 12px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.7;
}

.note-content a, .note-tags {
  color: var(--foreground);
}

.note-id {
  color: var(--muted-foreground);
  overflow-wrap: anywhere;
  margin-top: 25px;
  font-size: 11px;
}

.note-info > footer {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 19px 25px;
  display: flex;
}

.note-info footer button, .note-info footer a {
  font: inherit;
  color: var(--muted-foreground);
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: flex;
}

.note-audio {
  text-align: center;
  width: 80%;
}

.note-audio > span {
  margin-bottom: 40px;
  font-size: 100px;
  display: block;
}

.note-audio audio {
  width: 100%;
}

.discovery-empty {
  color: var(--muted-foreground);
  text-align: center;
  padding: 50px;
}

@media (max-width: 760px) {
  .discovery-grid {
    columns: 2;
    column-gap: 12px;
  }

  .discovery-cover {
    padding: 20px;
  }

  .discovery-cover strong {
    font-size: 24px;
  }

  .discovery-card h2 {
    font-size: 14px;
  }

  .note-overlay {
    background: var(--scrim);
    align-items: flex-start;
    padding: 0;
    overflow: auto;
  }

  .note-dialog {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    box-shadow: none;
    border-radius: 0;
    flex-direction: column;
    display: flex;
  }

  .note-close {
    z-index: 3;
    background: var(--surface);
    top: 14px;
    left: 14px;
  }

  .note-stage {
    border-radius: 0;
    flex-shrink: 0;
    height: 56dvh;
    min-height: 320px;
  }

  .note-info {
    min-height: 44dvh;
  }

  .note-info > header {
    padding: 20px;
  }

  .note-content {
    padding: 0 20px 25px;
    overflow: visible;
  }

  .note-content h1 {
    font-size: 20px;
  }

  .note-info > footer {
    background: var(--surface);
    position: sticky;
    bottom: 0;
  }

  .note-title-cover {
    padding: 45px;
  }

  .note-title-cover strong {
    font-size: 34px;
  }
}

.discovery-note-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.discovery-description {
  color: var(--muted-foreground);
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  margin: 0 2px 9px;
  font-size: 13px;
  line-height: 1.8;
  display: -webkit-box;
  overflow: hidden;
}

.discovery-tags {
  color: var(--foreground);
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 0 2px;
  font-size: 12px;
  line-height: 1.7;
  display: flex;
}

.discovery-tags a:hover {
  text-decoration: underline;
}

.discovery-cover > .discovery-image-count {
  z-index: 1;
  background: var(--surface);
  color: var(--foreground);
  opacity: 1;
  letter-spacing: 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 13px;
  line-height: 1.4;
  display: flex;
  position: absolute;
  top: 12px;
  right: 12px;
}

.note-info > .note-content {
  padding-top: 32px;
}

.note-content > .note-description {
  color: var(--muted-foreground);
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
}

.note-content > .note-tags {
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 25px;
  font-size: 13px;
  display: flex;
}

.note-content > .note-tags a {
  color: var(--foreground);
}

@media (max-width: 760px) {
  .discovery-description {
    -webkit-line-clamp: 3;
    font-size: 12px;
  }

  .discovery-tags {
    gap: 3px 8px;
    font-size: 11px;
  }

  .discovery-cover > .discovery-image-count {
    font-size: 12px;
    top: 9px;
    right: 9px;
  }

  .note-info > .note-content {
    padding-top: 24px;
  }
}

.note-content a.note-inline-link {
  background: var(--selection);
  max-width: 100%;
  color: var(--foreground);
  vertical-align: baseline;
  overflow-wrap: anywhere;
  border-radius: 5px;
  align-items: baseline;
  gap: 4px;
  padding: 0 5px;
  text-decoration: none;
  display: inline-flex;
}

.note-inline-link svg {
  opacity: .65;
  flex-shrink: 0;
  align-self: center;
}

.note-content a.note-inline-link:hover {
  background: var(--selection);
  text-underline-offset: 3px;
  text-decoration: underline;
}

.note-content a.note-inline-link:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.tag-input-selected, .tag-input-suggestions {
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
  display: flex;
}

.tag-input-selected button, .tag-input-suggestions button {
  background: var(--surface);
  color: var(--foreground);
  cursor: pointer;
  border: 0;
  border-radius: 16px;
  padding: 6px 10px;
  font-size: 13px;
}

.tag-input-selected span {
  color: var(--muted-foreground);
  margin-left: 8px;
}

.tag-input-row {
  align-items: center;
  gap: 10px;
  display: flex;
}

.tag-input-row input {
  flex: 1;
  min-width: 0;
}

.tag-input-row button {
  flex-shrink: 0;
}

.note-markdown {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.9;
}

.note-markdown ul, .note-markdown ol {
  margin: 12px 0 22px;
  padding-left: 1.6em;
  list-style-position: outside;
}

.note-markdown ul {
  list-style-type: disc;
}

.note-markdown ol {
  list-style-type: decimal;
}

.note-markdown ul ul {
  list-style-type: circle;
}

.note-markdown ul ul ul {
  list-style-type: square;
}

.note-markdown li {
  margin: 5px 0;
  padding-left: 3px;
  display: list-item;
}

.note-markdown li::marker {
  color: var(--muted-foreground);
}

.note-markdown li > p {
  white-space: normal;
  margin: 0 0 6px;
}

.note-markdown li > ul, .note-markdown li > ol {
  margin: 5px 0 9px;
}

.note-markdown .contains-task-list {
  padding-left: 0;
  list-style: none;
}

.note-markdown .task-list-item input {
  accent-color: var(--ring);
  margin-right: 8px;
}

.note-markdown h2 {
  margin: 26px 0 12px;
  font-size: 19px;
}

.note-markdown h3 {
  font-size: 17px;
}

.note-markdown h4 {
  margin: 20px 0 8px;
  font-size: 15px;
}

.note-markdown blockquote {
  border-left: 3px solid var(--selection-border);
  color: var(--muted-foreground);
  margin: 18px 0;
  padding: 3px 0 3px 14px;
}

.note-markdown table {
  border-collapse: collapse;
  max-width: 100%;
  margin: 16px 0;
  display: block;
  overflow-x: auto;
}

.note-markdown th, .note-markdown td {
  border: 1px solid var(--border);
  white-space: normal;
  padding: 7px 10px;
}

.note-markdown th {
  background: var(--surface);
}

.note-markdown :not(pre) > code {
  background: var(--surface);
  border-radius: 4px;
  padding: 2px 4px;
  font-size: .87em;
}

.note-markdown pre code {
  background: none;
  padding: 0;
}

.note-editor fieldset {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.note-editor .form-field {
  margin: 18px 0;
}

.note-editor .form-field > label {
  margin-bottom: 8px;
  font-size: 14px;
  display: block;
}

.note-editor label small {
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 400;
}

.note-editor input, .note-editor textarea {
  box-sizing: border-box;
  border: 1px solid var(--input);
  width: 100%;
  font: inherit;
  background: var(--surface);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.7;
}

.note-editor textarea {
  resize: vertical;
}

.note-editor input:focus, .note-editor textarea:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}

.note-editor .note-editor-body {
  tab-size: 2;
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 13px;
}

.note-editor details {
  margin: 16px 0;
}

.note-editor summary {
  cursor: pointer;
  color: var(--muted-foreground);
  font-size: 13px;
}

.note-editor-actions {
  background: var(--surface);
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 0;
  display: flex;
  position: sticky;
  bottom: -28px;
}

.note-editor .tag-input-row input {
  width: 0;
}

.note-editor .tag-input-selected button, .note-editor .tag-input-suggestions button {
  font: inherit;
  font-size: 12px;
}

.brand strong {
  letter-spacing: -.6px;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.global-search .search-submit {
  white-space: nowrap;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 18px;
  padding: 7px 12px;
  font-size: 13px;
}

.backlink-count {
  color: var(--muted-foreground);
  align-items: center;
  gap: 5px;
  margin: 0 2px 10px;
  font-size: 12px;
  display: inline-flex;
}

.backlink-count:hover {
  color: var(--foreground);
  text-decoration: underline;
}

.search-results-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 15px;
  display: flex;
}

.search-results-heading span {
  color: var(--muted-foreground);
  font-size: 12px;
}

.discovery-card .search-excerpt {
  color: var(--muted-foreground);
  border-left: 2px solid var(--border);
  overflow-wrap: anywhere;
  margin: 0 2px 12px;
  padding-left: 9px;
  font-size: 12px;
  line-height: 1.7;
}

.note-backlinks {
  border-top: 1px solid var(--border);
  margin-top: 26px;
  padding-top: 18px;
}

.note-backlinks h2 {
  font-size: 15px;
  font-weight: 600;
}

.note-backlinks ul {
  gap: 12px;
  padding: 0;
  list-style: none;
  display: grid;
}

.note-backlinks a {
  font-size: 13px;
  line-height: 1.7;
}

.note-backlinks p {
  color: var(--muted-foreground);
  font-size: 13px;
}

.auth-page {
  background: radial-gradient(ellipse at 12% 8%,var(--selection) 0,transparent 55%),radial-gradient(ellipse at 95% 95%,var(--selection) 0,transparent 50%),var(--selection);
  min-height: 100dvh;
  color: var(--foreground-strong);
  place-items: center;
  padding: 32px 24px;
  display: grid;
}

.auth-card {
  background: var(--selection);
  border: 1px solid var(--selection-border);
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 70px var(--shadow),0 2px 8px var(--shadow);
  border-radius: 28px;
  padding: 40px 32px 32px;
}

.auth-logo {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 8px 14px var(--muted-foreground));
  margin: 0 0 30px;
  display: block;
}

.auth-card h1 {
  letter-spacing: -1px;
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 650;
}

.auth-description, .auth-footnote {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.8;
}

.auth-description {
  margin: 0;
}

.auth-card label {
  color: var(--foreground);
  margin: 28px 0 10px;
  font-size: 13px;
  font-weight: 550;
  display: block;
}

.auth-card input {
  box-sizing: border-box;
  border: 1px solid var(--selection-border);
  font-variant-numeric: tabular-nums;
  letter-spacing: .3em;
  text-align: center;
  width: 100%;
  min-width: 0;
  color: var(--primary);
  caret-color: var(--primary);
  background: var(--selection);
  border-radius: 14px;
  padding: 15px 14px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 30px;
  transition: border-color .18s, box-shadow .18s;
}

.auth-card input::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}

.auth-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--shadow);
  background: var(--surface);
  outline: none;
}

.auth-card > button {
  background: var(--primary);
  width: 100%;
  min-height: 50px;
  color: var(--primary-foreground);
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  transition: background .18s, box-shadow .18s;
}

.auth-card > button:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 5px 16px var(--shadow);
}

.auth-card > button:focus-visible {
  outline: 3px solid var(--muted-foreground);
  outline-offset: 3px;
}

.auth-card > button:disabled {
  background: var(--primary);
  color: var(--primary-foreground);
  opacity: 1;
  cursor: default;
}

.auth-error {
  color: var(--danger);
  min-height: 44px;
  padding-top: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.auth-footnote {
  text-align: center;
  color: var(--muted-foreground);
  margin: 24px 0 0;
  font-size: 12px;
}

.auth-logout {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted-foreground);
  cursor: pointer;
  border-radius: 10px;
  margin: 24px 16px;
  padding: 10px 14px;
}

@media (max-width: 420px) {
  .auth-page {
    padding: 24px 18px;
  }

  .auth-card {
    border-radius: 24px;
    padding: 32px 24px 28px;
  }

  .auth-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 26px;
  }

  .auth-card h1 {
    font-size: 26px;
  }
}

.brand strong {
  letter-spacing: -1px;
  font-size: 23px;
}

.discovery-card {
  margin-bottom: 22px;
  position: relative;
}

.discovery-cover {
  border-radius: 14px;
  max-height: 340px;
}

.discovery-cover img {
  object-fit: contain;
}

.discovery-card h2 {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 10px 2px 7px;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
}

.discovery-card-meta {
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin: 0 2px;
  display: flex;
}

.discovery-card-meta .discovery-tags {
  white-space: nowrap;
  flex: 1;
  gap: 5px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  line-height: 22px;
  display: flex;
  overflow: hidden;
}

.discovery-card-meta .discovery-tags a {
  text-overflow: ellipsis;
  max-width: 110px;
  overflow: hidden;
}

.discovery-card-meta .discovery-tags > span {
  color: var(--muted-foreground);
}

.discovery-card-meta .backlink-count {
  color: var(--muted-foreground);
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 13px;
  display: flex;
}

.quick-tags-trigger {
  color: var(--muted-foreground);
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 4px;
  display: inline-flex;
}

.quick-tags-trigger:hover {
  background: var(--row-hover);
  color: var(--foreground);
}

.discovery-system-tags {
  z-index: 2;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 68px);
  display: flex;
  position: absolute;
  top: 10px;
  left: 10px;
}

.discovery-system-tags > span {
  background: var(--surface);
  color: var(--foreground);
  letter-spacing: 0;
  box-shadow: 0 1px 4px var(--shadow);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 20px;
}

.ordinary-tag-filter {
  color: var(--foreground);
  gap: 16px;
  margin: 0 0 20px;
  font-size: 13px;
  display: flex;
}

.ordinary-tag-filter a {
  color: var(--muted-foreground);
}

.system-tag-pill {
  background: var(--surface);
  border-radius: 12px;
  margin-right: 6px;
  padding: 3px 8px;
  font-size: 11px;
  display: inline-block;
}

.note-tags {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  display: flex;
  position: relative;
}

.tag-popover {
  z-index: 12;
  background: var(--surface);
  border: 1px solid var(--border);
  width: min(350px, 100vw - 32px);
  box-shadow: 0 12px 40px var(--shadow);
  color: var(--foreground-strong);
  white-space: normal;
  border-radius: 14px;
  max-height: 65vh;
  padding: 18px;
  font-size: 13px;
  position: absolute;
  top: 100%;
  right: 0;
  overflow: auto;
}

.tag-popover header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

.tag-popover header button {
  display: flex;
}

.tag-popover .form-field {
  margin-bottom: 16px;
}

.tag-popover .tag-input-row {
  gap: 6px;
}

.tag-popover .tag-input-row .secondary-button {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
}

.tag-popover .primary-button {
  min-height: 34px;
  padding: 8px 14px;
  font-size: 12px;
}

.system-tag-picker {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 16px 0;
  padding: 12px;
}

.system-tag-picker legend {
  font-size: 13px;
}

.system-tag-picker small {
  color: var(--muted-foreground);
  margin-left: 6px;
  font-size: 10px;
}

.system-tag-picker > input {
  border: 1px solid var(--input);
  border-radius: 6px;
  width: 100%;
  margin: 4px 0 10px;
  padding: 7px;
}

.system-tag-picker > div {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.system-tag-picker label {
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: flex;
}

.system-tag-picker input[type="checkbox"] {
  accent-color: var(--ring);
}

.tag-input-selected button, .tag-input-suggestions button {
  font-size: 12px;
}

.tag-popover .error-message {
  font-size: 11px;
}

@media (max-width: 760px) {
  .discovery-card h2 {
    margin-top: 9px;
    margin-bottom: 7px;
    font-size: 16px;
  }

  .discovery-card-meta {
    gap: 5px;
  }

  .discovery-card-meta .discovery-tags, .discovery-card-meta .backlink-count {
    font-size: 12px;
  }

  .discovery-system-tags {
    top: 8px;
    left: 8px;
  }

  .discovery-system-tags > span {
    padding: 1px 7px;
    font-size: 11px;
  }

  .tag-popover {
    z-index: 1100;
    width: auto;
    position: fixed;
    inset: auto 16px 18px;
  }
}

.discovery-card-meta .discovery-tags a {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

.discovery-system-tags {
  opacity: 1;
  letter-spacing: 0;
}

@media (min-width: 761px) {
  .tag-popover {
    z-index: 1100;
    width: min(380px, 100vw - 32px);
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }
}

.discovery-card-meta .backlink-count svg {
  width: 16px;
  height: 16px;
}

.discovery-card .discovery-image-count svg {
  width: 15px;
  height: 15px;
}

.note-archive-status {
  background: var(--selection);
  color: var(--primary);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
}

.note-info > footer {
  flex-wrap: wrap;
}

@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-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: 0;
}

@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
}

/* [project]/apps/waterfall-wiki/src/styles/skill-docs.css [client] (css) */
.skills-masonry {
  columns: 4 230px;
  column-gap: 24px;
}

.skill-pin {
  break-inside: avoid;
  margin: 0 0 28px;
  display: block;
}

.skill-pin-cover {
  aspect-ratio: 4 / 5;
  place-items: center;
  max-height: 440px;
  display: grid;
  background: var(--selection) !important;
}

.skill-pin-cover img {
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain !important;
}

.docs-top {
  color: var(--muted-foreground);
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
  font-size: 13px;
  display: flex;
}

.docs-top button {
  align-items: center;
  gap: 8px;
  display: flex;
}

.docs-layout {
  grid-template-columns: minmax(0, 800px);
  justify-content: center;
  gap: 35px;
  max-width: 1200px;
  margin: auto;
  display: grid;
}

.docs-layout.with-sources {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.docs-body {
  min-width: 0;
  padding: 18px 12px 70px;
}

.docs-eyebrow {
  color: var(--muted-foreground);
  letter-spacing: 1.5px;
  font-size: 11px;
}

.docs-body h1 {
  letter-spacing: -1px;
  margin: 18px 0 24px;
  font-size: 38px;
  font-weight: 700;
}

.docs-body h2 {
  margin: 40px 0 20px;
  font-size: 23px;
  font-weight: 650;
}

.docs-body > p {
  color: var(--foreground);
  margin: 22px 0;
  font-size: 15px;
  line-height: 2;
}

.docs-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  display: flex;
}

.docs-actions button {
  background: var(--surface);
  color: var(--foreground);
  border-radius: 24px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  display: flex;
}

.docs-actions a {
  color: var(--muted-foreground);
}

.docs-body > .docs-hint {
  color: var(--muted-foreground);
  font-size: 12px;
}

.docs-body pre, .docs-resource-preview pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--surface);
  color: var(--foreground);
  border-radius: 15px;
  padding: 22px;
  font-size: 12px;
  line-height: 1.9;
}

.docs-inline-links {
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  display: flex;
}

.docs-inline-links a {
  border: 1px solid var(--border);
  color: var(--foreground);
  border-radius: 20px;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  font-size: 12px;
  display: flex;
}

.docs-sources {
  border: 1px solid var(--border);
  background: var(--surface);
  max-height: calc(100vh - 125px);
  box-shadow: 0 8px 35px var(--shadow);
  border-radius: 18px;
  align-self: start;
  padding: 20px;
  position: sticky;
  top: 105px;
  overflow: auto;
}

.docs-sources > header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 18px;
  display: flex;
}

.docs-sources header b {
  font-size: 16px;
}

.docs-sources header small {
  color: var(--muted-foreground);
  margin-top: 7px;
  font-size: 11px;
  display: block;
}

.docs-sources h3 {
  color: var(--muted-foreground);
  margin: 21px 0 10px;
  font-size: 12px;
}

.docs-sources section > button {
  text-align: left;
  border-radius: 10px;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  padding: 12px 8px;
  display: flex;
}

.docs-sources section > button.selected, .docs-sources section > button:hover {
  background: var(--selection);
}

.docs-sources section > button > span {
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  border-radius: 5px;
  flex-shrink: 0;
  padding: 3px 4px;
  font-size: 9px;
}

.docs-sources section > button > div {
  color: var(--foreground);
  min-width: 0;
  font-size: 12px;
}

.docs-sources section small {
  overflow-wrap: anywhere;
  color: var(--muted-foreground);
  margin-top: 5px;
  font-size: 10px;
  display: block;
}

.docs-resource-preview {
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.docs-resource-preview img {
  object-fit: contain;
  background: repeating-conic-gradient(var(--surface) 0 25%,var(--surface) 0 50%) 0/16px 16px;
  width: 100%;
  max-height: 350px;
}

.docs-resource-preview pre {
  max-height: 330px;
  padding: 12px;
  font-size: 10px;
  overflow: auto;
}

.docs-resource-preview p, .docs-resource-preview code {
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.8;
}

.docs-resource-actions {
  color: var(--foreground);
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
  font-size: 12px;
  display: flex;
}

.docs-body a:focus-visible, .docs-sources button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .docs-layout.with-sources {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .docs-layout.with-sources {
    display: block;
  }

  .docs-sources {
    z-index: 45;
    max-height: none;
    box-shadow: 0 0 0 100vmax var(--shadow);
    position: fixed;
    inset: 95px 12px 18px;
  }

  .docs-body h1 {
    font-size: 30px;
  }

  .docs-body {
    padding: 10px 0 40px;
  }

  .docs-body > p {
    font-size: 14px;
  }

  .skills-masonry {
    columns: 2;
    column-gap: 15px;
  }

  .skill-pin-cover img {
    padding: 12px;
  }

  .snapshot-reader {
    padding: 14px 8px;
  }

  .snapshot-reader > header {
    flex-direction: column;
    align-items: flex-start;
  }

  .snapshot-reader nav {
    gap: 10px;
  }

  .snapshot-reader nav a {
    font-size: 11px;
  }
}

.guidance-directory {
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.guidance-directory > div {
  border-bottom: 1px solid var(--border);
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  display: grid;
}

.guidance-directory > div > a:first-child {
  color: var(--foreground);
  font-size: 15px;
}

.guidance-directory small, .guidance-directory > div > a:last-child {
  color: var(--muted-foreground);
  font-size: 12px;
}

@media (max-width: 760px) {
  .guidance-directory > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .guidance-directory small {
    grid-area: 2 / 1;
  }

  .guidance-directory > div > a:last-child {
    grid-area: 1 / 2 / 3;
  }
}

/* [project]/apps/waterfall-wiki/src/styles/learning-series.css [client] (css) */
.learning-reader {
  border-radius: 14px;
  padding: 16px 10px;
}

.learning-reader button {
  cursor: pointer;
}

.learning-reader button:focus-visible, .learning-reader a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 4px;
}

.learning-reader-bar {
  gap: 10px;
  margin-bottom: 16px;
  padding: 0 3px;
}

.learning-reader-bar > div {
  gap: 9px;
  display: grid;
}

.learning-reader-badge {
  font-size: 10px;
}

.learning-reader-bar strong {
  font-size: 12px;
  line-height: 1.6;
}

.learning-reader-bar > button {
  padding: 9px 10px;
  font-size: 11px;
}

.learning-boards {
  outline-offset: 6px;
  max-width: 720px;
  margin: auto;
  container-type: inline-size;
}

.learning-boards.is-continuous {
  gap: 24px;
  display: grid;
}

.learning-cover, .learning-sheet {
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 5px 22px #343b2810;
}

.learning-cover img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}

.learning-sheet {
  background: var(--learning-paper);
  color: var(--learning-ink);
  padding: 5.6cqw 6.8cqw;
  font-size: 1.8cqw;
  line-height: 1.5;
  position: relative;
}

.learning-sheet-top {
  letter-spacing: .08em;
  color: #707665;
  border-bottom: 1px solid #dcded1;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.6cqw;
  font-size: 1.25cqw;
  display: flex;
}

.learning-sheet-top > span:last-child {
  font-family: Arial, sans-serif;
  font-size: 1.15cqw;
}

.learning-sheet-footer {
  color: #787c70;
  border-top: 1px solid #dcded1;
  justify-content: space-between;
  padding-top: 1.9cqw;
  font-size: 1.2cqw;
  display: flex;
  position: absolute;
  bottom: 3.3cqw;
  left: 6.8cqw;
  right: 6.8cqw;
}

.learning-sheet-footer b {
  color: #34392b;
  margin-left: 2cqw;
  font-weight: 600;
}

.learning-intro {
  margin-bottom: 3.6cqw;
  padding-top: 4.5cqw;
}

.learning-chapter {
  letter-spacing: .08em;
  color: #727963;
  font-size: 1.5cqw;
}

.learning-intro h2, .learning-ending h2 {
  letter-spacing: -.04em;
  margin: 2.6cqw 0 2cqw;
  font-size: 5.8cqw;
  font-weight: 800;
  line-height: 1.28;
}

.learning-sheet mark {
  color: inherit;
  background: linear-gradient(transparent 45%,var(--learning-accent) 45%,var(--learning-accent) 93%,transparent 93%);
  padding: 0 .15em;
}

.learning-intro > p, .learning-ending > p {
  color: #676e5f;
  margin: 0;
  font-size: 1.85cqw;
}

.learning-audience {
  letter-spacing: .02em;
  border: 1px solid #d6d9cb;
  border-radius: 20px;
  margin-top: 2.2cqw;
  padding: .7cqw 1.4cqw;
  font-size: 1.35cqw;
  display: inline-block;
}

.learning-index {
  grid-template-columns: 1fr;
  gap: 0;
  display: grid;
}

.learning-index button {
  text-align: left;
  background: none;
  border-bottom: 1px solid #e2e4d9;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.35cqw 0;
  display: flex;
}

.learning-index button > span {
  color: #84916a;
  min-width: 4cqw;
  font-family: Georgia, serif;
  font-size: 3.2cqw;
  font-style: italic;
}

.learning-index button > div {
  flex: 1;
  min-width: 0;
}

.learning-index strong {
  font-size: 2cqw;
  font-weight: 650;
  display: block;
}

.learning-index small {
  color: #858c79;
  font-size: 1.2cqw;
  line-height: 1.55;
  display: block;
}

.learning-index svg {
  color: #7e886c;
  flex-shrink: 0;
  width: 2.3cqw;
}

.learning-index-note {
  color: #727b63;
  align-items: center;
  gap: 1cqw;
  margin-top: 2.4cqw;
  font-size: 1.4cqw;
  display: flex;
}

.learning-index-note svg {
  width: 2cqw;
}

.learning-pair-title {
  padding: 3.7cqw 0 2.7cqw;
}

.learning-pair-title > span {
  color: #7c846d;
  font-size: 1.3cqw;
}

.learning-pair-title h2 {
  letter-spacing: -.035em;
  margin: .6cqw 0 0;
  font-size: 3.5cqw;
  font-weight: 750;
}

.learning-skill {
  border-top: 1px solid #d9ddcf;
  padding: 2.6cqw 0;
}

.learning-skill-heading {
  align-items: center;
  gap: 1.9cqw;
  display: flex;
}

.learning-number {
  color: #343b2a;
  z-index: 0;
  min-width: 6.7cqw;
  font-family: Georgia, serif;
  font-size: 5.3cqw;
  font-style: italic;
  line-height: 1;
  position: relative;
}

.learning-number:after {
  content: "";
  z-index: -1;
  background: var(--learning-accent);
  height: 2cqw;
  position: absolute;
  bottom: .1cqw;
  left: 0;
  right: -.2cqw;
  transform: rotate(-5deg);
}

.learning-category {
  color: #778168;
  letter-spacing: .08em;
  font-size: 1.2cqw;
}

.learning-skill h3 {
  letter-spacing: -.025em;
  margin: .3cqw 0 0;
  font-size: 2.7cqw;
  font-weight: 750;
  line-height: 1.4;
}

.learning-skill-name {
  color: #717b62;
  overflow-wrap: anywhere;
  align-items: center;
  gap: .7cqw;
  width: fit-content;
  max-width: calc(100% - 8.6cqw);
  margin: 1.15cqw 0 1.55cqw 8.6cqw;
  font-family: Arial, sans-serif;
  font-size: 1.25cqw;
  display: flex;
}

.learning-skill-name svg {
  flex-shrink: 0;
  width: 1.4cqw;
  height: 1.4cqw;
}

.learning-io {
  gap: .75cqw;
  margin-bottom: 1.7cqw;
  display: grid;
}

.learning-io p {
  align-items: baseline;
  gap: 1.2cqw;
  margin: 0;
  font-size: 1.7cqw;
  line-height: 1.6;
  display: flex;
}

.learning-io b {
  color: #626c53;
  background: #e8eadd;
  border-radius: 4px;
  flex-shrink: 0;
  padding: .2cqw .8cqw;
  font-size: 1.35cqw;
  font-weight: 600;
}

.learning-sample {
  background: #fffefa;
  border: 1px solid #dce0d1;
  border-radius: .9cqw;
  margin-bottom: 1.7cqw;
  padding: 1.2cqw 1.9cqw;
  position: relative;
}

.sample-label {
  color: #939987;
  margin-bottom: .8cqw;
  font-size: 1.05cqw;
  display: block;
}

.learning-sample > div {
  align-items: center;
  gap: 1.2cqw;
  padding: .4cqw 0;
  font-size: 1.5cqw;
  display: flex;
}

.learning-sample > div > span {
  color: #9ca48e;
  font-family: Arial, sans-serif;
  font-size: 1cqw;
}

.learning-sample p {
  flex: 1;
  margin: 0;
}

.learning-sample svg {
  color: #849c59;
  width: 1.6cqw;
  height: 1.6cqw;
}

.sample-1 {
  background: repeating-linear-gradient(#fffefa 0 3.05cqw, #e8eade 3.05cqw 3.15cqw);
}

.sample-2 > div:first-of-type p {
  background: linear-gradient(transparent 55%,var(--learning-accent) 55%);
  flex: initial;
  width: fit-content;
}

.learning-prompt {
  align-items: baseline;
  gap: 1.2cqw;
  display: flex;
}

.learning-prompt > span {
  white-space: nowrap;
  color: #63714f;
  font-size: 1.2cqw;
  font-weight: 600;
}

.learning-prompt p {
  margin: 0;
  font-size: 1.55cqw;
  line-height: 1.8;
}

.learning-caveat {
  color: #858c79;
  margin: 1.1cqw 0 0;
  font-size: 1.2cqw;
  line-height: 1.6;
}

.learning-ending {
  padding: 5cqw 0 3cqw;
}

.learning-ending h2 {
  font-size: 5.2cqw;
}

.learning-workflow {
  gap: 1cqw;
  margin: 1cqw 0 3.5cqw;
  padding: 0;
  list-style: none;
  display: grid;
}

.learning-workflow li {
  background: #ecefdf;
  border-radius: .7cqw;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.4cqw 1.8cqw;
  font-size: 1.9cqw;
  display: flex;
  position: relative;
}

.learning-workflow b {
  font-family: Georgia, serif;
  font-size: 2.6cqw;
  font-style: italic;
}

.learning-workflow svg {
  color: #8b9579;
  width: 2cqw;
  height: 2cqw;
  margin-left: auto;
}

.learning-source-box {
  background: #fffefa;
  border: 1px solid #d5dac8;
  border-radius: .8cqw;
  padding: 2.5cqw;
}

.learning-source-box h3 {
  justify-content: space-between;
  align-items: center;
  margin: 0 0 1.6cqw;
  font-size: 2.3cqw;
  font-weight: 700;
  display: flex;
}

.learning-source-box h3 svg {
  width: 2.4cqw;
  height: 2.4cqw;
}

.learning-source-box > div {
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5cqw;
  display: grid;
}

.learning-source-box a {
  overflow-wrap: anywhere;
  border-bottom: 1px solid #e8ebdf;
  align-items: center;
  gap: .9cqw;
  min-width: 0;
  padding: 1.1cqw 0;
  font-family: Arial, sans-serif;
  font-size: 1.25cqw;
  display: flex;
}

.learning-source-box a > span {
  color: #98a18b;
  font-size: 1cqw;
}

.learning-source-box a svg {
  flex-shrink: 0;
  width: 1.3cqw;
  height: 1.3cqw;
  margin-left: auto;
}

.learning-source-box p {
  color: #87917a;
  margin: 1.8cqw 0 0;
  font-size: 1.2cqw;
  line-height: 1.8;
}

.learning-series-reminder {
  gap: .9cqw;
  margin-top: 3cqw;
  font-size: 1.35cqw;
  display: grid;
}

.learning-series-reminder > b {
  color: #7e886d;
  font-size: 1.2cqw;
}

.learning-series-reminder a {
  align-items: center;
  gap: .8cqw;
  display: flex;
}

.learning-series-reminder svg {
  width: 1.4cqw;
  height: 1.4cqw;
}

.learning-pagination {
  margin-top: 17px;
}

.learning-pagination > button {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  place-items: center;
  width: 39px;
  height: 39px;
  display: grid;
}

.learning-pagination > button:disabled {
  opacity: .35;
  cursor: default;
}

.learning-pagination > span {
  text-align: center;
  font-variant-numeric: tabular-nums;
  min-width: 105px;
  font-size: 13px;
}

.learning-pagination small {
  color: var(--muted-foreground);
  margin-top: 5px;
  font-size: 10px;
  display: block;
}

.learning-page-tabs {
  gap: 7px;
  max-width: 720px;
  margin: 0 auto;
  padding: 5px 2px 12px;
  display: flex;
  overflow-x: auto;
}

.learning-page-tabs > button {
  border: 1px solid var(--border);
  background: var(--selection);
  min-width: 65px;
  color: var(--muted-foreground);
  white-space: nowrap;
  border-radius: 9px;
  flex: 1;
  gap: 5px;
  padding: 10px 8px;
  font-size: 10px;
  display: grid;
}

.learning-page-tabs > button > span {
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}

.learning-page-tabs > button.selected {
  background: var(--selection);
  color: var(--foreground);
  border-color: var(--selection-border);
}

.learning-related {
  border-top: 1px solid var(--border);
  max-width: 720px;
  margin: 22px auto 0;
  padding-top: 20px;
}

.learning-related > span {
  color: var(--muted-foreground);
  font-size: 11px;
}

.learning-related > div {
  gap: 8px;
  margin-top: 12px;
  display: grid;
}

.learning-related a {
  font-size: 11px;
  line-height: 1.7;
}

.learning-related a > b {
  color: var(--muted-foreground);
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
}

.learning-related a > svg {
  flex-shrink: 0;
  margin-left: auto;
}

.learning-related a.selected {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 650px) {
  .learning-reader {
    border-radius: 14px;
    padding: 16px 10px;
  }

  .learning-reader-bar {
    gap: 10px;
    margin-bottom: 16px;
    padding: 0 3px;
  }

  .learning-reader-bar strong {
    font-size: 12px;
    line-height: 1.6;
  }

  .learning-reader-bar > button {
    padding: 9px 10px;
    font-size: 11px;
  }

  .learning-reader-badge {
    font-size: 10px;
  }

  .learning-related a {
    font-size: 11px;
    line-height: 1.7;
  }

  .learning-pagination {
    margin-top: 17px;
  }

  .learning-sheet {
    font-synthesis: none;
  }
}

.detail-layout.coded-detail {
  max-width: 1050px;
  box-shadow: none;
  border: 0;
  grid-template-columns: minmax(0, 1fr);
  overflow: visible;
}

.coded-detail .detail-media {
  background: none;
}

.coded-detail .detail-info {
  border-top: 1px solid #e5e7df;
  width: 100%;
  max-width: 780px;
  margin: 28px auto 0;
}

.coded-detail .detail-info > .eyebrow {
  display: none;
}

.learning-index button {
  padding: 1cqw 0;
}

.learning-standalone {
  background: var(--selection);
  width: 1080px;
  height: 1440px;
  margin: 0;
  overflow: hidden;
}

.learning-standalone .learning-boards {
  width: 1080px;
  max-width: none;
  margin: 0;
  container-type: inline-size;
}

.learning-standalone .learning-cover, .learning-standalone .learning-sheet {
  box-shadow: none;
}

.learning-html-cover svg {
  width: 100%;
  height: 100%;
  display: block;
}

.snapshot-reader {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
}

.snapshot-reader > header {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto 20px;
  display: flex;
}

.snapshot-reader header p {
  color: var(--muted-foreground);
  font-size: 12px;
}

.snapshot-reader header b {
  font-size: 15px;
}

.snapshot-reader header button {
  font-size: 12px;
}

.snapshot-stage {
  aspect-ratio: 3 / 4;
  background: var(--surface);
  max-width: 720px;
  margin: auto;
}

.snapshot-stage img {
  width: 100%;
  height: auto;
  display: block;
}

.snapshot-placeholder {
  height: 100%;
  color: var(--muted-foreground);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  display: flex;
}

.snapshot-reader > nav {
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  font-size: 13px;
  display: flex;
}

.snapshot-reader nav button {
  background: var(--surface);
  border-radius: 50%;
  padding: 9px;
}

.snapshot-reader nav a {
  color: var(--foreground);
  align-items: center;
  gap: 7px;
  display: flex;
}

.snapshot-reader button:disabled {
  opacity: .4;
  cursor: default;
}

.snapshot-thumbs {
  gap: 8px;
  max-width: 720px;
  margin: auto;
  display: flex;
}

.snapshot-thumbs > button {
  aspect-ratio: 3 / 4;
  background: var(--surface-muted);
  border: 2px solid #0000;
  border-radius: 8px;
  width: 12.5%;
  overflow: hidden;
}

.snapshot-thumbs > button[aria-pressed="true"] {
  border-color: var(--border);
}

.snapshot-thumbs img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* [project]/apps/waterfall-wiki/src/styles/brand.css [client] (css) */
html, body {
  background: var(--background);
  color: var(--foreground);
  color-scheme: inherit;
}

body {
  margin: 0;
}

.endoleap-brand {
  white-space: nowrap;
  vertical-align: middle;
  letter-spacing: normal;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  line-height: 1.15;
  display: inline-flex;
}

.endoleap-brand .endoleap-mark {
  object-fit: contain;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.endoleap-mark-dark, [data-theme$="-dark"] .endoleap-mark-light {
  display: none !important;
}

[data-theme$="-dark"] .endoleap-mark-dark {
  display: block !important;
}

.endoleap-wordmark {
  flex-direction: column;
  gap: 3px;
  color: var(--foreground-strong) !important;
  letter-spacing: .02em !important;
  margin: 0 !important;
  font-size: 17px !important;
  display: flex !important;
}

.endoleap-wordmark small {
  letter-spacing: .08em;
  color: var(--muted-foreground);
  font-size: 9px;
  font-weight: 500;
  display: block;
}

button.endoleap-theme-toggle {
  color: var(--muted-foreground);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 8px;
  font-size: 16px;
  line-height: 1.2;
  display: inline-flex;
}

button.endoleap-theme-toggle:hover {
  background: var(--row-hover);
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

::selection {
  background: var(--selection);
  color: var(--foreground);
}

@media (max-width: 600px) {
  .endoleap-theme-toggle span {
    display: inline;
  }

  .endoleap-brand {
    gap: 5px;
  }

  .endoleap-brand .endoleap-mark {
    width: 26px;
    height: 26px;
  }

  .endoleap-wordmark {
    font-size: 14px !important;
  }
}

button:disabled {
  cursor: default;
}

input, textarea, select {
  accent-color: var(--primary);
}

.primary-button, .auth-submit {
  background: var(--primary);
  color: var(--primary-foreground);
}

.primary-button:hover, .auth-submit:hover {
  background: var(--primary-hover);
}

@media (min-width: 651px) and (max-width: 950px) {
  .sidebar .endoleap-wordmark {
    display: none !important;
  }
}

/* [project]/apps/waterfall-wiki/src/studio/styles/globals.css [client] (css) */
@scope (.studio-app) {
  * {
    box-sizing: border-box;
  }

  :scope {
    color: var(--foreground-strong);
    background: var(--selection);
    margin: 0;
    font-family: Arial, PingFang SC, sans-serif;
  }

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

  button, a {
    cursor: pointer;
  }

  button {
    border: 0;
    border-radius: 24px;
    padding: 12px 22px;
  }

  .workspace {
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
    display: grid;
  }

  aside {
    border-right: 1px solid var(--border);
    background: var(--surface);
    padding: 38px 26px;
  }

  aside a {
    margin-top: 30px;
    display: block;
  }

  .logo {
    color: var(--primary);
  }

  section {
    padding: 70px 6vw;
  }

  h1 {
    letter-spacing: -1.5px;
    font-size: 40px;
  }

  section > p, .hint {
    color: var(--muted-foreground);
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 340px));
    gap: 24px;
    margin-top: 45px;
    display: grid;
  }

  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 14px;
  }

  .cover {
    background: var(--selection);
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    align-items: center;
    padding: 36px;
    font-size: 35px;
    font-weight: bold;
    display: flex;
  }

  .card h2 {
    font-size: 18px;
  }

  .card p {
    color: var(--muted-foreground);
    line-height: 1.8;
  }

  .card span {
    color: var(--primary);
  }

  .hint {
    margin-top: 40px;
    font-size: 13px;
  }

  .editor {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
  }

  header {
    align-items: center;
    gap: 24px;
    display: flex;
  }

  header a:first-child {
    margin-right: auto;
  }

  .slides {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    display: grid;
  }

  .slide {
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    flex-direction: column;
    padding: 35px;
    display: flex;
  }

  .slide h2 {
    margin-top: auto;
    font-size: 38px;
  }

  .slide p {
    line-height: 1.9;
  }

  .slide footer {
    margin-top: auto;
    font-size: 12px;
  }

  @media (max-width: 760px) {
    .workspace {
      grid-template-columns: 1fr;
    }

    aside {
      border-bottom: 1px solid var(--border);
    }

    aside a {
      margin: 20px 20px 0 0;
      display: inline-block;
    }

    section {
      padding: 30px;
    }

    .slides {
      grid-template-columns: 1fr;
    }

    header {
      flex-wrap: wrap;
    }

    h1 {
      font-size: 30px;
    }
  }

  @media print {
    header {
      display: none;
    }

    .slides {
      display: block;
    }

    .slide {
      break-after: page;
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
      border-radius: 0;
      width: 180mm;
      height: 240mm;
    }

    .editor > h1, .editor > p {
      display: none;
    }
  }

  .cover-template {
    aspect-ratio: 113 / 174;
    background: #f4f2eb;
    border-radius: 0;
    padding: 0;
    display: block;
  }

  .template-trial {
    max-width: 1480px;
    color: var(--foreground-strong);
    margin: auto;
    padding: 28px 40px 70px;
  }

  .trial-nav {
    border-bottom: 1px solid var(--border);
    letter-spacing: .04em;
    padding-bottom: 24px;
    font-size: 13px;
  }

  .trial-nav span {
    color: var(--muted-foreground);
  }

  .trial-nav a:last-child {
    margin-left: auto;
  }

  .trial-intro {
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    padding: 48px 0 34px;
    display: flex;
  }

  .trial-intro small {
    letter-spacing: .12em;
    color: var(--muted-foreground);
    font-size: 11px;
  }

  .trial-intro h1 {
    letter-spacing: -2px;
    margin: 16px 0;
    font-size: 44px;
    line-height: 1.2;
  }

  .trial-intro p {
    max-width: 650px;
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.8;
  }

  .trial-source {
    min-width: 140px;
    color: var(--muted-foreground);
    gap: 10px;
    font-size: 12px;
    display: grid;
  }

  .trial-source b {
    color: var(--foreground-strong);
  }

  .trial-workspace {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    display: grid;
  }

  .trial-controls {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    padding: 22px;
    position: sticky;
    top: 20px;
  }

  .trial-controls h2 {
    margin: 0 0 20px;
    font-size: 18px;
  }

  .trial-controls label {
    color: var(--foreground);
    margin: 14px 0;
    font-size: 12px;
    display: block;
  }

  .trial-controls small {
    color: var(--muted-foreground);
    margin-left: 4px;
    font-size: 10px;
  }

  .trial-controls input:not([type="checkbox"]), .trial-controls select, .trial-controls textarea {
    border: 1px solid var(--input);
    background: var(--selection);
    width: 100%;
    color: var(--foreground-strong);
    font: inherit;
    border-radius: 4px;
    margin-top: 7px;
    padding: 9px;
    line-height: 1.5;
    display: block;
  }

  .trial-controls fieldset {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 20px 0;
    padding: 12px 0 0;
  }

  .trial-controls legend {
    color: var(--muted-foreground);
    padding-right: 8px;
    font-size: 11px;
  }

  .trial-controls fieldset label {
    margin: 8px 0;
  }

  .trial-colors {
    gap: 16px;
    display: flex;
  }

  .trial-colors label {
    flex: 1;
  }

  .trial-controls input[type="color"] {
    height: 36px;
    padding: 4px;
  }

  .trial-controls .trial-switch {
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    display: flex;
  }

  .trial-switch input {
    accent-color: var(--ring);
  }

  .trial-actions {
    gap: 8px;
    display: grid;
  }

  .trial-actions button {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--foreground);
    border-radius: 4px;
    padding: 11px 8px;
    font-size: 12px;
  }

  .trial-actions .trial-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--selection-border);
  }

  .trial-actions button:hover {
    filter: brightness(.94);
  }

  .trial-help {
    color: var(--muted-foreground);
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.7;
  }

  .trial-notice {
    color: var(--success);
    min-height: 16px;
    font-size: 11px;
  }

  .trial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    display: grid;
  }

  .proof-card {
    min-width: 0;
    margin: 0;
  }

  .proof-select {
    background: var(--selection);
    width: 100%;
    box-shadow: 0 3px 14px var(--shadow);
    outline: 1px solid var(--ring);
    outline-offset: 0;
    border-radius: 0;
    padding: 0;
    transition: outline-color .15s;
    display: block;
  }

  .proof-active .proof-select {
    outline: 2px solid var(--ring);
    outline-offset: 5px;
  }

  .proof-select:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 5px;
  }

  .proof-card figcaption {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px 0 0;
    font-size: 11px;
    display: flex;
  }

  .proof-card figcaption b {
    font-weight: 500;
  }

  .proof-card figcaption span {
    color: var(--muted-foreground);
  }

  .proof-card figcaption a {
    text-underline-offset: 3px;
    color: var(--muted-foreground);
    margin-left: auto;
    text-decoration: underline;
  }

  .trial-reference {
    border-top: 1px solid var(--border);
    margin-top: 36px;
    padding: 20px 0;
    font-size: 12px;
  }

  .trial-reference summary {
    cursor: pointer;
  }

  .trial-reference-:scope {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
    margin-top: 22px;
    line-height: 1.8;
    display: grid;
  }

  .trial-reference img {
    align-self: start;
    width: 150px;
    height: auto;
  }

  .trial-reference table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
    font-size: 11px;
  }

  .trial-reference th, .trial-reference td {
    text-align: left;
    border-bottom: 1px solid var(--border);
    padding: 6px;
  }

  .trial-reference a {
    text-decoration: underline;
  }

  @media (min-width: 1300px) {
    .trial-grid {
      gap: 40px;
    }

    .trial-workspace {
      gap: 48px;
    }
  }

  @media (max-width: 900px) {
    .template-trial {
      padding: 22px;
    }

    .trial-workspace {
      grid-template-columns: 220px minmax(0, 1fr);
      gap: 24px;
    }

    .trial-grid {
      gap: 20px;
    }

    .trial-controls {
      padding: 16px;
    }

    .trial-source {
      display: none;
    }

    .trial-intro h1 {
      font-size: 36px;
    }

    .trial-nav span {
      display: none;
    }
  }

  @media (max-width: 650px) {
    .trial-workspace {
      grid-template-columns: 1fr;
    }

    .trial-controls {
      position: static;
    }

    .trial-controls fieldset {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      display: grid;
    }

    .trial-actions {
      grid-template-columns: 1fr 1fr;
    }

    .trial-reference-:scope {
      grid-template-columns: 1fr;
    }

    .trial-grid {
      gap: 24px;
    }

    .trial-intro {
      padding: 32px 0;
    }

    .trial-intro h1 {
      font-size: 30px;
    }
  }

  @media (max-width: 440px) {
    .trial-grid {
      grid-template-columns: 1fr;
    }

    .trial-nav {
      gap: 10px;
    }

    .template-trial {
      padding: 18px;
    }
  }

  @page ref17Proof {
    size: 113mm 174mm;
    margin: 0;
  }

  @media print {
    .template-trial {
      max-width: none;
      padding: 0;
    }

    .trial-nav, .trial-intro, .trial-controls, .trial-reference, .proof-card figcaption {
      display: none;
    }

    .trial-workspace, .trial-grid {
      display: block;
    }

    .proof-card {
      page: ref17Proof;
      break-after: page;
      width: 113mm;
      height: 174mm;
    }

    .proof-card:last-child {
      break-after: auto;
    }

    .proof-select, .proof-active .proof-select {
      box-shadow: none;
      outline: none;
      width: 113mm;
      height: 174mm;
    }

    .proof-select svg {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
      width: 113mm !important;
      height: 174mm !important;
    }

    .proof-select svg g[aria-hidden="true"] {
      display: none;
    }
  }

  .selection-preview {
    max-width: 540px;
    box-shadow: 0 3px 15px var(--shadow);
    margin: auto;
  }

  .selection-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    display: grid;
  }

  .selection-thumbs button {
    border: 1px solid var(--input);
    background: var(--surface);
    border-radius: 0;
    padding: 0;
  }

  .selection-thumbs button[aria-pressed="true"] {
    outline: 2px solid var(--ring);
    outline-offset: 4px;
  }

  .selection-thumbs span {
    padding: 10px;
    font-size: 12px;
    display: block;
  }

  .trial-controls details {
    border-top: 1px solid var(--border);
    padding: 12px 0;
  }

  .trial-controls summary {
    cursor: pointer;
    margin-bottom: 12px;
  }

  .trial-controls label small {
    color: var(--muted-foreground);
    font-weight: 400;
    line-height: 1.6;
    display: block;
  }

  .trial-controls textarea, .trial-controls > label input:not([type="checkbox"]):not([type="color"]) {
    box-sizing: border-box;
    width: 100%;
  }

  .trial-actions button:disabled {
    opacity: .5;
    cursor: wait;
  }

  .native-layout-page {
    background: var(--selection);
    min-height: 100vh;
    color: var(--foreground-strong);
    padding-bottom: 90px;
  }

  .native-layout {
    isolation: isolate;
    width: min(100%, 860px);
    margin: 0 auto;
    font-family: Arial, PingFang SC, Microsoft YaHei, sans-serif;
    position: relative;
    overflow: hidden;
    container-type: inline-size;
  }

  .native-element {
    outline-offset: 3px;
    min-width: 0;
    min-height: 0;
    position: absolute;
  }

  .native-image {
    z-index: 1;
  }

  .native-decoration {
    z-index: 2;
  }

  .native-text {
    z-index: 3;
  }

  .native-image-fill {
    place-items: center;
    width: 100%;
    height: 100%;
    display: grid;
    overflow: hidden;
  }

  .native-image-fill img {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    display: block;
  }

  .native-image-label {
    color: #fff;
    text-align: center;
    background: #26312e99;
    max-width: 95%;
    padding: 5px 8px;
    font-size: 12px;
    line-height: 1.4;
  }

  .native-copy {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    letter-spacing: -.035em;
    outline: none;
    width: 100%;
    height: 100%;
    font-weight: 500;
    line-height: 1.15;
    overflow: hidden;
  }

  .native-copy.direction-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0;
  }

  .native-copy.direction-rotated {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: Georgia, serif;
    transform: rotate(180deg);
  }

  .native-copy.direction-angled {
    transform-origin: center;
    font-weight: 700;
    overflow: visible;
    transform: rotate(-15deg);
  }

  .native-copy.direction-curved {
    writing-mode: vertical-rl;
    letter-spacing: .13em;
    transform: rotate(13deg);
  }

  .native-text:first-of-type .native-copy {
    font-weight: 700;
  }

  .ref-01 .native-text[data-element="T01"] .native-copy, .ref-08 .native-text[data-element="T01"] .native-copy, .ref-10 .native-text[data-element="T01"] .native-copy, .ref-15 .native-text[data-element="T01"] .native-copy, .ref-15 .native-text[data-element="T02"] .native-copy, .ref-17 .native-text[data-element="T01"] .native-copy, .ref-17 .native-text[data-element="T02"] .native-copy, .ref-18 .native-text[data-element="T02"] .native-copy, .ref-18 .native-text[data-element="T03"] .native-copy {
    font-family: Georgia, Times New Roman, serif;
    font-weight: 700;
  }

  .ref-08 .native-copy {
    text-align: justify;
    letter-spacing: .07em;
  }

  .ref-19 .native-text[data-element="T01"], .ref-19 .native-text[data-element="T02"], .ref-19 .native-text[data-element="T03"], .ref-19 .native-text[data-element="T04"] {
    font-weight: 800;
  }

  .native-decoration {
    width: 100%;
    height: 100%;
  }

  .decoration-lines {
    flex-direction: column;
    justify-content: space-between;
    padding: 2% 0;
    display: flex;
  }

  .decoration-lines i {
    border-top: max(1px, .18cqw) solid;
    width: 100%;
    display: block;
  }

  .decoration-lines i:nth-child(2) {
    width: 76%;
  }

  .decoration-lines i:nth-child(3) {
    width: 88%;
  }

  .decoration-vertical-lines {
    justify-content: space-between;
    display: flex;
  }

  .decoration-vertical-lines i {
    border-left: max(1px, .15cqw) solid;
    height: 100%;
  }

  .decoration-node {
    background: currentColor;
    border-radius: 50%;
  }

  .decoration-oval {
    border: .25cqw solid;
    border-radius: 50%;
  }

  .decoration-rings {
    border: .4cqw solid;
    border-radius: 50%;
    transform: scale(.92);
    box-shadow: 0 0 0 1.5cqw #f5f5ef, 0 0 0 1.8cqw, 0 0 0 3.2cqw #f5f5ef, 0 0 0 3.5cqw, 0 0 0 5cqw #f5f5ef, 0 0 0 5.3cqw;
  }

  .decoration-curve {
    border: .3cqw solid;
    border-left: 0;
    border-radius: 0 75% 50% 0;
    transform: rotate(15deg);
  }

  .decoration-diagonal {
    border-left: .3cqw solid;
    transform: rotate(12deg);
  }

  .decoration-band {
    transform: rotate(-15deg);
  }

  .is-editing .native-element {
    cursor: pointer;
  }

  .is-editing .native-element:hover {
    outline: 1px dashed var(--ring);
  }

  .is-editing .native-element.is-selected {
    outline: 2px solid var(--ring);
  }

  .is-editing .native-copy[contenteditable="plaintext-only"] {
    cursor: text;
  }

  .native-element:focus-visible {
    outline: 2px solid var(--ring);
  }

  .page-tools {
    z-index: 30;
    border: 1px solid var(--border);
    background: var(--background);
    width: max-content;
    max-width: calc(100% - 24px);
    box-shadow: 0 5px 30px var(--shadow);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    white-space: nowrap;
    border-radius: 32px;
    align-items: center;
    gap: 5px;
    padding: 6px;
    font-size: 13px;
    display: flex;
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
  }

  .page-tools a {
    padding: 10px;
  }

  .page-tools button {
    color: var(--foreground-strong);
    font: inherit;
    background: none;
    padding: 10px 14px;
  }

  .page-tools .page-save {
    background: var(--primary);
    color: var(--primary-foreground);
  }

  .page-tools button:disabled {
    opacity: .4;
    cursor: default;
  }

  .page-layout-number {
    letter-spacing: .08em;
    color: var(--muted-foreground);
    padding: 0 5px;
    font-size: 10px;
  }

  .page-dirty {
    color: var(--primary);
    padding-right: 8px;
  }

  .page-edit-info {
    background: var(--background);
    border-top: 1px solid var(--border);
    max-width: 860px;
    margin: 20px auto 0;
    padding: 18px 20px;
    font-size: 13px;
    position: relative;
  }

  .page-edit-info p {
    color: var(--muted-foreground);
    margin: 0 0 16px;
  }

  .page-edit-info label {
    align-items: center;
    gap: 10px;
    display: flex;
  }

  .page-edit-info input:not([type="color"]) {
    flex: 1;
    min-width: 0;
  }

  .page-edit-options {
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    display: flex;
  }

  .page-edit-info input, .page-edit-info select, .element-popover input:not([type="checkbox"]), .element-popover select, .element-popover textarea {
    border: 1px solid var(--input);
    background: var(--surface);
    color: var(--foreground-strong);
    font: inherit;
    border-radius: 5px;
    max-width: 100%;
    padding: 7px;
  }

  .page-edit-info input[type="color"], .element-popover input[type="color"] {
    width: 40px;
    height: 32px;
    padding: 2px;
  }

  .page-edit-info button, .element-popover button {
    font: inherit;
    background: var(--selection);
    color: var(--foreground-strong);
    border-radius: 5px;
    padding: 9px 12px;
  }

  .element-popover {
    z-index: 40;
    border: 1px solid var(--border);
    background: var(--surface);
    width: 290px;
    max-width: calc(100vw - 24px);
    max-height: 60dvh;
    box-shadow: 0 10px 40px var(--shadow);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 14px;
    padding: 16px;
    font-size: 13px;
    position: fixed;
    bottom: 86px;
    right: 18px;
    overflow: auto;
  }

  .element-popover-heading {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    display: flex;
  }

  .element-popover-heading button {
    background: none;
    padding: 3px 8px;
    font-size: 22px;
  }

  .element-popover label {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    display: flex;
  }

  .element-popover input[type="range"] {
    width: 150px;
  }

  .element-popover .element-text-edit {
    display: block;
  }

  .element-text-edit textarea {
    resize: vertical;
    width: 100%;
    margin-top: 8px;
    display: block;
  }

  .element-popover > button {
    margin: 5px 8px 0 0;
  }

  .page-status {
    z-index: 45;
    background: var(--primary);
    max-width: calc(100% - 32px);
    color: var(--primary-foreground);
    box-shadow: 0 4px 20px var(--shadow);
    border-radius: 8px;
    margin: 0;
    padding: 10px 16px;
    font-size: 13px;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
  }

  @media (max-width: 600px) {
    .page-layout-number {
      display: none;
    }

    .page-tools {
      bottom: 12px;
    }

    .page-tools button {
      padding: 10px;
    }

    .element-popover {
      width: 260px;
      bottom: 76px;
      right: 12px;
    }

    .page-edit-info {
      margin-top: 0;
    }

    .page-edit-options {
      gap: 10px;
    }
  }

  @media print {
    .native-layout-page {
      background: none;
      padding: 0;
    }

    .native-layout {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
      width: 100%;
      margin: 0;
    }

    .page-tools, .page-edit-info, .element-popover, .page-status {
      display: none !important;
    }

    .native-element {
      outline: none !important;
    }
  }

  .native-copy.native-arc {
    white-space: pre;
    writing-mode: horizontal-tb;
    letter-spacing: 0;
    position: relative;
    overflow: visible;
  }

  .native-arc span {
    display: block;
    position: absolute;
  }

  .is-editing.native-layout-page {
    background: var(--background);
    height: 100dvh;
    min-height: 0;
    color: var(--foreground-strong);
    padding: 58px 272px 0 232px;
    font-family: Arial, PingFang SC, sans-serif;
    overflow: hidden;
  }

  .workbench-top {
    z-index: 60;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 16px;
    font-size: 12px;
    display: flex;
    position: fixed;
    inset: 0 0 auto;
  }

  .studio-mark {
    color: var(--primary);
    align-items: center;
    gap: 7px;
    font-size: 23px;
    font-weight: 800;
    display: flex;
  }

  .studio-mark span {
    letter-spacing: .1em;
    color: var(--foreground-strong);
    font-size: 10px;
  }

  .workbench-top input {
    background: none;
    border: 0;
    width: 240px;
    min-width: 80px;
    padding: 8px;
    font-size: 13px;
  }

  .save-indicator {
    color: var(--muted-foreground);
    white-space: nowrap;
    margin-left: auto;
    font-size: 11px;
  }

  .workbench-top button, .workbench-bottom button, .workbench-layers button, .workbench-properties button, .conflict-notice button {
    color: inherit;
    cursor: pointer;
    font: inherit;
    background: none;
    border: 0;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px;
    display: inline-flex;
  }

  .workbench-top button:hover, .workbench-bottom button:hover, .workbench-layers button:hover, .workbench-properties button:hover {
    background: var(--selection);
  }

  .workbench-top button.primary {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 9px 16px;
  }

  .is-editing button:disabled {
    opacity: .35;
    cursor: default;
  }

  .workbench-layers, .workbench-properties {
    background: var(--surface);
    z-index: 45;
    font-size: 12px;
    position: fixed;
    top: 58px;
    bottom: 0;
    overflow: auto;
  }

  .workbench-layers {
    border-right: 1px solid var(--border);
    flex-direction: column;
    width: 232px;
    display: flex;
    left: 0;
  }

  .workbench-properties {
    border-left: 1px solid var(--border);
    width: 272px;
    right: 0;
  }

  .panel-heading {
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    height: 53px;
    padding: 16px;
    display: flex;
  }

  .panel-heading span {
    color: var(--muted-foreground);
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 95px;
    margin-left: auto;
    font-size: 10px;
    overflow: hidden;
  }

  .insert-tools {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 16px;
    display: grid;
  }

  .insert-tools button {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 12px 5px;
    font-size: 11px;
  }

  .insert-tools svg {
    width: 16px;
    height: 16px;
  }

  .layers-caption {
    color: var(--muted-foreground);
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 10px;
    display: flex;
  }

  .layers-caption span {
    color: var(--muted-foreground);
    font-size: 10px;
  }

  .layer-list {
    flex: 1;
    padding: 0 8px;
  }

  .layer-row {
    border-radius: 5px;
    align-items: center;
    gap: 0;
    min-height: 37px;
    margin: 2px 0;
    display: flex;
  }

  .layer-row.active {
    background: var(--selection);
    color: var(--primary);
  }

  .layer-row.muted {
    opacity: .5;
  }

  .layer-row button {
    padding: 6px 4px;
  }

  .layer-row .layer-select {
    flex: 1;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 9px 7px;
  }

  .layer-select span {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .layer-select svg {
    flex-shrink: 0;
  }

  .workbench-tip {
    color: var(--muted-foreground);
    border-top: 1px solid var(--border);
    margin: 20px 0 0;
    padding: 16px;
    font-size: 10px;
    line-height: 1.9;
  }

  .workbench-viewport {
    background-image: radial-gradient(var(--grid) .7px,transparent .7px);
    background-size: 14px 14px;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 38px 48px 100px;
    display: flex;
    overflow: auto;
  }

  .canvas-caption {
    width: 100%;
    color: var(--muted-foreground);
    justify-content: space-between;
    gap: 24px;
    max-width: 860px;
    margin-bottom: 12px;
    font-size: 10px;
    display: flex;
  }

  .is-editing .native-layout {
    flex-shrink: 0;
    overflow: visible;
    box-shadow: 0 10px 35px #20232b13;
  }

  .is-editing .native-element {
    touch-action: none;
  }

  .is-editing .native-element:hover {
    outline-color: var(--ring);
  }

  .is-editing .native-element.is-selected {
    outline: 1.5px solid var(--ring);
    outline-offset: 0;
  }

  .is-editing .native-element .native-copy {
    cursor: move;
  }

  .is-editing .native-copy[contenteditable="plaintext-only"] {
    cursor: text;
    -webkit-user-select: text;
    user-select: text;
  }

  .native-element .resize-handle {
    background: var(--surface);
    border: 1.5px solid var(--selection-border);
    cursor: nwse-resize;
    z-index: 10;
    border-radius: 1px;
    width: 9px;
    height: 9px;
    padding: 0;
    position: absolute;
    bottom: -5px;
    right: -5px;
  }

  .native-element .rotate-handle {
    border: 1px solid var(--selection-border);
    background: var(--surface);
    width: 20px;
    height: 20px;
    color: var(--primary);
    cursor: grab;
    z-index: 10;
    border-radius: 50%;
    padding: 0;
    font-size: 14px;
    position: absolute;
    top: -29px;
    left: calc(50% - 10px);
  }

  .workbench-properties section {
    border-bottom: 1px solid var(--border);
    padding: 18px 16px;
  }

  .workbench-properties h3 {
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
  }

  .workbench-properties h3 span {
    color: var(--muted-foreground);
    font-size: 9px;
    font-weight: 400;
  }

  .workbench-properties label {
    color: var(--muted-foreground);
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 11px;
    display: flex;
  }

  .workbench-properties input, .workbench-properties select, .workbench-properties textarea {
    background: var(--surface);
    min-width: 0;
    color: var(--foreground-strong);
    font: inherit;
    border: 1px solid #0000;
    border-radius: 5px;
    padding: 8px;
  }

  .workbench-properties input:focus, .workbench-properties textarea:focus, .workbench-properties select:focus {
    outline: 1px solid var(--ring);
    background: var(--surface);
  }

  .workbench-properties input[type="color"] {
    width: 45px;
    height: 30px;
    padding: 3px;
  }

  .workbench-properties input[type="range"] {
    width: 125px;
    accent-color: var(--ring);
    padding: 0;
  }

  .workbench-properties textarea {
    resize: vertical;
    width: 100%;
    line-height: 1.5;
  }

  .property-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    display: grid;
  }

  .property-grid label {
    background: var(--surface);
    white-space: nowrap;
    border-radius: 5px;
    margin: 0;
    padding-left: 9px;
    font-size: 10px;
    display: flex;
  }

  .property-grid input {
    width: 100%;
    padding: 8px 4px;
  }

  .property-actions {
    gap: 8px;
    margin-top: 12px;
    display: flex;
  }

  .property-actions button {
    background: var(--selection);
    border: 1px solid var(--border);
    flex: 1;
  }

  .property-hint {
    color: var(--muted-foreground);
    margin: 0;
    font-size: 11px;
    line-height: 2;
  }

  .workbench-properties fieldset {
    border: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .workbench-properties fieldset:disabled {
    opacity: .5;
  }

  .workbench-bottom {
    z-index: 55;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 5px 20px var(--shadow);
    border-radius: 12px;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    font-size: 11px;
    display: flex;
    position: fixed;
    bottom: 22px;
    left: calc(50% - 20px);
    transform: translateX(-50%);
  }

  .workbench-bottom > span:not(.toolbar-divider) {
    text-align: center;
    min-width: 37px;
  }

  .toolbar-divider {
    background: var(--surface-muted);
    width: 1px;
    height: 20px;
    margin: 0 4px;
  }

  .workbench-bottom .active {
    color: var(--primary);
    background: var(--selection);
  }

  .decoration-solid {
    background: currentColor;
  }

  .conflict-notice {
    z-index: 80;
    background: var(--surface);
    border: 1px solid var(--success);
    width: 350px;
    max-width: 90vw;
    box-shadow: 0 8px 40px var(--shadow);
    border-radius: 12px;
    padding: 20px;
    font-size: 12px;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
  }

  .conflict-notice p {
    color: var(--muted-foreground);
    line-height: 1.8;
  }

  .is-editing .page-status {
    background: var(--primary);
    color: var(--primary-foreground);
    bottom: 85px;
  }

  .is-editing .native-image-fill, .is-editing .native-decoration {
    pointer-events: none;
  }

  @media (max-width: 1100px) {
    .is-editing.native-layout-page {
      padding-left: 0;
    }

    .workbench-layers {
      box-shadow: 8px 0 30px var(--shadow);
      display: none;
    }

    .workbench-layers.mobile-open {
      display: flex;
    }

    .workbench-top .studio-mark span {
      display: none;
    }

    .workbench-top input {
      width: 160px;
    }

    .save-indicator {
      font-size: 10px;
    }

    .workbench-bottom {
      left: calc(50% - 136px);
    }
  }

  @media (max-width: 760px) {
    .is-editing.native-layout-page {
      padding-right: 0;
    }

    .workbench-properties {
      box-shadow: -8px 0 30px var(--shadow);
      display: none;
      bottom: 82px;
    }

    .workbench-properties.mobile-open {
      display: block;
    }

    .workbench-layers {
      bottom: 82px;
    }

    .workbench-top {
      gap: 3px;
      padding: 0 8px;
    }

    .workbench-top input {
      flex: 1;
      width: 110px;
    }

    .save-indicator {
      display: none;
    }

    .workbench-top button {
      padding: 7px;
      font-size: 11px;
    }

    .workbench-top .studio-mark {
      font-size: 20px;
    }

    .workbench-viewport {
      padding: 28px 24px 100px;
    }

    .workbench-bottom {
      left: 50%;
    }

    .canvas-caption {
      font-size: 9px;
    }
  }

  @media print {
    .workbench-top, .workbench-layers, .workbench-properties, .workbench-bottom, .canvas-caption, .conflict-notice {
      display: none !important;
    }

    .is-editing.native-layout-page {
      height: auto;
      padding: 0;
      overflow: visible;
    }

    .workbench-viewport {
      padding: 0;
      display: block;
      overflow: visible;
    }

    .is-editing .native-layout {
      box-shadow: none;
      overflow: hidden;
      width: 100% !important;
      min-width: 0 !important;
    }

    .resize-handle, .rotate-handle {
      display: none;
    }
  }

  .workbench-layers, .workbench-properties {
    padding: 0;
  }

  .workbench-top {
    flex-wrap: nowrap;
  }

  .workbench-top a:first-child {
    margin-right: 0;
  }

  .native-layout {
    font-family: Helvetica Neue, PingFang SC, Microsoft YaHei, sans-serif;
  }

  .native-copy {
    letter-spacing: -.025em;
    font-weight: 450;
    line-height: 1.2;
  }

  .native-text[data-element="T01"] .native-copy {
    letter-spacing: -.055em;
    font-weight: 650;
  }

  .ref-02 .direction-vertical, .ref-05 .direction-vertical, .ref-06 .direction-vertical, .ref-09 .direction-vertical, .ref-12 .direction-vertical, .ref-19 .direction-vertical, .ref-22 .direction-vertical, .ref-25 .direction-vertical, .ref-27 .direction-vertical {
    letter-spacing: .06em;
    font-family: Songti SC, Noto Serif CJK SC, serif;
    font-weight: 500;
  }

  .ref-03 .native-copy, .ref-11 .native-copy, .ref-13 .native-copy, .ref-14 .native-copy {
    letter-spacing: .025em;
  }

  .ref-04 .native-copy, .ref-20 .native-copy {
    letter-spacing: .08em;
    font-weight: 350;
  }

  .ref-16 .native-copy, .ref-23 .native-copy {
    letter-spacing: .035em;
    font-weight: 600;
  }

  .ref-21 .direction-rotated, .ref-24 .direction-angled, .ref-26 .native-text[data-element="T01"] .native-copy, .ref-26 .native-text[data-element="T02"] .native-copy, .ref-26 .native-text[data-element="T03"] .native-copy {
    letter-spacing: -.055em;
    font-family: Georgia, Songti SC, serif;
    font-weight: 400;
  }

  .studio-library {
    max-width: 1440px;
    margin: auto;
    padding: 48px 5vw 80px;
  }

  .library-nav {
    justify-content: space-between;
    font-size: 13px;
    display: flex;
  }

  .studio-library h1 {
    letter-spacing: -.05em;
    margin: 64px 0 16px;
    font-size: clamp(32px, 5vw, 64px);
  }

  .library-intro {
    max-width: 640px;
    color: var(--muted-foreground);
    line-height: 1.8;
  }

  .library-heading {
    align-items: baseline;
    gap: 18px;
    margin: 64px 0 24px;
    display: flex;
  }

  .library-heading h2 {
    margin: 0;
    font-size: 24px;
  }

  .library-heading a {
    font-size: 13px;
    text-decoration: underline;
  }

  .library-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 24px;
    display: grid;
  }

  .library-item {
    min-width: 0;
  }

  .library-item .native-layout {
    pointer-events: none;
    width: 100%;
  }

  .library-item h3 {
    margin: 14px 0 5px;
    font-size: 13px;
    font-weight: 500;
  }

  .library-item p {
    color: var(--muted-foreground);
    margin: 0;
    font-size: 11px;
  }

  .library-item > a:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 5px;
  }

  .library-standard {
    grid-template-columns: minmax(200px, 320px) 1fr;
    align-items: center;
    gap: 40px;
    display: grid;
  }

  .library-standard p {
    max-width: 480px;
    color: var(--muted-foreground);
    line-height: 1.9;
  }

  .library-standard code {
    font-size: 13px;
  }

  .library-standard a {
    text-decoration: underline;
  }

  .library-item:hover .native-layout {
    filter: brightness(1.025);
  }

  @media (max-width: 950px) {
    .library-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 650px) {
    .library-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 26px 16px;
    }

    .library-standard {
      grid-template-columns: 1fr;
    }

    .library-standard .native-layout {
      max-width: 280px;
    }

    .studio-library {
      padding: 28px 20px 60px;
    }

    .library-nav {
      gap: 12px;
    }
  }

  .native-copy.direction-vertical, .native-copy.direction-rotated {
    line-height: 1;
  }

  .ref-19 .native-text:is([data-element="T01"], [data-element="T02"], [data-element="T03"], [data-element="T04"]) .native-copy {
    letter-spacing: -.06em;
    font-weight: 700;
  }

  .native-series {
    padding-top: 24px;
  }

  .series-page {
    margin: 0 auto 32px;
  }

  .series-page-number {
    text-align: center;
    letter-spacing: .14em;
    color: var(--muted-foreground);
    margin: 14px 0 0;
    font-size: 12px;
  }

  .native-export {
    background: none;
    min-height: 0;
    padding: 0;
  }

  .native-export .series-page {
    margin: 0;
  }

  .native-export .native-layout {
    width: 1080px;
    max-width: none;
    margin: 0;
  }

  @media print {
    .native-series {
      padding: 0;
    }

    .series-page {
      break-after: page;
      margin: 0;
    }

    .series-page:last-child {
      break-after: auto;
    }

    .series-page-number {
      display: none;
    }
  }
}

/*# sourceMappingURL=apps_waterfall-wiki_src_0jpd4s_lhxo1x._.css.map*/