@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {
/* Sized glyphs keep their box inside flex rows with long neighbouring text. */
svg[data-v-80027ef8], img[data-v-80027ef8] { flex-shrink: 0;
}
img.colorize-black[data-v-80027ef8] { filter: grayscale(100) brightness(0);
}
}
@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {
.histoire-token-virtual { box-sizing: border-box; min-width: 0;
}
.histoire-token-virtual-row { box-sizing: border-box; min-width: 0;
}
.histoire-token-virtual-row-grid { display: grid; gap: 16px;
}
.histoire-token-virtual-cell { min-width: 0;
}
.histoire-token-virtual-spacer { display: block; width: 100%; pointer-events: none;
}
}
@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {
.htw-bind-col-size { grid-template-columns: repeat(auto-fill, minmax(min(var(--histoire-col-size), 100%), 1fr));
}
}
@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {
.histoire-pulsating-disc[data-v-e54979fc] { display: flex; align-items: center; justify-content: center; box-sizing: border-box; aspect-ratio: 1;
}
.histoire-pulsating-disc-dot[data-v-e54979fc] {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}
/* Each quadrant combines a scaled curved corner with two sliding solid edges.
   Together they leave a circular hole, using only compositor transforms. */
.histoire-pulsating-disc-quarter[data-v-e54979fc] {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 50%;
  overflow: hidden;
  transform-origin: 0 0;
}
.histoire-pulsating-disc-quarter[data-v-e54979fc]:nth-child(2) { transform: rotate(90deg);
}
.histoire-pulsating-disc-quarter[data-v-e54979fc]:nth-child(3) { transform: rotate(180deg);
}
.histoire-pulsating-disc-quarter[data-v-e54979fc]:nth-child(4) { transform: rotate(270deg);
}
.histoire-pulsating-disc-corner[data-v-e54979fc] {
  display: block;
  /* Oversized solid edges overlap sliding panels to prevent subpixel seams.
     The SVG hole uses half its viewBox, keeping its radius at 60%. */
  width: 120%;
  height: 120%;
  transform-origin: 0 0;
  animation: histoire-pulsating-disc-corner-e54979fc 1.1s ease-in-out infinite;
  will-change: transform;
}
.histoire-pulsating-disc-quarter[data-v-e54979fc]::before,
.histoire-pulsating-disc-quarter[data-v-e54979fc]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  animation: histoire-pulsating-disc-edge-x-e54979fc 1.1s ease-in-out infinite;
  will-change: transform;
}
.histoire-pulsating-disc-quarter[data-v-e54979fc]::after { animation-name: histoire-pulsating-disc-edge-y-e54979fc;
}
@keyframes histoire-pulsating-disc-corner-e54979fc {
0%, 100% { transform: scale(0);
}
50% { transform: scale(1);
}
}
@keyframes histoire-pulsating-disc-edge-x-e54979fc {
0%, 100% { transform: translateX(0);
}
50% { transform: translateX(60%);
}
}
@keyframes histoire-pulsating-disc-edge-y-e54979fc {
0%, 100% { transform: translateY(0);
}
50% { transform: translateY(60%);
}
}
@media (prefers-reduced-motion: reduce) {
.histoire-pulsating-disc-corner[data-v-e54979fc],
  .histoire-pulsating-disc-quarter[data-v-e54979fc]::before,
  .histoire-pulsating-disc-quarter[data-v-e54979fc]::after { animation: none; will-change: auto;
}
}
}
@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {
.__histoire-json-load-state[data-v-c395a5dc] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.__histoire-json-load-error[data-v-c395a5dc] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
}
@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {
.histoire-slider-track { height: 4px; width: 100%; border-radius: 4px; background: var(--histoire-control-resolved-border);
}
.htw-range-input {
  min-height: var(--histoire-control-height, 34px);
&::-webkit-slider-thumb {
    appearance: none; width: 14px; height: 14px; background: var(--histoire-control-resolved-surface); border: 1px solid var(--histoire-control-resolved-border); border-radius: 50%;
}
&:hover::-webkit-slider-thumb {
    background: var(--histoire-control-resolved-accent); border-color: var(--histoire-control-resolved-accent);
}
}
/* Separate rules for -moz-range-thumb to prevent a bug with Safari that causes it to ignore custom style */
.htw-range-input {
&::-moz-range-thumb {
    appearance: none; width: 14px; height: 14px; background: var(--histoire-control-resolved-surface); border: 1px solid var(--histoire-control-resolved-border); border-radius: 50%;
}
&:hover::-moz-range-thumb {
    background: var(--histoire-control-resolved-accent); border-color: var(--histoire-control-resolved-accent);
}
}
}
@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {/* Context and ordinary appearance qualifiers select defaults without raising their priority.
   Host utilities can override one property while retaining native state styles. *//* Shared C1 chrome. Semantic host variables win over standalone defaults. */:where(.histoire-wrapper, .histoire-button, .histoire-control-menu, .histoire-controls-options, .histoire-controls-tooltip, .histoire-token-grid, .histoire-token-list, .histoire-color-shades, .histoire-controls-floating-tooltip, .histoire-control-popover, .histoire-button-group-options) {
  --histoire-control-resolved-surface: var(--histoire-control-surface, var(--histoire-surface, #fff));
  --histoire-control-resolved-input: var(--histoire-control-input, var(--histoire-input, #fafafa));
  --histoire-control-resolved-border: var(--histoire-control-border, var(--histoire-border, #e4e4e7));
  --histoire-control-resolved-chip: var(--histoire-control-chip, var(--histoire-chip, #f4f4f5));
  --histoire-control-resolved-text: var(--histoire-control-text, var(--histoire-text, #18181b));
  --histoire-control-resolved-muted: var(--histoire-control-muted, var(--histoire-muted, #5f6370));
  --histoire-control-resolved-accent: var(--histoire-control-accent, var(--histoire-accent, #059669));
  --histoire-control-resolved-accent-soft: var(--histoire-control-accent-soft, var(--histoire-accent-soft, #ecfdf5));
  --histoire-control-resolved-danger: var(--histoire-control-danger, var(--histoire-danger, #dc2626));
  --histoire-control-resolved-on-accent: var(--histoire-control-on-accent, var(--histoire-accent-foreground, #fff));
  color: var(--histoire-control-resolved-text);
  font-family: var(--histoire-controls-font-family, var(--histoire-font-sans, "Manrope", system-ui, sans-serif));
  font-size: 13px;
  line-height: 1.4;
  caret-color: var(--histoire-control-resolved-accent);
  box-sizing: border-box;
}:where(.histoire-wrapper, .histoire-button, .histoire-control-menu, .histoire-controls-options, .histoire-controls-tooltip, .histoire-token-grid, .histoire-token-list, .histoire-color-shades, .histoire-controls-floating-tooltip, .histoire-control-popover, .histoire-button-group-options):is([data-histoire-control-appearance="dark"], .histoire-controls-floating-tooltip-dark) {
  --histoire-control-resolved-surface: var(--histoire-control-surface, var(--histoire-surface, #16171b));
  --histoire-control-resolved-input: var(--histoire-control-input, var(--histoire-input, #0f1013));
  --histoire-control-resolved-border: var(--histoire-control-border, var(--histoire-border, #26282d));
  --histoire-control-resolved-chip: var(--histoire-control-chip, var(--histoire-chip, #202227));
  --histoire-control-resolved-text: var(--histoire-control-text, var(--histoire-text, #e6e7ea));
  --histoire-control-resolved-muted: var(--histoire-control-muted, var(--histoire-muted, #8a8e97));
  --histoire-control-resolved-accent: var(--histoire-control-accent, var(--histoire-accent, #34d399));
  --histoire-control-resolved-accent-soft: var(--histoire-control-accent-soft, var(--histoire-accent-soft, rgb(52 211 153 / .12)));
  --histoire-control-resolved-danger: var(--histoire-control-danger, var(--histoire-danger, #f87171));
  --histoire-control-resolved-on-accent: var(--histoire-control-on-accent, var(--histoire-accent-foreground, #0d0e11));
  color-scheme: dark;
}.histoire-wrapper { display: flex; flex-direction: column; gap: var(--histoire-control-gap, 8px); min-width: 0; max-width: 100%; padding: var(--histoire-control-wrapper-padding, 8px); margin: 0 0 var(--histoire-control-margin, 10px); }.histoire-wrapper:where([data-layout="inline"]) { display: inline-flex; padding: 0; margin: 0; vertical-align: middle; }.histoire-wrapper:where([data-layout="horizontal"]) { flex-direction: row; align-items: center; }.histoire-control-label { width: 100%; display: flex; align-items: baseline; gap: 8px; min-width: 0; font-family: var(--histoire-font-mono, "JetBrains Mono", ui-monospace, monospace); }.histoire-control-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.histoire-control-label-actions { display: inline-flex; flex: none; align-items: center; }.histoire-control-type { margin-inline-start: auto; color: var(--histoire-control-resolved-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.histoire-control-content { display: flex; align-items: center; gap: 6px; min-width: 0; width: 100%; }.histoire-control-value { display: block; flex: 1; min-width: 0; max-width: 100%; }.histoire-control-actions { display: inline-flex; flex: none; align-items: center; gap: 4px; }.histoire-prop-control { border-radius: var(--histoire-radius-button, 9px); }.histoire-prop-control:is(:hover, :focus-within) { background: color-mix(in srgb, var(--histoire-control-resolved-text) 3%, transparent); }:where(.histoire-prop-control) .histoire-control-label-actions { visibility: hidden; opacity: 0; pointer-events: none; }:where(.histoire-prop-control):is(:hover, :focus-within) .histoire-control-label-actions { visibility: visible; opacity: 1; pointer-events: auto; }:where(.histoire-prop-control) .histoire-control-label,
:where(.histoire-prop-control-unavailable) .histoire-control-label { align-items: center; }.histoire-prop-control-reset { --histoire-icon-button-size: 24px; border-radius: 6px; }.histoire-prop-control-reset-icon { display: block; flex: none; color: var(--histoire-control-resolved-text); }.histoire-prop-control-unavailable { display: flex; flex-direction: column; gap: var(--histoire-control-gap, 8px); padding: var(--histoire-control-wrapper-padding, 8px); margin: 0 0 var(--histoire-control-margin, 10px); }:where(.histoire-wrapper):where([data-layout="horizontal"]) .histoire-control-label { width: auto; flex: none; }:where(.histoire-wrapper):where([data-layout="horizontal"]) .histoire-control-content { width: auto; flex: 1; }:where(.histoire-wrapper):where([data-layout="horizontal"]):has(.histoire-switch-input, .histoire-simple-checkbox) .histoire-control-label { flex: 1; }:where(.histoire-wrapper):where([data-layout="horizontal"]):has(.histoire-switch-input, .histoire-simple-checkbox) .histoire-control-content { flex: none; }.histoire-control-field, .histoire-select-trigger, .__histoire-json-code { box-sizing: border-box; width: 100%; min-width: 0; min-height: var(--histoire-control-height, 34px); margin: 0; padding: var(--histoire-control-padding, 7px) 9px; border: 1px solid var(--histoire-control-resolved-border); border-radius: 7px; background: var(--histoire-control-resolved-input); color: inherit; font: inherit; }textarea.histoire-control-field { resize: vertical; }.histoire-control-field::placeholder { color: var(--histoire-control-resolved-muted); opacity: 1; }:is(.histoire-control-field, .histoire-select-trigger):focus, .__histoire-json-code:focus-within { outline: none; border-color: var(--histoire-control-resolved-accent); }.histoire-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: var(--histoire-control-padding, 7px) 10px; border: 1px solid var(--histoire-control-resolved-border); border-radius: 9px; background: var(--histoire-control-resolved-surface); cursor: pointer; }.histoire-button:where([data-color="flat"]):is([aria-pressed="true"], [aria-selected="true"], [aria-current="page"], [aria-checked="true"]) { background: var(--histoire-control-resolved-chip); color: var(--histoire-control-resolved-text); }.histoire-button:where([data-color="primary"]) { border-color: transparent; background: var(--histoire-control-resolved-accent); color: var(--histoire-control-resolved-on-accent); }.histoire-button:where([data-color="flat"]) { border-color: transparent; background: transparent; }.histoire-button:where(:not(:disabled)):hover { background: var(--histoire-control-resolved-chip); }.histoire-button:where([data-color="primary"]):where(:not(:disabled)):hover { background: color-mix(in srgb, var(--histoire-control-resolved-accent) 88%, #000); }.histoire-button:focus-visible { outline: 2px solid var(--histoire-control-resolved-accent); outline-offset: 2px; }/* Explicit opacity can hide disabled actions; disabled cursors still outrank field defaults. */:is(.histoire-button, .histoire-control-field, .histoire-select-trigger):where(:disabled), .histoire-wrapper:where([aria-disabled="true"]) { opacity: .45; }:is(.histoire-button, .histoire-control-field, .histoire-select-trigger):disabled, .histoire-wrapper[aria-disabled="true"] { cursor: default; }.histoire-select-trigger { display: flex; align-items: center; gap: 8px; text-align: start; cursor: pointer; }.histoire-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }:is(.histoire-control-menu, .histoire-controls-options) { display: flex; flex-direction: column; max-height: min(360px, 80vh, var(--histoire-control-menu-boundary, 100vh)); overflow-y: auto; padding: 4px; border: 1px solid var(--histoire-control-resolved-border); border-radius: 9px; box-shadow: 0 8px 24px rgb(0 0 0 / .12); background: var(--histoire-control-resolved-surface); }:where(.histoire-control-menu, .histoire-controls-options) .histoire-button { flex: none; justify-content: flex-start; text-align: start; white-space: normal; overflow-wrap: anywhere; padding: 7px 9px; border-radius: 6px; }:where(.histoire-control-menu, .histoire-controls-options) .histoire-button:is([aria-selected="true"], :focus-visible) { background: var(--histoire-control-resolved-accent-soft); }.histoire-button-group-options { display: flex; flex-wrap: nowrap; gap: 3px; min-width: 0; padding: 3px; border-radius: 7px; background: var(--histoire-control-resolved-chip); }:where(.histoire-button-group-options) .histoire-button { flex: 1 1 0; min-width: 0; max-width: 100%; padding: max(2px, calc((var(--histoire-control-height, 34px) - 24px) / 2)) 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; border-radius: 6px; color: var(--histoire-control-resolved-muted); }:where(.histoire-button-group-options) .histoire-button:is([aria-pressed="true"], [aria-selected="true"]) { color: var(--histoire-control-resolved-text); background: var(--histoire-control-resolved-surface); box-shadow: 0 1px 3px rgb(0 0 0 / .08); font-weight: 700; }/* Bound both axes so flex/grid stretching and surrounding button padding cannot
   turn an icon action into a rectangle. Hosts customize only the shared size. */:where(.histoire-button).histoire-icon-button, a.histoire-icon-button {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  width: var(--histoire-icon-button-size, var(--histoire-control-height, 32px));
  height: var(--histoire-icon-button-size, var(--histoire-control-height, 32px));
  min-width: var(--histoire-icon-button-size, var(--histoire-control-height, 32px));
  max-width: var(--histoire-icon-button-size, var(--histoire-control-height, 32px));
  min-height: var(--histoire-icon-button-size, var(--histoire-control-height, 32px));
  max-height: var(--histoire-icon-button-size, var(--histoire-control-height, 32px));
  padding: 0;
}.histoire-switch-input { appearance: none; display: block; flex: none; width: 36px; height: 20px; margin: 0; border: 0; border-radius: 12px; background: var(--histoire-control-resolved-border); cursor: pointer; }.histoire-switch-input::before { content: ''; display: block; width: 16px; height: 16px; margin: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .14); transition: transform 120ms ease-out; }.histoire-switch-input:checked { background: var(--histoire-control-resolved-accent); }.histoire-switch-input:checked::before { transform: translateX(16px); }.histoire-switch-input:focus-visible { outline: 2px solid var(--histoire-control-resolved-accent); outline-offset: 3px; }.histoire-switch-input:disabled { opacity: .45; cursor: default; }.histoire-checkbox { cursor: pointer; }.histoire-checkbox:focus-visible { outline: 2px solid var(--histoire-control-resolved-accent); outline-offset: -2px; border-radius: 7px; }/* Keep the line box stable when the checkmark changes the inline grid's baseline. */.histoire-simple-checkbox { display: inline-grid; vertical-align: middle; place-items: center; width: 16px; height: 16px; border: 1px solid var(--histoire-control-resolved-border); border-radius: 4px; background: var(--histoire-control-resolved-input); }.histoire-simple-checkbox:where([data-checked="true"]) { background: var(--histoire-control-resolved-accent); border-color: var(--histoire-control-resolved-accent); color: #fff; }.histoire-choice-list { display: flex; flex-direction: column; gap: 6px; }.histoire-choice-list label { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; }.histoire-choice-list input { accent-color: var(--histoire-control-resolved-accent); }.__histoire-json-code { height: 192px; min-height: 128px; padding: 0; overflow: auto; resize: vertical; }:where(.__histoire-json-code) .cm-editor { min-width: 0; }.histoire-controls-tooltip { padding: 4px 8px; background: var(--histoire-control-resolved-surface); border: 1px solid var(--histoire-control-resolved-border); border-radius: 7px; box-shadow: 0 4px 12px rgb(0 0 0 / .1); }:is(.histoire-wrapper, .histoire-control-menu) ::selection { color: var(--histoire-control-resolved-text); background: var(--histoire-control-resolved-accent-soft); }@media (prefers-reduced-motion: reduce) { .histoire-switch-input::before { transition: none; } }:is(.histoire-token-grid, .histoire-token-list, .histoire-color-shades, .histoire-controls-floating-tooltip, .histoire-control-popover, .histoire-button-group-options) pre { font-family: var(--histoire-font-mono, "JetBrains Mono", ui-monospace, monospace); font-size: 13px; }:where(.histoire-control-content):has(.histoire-switch-input, .histoire-simple-checkbox) .histoire-control-value { flex: none; }.histoire-color-fields { display: flex; gap: 6px; }.histoire-color-fields > input:where([type="color"]) { flex: none; width: var(--histoire-control-height, 34px); height: var(--histoire-control-height, 34px); padding: 2px; border: 1px solid var(--histoire-control-resolved-border); border-radius: 7px; background: var(--histoire-control-resolved-input); }:where(.histoire-controls-floating-tooltip) .v-popper__inner { font: inherit; color: var(--histoire-control-resolved-text); background: var(--histoire-control-resolved-surface); border: 1px solid var(--histoire-control-resolved-border); border-radius: 7px; padding: 4px 8px; box-shadow: 0 4px 12px rgb(0 0 0 / .1); }:where(.histoire-controls-floating-tooltip) .v-popper__arrow-container { display: none; }.histoire-choice-list label:has(input:disabled) { opacity: .45; cursor: default; }.histoire-choice-list input:where([type="checkbox"]) { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }:where(.histoire-choice-list) input:where([type="checkbox"]) + .histoire-simple-checkbox { pointer-events: none; }.histoire-choice-list input:focus-visible { outline: 2px solid var(--histoire-control-resolved-accent); outline-offset: 3px; }:where(.histoire-choice-list) input:where([type="checkbox"]):focus-visible + .histoire-simple-checkbox { outline: 2px solid var(--histoire-control-resolved-accent); outline-offset: 3px; }.histoire-choice-list input:where([type="radio"]) { appearance: none; flex: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--histoire-control-resolved-border); border-radius: 50%; background: var(--histoire-control-resolved-input); }.histoire-choice-list input:where([type="radio"]):checked { border-color: var(--histoire-control-resolved-accent); background: radial-gradient(circle, var(--histoire-control-resolved-accent) 0 4px, var(--histoire-control-resolved-input) 4.5px); }.histoire-control-popover { overflow: auto; padding: 6px; border: 1px solid var(--histoire-control-resolved-border); border-radius: 9px; background: var(--histoire-control-resolved-surface); box-shadow: 0 8px 24px rgb(0 0 0 / .12); }:where(.histoire-control-popover) .histoire-button:where([role="menuitem"]):focus-visible { background: var(--histoire-control-resolved-chip); }.htw-range-input:focus-visible { outline: 2px solid var(--histoire-control-resolved-accent); outline-offset: 2px; border-radius: 7px; }.htw-range-input:disabled { opacity: .45; cursor: default; }/* Explicit tones retain state-level priority, including pressed buttons. */.histoire-button:where([data-color="flat"])[data-tone="accent"] { color: var(--histoire-control-resolved-accent); }.histoire-wrapper:where([data-block]),
:where(.histoire-wrapper[data-block]) > .histoire-control-content,
:where(.histoire-wrapper[data-block] > .histoire-control-content) > .histoire-control-value,
.histoire-button-group-options:where([data-block]) { width: 100%; }.histoire-button:where([data-color="flat"])[data-tone="danger"] { color: var(--histoire-danger-text, var(--histoire-control-resolved-danger)); }
}
@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {
.__histoire-json-code[data-v-59a355b4] .cm-editor {
  height: 100%;
  min-width: 0;
}
}
@scope (:root) to (.__histoire-render-story:not(.__histoire-render-custom-controls)) {/* Defaults reset at each provider; nested embeds do not inherit compact chrome. */.histoire-provider {
  /* Pane edges stay aligned across tabs and both density modes: every block, including list
     row backgrounds, starts at the gutter; rows pad their content by the row inset. */
  --histoire-pane-gutter: 16px;
  --histoire-pane-row-inset: 8px;
  --histoire-inspector-gutter: var(--histoire-pane-gutter);
  /* Gutter above and below a 28px icon-button row; inspector and side panes share it. */
  --histoire-pane-header-height: calc(var(--histoire-pane-gutter) * 2 + 28px);
  --histoire-settings-row-padding: 20px;
  --histoire-viewport-row-padding: 13px;
  --histoire-list-row-padding: 10px;
  --histoire-comment-row-padding: 12px;
  --histoire-mcp-row-padding: 8px;
  --histoire-story-row-padding: 6px;
  --histoire-test-row-padding: 9px;
  --histoire-test-heading-padding: 10px;
  --histoire-control-height: 34px;
  --histoire-control-padding: 7px;
  --histoire-control-wrapper-padding: 8px;
  --histoire-control-gap: 8px;
  --histoire-control-margin: 10px;
}.histoire-shell-layout[data-density="compact"] {
  --histoire-settings-row-padding: 14px;
  --histoire-viewport-row-padding: 9px;
  --histoire-list-row-padding: 6px;
  --histoire-comment-row-padding: 8px;
  --histoire-mcp-row-padding: 5px;
  --histoire-story-row-padding: 4px;
  --histoire-test-row-padding: 7px;
  --histoire-test-heading-padding: 8px;
  --histoire-control-height: 28px;
  --histoire-control-padding: 4px;
  --histoire-control-wrapper-padding: 6px;
  --histoire-control-gap: 6px;
  --histoire-control-margin: 6px;
}
}
/*$vite$:1*/