:root{--theme-text-primary: #EDEDE9;--theme-text-secondary: #B6B6A5;--theme-surface: #132736;--theme-surface-alt: #000814;--theme-surface-hover: #0a141c;--theme-surface-elevated: #1a2332;--theme-dropdown-backdrop: #132736;--theme-sidebar-backdrop: #000814;--theme-border: #272727;--theme-border-subtle: rgba(255, 255, 255, .1);--theme-accent1: #FFC300;--theme-accent2: #CE00E0;--theme-accent3: #003262;--theme-accent4: #E0AC00;--theme-accent5: #6441A5;--theme-neutral1: #B6B6A5;--theme-neutral2: #FFC300;--theme-neutral3: #0a141c;--theme-danger: #ff4d4d;--theme-success: #48c78e;--theme-warning: #f5a524;--theme-info: #4f8cff;--theme-on-danger: #ffffff;--theme-on-warning: #111111;--theme-on-info: #ffffff;--theme-primary: var(--theme-accent1);--theme-primary-hover: var(--theme-accent4);--theme-text-accent: var(--theme-accent1);--theme-text-muted: var(--theme-text-secondary);--theme-text-on-primary: var(--theme-surface-alt);--theme-overlay-dark: rgba(0, 0, 0, .62);--theme-surface-rgb: 19, 39, 54;--theme-surface-alt-rgb: 0, 8, 20;--theme-surface-elevated-rgb: 26, 35, 50;--theme-font-primary: "Inter", system-ui, Avenir, Helvetica, Arial, sans-serif;--theme-font-secondary: inherit;--theme-font-scale: 1;--theme-border-radius-sm: 4px;--theme-border-radius-md: 8px;--theme-border-radius-lg: 12px;--theme-border-radius-xl: 16px;--theme-border-radius-pill: 999px;--theme-space-1: .25rem;--theme-space-2: .5rem;--theme-space-3: .75rem;--theme-space-4: 1rem;--theme-space-5: 1.5rem;--theme-space-6: 2rem;--theme-control-height: 44px;--theme-content-width: 80rem;--theme-shadow-sm: 0 2px 8px rgba(0, 0, 0, .18);--theme-shadow-md: 0 8px 24px rgba(0, 0, 0, .24);--theme-shadow-lg: 0 18px 48px rgba(0, 0, 0, .32);--kk-text-primary: var(--theme-text-primary);--kk-text-secondary: var(--theme-text-secondary);--kk-br-input-bg: var(--theme-surface-alt);--kk-br-border-subtle: var(--theme-border);--kk-br-accent-primary: var(--theme-accent1);--kk-br-focus-ring: 0 0 0 2px var(--theme-accent1);--kk-br-darker-chat-background: #0d1520;--kk-br-rich-black: var(--theme-surface-alt);--kk-br-rich-black-rgb: var(--theme-surface-alt-rgb);--kk-br-metal-yellow: var(--theme-accent4);--kk-br-mikado-yellow: var(--theme-accent1);--kk-br-indigo-white: var(--theme-text-primary);--kk-br-berkeley-blue: var(--theme-accent3);--kk-br-steel-pink: var(--theme-accent2);--kk-br-indigo-gray: var(--theme-text-secondary);--kk-br-foreground-gray: var(--theme-surface-hover);--kk-br-pure-white: var(--theme-text-primary);--kk-br-pure-white-rgb: 0, 0, 0;--kk-br-button-blue: var(--theme-surface-alt);--kk-br-chats-dark-foreground: var(--theme-surface-alt);--navbar-height: 56px;--create-bar-height: 80px;--theme-primary-active: var(--theme-primary-hover);--theme-secondary: var(--theme-accent2);--theme-secondary-hover: var(--theme-accent5);--theme-secondary-active: var(--theme-accent5);--theme-text-heading: var(--theme-text-primary);--theme-divider: var(--theme-border-subtle);--theme-interactive: var(--theme-primary);--theme-interactive-hover: var(--theme-primary-hover);--theme-interactive-active: var(--theme-primary-active);--theme-overlay-light: rgba(0, 0, 0, .3);--ui-space-1: 1px;--ui-space-2: 2px;--ui-space-3: 3px;--ui-space-4: 4px;--ui-space-6: 6px;--ui-space-8: 8px;--ui-space-10: 10px;--ui-space-12: 12px;--ui-space-14: 14px;--ui-space-16: 16px;--ui-space-18: 18px;--ui-space-20: 20px;--ui-space-24: 24px;--ui-space-28: 28px;--ui-space-32: 32px;--ui-space-40: 40px;--ui-space-44: 44px;--ui-space-48: 48px;--ui-space-64: 64px;--ui-space-80: 80px;--ui-text-micro: 10px;--ui-text-caption: 12px;--ui-text-label: 14px;--ui-text-body: 16px;--ui-text-heading: 18px;--ui-leading-body: 1.5;--ui-leading-prose: 1.65;--ui-leading-document: 1.75;--ui-leading-compact: 1.4;--ui-weight-regular: 400;--ui-weight-medium: 500;--ui-weight-strong: 600;--ui-control-compact: 32px;--ui-control-mobile: 40px;--ui-control-touch: 44px;--ui-radius-round: 50%;--ui-focus-width: 2px;--ui-focus-offset: 2px;--ui-opacity-disabled: .45;--ui-motion-fast: .12s;--ui-motion-normal: .15s;--ui-motion-slow: .18s;--ui-ease-standard: ease;--ui-ease-enter: cubic-bezier(.2,.8,.2,1);--ui-layer-sticky: 2;--ui-layer-tools: 32;--ui-layer-header: 1001;--ui-layer-backdrop: 1002;--ui-layer-panel: 1003;--ui-layer-popover: 1004;--story-surface: var(--theme-surface);--story-surface-quiet: var(--theme-surface-alt);--story-surface-hover: var(--theme-surface-hover);--story-surface-selected: color-mix(in srgb, var(--theme-primary) 15%, transparent);--story-surface-danger: color-mix(in srgb, var(--theme-danger) 12%, transparent);--story-text: var(--theme-text-primary);--story-text-muted: var(--theme-text-secondary);--story-border: var(--theme-border);--story-font: var(--theme-font-primary);--story-measure: 75ch;--story-lane-padding: 64px;--story-surface-padding: 80px;--story-shadow-dialog: var(--theme-shadow-lg);--story-shadow-popover: var(--theme-shadow-md);--story-backdrop: var(--theme-overlay-dark);--story-backdrop-blur: 4px}:where(.chat-enabled[data-chat-display],.chat-view[data-chat-display],.scenario-lab){--chat-theme-text-primary: #EDEDE9;--chat-theme-text-secondary: #B6B6A5;--chat-theme-surface: #132736;--chat-theme-surface-alt: #000814;--chat-theme-surface-hover: #0a141c;--chat-theme-surface-elevated: #1a2332;--chat-theme-border: #272727;--chat-theme-border-subtle: rgba(255, 255, 255, .1);--chat-theme-danger: #ff4d4d;--chat-theme-success: #48c78e;--chat-theme-primary: #FFC300;--chat-theme-primary-hover: #E0AC00;--chat-theme-text-on-primary: var(--chat-theme-surface-alt);--chat-theme-overlay-dark: rgba(0, 0, 0, .62);--chat-theme-font-primary: "Inter", system-ui, Avenir, Helvetica, Arial, sans-serif;--chat-theme-font-scale: 1;--chat-theme-border-radius-sm: 6px;--chat-theme-border-radius-md: 8px;--chat-theme-border-radius-lg: 12px;--chat-theme-border-radius-pill: 999px;--chat-theme-shadow-md: 0 8px 24px rgba(0, 0, 0, .24);--chat-theme-shadow-lg: 0 18px 48px rgba(0, 0, 0, .32);--chat-theme-secondary: #CE00E0;--chat-ui-space-2: 2px;--chat-ui-space-4: 4px;--chat-ui-space-6: 6px;--chat-ui-space-8: 8px;--chat-ui-space-12: 12px;--chat-ui-space-16: 16px;--chat-ui-space-20: 20px;--chat-ui-space-24: 24px;--chat-ui-space-32: 32px;--chat-ui-space-48: 48px;--chat-ui-text-caption: 12px;--chat-ui-text-label: 14px;--chat-ui-text-body: 16px;--chat-ui-text-heading: 18px;--chat-ui-leading-body: 1.5;--chat-ui-leading-prose: 1.65;--chat-ui-weight-medium: 500;--chat-ui-weight-strong: 600;--chat-ui-icon-weight: regular;--chat-ui-icon-weight-compact: bold;--chat-ui-control-compact: 32px;--chat-ui-control-mobile: 40px;--chat-ui-control-touch: 44px;--chat-ui-radius-round: 50%;--chat-ui-border-width: 1px;--chat-ui-focus-width: 2px;--chat-ui-focus-offset: 2px;--chat-ui-opacity-disabled: .45;--chat-ui-motion-loading: 4s;--chat-ui-motion-fast: .12s;--chat-ui-motion-normal: .15s;--chat-ui-motion-slow: .18s;--chat-ui-ease-enter: cubic-bezier(.2,.8,.2,1);--chat-ui-layer-sticky: 2;--chat-ui-layer-tools: 32;--chat-ui-layer-header: 1001;--chat-ui-layer-backdrop: 1002;--chat-ui-layer-panel: 1003;--chat-ui-layer-popover: 1004;--chat-story-surface-selected: color-mix(in srgb, var(--chat-theme-primary) 15%, transparent);--chat-story-surface-danger: color-mix(in srgb, var(--chat-theme-danger) 12%, transparent);--chat-story-measure: 75ch;--chat-story-lane-padding: calc(2 * var(--chat-ui-space-32));--chat-story-surface-padding: calc(2 * var(--chat-ui-space-32) + 2 * var(--chat-ui-space-8));--chat-story-backdrop-blur: 4px;--chat-theme-primary-foreground: var(--chat-theme-primary);--chat-theme-secondary-foreground: #e66df3;--chat-theme-primary-pressed: var(--chat-theme-primary-hover);--chat-theme-focus-ring: var(--chat-theme-primary);--chat-theme-border-control: var(--chat-theme-text-secondary)}:where(.chat-enabled[data-chat-display][data-chat-themed],.chat-view[data-chat-display][data-chat-themed],.scenario-lab[data-chat-themed]){--chat-theme-text-primary: var(--native-chat-theme-text-primary, var(--theme-text-primary, #EDEDE9));--chat-theme-text-secondary: var(--native-chat-theme-text-secondary, var(--theme-text-secondary, #B6B6A5));--chat-theme-surface: var(--native-chat-theme-surface, var(--theme-surface, #132736));--chat-theme-surface-alt: var(--native-chat-theme-surface-alt, var(--theme-surface-alt, #000814));--chat-theme-surface-hover: var(--native-chat-theme-surface-hover, var(--theme-surface-hover, #0a141c));--chat-theme-surface-elevated: var(--native-chat-theme-surface-elevated, var(--theme-surface-elevated, #1a2332));--chat-theme-border: var(--native-chat-theme-border, var(--theme-border, #272727));--chat-theme-border-subtle: var(--native-chat-theme-border-subtle, var(--theme-border-subtle, rgba(255, 255, 255, .1)));--chat-theme-danger: var(--native-chat-theme-danger, var(--theme-danger, #ff4d4d));--chat-theme-success: var(--native-chat-theme-success, var(--theme-success, #48c78e));--chat-theme-primary: var(--native-chat-theme-primary, var(--theme-primary, #FFC300));--chat-theme-primary-hover: var(--native-chat-theme-primary-hover, var(--theme-primary-hover, #E0AC00));--chat-theme-text-on-primary: var(--native-chat-theme-text-on-primary, var(--theme-text-on-primary, var(--chat-theme-surface-alt)));--chat-theme-overlay-dark: var(--native-chat-theme-overlay-dark, var(--theme-overlay-dark, rgba(0, 0, 0, .62)));--chat-theme-font-primary: var(--native-chat-theme-font-primary, var(--theme-font-primary, "Inter", system-ui, Avenir, Helvetica, Arial, sans-serif));--chat-theme-font-scale: var(--native-chat-theme-font-scale, var(--theme-font-scale, 1));--chat-theme-border-radius-sm: var(--native-chat-theme-border-radius-sm, var(--theme-border-radius-sm, 6px));--chat-theme-border-radius-md: var(--native-chat-theme-border-radius-md, var(--theme-border-radius-md, 8px));--chat-theme-border-radius-lg: var(--native-chat-theme-border-radius-lg, var(--theme-border-radius-lg, 12px));--chat-theme-border-radius-pill: var(--native-chat-theme-border-radius-pill, var(--theme-border-radius-pill, 999px));--chat-theme-secondary: var(--native-chat-theme-secondary, var(--theme-secondary, #CE00E0));--chat-story-surface-selected: var(--native-chat-story-surface-selected, color-mix(in srgb, var(--chat-theme-primary) 15%, transparent));--chat-story-surface-danger: var(--native-chat-story-surface-danger, color-mix(in srgb, var(--chat-theme-danger) 12%, transparent));--chat-theme-primary-foreground: var(--native-chat-theme-primary-foreground, var(--theme-primary-foreground, var(--chat-theme-primary)));--chat-theme-secondary-foreground: var(--native-chat-theme-secondary-foreground, var(--theme-secondary-foreground, #e66df3));--chat-theme-primary-pressed: var(--native-chat-theme-primary-pressed, var(--theme-primary-pressed, var(--chat-theme-primary-hover)));--chat-theme-focus-ring: var(--native-chat-theme-focus-ring, var(--theme-focus-ring, var(--chat-theme-primary)));--chat-theme-border-control: var(--native-chat-theme-border-control, var(--theme-border-control, var(--chat-theme-text-secondary)))}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal]{--chat-layout-corner-subtle: calc(var(--chat-theme-border-radius-sm) * 1);--chat-layout-corner-medium: calc(var(--chat-theme-border-radius-md) * 2);--chat-layout-corner-expressive: calc(var(--chat-theme-border-radius-lg) * 3);--chat-layout-corner-medium-clearance: calc(.3 * var(--chat-layout-corner-medium) + var(--chat-ui-focus-width) + var(--chat-ui-focus-offset));--chat-layout-corner-control: var(--chat-layout-corner-subtle) 0 var(--chat-layout-corner-subtle) 0;--chat-layout-corner-surface: var(--chat-layout-corner-medium) 0 var(--chat-layout-corner-medium) 0;--chat-layout-corner-feature: var(--chat-layout-corner-expressive) 0 var(--chat-layout-corner-expressive) 0}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(button,select,textarea,input:not([type=checkbox],[type=radio],[type=range])){border-radius:var(--chat-layout-corner-control)!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] .field-navigation button[aria-pressed=true]:not(:disabled,[aria-disabled=true],[data-chat-liquid-host],[data-chat-liquid-host] *){position:relative;border-bottom-color:transparent}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] .field-navigation button[aria-pressed=true]:not(:disabled,[aria-disabled=true],[data-chat-liquid-host],[data-chat-liquid-host] *):after{content:"";position:absolute;inset:auto -1px -1px;height:min(100%,calc(var(--chat-layout-corner-subtle) + var(--chat-ui-space-4)));box-sizing:border-box;border:1px solid var(--chat-theme-primary);border-top:0;border-left:0;border-bottom-right-radius:var(--chat-layout-corner-subtle);pointer-events:none}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] .persona-card{border-radius:var(--chat-layout-corner-surface)!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.reference-info>div,.branch-browser,.message-tools){border-radius:var(--chat-layout-corner-surface)}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.persona-preview,.story-graph,.message-focus,.chat-tuning){border-radius:var(--chat-layout-corner-feature)}.chat-enabled[data-chat-display][data-chat-corners=diagonal][data-chat-mirror-speakers] :is(.message-wrapper.bot-wrapper,.page-block:not(.user-passage)){--chat-layout-corner-surface: 0 var(--chat-layout-corner-medium) 0 var(--chat-layout-corner-medium)}.chat-enabled[data-chat-display][data-chat-corners=diagonal][data-chat-mirror-speakers] .message-focus:has(.message-wrapper.bot-wrapper){--chat-layout-corner-feature: 0 var(--chat-layout-corner-expressive) 0 var(--chat-layout-corner-expressive)}.chat-enabled[data-chat-display][data-chat-corners=diagonal]:not([data-chat-quiet]) :is(.message-wrapper:not(.focus-mode) .m-container,.page-block){border-radius:var(--chat-layout-corner-surface)}.chat-enabled[data-chat-display][data-chat-corners=diagonal][data-chat-quiet] :is(.message-wrapper:not(.focus-mode) .m-container,.page-block){border-radius:0}.chat-enabled[data-chat-display][data-chat-corners=diagonal] :is(.header-row,.book-actor-header){border-radius:0}.chat-enabled[data-chat-display][data-chat-corners=diagonal] .message-focus :is(.m-container,.message-tools,.branch-browser){border-radius:0}.chat-enabled[data-chat-display][data-chat-corners=diagonal][data-chat-mirror-speakers] :is(.message-wrapper:not(.bot-wrapper) .header-row,.user-passage .book-actor-header){flex-direction:row-reverse;justify-content:flex-start}.chat-enabled[data-chat-display][data-chat-corners=diagonal][data-chat-mirror-speakers] .message-wrapper:not(.bot-wrapper) .header-row .name{flex:0 1 auto;text-align:right}.chat-view[data-chat-display][data-chat-corners=diagonal]:not([data-chat-quiet]) .demo-messages article{border-radius:var(--chat-layout-corner-surface)}.chat-view[data-chat-display][data-chat-corners=diagonal][data-chat-mirror-speakers] .demo-messages article:not(.demo-user){--chat-layout-corner-surface: 0 var(--chat-layout-corner-medium) 0 var(--chat-layout-corner-medium)}.chat-view[data-chat-display][data-chat-corners=diagonal][data-chat-mirror-speakers] .demo-user-attribution{display:flex;flex-direction:row-reverse;align-items:center;gap:var(--chat-ui-space-8)}.chat-view[data-chat-display][data-chat-corners=diagonal] .demo-user-avatar{display:grid;place-items:center;width:var(--chat-ui-control-compact);height:var(--chat-ui-control-compact);border-radius:var(--chat-ui-radius-round);background:var(--chat-story-surface-selected)}:is(.chat-enabled,.chat-view)[data-chat-display] :is(.chat-tuning,.message-focus,.story-graph){padding:0;overflow:hidden;box-sizing:border-box}:is(.chat-enabled,.chat-view)[data-chat-display] .chat-tuning{display:flex;flex-direction:column}:is(.chat-enabled,.chat-view)[data-chat-display] .chat-tuning-scroll{display:block;min-height:0;overflow:auto;overscroll-behavior:contain;padding:var(--chat-ui-space-16);scroll-padding-block:var(--chat-layout-corner-expressive)}:is(.chat-enabled,.chat-view)[data-chat-display] .chat-tuning-scroll .study-options{min-inline-size:0}:is(.chat-enabled,.chat-view)[data-chat-display] .chat-tuning-scroll label{flex-wrap:wrap}:is(.chat-enabled,.chat-view)[data-chat-display] .chat-tuning-scroll select{min-width:0;max-width:100%}.chat-enabled[data-chat-display][data-chat-corners=diagonal] .message-focus .header-row{padding-block:var(--chat-ui-space-8);padding-left:var(--chat-ui-space-16);padding-right:var(--chat-ui-space-16)}.chat-enabled[data-chat-display][data-chat-corners=diagonal] .message-focus:has(.bot-wrapper) .header-row{padding-left:var(--chat-ui-space-16);padding-right:var(--chat-ui-space-16)}.chat-enabled[data-chat-display][data-chat-corners=diagonal] .message-focus .edit-buttons{padding-inline:max(calc(var(--chat-ui-control-mobile) + var(--chat-ui-space-4)),calc(var(--chat-layout-corner-expressive) + var(--chat-ui-space-4)))}.chat-enabled[data-chat-display][data-chat-corners=diagonal] .message-focus:not(:has(.bot-wrapper)) .branch-close{right:max(var(--chat-ui-space-8),var(--chat-layout-corner-expressive))}.chat-enabled[data-chat-display][data-chat-corners=diagonal] .message-focus .branch-browser{padding-inline:max(var(--chat-ui-space-12),var(--chat-layout-corner-expressive))}.chat-enabled[data-chat-display] .story-graph>header{padding-left:var(--chat-ui-space-16)}.chat-enabled[data-chat-display] .story-graph .graph-details{padding-right:var(--chat-ui-space-16)}:is(.chat-enabled,.chat-view)[data-chat-display] :is(.chat-tuning-scroll,.graph-details)::-webkit-scrollbar-track{margin-bottom:var(--chat-layout-corner-expressive)}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] .chat-panel{border-radius:0 0 var(--chat-layout-corner-expressive) 0}.chat-enabled[data-chat-display] .message-wrapper:has(+.chat-activity-dots){margin-bottom:var(--chat-ui-space-2)}.chat-enabled[data-chat-display] .message-wrapper:has(.branch-indicators):has(+.chat-event-progress:not(.chat-activity-dots):not([open])){margin-bottom:var(--chat-ui-space-4)}.chat-enabled[data-chat-display][data-chat-timestamp-header] .message-wrapper .header-row .timestamp{position:static!important;transform:none!important;align-self:center;flex:0 1 auto;min-width:0;width:max-content;max-width:60%;margin:0 0 0 auto!important;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--chat-ui-text-caption);line-height:var(--chat-ui-leading-body)}.chat-enabled[data-chat-display][data-chat-timestamp-header][data-chat-mirror-speakers] .message-wrapper:not(.bot-wrapper) .header-row .timestamp{margin:0 auto 0 0!important}:is(.chat-enabled,.chat-view)[data-chat-display] [data-chat-attribution]{clip-path:none!important}:is(.chat-enabled,.chat-view)[data-chat-display] [data-chat-attribution] :is(.header-row,.book-actor-header,.demo-speaker,.demo-user-attribution){position:relative!important;top:0!important;transform:translateY(var(--message-frame-sticky-offset,0px));z-index:var(--chat-ui-layer-sticky);transition:none!important}:is(.chat-enabled,.chat-view)[data-chat-display] [data-chat-attribution] :is(.content,.page-block>.attribution-body,.demo-messages article>p){mask-image:var(--message-frame-prose-mask,none)!important;-webkit-mask-image:var(--message-frame-prose-mask,none)!important}:is(.chat-enabled,.chat-view)[data-chat-display] [data-chat-native-attribution]{overflow:visible!important;transform:none;will-change:auto;-webkit-backdrop-filter:none;backdrop-filter:none}:is(.chat-enabled,.chat-view)[data-chat-display] [data-chat-native-attribution] :is(.header-row,.book-actor-header,.demo-speaker,.demo-user-attribution){position:sticky!important;top:var(--chat-ui-space-4)!important;transform:none;width:100%;box-sizing:border-box;background:var(--message-frame-header-fill,var(--chat-theme-surface-alt))}:is(.chat-enabled,.chat-view)[data-chat-display] [data-chat-native-attribution] :is(.header-row,.book-actor-header,.demo-speaker,.demo-user-attribution):before{content:"";position:absolute;inset:calc(-1 * var(--chat-ui-space-4)) 0;z-index:-1;background:inherit;pointer-events:none}:is(.chat-enabled,.chat-view)[data-chat-display] [data-chat-native-attribution] :is(.content,.page-block>.attribution-body,.demo-messages article>p){mask-image:none!important;-webkit-mask-image:none!important}.chat-enabled[data-chat-display]:not([data-chat-quiet]) .message-wrapper:not(.focus-mode) .m-container{background:var(--chat-theme-surface)}.chat-enabled[data-chat-display] .header-row .pfp-container{width:calc(var(--chat-ui-control-compact) + var(--chat-ui-space-8))!important;height:calc(var(--chat-ui-control-compact) + var(--chat-ui-space-8))!important;margin-block:calc(-1 * var(--chat-ui-space-4))}.chat-enabled[data-chat-display][data-chat-timestamp-header] .header-row .name{flex:0 1 auto;min-width:0;max-width:calc(100% - var(--chat-ui-control-compact) - 2 * var(--chat-ui-space-8) - 24ch)}.chat-enabled[data-chat-display] .header-row .timestamp{flex-shrink:0!important}.chat-enabled[data-chat-display] .timestamp-clock{display:none}@media (max-width:759px){.chat-enabled[data-chat-display] .header-row{gap:var(--chat-ui-space-8)}.chat-enabled[data-chat-display][data-chat-timestamp-header] .header-row .name{max-width:calc(100% - var(--chat-ui-control-compact) - 2 * var(--chat-ui-space-8) - 8ch)}.chat-enabled[data-chat-display] .header-row .timestamp-full{display:none}.chat-enabled[data-chat-display] .header-row .timestamp-clock{display:inline}}.chat-enabled[data-chat-display] [data-chat-attribution] .header-row{padding-left:max(var(--chat-ui-space-6),calc(var(--message-frame-top-left,var(--chat-ui-space-16)) - var(--chat-ui-space-8)));padding-right:max(var(--chat-ui-space-6),calc(var(--message-frame-top-right,var(--chat-ui-space-16)) - var(--chat-ui-space-8)))}.chat-enabled[data-chat-display] :is(.header-row,.book-actor-header) .chat-message-meta{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:var(--chat-ui-space-6);flex:0 0 auto;margin-left:auto;min-width:0}.chat-enabled[data-chat-display][data-chat-mirror-speakers] :is(.message-wrapper:not(.bot-wrapper) .header-row,.user-passage .book-actor-header) .chat-message-meta{order:-1;margin-left:var(--chat-ui-space-4)}.chat-enabled[data-chat-display][data-chat-timestamp-header][data-chat-mirror-speakers] .message-wrapper .header-row .chat-message-meta .timestamp{margin:0!important;max-width:none;flex:0 0 auto}.chat-meta-divider{width:1px;height:var(--chat-ui-space-16);background:var(--chat-theme-border);flex:none}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] :is(.chat-holder,.book,.demo-conversation){position:relative;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none}.chat-view[data-chat-display][data-liquid-test] .demo-conversation{position:absolute}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] [data-chat-liquid-host]{position:relative;isolation:isolate}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] .chat-liquid-canvas{position:absolute;display:block;pointer-events:none;z-index:-1;box-sizing:border-box;border-radius:var(--chat-layout-corner-feature);max-width:none;background:color-mix(in srgb,var(--glass-tint,var(--chat-theme-surface)) var(--glass-smoke),transparent);-webkit-backdrop-filter:blur(var(--glass-frost)) saturate(1.15);backdrop-filter:blur(var(--glass-frost)) saturate(1.15);box-shadow:0 var(--glass-elevation) calc(2 * var(--glass-elevation)) calc(-.25 * var(--glass-elevation)) #00000061,inset 0 1px color-mix(in srgb,var(--chat-theme-text-primary) 35%,transparent),inset 0 -1px color-mix(in srgb,var(--chat-theme-text-primary) 10%,transparent);outline:1px solid color-mix(in srgb,var(--chat-theme-text-primary) 16%,transparent);outline-offset:-1px}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] .chat-liquid-canvas[hidden]{display:none}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-transcript] :is(.messages-holder,.book-scroll,.demo-messages){margin:var(--chat-ui-space-12);width:auto;border:0;border-radius:var(--chat-layout-corner-feature);background:transparent!important;min-height:0}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-transcript] :is(.messages-content,.book-pages){background:transparent}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] .chat-liquid-canvas[data-glass-layer=transcript]{z-index:0}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-transcript] :is(.messages-holder,.book-scroll,.demo-messages){z-index:1}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-composer] :is(.send-box,.book-controls,.demo-composer){margin:var(--chat-ui-space-12)!important;width:calc(100% - 2 * var(--chat-ui-space-12))!important;max-width:none;padding:var(--chat-ui-space-8)!important;border:0;border-radius:var(--chat-layout-corner-feature);background:transparent!important;overflow:visible;z-index:3;box-sizing:border-box}:is(.chat-enabled,.chat-view)[data-chat-display]:is([data-glass-composer],[data-glass-groups]) :is(.study-composer,.compose-input,.send-box,.book-controls,.demo-composer){background:transparent!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-composer] .study-composer{padding:var(--chat-ui-space-8)}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-groups] .study-composer{padding:var(--chat-ui-space-12);row-gap:var(--chat-ui-space-12)}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-groups] :is(.study-composer,.demo-composer){isolation:isolate;position:relative}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] .chat-liquid-canvas:is([data-glass-layer=left],[data-glass-layer=right]){border-radius:var(--chat-layout-corner-surface)}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] :is(.message-wrapper:not(.focus-mode) .m-container,.book-pages .page-block,.demo-messages article){background:transparent!important;box-shadow:none!important;border-color:transparent;border-radius:var(--chat-layout-corner-surface)!important;isolation:isolate;overflow:visible!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] .chat-liquid-canvas[data-glass-layer=message]{border-radius:var(--chat-layout-corner-surface)}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] :is(.messages-holder,.book-scroll,.demo-messages){background:transparent!important}@media (max-width:379px){:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-composer] :is(.send-box,.book-controls,.demo-composer){margin:var(--chat-ui-space-8)!important;width:calc(100% - 2 * var(--chat-ui-space-8))!important;padding:var(--chat-ui-space-4)!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-groups] .study-composer{padding-inline:var(--chat-ui-space-8)}}@media (forced-colors:active){:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] .chat-liquid-canvas{display:none}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] [data-chat-liquid-host]{background:Canvas!important;color:CanvasText;border:1px solid CanvasText}}@media (max-width:479px){.chat-enabled[data-chat-display][data-glass-groups] .study-composer .action-tray-wrapper{grid-column:1/-1;grid-row:2}.chat-enabled[data-chat-display][data-glass-groups] .study-composer :is(.control-bar,.compose-primary-actions){grid-row:3}}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] .chat-liquid-canvas[data-glass-rendered]{background:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;outline:0;filter:drop-shadow(0 var(--glass-elevation) var(--glass-elevation) rgb(0 0 0 / .3))}@media (any-pointer:coarse){:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] .chat-liquid-canvas[data-glass-rendered]{filter:none}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] :is(.message-wrapper:not(.focus-mode) .m-container,.book-pages .page-block,.demo-messages article){z-index:0}}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-status=webgl] [data-liquid-button]{background:transparent!important;border-color:transparent!important;box-shadow:none!important;transform:none!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-status=webgl] [data-liquid-button]>:is(span,svg){transform:translateY(var(--glass-selection-lift,0px)) scale(var(--glass-selection-scale,1));transition:none!important;pointer-events:none}.glass-image-unavailable{display:none}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-test] .chat-liquid-canvas[data-glass-rendered][data-glass-crop]{border-radius:0}:is(.chat-enabled,.chat-view)[data-liquid-source=blocked] .glass-image-unavailable{display:block}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] .chat-liquid-canvas[data-glass-layer=attribution]{border-radius:0;filter:none;box-shadow:none;outline:0}@media not (forced-colors:active){:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] [data-chat-native-attribution]>:is(.header-row,.book-actor-header,.demo-speaker,.demo-user-attribution):has(>.chat-liquid-canvas){background:transparent!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] [data-chat-native-attribution]>:is(.header-row,.book-actor-header,.demo-speaker,.demo-user-attribution):has(>.chat-liquid-canvas):before{background:transparent}}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] [data-chat-native-attribution]>:is(.header-row,.book-actor-header,.demo-speaker,.demo-user-attribution):has(>[data-glass-rendered]){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages][data-liquid-status=fallback] :is(.messages-holder,.book-scroll,.demo-messages){mask-image:none!important;-webkit-mask-image:none!important}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] .chat-liquid-canvas[data-glass-layer=attribution]:not([data-glass-rendered]){background:transparent;backdrop-filter:blur(var(--glass-frost));-webkit-backdrop-filter:blur(var(--glass-frost))}@media (any-pointer:coarse){:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-messages] .book-pages .page-block>.attribution-body{position:relative;z-index:0}}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-navbar] .chat-header[data-chat-liquid-host]{position:fixed;background:transparent;border:0;isolation:isolate}:is(.chat-enabled,.chat-view)[data-chat-display][data-glass-navbar] .chat-liquid-canvas[data-glass-layer=navbar]{border-radius:var(--chat-layout-corner-surface)}:is(.chat-enabled,.chat-view)[data-chat-display][data-liquid-status=webgl] .chat-header [data-liquid-button]>:is(span,svg){transform:translateY(max(calc(-1 * var(--chat-ui-space-4)),var(--glass-selection-lift,0px))) scale(var(--glass-selection-scale,1))}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.chat-holder,.book,.demo-conversation,.messages-holder,.book-scroll,.demo-messages){border:0!important;border-radius:0!important;outline:0;box-shadow:none!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.chat-enabled[data-chat-display][data-chat-corners=diagonal][data-chat-bound] .chatbox-container :is(.chat-container,.book){max-width:calc(var(--chat-layout-measure) + var(--chat-story-surface-padding) + 2 * var(--chat-ui-space-16))}.chat-enabled[data-chat-display][data-chat-corners=diagonal] :is(.messages-content,.book-pages){position:relative;min-height:100%;padding-inline:var(--chat-ui-space-16)}.chat-enabled[data-chat-display][data-chat-corners=diagonal][data-chat-bound] .messages-content{max-width:calc(var(--chat-layout-measure) + var(--chat-story-lane-padding) + 2 * var(--chat-ui-space-8))}.chat-view[data-chat-display][data-chat-corners=diagonal] .demo-messages{position:relative;padding:0 var(--chat-ui-space-16)}.chat-view[data-chat-display][data-chat-corners=diagonal] .demo-messages-content{position:relative;display:flow-root;min-height:100%;box-sizing:border-box;padding-block:var(--chat-ui-space-8) var(--chat-ui-space-24)}.chat-view[data-chat-display][data-chat-corners=diagonal] .demo-messages .demo-user{margin-inline:auto}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.send-box,.book-controls,.demo-composer){--chat-layout-corner-feature:0 var(--chat-layout-corner-expressive) 0 var(--chat-layout-corner-expressive);position:relative;flex-shrink:0;box-sizing:border-box;width:calc(100% - 2 * var(--chat-ui-space-12))!important;max-width:none;margin:var(--chat-ui-space-12) auto max(var(--chat-ui-space-12),env(safe-area-inset-bottom,0px))!important;padding:var(--chat-ui-space-8)!important;border:0;border-radius:var(--chat-layout-corner-feature);background:var(--chat-theme-surface);box-shadow:var(--chat-theme-shadow-md);overflow:visible}.chat-view[data-chat-display][data-chat-corners=diagonal][data-chat-bound] .demo-composer{max-width:calc(var(--chat-layout-measure) + var(--chat-story-surface-padding))}.chat-view[data-chat-display][data-chat-corners=diagonal][data-chat-bound][data-chat-docked] .demo-composer{margin-left:var(--chat-ui-space-12)!important}.chat-enabled[data-chat-display][data-chat-corners=diagonal] .study-composer{background:transparent}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal][data-glass-composer] :is(.send-box,.book-controls,.demo-composer){box-shadow:none}@media (max-width:379px){:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.send-box,.book-controls,.demo-composer){width:calc(100% - 2 * var(--chat-ui-space-8))!important;margin:var(--chat-ui-space-8) auto max(var(--chat-ui-space-8),env(safe-area-inset-bottom,0px))!important;padding:var(--chat-ui-space-4)!important}}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.messages-holder,.book-scroll,.demo-messages){scrollbar-width:auto;scrollbar-gutter:stable;scrollbar-color:var(--chat-theme-border) transparent}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.messages-holder,.book-scroll,.demo-messages):is(:hover,:focus-within){scrollbar-color:var(--chat-theme-text-secondary) transparent}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] .chat-reading-line{position:absolute;width:1px;background:var(--chat-theme-border);pointer-events:none;-webkit-user-select:none;user-select:none}.chat-reading-line[hidden]{display:none}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal][data-chat-connecting-line] [data-reading-line-connected]:before{content:"";position:absolute;left:var(--reading-line-x);top:calc(-1 * var(--reading-line-gap));height:var(--reading-line-gap);width:var(--reading-line-reach);box-sizing:border-box;border-left:1px solid var(--chat-theme-border);border-bottom:1px solid var(--chat-theme-border);border-bottom-left-radius:var(--chat-ui-space-4);pointer-events:none}@media (forced-colors:active){:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.messages-holder,.book-scroll,.demo-messages){scrollbar-color:auto}:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] .chat-reading-line,:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] [data-reading-line-connected]:before{display:none}}@media (pointer:fine) and (forced-colors:none){:is(.chat-enabled,.chat-view)[data-chat-display] :is(.messages-holder,.book-scroll,.demo-messages,.chat-message-focus .attribution-body,.textedit,.compose-input,.chat-focus-tools-slot,.chat-tuning-scroll,.controls-content,.field-navigation,.graph-details,.branch-targets,.chat-panel *,.chat-tuning *){scrollbar-width:auto;scrollbar-gutter:stable;scrollbar-color:var(--chat-theme-border) transparent}@supports selector(::-webkit-scrollbar){:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners] :is(.messages-holder,.book-scroll,.demo-messages,.chat-message-focus .attribution-body,.textedit,.compose-input,.chat-focus-tools-slot,.chat-tuning-scroll,.controls-content,.field-navigation,.graph-details,.branch-targets,.chat-panel *,.chat-tuning *){scrollbar-color:auto}:is(.chat-enabled,.chat-view)[data-chat-display] :is(.messages-holder,.book-scroll,.demo-messages,.chat-message-focus .attribution-body,.textedit,.compose-input,.chat-focus-tools-slot,.chat-tuning-scroll,.controls-content,.field-navigation,.graph-details,.branch-targets,.chat-panel *,.chat-tuning *)::-webkit-scrollbar{width:var(--chat-ui-space-16);height:var(--chat-ui-space-16);background:transparent}:is(.chat-enabled,.chat-view)[data-chat-display] :is(.messages-holder,.book-scroll,.demo-messages,.chat-message-focus .attribution-body,.textedit,.compose-input,.chat-focus-tools-slot,.chat-tuning-scroll,.controls-content,.field-navigation,.graph-details,.branch-targets,.chat-panel *,.chat-tuning *)::-webkit-scrollbar-track{background:transparent;border:0;box-shadow:none;margin-block:var(--chat-ui-space-12)}:is(.chat-enabled,.chat-view)[data-chat-display] :is(.messages-holder,.book-scroll,.demo-messages,.chat-message-focus .attribution-body,.textedit,.compose-input,.chat-focus-tools-slot,.chat-tuning-scroll,.controls-content,.field-navigation,.graph-details,.branch-targets,.chat-panel *,.chat-tuning *)::-webkit-scrollbar-thumb{background:var(--chat-theme-text-secondary);background-clip:padding-box;border:var(--chat-ui-space-6) solid transparent;border-radius:var(--chat-theme-border-radius-pill)}:is(.chat-enabled,.chat-view)[data-chat-display] :is(.messages-holder,.book-scroll,.demo-messages,.chat-message-focus .attribution-body,.textedit,.compose-input,.chat-focus-tools-slot,.chat-tuning-scroll,.controls-content,.field-navigation,.graph-details,.branch-targets,.chat-panel *,.chat-tuning *)::-webkit-scrollbar-thumb:hover{border-width:var(--chat-ui-space-4);background-color:var(--chat-theme-primary-foreground)}:is(.chat-enabled,.chat-view)[data-chat-display] :is(.messages-holder,.book-scroll,.demo-messages,.chat-message-focus .attribution-body,.textedit,.compose-input,.chat-focus-tools-slot,.chat-tuning-scroll,.controls-content,.field-navigation,.graph-details,.branch-targets,.chat-panel *,.chat-tuning *)::-webkit-scrollbar-corner{background:transparent}:is(.chat-enabled,.chat-view)[data-chat-display] :is(.messages-holder,.book-scroll,.demo-messages,.chat-message-focus .attribution-body,.textedit,.compose-input,.chat-focus-tools-slot,.chat-tuning-scroll,.controls-content,.field-navigation,.graph-details,.branch-targets,.chat-panel *,.chat-tuning *)::-webkit-scrollbar-button{display:none}.chat-enabled[data-chat-display] .chat-message-focus :is(.attribution-body,.textedit)::-webkit-scrollbar-track{margin-block:var(--chat-layout-corner-expressive)}}}:is(.chat-enabled,.chat-view)[data-chat-display] [data-message-scroll=lenis]{scroll-behavior:auto!important;overscroll-behavior:contain;touch-action:pan-x pinch-zoom;scrollbar-width:none!important}:is(.chat-enabled,.chat-view)[data-chat-display] [data-message-scroll=lenis]::-webkit-scrollbar{display:none;width:0;height:0}@media (max-width:759px){:is(.chat-enabled,.chat-view)[data-chat-display][data-chat-corners=diagonal] :is(.send-box,.book-controls,.demo-composer)[data-mobile-docked]{--chat-layout-corner-feature:0 var(--mobile-surface-radius) 0 var(--mobile-surface-radius);width:var(--mobile-surface-width)!important;max-width:none!important;margin:var(--mobile-surface-top) calc(50% - var(--mobile-surface-width) / 2) calc(var(--mobile-input-reserve) + var(--mobile-surface-bottom))!important;padding:var(--mobile-surface-padding)!important;border-radius:0 var(--mobile-surface-radius) 0 var(--mobile-surface-radius)!important}[data-mobile-docked] .chat-mobile-composer,[data-mobile-docked] .chat-mobile-composer-body{position:static}}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{margin-top:1em;margin-bottom:.5em;color:var(--theme-primary, var(--kk-br-mikado-yellow));font-weight:600}.markdown-content h1{font-size:1.8rem}.markdown-content h2{font-size:1.5rem}.markdown-content h3{font-size:1.3rem}.markdown-content h4{font-size:1.2rem}.markdown-content h5{font-size:1.1rem}.markdown-content h6{font-size:1rem}.markdown-content p{margin:.7em 0;line-height:1.6;white-space:pre-wrap}.markdown-content ul,.markdown-content ol{padding-left:1.5em;margin:.8em 0}.markdown-content li{margin-bottom:.3em}.markdown-content em{font-style:italic}.markdown-content strong{color:var(--theme-primary, var(--kk-br-mikado-yellow));font-weight:600}.markdown-content code{background:#0000004d;padding:.1em .3em;border-radius:3px;font-family:Courier New,monospace;font-size:.9em}.markdown-content pre{background:#0000004d;padding:1em;border-radius:5px;overflow-x:auto;margin:1em 0;max-width:100%;word-wrap:break-word;overflow-wrap:break-word;box-sizing:border-box}.markdown-content pre code{background:transparent;padding:0;word-wrap:break-word;overflow-wrap:break-word;white-space:pre-wrap;display:block;max-width:100%}.markdown-content blockquote{border-left:3px solid var(--theme-primary, var(--kk-br-mikado-yellow));padding-left:1em;margin:1em 0;color:#fffc;font-style:italic}.markdown-content a{color:var(--theme-primary, var(--kk-br-mikado-yellow));text-decoration:underline}.markdown-content a:hover{color:var(--theme-primary, var(--kk-br-mikado-yellow))}.markdown-content hr{border:none;height:1px;background-color:#fff3;margin:1.5em 0}.markdown-content img{max-width:100%;border-radius:5px;margin:.5em 0;height:auto;cursor:pointer;transition:transform .2s ease}.markdown-content img:hover{transform:scale(1.02)}.markdown-content table{width:100%;border-collapse:collapse;margin:1em 0}.markdown-content th,.markdown-content td{border:1px solid rgba(255,255,255,.2);padding:.5em}.markdown-content th{background:#0000004d;font-weight:700}.markdown-content tr:nth-child(2n){background:#00000026}.story-directory-tree{--tree-indent: 16px;--tree-connector: 1px solid var(--theme-border-subtle, rgba(255,255,255,.25));--tree-connector-color: var(--theme-border-subtle, rgba(255,255,255,.25));--tree-hover: var(--theme-surface-hover, #0a141c);--tree-focus: var(--theme-border, #272727);--tree-text: var(--theme-text-primary, var(--kk-text-primary));--tree-text-dim: var(--theme-text-secondary, var(--kk-text-secondary));--tree-accent: var(--theme-accent1, var(--kk-br-mikado-yellow));--tree-surface: var(--theme-surface-elevated, #1a2332);--tree-gutter-x: 10px}.story-directory-tree{padding:8px;border:1px solid var(--theme-border, #272727);border-radius:var(--theme-border-radius-lg, 12px);background:linear-gradient(180deg,rgba(var(--theme-surface-alt-rgb, 19,39,54),.65),rgba(var(--theme-surface-alt-rgb, 19,39,54),.35))}.story-directory-tree .toolbar{padding:4px 8px;border-bottom:1px solid var(--theme-border, #272727);background:var(--theme-surface, #132736);border-radius:var(--theme-border-radius-md, 8px)}.story-directory-tree .icon-btn{color:var(--tree-text);opacity:.9}.story-directory-tree .icon-btn:hover{color:var(--tree-accent);opacity:1}.story-directory-tree .tree-root,.story-directory-tree .children{margin:0;padding-left:var(--tree-indent);list-style:none;position:relative}.directory-node>.row{position:relative;min-height:28px;border-radius:var(--theme-border-radius-sm, 4px);color:var(--tree-text)}.story-file-node>.row{position:relative;min-height:26px;border-radius:var(--theme-border-radius-sm, 4px);color:var(--tree-text)}.directory-node>.row,.story-file-node>.row{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.directory-node>.row:hover,.story-file-node>.row:hover{background:linear-gradient(90deg,rgba(var(--theme-surface-elevated-rgb, 26,35,50),.6),rgba(var(--theme-surface-elevated-rgb, 26,35,50),0))}.directory-node>.row:focus,.story-file-node>.row:focus{outline:1px dashed var(--tree-focus);outline-offset:2px}.story-directory-tree{--tree-row-mid: 20px}.directory-node,.story-file-node{position:relative}.story-directory-tree .children>.directory-node:before,.story-directory-tree .children>.story-file-node:before{content:"";position:absolute;left:calc(-1 * var(--tree-indent) + var(--tree-gutter-x));top:0;bottom:0;width:1px;background:var(--tree-connector-color);pointer-events:none;z-index:2}.story-directory-tree .children>.directory-node:last-child:before,.story-directory-tree .children>.story-file-node:last-child:before{bottom:auto;height:var(--tree-row-mid)}.story-directory-tree .children>.directory-node:after,.story-directory-tree .children>.story-file-node:after{content:"";position:absolute;left:calc(-1 * var(--tree-indent) + var(--tree-gutter-x));top:var(--tree-row-mid);width:var(--tree-gutter-x);height:1px;background:var(--tree-connector-color);pointer-events:none;z-index:2}.directory-node .name,.story-file-node .title{color:var(--tree-text)}.story-file-node .meta-line{color:var(--tree-text-dim)}.story-file-node .badge{font-size:11px;opacity:.85}.badge-private{color:var(--theme-text-secondary, var(--kk-text-secondary))}.badge-pinned{color:var(--tree-accent)}.badge-archived{color:var(--theme-text-secondary, var(--kk-text-secondary))}.folder-icon,.file-icon{opacity:.9}.story-directory-tree [role=group]{margin-top:2px}@media (max-width: 600px){.story-directory-tree{--tree-indent: 14px}.directory-node>.row,.story-file-node>.row{padding:8px 6px}}.tag--style-test{background:linear-gradient(135deg,var(--theme-primary, var(--kk-br-mikado-yellow)) 0%,var(--theme-surface, var(--kk-br-rich-black)) 50%,var(--theme-primary, var(--kk-br-mikado-yellow)) 100%)!important;color:var(--theme-text-on-primary, inherit)!important;border-color:transparent!important}.tag--priority{box-shadow:0 0 0 1px var(--theme-primary, var(--kk-br-mikado-yellow)),0 0 10px rgba(var(--theme-primary-rgb, 255, 195, 0),.25)}.tag--style-nsfw{position:relative;overflow:hidden;isolation:isolate;background-color:transparent!important;border-color:transparent!important}.tag--style-nsfw:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(#0000001f,#0000001f),url(/assets/firebg-optimized-O7GBl1oO.gif);background-size:cover;background-position:center;background-repeat:no-repeat;border-radius:inherit;filter:blur(1px);transform:scale(1.03);pointer-events:none}:root{font-family:var(--theme-font-primary);line-height:1.5;font-weight:400;font-size:16px;color-scheme:light dark;background-color:var(--theme-surface-alt, #242424);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;color:var(--kk-br-pure-white)}html,body{width:100%;height:100vh;padding:0;margin:0;position:fixed;overflow:hidden;background:var(--theme-surface-alt)}#app{height:100%;background:var(--theme-surface-alt)}*,*:before,*:after{box-sizing:border-box}button,input,select,textarea{font:inherit}button,a,[role=button]{-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(button,a,input,select,textarea,[role=button]):focus-visible{outline:3px solid color-mix(in srgb,var(--theme-primary) 58%,transparent);outline-offset:2px}@media (prefers-reduced-motion: reduce){html:focus-within{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@supports (height: 100dvh){body{height:100dvh}}.chat-view-wrapper{position:relative;width:100%;height:100%}.chat-background{position:fixed!important;top:0;bottom:0;left:348px;right:0;width:auto!important;height:100vh!important;z-index:0;transition:all .3s ease-in-out}@media (max-width: 1632px){.chat-background{left:0}}.hide-images img{filter:brightness(0) contrast(0)!important;background-color:var(--theme-surface)!important;border:1px solid var(--theme-border)!important;border-radius:4px!important;position:relative!important;min-width:50px!important;min-height:50px!important;object-fit:cover!important;pointer-events:auto!important;opacity:0!important}.hide-images img:before{content:"🖼️"!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;color:var(--theme-text-secondary)!important;font-size:16px!important;opacity:.7!important;pointer-events:none!important;z-index:1!important;background-color:transparent!important}.hide-images img{box-shadow:inset 0 0 0 1000px var(--theme-surface)!important}.hide-images [style*=background-image]{background-image:none!important;background-color:var(--theme-surface)!important;border:1px solid var(--theme-border)!important;border-radius:4px!important;position:relative!important;pointer-events:auto!important}.hide-images [style*=background-image]:before{content:"🖼️"!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;color:var(--theme-text-secondary)!important;font-size:16px!important;opacity:.7!important;pointer-events:none!important;z-index:1!important}.hide-images *{background-image:none!important}.hide-images .image-container,.hide-images .avatar,.hide-images .thumbnail,.hide-images .profile-picture{background-image:none!important;background-color:var(--theme-surface)!important;border:1px solid var(--theme-border)!important;border-radius:4px!important;position:relative!important;pointer-events:auto!important}.hide-images .image-container:before,.hide-images .avatar:before,.hide-images .thumbnail:before,.hide-images .profile-picture:before{content:"🖼️"!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;color:var(--theme-text-secondary)!important;font-size:16px!important;opacity:.7!important;pointer-events:none!important;z-index:1!important}.hide-images img[src]{background:var(--theme-surface)!important;position:relative!important;cursor:pointer!important}@supports not (filter: brightness(0)){.hide-images img{-webkit-filter:brightness(0) contrast(0)!important}}.chat-view-wrapper{--message-backdrop-filter: none;--message-backdrop-shadow: none;--message-box-blur: 0px;--backdrop-overlay: none;--backdrop-blend-mode: normal;--chat-text-color: var(--kk-br-pure-white);--chat-text-shadow: none;--is-image-background: false}.graphics-quality-high{--chat-backdrop-blur: 2px;--message-box-blur: 5px;--message-box-bg: rgba(20, 30, 50, .7);--message-backdrop-filter: none;--message-backdrop-shadow: 0 4px 8px rgba(0, 0, 0, .3)}.graphics-quality-low{--chat-backdrop-blur: 0px;--message-box-blur: 0px;--message-box-bg: var(--theme-surface);--message-backdrop-filter: none;--message-backdrop-shadow: none;--backdrop-overlay: none;--message-box-shadow: none}.graphics-quality-low .chat-background,.graphics-quality-low .chat-holder,.graphics-quality-low .chat-holder:after,.graphics-quality-low .chat-page .m-container,.graphics-quality-low .message-box,.graphics-quality-low .message-box .message-container,.graphics-quality-low .message-box .message-bubble{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.graphics-quality-low .chat-background,.graphics-quality-low .chat-holder,.graphics-quality-low .chat-page .m-container{transform:none!important;will-change:auto!important;-webkit-transform-style:flat!important;transform-style:flat!important;backface-visibility:visible!important}.graphics-quality-low .chat-holder{background:var(--theme-surface);box-shadow:none!important}.graphics-quality-low .chat-holder:after{opacity:0!important}.graphics-quality-low .chat-page .m-container{background:var(--theme-surface-alt);box-shadow:0 2px 6px #00000040;border:1px solid rgba(0,0,0,.35)}.graphics-quality-low .message-box .message-bubble{box-shadow:none!important;filter:none!important}.graphics-quality-low .chat-background,.graphics-quality-low .chat-holder,.graphics-quality-low .retention .notif{transition:none!important}.graphics-quality-low .retention .notif{box-shadow:none!important}.graphics-quality-low .chat-view-wrapper button{transition:background-color .2s ease,color .2s ease}.chat-page .chat-holder{position:relative;z-index:1}.chat-page .message-box .message-container{position:relative;z-index:2}.chat-page .m-container{position:relative;transform:translateZ(0);will-change:transform}.chat-page .content span{position:relative;z-index:2}.chat-page .m-container{background:var(--message-box-bg, rgba(20, 30, 50, .7));backdrop-filter:blur(var(--message-box-blur, 5px));-webkit-backdrop-filter:blur(var(--message-box-blur, 5px));border:var(--message-box-border, 1px solid rgba(255, 255, 255, .1));box-shadow:var(--message-box-shadow, 0 4px 8px rgba(0, 0, 0, .3));color:var(--chat-text-color, var(--kk-br-pure-white));text-shadow:var(--chat-text-shadow, none)}.chat-page .message-wrapper{position:relative;z-index:3}.chat-background{-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform;backface-visibility:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.chat-page .chat-holder{backdrop-filter:blur(var(--chat-backdrop-blur, 2px));-webkit-backdrop-filter:blur(var(--chat-backdrop-blur, 2px))}@supports (-moz-appearance:none){.chat-page .m-container{background-color:var(--message-box-bg, rgba(0, 0, 0, .7))}}body.chat-page .router-container{max-width:100%!important;width:100%!important;margin:0!important}.theme-creator-modal,.theme-editor-modal{z-index:9999!important}.top-controls .chat-sort select option{background:var(--kk-br-input-bg);color:var(--kk-text-primary)}.router-container[data-v-6756a554]{height:100%;max-width:1300px;margin-right:auto;margin-left:auto;position:relative;transition:margin .5s}@media (max-width: 1632px){.router-container[data-v-6756a554]{margin-right:auto}}@media (min-width: 1633px) and (max-width: 1954px){.router-container[data-v-6756a554]{width:100%;max-width:1300px;position:absolute;left:348px}}@media (min-width: 1955px){.router-container[data-v-6756a554]{position:relative;left:168px;margin-right:auto}}.router-container .alert-system[data-v-6756a554]{position:fixed;top:0;left:0;height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;z-index:5000;background-color:rgba(var(--theme-surface-rgb),.8);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.alert-system .alert-content[data-v-6756a554]{width:100%;max-width:400px;background-color:var(--theme-surface-elevated);border-radius:var(--theme-border-radius-xl);padding:1.5rem;border:2px solid var(--theme-border);margin:1rem;box-shadow:0 8px 32px #0000004d;color:var(--theme-text-primary)}.alert-system .alert-content h1[data-v-6756a554]{color:var(--theme-text-primary);font-size:1.25rem;font-weight:600;margin:0 0 1rem;line-height:1.4}.alert-system .alert-content div[data-v-6756a554]:not(.corner-icon):not(.cta-button){color:var(--theme-text-secondary);font-size:1rem;line-height:1.5;margin-bottom:1rem}.corner-icon[data-v-6756a554]{width:100%;display:flex;justify-content:flex-end;margin-bottom:.5rem;cursor:pointer;color:var(--theme-text-secondary);transition:color .2s ease}.corner-icon[data-v-6756a554]:hover{color:var(--theme-text-primary)}.cta-button[data-v-6756a554]{width:100%;margin-top:8px;box-sizing:border-box;background-color:var(--theme-accent1);border-radius:var(--theme-border-radius-md);display:flex;justify-content:center;align-items:center;min-height:44px;padding:.75rem 1rem;font-family:var(--theme-font-primary);font-weight:600;font-size:1rem;line-height:1.2;letter-spacing:.025em;color:var(--theme-surface);border:2px solid transparent;cursor:pointer;transition:all .2s ease;text-align:center;box-shadow:0 2px 8px #0000001a}.cta-button[data-v-6756a554]:hover{background-color:var(--theme-accent4);border-color:var(--theme-border);box-shadow:0 4px 16px #0003;transform:translateY(-1px)}.cta-button[data-v-6756a554]:focus{outline:none;box-shadow:0 0 0 3px rgba(var(--theme-accent1),.3)}.cta-button[data-v-6756a554]:active{transform:translateY(0);box-shadow:0 2px 8px #0000001a}.alert-buttons[data-v-6756a554]{display:flex;flex-direction:column;margin-top:1rem}@media (max-width: 640px){.alert-system .alert-content[data-v-6756a554]{margin:.75rem;padding:1.25rem;max-width:calc(100vw - 1.5rem)}.alert-system .alert-content h1[data-v-6756a554]{font-size:1.125rem}.cta-button[data-v-6756a554]{font-size:.9rem;min-height:40px;padding:.625rem .875rem}.alert-buttons[data-v-6756a554]{gap:.5rem}}
