.story-table-block{margin:0;min-width:0;max-width:100%;color:var(--foreground);font-family:var(--story-body-font,inherit);font-size:.9375rem;line-height:1.5}.story-table-scroll{max-width:100%;border:1px solid var(--border);border-radius:var(--story-radius,.5rem)}.story-table-scroll>[data-slot=scroll-area-scrollbar]{margin:2px}.story-table-scroll>[data-slot=scroll-area-scrollbar] [data-slot=scroll-area-thumb]{background:color-mix(in srgb,var(--foreground) 22%,transparent)}.story-table-scroll>[data-slot=scroll-area-scrollbar]:hover [data-slot=scroll-area-thumb]{background:color-mix(in srgb,var(--foreground) 38%,transparent)}.story-table-host:focus-visible{outline:2px solid var(--story-accent,var(--ring));outline-offset:2px}.story-data-table{width:100%;border-collapse:collapse;table-layout:auto}.story-data-table td,.story-data-table th{min-width:8rem;padding:.75rem;vertical-align:top;border-bottom:1px solid var(--border)}.story-data-table th{font-weight:600;background:color-mix(in srgb,var(--story-accent,var(--primary)) 8%,transparent)}.story-data-table tbody tr:last-child td{border-bottom:0}.story-data-table-striped tbody tr:nth-child(2n){background:var(--table-stripe-background)}.story-table-cell-text{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.story-table-cell-input{display:block;width:100%;min-width:6rem;min-height:1.5em;resize:none;field-sizing:content;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:inherit;border:0;border-radius:.2rem;padding:0}.story-table-cell-input:focus-visible{outline:2px solid var(--story-accent,var(--ring));outline-offset:4px}.story-data-table .story-table-row-control{min-width:2rem;width:2rem;padding:.75rem .25rem}.story-table-column-controls,.story-table-settings{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;font-size:.75rem}.story-table-settings{margin-block:.5rem}.story-table-settings label{display:inline-flex;align-items:center;gap:.35rem}.story-table-settings button{padding:.35rem .5rem;border:1px solid var(--border);border-radius:.375rem}.story-table-settings button:disabled{opacity:.4}.story-table-column-controls{margin-bottom:.5rem;gap:.25rem;font-weight:400}.story-table-action,.story-table-column-controls select{border-radius:.25rem;background:var(--background);color:var(--foreground);font-size:.75rem;padding:.15rem;max-width:5rem}.story-table-action{width:2rem}.story-table-footer{display:grid;gap:.25rem;margin-top:.5rem;font-size:.8125rem;color:var(--muted-foreground)}.story-table-footer input{width:100%;background:transparent;color:inherit;padding:.25rem}.story-data-table{border-collapse:separate;border-spacing:0}.story-data-table td,.story-data-table th{min-width:0;position:relative}.story-table-cell-input{min-width:0}.story-table-scroll[data-sticky-header=true] thead th{position:sticky;top:0;z-index:2;background:color-mix(in srgb,var(--story-accent,var(--primary)) 8%,var(--background))}.story-data-table [data-active-column=true],.story-data-table tr[data-active-row=true] td{background:color-mix(in srgb,var(--story-accent,var(--primary)) 6%,var(--background))}.story-data-table [data-selected=true]{background:color-mix(in srgb,var(--story-accent,var(--primary)) 18%,var(--background))!important;box-shadow:inset 0 0 0 1px var(--story-accent,var(--ring))}.story-table-scroll[data-selecting-cells=true] [data-table-row]{cursor:cell;user-select:none;touch-action:none}.story-table-scroll[data-selecting-cells=true] textarea{pointer-events:none}.story-table-resize{position:absolute;inset-block:0;right:0;width:12px;cursor:col-resize;z-index:3;touch-action:none}.story-table-resize:after{content:"";position:absolute;inset-block:.5rem;right:0;width:2px;background:var(--story-accent,var(--ring));opacity:.25}.story-table-resize:focus-visible:after,.story-table-resize:hover:after{opacity:1}.story-table-selection-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-block:.5rem;font-size:.75rem;color:var(--muted-foreground)}.story-table-import button,.story-table-selection-tools button{border:1px solid var(--border);border-radius:.375rem;padding:.3rem .5rem;color:var(--foreground)}.story-table-settings button[aria-pressed=true]{background:color-mix(in srgb,var(--story-accent,var(--primary)) 12%,var(--background))}.story-table-import{border:1px solid var(--border);border-radius:.5rem;padding:.75rem;margin-block:.5rem;font-size:.8125rem}.story-table-import label,.story-table-import p{display:block;margin-bottom:.5rem}.story-table-import button{margin-right:.5rem}.story-table-map-link{display:inline-flex;align-items:center;gap:.375rem;text-align:inherit;white-space:pre-wrap;color:var(--story-link,var(--primary));text-decoration:underline;text-underline-offset:3px;padding-block:.15rem}.story-table-map-link:focus-visible{outline:2px solid var(--story-accent,var(--ring));outline-offset:3px}.story-data-table tr[data-row-map-active=true] td{background:color-mix(in srgb,var(--story-accent,var(--primary)) 12%,var(--background))}.story-table-block{--table-cell-padding:0.75rem;--table-body-background:var(--background);--table-body-color:var(--foreground);--table-border:var(--border);--table-stripe-background:color-mix(in srgb,var(--table-body-color) 4%,var(--table-body-background));--table-header-background:color-mix(in srgb,var(--story-accent,var(--primary)) 8%,var(--table-body-background));--table-header-color:var(--table-body-color)}.story-table-block[data-table-size=small]{--table-cell-padding:0.5rem;font-size:.8125rem}.story-table-block[data-table-size=large]{--table-cell-padding:1rem;font-size:1.0625rem}.story-data-table td,.story-data-table th{padding:var(--table-cell-padding)}.story-data-table .story-table-row-control{padding:var(--table-cell-padding) .25rem}.story-data-table th,.story-table-scroll[data-sticky-header=true] thead th{background:var(--table-header-background);color:var(--table-header-color)}.story-table-block[data-table-design=grid] .story-data-table td:not(:last-child),.story-table-block[data-table-design=grid] .story-data-table th:not(:last-child){border-right:1px solid var(--table-border)}.story-table-block[data-table-design=minimal]{--table-header-background:var(--table-body-background)}.story-table-block[data-table-design=minimal] .story-table-scroll{border:0;border-radius:0}.story-table-block[data-table-design=accent]{--table-header-background:var(--story-accent,var(--primary));--table-header-color:var(--primary-foreground)}.story-table-block[data-table-design=accent] .story-table-scroll{border-color:var(
    --table-custom-border,color-mix(in srgb,var(--story-accent,var(--primary)) 35%,var(--table-border))
  )}.story-data-table thead [data-active-column=true]{background:var(--table-header-background)}.story-data-table thead [data-selected=true]{color:var(--foreground)}.story-table-scroll{background:var(--table-body-background);border-color:var(--table-border)}.story-data-table td{color:var(--table-body-color)}.story-data-table td,.story-data-table th{border-bottom-color:var(--table-border)}.story-table-block{--table-subheader-background:color-mix(in srgb,var(--table-header-background) 18%,var(--table-body-background));--table-subheader-color:var(--table-body-color)}.story-data-table tbody th{font-weight:500;text-align:left;border-bottom:1px solid var(--table-border)}.story-table-block[data-table-design=grid] .story-data-table tbody th{border-right:1px solid var(--table-border)}.story-data-table tr[data-row-kind=subheader] td,.story-data-table tr[data-row-kind=subheader] th{background:var(--table-subheader-background);color:var(--table-subheader-color);font-weight:600}.story-data-table tr[data-row-rule=true][data-active-row=true] td{box-shadow:inset 0 0 0 9999px rgb(255 255 255/.12)}.story-table-legend{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:.625rem 0 0;padding:0;list-style:none;font-size:.8125rem;color:var(--muted-foreground)}.story-table-legend li{display:inline-flex;align-items:center;gap:.5rem}.story-table-legend-swatch{width:.75rem;height:.75rem;flex-shrink:0;border-radius:.2rem}.story-table-block{--table-border-width:1px}.story-table-block[data-table-border-width=medium]{--table-border-width:2px}.story-table-block[data-table-border-width=thick]{--table-border-width:3px}.story-table-block[data-table-border-width] .story-table-scroll{border-width:var(--table-border-width)}.story-table-block[data-table-border-width] .story-data-table td,.story-table-block[data-table-border-width] .story-data-table th{border-bottom-width:var(--table-border-width)}.story-table-block[data-table-borders=horizontal] .story-data-table :is(th,td){border-right:0}.story-table-block[data-table-borders=grid] .story-data-table :is(th,td):not(:last-child){border-right:var(--table-border-width) solid var(--table-border)}.story-table-block[data-table-borders=outer] .story-data-table :is(th,td){border-right:0;border-bottom-color:transparent}.story-table-block[data-table-borders=outer] .story-data-table thead th{border-bottom-color:var(--table-border)}.story-table-block[data-table-borders=none] .story-data-table :is(th,td){border-right:0;border-bottom-color:transparent}.story-table-block[data-table-borders=none] .story-table-scroll{border-color:transparent}.story-table-block:is([data-table-borders=horizontal],[data-table-borders=grid],[data-table-borders=outer]) .story-table-scroll{border-style:solid;border-width:var(--table-border-width)}.story-table-block[data-table-radius=none] .story-table-scroll{border-radius:0}.story-table-block[data-table-radius=small] .story-table-scroll{border-radius:.375rem}.story-table-block[data-table-radius=medium] .story-table-scroll{border-radius:.75rem}.story-table-block[data-table-radius=large] .story-table-scroll{border-radius:1.125rem}.story-table-block[data-table-density=compact]{--table-cell-padding:0.4rem 0.625rem}.story-table-block[data-table-density=normal]{--table-cell-padding:0.75rem}.story-table-block[data-table-density=relaxed]{--table-cell-padding:1.05rem 1rem}.story-table-block[data-table-font=heading]{font-family:var(--story-heading-font,inherit)}.story-table-block[data-table-font=mono]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.875em}.story-table-block[data-tabular-numbers=true] .story-data-table{font-variant-numeric:tabular-nums}.story-table-block[data-header-weight=normal] .story-data-table thead th{font-weight:400}.story-table-block[data-header-weight=semibold] .story-data-table thead th{font-weight:600}.story-table-block[data-header-weight=bold] .story-data-table thead th{font-weight:700}.story-table-block[data-header-case=uppercase] .story-data-table thead th{text-transform:uppercase;letter-spacing:.05em;font-size:.8em}.story-data-table tbody th{background:var(--table-row-header-background,var(--table-header-background));color:var(--table-row-header-color,var(--table-header-color))}.story-table-block[data-table-hover=true] .story-data-table tbody tr:hover>:is(td,th){box-shadow:inset 0 0 0 9999px color-mix(in srgb,var(--table-body-color) 7%,transparent)}.story-table-block[data-table-shadow=true] .story-table-scroll{box-shadow:0 1px 2px rgb(15 23 42/.06),0 8px 24px rgb(15 23 42/.08)}.story-table-toolbar{display:flex;justify-content:flex-end;margin-bottom:.375rem}.story-table-expand{display:inline-flex;align-items:center;gap:.375rem;border:1px solid var(--border);border-radius:.375rem;padding:.25rem .55rem;font-size:.75rem;color:var(--muted-foreground);background:var(--background);cursor:pointer;transition:color .15s ease,background-color .15s ease}.story-table-expand:hover{color:var(--foreground);background:color-mix(in srgb,var(--foreground) 5%,var(--background))}.story-table-expand:focus-visible{outline:2px solid var(--story-accent,var(--ring));outline-offset:2px}.story-table-expand svg{width:.875rem;height:.875rem}.story-table-block[data-table-expanded=true] .story-table-scroll[data-sticky-header=true]>.story-table-viewport{max-height:calc(92dvh - 8rem)}.story-table-heat-legend{display:flex;align-items:center;gap:.625rem;margin:.625rem 0 0;font-size:.8125rem;color:var(--muted-foreground);font-variant-numeric:tabular-nums}.story-table-heat-legend-bar{flex:0 1 12rem;height:.625rem;border-radius:999px;box-shadow:inset 0 0 0 1px rgb(0 0 0/.08)}.story-table-scroll[data-sticky-first] .story-data-table tr>:first-child{position:sticky;left:0;z-index:1}.story-table-scroll[data-sticky-first] .story-data-table tbody td:first-child{background:var(--table-body-background)}.story-table-scroll[data-sticky-first] .story-data-table-striped tbody tr:nth-child(2n)>td:first-child{background:var(--table-stripe-background)}.story-table-scroll[data-sticky-first] .story-data-table thead tr>:first-child{background:var(--table-header-background);z-index:3}.story-table-scroll[data-sticky-first][data-fade-left] .story-data-table tr>:first-child{box-shadow:6px 0 8px -6px rgb(15 23 42/.22)}.story-table-scroll[data-fade-left]:not([data-sticky-first]):before,.story-table-scroll[data-fade-right]:after{content:"";position:absolute;top:0;bottom:0;width:2.25rem;z-index:4;pointer-events:none}.story-table-scroll[data-fade-right]:after{right:0;background:linear-gradient(to left,var(--table-body-background,var(--background)),transparent)}.story-table-scroll[data-fade-left]:not([data-sticky-first]):before{left:0;background:linear-gradient(to right,var(--table-body-background,var(--background)),transparent)}@media (max-width:639px){:is(.story-reader,.story-document-editor) .story-table-block[data-table-size]{font-size:.8125rem;--table-cell-padding:0.5rem 0.625rem}:is(.story-reader,.story-document-editor) .story-data-table :is(th,td){min-width:5.5rem}}