@opendata-ai/openchart-react 9.2.0 → 9.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +4 -4
package/dist/styles.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAWA,iBCDE,oyIIAA,ioCLCF,eSNE,mIAeA,6BAQA,uGAWA,yDAOA,iGAMA,qCAWA,2JAkBA,qHAcA,4EAQA,yGT5FF,qBkBNE,6CAIA,2KAQA,wIAOA,+GAMA,+HAQA,wFAOA,sCAQA,8CAIA,wHAQA,4HAQA,2EAMA,6EAQA,8EAWA,8EAgBA,sDAIA,sEAMA,4EAIA,wEAaA,sFAUA,sFASA,gCAMA,mFf9JA,4fAsBE,4FAOA,iFAOA,gMAWA,gGAMA,0EAKA,mHAQA,yJAUA,oKAUA,uMAYA,qGAKA,wEAMA,gHAMA,kGAKA,qEAWF,qFAOA,4FI1IA,6CAIA,gCeXA,qIASA,iKAQA,4DAAA,4PAAA,qPAMA,kFAOA,iEAKA,uIAQA,+CAGA,6BAAA,qPAAA,8OAIA,wDAIA,0DAKA,0SAAA,yQAAA,0QAAA,wQAAA,mQAAA,oQAAA,kQAkBA,wHAKA,2FAAA,uGAAA,0FAOA,gLAWA,6DAKA,0KAQA,6GAAA,uQAAA,kQAMA,6DAIA,iDAAA,gPAAA,2OAKA,wJHrHA,uFAOA,sNAaA,0HAWA,wMAOA,gCAIA,oCAMA,sFASA,wCAcA,iGAWA,gIAIA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,2IAAA,2IA2BA,8BAYA,wGAIA,4GAIA,sEAQA,sDAIA,uDAGA,wFCtJA,kJAaA,iHASA,wDAIA,sSAeA,6RAoBA,uFAKA,iGAKA,gDAMA,qEAMA,oIAWA,0DAKA,2SAiBA,yLAWA,0GAMA,wCAIA,mFCtIA,kDAKA,+CAKA,qGASA,wHAUA,yGAWA,qFAKA,0MAYA,oSAeA,6DAKA,iGAWA,2aAsBA,0CAIA,qFAKA,yFAAA,wFAMA,yDnBrIA,yEAIE,qFAMA,yDAIA,4DAKA,uIAAA,uIAcA,kLAUA,wDAQA,mDAIA,sEAKA,iFAKA,2CAKF,sNAOA,kPAOA,2IAKA,gJAKA,iCASE,0FAAA,0FAaF,oLAYE,mLAAA,kLAaA,yFAKA,qFAKA,4CAAA,2CAOA,+FAKA,6DAMA,4FAKA,+DAaF,wPAaA,wFAAA,8EAAA,yFAAA,+EAMA,+IAOA,+BAGE,wCASF,oJAQE,oPAaE,oEAKA,2GAKA,+FAOJ,4DAIA,+CASA,gCAIA,iIAYA,uCAIA,gDASA,+DAKE,kEAOF,iFAOA,kIAYA,2DAIE,qCAKF,8CAQA,+BAWE,yEAAA,yEAOA,uCAIA,2DAOA,yDAAA,yDAMA,2DAUF,wGAQA,sLAWA,mDAKA,sFAKA,sFAKA,kHAMA,qLAYA,oEAWA,wDAKE,iGAiBA,oDAIA,0CAIA,sHASA,kLAAA,kLAaA,iIAUA,0LAYA,uDAKA,uGAOA,2DAIA,oDAIA,gDAUA,6CAIA,kEASF,2EASA,oHAWE,uDAIA,0CAGA,+EAAA,+EAMA,+FAMA,qLAUA,yDAGA,0GAOA,kDAGA,wDAIA,qEAIA,sCQxoBF,qIASA,kEAOA,2CAQA,gFAOA,yBAIA,0EAMA,4GASE,8bAkBA,2RAaF,wRAgBA,qLAiBA,6EAIE,kEAIA,+FAOF,4CAIA,iCAIA,0HAOA,+EAQA,sEAMA,sDAKE,2QAUE,2GCrKJ,2GAIA,8IAOA,oGCfA,6DAMA,+UAeA,iSAiBE,gFAIA,sEAIA,qFAKA,qDAOF,yeAoBE,0CAMF,2BAIA,2EAKA,oCAKA,iCCjGA,mEAYA,4EAIA,uCACE,4DClBF,6CAIA,oJAUA,0OAAA,+OAAA,mPAAA,0OAAA,8OAmBA,0EAKA,iFAAA,kFAAA,qFAAA,sFAQA,0oBAyBA,+PAAA,mQAKA,2HAOA,oHAAA,wHAOA,kHAAA,sHAQA,8MAAA,kNAYA,sJAAA,0JAUA,8BACE,uEAMF,+MAAA,kPAAA,sPAAA,2OAAA,+OCvIA,mDAKA,uLAQA,6CAIA,8DAKA,iDAIA,qEAKA,0DAKA,mCAKA,6EAKA,8CC9CA,+BAIA,kRAcA,kEAKA,2OAUA,0HAOA,sEAIA,kKAOA,iGAKA,0IAAA,oPAAA,+OASA,sGAKA,qGAOA,sEAKA,kEAIA,oEAIA,8DAMA,2EAKA,uFAOA,6DAMA,gJhBxGF,oBMFI,yRAQA,uRAUA,kUAWA,+UAYA,ubAAA,wbAkBA,oaAiBA,kbAgBA,mcAAA,scAiBA,0TAAA,8TF5GF,iGAWA,mGAaA,qGAWA,uGAWA,iHAeA,4FAoBA,8IAaA,iGAcA,0FAaA,4FAcA,2FAaA,yDAUA,sGAYA,mFAUA,mFAWA,uFAWA,yFAaA,iKAgBA,sGIrOE,oTAAA,mTAYA,iJAAA,gJAUA,ySAaA,4TASA,yEAIA,uIAMA,kTAAA,kTAcA,iRAaA,6RAAA,8RAeA,mWAYA,6DAKA,+VAaA,6TAWA,6TAcA,6VAeA,kVAiBA,8ZAAA,gYAgBA,kUAcA,kQAUA,wRAUA,mRAMA,+EAKA,0QAUA,qWAgBA,kUAYA,wYAeA,sXAYA,0TRtTJ,yBiBDE,uCACE,6LAAA,+LAAA,qMAAA","sources":["../src/styles/index.css","../src/styles/tokens.css","../src/styles/table.css","../src/styles/tooltip.css","../src/styles/keyframes.css","../src/styles/dark.css","../src/styles/table-animation.css","../src/styles/graph.css","../src/styles/sankey.css","../src/styles/map-zoom.css","../src/styles/sparkline.css","../src/styles/playback.css","../src/styles/race.css","../src/styles/race-table.css","../src/styles/reduced-motion.css","../src/styles/chrome.css","../src/styles/interaction.css","../src/styles/series-search.css","../src/styles/you-draw-it.css","../src/styles/reader.css","../src/styles/legend.css","../src/styles/animation.css","../src/styles/base.css"],"sourcesContent":["/**\n * @opendata-ai/openchart-core styles\n *\n * CSS with oc- prefix for all class names.\n * CSS custom properties for theme overrides.\n * Dark mode via .oc-dark class on the container.\n * Cascade layers: oc.tokens, oc.base, oc.components, oc.animation, oc.reduced-motion.\n */\n\n/* For optimal typography, load Inter: https://fonts.google.com/specimen/Inter */\n\n@layer oc.tokens, oc.base, oc.components, oc.animation, oc.reduced-motion;\n\n@import \"./tokens.css\";\n@import \"./dark.css\";\n@import \"./base.css\";\n@import \"./chrome.css\";\n@import \"./tooltip.css\";\n@import \"./legend.css\";\n@import \"./reader.css\";\n@import \"./interaction.css\";\n@import \"./series-search.css\";\n@import \"./you-draw-it.css\";\n@import \"./table.css\";\n@import \"./table-animation.css\";\n@import \"./graph.css\";\n@import \"./sankey.css\";\n@import \"./map-zoom.css\";\n@import \"./sparkline.css\";\n@import \"./keyframes.css\";\n@import \"./animation.css\";\n@import \"./reduced-motion.css\";\n@import \"./playback.css\";\n@import \"./race.css\";\n@import \"./race-table.css\";\n","/* GENERATED FILE — do not edit. Source: packages/core/src/styles/token-definitions.ts. Regenerate: bun run generate:tokens */\n\n@layer oc.tokens {\n /* ---------------------------------------------------------------------------\n * Custom properties (light mode defaults)\n *\n * Defaults remain in CSS so host styles can override them. The JS theme\n * engine stamps only authored theme overrides (theme-tokens.ts).\n * --------------------------------------------------------------------------- */\n\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n\n /* Opt out of iOS text auto-inflation so measured widths match rendered text. */\n -webkit-text-size-adjust: 100%;\n text-size-adjust: 100%;\n\n --oc-font-family:\n \"Inter Variable\", Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n --oc-font-mono: \"JetBrains Mono\", \"Fira Code\", \"Cascadia Code\", monospace;\n\n /* Animation easing presets via CSS linear() */\n --oc-ease-smooth: linear(\n 0 0%,\n 0.006 2.5%,\n 0.0285 5%,\n 0.0764 7.5%,\n 0.1562 10%,\n 0.2556 12.5%,\n 0.3506 15%,\n 0.4318 17.5%,\n 0.5 20%,\n 0.5577 22.5%,\n 0.6072 25%,\n 0.6503 27.5%,\n 0.6881 30%,\n 0.7216 32.5%,\n 0.7514 35%,\n 0.7782 37.5%,\n 0.8023 40%,\n 0.824 42.5%,\n 0.8438 45%,\n 0.8616 47.5%,\n 0.8778 50%,\n 0.9059 55%,\n 0.9291 60%,\n 0.948 65%,\n 0.9633 70%,\n 0.9755 75%,\n 0.9849 80%,\n 0.9918 85%,\n 0.9965 90%,\n 0.9991 95%,\n 1 100%\n );\n --oc-ease-snappy: linear(\n 0 0%,\n 0.2926 2%,\n 0.4806 4%,\n 0.6111 6%,\n 0.7061 8%,\n 0.7772 10%,\n 0.8315 12%,\n 0.8735 14%,\n 0.9061 16%,\n 0.9314 18%,\n 0.951 20%,\n 0.966 22%,\n 0.9773 24%,\n 0.9855 26%,\n 0.9913 28%,\n 0.995 30%,\n 0.9971 35%,\n 0.9985 40%,\n 0.9994 45%,\n 0.9998 50%,\n 1 55%,\n 1 60%,\n 1 80%,\n 1 100%\n );\n --oc-ease-gentle: linear(\n 0,\n 0.157,\n 0.438,\n 0.64,\n 0.766,\n 0.85,\n 0.906,\n 0.941,\n 0.964,\n 0.978,\n 0.988,\n 0.994,\n 0.998,\n 1\n );\n --oc-ease-snap: linear(\n 0 0%,\n 0.1876 2%,\n 0.3469 4%,\n 0.4773 6%,\n 0.582 8%,\n 0.6656 10%,\n 0.7325 12%,\n 0.7862 14%,\n 0.8296 16%,\n 0.8647 18%,\n 0.8931 20%,\n 0.9161 22%,\n 0.9346 24%,\n 0.9494 26%,\n 0.961 28%,\n 0.97 30%,\n 0.9768 35%,\n 0.9825 40%,\n 0.987 45%,\n 0.9906 50%,\n 0.9934 55%,\n 0.9956 60%,\n 0.9971 65%,\n 0.9983 70%,\n 0.999 75%,\n 0.9995 80%,\n 0.9998 85%,\n 0.9999 90%,\n 1 95%,\n 1 100%\n );\n --oc-ease-punch: linear(\n 0 0%,\n 0.1714 2.5%,\n 0.3321 5%,\n 0.4776 7.5%,\n 0.605 10%,\n 0.7132 12.5%,\n 0.8029 15%,\n 0.8757 17.5%,\n 0.9336 20%,\n 0.9787 22.5%,\n 1.0127 25%,\n 1.0373 27.5%,\n 1.0539 30%,\n 1.0636 32.5%,\n 1.0673 35%,\n 1.0659 37.5%,\n 1.06 40%,\n 1.0509 42.5%,\n 1.0428 45%,\n 1.0358 47.5%,\n 1.0296 50%,\n 1.0196 55%,\n 1.0122 60%,\n 1.0069 65%,\n 1.0033 70%,\n 1.0011 75%,\n 0.9999 80%,\n 0.9995 85%,\n 0.9996 90%,\n 0.9998 95%,\n 1 100%\n );\n --oc-ease-glide: linear(\n 0 0%,\n 0.006 2.5%,\n 0.0285 5%,\n 0.0764 7.5%,\n 0.1562 10%,\n 0.2556 12.5%,\n 0.3506 15%,\n 0.4318 17.5%,\n 0.5 20%,\n 0.5577 22.5%,\n 0.6072 25%,\n 0.6503 27.5%,\n 0.6881 30%,\n 0.7216 32.5%,\n 0.7514 35%,\n 0.7782 37.5%,\n 0.8023 40%,\n 0.824 42.5%,\n 0.8438 45%,\n 0.8616 47.5%,\n 0.8778 50%,\n 0.9059 55%,\n 0.9291 60%,\n 0.948 65%,\n 0.9633 70%,\n 0.9755 75%,\n 0.9849 80%,\n 0.9918 85%,\n 0.9965 90%,\n 0.9991 95%,\n 1 100%\n );\n\n /* Animation timing defaults */\n --oc-animation-duration: 800ms;\n --oc-animation-stagger: 80ms;\n --oc-annotation-delay: 150ms;\n\n /* Typography scale (editorial design system) */\n --oc-title-size: 26px;\n --oc-title-weight: 600; /* one ladder: 400 regular / 500 medium / 600 semibold / 700 bold */\n --oc-title-tracking: -0.022em;\n --oc-subtitle-size: 14px;\n --oc-subtitle-weight: 400;\n --oc-source-size: 12px;\n --oc-source-weight: 400;\n --oc-body-size: 13px;\n /* Emphasis for existing zero rules; does not change the domain */\n --oc-gridline-zero: rgba(0, 0, 0, 0.22);\n --oc-endpoint-label-size: 13px;\n --oc-endpoint-value-size: 12px;\n --oc-endpoint-entry-gap: 6px;\n --oc-endpoint-value-gap: 4px;\n --oc-endpoint-column-gap: 18px;\n --oc-map-no-data-fill: #f0f0f0; /* Engine omission derives neutral[100] from the active theme */\n --oc-map-no-data-hatch: #c9c9c9; /* Engine omission derives neutral[300] from the active theme */\n --oc-map-interior-border: rgba(0, 0, 0, 0.14);\n --oc-map-outline-border: rgba(0, 0, 0, 0.4);\n --oc-annotation-label: #333333;\n --oc-annotation-muted: #6b7280;\n --oc-annotation-leader: #8f8f8f;\n --oc-annotation-rule: #888888;\n --oc-annotation-range-fill: #f0c040;\n --oc-annotation-marker-fill: #ffffff;\n --oc-annotation-plate: #ffffff;\n --oc-eyebrow-size: 11px;\n --oc-eyebrow-weight: 500;\n --oc-eyebrow-tracking: 0.08em;\n\n /* Surfaces (light mode defaults) */\n --oc-bg: #ffffff;\n --oc-card: #ffffff;\n --oc-secondary: #f4f4f5; /* zinc-100, raised surface */\n\n /*\n * Text levels. Names invert across modes: in light mode \"muted\" sits at\n * a lighter zinc step than \"subtle\" because both are picked relative to\n * the active background, not from a fixed lightness ladder. The intent\n * is \"muted = first step away from primary text\"; \"subtle = next step\n * down\"; etc.\n *\n * Light mode: text=zinc-950, secondary=zinc-700, muted=zinc-500,\n * subtle=zinc-400, faint=zinc-300\n * Dark mode (dark.css): inverts the surface tokens but keeps the same\n * muted -> subtle -> faint progression away from primary.\n */\n --oc-text: #09090b;\n --oc-text-secondary: #3f3f46;\n --oc-text-muted: #71717a;\n --oc-text-faint: #d4d4d8;\n\n /*\n * Derived neutral ramp. Named by the share of *text* in a text-toward-\n * background mix: 100 is nearly the background, 800 is nearly the text.\n * These static values are the mix against the default surfaces; mounts\n * restamp them from ResolvedTheme.colors.neutral, which a custom warm or\n * cool theme derives from its own text/background pair.\n */\n --oc-gray-100: #f0f0f0;\n --oc-gray-200: #e1e1e2;\n --oc-gray-300: #c9c9c9;\n --oc-gray-400: #9d9d9d;\n --oc-gray-600: #787879;\n --oc-gray-800: #474748;\n\n /* Lines */\n --oc-gridline: rgba(0, 0, 0, 0.05);\n --oc-axis: rgba(0, 0, 0, 0.14); /* hairline = theme.colors.hairline, not the tick-label ink */\n --oc-border: rgba(0, 0, 0, 0.08);\n --oc-border-radius: 8px; /* containers and tooltips; marks use --oc-radius-sm */\n\n /* Radius ladder */\n --oc-radius-sm: 2px;\n --oc-radius-md: 6px;\n --oc-radius-lg: var(--oc-border-radius);\n --oc-radius-full: 999px;\n\n /* Brand and semantic */\n --oc-accent: #06b6d4;\n --oc-accent-strong: #0891b2; /* darker cyan for line strokes on light bg */\n /* kept equal to DEFAULT_THEME.colors.positive (token-theme-parity test) */\n --oc-positive: #15803d;\n --oc-negative: #dc2626;\n /* delta chip background */\n --oc-positive-tint: color-mix(in srgb, var(--oc-positive) 10%, var(--oc-bg));\n --oc-negative-tint: color-mix(in srgb, var(--oc-negative) 10%, var(--oc-bg));\n --oc-focus: #3b82f6;\n /* static, intentionally NOT derived from --oc-focus and NOT flipped in dark mode */\n --oc-focus-ring: rgba(59, 130, 246, 0.1);\n --oc-focus-ring-strong: rgba(59, 130, 246, 0.25);\n --oc-editable-hover: rgba(79, 70, 229, 0.35); /* edit-mode hover outline, indigo one-off */\n\n /* Spacing scale (4px base) — only --oc-space-2/4 are consumed (JS-stamped) */\n --oc-space-2: 8px;\n --oc-space-4: 16px;\n\n /*\n * Hover language. The hovered element goes to full ink; the rest of its\n * group drops to --oc-hover-dim over --oc-hover-duration. Maps override the\n * dim locally (3000 county paths at 0.3 reads as a blackout, not a hint).\n */\n --oc-hover-dim: 0.3;\n --oc-hover-duration: 140ms;\n --oc-map-hover-dim: 0.75;\n\n /* Interactive states */\n --oc-hover-bg: rgba(0, 0, 0, 0.025);\n --oc-tooltip-bg: rgba(255, 255, 255, 0.88);\n --oc-tooltip-border: rgba(0, 0, 0, 0.08);\n --oc-tooltip-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.12);\n --oc-tooltip-text: #09090b;\n --oc-legend-text: #3f3f46;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Table base\n * --------------------------------------------------------------------------- */\n\n .oc-table-wrapper {\n font-family: var(--oc-font-family);\n color: var(--oc-text);\n\n & > .oc-chrome {\n margin-bottom: 16px;\n padding-left: 16px;\n padding-right: 16px;\n }\n\n & > .oc-chrome:first-child {\n padding-top: 4px;\n }\n\n & table {\n width: 100%;\n border-collapse: collapse;\n }\n\n & th,\n & td {\n /* 12 + 24 + 12 = 48px rows. Condensed and relaxed keep the same\n line box and change only the padding, so the ladder is 40/48/56. */\n padding: 12px 16px;\n line-height: 24px;\n text-align: left;\n border-bottom: 1px solid var(--oc-border);\n /* Column widths from the engine already sum to the container width;\n without border-box the padding pushes each cell wider than its\n computed width and auto layout rescales the whole row. */\n box-sizing: border-box;\n }\n\n & th {\n font-weight: 500;\n font-size: 12px;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: var(--oc-text-muted);\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n }\n\n & thead {\n position: sticky;\n top: 0;\n z-index: 2;\n }\n\n /* A hairline, like every other rule in the table. The old 2px header rule\n was the heaviest line on the page and drew the eye away from the data. */\n & thead th {\n border-bottom-width: 1px;\n }\n\n & td {\n font-size: 14px;\n font-variant-numeric: tabular-nums;\n }\n\n & th:focus {\n outline: 2px solid var(--oc-focus);\n outline-offset: -2px;\n }\n\n & tbody:focus {\n outline: none;\n }\n }\n\n .oc-table-title {\n margin-bottom: 4px;\n font-size: var(--oc-title-computed-size, var(--oc-title-size));\n font-weight: var(--oc-title-computed-weight, var(--oc-title-weight));\n color: var(--oc-title-computed-color, var(--oc-text));\n }\n\n .oc-table-subtitle {\n margin-bottom: 8px;\n font-size: var(--oc-subtitle-computed-size, var(--oc-subtitle-size));\n font-weight: var(--oc-subtitle-computed-weight, var(--oc-subtitle-weight));\n color: var(--oc-subtitle-computed-color, var(--oc-text-secondary));\n }\n\n .oc-table-source {\n font-size: var(--oc-source-computed-size, var(--oc-source-size));\n color: var(--oc-source-computed-color, var(--oc-text-muted));\n }\n\n .oc-table-footer-text {\n font-size: var(--oc-footer-computed-size, var(--oc-source-size));\n color: var(--oc-footer-computed-color, var(--oc-text-muted));\n }\n\n .oc-table-scroll {\n overflow-x: auto;\n }\n\n /* ---------------------------------------------------------------------------\n * Sticky first column\n * --------------------------------------------------------------------------- */\n\n .oc-table--sticky {\n & th:first-child,\n & td:first-child {\n position: sticky;\n left: 0;\n z-index: 1;\n background: var(--oc-bg);\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Sort controls\n * --------------------------------------------------------------------------- */\n\n .oc-table-sort-btn {\n background: none;\n border: none;\n cursor: pointer;\n padding: 2px;\n margin-left: 6px;\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n vertical-align: middle;\n gap: 2px;\n\n &::before,\n &::after {\n content: \"\";\n display: block;\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n transition:\n opacity 0.15s,\n border-color 0.15s;\n }\n\n &::before {\n border-bottom: 4.5px solid var(--oc-text-secondary);\n opacity: 0.35;\n }\n\n &::after {\n border-top: 4.5px solid var(--oc-text-secondary);\n opacity: 0.35;\n }\n\n &:hover::before,\n &:hover::after {\n opacity: 0.75;\n }\n }\n\n th[aria-sort=\"ascending\"] .oc-table-sort-btn {\n &::before {\n opacity: 1;\n border-bottom-color: var(--oc-text);\n }\n\n &::after {\n opacity: 0.15;\n }\n }\n\n th[aria-sort=\"descending\"] .oc-table-sort-btn {\n &::after {\n opacity: 1;\n border-top-color: var(--oc-text);\n }\n\n &::before {\n opacity: 0.15;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Search\n * --------------------------------------------------------------------------- */\n\n /* Shared search-input skin (table + series-search).\n Padding excluded: it diverges (table: 8px 12px; series: 0 10px 0 28px)\n and series-search.css is imported before table.css — a padding declaration\n here would beat the series-search override by source order. */\n .oc-table-search input,\n .oc-series-search-input {\n width: 100%;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-md);\n font-size: 13px;\n font-family: inherit;\n background: transparent;\n color: var(--oc-text);\n box-sizing: border-box;\n transition: border-color 0.15s;\n }\n\n .oc-table-search input::placeholder,\n .oc-series-search-input::placeholder {\n color: var(--oc-text-muted);\n font-size: 13px;\n }\n\n .oc-table-search input:focus,\n .oc-series-search-input:focus {\n outline: none;\n border-color: var(--oc-focus);\n box-shadow: 0 0 0 3px var(--oc-focus-ring);\n }\n\n .oc-table-search {\n padding: 8px 0;\n\n & input {\n padding: 8px 12px;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Pagination\n * --------------------------------------------------------------------------- */\n\n .oc-table-pagination {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px 0 4px;\n font-size: 13px;\n color: var(--oc-text-secondary);\n\n & button {\n padding: 6px 14px;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-md);\n background: transparent;\n color: var(--oc-text);\n cursor: pointer;\n font-size: 13px;\n font-family: inherit;\n transition:\n background 0.15s,\n border-color 0.15s;\n\n &:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n }\n\n &:hover:not(:disabled) {\n background: var(--oc-hover-bg);\n border-color: var(--oc-axis);\n }\n\n &:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 1px;\n }\n }\n }\n\n .oc-table-pagination-info {\n font-variant-numeric: tabular-nums;\n }\n\n .oc-table-pagination-btns {\n display: flex;\n gap: 8px;\n }\n\n /* ---------------------------------------------------------------------------\n * Bar cells\n * --------------------------------------------------------------------------- */\n\n .oc-table-bar {\n position: relative;\n }\n\n .oc-table-bar-fill {\n position: absolute;\n top: 8px;\n left: 0;\n bottom: 8px;\n border-radius: var(--oc-radius-sm);\n opacity: 0.18;\n pointer-events: none;\n }\n\n /* A low-alpha tint of a mid-dark color all but disappears on a dark\n surface, so dark mode lifts it. */\n .oc-dark .oc-table-bar-fill {\n opacity: 0.4;\n }\n\n .oc-table-bar-value {\n position: relative;\n z-index: 1;\n }\n\n /* ---------------------------------------------------------------------------\n * Sparkline cells\n * --------------------------------------------------------------------------- */\n\n .oc-table-sparkline {\n display: block;\n width: 100%;\n position: relative;\n\n & svg {\n display: block;\n width: 100%;\n overflow: visible;\n }\n }\n\n .oc-table-sparkline-dot {\n position: absolute;\n border-radius: 50%;\n width: 5px;\n height: 5px;\n }\n\n .oc-table-sparkline-labels {\n display: flex;\n justify-content: space-between;\n font-size: 11px;\n line-height: 1;\n color: var(--oc-text-secondary);\n }\n\n /* ---------------------------------------------------------------------------\n * Image cells\n * --------------------------------------------------------------------------- */\n\n .oc-table-image {\n display: inline-block;\n vertical-align: middle;\n\n & img {\n object-fit: cover;\n }\n }\n\n .oc-table-image-rounded img {\n border-radius: 50%;\n }\n\n /* ---------------------------------------------------------------------------\n * Flag cells\n * --------------------------------------------------------------------------- */\n\n .oc-table-flag {\n font-size: 1.2em;\n }\n\n /* ---------------------------------------------------------------------------\n * Density\n *\n * regular 48px rows (base), condensed 40px, relaxed 56px.\n * --------------------------------------------------------------------------- */\n\n .oc-table--condensed {\n & th,\n & td {\n padding: 8px 12px;\n line-height: 24px;\n font-size: 13px;\n }\n\n & th {\n font-size: 11px;\n }\n\n & .oc-table-bar-fill {\n top: 5px;\n bottom: 5px;\n }\n }\n\n .oc-table--relaxed {\n & th,\n & td {\n padding: 16px 20px;\n line-height: 24px;\n }\n\n & .oc-table-bar-fill {\n top: 12px;\n bottom: 12px;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Striping\n * --------------------------------------------------------------------------- */\n\n .oc-table--striped tbody tr:nth-child(even) {\n background: color-mix(in srgb, var(--oc-text) 3%, transparent);\n }\n\n /* ---------------------------------------------------------------------------\n * Delta chips\n * --------------------------------------------------------------------------- */\n\n .oc-table-delta {\n display: inline-flex;\n align-items: baseline;\n gap: 4px;\n padding: 2px 8px;\n border-radius: var(--oc-radius-md);\n font-weight: 500;\n font-variant-numeric: tabular-nums;\n line-height: 16px;\n }\n\n .oc-table-delta-arrow {\n font-size: 0.8em;\n line-height: 1;\n }\n\n .oc-table-delta--positive {\n color: var(--oc-positive);\n background: var(--oc-positive-tint);\n }\n\n .oc-table-delta--negative {\n color: var(--oc-negative);\n background: var(--oc-negative-tint);\n }\n\n .oc-table-delta--neutral {\n color: var(--oc-text-muted);\n background: color-mix(in srgb, var(--oc-text) 6%, transparent);\n }\n\n /* Category chips: the engine supplies the tint, ink and dot color inline. */\n .oc-table-chip {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 2px 8px;\n border-radius: var(--oc-radius-full);\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n white-space: nowrap;\n }\n\n .oc-table-chip-dot {\n flex: none;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n }\n\n /* ---------------------------------------------------------------------------\n * Totals footer\n * --------------------------------------------------------------------------- */\n\n tfoot.oc-table-total {\n position: sticky;\n bottom: 0;\n z-index: 2;\n\n & td {\n font-weight: 600;\n border-bottom: none;\n border-top: 1px solid var(--oc-border);\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Cards mode (below 400px)\n *\n * Rows become two-column grids with the header printed per cell. `display:\n * grid` drops the implicit table roles, so the renderer stamps explicit ARIA\n * roles on every element; `display: contents` is deliberately NOT used —\n * it removes the row box the grid needs and breaks the semantics further.\n * --------------------------------------------------------------------------- */\n\n .oc-table--cards {\n & .oc-table-scroll {\n overflow-x: hidden;\n }\n\n & table {\n table-layout: fixed;\n }\n\n & thead {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n }\n\n & tbody tr,\n & tfoot tr {\n display: grid;\n /* Two equal halves keep every label/value pair the same width; an\n auto first column makes the third cell in a row narrower than the\n second and the card reads ragged. */\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 2px 12px;\n align-items: baseline;\n padding: 10px 12px;\n border-bottom: 1px solid var(--oc-border);\n }\n\n & td {\n display: block;\n width: auto;\n max-width: 100%;\n padding: 0;\n border-bottom: none;\n overflow-wrap: anywhere;\n text-align: right;\n }\n\n & td::before {\n content: attr(data-label);\n display: block;\n font-size: 11px;\n font-weight: 500;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--oc-text-muted);\n text-align: left;\n }\n\n /* A column with no header (flags, logos) prints no label either. */\n & td[data-label=\"\"]::before {\n content: none;\n }\n\n /* Priority 1 leads the card on its own line, label suppressed. */\n & td[data-priority=\"1\"] {\n grid-column: 1 / -1;\n font-size: 15px;\n font-weight: 600;\n text-align: left;\n }\n\n & td[data-priority=\"1\"]::before {\n content: none;\n }\n\n & td[data-priority=\"3\"] {\n display: none;\n }\n\n & .oc-table-sparkline {\n width: 100%;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Row hover (when onRowClick is set)\n * --------------------------------------------------------------------------- */\n\n .oc-table--clickable tbody {\n & tr {\n cursor: pointer;\n }\n\n & tr:hover {\n background: var(--oc-hover-bg);\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Keyboard cell focus indicator\n * --------------------------------------------------------------------------- */\n\n .oc-table-cell-focus {\n outline: 2px solid var(--oc-focus);\n outline-offset: -2px;\n }\n\n /* ---------------------------------------------------------------------------\n * Empty state\n * --------------------------------------------------------------------------- */\n\n .oc-table-empty {\n padding: 32px 16px;\n text-align: center;\n color: var(--oc-text-secondary);\n font-size: 14px;\n font-style: italic;\n }\n}\n\n@layer oc.components {\n .oc-table--priority {\n & table {\n width: 100%;\n table-layout: auto;\n }\n & [hidden] {\n display: none;\n }\n & th,\n & td {\n /* biome-ignore lint/complexity/noImportantStyles: responsive mode overrides authored desktop inline column widths. */\n width: auto !important;\n padding-inline: 8px;\n }\n & th {\n position: relative;\n white-space: normal;\n padding-right: 20px;\n min-height: 44px;\n }\n & .oc-table-sort-btn {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n padding-right: 4px;\n align-items: flex-end;\n justify-content: center;\n }\n & .oc-table-details {\n white-space: normal;\n }\n & summary {\n cursor: pointer;\n min-height: 44px;\n display: flex;\n align-items: center;\n font-size: 12px;\n }\n & details[open] {\n min-width: 110px;\n }\n & dl {\n margin: 4px 0 12px;\n font-size: 12px;\n }\n & dt {\n margin-top: 8px;\n color: var(--oc-text-secondary);\n }\n & dd {\n margin: 4px 0 0;\n }\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Tooltip\n * Editorial card matching the new design system: zinc surface, cyan accent,\n * Inter Variable, mono numerics. Sized for a slice tooltip that lists every\n * series at the snapped x.\n * --------------------------------------------------------------------------- */\n\n .oc-tooltip {\n position: absolute;\n display: none;\n pointer-events: none;\n z-index: 1000;\n background: var(--oc-tooltip-bg);\n backdrop-filter: blur(14px);\n border: 1px solid var(--oc-tooltip-border);\n border-radius: var(--oc-radius-lg);\n box-shadow: var(--oc-tooltip-shadow);\n color: var(--oc-tooltip-text);\n font-family: var(--oc-font-family);\n font-size: 12px;\n padding: 0;\n max-width: 280px;\n min-width: 140px;\n line-height: 1.4;\n animation: oc-tooltip-in 120ms ease-out;\n transition:\n left 100ms ease-in-out,\n top 100ms ease-in-out;\n\n & .oc-tooltip-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 10px 6px;\n }\n\n & .oc-tooltip-dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n }\n\n & .oc-tooltip-title {\n font-weight: 600;\n font-size: 11px;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--oc-text-muted);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n & .oc-tooltip-body {\n padding: 6px 10px 8px;\n border-top: 1px solid var(--oc-tooltip-border);\n }\n\n /* No separator when body is the only child */\n & .oc-tooltip-body:first-child {\n border-top: none;\n padding-top: 10px;\n }\n\n & .oc-tooltip-row {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 16px;\n padding: 2px 0;\n }\n\n & .oc-tooltip-row-swatch {\n display: inline-block;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n margin-right: 6px;\n flex-shrink: 0;\n transform: translateY(-1px);\n }\n\n & .oc-tooltip-label {\n color: var(--oc-text-secondary);\n font-size: 12px;\n font-weight: 400;\n white-space: nowrap;\n flex-shrink: 0;\n display: inline-flex;\n align-items: center;\n }\n\n & .oc-tooltip-value {\n font-weight: 500;\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n color: var(--oc-tooltip-text);\n text-align: right;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n /* The series the pointer is nearest to in a shared tooltip. */\n & .oc-tooltip-row--emphasis .oc-tooltip-label {\n color: var(--oc-tooltip-text);\n font-weight: 600;\n }\n\n & .oc-tooltip-row--emphasis .oc-tooltip-value {\n font-weight: 600;\n }\n\n /* Stack sum, set below a hairline so it reads as a summary of the rows\n * above rather than one more series. */\n & .oc-tooltip-row--total {\n margin-top: 4px;\n padding-top: 5px;\n border-top: 1px solid var(--oc-tooltip-border);\n }\n\n & .oc-tooltip-row--total .oc-tooltip-label {\n color: var(--oc-tooltip-text);\n font-weight: 500;\n }\n\n & .oc-tooltip-row--total .oc-tooltip-value {\n font-weight: 600;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Crosshair guideline + per-series snap dots (line/area charts)\n * Animate the snap between adjacent points so the indicator slides instead\n * of jumping. ~50ms ease-in-out keeps the motion crisp without lagging.\n * --------------------------------------------------------------------------- */\n\n .oc-crosshair {\n pointer-events: none;\n transition:\n x1 50ms ease-in-out,\n x2 50ms ease-in-out;\n }\n\n .oc-snap-dots circle {\n pointer-events: none;\n transition:\n cx 50ms ease-in-out,\n cy 50ms ease-in-out;\n }\n}\n","/* GENERATED FILE — do not edit. Source: packages/core/src/motion/choreography.ts. Regenerate: bun run generate:motion */\n\n@layer oc.animation {\n /* ---------------------------------------------------------------------------\n * Animation keyframes\n * --------------------------------------------------------------------------- */\n\n /* Bar entrance: clip-path reveal from the baseline (vertical columns), no fade:\n a value mark is solid from its first frame. Grows bottom-to-top unless the\n renderer stamps --oc-bar-from (a negative column grows top-to-bottom). */\n @keyframes oc-enter-bar {\n from {\n clip-path: inset(var(--oc-bar-from, 100% 0 0 0));\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Bar entrance: clip-path reveal from the baseline (horizontal bars), no fade.\n Grows left-to-right unless --oc-bar-from is stamped (negative bars). */\n @keyframes oc-enter-bar-h {\n from {\n clip-path: inset(var(--oc-bar-from, 0 100% 0 0));\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Stack entrance: one clip over the whole stack, no fade. Grows bottom-to-top\n from --oc-stack-from, which the renderer stamps when the baseline is not the\n bottom edge, so the clip starts collapsed on the baseline and grows both\n ways from it. */\n @keyframes oc-enter-stack {\n from {\n clip-path: inset(var(--oc-stack-from, 100% 0 0 0));\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Horizontal stack entrance: grows left-to-right, or both ways from the\n baseline when --oc-stack-from is stamped. */\n @keyframes oc-enter-stack-h {\n from {\n clip-path: inset(var(--oc-stack-from, 0 100% 0 0));\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Line/area entrance: clip-path reveal left-to-right + fade in.\n Lines draw in following reading direction with a soft lead-in. */\n @keyframes oc-enter-line {\n from {\n clip-path: inset(0 100% 0 0);\n opacity: 0;\n }\n 15% {\n opacity: 1;\n }\n to {\n clip-path: inset(0 0 0 0);\n opacity: 1;\n }\n }\n\n /* Point/arc entrance: scale up + fade in from center */\n @keyframes oc-enter-point {\n from {\n opacity: 0;\n transform: scale(0.3);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Map feature entrance: fade in while transitioning fill from a neutral base\n to the data-driven color stored in --oc-feature-fill. The target opacity is\n --oc-feature-target-opacity (default 1) so features under a focus dim\n animate straight to their dimmed rest opacity instead of hitting 1 and then\n snapping down when the dim is applied post-animation.\n Non-interpolable fills (the url(#pattern) hatch on no-data features) do not\n transition: the browser holds the neutral and flips to the pattern when the\n eased progress passes 50%, so those features fade in rather than\n cross-fade. */\n @keyframes oc-enter-map-fill {\n from {\n fill: var(--oc-secondary);\n opacity: 0;\n }\n to {\n fill: var(--oc-feature-fill);\n opacity: var(--oc-feature-target-opacity, 1);\n }\n }\n\n /* Map point pop-in: gentle scale from 0.75 + fade. Uses transform-origin to\n scale from the circle's own center (cx/cy) rather than the SVG origin. */\n @keyframes oc-enter-map-point {\n from {\n opacity: 0;\n transform: scale(0.75);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Line point pop: fade in while scaling up from 0.4. The renderer stamps an\n inline px transform-origin at the point centre, so it grows in place\n (and in GIF frames, which carry no animation CSS). */\n @keyframes oc-enter-pop {\n from {\n opacity: 0;\n transform: scale(0.4);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Grid cell pop: fade in while scaling up from 0.85 about the cell centre\n (inline px transform-origin stamped by the renderer). */\n @keyframes oc-enter-cell {\n from {\n opacity: 0;\n transform: scale(0.85);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Slice growth: fade in while scaling up from 0.94. The slice path is drawn\n around its group's local origin (the group carries translate(cx, cy)), so\n the default transform-origin of 0 0 is the pie centre. */\n @keyframes oc-enter-arc {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Pure opacity fade (no transform). Safe for elements with existing transforms\n like arc groups that use translate() for positioning. */\n @keyframes oc-enter-fade-only {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n /* Fade + subtle slide up (table chrome) */\n @keyframes oc-enter-fade {\n from {\n opacity: 0;\n transform: translateY(4px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n /* Text rise: 0.6em up to rest. Its opacity runs as a separate quick fade. */\n @keyframes oc-enter-rise {\n from {\n transform: translateY(0.6em);\n }\n to {\n transform: translateY(0);\n }\n }\n\n /* Row slide: 4px up to rest. Its opacity runs as a separate quick fade. */\n @keyframes oc-enter-slide {\n from {\n transform: translateY(4px);\n }\n to {\n transform: translateY(0);\n }\n }\n\n /* Table row entrance: slide up only, no opacity (cells fade independently\n to avoid opacity compounding between row and cell animations) */\n @keyframes oc-table-enter-row {\n from {\n transform: translateY(6px);\n }\n to {\n transform: translateY(0);\n }\n }\n\n /* Table bar fill entrance: clip-path grow only, no opacity\n (preserves resting opacity: 0.15 from table.css) */\n @keyframes oc-table-enter-bar-fill {\n from {\n clip-path: inset(0 100% 0 0);\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Live-tile pulse: the terminator dot of a sparkline swells once when new\n data lands, so a glance at a wall of tiles catches which one just moved.\n `r` is animated as a presentation attribute (SVG geometry properties are\n animatable in CSS); the fallback is simply no swell. */\n @keyframes oc-pulse {\n from {\n r: var(--oc-pulse-r, 4px);\n fill-opacity: 1;\n }\n 45% {\n r: calc(var(--oc-pulse-r, 4px) * 1.8);\n fill-opacity: 0.5;\n }\n to {\n r: var(--oc-pulse-r, 4px);\n fill-opacity: 1;\n }\n }\n\n /* Tooltip entrance */\n @keyframes oc-tooltip-in {\n from {\n opacity: 0;\n transform: translateY(2px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n}\n","/* GENERATED FILE — do not edit. Source: packages/core/src/styles/token-definitions.ts. Regenerate: bun run generate:tokens */\n\n@layer oc.tokens {\n /* ---------------------------------------------------------------------------\n * Dark mode overrides (fallback defaults)\n *\n * Dark defaults stay in CSS; authored theme overrides are resolved and\n * stamped by the JS theme engine.\n * --------------------------------------------------------------------------- */\n\n .oc-dark {\n /* Surfaces (zinc-based achromatic ramp) */\n --oc-bg: #09090b;\n --oc-card: #111113;\n --oc-secondary: #27272a;\n\n /* Text levels — see tokens.css for the cross-mode naming rationale */\n --oc-text: #f7f8f8;\n --oc-text-secondary: #d0d6e0;\n --oc-text-muted: #a1a1aa;\n --oc-text-faint: #52525b;\n\n /* Lines */\n --oc-gridline: rgba(255, 255, 255, 0.06);\n --oc-axis: rgba(255, 255, 255, 0.14);\n --oc-border: rgba(255, 255, 255, 0.1);\n\n /* Brand and semantic — accent stays cyan (no darkening on dark bg) */\n --oc-accent: #06b6d4;\n --oc-accent-strong: #06b6d4;\n --oc-positive: #4ade80;\n --oc-negative: #f87171;\n --oc-focus: #60a5fa;\n\n /* Interactive states */\n --oc-hover-bg: rgba(255, 255, 255, 0.05);\n --oc-tooltip-bg: rgba(17, 17, 19, 0.92);\n --oc-tooltip-border: rgba(255, 255, 255, 0.08);\n --oc-tooltip-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.4);\n --oc-tooltip-text: #f7f8f8;\n --oc-legend-text: #d0d6e0;\n\n /* Annotation and neutral colors */\n --oc-gridline-zero: rgba(255, 255, 255, 0.24);\n --oc-map-no-data-fill: #171719;\n --oc-map-no-data-hatch: #3d3e3f;\n --oc-map-interior-border: rgba(255, 255, 255, 0.18);\n --oc-map-outline-border: rgba(255, 255, 255, 0.38);\n --oc-annotation-label: #d1d5db;\n --oc-annotation-muted: #9ca3af;\n --oc-annotation-leader: #9aa0a6;\n --oc-annotation-rule: #9ca3af;\n --oc-annotation-range-fill: #f0c040;\n --oc-annotation-marker-fill: #09090b;\n --oc-annotation-plate: #09090b;\n --oc-gray-100: #171719;\n --oc-gray-200: #262627;\n --oc-gray-300: #3d3e3f;\n --oc-gray-400: #68696a;\n --oc-gray-600: #8c8c8d;\n --oc-gray-800: #bcbcbd;\n }\n}\n","/* GENERATED FILE — do not edit. Source: packages/core/src/motion/choreography.ts. Regenerate: bun run generate:motion */\n\n@layer oc.animation {\n /* ---------------------------------------------------------------------------\n * Table entrance animations (.oc-table-wrapper.oc-animate)\n * --------------------------------------------------------------------------- */\n\n .oc-table-wrapper.oc-animate {\n /* Chrome (title/subtitle): fade + slide up */\n & > .oc-chrome {\n animation: oc-enter-fade var(--oc-table-chrome-dur, calc(var(--oc-animation-duration) * 0.6))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-table-chrome-delay, 0ms);\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Table header: quick fade before rows start */\n & thead {\n animation: oc-enter-fade-only\n var(--oc-table-thead-dur, calc(var(--oc-animation-duration) * 0.4))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-table-thead-delay, 0ms);\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Row entrance: slide up only, no opacity (cells handle their own fading\n to avoid opacity compounding between row and cell animations) */\n & tbody tr {\n animation: oc-table-enter-row var(--oc-table-row-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-row-delay,\n calc(var(--oc-animation-stagger) * var(--oc-row-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Cell text: fade in synced with row slide */\n & tbody td {\n animation: oc-enter-fade-only\n var(--oc-table-cell-dur, calc(var(--oc-animation-duration) * 0.5))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-cell-delay,\n calc(var(--oc-animation-stagger) * var(--oc-row-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Heatmap/category cell backgrounds: longer fade, once the row is halfway in */\n & td.oc-table-heatmap,\n & td.oc-table-category {\n animation: oc-enter-fade-only\n var(--oc-table-heatmap-cell-dur, calc(var(--oc-animation-duration) * 0.7))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-heatmap-cell-delay,\n calc(\n var(--oc-table-heatmap-cell-after, calc(var(--oc-animation-duration) * 0.2)) +\n var(--oc-animation-stagger) *\n var(--oc-row-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Bar fill: clip-path grow only (no opacity change to preserve resting\n opacity: 0.15 from table.css), once the row is halfway in */\n & .oc-table-bar-fill {\n animation: oc-table-enter-bar-fill var(--oc-table-bar-fill-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-bar-fill-delay,\n calc(\n var(--oc-table-bar-fill-after, calc(var(--oc-animation-duration) * 0.2)) +\n var(--oc-animation-stagger) *\n var(--oc-row-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Sparkline SVG: clip-path reveal left-to-right once the row is mostly in.\n Targets the SVG directly (not the wrapper) to avoid clipping\n absolutely-positioned dots and labels. */\n & .oc-table-sparkline > svg {\n animation: oc-enter-line\n var(--oc-table-sparkline-dur, calc(var(--oc-animation-duration) * 0.8))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-sparkline-delay,\n calc(\n var(--oc-table-sparkline-after, calc(var(--oc-animation-duration) * 0.308881)) +\n var(--oc-animation-stagger) *\n var(--oc-row-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Sparkline dots and labels: fade in as the line draws through the end */\n & .oc-table-sparkline-dot,\n & .oc-table-sparkline-labels {\n animation: oc-enter-fade-only\n var(--oc-table-sparkline-dot-dur, calc(var(--oc-animation-duration) * 0.3))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-sparkline-dot-delay,\n calc(\n var(--oc-table-sparkline-dot-after, calc(var(--oc-animation-duration) * 0.834109)) +\n var(--oc-animation-stagger) *\n var(--oc-row-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Search and pagination: quick fade on mount */\n & .oc-table-search,\n & .oc-table-pagination {\n animation: oc-enter-fade-only\n var(--oc-table-search-pagination-dur, calc(var(--oc-animation-duration) * 0.5))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-table-search-pagination-delay, 0ms);\n animation-play-state: var(--oc-play-state, running);\n }\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Graph\n * --------------------------------------------------------------------------- */\n\n .oc-graph-wrapper {\n position: relative;\n overflow: hidden;\n background: var(--oc-bg);\n font-family: var(--oc-font-family);\n width: 100%;\n height: 100%;\n }\n\n .oc-graph-canvas {\n display: block;\n width: 100%;\n height: 100%;\n cursor: grab;\n }\n\n .oc-graph-canvas--dragging {\n cursor: grabbing;\n }\n\n /* 3D surface. 3d-force-graph builds its own `div.scene-container` inside the\n * element it is handed and sizes the WebGL canvas imperatively, so the slot\n * has to fill the same box the 2D canvas fills or the first measurement is\n * zero-height. */\n .oc-graph-3d,\n .oc-graph-3d .scene-container {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .oc-graph-3d {\n cursor: grab;\n }\n\n .oc-graph-3d .scene-container canvas {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .oc-graph-chrome {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n z-index: 2;\n padding: 16px 16px 8px;\n pointer-events: none;\n\n & .oc-title {\n font-size: var(--oc-title-size);\n font-weight: var(--oc-title-weight);\n letter-spacing: var(--oc-title-tracking);\n color: var(--oc-text);\n margin: 0 0 4px;\n --_stroke: color-mix(in srgb, var(--oc-bg) 80%, transparent);\n text-shadow:\n -2px -2px 0 var(--_stroke),\n 2px -2px 0 var(--_stroke),\n -2px 2px 0 var(--_stroke),\n 2px 2px 0 var(--_stroke),\n 0 -2px 0 var(--_stroke),\n 0 2px 0 var(--_stroke),\n -2px 0 0 var(--_stroke),\n 2px 0 0 var(--_stroke);\n }\n\n & .oc-subtitle {\n font-size: var(--oc-subtitle-size);\n color: var(--oc-text-secondary);\n margin: 0;\n --_stroke: color-mix(in srgb, var(--oc-bg) 80%, transparent);\n text-shadow:\n -1px -1px 0 var(--_stroke),\n 1px -1px 0 var(--_stroke),\n -1px 1px 0 var(--_stroke),\n 1px 1px 0 var(--_stroke);\n }\n }\n\n .oc-graph-legend {\n position: absolute;\n top: 12px;\n right: 12px;\n /* Slightly translucent so the graph reads as continuous underneath, in\n * whatever surface the mount stamped on the wrapper. */\n background: color-mix(in srgb, var(--oc-bg) 88%, transparent);\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-lg);\n padding: 8px 12px;\n font-size: 12px;\n color: var(--oc-text-secondary);\n max-height: 200px;\n overflow-y: auto;\n }\n\n .oc-graph-legend-item {\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 2px 0;\n /* Button reset for interactive rows (rendered as <button>). */\n width: 100%;\n margin: 0;\n background: none;\n border: none;\n font: inherit;\n color: inherit;\n text-align: left;\n cursor: default;\n }\n\n /* Interactive legend rows are buttons; give them affordance + a focus ring. */\n button.oc-graph-legend-item {\n cursor: pointer;\n border-radius: var(--oc-radius-sm);\n\n &:hover {\n background: var(--oc-focus-ring);\n }\n\n &:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 1px;\n }\n }\n\n /* De-emphasized (toggled-off) category. */\n .oc-graph-legend-item--inactive {\n opacity: 0.45;\n }\n\n .oc-graph-legend-label {\n flex: 1 1 auto;\n }\n\n .oc-graph-legend-count {\n color: var(--oc-text-secondary);\n font-variant-numeric: tabular-nums;\n margin-left: auto;\n padding-left: 8px;\n }\n\n .oc-graph-legend-swatch {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n flex-shrink: 0;\n }\n\n /* Edge-legend swatches render as a short line, not a dot. */\n .oc-graph-legend-swatch--line {\n width: 12px;\n height: 3px;\n border-radius: 1px;\n }\n\n .oc-graph-search {\n position: absolute;\n top: 12px;\n left: 12px;\n\n & input {\n font-family: var(--oc-font-family);\n font-size: var(--oc-body-size);\n padding: 6px 10px;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-md);\n background: color-mix(in srgb, var(--oc-bg) 88%, transparent);\n color: var(--oc-text);\n outline: none;\n\n &:focus {\n border-color: var(--oc-focus);\n box-shadow: 0 0 0 2px var(--oc-focus-ring-strong);\n }\n }\n }\n\n /*\n * No dark-mode canvas override lives here. graph-mount stamps the resolved\n * theme surface on the wrapper (--oc-bg), so dark graphs sit on the same\n * --oc-bg the rest of the library uses instead of a private GitHub-dark hex,\n * and the legend/search panels mix against whatever that surface is.\n */\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Sankey\n *\n * Hovering a node (or a link) traces the whole path through it: everything\n * upstream and everything downstream stays lit, the rest drops back. The mount\n * writes the opacities; this file only owns how they move, using the shared\n * hover duration so a sankey fades on the same clock as a bar chart.\n *\n * The transitions are switched off during the entrance (`.oc-animate`), where\n * the keyframes own opacity and a competing transition would smear them.\n * --------------------------------------------------------------------------- */\n\n .oc-sankey:not(.oc-animate) .oc-sankey-link path {\n transition: fill-opacity var(--oc-hover-duration) ease-out;\n }\n\n .oc-sankey:not(.oc-animate) .oc-sankey-node,\n .oc-sankey:not(.oc-animate) .oc-sankey-label {\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n /* Labels are decoration over the flow: never a text cursor, never a selection\n * drag that eats the hover. */\n .oc-sankey-label {\n pointer-events: none;\n user-select: none;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Map reader zoom (geo.zoom)\n * The overlay is pinned to the map area (left/top/width/height stamped in %\n * by vanilla/src/map-zoom.ts) and passes pointer events through, so only the\n * buttons are hit targets. Surfaces reuse the tooltip tokens: a translucent\n * card that reads over any fill, light or dark.\n * --------------------------------------------------------------------------- */\n\n .oc-map-zoom {\n position: absolute;\n pointer-events: none;\n z-index: 2;\n }\n\n .oc-map-zoom-controls {\n position: absolute;\n top: 8px;\n right: 8px;\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n background: var(--oc-tooltip-bg);\n backdrop-filter: blur(14px);\n border: 1px solid var(--oc-tooltip-border);\n border-radius: var(--oc-radius-md);\n box-shadow: var(--oc-tooltip-shadow);\n overflow: hidden;\n }\n\n .oc-map-zoom-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n color: var(--oc-text);\n font: inherit;\n cursor: pointer;\n transition:\n background var(--oc-hover-duration) ease-out,\n opacity var(--oc-hover-duration) ease-out;\n\n & + & {\n border-top: 1px solid var(--oc-tooltip-border);\n }\n\n &:hover:not(:disabled) {\n background: var(--oc-focus-ring);\n }\n\n &:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: -2px;\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.35;\n }\n }\n\n /* Short-lived \"use ctrl/cmd + scroll\" hint after a plain wheel over the map. */\n .oc-map-zoom-hint {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: calc(100% - 32px);\n padding: 8px 12px;\n background: var(--oc-tooltip-bg);\n backdrop-filter: blur(14px);\n border: 1px solid var(--oc-tooltip-border);\n border-radius: var(--oc-radius-md);\n box-shadow: var(--oc-tooltip-shadow);\n color: var(--oc-tooltip-text);\n font-family: var(--oc-font-family);\n font-size: 13px;\n line-height: 1.3;\n text-align: center;\n opacity: 0;\n transition: opacity 200ms ease-out;\n\n &[data-visible] {\n opacity: 1;\n }\n }\n\n /* The SVG is focusable while zoom is on (keyboard: + - arrows 0). */\n .oc-map:focus {\n outline: none;\n }\n\n .oc-map:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n .oc-map[data-oc-zoomed] {\n cursor: grab;\n }\n\n /* The SVG holds pointer capture during a drag, so its cursor is the one shown. */\n .oc-map--panning {\n cursor: grabbing;\n }\n}\n","@layer oc.components {\n /**\n * Sparkline display mode.\n *\n * Stamped on the SVG root as data-display=\"sparkline\" by the renderer when\n * the spec sets display: 'sparkline'. Strips any inherited padding/margin\n * so the mark renders truly edge-to-edge in tight container layouts (KPI\n * cards, table cells, dashboard tiles).\n */\n\n .oc-chart[data-display=\"sparkline\"] {\n display: block;\n margin: 0;\n padding: 0;\n }\n\n /**\n * Data-arrival pulse. The update driver stamps `oc-pulse` on the sparkline's\n * terminator dot when a transition finishes and strips it 600ms later.\n * Deliberately not scoped under `.oc-animate`: that class only exists during\n * the entrance window, and this fires on updates.\n */\n .oc-chart[data-display=\"sparkline\"] .oc-pulse {\n animation: oc-pulse 600ms ease-out;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .oc-chart[data-display=\"sparkline\"] .oc-pulse {\n animation: none;\n }\n }\n}\n","/*\n * Playback controls (play button, scrubber, readout) shared by races, charts and maps, and\n * the pointer rule for a playback chart's overlay labels. Each control selector lists both the .oc-race-* and .oc-playback-* prefixes. The controls set\n * the scrubber's progress as --<prefix>-progress; the race shell sets\n * --oc-race-progress-color on its controls slot.\n */\n@layer oc.components {\n /* The period label and name labels drawn over a playback chart describe the marks; they\n aren't marks themselves, so pointer and touch go through them to the marks beneath. */\n [data-key^=\"oc-playback-\"] {\n pointer-events: none;\n }\n\n .oc-race-controls,\n .oc-playback-controls {\n display: flex;\n align-items: center;\n gap: 12px;\n height: 44px;\n color: var(--oc-text);\n font-family: var(--oc-font-family);\n }\n\n .oc-race-play,\n .oc-playback-play {\n display: grid;\n place-items: center;\n flex: none;\n box-sizing: border-box;\n width: 32px;\n height: 32px;\n /* Pull the button left so the 16px icon, not the hit area, lines up with the chart inset. */\n margin-inline-start: -8px;\n padding: 0;\n border: 0;\n border-radius: 4px;\n background: transparent;\n color: inherit;\n font: inherit;\n cursor: pointer;\n }\n\n .oc-race-play:hover,\n .oc-playback-play:hover {\n background: var(--oc-hover-bg);\n }\n\n .oc-race-play:focus-visible,\n .oc-race-scrub:focus-visible,\n .oc-playback-play:focus-visible,\n .oc-playback-scrub:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n .oc-race-scrub,\n .oc-playback-scrub {\n --oc-playback-track-direction: to right;\n --oc-playback-track-fill: linear-gradient(\n var(--oc-playback-track-direction),\n var(--oc-race-progress-color, var(--oc-playback-progress-color, var(--oc-text)))\n var(--oc-race-progress, var(--oc-playback-progress, 0%)),\n var(--oc-border) var(--oc-race-progress, var(--oc-playback-progress, 0%))\n );\n /* Grow outward and keep the native thumb's travel and center fixed. */\n --oc-playback-thumb-grow: 0px;\n --oc-playback-thumb-ring:\n 0 0 0 var(--oc-playback-thumb-grow) var(--oc-text),\n 0 0 0 calc(2px + var(--oc-playback-thumb-grow)) var(--oc-bg);\n appearance: none;\n flex: 1;\n min-width: 0;\n height: 16px;\n margin: 0;\n padding: 0;\n border: 0;\n background: transparent;\n cursor: pointer;\n }\n\n .oc-race-scrub:dir(rtl),\n .oc-playback-scrub:dir(rtl) {\n --oc-playback-track-direction: to left;\n }\n\n .oc-race-scrub:hover,\n .oc-race-scrub:active,\n .oc-playback-scrub:hover,\n .oc-playback-scrub:active {\n --oc-playback-thumb-grow: 1px;\n }\n\n .oc-race-scrub::-webkit-slider-runnable-track,\n .oc-playback-scrub::-webkit-slider-runnable-track {\n height: 4px;\n border-radius: 2px;\n background: var(--oc-playback-track-fill);\n }\n\n .oc-race-scrub::-moz-range-track,\n .oc-playback-scrub::-moz-range-track {\n width: 100%;\n height: 4px;\n border-radius: 2px;\n background: var(--oc-playback-track-fill);\n }\n\n .oc-race-scrub::-webkit-slider-thumb,\n .oc-playback-scrub::-webkit-slider-thumb {\n appearance: none;\n width: 14px;\n height: 14px;\n margin-top: -5px;\n border: 0;\n border-radius: 50%;\n background: var(--oc-text);\n box-shadow: var(--oc-playback-thumb-ring);\n }\n\n .oc-race-scrub::-moz-range-thumb,\n .oc-playback-scrub::-moz-range-thumb {\n width: 14px;\n height: 14px;\n border: 0;\n border-radius: 50%;\n background: var(--oc-text);\n box-shadow: var(--oc-playback-thumb-ring);\n }\n\n @media (forced-colors: active) {\n .oc-race-scrub,\n .oc-playback-scrub {\n appearance: auto;\n }\n }\n\n .oc-race-readout,\n .oc-playback-readout {\n flex: 0 0 auto;\n max-width: 40%;\n overflow: hidden;\n color: var(--oc-text-muted);\n font-size: var(--oc-source-size);\n text-align: end;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-variant-numeric: normal;\n }\n}\n","@layer oc.components {\n .oc-race {\n direction: ltr;\n font-variant-numeric: normal;\n }\n\n .oc-race-controls-slot {\n /* The shell measures the unused space below the footer. Preserve the outer height. */\n position: relative;\n margin-top: calc(0px - var(--oc-race-controls-lift, 0px));\n padding-inline: var(--oc-race-padding);\n padding-bottom: var(--oc-race-controls-lift, 0px);\n }\n\n .oc-race-axis line {\n stroke: var(--oc-gridline);\n }\n\n .oc-race-axis text,\n .oc-race-summary {\n fill: var(--oc-text-muted);\n }\n\n .oc-race-summary {\n font-size: var(--oc-source-size);\n }\n\n .oc-race-rows text {\n fill: var(--oc-text);\n font-size: var(--oc-body-size);\n }\n\n .oc-race-period {\n fill: var(--oc-text-faint);\n font-weight: 600;\n }\n\n .oc-race-row {\n will-change: transform;\n }\n\n /* line */\n .oc-race-line-labels {\n dominant-baseline: central;\n font-size: var(--oc-body-size);\n }\n\n .oc-race-line-value {\n fill: var(--oc-text-muted);\n }\n}\n","@layer oc.components {\n .oc-race-table {\n overflow: hidden;\n }\n\n .oc-race-table-grid {\n display: grid;\n grid-template-rows: auto 1fr;\n width: 100%;\n height: 100%;\n border-collapse: separate;\n border-spacing: 0;\n color: var(--oc-text);\n font-family: var(--oc-font-family);\n font-weight: var(--oc-race-table-body-weight, 400);\n line-height: 1.2;\n font-variant-numeric: normal;\n }\n\n .oc-race-table-grid thead,\n .oc-race-table-grid tbody {\n display: block;\n }\n\n .oc-race-table-grid tbody {\n position: relative;\n overflow: hidden;\n background-image: repeating-linear-gradient(\n to bottom,\n transparent 0 max(0px, calc(var(--oc-race-table-row-height) - 1px)),\n var(--oc-border) 0 var(--oc-race-table-row-height)\n );\n }\n\n .oc-race-table-grid tr {\n display: grid;\n grid-template-columns: var(--oc-race-table-columns);\n align-items: center;\n overflow: hidden;\n }\n\n .oc-race-table-grid thead tr {\n box-shadow: inset 0 -1px var(--oc-border);\n }\n\n .oc-race-table-grid tbody tr {\n position: absolute;\n inset: 0 0 auto;\n max-height: max(0px, calc(var(--oc-race-table-row-height) - 1px));\n overflow: visible;\n }\n\n .oc-race-table-grid tbody td {\n max-height: 100%;\n translate: 0 var(--oc-race-table-content-offset, 0px);\n }\n\n .oc-race-table-cell {\n min-width: 0;\n overflow: hidden;\n padding: 0 var(--oc-race-table-cell-padding, 5px);\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .oc-race-table-grid th {\n color: var(--oc-text-muted);\n font-weight: var(--oc-race-table-heading-weight, 600);\n }\n\n .oc-race-table-rank,\n .oc-race-table-change,\n .oc-race-table-value,\n .oc-race-table-share {\n text-align: right;\n }\n\n .oc-race-table-change,\n .oc-race-table-share {\n color: var(--oc-text-muted);\n }\n\n .oc-race-table-change[data-direction=\"up\"] {\n color: var(--oc-positive);\n }\n\n .oc-race-table-change[data-direction=\"down\"] {\n color: var(--oc-negative);\n }\n\n td.oc-race-table-name {\n display: flex;\n align-items: center;\n gap: 6px;\n }\n\n .oc-race-table-name > span:last-child {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .oc-race-table-chip {\n flex: none;\n width: 8px;\n height: 8px;\n border-radius: var(--oc-radius-full);\n }\n\n td.oc-race-table-bar {\n position: relative;\n height: 100%;\n padding: 0;\n }\n\n .oc-race-table-fill {\n position: absolute;\n top: 50%;\n left: 0;\n height: min(8px, 55%);\n border-radius: var(--oc-radius-sm);\n translate: 0 -50%;\n transform-origin: 0 50%;\n }\n}\n","/* ---------------------------------------------------------------------------\n * Reduced motion\n *\n * Catch-all: last-declared layer beats every earlier layer regardless of\n * specificity. No !important, no hand-maintained selector mirror.\n *\n * Selector list matches CSS_TOKEN_ROOT_SELECTORS in token-definitions.ts.\n * --------------------------------------------------------------------------- */\n\n@layer oc.reduced-motion {\n @media (prefers-reduced-motion: reduce) {\n :is(\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root\n ),\n :is(\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root\n )\n *,\n :is(\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root\n )\n *::before,\n :is(\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root\n )\n *::after {\n animation: none;\n transition: none;\n }\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Chrome (eyebrow, title, subtitle, source, byline, footer, brand)\n * --------------------------------------------------------------------------- */\n\n .oc-chrome {\n font-family: var(--oc-font-family);\n }\n\n .oc-eyebrow {\n font-size: var(--oc-eyebrow-size);\n font-weight: var(--oc-eyebrow-weight);\n letter-spacing: var(--oc-eyebrow-tracking);\n text-transform: uppercase;\n fill: var(--oc-accent);\n }\n\n .oc-title {\n font-size: var(--oc-title-size);\n font-weight: var(--oc-title-weight);\n letter-spacing: var(--oc-title-tracking);\n fill: var(--oc-text);\n }\n\n .oc-subtitle {\n font-size: var(--oc-subtitle-size);\n font-weight: var(--oc-subtitle-weight);\n fill: var(--oc-text-muted);\n }\n\n .oc-source,\n .oc-byline,\n .oc-footer {\n font-size: var(--oc-source-size);\n font-weight: var(--oc-source-weight);\n fill: var(--oc-text-muted);\n }\n\n .oc-brand {\n font-size: 11px;\n font-weight: 500;\n letter-spacing: 0.02em;\n fill: var(--oc-text-faint);\n }\n\n .oc-eyebrow-dot {\n fill: var(--oc-accent);\n }\n\n /* ---------------------------------------------------------------------------\n * Metric bar (.oc-metrics) — optional row of label/value cells above chart\n * --------------------------------------------------------------------------- */\n\n .oc-metrics {\n font-family: var(--oc-font-family);\n }\n\n .oc-metric-label {\n font-size: 11px;\n font-weight: 500;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n fill: var(--oc-text-muted);\n }\n\n .oc-metric-value {\n font-size: 22px;\n font-weight: 600;\n letter-spacing: -0.02em;\n fill: var(--oc-text);\n font-variant-numeric: tabular-nums;\n }\n\n .oc-metric-delta-up {\n fill: var(--oc-positive);\n font-size: 12px;\n font-weight: 500;\n }\n\n .oc-metric-delta-down {\n fill: var(--oc-negative);\n font-size: 12px;\n font-weight: 500;\n }\n\n /* A multiplier or a run-rate is context, not a positive signal: the green\n that belonged here made every secondary read as good news. */\n .oc-metric-secondary {\n fill: var(--oc-text-muted);\n font-size: 12px;\n font-weight: 400;\n }\n\n /* ---------------------------------------------------------------------------\n * Axis tick labels — inline variant sits above each gridline at the\n * chart-area left edge (no left gutter). Used by line/area y-axes.\n * --------------------------------------------------------------------------- */\n\n .oc-axis-tick-inline {\n font-size: 11px;\n font-weight: 400;\n fill: var(--oc-text-muted);\n }\n\n /* ---------------------------------------------------------------------------\n * Endpoint labels (right-side per-series column for line/area charts)\n *\n * Swatch idiom: a thicker colored stroke segment with an optional thinner\n * lighter strip below. Mirrors the refreshed traditional legend swatch so a\n * single chart never shows two swatch idioms (mock-2 alignment). Per-series\n * color is stamped inline by the renderer; CSS tokens here cover the muted\n * value text and the leader line so theme overrides flow through naturally.\n * --------------------------------------------------------------------------- */\n\n .oc-endpoint-labels {\n font-family: var(--oc-font-family);\n }\n\n .oc-endpoint-label {\n /* Color set inline per series; this fallback only kicks in if the renderer\n ever omits the inline fill. */\n fill: var(--oc-endpoint-label-color, var(--oc-text));\n }\n\n .oc-endpoint-value {\n fill: var(--oc-endpoint-value-color, var(--oc-text-muted));\n }\n\n .oc-endpoint-leader {\n stroke: var(--oc-endpoint-leader-color, currentColor);\n }\n\n /* .oc-endpoint-marker — fill/stroke set inline (open-ring style: bg fill, series stroke). */\n /* .oc-endpoint-swatch — color set inline per series. */\n\n /* ---------------------------------------------------------------------------\n * Annotation dot + subtitle (text-annotation extensions)\n * --------------------------------------------------------------------------- */\n\n /* .oc-annotation-dot — fill/stroke resolved by the engine (open-ring default = bg fill, series stroke). */\n\n .oc-annotation-subtitle {\n fill: var(--oc-annotation-subtitle-color, var(--oc-text-muted));\n }\n\n /* ---------------------------------------------------------------------------\n * Table footer chrome\n * --------------------------------------------------------------------------- */\n\n /* Footer row: source/footer text on the left, brand watermark on the right,\n * sharing a single baseline. gap keeps them apart if the row gets narrow. */\n .oc-table-footer-row {\n display: flex;\n align-items: baseline;\n gap: 16px;\n padding: 16px 16px 4px;\n }\n\n /* Chrome block sits inside the flex row now, so it no longer owns the\n * footer's top padding or horizontal inset (the row provides both). */\n .oc-chrome-footer {\n padding-top: 0;\n }\n\n /* Brand watermark: pushed to the right edge (margin-left:auto holds it there\n * even when the source text is absent), never shrinks below its own text. */\n .oc-table-footer-row .oc-table-ref {\n margin-left: auto;\n flex-shrink: 0;\n text-align: right;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Hover language\n *\n * One vocabulary for mark hover, legend hover and the crosshair. Emphasis is\n * always a CLASS, never an inline style: a class beats the renderer's\n * `opacity` attributes (suppressed points under endpoint markers keep their\n * opacity=\"0\") and loses to the transition driver's per-frame inline\n * `style.opacity`, which is exactly the precedence a hover during a data\n * update needs.\n * --------------------------------------------------------------------------- */\n\n .oc-marks.oc-hover-active .oc-mark--dim:not([opacity=\"0\"]) {\n opacity: var(--oc-hover-dim);\n }\n\n /* Single-series register: outline the hovered mark instead of dimming eleven\n * others. Scoped per mark type -- an inherited stroke on a line or area group\n * would repaint the series in the text color. */\n .oc-marks.oc-hover-active .oc-mark-rect.oc-mark--hover > *,\n .oc-marks.oc-hover-active .oc-mark-arc.oc-mark--hover > *,\n .oc-marks.oc-hover-active circle.oc-mark-point.oc-mark--hover {\n stroke: var(--oc-text);\n stroke-width: 1;\n }\n\n /* The fade is switched off while the rAF transition driver owns opacity: an\n * unscoped 140ms transition would smear every frame of an update tween.\n * `.oc-animate` is excluded for the same reason during the entrance.\n *\n * It is NOT scoped to `.oc-hover-active`: dropping the class on mouseleave\n * would drop the transition with it, so the dim faded in and snapped back. */\n .oc-chart:not(.oc-animate):not(.oc-transitioning) .oc-marks .oc-mark {\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n /* ---------------------------------------------------------------------------\n * Legend hover-link\n *\n * The swatch dims; the label text stays at full contrast so the list is still\n * readable while one series is raised.\n * --------------------------------------------------------------------------- */\n\n .oc-legend-entry--dim .oc-legend-swatch-line,\n .oc-legend-entry--dim .oc-legend-swatch-rect,\n .oc-legend-entry--dim > circle {\n opacity: var(--oc-hover-dim);\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n .oc-legend-hit {\n fill: transparent;\n }\n\n .oc-legend-entry:focus {\n outline: none;\n }\n\n /* Focus ring on the 24px hit rect, drawn as a stroke: `outline` on an SVG\n * group is inconsistent across browsers, a stroke is not. */\n .oc-legend-entry:focus-visible .oc-legend-hit {\n stroke: var(--oc-focus);\n stroke-width: 2;\n }\n\n /* ---------------------------------------------------------------------------\n * Endpoint-label hover-link\n * --------------------------------------------------------------------------- */\n\n .oc-endpoint-label-entry {\n cursor: default;\n }\n\n /* ---------------------------------------------------------------------------\n * Map hover\n *\n * Feature hover is outline + raise, never dim-the-rest: toggling opacity on\n * three thousand county paths every time the pointer crosses a border is a\n * repaint storm, and the wave of fades reads as a flicker. Datawrapper and the\n * FT outline too. `non-scaling-stroke` keeps the outline 1.5px through the\n * camera's zoom transform, which otherwise scales stroke width with geometry.\n * --------------------------------------------------------------------------- */\n\n .oc-map-feature--hover {\n stroke: var(--oc-text);\n stroke-width: 1.5;\n vector-effect: non-scaling-stroke;\n }\n\n /* Legend-bin hover IS where dim-the-rest belongs: pointing at one class is a\n * deliberate \"show me these\" gesture, and the answer is the set of features in\n * that class. Static rules per class index keep it to one attribute write on\n * the group rather than a class toggle per feature. A playback crossfade's\n * underlay carries its feature's class index, so it dims with the feature. */\n .oc-map-features[data-hover] :is(.oc-map-feature, .oc-map-feature-underlay) {\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n .oc-map-features[data-hover=\"0\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"0\"]),\n .oc-map-features[data-hover=\"1\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"1\"]),\n .oc-map-features[data-hover=\"2\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"2\"]),\n .oc-map-features[data-hover=\"3\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"3\"]),\n .oc-map-features[data-hover=\"4\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"4\"]),\n .oc-map-features[data-hover=\"5\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"5\"]),\n .oc-map-features[data-hover=\"6\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"6\"]),\n .oc-map-features[data-hover=\"7\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"7\"]),\n .oc-map-features[data-hover=\"8\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"8\"]),\n .oc-map-features[data-hover=\"9\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"9\"]),\n .oc-map-features[data-hover=\"10\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"10\"]),\n .oc-map-features[data-hover=\"11\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"11\"]) {\n opacity: var(--oc-map-hover-dim);\n }\n\n .oc-legend-bin {\n cursor: default;\n }\n\n /* ---------------------------------------------------------------------------\n * Tile hover\n *\n * A tile grid is 51 rects, not 3000 paths, and every tile is the same size --\n * so here the full hover language applies: the hovered tile takes an outline\n * and the rest drop back.\n * --------------------------------------------------------------------------- */\n\n .oc-tilemap-tiles.oc-hover-active .oc-tilemap-tile {\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n .oc-tilemap-tiles.oc-hover-active .oc-tilemap-tile:not(.oc-tilemap-tile--hover) {\n opacity: var(--oc-hover-dim);\n }\n\n .oc-tilemap-tile--hover > rect {\n stroke: var(--oc-text);\n stroke-width: 1.5;\n }\n}\n\n@layer oc.components {\n /* Source-linked annotation inspection; exports render a fresh, inactive scene. */\n .oc-footnotes,\n [data-note-marker-index] {\n cursor: pointer;\n }\n .oc-footnotes.oc-note-active {\n text-decoration: underline;\n }\n [data-note-marker-index].oc-note-active .oc-annotation-footnote-marker {\n stroke-width: 3;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Series search (seriesSearch)\n *\n * DOM combobox overlaid on the SVG band the engine reserves below chrome.\n * The wrapper is absolutely positioned by the vanilla adapter (inline\n * left/top/width/height), so everything here is visual only. All colors come\n * from --oc-* tokens, which flip in .oc-dark.\n * --------------------------------------------------------------------------- */\n\n .oc-series-search {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 8px;\n font-family: var(--oc-font-family);\n z-index: 10;\n }\n\n /* Chips: removable filter tokens for the current selection. They flow to the\n * left of the input and scroll horizontally rather than wrapping over the\n * chart when a reader picks many series. */\n .oc-series-search-chips {\n display: flex;\n align-items: center;\n gap: 6px;\n min-width: 0;\n overflow-x: auto;\n scrollbar-width: none;\n }\n\n .oc-series-search-chips::-webkit-scrollbar {\n display: none;\n }\n\n .oc-series-search-chip {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 3px 4px 3px 10px;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-full);\n background: var(--oc-secondary);\n color: var(--oc-text-secondary);\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n white-space: nowrap;\n }\n\n .oc-series-search-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n /* 16px glyph, but a >=24px hit area (WCAG 2.5.5 target size) via padding\n pulled back with negative margin so the chip layout stays tight. */\n width: 16px;\n height: 16px;\n padding: 4px;\n margin: -4px -2px -4px -4px;\n border: none;\n border-radius: 50%;\n background: transparent;\n color: var(--oc-text-muted);\n cursor: pointer;\n transition:\n color 0.15s,\n background-color 0.15s;\n }\n\n .oc-series-search-chip-remove:hover {\n color: var(--oc-text);\n background: var(--oc-hover-bg);\n }\n\n .oc-series-search-chip-remove:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 1px;\n }\n\n .oc-series-search-chip-remove svg {\n display: block;\n }\n\n /* Combobox: input + popup listbox. Styling matches the table search input\n * (border, radius, focus ring) so the two search surfaces read as one system. */\n .oc-series-search-box {\n position: relative;\n flex: 0 1 220px;\n min-width: 120px;\n }\n\n .oc-series-search-icon {\n position: absolute;\n left: 9px;\n top: 50%;\n transform: translateY(-50%);\n color: var(--oc-text-muted);\n pointer-events: none;\n }\n\n /* Shared skin provided by the grouped rule in table.css.\n Only divergent props live here. */\n .oc-series-search-input {\n height: 32px;\n padding: 0 10px 0 28px;\n }\n\n .oc-series-search-listbox {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n min-width: 100%;\n max-height: 240px;\n overflow-y: auto;\n margin: 0;\n padding: 4px;\n list-style: none;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-lg);\n background: var(--oc-card);\n box-shadow: var(--oc-tooltip-shadow);\n z-index: 20;\n }\n\n .oc-series-search-option {\n padding: 6px 10px;\n border-radius: var(--oc-radius-sm);\n font-size: 13px;\n color: var(--oc-text);\n cursor: pointer;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .oc-series-search-option[aria-selected=\"true\"],\n .oc-series-search-option:hover {\n background: var(--oc-hover-bg);\n }\n\n /* The typed substring within each suggestion. */\n .oc-series-search-match {\n font-weight: 600;\n }\n\n .oc-series-search-empty {\n padding: 6px 10px;\n font-size: 12px;\n color: var(--oc-text-muted);\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * You draw it (youDrawIt)\n *\n * NYT-style draw-then-reveal. SVG-space elements (hatched region, guess path,\n * reveal clip) render inside the chart SVG; the prompt + skip-to-reveal button\n * are an absolutely-positioned HTML overlay the vanilla adapter sizes over the\n * drawing region (inline left/top/width/height). All colors come from --oc-*\n * tokens so they flip in .oc-dark.\n * --------------------------------------------------------------------------- */\n\n /* Hatched \"draw here\" region. Fill comes from an SVG <pattern> (line color =\n * the target series color); this only governs overall opacity + fade-out. */\n .oc-ydi-region {\n opacity: 0.35;\n transition: opacity 0.4s ease;\n }\n\n .oc-ydi-region[data-ydi-hidden=\"true\"] {\n opacity: 0;\n }\n\n /* The vertical rule at `from` where drawing begins. */\n .oc-ydi-boundary {\n stroke: var(--oc-text-muted);\n stroke-width: 1;\n stroke-dasharray: 3 3;\n stroke-opacity: 0.6;\n }\n\n /* Reader's guess: a distinct pen-like stroke that reads as \"yours\" against the\n * solid real line. Dashed + focus-blue so it stays legible in both modes. */\n .oc-ydi-guess {\n stroke: var(--oc-focus);\n stroke-width: 2.5;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-dasharray: 1 6;\n }\n\n /* Host-supplied comparison line (\"what everyone else guessed\"). Muted so it\n * sits behind the reader's guess and the real line. */\n .oc-ydi-comparison {\n stroke: var(--oc-text-muted);\n stroke-width: 1.5;\n stroke-opacity: 0.5;\n stroke-dasharray: 4 4;\n }\n\n /* Reveal clip rect: the width animates from the `from` boundary to the full\n * area on reveal, wiping the real line in left-to-right. The vanilla adapter\n * adds .oc-ydi-clip-animate right before setting the final width; reduced\n * motion skips the class so the width snaps. */\n .oc-ydi-clip-rect.oc-ydi-clip-animate {\n transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);\n }\n\n /* HTML controls overlay: prompt (top) + reveal button (bottom-right). */\n .oc-ydi-controls {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-end;\n pointer-events: none;\n font-family: var(--oc-font-family);\n padding: 8px;\n box-sizing: border-box;\n z-index: 10;\n }\n\n .oc-ydi-prompt {\n align-self: center;\n max-width: 100%;\n padding: 6px 12px;\n border-radius: var(--oc-radius-md);\n background: var(--oc-card);\n border: 1px solid var(--oc-border);\n color: var(--oc-text-secondary);\n font-size: 13px;\n font-weight: 500;\n line-height: 16px;\n text-align: center;\n box-shadow: var(--oc-tooltip-shadow);\n }\n\n .oc-ydi-controls.oc-ydi-revealed .oc-ydi-prompt {\n display: none;\n }\n\n /* Clear + reveal buttons, side by side at the bottom-right. */\n .oc-ydi-actions {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: 8px;\n pointer-events: none;\n }\n\n /* Skip-to-reveal and clear buttons. pointer-events re-enabled (the overlay\n * disables it) so they stay clickable and keyboard-reachable. Min height\n * enforced inline by the adapter (>= 24px effective touch target). */\n .oc-ydi-reveal-button,\n .oc-ydi-reset-button {\n pointer-events: auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 6px 14px;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-md);\n background: var(--oc-bg);\n color: var(--oc-text);\n font-family: inherit;\n font-size: 13px;\n font-weight: 500;\n white-space: nowrap;\n cursor: pointer;\n box-shadow: var(--oc-tooltip-shadow);\n transition:\n background-color 0.15s,\n border-color 0.15s;\n }\n\n .oc-ydi-reset-button[hidden] {\n display: none;\n }\n\n .oc-ydi-reveal-button:hover,\n .oc-ydi-reset-button:hover {\n background: var(--oc-hover-bg);\n }\n\n .oc-ydi-reveal-button:focus-visible,\n .oc-ydi-reset-button:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n .oc-ydi-reveal-button:disabled {\n opacity: 0.5;\n cursor: default;\n }\n}\n","@layer oc.components {\n .oc-reader-panel,\n .oc-map-companion {\n color: var(--oc-text);\n font-family: var(--oc-font-family);\n font-size: 14px;\n line-height: 1.5;\n min-width: 0;\n }\n\n .oc-reader-panel {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));\n gap: 16px;\n padding: 16px 0;\n border-block: 1px solid var(--oc-border);\n }\n\n .oc-reader-panel article {\n min-width: 0;\n padding-inline-end: 16px;\n overflow-wrap: anywhere;\n }\n\n .oc-reader-panel h3 {\n margin: 0 0 6px;\n font-size: 15px;\n line-height: 1.4;\n font-weight: 600;\n }\n\n .oc-reader-panel p {\n margin: 0 0 8px;\n color: var(--oc-text-secondary);\n }\n\n .oc-reader-panel dl {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 6px 16px;\n margin: 12px 0;\n font-variant-numeric: tabular-nums;\n }\n\n .oc-reader-panel dt {\n color: var(--oc-text-muted);\n }\n .oc-reader-panel dd {\n margin: 0;\n text-align: end;\n }\n .oc-reader-empty,\n .oc-reader-comparison {\n grid-column: 1 / -1;\n }\n .oc-reader-panel > button {\n justify-self: start;\n align-self: end;\n }\n\n .oc-reader-panel button,\n .oc-map-companion button,\n .oc-map-inspect-places {\n font: inherit;\n font-size: 13px;\n color: var(--oc-text-secondary);\n background: transparent;\n border: 1px solid var(--oc-border);\n border-radius: 5px;\n padding: 6px 10px;\n min-height: 36px;\n cursor: pointer;\n margin-inline-end: 6px;\n margin-block: 3px;\n white-space: normal;\n text-align: start;\n }\n\n .oc-reader-panel button:hover,\n .oc-map-companion button:hover,\n .oc-map-inspect-places:hover {\n background: var(--oc-hover-bg);\n }\n .oc-reader-panel button:focus-visible,\n .oc-map-companion :is(button, input):focus-visible,\n .oc-map-inspect-places:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n .oc-map-companion input {\n width: 100%;\n box-sizing: border-box;\n padding: 10px 12px;\n border: 1px solid var(--oc-border);\n border-radius: 5px;\n background: transparent;\n color: var(--oc-text);\n font: inherit;\n }\n\n .oc-map-companion ol {\n margin: 12px 0;\n padding: 0;\n list-style: none;\n }\n .oc-map-companion li {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 12px;\n padding-block: 6px;\n border-bottom: 1px solid var(--oc-border);\n }\n .oc-map-companion li > button:first-child {\n flex: 1 1 auto;\n border-color: transparent;\n padding-inline-start: 0;\n font-variant-numeric: tabular-nums;\n }\n .oc-map-companion button:disabled {\n opacity: 0.45;\n cursor: default;\n }\n .oc-map-inspect-places {\n position: absolute;\n inset-inline-start: 8px;\n top: 8px;\n }\n .oc-map-inspect-places:not(:focus-visible) {\n width: 1px;\n height: 1px;\n min-height: 0;\n padding: 0;\n border: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Legend\n * --------------------------------------------------------------------------- */\n\n /* Font size and text fill are set inline by the renderer's applyTextStyle\n * from the engine-computed legend layout, which is authoritative (11px).\n * Only the family, which nothing computes per-entry, lives here. */\n .oc-legend {\n font-family: var(--oc-font-family);\n }\n\n .oc-legend-entry {\n cursor: default;\n }\n}\n","/* GENERATED FILE — do not edit. Source: packages/core/src/motion/choreography.ts. Regenerate: bun run generate:motion */\n\n@layer oc.animation {\n /* ---------------------------------------------------------------------------\n * Animation scoped rules (.oc-animate enables animation on the chart root)\n * --------------------------------------------------------------------------- */\n\n .oc-animate {\n /* Vertical bars (default): the author curve over the full duration, no fade.\n oc-mark-bar is reserved for future mark type aliases.\n A bar with a value-end radius draws as <path> rather than <rect>\n (SVG rx rounds all four corners or none), so both shapes match. */\n & .oc-mark-rect :is(rect, path),\n & .oc-mark-bar :is(rect, path) {\n animation: oc-enter-bar var(--oc-bar-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-bar-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Horizontal bars (data-orient is on the mark group, not the SVG root) */\n & .oc-mark-rect[data-orient=\"horizontal\"] :is(rect, path),\n & .oc-mark-bar[data-orient=\"horizontal\"] :is(rect, path) {\n animation-name: oc-enter-bar-h;\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Grid cells (heatmap, waffle, calendar) have no baseline to grow from:\n each pops in on its own scattered start. The renderer stamps\n --oc-cell-delay from a seeded shuffle over CELL_SWEEP_BUDGET_MS, so the\n grid fills in no particular pattern. */\n & .oc-mark-rect[data-cell] :is(rect, path) {\n animation: oc-enter-cell var(--oc-cell-dur, 400ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-cell-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Stacked bars reveal as one group per stack, each on its own stagger slot;\n their segments do not animate. A stack that crosses zero grows both ways\n from the baseline (--oc-stack-from). */\n & .oc-stack-reveal {\n animation: oc-enter-stack var(--oc-stack-reveal-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-stack-reveal-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n & .oc-stack-reveal .oc-mark-rect :is(rect, path) {\n animation: none;\n }\n\n & .oc-stack-reveal[data-orient=\"horizontal\"] {\n animation-name: oc-enter-stack-h;\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Line and area marks: entire group clips left-to-right + fades in */\n & .oc-mark-line,\n & .oc-mark-area {\n animation: oc-enter-line var(--oc-line-area-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-line-area-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Arc marks (pie/donut slices): each slice path fades and grows from the pie\n centre. The transform goes on the path, never the group, whose translate()\n attribute positions the slice. */\n & .oc-mark-arc > path {\n animation: oc-enter-arc var(--oc-arc-dur, 450ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-arc-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Point marks (scatter, dot): a quick fade on the author curve, no scale.\n Points render as bare <circle> elements with class oc-mark-point directly,\n not wrapped in a group, so we target circle.oc-mark-point (not descendant). */\n & circle.oc-mark-point,\n & circle.oc-mark-circle {\n animation: oc-enter-fade-only var(--oc-point-dur, 300ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-point-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Points on line/area charts pop in once their own line has drawn (0.97),\n cascading left to right over LINE_POINT_CASCADE_MS. The renderer stamps\n each point's delay and marks it data-line-point (a scatter's trendline also\n precedes its circles, so position can't select these). Points hidden under an endpoint marker stay hidden. */\n & circle.oc-mark-point[data-line-point] {\n animation: oc-enter-pop var(--oc-line-point-dur, 320ms) var(--oc-ease-punch) both;\n animation-delay: var(\n --oc-line-point-delay,\n calc(\n var(--oc-line-point-after, calc(var(--oc-animation-duration) * 0.727459)) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n & circle.oc-mark-point[opacity=\"0\"] {\n animation: none;\n }\n\n /* Text marks: rise 0.6em on the author curve, with a quick fade */\n & .oc-mark-text text {\n animation:\n oc-enter-rise var(--oc-text-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both,\n oc-enter-fade-only 140ms var(--oc-ease-snap) both;\n animation-delay: var(\n --oc-text-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Rule marks: fade in place, never translate (a moving rule reads a wrong value) */\n & .oc-mark-rule line {\n animation: oc-enter-fade-only var(--oc-rule-dur, calc(var(--oc-animation-duration) * 0.5))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-rule-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Tick marks: fade in place */\n & .oc-mark-tick line {\n animation: oc-enter-fade-only var(--oc-tick-dur, calc(var(--oc-animation-duration) * 0.5))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-tick-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Data labels (bar values, line end labels) fade in place once their mark has\n landed: when the bar at the label's --oc-mark-index reaches 0.97. Lines\n share the bar's duration and curve, so the bar anchor stands in for them.\n Labels never move during the entrance. */\n & .oc-mark-label {\n animation: oc-enter-fade-only var(--oc-label-dur, 260ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-label-delay,\n calc(\n var(--oc-label-after, calc(var(--oc-animation-duration) * 0.727459)) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Pie/donut slice labels fade in place once their own slice reaches 0.97. */\n & .oc-mark-arc > .oc-mark-label {\n animation: oc-enter-fade-only var(--oc-arc-label-dur, 260ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-arc-label-delay,\n calc(\n var(--oc-arc-label-after, 327.356557ms) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Trailing endpoint labels (marker, name, value) and area interior labels:\n fade in as their own series' line reaches the end, never before it. The\n renderer stamps each entry with its series' --oc-mark-index. */\n & .oc-endpoint-label-entry[data-endpoint-side=\"trailing\"],\n & .oc-area-interior-label {\n animation: oc-enter-fade-only var(--oc-endpoint-label-dur, 300ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-endpoint-label-delay,\n calc(\n var(--oc-endpoint-label-after, calc(var(--oc-animation-duration) * 0.656536)) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Annotations: fade in once the last mark is 90% of the way there */\n & .oc-annotation {\n animation: oc-enter-fade-only var(--oc-annotation-dur, 300ms) var(--oc-ease-glide) both;\n animation-delay: var(\n --oc-annotation-enter-delay,\n calc(\n var(--oc-annotation-after, calc(var(--oc-animation-duration) * 0.539502)) +\n var(--oc-annotation-delay, 150ms)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Tilemap tiles: fade in with jittered stagger for organic feel.\n Per-tile delay is computed in the renderer with pseudo-random variation. */\n & .oc-tilemap-tile {\n animation: oc-enter-fade-only\n var(--oc-tilemap-tile-dur, calc(var(--oc-animation-duration) * 0.35)) ease-in both;\n animation-delay: var(--oc-tilemap-tile-delay, var(--oc-tile-delay, 0ms));\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Map features: fill color reveal with shuffled stagger.\n Per-feature --oc-map-delay is computed in the renderer via a seeded\n Fisher-Yates shuffle so features pop in organically. */\n & .oc-map-feature {\n animation: oc-enter-map-fill var(--oc-map-feature-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-map-feature-delay, var(--oc-map-delay, 0ms));\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Bulk mode: high feature counts (counties, ~3k+) get a single group\n fade instead of per-feature fill animations. opacity is GPU-compositable\n so this stays smooth regardless of child count. */\n & .oc-map-features[data-bulk-animate] {\n animation: oc-enter-fade-only var(--oc-map-bulk-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-map-bulk-delay, 0ms);\n animation-play-state: var(--oc-play-state, running);\n }\n & .oc-map-features[data-bulk-animate] .oc-map-feature {\n animation: none;\n }\n\n /* Map borders: fade in once most of the feature sweep has started */\n & .oc-map-borders path {\n animation: oc-enter-fade-only\n var(--oc-map-border-dur, calc(var(--oc-animation-duration) * 0.4)) ease-in both;\n animation-delay: var(--oc-map-border-delay, var(--oc-map-border-after, 324ms));\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Map points: gentle scale (0.75->1) + fade pop-in just after the borders.\n transform-origin set per-circle in the renderer so scale happens\n around each circle's own center, not the SVG origin. */\n & .oc-map-point {\n animation: oc-enter-map-point\n var(--oc-map-point-dur, calc(var(--oc-animation-duration) * 0.4))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-map-point-delay,\n calc(\n var(--oc-map-point-after, 351ms) +\n var(--oc-mark-index, 0) *\n var(--oc-point-stagger, 60ms)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Sankey nodes: fade in with stagger by column depth (left-to-right) */\n & .oc-sankey-node rect {\n animation: oc-enter-fade-only var(--oc-sankey-node-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-sankey-node-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Sankey links: fade in when their source node is halfway in. Each link\n carries its source node's --oc-mark-index. */\n & .oc-sankey-link path {\n animation: oc-enter-fade-only var(--oc-sankey-link-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-sankey-link-delay,\n calc(\n var(--oc-sankey-link-after, calc(var(--oc-animation-duration) * 0.2)) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Barlist rows: slide up with a quick fade per row; bars grow left-to-right */\n & .oc-barlist-row {\n animation:\n oc-enter-slide var(--oc-barlist-row-dur, calc(var(--oc-animation-duration) * 0.6))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both,\n oc-enter-fade-only 140ms var(--oc-ease-snap) both;\n animation-delay: var(\n --oc-barlist-row-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n & .oc-barlist-bar {\n animation: oc-enter-bar-h var(--oc-barlist-bar-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-barlist-bar-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n }\n}\n","@layer oc.base {\n /* ---------------------------------------------------------------------------\n * Wrapper roots\n * --------------------------------------------------------------------------- */\n\n .oc-chart-root {\n width: 100%;\n height: 100%;\n }\n\n .oc-table-root,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-barlist-root,\n .oc-tilemap-root,\n .oc-map-root {\n width: 100%;\n height: 100%;\n }\n\n .oc-table-root {\n overflow: auto;\n }\n\n /* ---------------------------------------------------------------------------\n * Chart container\n * --------------------------------------------------------------------------- */\n\n .oc-chart {\n font-family: var(--oc-font-family);\n font-variant-numeric: tabular-nums;\n display: block;\n width: 100%;\n }\n\n /* ---------------------------------------------------------------------------\n * BarList SVG container\n * --------------------------------------------------------------------------- */\n\n .oc-tilemap,\n .oc-map {\n display: block;\n width: 100%;\n height: auto;\n }\n\n .oc-map-feature {\n transition:\n opacity var(--oc-hover-duration) ease-out,\n stroke-width 140ms ease-out;\n }\n\n .oc-barlist {\n display: block;\n width: 100%;\n }\n\n /* ---------------------------------------------------------------------------\n * Screen reader only utility\n * --------------------------------------------------------------------------- */\n\n /* `overflow: clip`, not `hidden` — see applySrOnlyStyles in\n packages/vanilla/src/dom-helpers.ts for why. Keep the two in sync. */\n .oc-sr-only {\n position: absolute;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: clip;\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n }\n\n /* ---------------------------------------------------------------------------\n * Editable hover feedback\n * --------------------------------------------------------------------------- */\n\n .oc-editable-hover {\n outline: 1.5px solid var(--oc-editable-hover);\n outline-offset: 2px;\n border-radius: var(--oc-radius-sm);\n }\n\n /* ---------------------------------------------------------------------------\n * Keyboard focus indicators\n *\n * --oc-focus carries a light value in tokens.css and a dark value in\n * dark.css, so both rings stay visible in either mode.\n * --------------------------------------------------------------------------- */\n\n /* Container ring when the chart itself receives keyboard focus. */\n .oc-root:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n /* Mark ring during arrow-key navigation (see wireKeyboardNav). Outline on\n * SVG elements draws around the mark's bounding box, same technique as\n * .oc-editable-hover above. */\n .oc-mark-focused {\n outline: 2px solid var(--oc-focus);\n outline-offset: 1px;\n border-radius: var(--oc-radius-sm);\n }\n}\n"],"names":[]}
|
|
1
|
+
{"version":3,"mappings":"AAWA,iBCDE,oyICAA,ioCFCF,eINE,mIAeA,6BAQA,uGAWA,yDAOA,iGAMA,qCAWA,2JAkBA,qHAcA,4EAQA,yGJ5FF,qBUNE,6CAIA,2KAQA,wIAOA,+GAMA,+HAQA,wFAOA,sCAQA,8CAIA,wHAQA,4HAQA,2EAMA,6EAQA,8EAWA,8EAgBA,sDAIA,sEAMA,4EAIA,wEAaA,sFAUA,sFASA,gCAMA,mFL9JA,4fAsBE,4FAOA,iFAOA,gMAWA,gGAMA,0EAKA,mHAQA,yJAUA,oKAUA,uMAYA,qGAKA,wEAMA,gHAMA,kGAKA,qEAWF,qFAOA,4FI1IA,6CAIA,gCGXA,qIASA,iKAQA,4DAAA,4PAAA,qPAMA,kFAOA,iEAKA,uIAQA,+CAGA,6BAAA,qPAAA,8OAIA,wDAIA,0DAKA,0SAAA,yQAAA,0QAAA,wQAAA,mQAAA,oQAAA,kQAkBA,wHAKA,2FAAA,uGAAA,0FAOA,gLAWA,6DAKA,0KAQA,6GAAA,uQAAA,kQAMA,6DAIA,iDAAA,gPAAA,2OAKA,wJNrHA,uFAOA,sNAaA,0HAWA,wMAOA,gCAIA,oCAMA,sFASA,wCAcA,iGAWA,gIAIA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,yIAAA,2IAAA,2IA2BA,8BAYA,wGAIA,4GAIA,sEAQA,sDAIA,uDAGA,wFEtJA,kJAaA,iHASA,wDAIA,sSAeA,6RAoBA,uFAKA,iGAKA,gDAMA,qEAMA,oIAWA,0DAKA,2SAiBA,yLAWA,0GAMA,wCAIA,mFKtIA,kDAKA,+CAKA,qGASA,wHAUA,yGAWA,qFAKA,0MAYA,oSAeA,6DAKA,iGAWA,2aAsBA,0CAIA,qFAKA,yFAAA,wFAMA,yDVrIA,yEAIE,qFAMA,yDAIA,4DAKA,uIAAA,uIAcA,kLAUA,wDAQA,mDAIA,sEAKA,iFAKA,2CAKF,sNAOA,kPAOA,2IAKA,gJAKA,iCASE,0FAAA,0FAaF,oLAYE,mLAAA,kLAaA,yFAKA,qFAKA,4CAAA,2CAOA,+FAKA,6DAMA,4FAKA,+DAaF,wPAaA,wFAAA,8EAAA,yFAAA,+EAMA,+IAOA,+BAGE,wCASF,oJAQE,oPAaE,oEAKA,2GAKA,+FAOJ,4DAIA,+CASA,gCAIA,iIAYA,uCAIA,gDASA,+DAKE,kEAOF,iFAOA,kIAYA,2DAIE,qCAKF,8CAQA,+BAWE,yEAAA,yEAOA,uCAIA,2DAOA,yDAAA,yDAMA,2DAUF,wGAQA,sLAWA,mDAKA,sFAKA,sFAKA,kHAMA,qLAYA,oEAWA,wDAKE,iGAiBA,oDAIA,0CAIA,sHASA,kLAAA,kLAaA,iIAUA,0LAYA,uDAKA,uGAOA,2DAIA,oDAIA,gDAUA,6CAIA,kEASF,2EASA,oHAWE,uDAIA,0CAGA,+EAAA,+EAMA,+FAMA,qLAUA,yDAGA,0GAOA,kDAGA,wDAIA,qEAIA,sCQxoBF,qIASA,kEAOA,2CAQA,gFAOA,yBAIA,0EAMA,4GASE,8bAkBA,2RAaF,wRAgBA,qLAiBA,6EAIE,kEAIA,+FAOF,4CAIA,iCAIA,0HAOA,+EAQA,sEAMA,sDAKE,2QAUE,2GSrKJ,2GAIA,8IAOA,oGCfA,6DAMA,+UAeA,iSAiBE,gFAIA,sEAIA,qFAKA,qDAOF,yeAoBE,0CAMF,2BAIA,2EAKA,oCAKA,iCCjGA,mEAYA,4EAIA,uCACE,4DLlBF,6CAIA,oJAUA,0OAAA,+OAAA,mPAAA,0OAAA,8OAmBA,0EAKA,iFAAA,kFAAA,qFAAA,sFAQA,0oBAyBA,+PAAA,mQAKA,2HAOA,oHAAA,wHAOA,kHAAA,sHAQA,8MAAA,kNAYA,sJAAA,0JAUA,8BACE,uEAMF,+MAAA,kPAAA,sPAAA,2OAAA,+OCvIA,mDAKA,uLAQA,6CAIA,8DAKA,iDAIA,qEAKA,0DAKA,mCAKA,6EAKA,8CC9CA,+BAIA,kRAcA,kEAKA,2OAUA,0HAOA,sEAIA,kKAOA,iGAKA,0IAAA,oPAAA,+OASA,sGAKA,qGAOA,sEAKA,kEAIA,oEAIA,8DAMA,2EAKA,uFAOA,6DAMA,gJnBxGF,oBOFI,yRAQA,uRAUA,kUAWA,+UAYA,ubAAA,wbAkBA,oaAiBA,kbAgBA,mcAAA,scAiBA,0TAAA,8TO5GF,iGAWA,mGAaA,qGAWA,uGAWA,iHAeA,4FAoBA,8IAaA,iGAcA,0FAaA,4FAcA,2FAaA,yDAUA,sGAYA,mFAUA,mFAWA,uFAWA,yFAaA,iKAgBA,sGCrOE,oTAAA,mTAYA,iJAAA,gJAUA,ySAaA,4TASA,yEAIA,uIAMA,kTAAA,kTAcA,iRAaA,6RAAA,8RAeA,mWAYA,6DAKA,+VAaA,6TAWA,6TAcA,6VAeA,kVAiBA,8ZAAA,gYAgBA,kUAcA,kQAUA,wRAUA,mRAMA,+EAKA,0QAUA,qWAgBA,kUAYA,wYAeA,sXAYA,0TftTJ,yBgBDE,uCACE,6LAAA,+LAAA,qMAAA","sources":["../src/styles/index.css","../src/styles/tokens.css","../src/styles/dark.css","../src/styles/table.css","../src/styles/interaction.css","../src/styles/tooltip.css","../src/styles/base.css","../src/styles/table-animation.css","../src/styles/legend.css","../src/styles/reader.css","../src/styles/you-draw-it.css","../src/styles/keyframes.css","../src/styles/animation.css","../src/styles/reduced-motion.css","../src/styles/playback.css","../src/styles/race.css","../src/styles/series-search.css","../src/styles/race-table.css","../src/styles/graph.css","../src/styles/sankey.css","../src/styles/chrome.css","../src/styles/map-zoom.css","../src/styles/sparkline.css"],"sourcesContent":["/**\n * @opendata-ai/openchart-core styles\n *\n * CSS with oc- prefix for all class names.\n * CSS custom properties for theme overrides.\n * Dark mode via .oc-dark class on the container.\n * Cascade layers: oc.tokens, oc.base, oc.components, oc.animation, oc.reduced-motion.\n */\n\n/* For optimal typography, load Inter: https://fonts.google.com/specimen/Inter */\n\n@layer oc.tokens, oc.base, oc.components, oc.animation, oc.reduced-motion;\n\n@import \"./tokens.css\";\n@import \"./dark.css\";\n@import \"./base.css\";\n@import \"./chrome.css\";\n@import \"./tooltip.css\";\n@import \"./legend.css\";\n@import \"./reader.css\";\n@import \"./interaction.css\";\n@import \"./series-search.css\";\n@import \"./you-draw-it.css\";\n@import \"./table.css\";\n@import \"./table-animation.css\";\n@import \"./graph.css\";\n@import \"./sankey.css\";\n@import \"./map-zoom.css\";\n@import \"./sparkline.css\";\n@import \"./keyframes.css\";\n@import \"./animation.css\";\n@import \"./reduced-motion.css\";\n@import \"./playback.css\";\n@import \"./race.css\";\n@import \"./race-table.css\";\n","/* GENERATED FILE — do not edit. Source: packages/core/src/styles/token-definitions.ts. Regenerate: bun run generate:tokens */\n\n@layer oc.tokens {\n /* ---------------------------------------------------------------------------\n * Custom properties (light mode defaults)\n *\n * Defaults remain in CSS so host styles can override them. The JS theme\n * engine stamps only authored theme overrides (theme-tokens.ts).\n * --------------------------------------------------------------------------- */\n\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n\n /* Opt out of iOS text auto-inflation so measured widths match rendered text. */\n -webkit-text-size-adjust: 100%;\n text-size-adjust: 100%;\n\n --oc-font-family:\n \"Inter Variable\", Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n --oc-font-mono: \"JetBrains Mono\", \"Fira Code\", \"Cascadia Code\", monospace;\n\n /* Animation easing presets via CSS linear() */\n --oc-ease-smooth: linear(\n 0 0%,\n 0.006 2.5%,\n 0.0285 5%,\n 0.0764 7.5%,\n 0.1562 10%,\n 0.2556 12.5%,\n 0.3506 15%,\n 0.4318 17.5%,\n 0.5 20%,\n 0.5577 22.5%,\n 0.6072 25%,\n 0.6503 27.5%,\n 0.6881 30%,\n 0.7216 32.5%,\n 0.7514 35%,\n 0.7782 37.5%,\n 0.8023 40%,\n 0.824 42.5%,\n 0.8438 45%,\n 0.8616 47.5%,\n 0.8778 50%,\n 0.9059 55%,\n 0.9291 60%,\n 0.948 65%,\n 0.9633 70%,\n 0.9755 75%,\n 0.9849 80%,\n 0.9918 85%,\n 0.9965 90%,\n 0.9991 95%,\n 1 100%\n );\n --oc-ease-snappy: linear(\n 0 0%,\n 0.2926 2%,\n 0.4806 4%,\n 0.6111 6%,\n 0.7061 8%,\n 0.7772 10%,\n 0.8315 12%,\n 0.8735 14%,\n 0.9061 16%,\n 0.9314 18%,\n 0.951 20%,\n 0.966 22%,\n 0.9773 24%,\n 0.9855 26%,\n 0.9913 28%,\n 0.995 30%,\n 0.9971 35%,\n 0.9985 40%,\n 0.9994 45%,\n 0.9998 50%,\n 1 55%,\n 1 60%,\n 1 80%,\n 1 100%\n );\n --oc-ease-gentle: linear(\n 0,\n 0.157,\n 0.438,\n 0.64,\n 0.766,\n 0.85,\n 0.906,\n 0.941,\n 0.964,\n 0.978,\n 0.988,\n 0.994,\n 0.998,\n 1\n );\n --oc-ease-snap: linear(\n 0 0%,\n 0.1876 2%,\n 0.3469 4%,\n 0.4773 6%,\n 0.582 8%,\n 0.6656 10%,\n 0.7325 12%,\n 0.7862 14%,\n 0.8296 16%,\n 0.8647 18%,\n 0.8931 20%,\n 0.9161 22%,\n 0.9346 24%,\n 0.9494 26%,\n 0.961 28%,\n 0.97 30%,\n 0.9768 35%,\n 0.9825 40%,\n 0.987 45%,\n 0.9906 50%,\n 0.9934 55%,\n 0.9956 60%,\n 0.9971 65%,\n 0.9983 70%,\n 0.999 75%,\n 0.9995 80%,\n 0.9998 85%,\n 0.9999 90%,\n 1 95%,\n 1 100%\n );\n --oc-ease-punch: linear(\n 0 0%,\n 0.1714 2.5%,\n 0.3321 5%,\n 0.4776 7.5%,\n 0.605 10%,\n 0.7132 12.5%,\n 0.8029 15%,\n 0.8757 17.5%,\n 0.9336 20%,\n 0.9787 22.5%,\n 1.0127 25%,\n 1.0373 27.5%,\n 1.0539 30%,\n 1.0636 32.5%,\n 1.0673 35%,\n 1.0659 37.5%,\n 1.06 40%,\n 1.0509 42.5%,\n 1.0428 45%,\n 1.0358 47.5%,\n 1.0296 50%,\n 1.0196 55%,\n 1.0122 60%,\n 1.0069 65%,\n 1.0033 70%,\n 1.0011 75%,\n 0.9999 80%,\n 0.9995 85%,\n 0.9996 90%,\n 0.9998 95%,\n 1 100%\n );\n --oc-ease-glide: linear(\n 0 0%,\n 0.006 2.5%,\n 0.0285 5%,\n 0.0764 7.5%,\n 0.1562 10%,\n 0.2556 12.5%,\n 0.3506 15%,\n 0.4318 17.5%,\n 0.5 20%,\n 0.5577 22.5%,\n 0.6072 25%,\n 0.6503 27.5%,\n 0.6881 30%,\n 0.7216 32.5%,\n 0.7514 35%,\n 0.7782 37.5%,\n 0.8023 40%,\n 0.824 42.5%,\n 0.8438 45%,\n 0.8616 47.5%,\n 0.8778 50%,\n 0.9059 55%,\n 0.9291 60%,\n 0.948 65%,\n 0.9633 70%,\n 0.9755 75%,\n 0.9849 80%,\n 0.9918 85%,\n 0.9965 90%,\n 0.9991 95%,\n 1 100%\n );\n\n /* Animation timing defaults */\n --oc-animation-duration: 800ms;\n --oc-animation-stagger: 80ms;\n --oc-annotation-delay: 150ms;\n\n /* Typography scale (editorial design system) */\n --oc-title-size: 26px;\n --oc-title-weight: 600; /* one ladder: 400 regular / 500 medium / 600 semibold / 700 bold */\n --oc-title-tracking: -0.022em;\n --oc-subtitle-size: 14px;\n --oc-subtitle-weight: 400;\n --oc-source-size: 12px;\n --oc-source-weight: 400;\n --oc-body-size: 13px;\n /* Emphasis for existing zero rules; does not change the domain */\n --oc-gridline-zero: rgba(0, 0, 0, 0.22);\n --oc-endpoint-label-size: 13px;\n --oc-endpoint-value-size: 12px;\n --oc-endpoint-entry-gap: 6px;\n --oc-endpoint-value-gap: 4px;\n --oc-endpoint-column-gap: 18px;\n --oc-map-no-data-fill: #f0f0f0; /* Engine omission derives neutral[100] from the active theme */\n --oc-map-no-data-hatch: #c9c9c9; /* Engine omission derives neutral[300] from the active theme */\n --oc-map-interior-border: rgba(0, 0, 0, 0.14);\n --oc-map-outline-border: rgba(0, 0, 0, 0.4);\n --oc-annotation-label: #333333;\n --oc-annotation-muted: #6b7280;\n --oc-annotation-leader: #8f8f8f;\n --oc-annotation-rule: #888888;\n --oc-annotation-range-fill: #f0c040;\n --oc-annotation-marker-fill: #ffffff;\n --oc-annotation-plate: #ffffff;\n --oc-eyebrow-size: 11px;\n --oc-eyebrow-weight: 500;\n --oc-eyebrow-tracking: 0.08em;\n\n /* Surfaces (light mode defaults) */\n --oc-bg: #ffffff;\n --oc-card: #ffffff;\n --oc-secondary: #f4f4f5; /* zinc-100, raised surface */\n\n /*\n * Text levels. Names invert across modes: in light mode \"muted\" sits at\n * a lighter zinc step than \"subtle\" because both are picked relative to\n * the active background, not from a fixed lightness ladder. The intent\n * is \"muted = first step away from primary text\"; \"subtle = next step\n * down\"; etc.\n *\n * Light mode: text=zinc-950, secondary=zinc-700, muted=zinc-500,\n * subtle=zinc-400, faint=zinc-300\n * Dark mode (dark.css): inverts the surface tokens but keeps the same\n * muted -> subtle -> faint progression away from primary.\n */\n --oc-text: #09090b;\n --oc-text-secondary: #3f3f46;\n --oc-text-muted: #71717a;\n --oc-text-faint: #d4d4d8;\n\n /*\n * Derived neutral ramp. Named by the share of *text* in a text-toward-\n * background mix: 100 is nearly the background, 800 is nearly the text.\n * These static values are the mix against the default surfaces; mounts\n * restamp them from ResolvedTheme.colors.neutral, which a custom warm or\n * cool theme derives from its own text/background pair.\n */\n --oc-gray-100: #f0f0f0;\n --oc-gray-200: #e1e1e2;\n --oc-gray-300: #c9c9c9;\n --oc-gray-400: #9d9d9d;\n --oc-gray-600: #787879;\n --oc-gray-800: #474748;\n\n /* Lines */\n --oc-gridline: rgba(0, 0, 0, 0.05);\n --oc-axis: rgba(0, 0, 0, 0.14); /* hairline = theme.colors.hairline, not the tick-label ink */\n --oc-border: rgba(0, 0, 0, 0.08);\n --oc-border-radius: 8px; /* containers and tooltips; marks use --oc-radius-sm */\n\n /* Radius ladder */\n --oc-radius-sm: 2px;\n --oc-radius-md: 6px;\n --oc-radius-lg: var(--oc-border-radius);\n --oc-radius-full: 999px;\n\n /* Brand and semantic */\n --oc-accent: #06b6d4;\n --oc-accent-strong: #0891b2; /* darker cyan for line strokes on light bg */\n /* kept equal to DEFAULT_THEME.colors.positive (token-theme-parity test) */\n --oc-positive: #15803d;\n --oc-negative: #dc2626;\n /* delta chip background */\n --oc-positive-tint: color-mix(in srgb, var(--oc-positive) 10%, var(--oc-bg));\n --oc-negative-tint: color-mix(in srgb, var(--oc-negative) 10%, var(--oc-bg));\n --oc-focus: #3b82f6;\n /* static, intentionally NOT derived from --oc-focus and NOT flipped in dark mode */\n --oc-focus-ring: rgba(59, 130, 246, 0.1);\n --oc-focus-ring-strong: rgba(59, 130, 246, 0.25);\n --oc-editable-hover: rgba(79, 70, 229, 0.35); /* edit-mode hover outline, indigo one-off */\n\n /* Spacing scale (4px base) — only --oc-space-2/4 are consumed (JS-stamped) */\n --oc-space-2: 8px;\n --oc-space-4: 16px;\n\n /*\n * Hover language. The hovered element goes to full ink; the rest of its\n * group drops to --oc-hover-dim over --oc-hover-duration. Maps override the\n * dim locally (3000 county paths at 0.3 reads as a blackout, not a hint).\n */\n --oc-hover-dim: 0.3;\n --oc-hover-duration: 140ms;\n --oc-map-hover-dim: 0.75;\n\n /* Interactive states */\n --oc-hover-bg: rgba(0, 0, 0, 0.025);\n --oc-tooltip-bg: rgba(255, 255, 255, 0.88);\n --oc-tooltip-border: rgba(0, 0, 0, 0.08);\n --oc-tooltip-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.12);\n --oc-tooltip-text: #09090b;\n --oc-legend-text: #3f3f46;\n }\n}\n","/* GENERATED FILE — do not edit. Source: packages/core/src/styles/token-definitions.ts. Regenerate: bun run generate:tokens */\n\n@layer oc.tokens {\n /* ---------------------------------------------------------------------------\n * Dark mode overrides (fallback defaults)\n *\n * Dark defaults stay in CSS; authored theme overrides are resolved and\n * stamped by the JS theme engine.\n * --------------------------------------------------------------------------- */\n\n .oc-dark {\n /* Surfaces (zinc-based achromatic ramp) */\n --oc-bg: #09090b;\n --oc-card: #111113;\n --oc-secondary: #27272a;\n\n /* Text levels — see tokens.css for the cross-mode naming rationale */\n --oc-text: #f7f8f8;\n --oc-text-secondary: #d0d6e0;\n --oc-text-muted: #a1a1aa;\n --oc-text-faint: #52525b;\n\n /* Lines */\n --oc-gridline: rgba(255, 255, 255, 0.06);\n --oc-axis: rgba(255, 255, 255, 0.14);\n --oc-border: rgba(255, 255, 255, 0.1);\n\n /* Brand and semantic — accent stays cyan (no darkening on dark bg) */\n --oc-accent: #06b6d4;\n --oc-accent-strong: #06b6d4;\n --oc-positive: #4ade80;\n --oc-negative: #f87171;\n --oc-focus: #60a5fa;\n\n /* Interactive states */\n --oc-hover-bg: rgba(255, 255, 255, 0.05);\n --oc-tooltip-bg: rgba(17, 17, 19, 0.92);\n --oc-tooltip-border: rgba(255, 255, 255, 0.08);\n --oc-tooltip-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.4);\n --oc-tooltip-text: #f7f8f8;\n --oc-legend-text: #d0d6e0;\n\n /* Annotation and neutral colors */\n --oc-gridline-zero: rgba(255, 255, 255, 0.24);\n --oc-map-no-data-fill: #171719;\n --oc-map-no-data-hatch: #3d3e3f;\n --oc-map-interior-border: rgba(255, 255, 255, 0.18);\n --oc-map-outline-border: rgba(255, 255, 255, 0.38);\n --oc-annotation-label: #d1d5db;\n --oc-annotation-muted: #9ca3af;\n --oc-annotation-leader: #9aa0a6;\n --oc-annotation-rule: #9ca3af;\n --oc-annotation-range-fill: #f0c040;\n --oc-annotation-marker-fill: #09090b;\n --oc-annotation-plate: #09090b;\n --oc-gray-100: #171719;\n --oc-gray-200: #262627;\n --oc-gray-300: #3d3e3f;\n --oc-gray-400: #68696a;\n --oc-gray-600: #8c8c8d;\n --oc-gray-800: #bcbcbd;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Table base\n * --------------------------------------------------------------------------- */\n\n .oc-table-wrapper {\n font-family: var(--oc-font-family);\n color: var(--oc-text);\n\n & > .oc-chrome {\n margin-bottom: 16px;\n padding-left: 16px;\n padding-right: 16px;\n }\n\n & > .oc-chrome:first-child {\n padding-top: 4px;\n }\n\n & table {\n width: 100%;\n border-collapse: collapse;\n }\n\n & th,\n & td {\n /* 12 + 24 + 12 = 48px rows. Condensed and relaxed keep the same\n line box and change only the padding, so the ladder is 40/48/56. */\n padding: 12px 16px;\n line-height: 24px;\n text-align: left;\n border-bottom: 1px solid var(--oc-border);\n /* Column widths from the engine already sum to the container width;\n without border-box the padding pushes each cell wider than its\n computed width and auto layout rescales the whole row. */\n box-sizing: border-box;\n }\n\n & th {\n font-weight: 500;\n font-size: 12px;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: var(--oc-text-muted);\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n }\n\n & thead {\n position: sticky;\n top: 0;\n z-index: 2;\n }\n\n /* A hairline, like every other rule in the table. The old 2px header rule\n was the heaviest line on the page and drew the eye away from the data. */\n & thead th {\n border-bottom-width: 1px;\n }\n\n & td {\n font-size: 14px;\n font-variant-numeric: tabular-nums;\n }\n\n & th:focus {\n outline: 2px solid var(--oc-focus);\n outline-offset: -2px;\n }\n\n & tbody:focus {\n outline: none;\n }\n }\n\n .oc-table-title {\n margin-bottom: 4px;\n font-size: var(--oc-title-computed-size, var(--oc-title-size));\n font-weight: var(--oc-title-computed-weight, var(--oc-title-weight));\n color: var(--oc-title-computed-color, var(--oc-text));\n }\n\n .oc-table-subtitle {\n margin-bottom: 8px;\n font-size: var(--oc-subtitle-computed-size, var(--oc-subtitle-size));\n font-weight: var(--oc-subtitle-computed-weight, var(--oc-subtitle-weight));\n color: var(--oc-subtitle-computed-color, var(--oc-text-secondary));\n }\n\n .oc-table-source {\n font-size: var(--oc-source-computed-size, var(--oc-source-size));\n color: var(--oc-source-computed-color, var(--oc-text-muted));\n }\n\n .oc-table-footer-text {\n font-size: var(--oc-footer-computed-size, var(--oc-source-size));\n color: var(--oc-footer-computed-color, var(--oc-text-muted));\n }\n\n .oc-table-scroll {\n overflow-x: auto;\n }\n\n /* ---------------------------------------------------------------------------\n * Sticky first column\n * --------------------------------------------------------------------------- */\n\n .oc-table--sticky {\n & th:first-child,\n & td:first-child {\n position: sticky;\n left: 0;\n z-index: 1;\n background: var(--oc-bg);\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Sort controls\n * --------------------------------------------------------------------------- */\n\n .oc-table-sort-btn {\n background: none;\n border: none;\n cursor: pointer;\n padding: 2px;\n margin-left: 6px;\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n vertical-align: middle;\n gap: 2px;\n\n &::before,\n &::after {\n content: \"\";\n display: block;\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n transition:\n opacity 0.15s,\n border-color 0.15s;\n }\n\n &::before {\n border-bottom: 4.5px solid var(--oc-text-secondary);\n opacity: 0.35;\n }\n\n &::after {\n border-top: 4.5px solid var(--oc-text-secondary);\n opacity: 0.35;\n }\n\n &:hover::before,\n &:hover::after {\n opacity: 0.75;\n }\n }\n\n th[aria-sort=\"ascending\"] .oc-table-sort-btn {\n &::before {\n opacity: 1;\n border-bottom-color: var(--oc-text);\n }\n\n &::after {\n opacity: 0.15;\n }\n }\n\n th[aria-sort=\"descending\"] .oc-table-sort-btn {\n &::after {\n opacity: 1;\n border-top-color: var(--oc-text);\n }\n\n &::before {\n opacity: 0.15;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Search\n * --------------------------------------------------------------------------- */\n\n /* Shared search-input skin (table + series-search).\n Padding excluded: it diverges (table: 8px 12px; series: 0 10px 0 28px)\n and series-search.css is imported before table.css — a padding declaration\n here would beat the series-search override by source order. */\n .oc-table-search input,\n .oc-series-search-input {\n width: 100%;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-md);\n font-size: 13px;\n font-family: inherit;\n background: transparent;\n color: var(--oc-text);\n box-sizing: border-box;\n transition: border-color 0.15s;\n }\n\n .oc-table-search input::placeholder,\n .oc-series-search-input::placeholder {\n color: var(--oc-text-muted);\n font-size: 13px;\n }\n\n .oc-table-search input:focus,\n .oc-series-search-input:focus {\n outline: none;\n border-color: var(--oc-focus);\n box-shadow: 0 0 0 3px var(--oc-focus-ring);\n }\n\n .oc-table-search {\n padding: 8px 0;\n\n & input {\n padding: 8px 12px;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Pagination\n * --------------------------------------------------------------------------- */\n\n .oc-table-pagination {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px 0 4px;\n font-size: 13px;\n color: var(--oc-text-secondary);\n\n & button {\n padding: 6px 14px;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-md);\n background: transparent;\n color: var(--oc-text);\n cursor: pointer;\n font-size: 13px;\n font-family: inherit;\n transition:\n background 0.15s,\n border-color 0.15s;\n\n &:disabled {\n opacity: 0.35;\n cursor: not-allowed;\n }\n\n &:hover:not(:disabled) {\n background: var(--oc-hover-bg);\n border-color: var(--oc-axis);\n }\n\n &:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 1px;\n }\n }\n }\n\n .oc-table-pagination-info {\n font-variant-numeric: tabular-nums;\n }\n\n .oc-table-pagination-btns {\n display: flex;\n gap: 8px;\n }\n\n /* ---------------------------------------------------------------------------\n * Bar cells\n * --------------------------------------------------------------------------- */\n\n .oc-table-bar {\n position: relative;\n }\n\n .oc-table-bar-fill {\n position: absolute;\n top: 8px;\n left: 0;\n bottom: 8px;\n border-radius: var(--oc-radius-sm);\n opacity: 0.18;\n pointer-events: none;\n }\n\n /* A low-alpha tint of a mid-dark color all but disappears on a dark\n surface, so dark mode lifts it. */\n .oc-dark .oc-table-bar-fill {\n opacity: 0.4;\n }\n\n .oc-table-bar-value {\n position: relative;\n z-index: 1;\n }\n\n /* ---------------------------------------------------------------------------\n * Sparkline cells\n * --------------------------------------------------------------------------- */\n\n .oc-table-sparkline {\n display: block;\n width: 100%;\n position: relative;\n\n & svg {\n display: block;\n width: 100%;\n overflow: visible;\n }\n }\n\n .oc-table-sparkline-dot {\n position: absolute;\n border-radius: 50%;\n width: 5px;\n height: 5px;\n }\n\n .oc-table-sparkline-labels {\n display: flex;\n justify-content: space-between;\n font-size: 11px;\n line-height: 1;\n color: var(--oc-text-secondary);\n }\n\n /* ---------------------------------------------------------------------------\n * Image cells\n * --------------------------------------------------------------------------- */\n\n .oc-table-image {\n display: inline-block;\n vertical-align: middle;\n\n & img {\n object-fit: cover;\n }\n }\n\n .oc-table-image-rounded img {\n border-radius: 50%;\n }\n\n /* ---------------------------------------------------------------------------\n * Flag cells\n * --------------------------------------------------------------------------- */\n\n .oc-table-flag {\n font-size: 1.2em;\n }\n\n /* ---------------------------------------------------------------------------\n * Density\n *\n * regular 48px rows (base), condensed 40px, relaxed 56px.\n * --------------------------------------------------------------------------- */\n\n .oc-table--condensed {\n & th,\n & td {\n padding: 8px 12px;\n line-height: 24px;\n font-size: 13px;\n }\n\n & th {\n font-size: 11px;\n }\n\n & .oc-table-bar-fill {\n top: 5px;\n bottom: 5px;\n }\n }\n\n .oc-table--relaxed {\n & th,\n & td {\n padding: 16px 20px;\n line-height: 24px;\n }\n\n & .oc-table-bar-fill {\n top: 12px;\n bottom: 12px;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Striping\n * --------------------------------------------------------------------------- */\n\n .oc-table--striped tbody tr:nth-child(even) {\n background: color-mix(in srgb, var(--oc-text) 3%, transparent);\n }\n\n /* ---------------------------------------------------------------------------\n * Delta chips\n * --------------------------------------------------------------------------- */\n\n .oc-table-delta {\n display: inline-flex;\n align-items: baseline;\n gap: 4px;\n padding: 2px 8px;\n border-radius: var(--oc-radius-md);\n font-weight: 500;\n font-variant-numeric: tabular-nums;\n line-height: 16px;\n }\n\n .oc-table-delta-arrow {\n font-size: 0.8em;\n line-height: 1;\n }\n\n .oc-table-delta--positive {\n color: var(--oc-positive);\n background: var(--oc-positive-tint);\n }\n\n .oc-table-delta--negative {\n color: var(--oc-negative);\n background: var(--oc-negative-tint);\n }\n\n .oc-table-delta--neutral {\n color: var(--oc-text-muted);\n background: color-mix(in srgb, var(--oc-text) 6%, transparent);\n }\n\n /* Category chips: the engine supplies the tint, ink and dot color inline. */\n .oc-table-chip {\n display: inline-flex;\n align-items: center;\n gap: 6px;\n padding: 2px 8px;\n border-radius: var(--oc-radius-full);\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n white-space: nowrap;\n }\n\n .oc-table-chip-dot {\n flex: none;\n width: 6px;\n height: 6px;\n border-radius: 50%;\n }\n\n /* ---------------------------------------------------------------------------\n * Totals footer\n * --------------------------------------------------------------------------- */\n\n tfoot.oc-table-total {\n position: sticky;\n bottom: 0;\n z-index: 2;\n\n & td {\n font-weight: 600;\n border-bottom: none;\n border-top: 1px solid var(--oc-border);\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Cards mode (below 400px)\n *\n * Rows become two-column grids with the header printed per cell. `display:\n * grid` drops the implicit table roles, so the renderer stamps explicit ARIA\n * roles on every element; `display: contents` is deliberately NOT used —\n * it removes the row box the grid needs and breaks the semantics further.\n * --------------------------------------------------------------------------- */\n\n .oc-table--cards {\n & .oc-table-scroll {\n overflow-x: hidden;\n }\n\n & table {\n table-layout: fixed;\n }\n\n & thead {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n }\n\n & tbody tr,\n & tfoot tr {\n display: grid;\n /* Two equal halves keep every label/value pair the same width; an\n auto first column makes the third cell in a row narrower than the\n second and the card reads ragged. */\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 2px 12px;\n align-items: baseline;\n padding: 10px 12px;\n border-bottom: 1px solid var(--oc-border);\n }\n\n & td {\n display: block;\n width: auto;\n max-width: 100%;\n padding: 0;\n border-bottom: none;\n overflow-wrap: anywhere;\n text-align: right;\n }\n\n & td::before {\n content: attr(data-label);\n display: block;\n font-size: 11px;\n font-weight: 500;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--oc-text-muted);\n text-align: left;\n }\n\n /* A column with no header (flags, logos) prints no label either. */\n & td[data-label=\"\"]::before {\n content: none;\n }\n\n /* Priority 1 leads the card on its own line, label suppressed. */\n & td[data-priority=\"1\"] {\n grid-column: 1 / -1;\n font-size: 15px;\n font-weight: 600;\n text-align: left;\n }\n\n & td[data-priority=\"1\"]::before {\n content: none;\n }\n\n & td[data-priority=\"3\"] {\n display: none;\n }\n\n & .oc-table-sparkline {\n width: 100%;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Row hover (when onRowClick is set)\n * --------------------------------------------------------------------------- */\n\n .oc-table--clickable tbody {\n & tr {\n cursor: pointer;\n }\n\n & tr:hover {\n background: var(--oc-hover-bg);\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Keyboard cell focus indicator\n * --------------------------------------------------------------------------- */\n\n .oc-table-cell-focus {\n outline: 2px solid var(--oc-focus);\n outline-offset: -2px;\n }\n\n /* ---------------------------------------------------------------------------\n * Empty state\n * --------------------------------------------------------------------------- */\n\n .oc-table-empty {\n padding: 32px 16px;\n text-align: center;\n color: var(--oc-text-secondary);\n font-size: 14px;\n font-style: italic;\n }\n}\n\n@layer oc.components {\n .oc-table--priority {\n & table {\n width: 100%;\n table-layout: auto;\n }\n & [hidden] {\n display: none;\n }\n & th,\n & td {\n /* biome-ignore lint/complexity/noImportantStyles: responsive mode overrides authored desktop inline column widths. */\n width: auto !important;\n padding-inline: 8px;\n }\n & th {\n position: relative;\n white-space: normal;\n padding-right: 20px;\n min-height: 44px;\n }\n & .oc-table-sort-btn {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n padding-right: 4px;\n align-items: flex-end;\n justify-content: center;\n }\n & .oc-table-details {\n white-space: normal;\n }\n & summary {\n cursor: pointer;\n min-height: 44px;\n display: flex;\n align-items: center;\n font-size: 12px;\n }\n & details[open] {\n min-width: 110px;\n }\n & dl {\n margin: 4px 0 12px;\n font-size: 12px;\n }\n & dt {\n margin-top: 8px;\n color: var(--oc-text-secondary);\n }\n & dd {\n margin: 4px 0 0;\n }\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Hover language\n *\n * One vocabulary for mark hover, legend hover and the crosshair. Emphasis is\n * always a CLASS, never an inline style: a class beats the renderer's\n * `opacity` attributes (suppressed points under endpoint markers keep their\n * opacity=\"0\") and loses to the transition driver's per-frame inline\n * `style.opacity`, which is exactly the precedence a hover during a data\n * update needs.\n * --------------------------------------------------------------------------- */\n\n .oc-marks.oc-hover-active .oc-mark--dim:not([opacity=\"0\"]) {\n opacity: var(--oc-hover-dim);\n }\n\n /* Single-series register: outline the hovered mark instead of dimming eleven\n * others. Scoped per mark type -- an inherited stroke on a line or area group\n * would repaint the series in the text color. */\n .oc-marks.oc-hover-active .oc-mark-rect.oc-mark--hover > *,\n .oc-marks.oc-hover-active .oc-mark-arc.oc-mark--hover > *,\n .oc-marks.oc-hover-active circle.oc-mark-point.oc-mark--hover {\n stroke: var(--oc-text);\n stroke-width: 1;\n }\n\n /* The fade is switched off while the rAF transition driver owns opacity: an\n * unscoped 140ms transition would smear every frame of an update tween.\n * `.oc-animate` is excluded for the same reason during the entrance.\n *\n * It is NOT scoped to `.oc-hover-active`: dropping the class on mouseleave\n * would drop the transition with it, so the dim faded in and snapped back. */\n .oc-chart:not(.oc-animate):not(.oc-transitioning) .oc-marks .oc-mark {\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n /* ---------------------------------------------------------------------------\n * Legend hover-link\n *\n * The swatch dims; the label text stays at full contrast so the list is still\n * readable while one series is raised.\n * --------------------------------------------------------------------------- */\n\n .oc-legend-entry--dim .oc-legend-swatch-line,\n .oc-legend-entry--dim .oc-legend-swatch-rect,\n .oc-legend-entry--dim > circle {\n opacity: var(--oc-hover-dim);\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n .oc-legend-hit {\n fill: transparent;\n }\n\n .oc-legend-entry:focus {\n outline: none;\n }\n\n /* Focus ring on the 24px hit rect, drawn as a stroke: `outline` on an SVG\n * group is inconsistent across browsers, a stroke is not. */\n .oc-legend-entry:focus-visible .oc-legend-hit {\n stroke: var(--oc-focus);\n stroke-width: 2;\n }\n\n /* ---------------------------------------------------------------------------\n * Endpoint-label hover-link\n * --------------------------------------------------------------------------- */\n\n .oc-endpoint-label-entry {\n cursor: default;\n }\n\n /* ---------------------------------------------------------------------------\n * Map hover\n *\n * Feature hover is outline + raise, never dim-the-rest: toggling opacity on\n * three thousand county paths every time the pointer crosses a border is a\n * repaint storm, and the wave of fades reads as a flicker. Datawrapper and the\n * FT outline too. `non-scaling-stroke` keeps the outline 1.5px through the\n * camera's zoom transform, which otherwise scales stroke width with geometry.\n * --------------------------------------------------------------------------- */\n\n .oc-map-feature--hover {\n stroke: var(--oc-text);\n stroke-width: 1.5;\n vector-effect: non-scaling-stroke;\n }\n\n /* Legend-bin hover IS where dim-the-rest belongs: pointing at one class is a\n * deliberate \"show me these\" gesture, and the answer is the set of features in\n * that class. Static rules per class index keep it to one attribute write on\n * the group rather than a class toggle per feature. A playback crossfade's\n * underlay carries its feature's class index, so it dims with the feature. */\n .oc-map-features[data-hover] :is(.oc-map-feature, .oc-map-feature-underlay) {\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n .oc-map-features[data-hover=\"0\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"0\"]),\n .oc-map-features[data-hover=\"1\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"1\"]),\n .oc-map-features[data-hover=\"2\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"2\"]),\n .oc-map-features[data-hover=\"3\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"3\"]),\n .oc-map-features[data-hover=\"4\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"4\"]),\n .oc-map-features[data-hover=\"5\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"5\"]),\n .oc-map-features[data-hover=\"6\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"6\"]),\n .oc-map-features[data-hover=\"7\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"7\"]),\n .oc-map-features[data-hover=\"8\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"8\"]),\n .oc-map-features[data-hover=\"9\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"9\"]),\n .oc-map-features[data-hover=\"10\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"10\"]),\n .oc-map-features[data-hover=\"11\"]\n :is(.oc-map-feature, .oc-map-feature-underlay):not([data-bin-index=\"11\"]) {\n opacity: var(--oc-map-hover-dim);\n }\n\n .oc-legend-bin {\n cursor: default;\n }\n\n /* ---------------------------------------------------------------------------\n * Tile hover\n *\n * A tile grid is 51 rects, not 3000 paths, and every tile is the same size --\n * so here the full hover language applies: the hovered tile takes an outline\n * and the rest drop back.\n * --------------------------------------------------------------------------- */\n\n .oc-tilemap-tiles.oc-hover-active .oc-tilemap-tile {\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n .oc-tilemap-tiles.oc-hover-active .oc-tilemap-tile:not(.oc-tilemap-tile--hover) {\n opacity: var(--oc-hover-dim);\n }\n\n .oc-tilemap-tile--hover > rect {\n stroke: var(--oc-text);\n stroke-width: 1.5;\n }\n}\n\n@layer oc.components {\n /* Source-linked annotation inspection; exports render a fresh, inactive scene. */\n .oc-footnotes,\n [data-note-marker-index] {\n cursor: pointer;\n }\n .oc-footnotes.oc-note-active {\n text-decoration: underline;\n }\n [data-note-marker-index].oc-note-active .oc-annotation-footnote-marker {\n stroke-width: 3;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Tooltip\n * Editorial card matching the new design system: zinc surface, cyan accent,\n * Inter Variable, mono numerics. Sized for a slice tooltip that lists every\n * series at the snapped x.\n * --------------------------------------------------------------------------- */\n\n .oc-tooltip {\n position: absolute;\n display: none;\n pointer-events: none;\n z-index: 1000;\n background: var(--oc-tooltip-bg);\n backdrop-filter: blur(14px);\n border: 1px solid var(--oc-tooltip-border);\n border-radius: var(--oc-radius-lg);\n box-shadow: var(--oc-tooltip-shadow);\n color: var(--oc-tooltip-text);\n font-family: var(--oc-font-family);\n font-size: 12px;\n padding: 0;\n max-width: 280px;\n min-width: 140px;\n line-height: 1.4;\n animation: oc-tooltip-in 120ms ease-out;\n transition:\n left 100ms ease-in-out,\n top 100ms ease-in-out;\n\n & .oc-tooltip-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px 10px 6px;\n }\n\n & .oc-tooltip-dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n flex-shrink: 0;\n }\n\n & .oc-tooltip-title {\n font-weight: 600;\n font-size: 11px;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--oc-text-muted);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n & .oc-tooltip-body {\n padding: 6px 10px 8px;\n border-top: 1px solid var(--oc-tooltip-border);\n }\n\n /* No separator when body is the only child */\n & .oc-tooltip-body:first-child {\n border-top: none;\n padding-top: 10px;\n }\n\n & .oc-tooltip-row {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 16px;\n padding: 2px 0;\n }\n\n & .oc-tooltip-row-swatch {\n display: inline-block;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n margin-right: 6px;\n flex-shrink: 0;\n transform: translateY(-1px);\n }\n\n & .oc-tooltip-label {\n color: var(--oc-text-secondary);\n font-size: 12px;\n font-weight: 400;\n white-space: nowrap;\n flex-shrink: 0;\n display: inline-flex;\n align-items: center;\n }\n\n & .oc-tooltip-value {\n font-weight: 500;\n font-size: 12px;\n font-variant-numeric: tabular-nums;\n color: var(--oc-tooltip-text);\n text-align: right;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n /* The series the pointer is nearest to in a shared tooltip. */\n & .oc-tooltip-row--emphasis .oc-tooltip-label {\n color: var(--oc-tooltip-text);\n font-weight: 600;\n }\n\n & .oc-tooltip-row--emphasis .oc-tooltip-value {\n font-weight: 600;\n }\n\n /* Stack sum, set below a hairline so it reads as a summary of the rows\n * above rather than one more series. */\n & .oc-tooltip-row--total {\n margin-top: 4px;\n padding-top: 5px;\n border-top: 1px solid var(--oc-tooltip-border);\n }\n\n & .oc-tooltip-row--total .oc-tooltip-label {\n color: var(--oc-tooltip-text);\n font-weight: 500;\n }\n\n & .oc-tooltip-row--total .oc-tooltip-value {\n font-weight: 600;\n }\n }\n\n /* ---------------------------------------------------------------------------\n * Crosshair guideline + per-series snap dots (line/area charts)\n * Animate the snap between adjacent points so the indicator slides instead\n * of jumping. ~50ms ease-in-out keeps the motion crisp without lagging.\n * --------------------------------------------------------------------------- */\n\n .oc-crosshair {\n pointer-events: none;\n transition:\n x1 50ms ease-in-out,\n x2 50ms ease-in-out;\n }\n\n .oc-snap-dots circle {\n pointer-events: none;\n transition:\n cx 50ms ease-in-out,\n cy 50ms ease-in-out;\n }\n}\n","@layer oc.base {\n /* ---------------------------------------------------------------------------\n * Wrapper roots\n * --------------------------------------------------------------------------- */\n\n .oc-chart-root {\n width: 100%;\n height: 100%;\n }\n\n .oc-table-root,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-barlist-root,\n .oc-tilemap-root,\n .oc-map-root {\n width: 100%;\n height: 100%;\n }\n\n .oc-table-root {\n overflow: auto;\n }\n\n /* ---------------------------------------------------------------------------\n * Chart container\n * --------------------------------------------------------------------------- */\n\n .oc-chart {\n font-family: var(--oc-font-family);\n font-variant-numeric: tabular-nums;\n display: block;\n width: 100%;\n }\n\n /* ---------------------------------------------------------------------------\n * BarList SVG container\n * --------------------------------------------------------------------------- */\n\n .oc-tilemap,\n .oc-map {\n display: block;\n width: 100%;\n height: auto;\n }\n\n .oc-map-feature {\n transition:\n opacity var(--oc-hover-duration) ease-out,\n stroke-width 140ms ease-out;\n }\n\n .oc-barlist {\n display: block;\n width: 100%;\n }\n\n /* ---------------------------------------------------------------------------\n * Screen reader only utility\n * --------------------------------------------------------------------------- */\n\n /* `overflow: clip`, not `hidden` — see applySrOnlyStyles in\n packages/vanilla/src/dom-helpers.ts for why. Keep the two in sync. */\n .oc-sr-only {\n position: absolute;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: clip;\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n }\n\n /* ---------------------------------------------------------------------------\n * Editable hover feedback\n * --------------------------------------------------------------------------- */\n\n .oc-editable-hover {\n outline: 1.5px solid var(--oc-editable-hover);\n outline-offset: 2px;\n border-radius: var(--oc-radius-sm);\n }\n\n /* ---------------------------------------------------------------------------\n * Keyboard focus indicators\n *\n * --oc-focus carries a light value in tokens.css and a dark value in\n * dark.css, so both rings stay visible in either mode.\n * --------------------------------------------------------------------------- */\n\n /* Container ring when the chart itself receives keyboard focus. */\n .oc-root:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n /* Mark ring during arrow-key navigation (see wireKeyboardNav). Outline on\n * SVG elements draws around the mark's bounding box, same technique as\n * .oc-editable-hover above. */\n .oc-mark-focused {\n outline: 2px solid var(--oc-focus);\n outline-offset: 1px;\n border-radius: var(--oc-radius-sm);\n }\n}\n","/* GENERATED FILE — do not edit. Source: packages/core/src/motion/choreography.ts. Regenerate: bun run generate:motion */\n\n@layer oc.animation {\n /* ---------------------------------------------------------------------------\n * Table entrance animations (.oc-table-wrapper.oc-animate)\n * --------------------------------------------------------------------------- */\n\n .oc-table-wrapper.oc-animate {\n /* Chrome (title/subtitle): fade + slide up */\n & > .oc-chrome {\n animation: oc-enter-fade var(--oc-table-chrome-dur, calc(var(--oc-animation-duration) * 0.6))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-table-chrome-delay, 0ms);\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Table header: quick fade before rows start */\n & thead {\n animation: oc-enter-fade-only\n var(--oc-table-thead-dur, calc(var(--oc-animation-duration) * 0.4))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-table-thead-delay, 0ms);\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Row entrance: slide up only, no opacity (cells handle their own fading\n to avoid opacity compounding between row and cell animations) */\n & tbody tr {\n animation: oc-table-enter-row var(--oc-table-row-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-row-delay,\n calc(var(--oc-animation-stagger) * var(--oc-row-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Cell text: fade in synced with row slide */\n & tbody td {\n animation: oc-enter-fade-only\n var(--oc-table-cell-dur, calc(var(--oc-animation-duration) * 0.5))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-cell-delay,\n calc(var(--oc-animation-stagger) * var(--oc-row-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Heatmap/category cell backgrounds: longer fade, once the row is halfway in */\n & td.oc-table-heatmap,\n & td.oc-table-category {\n animation: oc-enter-fade-only\n var(--oc-table-heatmap-cell-dur, calc(var(--oc-animation-duration) * 0.7))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-heatmap-cell-delay,\n calc(\n var(--oc-table-heatmap-cell-after, calc(var(--oc-animation-duration) * 0.2)) +\n var(--oc-animation-stagger) *\n var(--oc-row-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Bar fill: clip-path grow only (no opacity change to preserve resting\n opacity: 0.15 from table.css), once the row is halfway in */\n & .oc-table-bar-fill {\n animation: oc-table-enter-bar-fill var(--oc-table-bar-fill-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-bar-fill-delay,\n calc(\n var(--oc-table-bar-fill-after, calc(var(--oc-animation-duration) * 0.2)) +\n var(--oc-animation-stagger) *\n var(--oc-row-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Sparkline SVG: clip-path reveal left-to-right once the row is mostly in.\n Targets the SVG directly (not the wrapper) to avoid clipping\n absolutely-positioned dots and labels. */\n & .oc-table-sparkline > svg {\n animation: oc-enter-line\n var(--oc-table-sparkline-dur, calc(var(--oc-animation-duration) * 0.8))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-sparkline-delay,\n calc(\n var(--oc-table-sparkline-after, calc(var(--oc-animation-duration) * 0.308881)) +\n var(--oc-animation-stagger) *\n var(--oc-row-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Sparkline dots and labels: fade in as the line draws through the end */\n & .oc-table-sparkline-dot,\n & .oc-table-sparkline-labels {\n animation: oc-enter-fade-only\n var(--oc-table-sparkline-dot-dur, calc(var(--oc-animation-duration) * 0.3))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-table-sparkline-dot-delay,\n calc(\n var(--oc-table-sparkline-dot-after, calc(var(--oc-animation-duration) * 0.834109)) +\n var(--oc-animation-stagger) *\n var(--oc-row-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Search and pagination: quick fade on mount */\n & .oc-table-search,\n & .oc-table-pagination {\n animation: oc-enter-fade-only\n var(--oc-table-search-pagination-dur, calc(var(--oc-animation-duration) * 0.5))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-table-search-pagination-delay, 0ms);\n animation-play-state: var(--oc-play-state, running);\n }\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Legend\n * --------------------------------------------------------------------------- */\n\n /* Font size and text fill are set inline by the renderer's applyTextStyle\n * from the engine-computed legend layout, which is authoritative (11px).\n * Only the family, which nothing computes per-entry, lives here. */\n .oc-legend {\n font-family: var(--oc-font-family);\n }\n\n .oc-legend-entry {\n cursor: default;\n }\n}\n","@layer oc.components {\n .oc-reader-panel,\n .oc-map-companion {\n color: var(--oc-text);\n font-family: var(--oc-font-family);\n font-size: 14px;\n line-height: 1.5;\n min-width: 0;\n }\n\n .oc-reader-panel {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));\n gap: 16px;\n padding: 16px 0;\n border-block: 1px solid var(--oc-border);\n }\n\n .oc-reader-panel article {\n min-width: 0;\n padding-inline-end: 16px;\n overflow-wrap: anywhere;\n }\n\n .oc-reader-panel h3 {\n margin: 0 0 6px;\n font-size: 15px;\n line-height: 1.4;\n font-weight: 600;\n }\n\n .oc-reader-panel p {\n margin: 0 0 8px;\n color: var(--oc-text-secondary);\n }\n\n .oc-reader-panel dl {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto;\n gap: 6px 16px;\n margin: 12px 0;\n font-variant-numeric: tabular-nums;\n }\n\n .oc-reader-panel dt {\n color: var(--oc-text-muted);\n }\n .oc-reader-panel dd {\n margin: 0;\n text-align: end;\n }\n .oc-reader-empty,\n .oc-reader-comparison {\n grid-column: 1 / -1;\n }\n .oc-reader-panel > button {\n justify-self: start;\n align-self: end;\n }\n\n .oc-reader-panel button,\n .oc-map-companion button,\n .oc-map-inspect-places {\n font: inherit;\n font-size: 13px;\n color: var(--oc-text-secondary);\n background: transparent;\n border: 1px solid var(--oc-border);\n border-radius: 5px;\n padding: 6px 10px;\n min-height: 36px;\n cursor: pointer;\n margin-inline-end: 6px;\n margin-block: 3px;\n white-space: normal;\n text-align: start;\n }\n\n .oc-reader-panel button:hover,\n .oc-map-companion button:hover,\n .oc-map-inspect-places:hover {\n background: var(--oc-hover-bg);\n }\n .oc-reader-panel button:focus-visible,\n .oc-map-companion :is(button, input):focus-visible,\n .oc-map-inspect-places:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n .oc-map-companion input {\n width: 100%;\n box-sizing: border-box;\n padding: 10px 12px;\n border: 1px solid var(--oc-border);\n border-radius: 5px;\n background: transparent;\n color: var(--oc-text);\n font: inherit;\n }\n\n .oc-map-companion ol {\n margin: 12px 0;\n padding: 0;\n list-style: none;\n }\n .oc-map-companion li {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: 12px;\n padding-block: 6px;\n border-bottom: 1px solid var(--oc-border);\n }\n .oc-map-companion li > button:first-child {\n flex: 1 1 auto;\n border-color: transparent;\n padding-inline-start: 0;\n font-variant-numeric: tabular-nums;\n }\n .oc-map-companion button:disabled {\n opacity: 0.45;\n cursor: default;\n }\n .oc-map-inspect-places {\n position: absolute;\n inset-inline-start: 8px;\n top: 8px;\n }\n .oc-map-inspect-places:not(:focus-visible) {\n width: 1px;\n height: 1px;\n min-height: 0;\n padding: 0;\n border: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * You draw it (youDrawIt)\n *\n * NYT-style draw-then-reveal. SVG-space elements (hatched region, guess path,\n * reveal clip) render inside the chart SVG; the prompt + skip-to-reveal button\n * are an absolutely-positioned HTML overlay the vanilla adapter sizes over the\n * drawing region (inline left/top/width/height). All colors come from --oc-*\n * tokens so they flip in .oc-dark.\n * --------------------------------------------------------------------------- */\n\n /* Hatched \"draw here\" region. Fill comes from an SVG <pattern> (line color =\n * the target series color); this only governs overall opacity + fade-out. */\n .oc-ydi-region {\n opacity: 0.35;\n transition: opacity 0.4s ease;\n }\n\n .oc-ydi-region[data-ydi-hidden=\"true\"] {\n opacity: 0;\n }\n\n /* The vertical rule at `from` where drawing begins. */\n .oc-ydi-boundary {\n stroke: var(--oc-text-muted);\n stroke-width: 1;\n stroke-dasharray: 3 3;\n stroke-opacity: 0.6;\n }\n\n /* Reader's guess: a distinct pen-like stroke that reads as \"yours\" against the\n * solid real line. Dashed + focus-blue so it stays legible in both modes. */\n .oc-ydi-guess {\n stroke: var(--oc-focus);\n stroke-width: 2.5;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-dasharray: 1 6;\n }\n\n /* Host-supplied comparison line (\"what everyone else guessed\"). Muted so it\n * sits behind the reader's guess and the real line. */\n .oc-ydi-comparison {\n stroke: var(--oc-text-muted);\n stroke-width: 1.5;\n stroke-opacity: 0.5;\n stroke-dasharray: 4 4;\n }\n\n /* Reveal clip rect: the width animates from the `from` boundary to the full\n * area on reveal, wiping the real line in left-to-right. The vanilla adapter\n * adds .oc-ydi-clip-animate right before setting the final width; reduced\n * motion skips the class so the width snaps. */\n .oc-ydi-clip-rect.oc-ydi-clip-animate {\n transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);\n }\n\n /* HTML controls overlay: prompt (top) + reveal button (bottom-right). */\n .oc-ydi-controls {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-end;\n pointer-events: none;\n font-family: var(--oc-font-family);\n padding: 8px;\n box-sizing: border-box;\n z-index: 10;\n }\n\n .oc-ydi-prompt {\n align-self: center;\n max-width: 100%;\n padding: 6px 12px;\n border-radius: var(--oc-radius-md);\n background: var(--oc-card);\n border: 1px solid var(--oc-border);\n color: var(--oc-text-secondary);\n font-size: 13px;\n font-weight: 500;\n line-height: 16px;\n text-align: center;\n box-shadow: var(--oc-tooltip-shadow);\n }\n\n .oc-ydi-controls.oc-ydi-revealed .oc-ydi-prompt {\n display: none;\n }\n\n /* Clear + reveal buttons, side by side at the bottom-right. */\n .oc-ydi-actions {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: 8px;\n pointer-events: none;\n }\n\n /* Skip-to-reveal and clear buttons. pointer-events re-enabled (the overlay\n * disables it) so they stay clickable and keyboard-reachable. Min height\n * enforced inline by the adapter (>= 24px effective touch target). */\n .oc-ydi-reveal-button,\n .oc-ydi-reset-button {\n pointer-events: auto;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 6px 14px;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-md);\n background: var(--oc-bg);\n color: var(--oc-text);\n font-family: inherit;\n font-size: 13px;\n font-weight: 500;\n white-space: nowrap;\n cursor: pointer;\n box-shadow: var(--oc-tooltip-shadow);\n transition:\n background-color 0.15s,\n border-color 0.15s;\n }\n\n .oc-ydi-reset-button[hidden] {\n display: none;\n }\n\n .oc-ydi-reveal-button:hover,\n .oc-ydi-reset-button:hover {\n background: var(--oc-hover-bg);\n }\n\n .oc-ydi-reveal-button:focus-visible,\n .oc-ydi-reset-button:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n .oc-ydi-reveal-button:disabled {\n opacity: 0.5;\n cursor: default;\n }\n}\n","/* GENERATED FILE — do not edit. Source: packages/core/src/motion/choreography.ts. Regenerate: bun run generate:motion */\n\n@layer oc.animation {\n /* ---------------------------------------------------------------------------\n * Animation keyframes\n * --------------------------------------------------------------------------- */\n\n /* Bar entrance: clip-path reveal from the baseline (vertical columns), no fade:\n a value mark is solid from its first frame. Grows bottom-to-top unless the\n renderer stamps --oc-bar-from (a negative column grows top-to-bottom). */\n @keyframes oc-enter-bar {\n from {\n clip-path: inset(var(--oc-bar-from, 100% 0 0 0));\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Bar entrance: clip-path reveal from the baseline (horizontal bars), no fade.\n Grows left-to-right unless --oc-bar-from is stamped (negative bars). */\n @keyframes oc-enter-bar-h {\n from {\n clip-path: inset(var(--oc-bar-from, 0 100% 0 0));\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Stack entrance: one clip over the whole stack, no fade. Grows bottom-to-top\n from --oc-stack-from, which the renderer stamps when the baseline is not the\n bottom edge, so the clip starts collapsed on the baseline and grows both\n ways from it. */\n @keyframes oc-enter-stack {\n from {\n clip-path: inset(var(--oc-stack-from, 100% 0 0 0));\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Horizontal stack entrance: grows left-to-right, or both ways from the\n baseline when --oc-stack-from is stamped. */\n @keyframes oc-enter-stack-h {\n from {\n clip-path: inset(var(--oc-stack-from, 0 100% 0 0));\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Line/area entrance: clip-path reveal left-to-right + fade in.\n Lines draw in following reading direction with a soft lead-in. */\n @keyframes oc-enter-line {\n from {\n clip-path: inset(0 100% 0 0);\n opacity: 0;\n }\n 15% {\n opacity: 1;\n }\n to {\n clip-path: inset(0 0 0 0);\n opacity: 1;\n }\n }\n\n /* Point/arc entrance: scale up + fade in from center */\n @keyframes oc-enter-point {\n from {\n opacity: 0;\n transform: scale(0.3);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Map feature entrance: fade in while transitioning fill from a neutral base\n to the data-driven color stored in --oc-feature-fill. The target opacity is\n --oc-feature-target-opacity (default 1) so features under a focus dim\n animate straight to their dimmed rest opacity instead of hitting 1 and then\n snapping down when the dim is applied post-animation.\n Non-interpolable fills (the url(#pattern) hatch on no-data features) do not\n transition: the browser holds the neutral and flips to the pattern when the\n eased progress passes 50%, so those features fade in rather than\n cross-fade. */\n @keyframes oc-enter-map-fill {\n from {\n fill: var(--oc-secondary);\n opacity: 0;\n }\n to {\n fill: var(--oc-feature-fill);\n opacity: var(--oc-feature-target-opacity, 1);\n }\n }\n\n /* Map point pop-in: gentle scale from 0.75 + fade. Uses transform-origin to\n scale from the circle's own center (cx/cy) rather than the SVG origin. */\n @keyframes oc-enter-map-point {\n from {\n opacity: 0;\n transform: scale(0.75);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Line point pop: fade in while scaling up from 0.4. The renderer stamps an\n inline px transform-origin at the point centre, so it grows in place\n (and in GIF frames, which carry no animation CSS). */\n @keyframes oc-enter-pop {\n from {\n opacity: 0;\n transform: scale(0.4);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Grid cell pop: fade in while scaling up from 0.85 about the cell centre\n (inline px transform-origin stamped by the renderer). */\n @keyframes oc-enter-cell {\n from {\n opacity: 0;\n transform: scale(0.85);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Slice growth: fade in while scaling up from 0.94. The slice path is drawn\n around its group's local origin (the group carries translate(cx, cy)), so\n the default transform-origin of 0 0 is the pie centre. */\n @keyframes oc-enter-arc {\n from {\n opacity: 0;\n transform: scale(0.94);\n }\n to {\n opacity: 1;\n transform: scale(1);\n }\n }\n\n /* Pure opacity fade (no transform). Safe for elements with existing transforms\n like arc groups that use translate() for positioning. */\n @keyframes oc-enter-fade-only {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n /* Fade + subtle slide up (table chrome) */\n @keyframes oc-enter-fade {\n from {\n opacity: 0;\n transform: translateY(4px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n /* Text rise: 0.6em up to rest. Its opacity runs as a separate quick fade. */\n @keyframes oc-enter-rise {\n from {\n transform: translateY(0.6em);\n }\n to {\n transform: translateY(0);\n }\n }\n\n /* Row slide: 4px up to rest. Its opacity runs as a separate quick fade. */\n @keyframes oc-enter-slide {\n from {\n transform: translateY(4px);\n }\n to {\n transform: translateY(0);\n }\n }\n\n /* Table row entrance: slide up only, no opacity (cells fade independently\n to avoid opacity compounding between row and cell animations) */\n @keyframes oc-table-enter-row {\n from {\n transform: translateY(6px);\n }\n to {\n transform: translateY(0);\n }\n }\n\n /* Table bar fill entrance: clip-path grow only, no opacity\n (preserves resting opacity: 0.15 from table.css) */\n @keyframes oc-table-enter-bar-fill {\n from {\n clip-path: inset(0 100% 0 0);\n }\n to {\n clip-path: inset(0 0 0 0);\n }\n }\n\n /* Live-tile pulse: the terminator dot of a sparkline swells once when new\n data lands, so a glance at a wall of tiles catches which one just moved.\n `r` is animated as a presentation attribute (SVG geometry properties are\n animatable in CSS); the fallback is simply no swell. */\n @keyframes oc-pulse {\n from {\n r: var(--oc-pulse-r, 4px);\n fill-opacity: 1;\n }\n 45% {\n r: calc(var(--oc-pulse-r, 4px) * 1.8);\n fill-opacity: 0.5;\n }\n to {\n r: var(--oc-pulse-r, 4px);\n fill-opacity: 1;\n }\n }\n\n /* Tooltip entrance */\n @keyframes oc-tooltip-in {\n from {\n opacity: 0;\n transform: translateY(2px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n}\n","/* GENERATED FILE — do not edit. Source: packages/core/src/motion/choreography.ts. Regenerate: bun run generate:motion */\n\n@layer oc.animation {\n /* ---------------------------------------------------------------------------\n * Animation scoped rules (.oc-animate enables animation on the chart root)\n * --------------------------------------------------------------------------- */\n\n .oc-animate {\n /* Vertical bars (default): the author curve over the full duration, no fade.\n oc-mark-bar is reserved for future mark type aliases.\n A bar with a value-end radius draws as <path> rather than <rect>\n (SVG rx rounds all four corners or none), so both shapes match. */\n & .oc-mark-rect :is(rect, path),\n & .oc-mark-bar :is(rect, path) {\n animation: oc-enter-bar var(--oc-bar-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-bar-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Horizontal bars (data-orient is on the mark group, not the SVG root) */\n & .oc-mark-rect[data-orient=\"horizontal\"] :is(rect, path),\n & .oc-mark-bar[data-orient=\"horizontal\"] :is(rect, path) {\n animation-name: oc-enter-bar-h;\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Grid cells (heatmap, waffle, calendar) have no baseline to grow from:\n each pops in on its own scattered start. The renderer stamps\n --oc-cell-delay from a seeded shuffle over CELL_SWEEP_BUDGET_MS, so the\n grid fills in no particular pattern. */\n & .oc-mark-rect[data-cell] :is(rect, path) {\n animation: oc-enter-cell var(--oc-cell-dur, 400ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-cell-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Stacked bars reveal as one group per stack, each on its own stagger slot;\n their segments do not animate. A stack that crosses zero grows both ways\n from the baseline (--oc-stack-from). */\n & .oc-stack-reveal {\n animation: oc-enter-stack var(--oc-stack-reveal-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-stack-reveal-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n & .oc-stack-reveal .oc-mark-rect :is(rect, path) {\n animation: none;\n }\n\n & .oc-stack-reveal[data-orient=\"horizontal\"] {\n animation-name: oc-enter-stack-h;\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Line and area marks: entire group clips left-to-right + fades in */\n & .oc-mark-line,\n & .oc-mark-area {\n animation: oc-enter-line var(--oc-line-area-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-line-area-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Arc marks (pie/donut slices): each slice path fades and grows from the pie\n centre. The transform goes on the path, never the group, whose translate()\n attribute positions the slice. */\n & .oc-mark-arc > path {\n animation: oc-enter-arc var(--oc-arc-dur, 450ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-arc-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Point marks (scatter, dot): a quick fade on the author curve, no scale.\n Points render as bare <circle> elements with class oc-mark-point directly,\n not wrapped in a group, so we target circle.oc-mark-point (not descendant). */\n & circle.oc-mark-point,\n & circle.oc-mark-circle {\n animation: oc-enter-fade-only var(--oc-point-dur, 300ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-point-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Points on line/area charts pop in once their own line has drawn (0.97),\n cascading left to right over LINE_POINT_CASCADE_MS. The renderer stamps\n each point's delay and marks it data-line-point (a scatter's trendline also\n precedes its circles, so position can't select these). Points hidden under an endpoint marker stay hidden. */\n & circle.oc-mark-point[data-line-point] {\n animation: oc-enter-pop var(--oc-line-point-dur, 320ms) var(--oc-ease-punch) both;\n animation-delay: var(\n --oc-line-point-delay,\n calc(\n var(--oc-line-point-after, calc(var(--oc-animation-duration) * 0.727459)) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n & circle.oc-mark-point[opacity=\"0\"] {\n animation: none;\n }\n\n /* Text marks: rise 0.6em on the author curve, with a quick fade */\n & .oc-mark-text text {\n animation:\n oc-enter-rise var(--oc-text-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both,\n oc-enter-fade-only 140ms var(--oc-ease-snap) both;\n animation-delay: var(\n --oc-text-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Rule marks: fade in place, never translate (a moving rule reads a wrong value) */\n & .oc-mark-rule line {\n animation: oc-enter-fade-only var(--oc-rule-dur, calc(var(--oc-animation-duration) * 0.5))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-rule-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Tick marks: fade in place */\n & .oc-mark-tick line {\n animation: oc-enter-fade-only var(--oc-tick-dur, calc(var(--oc-animation-duration) * 0.5))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-tick-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Data labels (bar values, line end labels) fade in place once their mark has\n landed: when the bar at the label's --oc-mark-index reaches 0.97. Lines\n share the bar's duration and curve, so the bar anchor stands in for them.\n Labels never move during the entrance. */\n & .oc-mark-label {\n animation: oc-enter-fade-only var(--oc-label-dur, 260ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-label-delay,\n calc(\n var(--oc-label-after, calc(var(--oc-animation-duration) * 0.727459)) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Pie/donut slice labels fade in place once their own slice reaches 0.97. */\n & .oc-mark-arc > .oc-mark-label {\n animation: oc-enter-fade-only var(--oc-arc-label-dur, 260ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-arc-label-delay,\n calc(\n var(--oc-arc-label-after, 327.356557ms) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Trailing endpoint labels (marker, name, value) and area interior labels:\n fade in as their own series' line reaches the end, never before it. The\n renderer stamps each entry with its series' --oc-mark-index. */\n & .oc-endpoint-label-entry[data-endpoint-side=\"trailing\"],\n & .oc-area-interior-label {\n animation: oc-enter-fade-only var(--oc-endpoint-label-dur, 300ms)\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-endpoint-label-delay,\n calc(\n var(--oc-endpoint-label-after, calc(var(--oc-animation-duration) * 0.656536)) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Annotations: fade in once the last mark is 90% of the way there */\n & .oc-annotation {\n animation: oc-enter-fade-only var(--oc-annotation-dur, 300ms) var(--oc-ease-glide) both;\n animation-delay: var(\n --oc-annotation-enter-delay,\n calc(\n var(--oc-annotation-after, calc(var(--oc-animation-duration) * 0.539502)) +\n var(--oc-annotation-delay, 150ms)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Tilemap tiles: fade in with jittered stagger for organic feel.\n Per-tile delay is computed in the renderer with pseudo-random variation. */\n & .oc-tilemap-tile {\n animation: oc-enter-fade-only\n var(--oc-tilemap-tile-dur, calc(var(--oc-animation-duration) * 0.35)) ease-in both;\n animation-delay: var(--oc-tilemap-tile-delay, var(--oc-tile-delay, 0ms));\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Map features: fill color reveal with shuffled stagger.\n Per-feature --oc-map-delay is computed in the renderer via a seeded\n Fisher-Yates shuffle so features pop in organically. */\n & .oc-map-feature {\n animation: oc-enter-map-fill var(--oc-map-feature-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-map-feature-delay, var(--oc-map-delay, 0ms));\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Bulk mode: high feature counts (counties, ~3k+) get a single group\n fade instead of per-feature fill animations. opacity is GPU-compositable\n so this stays smooth regardless of child count. */\n & .oc-map-features[data-bulk-animate] {\n animation: oc-enter-fade-only var(--oc-map-bulk-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(--oc-map-bulk-delay, 0ms);\n animation-play-state: var(--oc-play-state, running);\n }\n & .oc-map-features[data-bulk-animate] .oc-map-feature {\n animation: none;\n }\n\n /* Map borders: fade in once most of the feature sweep has started */\n & .oc-map-borders path {\n animation: oc-enter-fade-only\n var(--oc-map-border-dur, calc(var(--oc-animation-duration) * 0.4)) ease-in both;\n animation-delay: var(--oc-map-border-delay, var(--oc-map-border-after, 324ms));\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Map points: gentle scale (0.75->1) + fade pop-in just after the borders.\n transform-origin set per-circle in the renderer so scale happens\n around each circle's own center, not the SVG origin. */\n & .oc-map-point {\n animation: oc-enter-map-point\n var(--oc-map-point-dur, calc(var(--oc-animation-duration) * 0.4))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-map-point-delay,\n calc(\n var(--oc-map-point-after, 351ms) +\n var(--oc-mark-index, 0) *\n var(--oc-point-stagger, 60ms)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Sankey nodes: fade in with stagger by column depth (left-to-right) */\n & .oc-sankey-node rect {\n animation: oc-enter-fade-only var(--oc-sankey-node-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-sankey-node-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Sankey links: fade in when their source node is halfway in. Each link\n carries its source node's --oc-mark-index. */\n & .oc-sankey-link path {\n animation: oc-enter-fade-only var(--oc-sankey-link-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-sankey-link-delay,\n calc(\n var(--oc-sankey-link-after, calc(var(--oc-animation-duration) * 0.2)) +\n var(--oc-animation-stagger) *\n var(--oc-mark-index, 0)\n )\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n /* Barlist rows: slide up with a quick fade per row; bars grow left-to-right */\n & .oc-barlist-row {\n animation:\n oc-enter-slide var(--oc-barlist-row-dur, calc(var(--oc-animation-duration) * 0.6))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both,\n oc-enter-fade-only 140ms var(--oc-ease-snap) both;\n animation-delay: var(\n --oc-barlist-row-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n\n & .oc-barlist-bar {\n animation: oc-enter-bar-h var(--oc-barlist-bar-dur, var(--oc-animation-duration))\n var(--oc-animation-ease, var(--oc-ease-smooth)) both;\n animation-delay: var(\n --oc-barlist-bar-delay,\n calc(var(--oc-animation-stagger) * var(--oc-mark-index, 0))\n );\n animation-play-state: var(--oc-play-state, running);\n }\n }\n}\n","/* ---------------------------------------------------------------------------\n * Reduced motion\n *\n * Catch-all: last-declared layer beats every earlier layer regardless of\n * specificity. No !important, no hand-maintained selector mirror.\n *\n * Selector list matches CSS_TOKEN_ROOT_SELECTORS in token-definitions.ts.\n * --------------------------------------------------------------------------- */\n\n@layer oc.reduced-motion {\n @media (prefers-reduced-motion: reduce) {\n :is(\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root\n ),\n :is(\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root\n )\n *,\n :is(\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root\n )\n *::before,\n :is(\n .oc-root,\n .oc-chart-root,\n .oc-table-wrapper,\n .oc-table-root,\n .oc-graph-wrapper,\n .oc-graph-root,\n .oc-sankey-root,\n .oc-tilemap-root,\n .oc-barlist-root,\n .oc-map-root\n )\n *::after {\n animation: none;\n transition: none;\n }\n }\n}\n","/*\n * Playback controls (play button, scrubber, readout) shared by races, charts and maps, and\n * the pointer rule for a playback chart's overlay labels. Each control selector lists both the .oc-race-* and .oc-playback-* prefixes. The controls set\n * the scrubber's progress as --<prefix>-progress; the race shell sets\n * --oc-race-progress-color on its controls slot.\n */\n@layer oc.components {\n /* The period label and name labels drawn over a playback chart describe the marks; they\n aren't marks themselves, so pointer and touch go through them to the marks beneath. */\n [data-key^=\"oc-playback-\"] {\n pointer-events: none;\n }\n\n .oc-race-controls,\n .oc-playback-controls {\n display: flex;\n align-items: center;\n gap: 12px;\n height: 44px;\n color: var(--oc-text);\n font-family: var(--oc-font-family);\n }\n\n .oc-race-play,\n .oc-playback-play {\n display: grid;\n place-items: center;\n flex: none;\n box-sizing: border-box;\n width: 32px;\n height: 32px;\n /* Pull the button left so the 16px icon, not the hit area, lines up with the chart inset. */\n margin-inline-start: -8px;\n padding: 0;\n border: 0;\n border-radius: 4px;\n background: transparent;\n color: inherit;\n font: inherit;\n cursor: pointer;\n }\n\n .oc-race-play:hover,\n .oc-playback-play:hover {\n background: var(--oc-hover-bg);\n }\n\n .oc-race-play:focus-visible,\n .oc-race-scrub:focus-visible,\n .oc-playback-play:focus-visible,\n .oc-playback-scrub:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n .oc-race-scrub,\n .oc-playback-scrub {\n --oc-playback-track-direction: to right;\n --oc-playback-track-fill: linear-gradient(\n var(--oc-playback-track-direction),\n var(--oc-race-progress-color, var(--oc-playback-progress-color, var(--oc-text)))\n var(--oc-race-progress, var(--oc-playback-progress, 0%)),\n var(--oc-border) var(--oc-race-progress, var(--oc-playback-progress, 0%))\n );\n /* Grow outward and keep the native thumb's travel and center fixed. */\n --oc-playback-thumb-grow: 0px;\n --oc-playback-thumb-ring:\n 0 0 0 var(--oc-playback-thumb-grow) var(--oc-text),\n 0 0 0 calc(2px + var(--oc-playback-thumb-grow)) var(--oc-bg);\n appearance: none;\n flex: 1;\n min-width: 0;\n height: 16px;\n margin: 0;\n padding: 0;\n border: 0;\n background: transparent;\n cursor: pointer;\n }\n\n .oc-race-scrub:dir(rtl),\n .oc-playback-scrub:dir(rtl) {\n --oc-playback-track-direction: to left;\n }\n\n .oc-race-scrub:hover,\n .oc-race-scrub:active,\n .oc-playback-scrub:hover,\n .oc-playback-scrub:active {\n --oc-playback-thumb-grow: 1px;\n }\n\n .oc-race-scrub::-webkit-slider-runnable-track,\n .oc-playback-scrub::-webkit-slider-runnable-track {\n height: 4px;\n border-radius: 2px;\n background: var(--oc-playback-track-fill);\n }\n\n .oc-race-scrub::-moz-range-track,\n .oc-playback-scrub::-moz-range-track {\n width: 100%;\n height: 4px;\n border-radius: 2px;\n background: var(--oc-playback-track-fill);\n }\n\n .oc-race-scrub::-webkit-slider-thumb,\n .oc-playback-scrub::-webkit-slider-thumb {\n appearance: none;\n width: 14px;\n height: 14px;\n margin-top: -5px;\n border: 0;\n border-radius: 50%;\n background: var(--oc-text);\n box-shadow: var(--oc-playback-thumb-ring);\n }\n\n .oc-race-scrub::-moz-range-thumb,\n .oc-playback-scrub::-moz-range-thumb {\n width: 14px;\n height: 14px;\n border: 0;\n border-radius: 50%;\n background: var(--oc-text);\n box-shadow: var(--oc-playback-thumb-ring);\n }\n\n @media (forced-colors: active) {\n .oc-race-scrub,\n .oc-playback-scrub {\n appearance: auto;\n }\n }\n\n .oc-race-readout,\n .oc-playback-readout {\n flex: 0 0 auto;\n max-width: 40%;\n overflow: hidden;\n color: var(--oc-text-muted);\n font-size: var(--oc-source-size);\n text-align: end;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-variant-numeric: normal;\n }\n}\n","@layer oc.components {\n .oc-race {\n direction: ltr;\n font-variant-numeric: normal;\n }\n\n .oc-race-controls-slot {\n /* The shell measures the unused space below the footer. Preserve the outer height. */\n position: relative;\n margin-top: calc(0px - var(--oc-race-controls-lift, 0px));\n padding-inline: var(--oc-race-padding);\n padding-bottom: var(--oc-race-controls-lift, 0px);\n }\n\n .oc-race-axis line {\n stroke: var(--oc-gridline);\n }\n\n .oc-race-axis text,\n .oc-race-summary {\n fill: var(--oc-text-muted);\n }\n\n .oc-race-summary {\n font-size: var(--oc-source-size);\n }\n\n .oc-race-rows text {\n fill: var(--oc-text);\n font-size: var(--oc-body-size);\n }\n\n .oc-race-period {\n fill: var(--oc-text-faint);\n font-weight: 600;\n }\n\n .oc-race-row {\n will-change: transform;\n }\n\n /* line */\n .oc-race-line-labels {\n dominant-baseline: central;\n font-size: var(--oc-body-size);\n }\n\n .oc-race-line-value {\n fill: var(--oc-text-muted);\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Series search (seriesSearch)\n *\n * DOM combobox overlaid on the SVG band the engine reserves below chrome.\n * The wrapper is absolutely positioned by the vanilla adapter (inline\n * left/top/width/height), so everything here is visual only. All colors come\n * from --oc-* tokens, which flip in .oc-dark.\n * --------------------------------------------------------------------------- */\n\n .oc-series-search {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 8px;\n font-family: var(--oc-font-family);\n z-index: 10;\n }\n\n /* Chips: removable filter tokens for the current selection. They flow to the\n * left of the input and scroll horizontally rather than wrapping over the\n * chart when a reader picks many series. */\n .oc-series-search-chips {\n display: flex;\n align-items: center;\n gap: 6px;\n min-width: 0;\n overflow-x: auto;\n scrollbar-width: none;\n }\n\n .oc-series-search-chips::-webkit-scrollbar {\n display: none;\n }\n\n .oc-series-search-chip {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 3px 4px 3px 10px;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-full);\n background: var(--oc-secondary);\n color: var(--oc-text-secondary);\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n white-space: nowrap;\n }\n\n .oc-series-search-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n /* 16px glyph, but a >=24px hit area (WCAG 2.5.5 target size) via padding\n pulled back with negative margin so the chip layout stays tight. */\n width: 16px;\n height: 16px;\n padding: 4px;\n margin: -4px -2px -4px -4px;\n border: none;\n border-radius: 50%;\n background: transparent;\n color: var(--oc-text-muted);\n cursor: pointer;\n transition:\n color 0.15s,\n background-color 0.15s;\n }\n\n .oc-series-search-chip-remove:hover {\n color: var(--oc-text);\n background: var(--oc-hover-bg);\n }\n\n .oc-series-search-chip-remove:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 1px;\n }\n\n .oc-series-search-chip-remove svg {\n display: block;\n }\n\n /* Combobox: input + popup listbox. Styling matches the table search input\n * (border, radius, focus ring) so the two search surfaces read as one system. */\n .oc-series-search-box {\n position: relative;\n flex: 0 1 220px;\n min-width: 120px;\n }\n\n .oc-series-search-icon {\n position: absolute;\n left: 9px;\n top: 50%;\n transform: translateY(-50%);\n color: var(--oc-text-muted);\n pointer-events: none;\n }\n\n /* Shared skin provided by the grouped rule in table.css.\n Only divergent props live here. */\n .oc-series-search-input {\n height: 32px;\n padding: 0 10px 0 28px;\n }\n\n .oc-series-search-listbox {\n position: absolute;\n top: calc(100% + 4px);\n right: 0;\n min-width: 100%;\n max-height: 240px;\n overflow-y: auto;\n margin: 0;\n padding: 4px;\n list-style: none;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-lg);\n background: var(--oc-card);\n box-shadow: var(--oc-tooltip-shadow);\n z-index: 20;\n }\n\n .oc-series-search-option {\n padding: 6px 10px;\n border-radius: var(--oc-radius-sm);\n font-size: 13px;\n color: var(--oc-text);\n cursor: pointer;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .oc-series-search-option[aria-selected=\"true\"],\n .oc-series-search-option:hover {\n background: var(--oc-hover-bg);\n }\n\n /* The typed substring within each suggestion. */\n .oc-series-search-match {\n font-weight: 600;\n }\n\n .oc-series-search-empty {\n padding: 6px 10px;\n font-size: 12px;\n color: var(--oc-text-muted);\n }\n}\n","@layer oc.components {\n .oc-race-table {\n overflow: hidden;\n }\n\n .oc-race-table-grid {\n display: grid;\n grid-template-rows: auto 1fr;\n width: 100%;\n height: 100%;\n border-collapse: separate;\n border-spacing: 0;\n color: var(--oc-text);\n font-family: var(--oc-font-family);\n font-weight: var(--oc-race-table-body-weight, 400);\n line-height: 1.2;\n font-variant-numeric: normal;\n }\n\n .oc-race-table-grid thead,\n .oc-race-table-grid tbody {\n display: block;\n }\n\n .oc-race-table-grid tbody {\n position: relative;\n overflow: hidden;\n background-image: repeating-linear-gradient(\n to bottom,\n transparent 0 max(0px, calc(var(--oc-race-table-row-height) - 1px)),\n var(--oc-border) 0 var(--oc-race-table-row-height)\n );\n }\n\n .oc-race-table-grid tr {\n display: grid;\n grid-template-columns: var(--oc-race-table-columns);\n align-items: center;\n overflow: hidden;\n }\n\n .oc-race-table-grid thead tr {\n box-shadow: inset 0 -1px var(--oc-border);\n }\n\n .oc-race-table-grid tbody tr {\n position: absolute;\n inset: 0 0 auto;\n max-height: max(0px, calc(var(--oc-race-table-row-height) - 1px));\n overflow: visible;\n }\n\n .oc-race-table-grid tbody td {\n max-height: 100%;\n translate: 0 var(--oc-race-table-content-offset, 0px);\n }\n\n .oc-race-table-cell {\n min-width: 0;\n overflow: hidden;\n padding: 0 var(--oc-race-table-cell-padding, 5px);\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .oc-race-table-grid th {\n color: var(--oc-text-muted);\n font-weight: var(--oc-race-table-heading-weight, 600);\n }\n\n .oc-race-table-rank,\n .oc-race-table-change,\n .oc-race-table-value,\n .oc-race-table-share {\n text-align: right;\n }\n\n .oc-race-table-change,\n .oc-race-table-share {\n color: var(--oc-text-muted);\n }\n\n .oc-race-table-change[data-direction=\"up\"] {\n color: var(--oc-positive);\n }\n\n .oc-race-table-change[data-direction=\"down\"] {\n color: var(--oc-negative);\n }\n\n td.oc-race-table-name {\n display: flex;\n align-items: center;\n gap: 6px;\n }\n\n .oc-race-table-name > span:last-child {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .oc-race-table-chip {\n flex: none;\n width: 8px;\n height: 8px;\n border-radius: var(--oc-radius-full);\n }\n\n td.oc-race-table-bar {\n position: relative;\n height: 100%;\n padding: 0;\n }\n\n .oc-race-table-fill {\n position: absolute;\n top: 50%;\n left: 0;\n height: min(8px, 55%);\n border-radius: var(--oc-radius-sm);\n translate: 0 -50%;\n transform-origin: 0 50%;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Graph\n * --------------------------------------------------------------------------- */\n\n .oc-graph-wrapper {\n position: relative;\n overflow: hidden;\n background: var(--oc-bg);\n font-family: var(--oc-font-family);\n width: 100%;\n height: 100%;\n }\n\n .oc-graph-canvas {\n display: block;\n width: 100%;\n height: 100%;\n cursor: grab;\n }\n\n .oc-graph-canvas--dragging {\n cursor: grabbing;\n }\n\n /* 3D surface. 3d-force-graph builds its own `div.scene-container` inside the\n * element it is handed and sizes the WebGL canvas imperatively, so the slot\n * has to fill the same box the 2D canvas fills or the first measurement is\n * zero-height. */\n .oc-graph-3d,\n .oc-graph-3d .scene-container {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .oc-graph-3d {\n cursor: grab;\n }\n\n .oc-graph-3d .scene-container canvas {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .oc-graph-chrome {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n z-index: 2;\n padding: 16px 16px 8px;\n pointer-events: none;\n\n & .oc-title {\n font-size: var(--oc-title-size);\n font-weight: var(--oc-title-weight);\n letter-spacing: var(--oc-title-tracking);\n color: var(--oc-text);\n margin: 0 0 4px;\n --_stroke: color-mix(in srgb, var(--oc-bg) 80%, transparent);\n text-shadow:\n -2px -2px 0 var(--_stroke),\n 2px -2px 0 var(--_stroke),\n -2px 2px 0 var(--_stroke),\n 2px 2px 0 var(--_stroke),\n 0 -2px 0 var(--_stroke),\n 0 2px 0 var(--_stroke),\n -2px 0 0 var(--_stroke),\n 2px 0 0 var(--_stroke);\n }\n\n & .oc-subtitle {\n font-size: var(--oc-subtitle-size);\n color: var(--oc-text-secondary);\n margin: 0;\n --_stroke: color-mix(in srgb, var(--oc-bg) 80%, transparent);\n text-shadow:\n -1px -1px 0 var(--_stroke),\n 1px -1px 0 var(--_stroke),\n -1px 1px 0 var(--_stroke),\n 1px 1px 0 var(--_stroke);\n }\n }\n\n .oc-graph-legend {\n position: absolute;\n top: 12px;\n right: 12px;\n /* Slightly translucent so the graph reads as continuous underneath, in\n * whatever surface the mount stamped on the wrapper. */\n background: color-mix(in srgb, var(--oc-bg) 88%, transparent);\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-lg);\n padding: 8px 12px;\n font-size: 12px;\n color: var(--oc-text-secondary);\n max-height: 200px;\n overflow-y: auto;\n }\n\n .oc-graph-legend-item {\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 2px 0;\n /* Button reset for interactive rows (rendered as <button>). */\n width: 100%;\n margin: 0;\n background: none;\n border: none;\n font: inherit;\n color: inherit;\n text-align: left;\n cursor: default;\n }\n\n /* Interactive legend rows are buttons; give them affordance + a focus ring. */\n button.oc-graph-legend-item {\n cursor: pointer;\n border-radius: var(--oc-radius-sm);\n\n &:hover {\n background: var(--oc-focus-ring);\n }\n\n &:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 1px;\n }\n }\n\n /* De-emphasized (toggled-off) category. */\n .oc-graph-legend-item--inactive {\n opacity: 0.45;\n }\n\n .oc-graph-legend-label {\n flex: 1 1 auto;\n }\n\n .oc-graph-legend-count {\n color: var(--oc-text-secondary);\n font-variant-numeric: tabular-nums;\n margin-left: auto;\n padding-left: 8px;\n }\n\n .oc-graph-legend-swatch {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n flex-shrink: 0;\n }\n\n /* Edge-legend swatches render as a short line, not a dot. */\n .oc-graph-legend-swatch--line {\n width: 12px;\n height: 3px;\n border-radius: 1px;\n }\n\n .oc-graph-search {\n position: absolute;\n top: 12px;\n left: 12px;\n\n & input {\n font-family: var(--oc-font-family);\n font-size: var(--oc-body-size);\n padding: 6px 10px;\n border: 1px solid var(--oc-border);\n border-radius: var(--oc-radius-md);\n background: color-mix(in srgb, var(--oc-bg) 88%, transparent);\n color: var(--oc-text);\n outline: none;\n\n &:focus {\n border-color: var(--oc-focus);\n box-shadow: 0 0 0 2px var(--oc-focus-ring-strong);\n }\n }\n }\n\n /*\n * No dark-mode canvas override lives here. graph-mount stamps the resolved\n * theme surface on the wrapper (--oc-bg), so dark graphs sit on the same\n * --oc-bg the rest of the library uses instead of a private GitHub-dark hex,\n * and the legend/search panels mix against whatever that surface is.\n */\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Sankey\n *\n * Hovering a node (or a link) traces the whole path through it: everything\n * upstream and everything downstream stays lit, the rest drops back. The mount\n * writes the opacities; this file only owns how they move, using the shared\n * hover duration so a sankey fades on the same clock as a bar chart.\n *\n * The transitions are switched off during the entrance (`.oc-animate`), where\n * the keyframes own opacity and a competing transition would smear them.\n * --------------------------------------------------------------------------- */\n\n .oc-sankey:not(.oc-animate) .oc-sankey-link path {\n transition: fill-opacity var(--oc-hover-duration) ease-out;\n }\n\n .oc-sankey:not(.oc-animate) .oc-sankey-node,\n .oc-sankey:not(.oc-animate) .oc-sankey-label {\n transition: opacity var(--oc-hover-duration) ease-out;\n }\n\n /* Labels are decoration over the flow: never a text cursor, never a selection\n * drag that eats the hover. */\n .oc-sankey-label {\n pointer-events: none;\n user-select: none;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Chrome (eyebrow, title, subtitle, source, byline, footer, brand)\n * --------------------------------------------------------------------------- */\n\n .oc-chrome {\n font-family: var(--oc-font-family);\n }\n\n .oc-eyebrow {\n font-size: var(--oc-eyebrow-size);\n font-weight: var(--oc-eyebrow-weight);\n letter-spacing: var(--oc-eyebrow-tracking);\n text-transform: uppercase;\n fill: var(--oc-accent);\n }\n\n .oc-title {\n font-size: var(--oc-title-size);\n font-weight: var(--oc-title-weight);\n letter-spacing: var(--oc-title-tracking);\n fill: var(--oc-text);\n }\n\n .oc-subtitle {\n font-size: var(--oc-subtitle-size);\n font-weight: var(--oc-subtitle-weight);\n fill: var(--oc-text-muted);\n }\n\n .oc-source,\n .oc-byline,\n .oc-footer {\n font-size: var(--oc-source-size);\n font-weight: var(--oc-source-weight);\n fill: var(--oc-text-muted);\n }\n\n .oc-brand {\n font-size: 11px;\n font-weight: 500;\n letter-spacing: 0.02em;\n fill: var(--oc-text-faint);\n }\n\n .oc-eyebrow-dot {\n fill: var(--oc-accent);\n }\n\n /* ---------------------------------------------------------------------------\n * Metric bar (.oc-metrics) — optional row of label/value cells above chart\n * --------------------------------------------------------------------------- */\n\n .oc-metrics {\n font-family: var(--oc-font-family);\n }\n\n .oc-metric-label {\n font-size: 11px;\n font-weight: 500;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n fill: var(--oc-text-muted);\n }\n\n .oc-metric-value {\n font-size: 22px;\n font-weight: 600;\n letter-spacing: -0.02em;\n fill: var(--oc-text);\n font-variant-numeric: tabular-nums;\n }\n\n .oc-metric-delta-up {\n fill: var(--oc-positive);\n font-size: 12px;\n font-weight: 500;\n }\n\n .oc-metric-delta-down {\n fill: var(--oc-negative);\n font-size: 12px;\n font-weight: 500;\n }\n\n /* A multiplier or a run-rate is context, not a positive signal: the green\n that belonged here made every secondary read as good news. */\n .oc-metric-secondary {\n fill: var(--oc-text-muted);\n font-size: 12px;\n font-weight: 400;\n }\n\n /* ---------------------------------------------------------------------------\n * Axis tick labels — inline variant sits above each gridline at the\n * chart-area left edge (no left gutter). Used by line/area y-axes.\n * --------------------------------------------------------------------------- */\n\n .oc-axis-tick-inline {\n font-size: 11px;\n font-weight: 400;\n fill: var(--oc-text-muted);\n }\n\n /* ---------------------------------------------------------------------------\n * Endpoint labels (right-side per-series column for line/area charts)\n *\n * Swatch idiom: a thicker colored stroke segment with an optional thinner\n * lighter strip below. Mirrors the refreshed traditional legend swatch so a\n * single chart never shows two swatch idioms (mock-2 alignment). Per-series\n * color is stamped inline by the renderer; CSS tokens here cover the muted\n * value text and the leader line so theme overrides flow through naturally.\n * --------------------------------------------------------------------------- */\n\n .oc-endpoint-labels {\n font-family: var(--oc-font-family);\n }\n\n .oc-endpoint-label {\n /* Color set inline per series; this fallback only kicks in if the renderer\n ever omits the inline fill. */\n fill: var(--oc-endpoint-label-color, var(--oc-text));\n }\n\n .oc-endpoint-value {\n fill: var(--oc-endpoint-value-color, var(--oc-text-muted));\n }\n\n .oc-endpoint-leader {\n stroke: var(--oc-endpoint-leader-color, currentColor);\n }\n\n /* .oc-endpoint-marker — fill/stroke set inline (open-ring style: bg fill, series stroke). */\n /* .oc-endpoint-swatch — color set inline per series. */\n\n /* ---------------------------------------------------------------------------\n * Annotation dot + subtitle (text-annotation extensions)\n * --------------------------------------------------------------------------- */\n\n /* .oc-annotation-dot — fill/stroke resolved by the engine (open-ring default = bg fill, series stroke). */\n\n .oc-annotation-subtitle {\n fill: var(--oc-annotation-subtitle-color, var(--oc-text-muted));\n }\n\n /* ---------------------------------------------------------------------------\n * Table footer chrome\n * --------------------------------------------------------------------------- */\n\n /* Footer row: source/footer text on the left, brand watermark on the right,\n * sharing a single baseline. gap keeps them apart if the row gets narrow. */\n .oc-table-footer-row {\n display: flex;\n align-items: baseline;\n gap: 16px;\n padding: 16px 16px 4px;\n }\n\n /* Chrome block sits inside the flex row now, so it no longer owns the\n * footer's top padding or horizontal inset (the row provides both). */\n .oc-chrome-footer {\n padding-top: 0;\n }\n\n /* Brand watermark: pushed to the right edge (margin-left:auto holds it there\n * even when the source text is absent), never shrinks below its own text. */\n .oc-table-footer-row .oc-table-ref {\n margin-left: auto;\n flex-shrink: 0;\n text-align: right;\n }\n}\n","@layer oc.components {\n /* ---------------------------------------------------------------------------\n * Map reader zoom (geo.zoom)\n * The overlay is pinned to the map area (left/top/width/height stamped in %\n * by vanilla/src/map-zoom.ts) and passes pointer events through, so only the\n * buttons are hit targets. Surfaces reuse the tooltip tokens: a translucent\n * card that reads over any fill, light or dark.\n * --------------------------------------------------------------------------- */\n\n .oc-map-zoom {\n position: absolute;\n pointer-events: none;\n z-index: 2;\n }\n\n .oc-map-zoom-controls {\n position: absolute;\n top: 8px;\n right: 8px;\n display: flex;\n flex-direction: column;\n pointer-events: auto;\n background: var(--oc-tooltip-bg);\n backdrop-filter: blur(14px);\n border: 1px solid var(--oc-tooltip-border);\n border-radius: var(--oc-radius-md);\n box-shadow: var(--oc-tooltip-shadow);\n overflow: hidden;\n }\n\n .oc-map-zoom-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n margin: 0;\n padding: 0;\n border: none;\n background: none;\n color: var(--oc-text);\n font: inherit;\n cursor: pointer;\n transition:\n background var(--oc-hover-duration) ease-out,\n opacity var(--oc-hover-duration) ease-out;\n\n & + & {\n border-top: 1px solid var(--oc-tooltip-border);\n }\n\n &:hover:not(:disabled) {\n background: var(--oc-focus-ring);\n }\n\n &:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: -2px;\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.35;\n }\n }\n\n /* Short-lived \"use ctrl/cmd + scroll\" hint after a plain wheel over the map. */\n .oc-map-zoom-hint {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: calc(100% - 32px);\n padding: 8px 12px;\n background: var(--oc-tooltip-bg);\n backdrop-filter: blur(14px);\n border: 1px solid var(--oc-tooltip-border);\n border-radius: var(--oc-radius-md);\n box-shadow: var(--oc-tooltip-shadow);\n color: var(--oc-tooltip-text);\n font-family: var(--oc-font-family);\n font-size: 13px;\n line-height: 1.3;\n text-align: center;\n opacity: 0;\n transition: opacity 200ms ease-out;\n\n &[data-visible] {\n opacity: 1;\n }\n }\n\n /* The SVG is focusable while zoom is on (keyboard: + - arrows 0). */\n .oc-map:focus {\n outline: none;\n }\n\n .oc-map:focus-visible {\n outline: 2px solid var(--oc-focus);\n outline-offset: 2px;\n }\n\n .oc-map[data-oc-zoomed] {\n cursor: grab;\n }\n\n /* The SVG holds pointer capture during a drag, so its cursor is the one shown. */\n .oc-map--panning {\n cursor: grabbing;\n }\n}\n","@layer oc.components {\n /**\n * Sparkline display mode.\n *\n * Stamped on the SVG root as data-display=\"sparkline\" by the renderer when\n * the spec sets display: 'sparkline'. Strips any inherited padding/margin\n * so the mark renders truly edge-to-edge in tight container layouts (KPI\n * cards, table cells, dashboard tiles).\n */\n\n .oc-chart[data-display=\"sparkline\"] {\n display: block;\n margin: 0;\n padding: 0;\n }\n\n /**\n * Data-arrival pulse. The update driver stamps `oc-pulse` on the sparkline's\n * terminator dot when a transition finishes and strips it 600ms later.\n * Deliberately not scoped under `.oc-animate`: that class only exists during\n * the entrance window, and this fires on updates.\n */\n .oc-chart[data-display=\"sparkline\"] .oc-pulse {\n animation: oc-pulse 600ms ease-out;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .oc-chart[data-display=\"sparkline\"] .oc-pulse {\n animation: none;\n }\n }\n}\n"],"names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendata-ai/openchart-react",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.2",
|
|
4
4
|
"description": "React components for openchart: <Chart />, <DataTable />, <VizThemeProvider />",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Riley Hilliard",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"typecheck": "tsc --noEmit"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@opendata-ai/openchart-core": "9.2.
|
|
57
|
-
"@opendata-ai/openchart-engine": "9.2.
|
|
58
|
-
"@opendata-ai/openchart-vanilla": "9.2.
|
|
56
|
+
"@opendata-ai/openchart-core": "9.2.2",
|
|
57
|
+
"@opendata-ai/openchart-engine": "9.2.2",
|
|
58
|
+
"@opendata-ai/openchart-vanilla": "9.2.2"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"react": ">=18.0.0",
|