
/* /src/routes/_protected/changelog/-styles.css */
.changelog-print-logo {
  display: none;
}

@media print {
  @page {
    margin: 16mm 14mm;
  }

  body[data-print-surface='changelog'] {
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body[data-print-surface='changelog'] [data-slot='sidebar-container'],
  body[data-print-surface='changelog'] [data-slot='sidebar-gap'],
  body[data-print-surface='changelog'] [data-sonner-toaster],
  body[data-print-surface='changelog'] .changelog-print-hidden {
    display: none !important;
  }

  body[data-print-surface='changelog'] [data-slot='sidebar-wrapper'],
  body[data-print-surface='changelog'] .changelog-print-shell,
  body[data-print-surface='changelog'] .changelog-print-shell *,
  body[data-print-surface='changelog'] .changelog-print-page {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body[data-print-surface='changelog'] .changelog-print-shell {
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  body[data-print-surface='changelog'] .changelog-print-page {
    padding: 0 !important;
    color: #111827 !important;
  }

  body[data-print-surface='changelog'] .changelog-print-logo {
    display: block !important;
  }

  body[data-print-surface='changelog'] .changelog-print-page [data-slot='button'],
  body[data-print-surface='changelog'] .changelog-print-page a:has([data-slot='button']) {
    display: none !important;
  }

  body[data-print-surface='changelog'] .changelog-print-page a {
    color: #1d4ed8 !important;
    text-decoration: underline;
  }

  body[data-print-surface='changelog'] .changelog-print-page h1,
  body[data-print-surface='changelog'] .changelog-print-page h2,
  body[data-print-surface='changelog'] .changelog-print-page h3,
  body[data-print-surface='changelog'] .changelog-print-page h4,
  body[data-print-surface='changelog'] .changelog-print-page p,
  body[data-print-surface='changelog'] .changelog-print-page li,
  body[data-print-surface='changelog'] .changelog-print-page time {
    color: #111827 !important;
  }

  body[data-print-surface='changelog'] .changelog-print-page figure,
  body[data-print-surface='changelog'] .changelog-print-page img {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body[data-print-surface='changelog'] .changelog-print-page iframe,
  body[data-print-surface='changelog'] .changelog-print-page video {
    display: none !important;
  }
}


/* /src/components/layout/workspace/command-menu.css */
@property --claudius-border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 35deg;
}

@keyframes claudius-border-spin {
  from {
    --claudius-border-angle: 35deg;
  }

  to {
    --claudius-border-angle: 395deg;
  }
}

@keyframes claudius-icon-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  55% {
    transform: rotate(305deg) scale(1.08);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.claudius-ai-button {
  --claudius-border-angle: 35deg;
  background: rgb(167 139 250 / 0.45);
}

.claudius-ai-button:hover {
  background: conic-gradient(
    from var(--claudius-border-angle),
    rgb(221 214 254) 0deg,
    rgb(168 85 247) 110deg,
    rgb(236 72 153) 210deg,
    rgb(168 85 247) 310deg,
    rgb(221 214 254) 360deg
  );
}

@media (prefers-reduced-motion: no-preference) {
  .claudius-ai-button:hover {
    animation: claudius-border-spin 1.1s linear infinite;
  }

  .claudius-ai-button:hover .claudius-ai-button-icon {
    animation: claudius-icon-spin 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}


/* /src/components/conversation/message/message-ui.css */
@keyframes conversation-pulse {
  50% {
    opacity: 0.5;
  }
}

@keyframes conversation-status-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.conversation-pulse {
  animation: conversation-pulse var(--conversation-pulse-duration, 4.2s)
    cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#conversation-message-list {
  --conversation-pulse-duration: 4.2s;
}

@property --conversation-sub-agent-border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes conversation-sub-agent-border-run {
  100% {
    --conversation-sub-agent-border-angle: 360deg;
  }
}

[data-component='conversation-sub-agent-tool-card'] {
  position: relative;
  isolation: isolate;
}

[data-component='conversation-sub-agent-tool-card'][data-status='pending'] {
  overflow: hidden;
}

[data-component='conversation-sub-agent-tool-card'][data-status='pending']::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--conversation-sub-agent-border-angle),
    transparent 0deg,
    transparent 234deg,
    color-mix(in srgb, rgb(167 139 250) 30%, transparent) 258deg,
    color-mix(in srgb, rgb(216 180 254) 58%, transparent) 278deg,
    color-mix(in srgb, rgb(139 92 246) 38%, transparent) 304deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.88;
  animation: conversation-sub-agent-border-run var(--conversation-pulse-duration, 4.2s) linear
    infinite;
}

[data-component='conversation-status-shimmer'] {
  position: relative;
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  white-space: pre;
}

[data-component='conversation-status-shimmer'] [data-slot='conversation-status-shimmer-base'] {
  white-space: pre;
  transition: opacity 180ms ease;
}

[data-component='conversation-status-shimmer'][data-active='true']
  [data-slot='conversation-status-shimmer-base'] {
  opacity: 0.42;
}

[data-component='conversation-status-shimmer'] [data-slot='conversation-status-shimmer-overlay'] {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: pre;
  opacity: 0;
  background-image: linear-gradient(
    90deg,
    color-mix(in srgb, currentColor 4%, transparent) 0%,
    color-mix(in srgb, white 68%, currentColor 32%) 42%,
    color-mix(in srgb, currentColor 100%, white 12%) 50%,
    color-mix(in srgb, currentColor 18%, transparent) 64%,
    color-mix(in srgb, currentColor 4%, transparent) 100%
  );
  background-size: 260% 100%;
  background-position: 180% 0;
  -webkit-background-clip: text;
  background-clip: text;
  filter: saturate(1.12) brightness(1.16);
  transition:
    opacity 180ms ease,
    filter 180ms ease;
  animation: conversation-status-shimmer 5.2s linear infinite;
}

[data-component='conversation-status-shimmer'][data-active='true']
  [data-slot='conversation-status-shimmer-overlay'] {
  opacity: 1;
}

[data-component='conversation-rolling-status'] {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  white-space: nowrap;
  text-align: start;
}

[data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-suffix'] {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  white-space: nowrap;
}

[data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-prefix'] {
  flex-shrink: 0;
  white-space: nowrap;
}

[data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-swap'],
[data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-tail'] {
  display: inline-grid;
  overflow: hidden;
  justify-items: start;
  min-width: 0;
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-active'],
[data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-done'] {
  grid-area: 1 / 1;
  justify-self: start;
  min-width: 0;
  white-space: nowrap;
  transition-property: opacity, filter, transform;
  transition-duration: 220ms, 180ms, 180ms;
  transition-timing-function: ease-out, ease-out, ease-out;
}

[data-component='conversation-rolling-status'][data-ready='false']
  [data-slot='conversation-rolling-status-swap'],
[data-component='conversation-rolling-status'][data-ready='false']
  [data-slot='conversation-rolling-status-tail'],
[data-component='conversation-rolling-status'][data-ready='false']
  [data-slot='conversation-rolling-status-active'],
[data-component='conversation-rolling-status'][data-ready='false']
  [data-slot='conversation-rolling-status-done'] {
  transition-duration: 0ms;
}

[data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-active'] {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(0.04em);
}

[data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-done'] {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

[data-component='conversation-rolling-status'][data-active='true']
  [data-slot='conversation-rolling-status-active'] {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

[data-component='conversation-rolling-status'][data-active='true']
  [data-slot='conversation-rolling-status-done'] {
  opacity: 0;
  filter: blur(1px);
  transform: translateY(0.04em);
}

@media (prefers-reduced-motion: reduce) {
  .conversation-pulse {
    animation: none;
  }

  [data-component='conversation-sub-agent-tool-card'][data-status='pending']::before {
    animation: none;
  }

  [data-component='conversation-status-shimmer'] [data-slot='conversation-status-shimmer-overlay'] {
    animation: none;
  }

  [data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-swap'],
  [data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-tail'],
  [data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-active'],
  [data-component='conversation-rolling-status'] [data-slot='conversation-rolling-status-done'] {
    transition-duration: 0ms;
  }
}


/* /src/components/conversation/input/text-editor/styles.css */
.conversation-text-editor .tiptap {
  :first-child {
    margin-top: 0;
  }
  outline: none;
  padding: 0;
  /* Default line-height; variant-specific inputs override this inline. */
  line-height: 1.25rem;
  tab-size: 8;
  user-select: text;
  height: 100%;
  width: 100%;

  /* Remove default paragraph margins so single-line input looks centered */
  p {
    margin: 0;
  }

  h1,
  h2,
  h3 {
    font-weight: 600;
    line-height: 1.25;
    margin: 1rem 0 0.375rem;
  }

  h1:first-child,
  h2:first-child,
  h3:first-child {
    margin-top: 0;
  }

  h1 {
    font-size: 1.35em;
  }

  h2 {
    font-size: 1.2em;
  }

  h3 {
    font-size: 1.05em;
  }

  ul,
  ol {
    margin: 0.375rem 0 0.75rem;
    padding-left: 1.5rem;
  }

  ul {
    list-style-type: disc;
  }

  ol {
    list-style-type: decimal;
  }

  li {
    margin: 0.125rem 0;
    padding-left: 0.125rem;
  }

  li p {
    margin: 0;
  }

  blockquote {
    border-left: 3px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    margin: 0.75rem 0;
    padding-left: 0.75rem;
  }

  hr {
    border: 0;
    border-top: 1px solid hsl(var(--border));
    margin: 0.75rem 0;
  }

  table {
    border-collapse: collapse;
    margin: 0.75rem 0;
    width: 100%;
  }

  th,
  td {
    border: 1px solid hsl(var(--border));
    padding: 0.375rem 0.5rem;
    text-align: left;
    vertical-align: top;
  }

  th {
    background-color: hsl(var(--muted));
    font-weight: 600;
  }
}

/* Placeholder styles - Note: Inside .tiptap didn't work when deployed */
.conversation-text-editor .tiptap p.is-editor-empty:first-child::before {
  color: var(--muted-foreground);
  content: attr(data-placeholder);
  float: left;
  height: 0;
  pointer-events: none;
  font-size: inherit;
  line-height: inherit;
}

/* Mention styles */
.mention {
  padding: 0 0.2rem;
  border-radius: 0.4rem;
}

.mention.context-mention-agent {
  background-color: hsl(var(--blue-100));
  color: hsl(var(--blue-500));
}

.mention.context-mention-workflow,
.mention.context-mention-task {
  background-color: hsl(var(--purple-100));
  color: hsl(var(--purple-500));
}

.mention.context-mention-file {
  background-color: hsl(var(--green-100));
  color: hsl(var(--green-500));
}

.conversation-text-editor .tiptap .variable-mention {
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  white-space: nowrap;
}

.conversation-text-editor .tiptap .variable-mention:hover {
  background-color: #bae6fd;
}

.conversation-text-editor .tiptap .variable-mention.ProseMirror-selectednode {
  outline: 2px solid #0284c7;
  outline-offset: 1px;
}

/* Dark theme mention styles */
.dark .mention.context-mention-agent {
  background-color: hsl(var(--blue-700) / 0.3);
  color: hsl(var(--blue-200));
}

.dark .mention.context-mention-workflow,
.dark .mention.context-mention-task {
  background-color: hsl(var(--purple-700) / 0.3);
  color: hsl(var(--purple-200));
}

.dark .mention.context-mention-file {
  background-color: hsl(var(--green-700) / 0.3);
  color: hsl(var(--green-200));
}

.dark .conversation-text-editor .tiptap .variable-mention {
  background-color: hsl(200 80% 20%);
  color: hsl(200 90% 70%);
}

.dark .conversation-text-editor .tiptap .variable-mention:hover {
  background-color: hsl(200 80% 25%);
}

.dark .conversation-text-editor .tiptap .variable-mention.ProseMirror-selectednode {
  outline: 2px solid hsl(200 90% 50%);
}


/* /@fs/workspace/.pnpm/react-pdf@10.4.1_@types+react@19.2.17_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-pdf/dist/Page/AnnotationLayer.css */
/* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

:root {
  --react-pdf-annotation-layer: 1;
  --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
  --input-focus-border-color: Highlight;
  --input-focus-outline: 1px solid Canvas;
  --input-unfocused-border-color: transparent;
  --input-disabled-border-color: transparent;
  --input-hover-border-color: black;
  --link-outline: none;
}

@media screen and (forced-colors: active) {
  :root {
    --input-focus-border-color: CanvasText;
    --input-unfocused-border-color: ActiveText;
    --input-disabled-border-color: GrayText;
    --input-hover-border-color: Highlight;
    --link-outline: 1.5px solid LinkText;
  }
  .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
  .annotationLayer .choiceWidgetAnnotation select:required,
  .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
    outline: 1.5px solid selectedItem;
  }

  .annotationLayer .linkAnnotation:hover {
    backdrop-filter: invert(100%);
  }
}

.annotationLayer {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform-origin: 0 0;
  z-index: 3;
}

.annotationLayer[data-main-rotation='90'] .norotate {
  transform: rotate(270deg) translateX(-100%);
}
.annotationLayer[data-main-rotation='180'] .norotate {
  transform: rotate(180deg) translate(-100%, -100%);
}
.annotationLayer[data-main-rotation='270'] .norotate {
  transform: rotate(90deg) translateY(-100%);
}

.annotationLayer canvas {
  position: absolute;
  width: 100%;
  height: 100%;
}

.annotationLayer section {
  position: absolute;
  text-align: initial;
  pointer-events: auto;
  box-sizing: border-box;
  margin: 0;
  transform-origin: 0 0;
}

.annotationLayer .linkAnnotation {
  outline: var(--link-outline);
}

.textLayer.selecting ~ .annotationLayer section {
  pointer-events: none;
}

.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
  position: absolute;
  font-size: 1em;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a:hover {
  opacity: 0.2;
  background: rgba(255, 255, 0, 1);
  box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
}

.annotationLayer .textAnnotation img {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea),
.annotationLayer .choiceWidgetAnnotation select,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
  background-image: var(--annotation-unfocused-field-background);
  border: 2px solid var(--input-unfocused-border-color);
  box-sizing: border-box;
  font: calc(9px * var(--total-scale-factor)) sans-serif;
  height: 100%;
  margin: 0;
  vertical-align: top;
  width: 100%;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):required,
.annotationLayer .choiceWidgetAnnotation select:required,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
  outline: 1.5px solid red;
}

.annotationLayer .choiceWidgetAnnotation select option {
  padding: 0;
}

.annotationLayer .buttonWidgetAnnotation.radioButton input {
  border-radius: 50%;
}

.annotationLayer .textWidgetAnnotation textarea {
  resize: none;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled],
.annotationLayer .choiceWidgetAnnotation select[disabled],
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled] {
  background: none;
  border: 2px solid var(--input-disabled-border-color);
  cursor: not-allowed;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
.annotationLayer .choiceWidgetAnnotation select:hover,
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover {
  border: 2px solid var(--input-hover-border-color);
}
.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
.annotationLayer .choiceWidgetAnnotation select:hover,
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover {
  border-radius: 2px;
}

.annotationLayer .textWidgetAnnotation :is(input, textarea):focus,
.annotationLayer .choiceWidgetAnnotation select:focus {
  background: none;
  border: 2px solid var(--input-focus-border-color);
  border-radius: 2px;
  outline: var(--input-focus-outline);
}

.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {
  background-image: none;
  background-color: transparent;
}

.annotationLayer .buttonWidgetAnnotation.checkBox :focus {
  border: 2px solid var(--input-focus-border-color);
  border-radius: 2px;
  outline: var(--input-focus-outline);
}

.annotationLayer .buttonWidgetAnnotation.radioButton :focus {
  border: 2px solid var(--input-focus-border-color);
  outline: var(--input-focus-outline);
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
  background-color: CanvasText;
  content: '';
  display: block;
  position: absolute;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
  height: 80%;
  left: 45%;
  width: 1px;
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before {
  transform: rotate(45deg);
}

.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
  transform: rotate(-45deg);
}

.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
  border-radius: 50%;
  height: 50%;
  left: 30%;
  top: 20%;
  width: 50%;
}

.annotationLayer .textWidgetAnnotation input.comb {
  font-family: monospace;
  padding-left: 2px;
  padding-right: 0;
}

.annotationLayer .textWidgetAnnotation input.comb:focus {
  /*
   * Letter spacing is placed on the right side of each character. Hence, the
   * letter spacing of the last character may be placed outside the visible
   * area, causing horizontal scrolling. We avoid this by extending the width
   * when the element has focus and revert this when it loses focus.
   */
  width: 103%;
}

.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
  appearance: none;
}

.annotationLayer .popupTriggerArea {
  height: 100%;
  width: 100%;
}

.annotationLayer .fileAttachmentAnnotation .popupTriggerArea {
  position: absolute;
}

.annotationLayer .popupWrapper {
  position: absolute;
  font-size: calc(9px * var(--total-scale-factor));
  width: 100%;
  min-width: calc(180px * var(--total-scale-factor));
  pointer-events: none;
}

.annotationLayer .popup {
  position: absolute;
  max-width: calc(180px * var(--total-scale-factor));
  background-color: rgba(255, 255, 153, 1);
  box-shadow: 0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor))
    rgba(136, 136, 136, 1);
  border-radius: calc(2px * var(--total-scale-factor));
  padding: calc(6px * var(--total-scale-factor));
  margin-left: calc(5px * var(--total-scale-factor));
  cursor: pointer;
  font: message-box;
  white-space: normal;
  word-wrap: break-word;
  pointer-events: auto;
}

.annotationLayer .popup > * {
  font-size: calc(9px * var(--total-scale-factor));
}

.annotationLayer .popup h1 {
  display: inline-block;
}

.annotationLayer .popupDate {
  display: inline-block;
  margin-left: calc(5px * var(--total-scale-factor));
}

.annotationLayer .popupContent {
  border-top: 1px solid rgba(51, 51, 51, 1);
  margin-top: calc(2px * var(--total-scale-factor));
  padding-top: calc(2px * var(--total-scale-factor));
}

.annotationLayer .richText > * {
  white-space: pre-wrap;
  font-size: calc(9px * var(--total-scale-factor));
}

.annotationLayer .highlightAnnotation,
.annotationLayer .underlineAnnotation,
.annotationLayer .squigglyAnnotation,
.annotationLayer .strikeoutAnnotation,
.annotationLayer .freeTextAnnotation,
.annotationLayer .lineAnnotation svg line,
.annotationLayer .squareAnnotation svg rect,
.annotationLayer .circleAnnotation svg ellipse,
.annotationLayer .polylineAnnotation svg polyline,
.annotationLayer .polygonAnnotation svg polygon,
.annotationLayer .caretAnnotation,
.annotationLayer .inkAnnotation svg polyline,
.annotationLayer .stampAnnotation,
.annotationLayer .fileAttachmentAnnotation {
  cursor: pointer;
}

.annotationLayer section svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.annotationLayer .annotationTextContent {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

.annotationLayer .annotationTextContent span {
  width: 100%;
  display: inline-block;
}


/* /@fs/workspace/.pnpm/react-pdf@10.4.1_@types+react@19.2.17_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-pdf/dist/Page/TextLayer.css */
/* Copyright 2014 Mozilla Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

:root {
  --react-pdf-text-layer: 1;
  --highlight-bg-color: rgba(180, 0, 170, 1);
  --highlight-selected-bg-color: rgba(0, 100, 0, 1);
}

@media screen and (forced-colors: active) {
  :root {
    --highlight-bg-color: Highlight;
    --highlight-selected-bg-color: ButtonText;
  }
}

[data-main-rotation='90'] {
  transform: rotate(90deg) translateY(-100%);
}
[data-main-rotation='180'] {
  transform: rotate(180deg) translate(-100%, -100%);
}
[data-main-rotation='270'] {
  transform: rotate(270deg) translateX(-100%);
}

.textLayer {
  position: absolute;
  text-align: initial;
  inset: 0;
  overflow: hidden;
  line-height: 1;
  text-size-adjust: none;
  forced-color-adjust: none;
  transform-origin: 0 0;
  z-index: 2;
}

.textLayer :is(span, br) {
  color: transparent;
  position: absolute;
  white-space: pre;
  cursor: text;
  margin: 0;
  transform-origin: 0 0;
}

/* Only necessary in Google Chrome, see issue 14205, and most unfortunately
 * the problem doesn't show up in "text" reference tests. */
.textLayer span.markedContent {
  top: 0;
  height: 0;
}

.textLayer .highlight {
  margin: -1px;
  padding: 1px;
  background-color: var(--highlight-bg-color);
  border-radius: 4px;
}

.textLayer .highlight.appended {
  position: initial;
}

.textLayer .highlight.begin {
  border-radius: 4px 0 0 4px;
}

.textLayer .highlight.end {
  border-radius: 0 4px 4px 0;
}

.textLayer .highlight.middle {
  border-radius: 0;
}

.textLayer .highlight.selected {
  background-color: var(--highlight-selected-bg-color);
}

/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
.textLayer br::selection {
  background: transparent;
}

.textLayer .endOfContent {
  display: block;
  position: absolute;
  inset: 100% 0 0;
  z-index: -1;
  cursor: default;
  user-select: none;
}

.textLayer.selecting .endOfContent {
  top: 0;
}

.hiddenCanvasElement {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  display: none;
}
