{"version":3,"sourceRoot":null,"mappings":"AAQA,kBACE,oKAWA,0WAeA,mGAQA,wSAYE,wBAQF,sDAMA,mHAGA,qHASA,uKAMA,qJAKA,mJAOA,mGAMA,kEAIA,sDAGA,0JASA,sCACE,2GAQA,8GASA,+GAOA,uHAYF,+NAYE,yRAgBE,kGAIA,uGAKA,0CAIA,8DAIA,mEAMJ,iHAKA,4FAMA,4GAOA,kEAIA,qOAWE,2CAMF,0EAIA,4BAKA,iJAME,uBAGA,sCAKF,4FAIA,gWAmBE,yDAOF,wMASA,oPAcA,mMAYE,8FAIF,iEAGE,uFAKF,4HAQA,0EAIA,iEAGA,sEAKA,2DAKA,yHAOE,oFAKA,qQAYA,8FAOF,4FAME,iGAOA,uFAOF,sFAME,0NAYF,0FAWA,qCAGA,oKAWE,mFAGA,2HASA,wGAQA,6HASA,gIAGA,qVAiBE,kCAOJ,sBACE,oHAGA,qDAKF,uCACE,oEAKF,+BACE,qHAGA,sFAKF,8BAEE,yEAGA,sEAGA,4EAGA,4FAYF,6NAYE,sBAGA,8EAMA,6UAcA,uHAQA,2DAGA,0EAKA,oCAGA,4HAOA,8BAGA,gCAGA,iCAGA,mCAGA,gCAGA,oIAMA,4GAQA,0DAIA,kLAQA,qDAGA,mCAGA,qCAGA,gKAOA,mKAQA,mFAKA,gDAGA,oEAUA,8xCA6BA,sLAOA,qEAGA,gFAGA,oJAMA,2JAKA,wGAGA,wGAKA,uHAKA,qDAKA,uLAOA,wIAKA,2NASA,0LAWA,sGAMA,+FAKA,wIAKA,iBACE,2BAGA,2CAMJ,8CACE,8JAKF,0FASA,uCAEE,6HAQF,+BACE,6HAMF,8BACE,qDAIA","sources":["dist/components/wysiwyg.css"],"sourcesContent":["/* ── components/code-example/code-example.css ── */\n/* -- HTML Preview Editor (code-example) ---------------------------------------\n   A live preview stage (sandboxed iframe in a device frame with resize\n   handles), a device toolbar, and the source editor: a <textarea> over a\n   Shiki-coloured paint layer with the same box metrics - once a paint is in\n   place (data-painted) the textarea's glyphs turn transparent and only its\n   caret and selection show. Shipped in the wysiwyg bundle (wysiwyg.css). */\n\n@layer components {\n  .code-example {\n    --code-example-pad: 0.75rem;\n    --code-example-font-size: 0.75rem;\n    --code-example-line-height: 1.5;\n\n    display: block;\n    margin: 0.75rem 0 1.5rem;\n    color: var(--foreground);\n  }\n\n  /* -- the stage ------------------------------------------------ */\n  .code-example-stage {\n    position: relative;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    min-height: 11rem;\n    padding: 0.75rem;\n    overflow: hidden;\n    border: 1px solid var(--border);\n    border-radius: var(--radius-xl) var(--radius-xl) 0 0;\n    background-color: var(--background);\n    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);\n    background-size: 24px 24px;\n  }\n\n  .code-example-frame {\n    display: block;\n    width: 100%;\n    min-height: 8rem;\n    border: 0;\n    background: var(--background);\n  }\n\n  .code-example-error {\n    display: block;\n    margin: 0;\n    padding: 0.625rem 0.875rem;\n    border-top: 1px solid var(--destructive);\n    background: color-mix(in oklch, var(--destructive) 12%, var(--background));\n    color: var(--destructive);\n    font-family: var(--font-mono);\n    font-size: 0.75rem;\n    white-space: pre-wrap;\n    overflow-wrap: anywhere;\n\n    &[hidden] {\n      display: none;\n    }\n  }\n\n  /* -- device emulation ------------------------------------------ */\n  /* the stage is a flex row - the screen grows into it, or Full mode\n     would shrink-wrap the iframe to a sliver */\n  .code-example-screen {\n    display: block;\n    flex: 1;\n    min-width: 0;\n  }\n  /* measured modes (full / desktop): a dashed outline keeps the canvas visible at any width */\n  .code-example-screen:is([data-mode=\"full\"], [data-mode=\"desktop\"]) .code-example-device {\n    border: 1px dashed var(--border);\n  }\n  .code-example-device {\n    position: relative;\n    display: block;\n    box-sizing: border-box;\n    width: 100%;\n    min-width: 0;\n    margin-inline: auto;\n  }\n  /* a dark fixed-colour shell reads as hardware in both themes */\n  .code-example-screen:is([data-mode=\"phone\"], [data-mode=\"tablet\"]) .code-example-device {\n    overflow: hidden;\n    border-style: solid;\n    border-color: #18181b;\n    box-shadow: var(--shadow-lg);\n  }\n  .code-example-screen[data-mode=\"phone\"] .code-example-device {\n    --code-example-bezel: 0.6875rem;\n    border-width: var(--code-example-bezel);\n    border-radius: 2.5rem;\n  }\n  .code-example-screen[data-mode=\"tablet\"] .code-example-device {\n    --code-example-bezel: 0.5rem;\n    border-width: var(--code-example-bezel);\n    border-radius: 1.5rem;\n  }\n  /* the resizer (handles on every side) is the canvas box: the toolbar\n     writes its size, the device fills it */\n  .code-example-screen .code-example-resizer {\n    display: block;\n    width: 100%;\n    min-width: 0;\n    margin-inline: auto;\n  }\n  .code-example-resizer > .code-example-device {\n    width: 100%;\n    height: 100%;\n  }\n  .code-example-resizer[data-resizing] {\n    outline-offset: 0;\n  }\n  .code-example-device-island,\n  .code-example-device-home {\n    position: absolute;\n    z-index: 1;\n    display: none;\n    border-radius: 999px;\n    background: #18181b;\n    pointer-events: none;\n  }\n  .code-example-screen[data-mode=\"phone\"] {\n    & .code-example-device-island {\n      display: block;\n      top: 0.375rem;\n      left: 50%;\n      translate: -50% 0;\n      width: 6rem;\n      height: 1.375rem;\n    }\n    & .code-example-device-home {\n      display: block;\n      bottom: 0.375rem;\n      left: 50%;\n      translate: -50% 0;\n      width: 7.5rem;\n      height: 0.4375rem;\n    }\n    /* landscape: the island slides to the left edge, the home bar to the right */\n    &[data-landscape] .code-example-device-island {\n      top: 50%;\n      left: 0.375rem;\n      translate: 0 -50%;\n      width: 1.375rem;\n      height: 6rem;\n    }\n    &[data-landscape] .code-example-device-home {\n      top: 50%;\n      right: 0.375rem;\n      bottom: auto;\n      left: auto;\n      translate: 0 -50%;\n      width: 0.4375rem;\n      height: 7.5rem;\n    }\n  }\n\n  /* -- the toolbar ------------------------------------------------ */\n  .code-example-toolbar {\n    display: flex;\n    flex-wrap: wrap;\n    align-items: center;\n    gap: 0.25rem;\n    padding: 0.25rem 0.375rem;\n    border: 1px solid var(--border);\n    border-top: 0;\n    border-radius: 0 0 var(--radius-md) var(--radius-md);\n    background: var(--muted);\n\n    /* a tool is a button - or a link (an \"Open in ...\" a page adds): it looks the same, never like a page link */\n    & :is(button, a[href]) {\n      display: inline-flex;\n      align-items: center;\n      gap: 0.3rem;\n      padding: 0.25rem 0.625rem;\n      border: 0;\n      border-radius: var(--radius-sm);\n      appearance: none;\n      background: transparent;\n      color: var(--muted-foreground);\n      font: inherit;\n      font-size: 0.75rem;\n      line-height: inherit;\n      text-decoration: none;\n      cursor: pointer;\n\n      &:hover {\n        background: color-mix(in oklch, var(--foreground) 8%, transparent);\n        color: var(--foreground);\n      }\n      &[aria-pressed=\"true\"] {\n        background: var(--background);\n        color: var(--foreground);\n        box-shadow: var(--shadow-2xs);\n      }\n      &:disabled {\n        opacity: 0.45;\n        cursor: not-allowed;\n      }\n      &:disabled:hover {\n        background: transparent;\n        color: var(--muted-foreground);\n      }\n      &:focus-visible {\n        outline: 2px solid var(--ring);\n        outline-offset: 1px;\n      }\n    }\n  }\n  :is(.code-example-toolbar, .code-example-copy, .code-example-full-exit) svg {\n    flex: none;\n    width: 0.875rem;\n    height: 0.875rem;\n  }\n  .code-example-viewport,\n  .code-example-size {\n    display: inline-flex;\n    align-items: center;\n    gap: 0.25rem;\n  }\n  .code-example-sep {\n    align-self: stretch;\n    width: 1px;\n    min-height: 1.25rem;\n    margin: 0 0.375rem;\n    background: var(--border);\n  }\n  .code-example-vp-x {\n    color: var(--muted-foreground);\n    font-size: 0.75rem;\n  }\n  .code-example-size input[type=\"number\"] {\n    width: 4.25rem;\n    height: 1.5rem;\n    padding: 0 0.375rem;\n    border: 1px solid var(--border);\n    border-radius: var(--radius-sm);\n    background: var(--background);\n    color: var(--foreground);\n    font: inherit;\n    font-size: 0.75rem;\n\n    &:disabled {\n      opacity: 0.45;\n      cursor: not-allowed;\n    }\n  }\n  /* zoom carries a 2-3 digit % */\n  .code-example-size input.code-example-vp-z {\n    width: 3.5rem;\n    margin-left: 0.5rem;\n  }\n  .code-example-spacer {\n    flex: 1;\n  }\n\n  /* -- the panels --------------------------------------------------- */\n  .code-example-panel {\n    border: 1px solid var(--border);\n    border-top: 0;\n    border-radius: 0 0 var(--radius-md) var(--radius-md);\n    background: var(--background);\n\n    &[hidden] {\n      display: none;\n    }\n    &[data-panel=\"code\"] {\n      position: relative;\n    }\n  }\n  /* the toolbar's corners square off while a panel hangs below it */\n  .code-example:has(> .code-example-panel:not([hidden])) .code-example-toolbar {\n    border-radius: 0;\n  }\n  /* Copy floats over the editor - it exists exactly while the source shows */\n  .code-example-copy {\n    position: absolute;\n    top: 0.5rem;\n    right: 0.5rem;\n    z-index: 3;\n    display: inline-flex;\n    align-items: center;\n    gap: 0.3rem;\n    padding: 0.25rem 0.625rem;\n    border: 1px solid var(--border);\n    border-radius: var(--radius-sm);\n    appearance: none;\n    background: var(--background);\n    color: var(--muted-foreground);\n    font: inherit;\n    font-size: 0.75rem;\n    box-shadow: var(--shadow-2xs);\n    cursor: pointer;\n\n    &:hover {\n      background: var(--muted);\n      color: var(--foreground);\n    }\n  }\n\n  /* -- the editor: a textarea over the paint layer, same metrics ------- */\n  .code-example-editor {\n    position: relative;\n    display: block;\n    min-inline-size: 0;\n    overflow: hidden;\n    font-family: var(--font-mono);\n    font-size: var(--code-example-font-size);\n    line-height: var(--code-example-line-height);\n  }\n  .code-example-src,\n  .code-example-paint {\n    box-sizing: border-box;\n    margin: 0;\n    padding: var(--code-example-pad);\n    border: 0;\n    font: inherit;\n    letter-spacing: normal;\n    tab-size: 2;\n    white-space: pre-wrap;\n    overflow-wrap: break-word;\n    word-break: normal;\n    scrollbar-gutter: stable;\n  }\n  .code-example-src {\n    position: relative;\n    z-index: 1;\n    display: block;\n    inline-size: 100%;\n    min-block-size: 6rem;\n    resize: vertical;\n    outline: none;\n    background: transparent;\n    color: var(--foreground);\n    caret-color: var(--foreground);\n\n    &:focus-visible {\n      box-shadow: inset 0 0 0 2px color-mix(in oklch, var(--ring) 45%, transparent);\n    }\n  }\n  .code-example-editor[data-painted] .code-example-src {\n    color: transparent;\n\n    &::selection {\n      color: transparent;\n      background: color-mix(in oklch, var(--ring) 30%, transparent);\n    }\n  }\n  .code-example-paint {\n    position: absolute;\n    inset: 0;\n    overflow: hidden;\n    color: var(--foreground);\n    pointer-events: none;\n    visibility: hidden;\n  }\n  .code-example-editor[data-painted] .code-example-paint {\n    visibility: visible;\n  }\n  /* Shiki writes each token's colours as --code-example-light / -dark */\n  .code-example-paint span {\n    color: var(--code-example-light, inherit);\n  }\n  .dark .code-example-paint span {\n    color: var(--code-example-dark, inherit);\n  }\n\n  /* -- schema-generated state controls ------------------------------ */\n  .code-example-states {\n    display: grid;\n    gap: 0.5rem;\n    padding: 0.75rem;\n  }\n  .code-example-row {\n    display: grid;\n    grid-template-columns: 8rem minmax(0, 1fr);\n    align-items: center;\n    gap: 0.75rem;\n    font-size: 0.8125rem;\n\n    & > label {\n      color: var(--muted-foreground);\n      font-family: var(--font-mono);\n      font-size: 0.75rem;\n    }\n    & :is(input[type=\"text\"], input[type=\"number\"], select) {\n      box-sizing: border-box;\n      width: 100%;\n      height: 1.75rem;\n      padding: 0 0.5rem;\n      border: 1px solid var(--border);\n      border-radius: var(--radius-sm);\n      background: var(--background);\n      color: var(--foreground);\n      font: inherit;\n      font-size: 0.8125rem;\n    }\n    & input[type=\"checkbox\"] {\n      justify-self: start;\n      width: 1rem;\n      height: 1rem;\n      accent-color: var(--primary);\n    }\n  }\n  .code-example-radio-group {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 0.25rem 0.875rem;\n    font-size: 0.8125rem;\n\n    & label {\n      display: inline-flex;\n      align-items: center;\n      gap: 0.25rem;\n      color: var(--foreground);\n      cursor: pointer;\n    }\n    & input[type=\"radio\"] {\n      width: 0.875rem;\n      height: 0.875rem;\n      margin: 0;\n      accent-color: var(--primary);\n    }\n  }\n  .code-example-actions {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 0.375rem;\n    padding: 0 0.75rem 0.75rem;\n\n    & button {\n      padding: 0.25rem 0.625rem;\n      border: 1px solid var(--border);\n      border-radius: var(--radius-sm);\n      appearance: none;\n      background: var(--secondary);\n      color: var(--secondary-foreground);\n      font: inherit;\n      font-size: 0.75rem;\n      cursor: pointer;\n    }\n  }\n  .code-example-note {\n    margin: 0;\n    padding: 0.75rem;\n    color: var(--muted-foreground);\n    font-size: 0.75rem;\n  }\n\n  /* -- fullscreen ---------------------------------------------------- */\n  /* the whole card fills the screen (native fullscreen when granted, a\n     fixed overlay otherwise): stage on top, open panel below it, the\n     toolbar docked at the bottom, the exit button top-right */\n  .code-example-full-exit {\n    display: none;\n  }\n  .code-example[data-fullscreen] {\n    position: fixed;\n    inset: 0;\n    z-index: 60;\n    display: flex;\n    flex-direction: column;\n    margin: 0;\n    padding: 0;\n    overflow: hidden;\n    background: var(--background);\n\n    & > :not(.code-example-stage, .code-example-toolbar, .code-example-panel) {\n      display: none;\n    }\n    & .code-example-stage {\n      order: 1;\n      flex: 1 1 0;\n      min-height: 0;\n      overflow: auto !important;\n      border-inline: 0;\n      border-top: 0;\n      border-radius: 0;\n    }\n    & .code-example-panel {\n      order: 2;\n      flex: 0 1 auto;\n      max-height: 40vh;\n      overflow: auto;\n      border-inline: 0;\n      border-radius: 0;\n    }\n    & .code-example-toolbar {\n      order: 3;\n      flex: none;\n      padding: 0.375rem 0.75rem;\n      border: 0;\n      border-top: 1px solid var(--border);\n      border-radius: 0;\n    }\n    /* measured modes fill the stage instead of shrink-wrapping short content */\n    & .code-example-screen:not([data-mode=\"phone\"], [data-mode=\"tablet\"]) .code-example-frame {\n      min-height: calc(100dvh - 6.5rem) !important;\n    }\n    & .code-example-full-exit {\n      position: absolute;\n      top: 0.75rem;\n      right: 0.75rem;\n      z-index: 5;\n      display: inline-flex;\n      align-items: center;\n      justify-content: center;\n      width: 2rem;\n      height: 2rem;\n      padding: 0;\n      border: 1px solid var(--border);\n      border-radius: var(--radius-md);\n      background: color-mix(in oklch, var(--background) 85%, transparent);\n      color: var(--foreground);\n      cursor: pointer;\n\n      &:hover {\n        background: var(--muted);\n      }\n    }\n  }\n\n  /* phones: the labelled toolbar cannot fit - icon-only buttons (title and aria-label name them) */\n  @media (max-width: 30rem) {\n    :is(.code-example-vp, .code-example-tab, .code-example-copy, .code-example-reset, .code-example-full) span {\n      display: none;\n    }\n    .code-example-size input[type=\"number\"] {\n      width: 3.25rem;\n    }\n  }\n\n  @media (prefers-reduced-motion: reduce) {\n    .code-example * {\n      transition: none !important;\n      animation: none !important;\n    }\n  }\n  @media (prefers-contrast: more) {\n    :is(.code-example-stage, .code-example-toolbar, .code-example-panel, .code-example-copy) {\n      border-color: var(--foreground);\n    }\n    .code-example-toolbar :is(button, a[href]),\n    .code-example-vp-x {\n      color: var(--foreground);\n    }\n  }\n  @media (forced-colors: active) {\n    /* system colours own the editor: no paint layer, plain text */\n    .code-example-editor[data-painted] .code-example-paint {\n      visibility: hidden;\n    }\n    .code-example-editor[data-painted] .code-example-src {\n      color: CanvasText;\n    }\n    .code-example-toolbar button[aria-pressed=\"true\"] {\n      outline: 2px solid Highlight;\n    }\n    :is(.code-example-stage, .code-example-toolbar, .code-example-panel) {\n      border-color: CanvasText;\n    }\n  }\n}\n\n/* ── components/editorjs/editorjs.css ── */\n/* -- Editor.js integration ------------------------------------------------ */\n/* The holder Editor.js mounts into, in the theme's tokens: a shimmer until */\n/* the editor is ready, the tools' own classes (ce-*, cdx-*) themed, a      */\n/* readonly look, the inline marks a comment column adds.                   */\n@layer components {\n  .editorjs {\n    --editorjs-measure: 44rem;\n    --editorjs-min-height: 12rem;\n\n    position: relative;\n    display: block;\n    min-block-size: var(--editorjs-min-height);\n    color: var(--foreground);\n    font-family: var(--font-sans);\n    font-size: 1rem;\n    line-height: 1.7;\n\n    & > script {\n      display: none;\n    }\n    & > .editorjs-holder {\n      max-inline-size: var(--editorjs-measure);\n      margin-inline: auto;\n    }\n\n    /* until the editor mounted: a quiet shimmer where the document will be */\n    &:not([data-ready]) > .editorjs-holder,\n    &:not([data-ready]):not(:has(> .editorjs-holder))::before {\n      content: \"\";\n      display: block;\n      min-block-size: var(--editorjs-min-height);\n      border-radius: var(--radius-lg);\n      background: linear-gradient(\n        90deg,\n        transparent,\n        color-mix(in oklab, var(--foreground) 6%, transparent),\n        transparent\n      );\n      background-size: 200% 100%;\n    }\n    &[data-error]::after {\n      content: \"The editor could not be loaded.\";\n      display: block;\n      color: var(--destructive);\n      font-size: 0.875rem;\n    }\n\n    /* Editor.js's own structure, in tokens: the block, its content, the tools */\n    & .codex-editor__redactor {\n      padding-block-end: 2rem !important;\n    }\n    & .ce-block__content,\n    & .ce-toolbar__content {\n      max-inline-size: none;\n      margin: 0;\n    }\n    & .ce-paragraph {\n      line-height: inherit;\n    }\n    & .ce-header {\n      margin-block: 1.25em 0.4em;\n      font-family: var(--font-serif);\n      font-weight: 600;\n      letter-spacing: -0.01em;\n      text-wrap: balance;\n    }\n    & h1.ce-header {\n      font-size: 2rem;\n    }\n    & h2.ce-header {\n      font-size: 1.5rem;\n    }\n    & h3.ce-header {\n      font-size: 1.25rem;\n    }\n    & h4.ce-header {\n      font-size: 1.0625rem;\n    }\n    & .cdx-block {\n      padding-block: 0.3em;\n    }\n    & .cdx-quote {\n      padding-inline-start: 1rem;\n      border-inline-start: 3px solid var(--primary);\n      color: var(--muted-foreground);\n      font-style: italic;\n    }\n    & .cdx-quote__text,\n    & .cdx-quote__caption {\n      border: 0;\n      box-shadow: none;\n      background: none;\n      padding: 0;\n      min-block-size: 0;\n    }\n    & .cdx-quote__caption {\n      font-size: 0.875rem;\n      font-style: normal;\n    }\n    & .ce-code__textarea {\n      border: 1px solid var(--border);\n      border-radius: var(--radius-md);\n      background: var(--muted);\n      color: var(--foreground);\n      font-family: var(--font-mono);\n      font-size: 0.875rem;\n    }\n    & .ce-delimiter::before {\n      color: var(--muted-foreground);\n    }\n    & .cdx-list {\n      padding-inline-start: 0;\n    }\n    & .cdx-list__item {\n      padding-block: 0.2em;\n    }\n    & .cdx-marker,\n    & mark.cdx-marker {\n      padding: 0.05em 0.1em;\n      border-radius: var(--radius-sm);\n      background: color-mix(in oklab, var(--chart-4) 45%, transparent);\n      color: inherit;\n    }\n    & code.inline-code {\n      padding: 0.1em 0.35em;\n      border-radius: var(--radius-sm);\n      background: var(--muted);\n      color: var(--foreground);\n      font-family: var(--font-mono);\n      font-size: 0.875em;\n    }\n    & .tc-table,\n    & .tc-wrap {\n      --color-border: var(--border);\n      --color-background: var(--card);\n    }\n    & .tc-table .tc-cell {\n      border-color: var(--border);\n    }\n    & .tc-row--heading .tc-cell {\n      font-weight: 600;\n      background: var(--muted);\n    }\n\n    /* Editor.js paints its popovers, toolbars and the table's popover from its own custom\n       properties, declared on those elements - redeclare them from the theme tokens (two\n       classes beat its one), so dark mode and every preset reach them.\n       VERIFIED: (editorjs.e2e \"dark mode\") no light surface or light-on-light text inside\n       the editor with the + popover open on a .dark page. */\n    & .ce-popover,\n    & .ce-toolbar,\n    & .ce-inline-toolbar,\n    & .ce-conversion-toolbar,\n    & .ce-settings,\n    & .tc-popover,\n    & .tc-toolbox,\n    & .tc-wrap {\n      --color-background: var(--popover) !important;\n      --color-background-hover: var(--accent) !important;\n      --color-background-item-hover: var(--accent) !important;\n      --color-background-item-focus: var(--accent) !important;\n      --color-background-icon-active: var(--accent) !important;\n      --color-background-item-confirm: var(--destructive) !important;\n      --color-background-item-confirm-hover: color-mix(in oklab, var(--destructive) 85%, var(--foreground)) !important;\n      --color-background-confirm: var(--destructive) !important;\n      --color-background-confirm-hover: color-mix(in oklab, var(--destructive) 85%, var(--foreground)) !important;\n      --color-text-primary: var(--popover-foreground) !important;\n      --color-text-secondary: var(--muted-foreground) !important;\n      --color-text-icon-active: var(--accent-foreground) !important;\n      --color-text-confirm: var(--destructive-foreground) !important;\n      --color-border: var(--border) !important;\n      --color-border-icon: var(--border) !important;\n      --color-shadow: color-mix(in oklab, var(--foreground) 12%, transparent) !important;\n      --color-shadow-item-focus: color-mix(in oklab, var(--ring) 35%, transparent) !important;\n      --color-dark: var(--foreground) !important;\n      --color-active-icon: var(--primary) !important;\n      color-scheme: inherit;\n    }\n    & .ce-popover__container,\n    & .ce-popover__search,\n    & .cdx-search-field {\n      background: var(--popover) !important;\n      color: var(--popover-foreground) !important;\n      border-color: var(--border) !important;\n    }\n    & .cdx-search-field__input {\n      color: var(--popover-foreground) !important;\n    }\n    & .cdx-search-field__input::placeholder {\n      color: var(--muted-foreground) !important;\n    }\n    & .ce-popover-item__icon,\n    & .ce-popover-item__icon svg,\n    & .tc-toolbox__toggler svg {\n      background: transparent !important;\n      color: var(--popover-foreground) !important;\n    }\n    & .cdx-list__checkbox-check {\n      --checkbox-background: var(--card) !important;\n      --color-border: var(--border) !important;\n      --color-bg-checked: var(--primary) !important;\n    }\n    & .cdx-list__checkbox--checked .cdx-list__checkbox-check svg {\n      stroke: var(--primary-foreground) !important;\n    }\n    & .tc-add-column,\n    & .tc-add-row {\n      background: var(--card) !important;\n      color: var(--muted-foreground) !important;\n    }\n    & .tc-add-column:hover,\n    & .tc-add-row:hover {\n      background: var(--accent) !important;\n      color: var(--accent-foreground) !important;\n    }\n    & .tc-table {\n      --color-background: var(--card) !important;\n    }\n\n    /* the toolbars Editor.js shows: the + and the settings handle, the inline toolbar */\n    & .ce-toolbar__plus,\n    & .ce-toolbar__settings-btn {\n      color: var(--muted-foreground) !important;\n      background: var(--card) !important;\n      border: 1px solid var(--border);\n      border-radius: var(--radius-md);\n    }\n    & .ce-toolbar__plus:hover,\n    & .ce-toolbar__settings-btn:hover {\n      background: var(--accent) !important;\n      color: var(--accent-foreground) !important;\n    }\n    & .ce-popover__container,\n    & .ce-inline-toolbar,\n    & .ce-conversion-toolbar {\n      background: var(--popover);\n      color: var(--popover-foreground);\n      border: 1px solid var(--border);\n      border-radius: var(--radius-lg);\n      box-shadow: var(--shadow-md);\n    }\n    & .ce-popover-item:hover,\n    & .ce-inline-tool:hover,\n    & .ce-conversion-tool:hover {\n      background: var(--accent);\n      color: var(--accent-foreground);\n    }\n    & .ce-popover-item--active,\n    & .ce-inline-tool--active {\n      background: var(--accent);\n      color: var(--accent-foreground);\n    }\n    & .ce-popover-item__icon,\n    & .ce-conversion-tool__icon {\n      background: var(--muted);\n      border: 0;\n      box-shadow: none;\n    }\n    & .cdx-search-field {\n      background: var(--muted);\n      border-color: var(--border);\n      color: var(--foreground);\n    }\n    & .ce-block--selected .ce-block__content {\n      background: color-mix(in oklab, var(--primary) 10%, transparent);\n      border-radius: var(--radius-md);\n    }\n\n    &[data-readonly] {\n      & .ce-toolbar {\n        display: none;\n      }\n      & .codex-editor__redactor {\n        cursor: default;\n      }\n    }\n  }\n\n  @media (prefers-reduced-motion: no-preference) {\n    .editorjs:not([data-ready]) > .editorjs-holder,\n    .editorjs:not([data-ready]):not(:has(> .editorjs-holder))::before {\n      animation: editorjs-shimmer 1.4s linear infinite;\n    }\n  }\n  @keyframes editorjs-shimmer {\n    from {\n      background-position: 200% 0;\n    }\n    to {\n      background-position: -200% 0;\n    }\n  }\n\n  @media (prefers-reduced-motion: reduce) {\n    /* Editor.js fades every block in (its own .ce-block animation) and transitions its toolbars */\n    .editorjs .ce-block,\n    .editorjs .ce-toolbar,\n    .editorjs .ce-inline-toolbar,\n    .editorjs .ce-popover {\n      animation: none;\n      transition: none;\n    }\n  }\n  @media (prefers-contrast: more) {\n    .editorjs .ce-code__textarea,\n    .editorjs .ce-toolbar__plus,\n    .editorjs .ce-toolbar__settings-btn {\n      border-color: var(--foreground);\n    }\n  }\n  @media (forced-colors: active) {\n    .editorjs .cdx-marker {\n      background: Mark;\n      color: MarkText;\n    }\n    .editorjs .ce-block--selected .ce-block__content {\n      outline: 2px solid Highlight;\n      background: none;\n    }\n  }\n}\n"],"names":[]}