/* src/components/Toast.css */
.semiont-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 24rem;
}
.semiont-toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--semiont-radius-lg);
  border: 1px solid;
  box-shadow: var(--semiont-shadow-lg);
  transition: all var(--semiont-duration-base) var(--semiont-ease);
  transform: translateX(0);
  animation: slideIn var(--semiont-duration-base) var(--semiont-ease);
}
[data-theme=dark] .semiont-toast {
  box-shadow: var(--semiont-shadow-lg);
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.semiont-toast-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.semiont-toast-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.semiont-toast-message {
  flex: 1;
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-medium);
}
.semiont-toast-close {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--semiont-radius-base);
  transition: opacity var(--semiont-duration-fast) var(--semiont-ease);
}
.semiont-toast-close:hover {
  opacity: 0.7;
}
.semiont-toast-close-icon {
  width: 1rem;
  height: 1rem;
}
.semiont-toast[data-variant=success] {
  background-color: var(--semiont-color-green-100);
  border-color: var(--semiont-color-green-300);
  color: var(--semiont-color-green-800);
}
.semiont-toast[data-variant=error] {
  background-color: var(--semiont-color-red-100);
  border-color: var(--semiont-color-red-300);
  color: var(--semiont-color-red-800);
}
.semiont-toast[data-variant=warning] {
  background-color: var(--semiont-color-yellow-100);
  border-color: var(--semiont-color-yellow-300);
  color: var(--semiont-color-yellow-900);
}
.semiont-toast[data-variant=info] {
  background-color: var(--semiont-color-blue-100);
  border-color: var(--semiont-color-blue-300);
  color: var(--semiont-color-blue-800);
}
[data-theme=dark] .semiont-toast[data-variant=success] {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: var(--semiont-color-green-600);
  color: var(--semiont-color-green-300);
}
[data-theme=dark] .semiont-toast[data-variant=error] {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: var(--semiont-color-red-600);
  color: var(--semiont-color-red-300);
}
[data-theme=dark] .semiont-toast[data-variant=warning] {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: var(--semiont-color-amber-600);
  color: var(--semiont-color-yellow-300);
}
[data-theme=dark] .semiont-toast[data-variant=info] {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: var(--semiont-color-blue-600);
  color: var(--semiont-color-blue-300);
}

/* src/components/layout/ResizeHandle.css */
.semiont-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: col-resize;
  z-index: 10;
  transition: background var(--semiont-duration-base);
  min-width: 44px;
  margin-left: -18px;
}
.semiont-resize-handle--left {
  left: 0;
}
.semiont-resize-handle--right {
  right: 0;
}
.semiont-resize-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 48px;
  background: var(--semiont-color-gray-400);
  border-radius: 2px;
  opacity: 0.4;
  transition: all var(--semiont-duration-base);
}
.semiont-resize-handle:hover::before {
  opacity: 1;
  height: 64px;
  background: var(--semiont-color-primary-500);
}
[data-theme=dark] .semiont-resize-handle::before {
  background: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-resize-handle:hover::before {
  background: var(--semiont-color-primary-400);
}
.semiont-resize-handle:hover {
  background: rgba(0, 0, 0, 0.02);
}
[data-theme=dark] .semiont-resize-handle:hover {
  background: rgba(255, 255, 255, 0.02);
}
.semiont-resize-handle--dragging,
.semiont-resize-handle:active {
  background: rgba(0, 0, 0, 0.04);
}
[data-theme=dark] .semiont-resize-handle--dragging,
[data-theme=dark] .semiont-resize-handle:active {
  background: rgba(255, 255, 255, 0.04);
}
.semiont-resize-handle--dragging::before,
.semiont-resize-handle:active::before {
  opacity: 1;
  background: var(--semiont-color-primary-500);
}
[data-theme=dark] .semiont-resize-handle--dragging::before,
[data-theme=dark] .semiont-resize-handle:active::before {
  background: var(--semiont-color-primary-400);
}
.semiont-resize-handle:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: -2px;
  background: rgba(0, 0, 0, 0.02);
}
[data-theme=dark] .semiont-resize-handle:focus-visible {
  outline-color: var(--semiont-color-primary-400);
  background: rgba(255, 255, 255, 0.02);
}
.semiont-resize-handle:focus-visible::before {
  opacity: 1;
}
.semiont-resize-handle:focus:not(:focus-visible) {
  outline: none;
}

/* src/components/toolbar/Toolbar.css */
.semiont-annotate-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--semiont-bg-primary);
  border-bottom: 1px solid var(--semiont-color-gray-200);
  flex-shrink: 0;
}
[data-theme=dark] .semiont-annotate-toolbar {
  background: var(--semiont-bg-primary);
  border-bottom-color: var(--semiont-color-gray-700);
}
.semiont-toolbar-separator {
  height: 2rem;
  width: 1px;
  background: var(--semiont-color-gray-300);
}
[data-theme=dark] .semiont-toolbar-separator {
  background: var(--semiont-color-gray-600);
}
.semiont-dropdown-group {
  position: relative;
}
.semiont-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
  border-radius: var(--semiont-radius-md);
  transition: all var(--semiont-duration-base);
  border: 1px solid transparent;
}
.semiont-dropdown-trigger:hover {
  background: var(--semiont-color-primary-100);
  border-color: var(--semiont-color-primary-400);
}
[data-theme=dark] .semiont-dropdown-trigger:hover {
  background: var(--semiont-color-primary-900);
  border-color: var(--semiont-color-primary-600);
}
.semiont-dropdown-trigger:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
.semiont-dropdown-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.semiont-dropdown-icon {
  font-size: 1.125rem;
}
.semiont-dropdown-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--semiont-color-gray-700);
}
[data-theme=dark] .semiont-dropdown-label {
  color: var(--semiont-color-gray-300);
}
.semiont-dropdown-display[data-delete=true] {
  background: var(--semiont-color-error);
  color: var(--semiont-color-white);
  border-radius: var(--semiont-radius-sm);
  padding: 0.125rem 0.375rem;
}
.semiont-dropdown-display[data-delete=true] .semiont-dropdown-label {
  color: var(--semiont-color-white);
}
[data-theme=dark] .semiont-dropdown-display[data-delete=true] {
  background: var(--semiont-color-error-dark);
  color: var(--semiont-color-error-light);
}
[data-theme=dark] .semiont-dropdown-display[data-delete=true] .semiont-dropdown-label {
  color: var(--semiont-color-error-light);
}
.semiont-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.5rem;
  z-index: 50;
}
.semiont-dropdown-content {
  background: var(--semiont-bg-primary);
  border: 1px solid var(--semiont-color-gray-200);
  border-radius: var(--semiont-radius-lg);
  box-shadow: var(--semiont-shadow-lg);
  padding: 0.5rem;
  min-width: -moz-max-content;
  min-width: max-content;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
[data-theme=dark] .semiont-dropdown-content {
  border-color: var(--semiont-color-gray-700);
}
.semiont-dropdown-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--semiont-color-gray-600);
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-dropdown-header {
  color: var(--semiont-color-gray-300);
  border-bottom-color: var(--semiont-color-gray-700);
}
.semiont-toolbar-menu-button {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--semiont-radius-md);
  transition: all var(--semiont-duration-base);
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.semiont-toolbar-menu-button:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
.semiont-toolbar-menu-button[data-selected=false] {
  color: var(--semiont-color-gray-700);
}
.semiont-toolbar-menu-button[data-selected=false]:hover {
  background: var(--semiont-color-gray-50);
}
.semiont-toolbar-menu-button[data-selected=true] {
  background: var(--semiont-color-gray-300);
  color: var(--semiont-color-gray-900);
}
[data-theme=dark] .semiont-toolbar-menu-button[data-selected=false] {
  color: var(--semiont-color-gray-300);
}
[data-theme=dark] .semiont-toolbar-menu-button[data-selected=false]:hover {
  background: var(--semiont-bg-secondary);
}
[data-theme=dark] .semiont-toolbar-menu-button[data-selected=true] {
  background: var(--semiont-color-gray-700);
  color: var(--semiont-color-gray-100);
}
.semiont-toolbar-menu-button[data-delete=true][data-selected=false] {
  color: var(--semiont-color-error-dark);
}
.semiont-toolbar-menu-button[data-delete=true][data-selected=false]:hover {
  background: var(--semiont-color-error-light);
}
.semiont-toolbar-menu-button[data-delete=true][data-selected=true] {
  background: var(--semiont-color-error);
  color: var(--semiont-color-white);
}
[data-theme=dark] .semiont-toolbar-menu-button[data-delete=true][data-selected=false] {
  color: var(--semiont-color-error-light);
}
[data-theme=dark] .semiont-toolbar-menu-button[data-delete=true][data-selected=false]:hover {
  background: rgba(239, 68, 68, 0.1);
}
[data-theme=dark] .semiont-toolbar-menu-button[data-delete=true][data-selected=true] {
  background: var(--semiont-color-error-dark);
  color: var(--semiont-color-error-light);
}
.semiont-toolbar-menu-icon {
  font-size: 1.125rem;
}
.semiont-toolbar-menu-label {
  font-size: 0.875rem;
}

/* src/components/settings/SettingsPanel.css */
.semiont-settings-panel {
  padding: var(--semiont-panel-padding);
  background: var(--semiont-bg-primary);
  border-radius: var(--semiont-panel-border-radius);
}
.semiont-settings-panel__title {
  margin: 0 0 var(--semiont-panel-header-margin-bottom);
  font-size: var(--semiont-panel-title-size);
  font-weight: var(--semiont-panel-title-weight);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-settings-panel__title {
  color: var(--semiont-text-primary);
}
.semiont-settings-panel__content {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-section-gap);
}
.semiont-settings-panel__field {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-field-gap);
}
.semiont-settings-panel__button-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.semiont-settings-panel__loading {
  margin: 0;
  padding: 0.5rem;
  background: var(--semiont-bg-secondary);
  border-left: 3px solid var(--semiont-color-primary-500);
  border-radius: var(--semiont-radius-sm);
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-settings-panel__loading {
  background: var(--semiont-bg-secondary);
  border-left-color: var(--semiont-color-primary-400);
}

/* src/components/annotation/annotations.css */
@keyframes sparkle {
  0% {
    box-shadow:
      0 0 5px rgba(59, 130, 246, 0.8),
      0 0 10px rgba(59, 130, 246, 0.6),
      0 0 15px rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow:
      0 0 10px rgba(59, 130, 246, 0.8),
      0 0 20px rgba(59, 130, 246, 0.6),
      0 0 30px rgba(59, 130, 246, 0.4);
  }
  100% {
    box-shadow:
      0 0 5px rgba(59, 130, 246, 0.8),
      0 0 10px rgba(59, 130, 246, 0.6),
      0 0 15px rgba(59, 130, 246, 0.4);
  }
}
.annotation-sparkle {
  animation: sparkle 1.5s ease-in-out infinite;
}
.annotation-active {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
  z-index: 10;
  position: relative;
}
@media print {
  .annotation-highlight,
  .annotation-comment,
  .annotation-assessment,
  .annotation-reference,
  .annotation-tag {
    background: transparent !important;
    outline: none !important;
    text-decoration: underline !important;
    color: inherit !important;
  }
}

/* src/components/annotation/annotation-entries.css */
.semiont-annotation-entry {
  padding: 0.75rem;
  background: var(--semiont-bg-secondary);
  border-radius: var(--semiont-radius-md);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  margin-bottom: 0.5rem;
}
[data-theme=dark] .semiont-annotation-entry {
  background: var(--semiont-bg-tertiary);
}
.semiont-annotation-entry[data-focused=true] {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
  z-index: 10;
}
.semiont-annotation-pulse {
  background: var(--semiont-bg-hover) !important;
  transition: background 0.3s ease-in-out;
}
[data-theme=dark] .semiont-annotation-pulse {
  background: var(--semiont-bg-hover) !important;
}
.semiont-annotation-entry__header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.semiont-annotation-entry__content {
  flex: 1;
  min-width: 0;
}
.semiont-annotation-entry__quote {
  font-size: var(--semiont-text-sm);
  line-height: 1.5;
  padding: 0.375rem 0.5rem;
  border-radius: var(--semiont-radius-sm);
  margin-bottom: 0.5rem;
}
.semiont-annotation-entry__body {
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-primary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
[data-theme=dark] .semiont-annotation-entry__body {
  color: var(--semiont-text-primary);
}
.semiont-annotation-entry__metadata,
.semiont-annotation-entry__meta {
  font-size: var(--semiont-text-xs);
  color: var(--semiont-text-tertiary);
}
[data-theme=dark] .semiont-annotation-entry__metadata,
[data-theme=dark] .semiont-annotation-entry__meta {
  color: var(--semiont-text-tertiary);
}
.semiont-annotation-entry__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.semiont-annotation-entry__actions {
  display: flex;
  gap: 0.25rem;
}
.semiont-annotation-entry__action-row {
  display: flex;
  gap: 0.25rem;
  width: 100%;
}
.semiont-annotation-entry__button-group {
  display: flex;
  gap: 0.25rem;
}
.semiont-annotation-entry__edit {
  margin-top: 0.5rem;
}
.semiont-annotation-entry__edit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.semiont-annotation-entry__char-count {
  font-size: var(--semiont-text-xs);
  color: var(--semiont-text-tertiary);
}
[data-theme=dark] .semiont-annotation-entry__char-count {
  color: var(--semiont-text-tertiary);
}
.semiont-annotation-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

/* src/components/annotation/references.css */
.semiont-reference-item {
  border: 1px solid var(--semiont-color-gray-200);
  border-radius: 0.25rem;
  padding: 0.5rem;
}
[data-theme=dark] .semiont-reference-item {
  border-color: var(--semiont-color-gray-700);
}
.semiont-reference-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.semiont-reference-item__title {
  font-size: 0.875rem;
  color: var(--semiont-color-gray-700);
  font-weight: 500;
}
[data-theme=dark] .semiont-reference-item__title {
  color: var(--semiont-color-gray-300);
}
.semiont-reference-item__link {
  font-size: 1.125rem;
  transition: opacity 0.15s;
  flex-shrink: 0;
  text-decoration: none;
}
.semiont-reference-item__link:hover {
  opacity: 0.7;
}
.semiont-reference-item__excerpt {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-500);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-theme=dark] .semiont-reference-item__excerpt {
  color: var(--semiont-color-gray-400);
}
.semiont-chip {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: all 0.15s;
  border: 1px solid;
  cursor: pointer;
}
.semiont-chip:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-chip:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-chip:focus:not(:focus-visible) {
  outline: none;
}
@media (prefers-contrast: more) {
  .semiont-chip:focus-visible {
    outline-width: 3px;
  }
}
.semiont-chip--selectable[data-selected=false] {
  background-color: var(--semiont-bg-secondary);
  color: var(--semiont-color-gray-700);
  border-color: var(--semiont-color-gray-300);
}
[data-theme=dark] .semiont-chip--selectable[data-selected=false] {
  background-color: var(--semiont-bg-secondary);
  color: var(--semiont-color-gray-300);
  border-color: var(--semiont-color-gray-600);
}
.semiont-chip--selectable[data-selected=false]:hover {
  background-color: var(--semiont-bg-tertiary);
}
[data-theme=dark] .semiont-chip--selectable[data-selected=false]:hover {
  background-color: var(--semiont-bg-tertiary);
}
.semiont-chip--selectable[data-selected=true] {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--semiont-color-blue-700);
  border-color: var(--semiont-color-blue-300);
}
[data-theme=dark] .semiont-chip--selectable[data-selected=true] {
  background-color: rgba(59, 130, 246, 0.3);
  color: var(--semiont-color-blue-300);
  border-color: var(--semiont-color-blue-700);
}
.semiont-panel__divider {
  border-top: 1px solid var(--semiont-color-gray-200);
  padding-top: 1rem;
  margin-bottom: 1rem;
}
[data-theme=dark] .semiont-panel__divider {
  border-color: var(--semiont-color-gray-700);
}
.semiont-panel__subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--semiont-color-gray-700);
}
[data-theme=dark] .semiont-panel__subtitle {
  color: var(--semiont-color-gray-300);
}
.semiont-panel__loading-indicator {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: normal;
  color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-panel__loading-indicator {
  color: var(--semiont-color-gray-400);
}
.semiont-panel__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.semiont-panel__empty-message {
  color: var(--semiont-color-gray-500);
  font-size: 0.875rem;
}
[data-theme=dark] .semiont-panel__empty-message {
  color: var(--semiont-color-gray-400);
}
.semiont-panel__empty-message--small {
  font-size: 0.75rem;
}
.semiont-reference-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}
.semiont-reference-button:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-reference-button:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
@media (prefers-contrast: more) {
  .semiont-reference-button:focus-visible {
    outline-width: 3px;
  }
}
.semiont-reference-button--primary {
  background: var(--semiont-gradient-primary);
  color: var(--semiont-color-primary-700);
  border-color: var(--semiont-color-primary-300);
}
.semiont-reference-button--primary:hover:not(:disabled) {
  background: var(--semiont-gradient-primary-hover);
  color: var(--semiont-color-neutral-0);
  border-color: var(--semiont-color-primary-600);
}
[data-theme=dark] .semiont-reference-button--primary {
  background: var(--semiont-gradient-primary-dark);
  color: var(--semiont-color-primary-400);
  border-color: var(--semiont-color-primary-500);
}
[data-theme=dark] .semiont-reference-button--primary:hover:not(:disabled) {
  background: var(--semiont-gradient-primary-hover-dark);
  color: var(--semiont-color-neutral-0);
  border-color: var(--semiont-color-primary-400);
}
.semiont-reference-button--secondary {
  background-color: var(--semiont-bg-secondary);
  color: var(--semiont-text-primary);
  border-color: var(--semiont-color-gray-300);
}
.semiont-reference-button--secondary:hover:not(:disabled) {
  background-color: var(--semiont-bg-tertiary);
  border-color: var(--semiont-color-gray-400);
}
[data-theme=dark] .semiont-reference-button--secondary {
  background-color: var(--semiont-color-gray-700);
  color: var(--semiont-text-primary);
  border-color: var(--semiont-color-gray-600);
}
[data-theme=dark] .semiont-reference-button--secondary:hover:not(:disabled) {
  background-color: var(--semiont-color-gray-600);
  border-color: var(--semiont-color-gray-500);
}
.semiont-reference-button[data-generating=true] {
  animation: semiont-reference-button-pulse 1.5s ease-in-out infinite;
}
[data-theme=dark] .semiont-reference-button[data-generating=true] {
  animation: semiont-reference-button-pulse-dark 1.5s ease-in-out infinite;
}
@keyframes semiont-reference-button-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px 2px rgba(59, 130, 246, 0.5);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 16px 4px rgba(59, 130, 246, 0.8);
  }
}
@keyframes semiont-reference-button-pulse-dark {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px 2px rgba(96, 165, 250, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 16px 4px rgba(96, 165, 250, 0.9);
  }
}
.semiont-reference-button--full {
  flex: 1;
  min-width: 0;
}
.semiont-reference-button--wide {
  flex: 2;
  min-width: 0;
}
.semiont-reference-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.semiont-annotation-prompt[data-type=reference] {
  background: var(--semiont-bg-secondary);
  border: 2px solid var(--semiont-color-blue-300);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
[data-theme=dark] .semiont-annotation-prompt[data-type=reference] {
  background: var(--semiont-color-gray-800);
  border-color: var(--semiont-color-blue-600);
}
.semiont-annotation-prompt__quote {
  background: var(--semiont-bg-primary);
  border-left: 4px solid var(--semiont-color-blue-500);
  border-radius: 0.375rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--semiont-color-gray-700);
  line-height: 1.5;
}
[data-theme=dark] .semiont-annotation-prompt__quote {
  background: var(--semiont-color-gray-700);
  border-left-color: var(--semiont-color-blue-400);
  color: var(--semiont-color-gray-200);
}
.semiont-tag-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.semiont-tag-selector__item {
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1.5px solid;
  cursor: pointer;
  transition: all 0.15s ease;
  background-color: var(--semiont-bg-primary);
  color: var(--semiont-color-gray-700);
  border-color: var(--semiont-color-gray-300);
}
.semiont-tag-selector__item:hover {
  background-color: var(--semiont-bg-tertiary);
  border-color: var(--semiont-color-gray-400);
}
.semiont-tag-selector__item:focus-visible {
  outline: 2px solid var(--semiont-color-blue-500);
  outline-offset: 2px;
}
.semiont-tag-selector__item[data-selected=true] {
  background:
    linear-gradient(
      to right,
      rgba(59, 130, 246, 0.15),
      rgba(37, 99, 235, 0.15));
  color: var(--semiont-color-blue-700);
  border-color: var(--semiont-color-blue-500);
  font-weight: 600;
}
.semiont-tag-selector__item[data-selected=true]:hover {
  background:
    linear-gradient(
      to right,
      rgba(59, 130, 246, 0.25),
      rgba(37, 99, 235, 0.25));
  border-color: var(--semiont-color-blue-600);
}
.semiont-tag-selector__item[data-selected=true]:focus-visible {
  outline: 2px solid var(--semiont-color-blue-600);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-tag-selector__item {
  background-color: var(--semiont-color-gray-700);
  color: var(--semiont-color-gray-300);
  border-color: var(--semiont-color-gray-600);
}
[data-theme=dark] .semiont-tag-selector__item:hover {
  background-color: var(--semiont-color-gray-600);
  border-color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-tag-selector__item:focus-visible {
  outline: 2px solid var(--semiont-color-blue-400);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-tag-selector__item[data-selected=true] {
  background:
    linear-gradient(
      to right,
      rgba(59, 130, 246, 0.3),
      rgba(37, 99, 235, 0.3));
  color: var(--semiont-color-blue-300);
  border-color: var(--semiont-color-blue-400);
}
[data-theme=dark] .semiont-tag-selector__item[data-selected=true]:hover {
  background:
    linear-gradient(
      to right,
      rgba(59, 130, 246, 0.4),
      rgba(37, 99, 235, 0.4));
  border-color: var(--semiont-color-blue-300);
}
[data-theme=dark] .semiont-tag-selector__item[data-selected=true]:focus-visible {
  outline: 2px solid var(--semiont-color-blue-500);
  outline-offset: 2px;
}
@media (prefers-contrast: more) {
  .semiont-tag-selector__item:focus-visible {
    outline-width: 3px;
  }
}

/* src/components/modals/modals.css */
.semiont-modal {
  position: relative;
  z-index: 1000;
}
.semiont-modal__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
[data-theme=dark] .semiont-modal__backdrop {
  background-color: rgba(0, 0, 0, 0.7);
}
.semiont-modal__container {
  position: fixed;
  inset: 0;
  overflow-y: auto;
}
.semiont-modal__wrapper {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.semiont-modal__panel {
  width: 100%;
  max-width: 28rem;
  transform: translateX(0);
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--semiont-bg-primary);
  box-shadow: var(--semiont-shadow-lg);
  transition: all 0.2s ease;
  padding: 1.5rem;
  border: 1px solid var(--semiont-border-primary);
}
[data-theme=dark] .semiont-modal__panel {
  background-color: var(--semiont-bg-primary);
  border-color: var(--semiont-border-primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}
.semiont-modal__panel--medium {
  max-width: 28rem;
}
.semiont-modal__panel--large {
  max-width: 42rem;
  padding: 0;
}
.semiont-modal__header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-modal__header {
  border-color: var(--semiont-color-gray-700);
}
.semiont-modal__header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.semiont-modal__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--semiont-color-gray-900);
}
[data-theme=dark] .semiont-modal__title {
  color: var(--semiont-color-white);
}
.semiont-modal__title--centered {
  text-align: center;
  margin-bottom: 0.5rem;
}
.semiont-modal__close {
  color: var(--semiont-color-gray-600);
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: all 0.15s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}
[data-theme=dark] .semiont-modal__close {
  color: var(--semiont-color-gray-400);
}
.semiont-modal__close:hover {
  color: var(--semiont-text-primary);
  background-color: var(--semiont-bg-tertiary);
}
[data-theme=dark] .semiont-modal__close:hover {
  color: var(--semiont-text-primary);
  background-color: var(--semiont-bg-tertiary);
}
.semiont-modal__close-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.semiont-modal__body {
  padding: 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
}
.semiont-modal__content {
  text-align: center;
  margin-bottom: 1rem;
}
.semiont-modal__description {
  color: var(--semiont-color-gray-600);
  font-size: 0.875rem;
}
[data-theme=dark] .semiont-modal__description {
  color: var(--semiont-color-gray-400);
}
.semiont-modal__footer {
  padding: 0.75rem 1.5rem;
  background-color: var(--semiont-bg-secondary);
  border-top: 1px solid var(--semiont-border-primary);
}
[data-theme=dark] .semiont-modal__footer {
  background-color: var(--semiont-bg-secondary);
  border-color: var(--semiont-border-primary);
}
.semiont-modal__footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.semiont-modal__hint {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-modal__hint {
  color: var(--semiont-color-gray-400);
}
.semiont-modal__hint-key {
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--semiont-bg-tertiary);
  border: 1px solid var(--semiont-border-primary);
  border-radius: 0.25rem;
}
[data-theme=dark] .semiont-modal__hint-key {
  background-color: var(--semiont-bg-tertiary);
  border-color: var(--semiont-border-primary);
}
.semiont-modal__icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.semiont-modal__icon {
  width: 3rem;
  height: 3rem;
  background:
    linear-gradient(
      to bottom right,
      var(--semiont-color-amber-100),
      var(--semiont-color-amber-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme=dark] .semiont-modal__icon {
  background:
    linear-gradient(
      to bottom right,
      rgba(180, 83, 9, 0.3),
      rgba(146, 64, 14, 0.3));
}
.semiont-modal__icon-emoji {
  font-size: 1.5rem;
}
.semiont-modal__selection {
  margin-bottom: 1rem;
}
.semiont-modal__selection-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--semiont-color-gray-700);
  margin-bottom: 0.5rem;
}
[data-theme=dark] .semiont-modal__selection-label {
  color: var(--semiont-color-gray-300);
}
.semiont-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.semiont-modal__empty-state {
  font-size: 0.875rem;
  color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-modal__empty-state {
  color: var(--semiont-color-gray-400);
}
.semiont-modal__count {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-500);
  text-align: center;
  margin-bottom: 1rem;
}
[data-theme=dark] .semiont-modal__count {
  color: var(--semiont-color-gray-400);
}
.semiont-modal__actions {
  display: flex;
  gap: 0.5rem;
}
.semiont-chip {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 9999px;
  transition: colors 0.15s ease;
  background-color: var(--semiont-bg-tertiary);
  color: var(--semiont-text-primary);
  border: none;
  cursor: pointer;
}
[data-theme=dark] .semiont-chip {
  background-color: var(--semiont-bg-tertiary);
  color: var(--semiont-text-primary);
}
.semiont-chip:hover {
  background-color: var(--semiont-bg-secondary);
}
.semiont-chip:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-chip:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-chip:focus:not(:focus-visible) {
  outline: none;
}
@media (prefers-contrast: more) {
  .semiont-chip:focus-visible {
    outline-width: 3px;
  }
}
.semiont-chip--selected,
.semiont-chip[data-selected=true] {
  background-color: var(--semiont-color-blue-600);
  color: var(--semiont-color-white);
}
[data-theme=dark] .semiont-chip--selected,
[data-theme=dark] .semiont-chip[data-selected=true] {
  background-color: var(--semiont-color-blue-700);
  color: var(--semiont-color-white);
}
.semiont-chip--selected:hover,
.semiont-chip[data-selected=true]:hover {
  background-color: var(--semiont-color-blue-700);
}
[data-theme=dark] .semiont-chip--selected:hover,
[data-theme=dark] .semiont-chip[data-selected=true]:hover {
  background-color: var(--semiont-color-blue-600);
}
.semiont-button--flex {
  flex: 1;
}
.semiont-button--gradient {
  background:
    linear-gradient(
      to right,
      var(--semiont-color-blue-600),
      var(--semiont-color-cyan-600));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
[data-theme=dark] .semiont-button--gradient {
  background:
    linear-gradient(
      to right,
      var(--semiont-color-blue-700),
      var(--semiont-color-cyan-700));
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
.semiont-button--gradient:hover {
  background:
    linear-gradient(
      to right,
      var(--semiont-color-blue-700),
      var(--semiont-color-cyan-700));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
[data-theme=dark] .semiont-button--gradient:hover {
  background:
    linear-gradient(
      to right,
      var(--semiont-color-blue-600),
      var(--semiont-color-cyan-600));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}
.semiont-button--disabled,
.semiont-button[data-disabled=true] {
  background-color: var(--semiont-bg-tertiary);
  color: var(--semiont-text-tertiary);
  cursor: not-allowed;
}
[data-theme=dark] .semiont-button--disabled,
[data-theme=dark] .semiont-button[data-disabled=true] {
  background-color: var(--semiont-bg-tertiary);
  color: var(--semiont-text-tertiary);
}
.semiont-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.semiont-shortcuts__group {
  display: flex;
  flex-direction: column;
}
.semiont-shortcuts__group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--semiont-color-gray-900);
  margin-bottom: 0.75rem;
}
[data-theme=dark] .semiont-shortcuts__group-title {
  color: var(--semiont-color-white);
}
.semiont-shortcuts__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.semiont-shortcuts__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 0;
}
.semiont-shortcuts__description {
  font-size: 0.875rem;
  color: var(--semiont-color-gray-600);
}
[data-theme=dark] .semiont-shortcuts__description {
  color: var(--semiont-color-gray-400);
}
.semiont-shortcuts__keys {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.semiont-shortcuts__separator {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-400);
}
[data-theme=dark] .semiont-shortcuts__separator {
  color: var(--semiont-color-gray-500);
}
.semiont-shortcuts__key {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--semiont-text-primary);
  background-color: var(--semiont-bg-tertiary);
  border: 1px solid var(--semiont-border-primary);
  border-radius: 0.25rem;
}
[data-theme=dark] .semiont-shortcuts__key {
  color: var(--semiont-text-primary);
  background-color: var(--semiont-bg-tertiary);
  border-color: var(--semiont-border-primary);
}
.semiont-shortcuts__note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-shortcuts__note {
  border-color: var(--semiont-color-gray-700);
}
.semiont-shortcuts__note-text {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-shortcuts__note-text {
  color: var(--semiont-color-gray-400);
}
.semiont-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.semiont-popup-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
[data-theme=dark] .semiont-popup-backdrop {
  background-color: rgba(0, 0, 0, 0.85);
}
.semiont-popup-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.semiont-popup-panel {
  pointer-events: auto;
  background-color: var(--semiont-bg-primary);
  border-radius: 0.75rem;
  box-shadow: var(--semiont-shadow-lg);
  border: 1px solid var(--semiont-border-primary);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
[data-theme=dark] .semiont-popup-panel {
  background-color: var(--semiont-bg-primary);
  border-color: var(--semiont-border-primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
}
.semiont-popup-panel[data-wide=true] {
  width: 800px;
  height: 700px;
}
.semiont-popup-panel[data-wide=false] {
  width: 400px;
  max-height: 500px;
}
.semiont-jsonld-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.semiont-jsonld-view__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--semiont-border-primary);
  background-color: var(--semiont-bg-secondary);
  flex-shrink: 0;
}
[data-theme=dark] .semiont-jsonld-view__header {
  background-color: var(--semiont-bg-secondary);
  border-color: var(--semiont-border-primary);
}
.semiont-jsonld-view__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--semiont-text-primary);
  margin: 0;
}
[data-theme=dark] .semiont-jsonld-view__title {
  color: var(--semiont-text-primary);
}
.semiont-jsonld-view__back-button,
.semiont-jsonld-view__copy-button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background-color: var(--semiont-bg-tertiary);
  border: 1px solid var(--semiont-border-primary);
  color: var(--semiont-text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.semiont-jsonld-view__back-button:hover,
.semiont-jsonld-view__copy-button:hover {
  background-color: var(--semiont-bg-secondary);
  border-color: var(--semiont-border-secondary);
}
[data-theme=dark] .semiont-jsonld-view__back-button,
[data-theme=dark] .semiont-jsonld-view__copy-button {
  background-color: var(--semiont-bg-tertiary);
  border-color: var(--semiont-border-primary);
}
[data-theme=dark] .semiont-jsonld-view__back-button:hover,
[data-theme=dark] .semiont-jsonld-view__copy-button:hover {
  background-color: var(--semiont-bg-secondary);
  border-color: var(--semiont-border-secondary);
}
.semiont-jsonld-view__editor {
  flex: 1;
  overflow: auto;
  padding: 1rem;
  background-color: var(--semiont-bg-primary);
}
[data-theme=dark] .semiont-jsonld-view__editor {
  background-color: var(--semiont-bg-primary);
}
.semiont-jsonld-view__editor .cm-editor {
  height: 100%;
}
.semiont-jsonld-view__editor .cm-scroller {
  overflow: auto;
}
.semiont-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--semiont-border-primary);
  background-color: var(--semiont-bg-secondary);
}
[data-theme=dark] .semiont-popup-header {
  background-color: var(--semiont-bg-secondary);
  border-color: var(--semiont-border-primary);
}
.semiont-popup-header__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--semiont-text-primary);
  margin: 0;
}
[data-theme=dark] .semiont-popup-header__title {
  color: var(--semiont-text-primary);
}
.semiont-popup-header__subtitle {
  font-size: 0.875rem;
  font-weight: normal;
  color: var(--semiont-text-secondary);
  margin-left: 0.5rem;
}
[data-theme=dark] .semiont-popup-header__subtitle {
  color: var(--semiont-text-secondary);
}
.semiont-popup-header__close-button {
  padding: 0.25rem;
  border-radius: 0.25rem;
  background: transparent;
  border: none;
  color: var(--semiont-text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 1.25rem;
  line-height: 1;
}
.semiont-popup-header__close-button:hover {
  background-color: var(--semiont-bg-tertiary);
  color: var(--semiont-text-primary);
}
.semiont-popup-header__close-button:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-popup-header__close-button {
  color: var(--semiont-text-secondary);
}
[data-theme=dark] .semiont-popup-header__close-button:hover {
  background-color: var(--semiont-bg-tertiary);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-popup-header__close-button:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}

/* src/components/pdf-annotation/PdfAnnotationCanvas.css */
.semiont-pdf-annotation-canvas {
  position: relative;
  display: inline-block;
}
.semiont-pdf-annotation-canvas__loading,
.semiont-pdf-annotation-canvas__error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.semiont-pdf-annotation-canvas__error {
  color: var(--error-color);
}
[data-theme=dark] .semiont-pdf-annotation-canvas__error {
  color: var(--error-color);
}
.semiont-pdf-annotation-canvas__container {
  position: relative;
  display: inline-block;
  cursor: crosshair;
}
.semiont-pdf-annotation-canvas__container[data-drawing-mode=none] {
  cursor: default;
}
.semiont-pdf-annotation-canvas__image {
  display: block;
  max-width: 100%;
  height: auto;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}
[data-theme=dark] .semiont-pdf-annotation-canvas__image {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
}
.semiont-pdf-annotation-canvas__overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.semiont-pdf-annotation-canvas__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.semiont-pdf-annotation-canvas__svg {
  pointer-events: none;
}
.semiont-pdf-annotation-canvas__svg rect {
  pointer-events: auto;
}
.semiont-pdf-annotation-canvas__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border-color);
}
.semiont-pdf-annotation-canvas__button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .semiont-pdf-annotation-canvas__button {
    transition: background-color 0.2s;
  }
}
.semiont-pdf-annotation-canvas__button:hover:not(:disabled) {
  background-color: var(--hover-color, rgba(0, 0, 0, 0.05));
}
.semiont-pdf-annotation-canvas__button:focus-visible {
  outline: 2px solid var(--focus-color, #0066cc);
  outline-offset: 2px;
}
.semiont-pdf-annotation-canvas__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.semiont-pdf-annotation-canvas__page-info {
  font-size: 0.875rem;
  min-width: 7rem;
  text-align: center;
}

/* src/components/resource/panels/AssistSection.css */
.semiont-assist-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--semiont-bg-secondary);
  border-radius: 0.5rem;
  border: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-assist-widget {
  background-color: var(--semiont-color-gray-800);
  border-color: var(--semiont-color-gray-700);
}
.semiont-assist-widget__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--semiont-color-gray-700);
  margin-bottom: 0.5rem;
}
[data-theme=dark] .semiont-assist-widget__label {
  color: var(--semiont-color-gray-300);
}
.semiont-assist-widget__count {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-500);
  text-align: center;
  margin-bottom: 1rem;
}
[data-theme=dark] .semiont-assist-widget__count {
  color: var(--semiont-color-gray-400);
}
.semiont-assist-widget__no-types {
  font-size: 0.875rem;
  color: var(--semiont-color-gray-500);
  font-style: italic;
}
[data-theme=dark] .semiont-assist-widget__no-types {
  color: var(--semiont-color-gray-400);
}
.semiont-assist-widget__entity-types {
  margin-bottom: 1rem;
}
.semiont-assist-widget__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.semiont-assist-widget__checkbox-group {
  margin-bottom: 1rem;
}
.semiont-assist-widget__checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--semiont-color-gray-700);
  cursor: pointer;
}
[data-theme=dark] .semiont-assist-widget__checkbox-label {
  color: var(--semiont-color-gray-300);
}
.semiont-assist-widget__checkbox {
  border-radius: 0.25rem;
  border: 1px solid var(--semiont-color-gray-300);
  color: var(--semiont-color-blue-600);
}
[data-theme=dark] .semiont-assist-widget__checkbox {
  border-color: var(--semiont-color-gray-600);
}
.semiont-assist-widget__checkbox:focus {
  outline: 2px solid var(--semiont-color-blue-500);
  outline-offset: 2px;
}
.semiont-assist-widget__checkbox-hint {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-500);
  margin-top: 0.25rem;
  margin-left: 1.5rem;
}
[data-theme=dark] .semiont-assist-widget__checkbox-hint {
  color: var(--semiont-color-gray-400);
}
.semiont-assist-widget__log {
  background-color: var(--semiont-bg-primary);
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
[data-theme=dark] .semiont-assist-widget__log {
  background-color: var(--semiont-color-gray-800);
}
.semiont-assist-widget__log-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.semiont-assist-widget__log-item {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
[data-theme=dark] .semiont-assist-widget__log-item {
  color: var(--semiont-color-gray-400);
}
.semiont-assist-widget__log-check {
  color: var(--semiont-color-green-600);
}
[data-theme=dark] .semiont-assist-widget__log-check {
  color: var(--semiont-color-green-400);
}
.semiont-assist-widget__log-type {
  font-weight: 500;
}
.semiont-annotation-progress {
  background-color: var(--semiont-bg-primary);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 1rem;
  border: 2px solid var(--semiont-color-blue-500);
}
[data-theme=dark] .semiont-annotation-progress {
  background-color: var(--semiont-color-gray-800);
  border-color: var(--semiont-color-blue-600);
}
.semiont-annotation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.semiont-annotation-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--semiont-color-gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
[data-theme=dark] .semiont-annotation-title {
  color: var(--semiont-color-gray-100);
}
.semiont-annotation-sparkle {
  font-size: 1.125rem;
  animation: semiont-sparkle-infinite 1.5s ease-in-out infinite;
}
@keyframes semiont-sparkle-infinite {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}
.semiont-annotation-cancel {
  color: var(--semiont-color-gray-600);
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s;
}
.semiont-annotation-cancel:hover {
  color: var(--semiont-color-gray-900);
}
[data-theme=dark] .semiont-annotation-cancel {
  color: var(--semiont-color-gray-400);
}
[data-theme=dark] .semiont-annotation-cancel:hover {
  color: var(--semiont-color-gray-300);
}
.semiont-annotation-log {
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.semiont-annotation-log-item {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
[data-theme=dark] .semiont-annotation-log-item {
  color: var(--semiont-color-gray-400);
}
.semiont-annotation-check {
  color: var(--semiont-color-green-600);
}
[data-theme=dark] .semiont-annotation-check {
  color: var(--semiont-color-green-400);
}
.semiont-annotation-entity-type {
  font-weight: 500;
}
.semiont-annotation-progress__params {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background-color: rgba(59, 130, 246, 0.05);
  border-radius: 0.375rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
[data-theme=dark] .semiont-annotation-progress__params {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}
.semiont-annotation-progress__params-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--semiont-color-blue-700);
  margin-bottom: 0.25rem;
}
[data-theme=dark] .semiont-annotation-progress__params-title {
  color: var(--semiont-color-blue-300);
}
.semiont-annotation-progress__param {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-700);
}
[data-theme=dark] .semiont-annotation-progress__param {
  color: var(--semiont-color-gray-300);
}
.semiont-annotation-progress__param-label {
  font-weight: 500;
}
.semiont-annotation-progress__status {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}
.semiont-annotation-progress__message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--semiont-color-gray-900);
  font-weight: 500;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border-radius: 0.5rem;
  background:
    linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.15),
      rgba(37, 99, 235, 0.15));
  border: 2px solid rgba(59, 130, 246, 0.3);
  animation: semiont-detection-pulse 2s ease-in-out infinite;
}
.semiont-annotation-progress__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--semiont-color-gray-700);
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.semiont-annotation-progress__close:hover {
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--semiont-color-gray-900);
}
[data-theme=dark] .semiont-annotation-progress__close {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--semiont-color-gray-300);
}
[data-theme=dark] .semiont-annotation-progress__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--semiont-color-gray-100);
}
[data-theme=dark] .semiont-annotation-progress__message {
  color: var(--semiont-color-gray-100);
  background:
    linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.25),
      rgba(37, 99, 235, 0.25));
  border-color: rgba(59, 130, 246, 0.5);
}
@keyframes semiont-detection-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}
.semiont-annotation-progress__icon {
  font-size: 1.125rem;
  animation: semiont-sparkle-rotate 2s linear infinite;
}
@keyframes semiont-sparkle-rotate {
  0% {
    transform: rotate(0deg) scale(1);
    filter: brightness(1);
  }
  25% {
    transform: rotate(90deg) scale(1.2);
    filter: brightness(1.3);
  }
  50% {
    transform: rotate(180deg) scale(1);
    filter: brightness(1);
  }
  75% {
    transform: rotate(270deg) scale(1.2);
    filter: brightness(1.3);
  }
  100% {
    transform: rotate(360deg) scale(1);
    filter: brightness(1);
  }
}
.semiont-annotation-progress__details {
  font-size: 0.75rem;
  color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-annotation-progress__details {
  color: var(--semiont-color-gray-400);
}
.semiont-assist-widget[data-type=highlight] {
  border-color: var(--semiont-color-yellow-300);
}
[data-theme=dark] .semiont-assist-widget[data-type=highlight] {
  border-color: var(--semiont-color-yellow-600);
}
.semiont-assist-widget[data-type=comment] {
  border-color: var(--semiont-color-gray-300);
}
[data-theme=dark] .semiont-assist-widget[data-type=comment] {
  border-color: var(--semiont-color-gray-600);
}
.semiont-assist-widget[data-type=assessment] {
  border-color: var(--semiont-color-purple-300);
}
[data-theme=dark] .semiont-assist-widget[data-type=assessment] {
  border-color: var(--semiont-color-purple-600);
}
.semiont-assist-widget[data-type=tag] {
  border-color: var(--semiont-color-orange-300);
}
[data-theme=dark] .semiont-assist-widget[data-type=tag] {
  border-color: var(--semiont-color-orange-600);
}
.semiont-assist-widget[data-type=reference] {
  border-color: var(--semiont-color-blue-300);
}
[data-theme=dark] .semiont-assist-widget[data-type=reference] {
  border-color: var(--semiont-color-blue-600);
}
.semiont-annotation-progress[data-type=highlight] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(250, 204, 21, 0.15),
      rgba(234, 179, 8, 0.15));
  border-color: rgba(250, 204, 21, 0.3);
}
[data-theme=dark] .semiont-annotation-progress[data-type=highlight] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(250, 204, 21, 0.25),
      rgba(234, 179, 8, 0.25));
  border-color: rgba(250, 204, 21, 0.5);
}
.semiont-annotation-progress[data-type=comment] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(107, 114, 128, 0.15),
      rgba(75, 85, 99, 0.15));
  border-color: rgba(107, 114, 128, 0.3);
}
[data-theme=dark] .semiont-annotation-progress[data-type=comment] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(107, 114, 128, 0.25),
      rgba(75, 85, 99, 0.25));
  border-color: rgba(107, 114, 128, 0.5);
}
.semiont-annotation-progress[data-type=assessment] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(168, 85, 247, 0.15),
      rgba(147, 51, 234, 0.15));
  border-color: rgba(168, 85, 247, 0.3);
}
[data-theme=dark] .semiont-annotation-progress[data-type=assessment] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(168, 85, 247, 0.25),
      rgba(147, 51, 234, 0.25));
  border-color: rgba(168, 85, 247, 0.5);
}
.semiont-annotation-progress[data-type=tag] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(251, 146, 60, 0.15),
      rgba(249, 115, 22, 0.15));
  border-color: rgba(251, 146, 60, 0.3);
}
[data-theme=dark] .semiont-annotation-progress[data-type=tag] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(251, 146, 60, 0.25),
      rgba(249, 115, 22, 0.25));
  border-color: rgba(251, 146, 60, 0.5);
}
.semiont-annotation-progress[data-type=reference] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.15),
      rgba(37, 99, 235, 0.15));
  border-color: rgba(59, 130, 246, 0.3);
}
[data-theme=dark] .semiont-annotation-progress[data-type=reference] .semiont-annotation-progress__message {
  background:
    linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.25),
      rgba(37, 99, 235, 0.25));
  border-color: rgba(59, 130, 246, 0.5);
}

/* src/components/resource/panels/AssessmentPanel.css */
.semiont-assessment-panel {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap);
  padding: var(--semiont-panel-padding);
  background: var(--semiont-bg-primary);
  border-radius: var(--semiont-radius-lg);
}
[data-theme=dark] .semiont-assessment-panel {
  background: var(--semiont-bg-secondary);
}
.semiont-assessment-panel__section {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-md);
}
.semiont-assessment-panel__label {
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-semibold);
  color: var(--semiont-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
[data-theme=dark] .semiont-assessment-panel__label {
  color: var(--semiont-text-secondary);
}
.semiont-assessment-panel__rating {
  display: flex;
  gap: var(--semiont-panel-padding-xs);
}
.semiont-assessment-panel__star {
  font-size: var(--semiont-panel-icon-size-lg);
  color: var(--semiont-color-gray-300);
  cursor: pointer;
  transition: color 0.2s ease;
}
[data-theme=dark] .semiont-assessment-panel__star {
  color: var(--semiont-color-gray-300);
}
.semiont-assessment-panel__star:hover {
  color: var(--semiont-color-warning);
}
.semiont-assessment-panel__star--filled {
  color: var(--semiont-color-warning);
}
[data-theme=dark] .semiont-assessment-panel__star--filled {
  color: var(--semiont-color-warning);
}
.semiont-assessment-panel__textarea {
  width: 100%;
  padding: var(--semiont-panel-padding-sm);
  background: var(--semiont-bg-secondary);
  border: 1px solid var(--semiont-color-gray-300);
  border-radius: var(--semiont-radius-md);
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-primary);
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s ease;
}
[data-theme=dark] .semiont-assessment-panel__textarea {
  background: var(--semiont-bg-tertiary);
  border-color: var(--semiont-color-gray-600);
}
.semiont-assessment-panel__textarea:focus {
  outline: none;
  border-color: var(--semiont-color-primary-500);
}
.semiont-assessment-panel__actions {
  display: flex;
  gap: var(--semiont-panel-gap-sm);
}

/* src/components/resource/panels/CollaborationPanel.css */
.semiont-collaboration-panel {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap);
  padding: var(--semiont-panel-padding);
  background: var(--semiont-bg-primary);
  border-radius: var(--semiont-panel-border-radius);
}
.semiont-collaboration-panel__title {
  margin: 0 0 var(--semiont-panel-header-margin-bottom);
  font-size: var(--semiont-panel-title-size);
  font-weight: var(--semiont-panel-title-weight);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-collaboration-panel__title {
  color: var(--semiont-text-primary);
}
.semiont-collaboration-panel__section {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-collaboration-panel__section--bordered {
  padding-top: var(--semiont-panel-gap);
  border-top: 1px solid var(--semiont-border-secondary);
}
[data-theme=dark] .semiont-collaboration-panel__section--bordered {
  border-top-color: var(--semiont-color-gray-700);
}
.semiont-collaboration-panel__heading {
  margin: 0 0 var(--semiont-panel-gap-sm);
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-semibold);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-collaboration-panel__heading {
  color: var(--semiont-text-primary);
}
.semiont-collaboration-panel__status {
  display: flex;
  align-items: center;
  gap: var(--semiont-panel-gap-sm);
  flex-wrap: wrap;
}
.semiont-collaboration-panel__indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.semiont-collaboration-panel__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--semiont-radius-full);
  background: var(--semiont-color-gray-400);
  flex-shrink: 0;
}
.semiont-collaboration-panel__dot[data-connected=true] {
  background: var(--semiont-color-success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.semiont-collaboration-panel__status-text {
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-medium);
  color: var(--semiont-text-tertiary);
}
[data-theme=dark] .semiont-collaboration-panel__status-text {
  color: var(--semiont-text-tertiary);
}
.semiont-collaboration-panel__status-text[data-connected=true] {
  color: var(--semiont-color-success-dark);
}
[data-theme=dark] .semiont-collaboration-panel__status-text[data-connected=true] {
  color: var(--semiont-color-success-light);
}
.semiont-collaboration-panel__event-count {
  font-size: var(--semiont-text-xs);
  color: var(--semiont-text-tertiary);
}
[data-theme=dark] .semiont-collaboration-panel__event-count {
  color: var(--semiont-text-tertiary);
}
.semiont-collaboration-panel__details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-secondary);
  line-height: 1.5;
}
[data-theme=dark] .semiont-collaboration-panel__details {
  color: var(--semiont-text-secondary);
}
.semiont-collaboration-panel__label {
  font-weight: var(--semiont-font-medium);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-collaboration-panel__label {
  color: var(--semiont-text-primary);
}
.semiont-collaboration-panel__description {
  margin: 0;
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-tertiary);
  font-style: italic;
  line-height: 1.5;
}
[data-theme=dark] .semiont-collaboration-panel__description {
  color: var(--semiont-text-tertiary);
}
.semiont-collaboration-panel__user-list {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-collaboration-panel__user {
  display: flex;
  align-items: center;
  gap: var(--semiont-panel-gap-md);
  padding: var(--semiont-panel-padding-sm);
  background: var(--semiont-bg-secondary);
  border-radius: var(--semiont-radius-md);
  transition: background-color 0.2s ease;
}
[data-theme=dark] .semiont-collaboration-panel__user {
  background: var(--semiont-bg-tertiary);
}
.semiont-collaboration-panel__user:hover {
  background: var(--semiont-color-gray-100);
}
[data-theme=dark] .semiont-collaboration-panel__user:hover {
  background: var(--semiont-color-gray-700);
}
.semiont-collaboration-panel__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--semiont-radius-full);
  background: var(--semiont-color-primary-100);
  color: var(--semiont-color-primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--semiont-font-semibold);
  font-size: var(--semiont-text-sm);
}
[data-theme=dark] .semiont-collaboration-panel__avatar {
  background: rgba(59, 130, 246, 0.2);
  color: var(--semiont-color-primary-300);
}
.semiont-collaboration-panel__user-info {
  flex: 1;
}
.semiont-collaboration-panel__username {
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-medium);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-collaboration-panel__username {
  color: var(--semiont-text-primary);
}
.semiont-collaboration-panel__user-status {
  font-size: var(--semiont-text-xs);
  color: var(--semiont-text-tertiary);
}
[data-theme=dark] .semiont-collaboration-panel__user-status {
  color: var(--semiont-text-tertiary);
}

/* src/components/resource/panels/CommentsPanel.css */
.semiont-comments-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--semiont-bg-primary);
  border-radius: var(--semiont-radius-lg);
}
[data-theme=dark] .semiont-comments-panel {
  background: var(--semiont-bg-secondary);
}
.semiont-comments-panel__header {
  padding: var(--semiont-panel-padding);
  border-bottom: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-comments-panel__header {
  border-bottom-color: var(--semiont-color-gray-700);
}
.semiont-comments-panel__title {
  font-size: var(--semiont-panel-title-size);
  font-weight: var(--semiont-panel-title-weight);
  color: var(--semiont-text-primary);
  margin-bottom: var(--semiont-panel-header-margin-bottom);
}
[data-theme=dark] .semiont-comments-panel__title {
  color: var(--semiont-text-primary);
}
.semiont-comments-panel__list {
  flex: 1;
  overflow-y: auto;
  padding: var(--semiont-panel-padding);
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap);
}
.semiont-comments-panel__comment {
  padding: var(--semiont-panel-padding-md);
  background: var(--semiont-bg-secondary);
  border-radius: var(--semiont-radius-md);
  border-left: 3px solid var(--semiont-color-primary-500);
}
[data-theme=dark] .semiont-comments-panel__comment {
  background: var(--semiont-bg-tertiary);
}
.semiont-comments-panel__comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--semiont-panel-gap-sm);
}
.semiont-comments-panel__comment-author {
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-semibold);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-comments-panel__comment-author {
  color: var(--semiont-text-primary);
}
.semiont-comments-panel__comment-time {
  font-size: var(--semiont-text-xs);
  color: var(--semiont-text-tertiary);
}
[data-theme=dark] .semiont-comments-panel__comment-time {
  color: var(--semiont-text-tertiary);
}
.semiont-comments-panel__comment-text {
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-primary);
  line-height: 1.5;
}
[data-theme=dark] .semiont-comments-panel__comment-text {
  color: var(--semiont-text-primary);
}
.semiont-comments-panel__input-area {
  padding: var(--semiont-panel-padding);
  border-top: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-comments-panel__input-area {
  border-top-color: var(--semiont-color-gray-700);
}
.semiont-comments-panel__input {
  width: 100%;
  padding: var(--semiont-panel-padding-sm);
  background: var(--semiont-bg-secondary);
  border: 1px solid var(--semiont-color-gray-300);
  border-radius: var(--semiont-radius-md);
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-primary);
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s ease;
}
[data-theme=dark] .semiont-comments-panel__input {
  background: var(--semiont-bg-tertiary);
  border-color: var(--semiont-color-gray-600);
}
.semiont-comments-panel__input:focus {
  outline: none;
  border-color: var(--semiont-color-primary-500);
}
.semiont-comments-panel__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--semiont-panel-gap-sm);
}

/* src/components/resource/panels/HighlightPanel.css */
.semiont-highlight-panel {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap);
  padding: var(--semiont-panel-padding);
  background: var(--semiont-bg-primary);
  border-radius: var(--semiont-radius-lg);
}
[data-theme=dark] .semiont-highlight-panel {
  background: var(--semiont-bg-secondary);
}
.semiont-highlight-panel__section {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-highlight-panel__label {
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-semibold);
  color: var(--semiont-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
[data-theme=dark] .semiont-highlight-panel__label {
  color: var(--semiont-text-secondary);
}
.semiont-highlight-panel__colors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--semiont-panel-gap-sm);
}
.semiont-highlight-panel__color {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--semiont-radius-md);
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 2px solid transparent;
}
.semiont-highlight-panel__color:hover {
  transform: scale(1.1);
}
.semiont-highlight-panel__color--selected {
  border-color: var(--semiont-text-primary);
  transform: scale(1.1);
}
[data-theme=dark] .semiont-highlight-panel__color--selected {
  border-color: var(--semiont-text-primary);
}

/* src/components/resource/panels/JsonLdPanel.css */
.semiont-jsonld-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.semiont-jsonld-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--semiont-panel-padding);
  padding-bottom: var(--semiont-panel-gap);
}
.semiont-jsonld-panel__title {
  margin: 0;
  font-size: var(--semiont-panel-title-size);
  font-weight: var(--semiont-panel-title-weight);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-jsonld-panel__title {
  color: var(--semiont-text-primary);
}
.semiont-jsonld-panel__editor {
  flex: 1;
  overflow: hidden;
  background: var(--semiont-bg-secondary);
  border-radius: var(--semiont-radius-md);
  padding: var(--semiont-panel-padding);
}
[data-theme=dark] .semiont-jsonld-panel__editor {
  background: var(--semiont-bg-tertiary);
}

/* src/components/resource/panels/ReferencesPanel.css */
.semiont-references-panel {
  display: flex;
  flex-direction: column;
}
.semiont-references-panel__list {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-references-panel__item {
  padding: var(--semiont-panel-padding-md);
  background: var(--semiont-bg-secondary);
  border-radius: var(--semiont-radius-md);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
[data-theme=dark] .semiont-references-panel__item {
  background: var(--semiont-bg-tertiary);
}
.semiont-references-panel__item:hover {
  border-color: var(--semiont-color-primary-300);
}
.semiont-references-panel__title {
  font-size: var(--semiont-panel-title-size);
  font-weight: var(--semiont-panel-title-weight);
  color: var(--semiont-text-primary);
  margin-bottom: var(--semiont-panel-header-margin-bottom);
}
[data-theme=dark] .semiont-references-panel__title {
  color: var(--semiont-text-primary);
}
.semiont-references-panel__path {
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-tertiary);
  margin-top: var(--semiont-panel-padding-xs);
}
[data-theme=dark] .semiont-references-panel__path {
  color: var(--semiont-text-tertiary);
}
.semiont-references-panel__count {
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-tertiary);
  margin-top: var(--semiont-panel-padding-xs);
}
[data-theme=dark] .semiont-references-panel__count {
  color: var(--semiont-text-tertiary);
}
.semiont-reference-icon-group {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.semiont-reference-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: var(--semiont-radius-md);
  border: 1px solid var(--semiont-color-gray-300);
  background: var(--semiont-bg-secondary);
  color: var(--semiont-text-secondary);
  transition: all 0.15s ease;
}
[data-theme=dark] .semiont-reference-icon {
  border-color: var(--semiont-color-gray-600);
  background: var(--semiont-color-gray-700);
}
.semiont-reference-icon--clickable {
  cursor: pointer;
}
.semiont-reference-icon--clickable:hover {
  background: var(--semiont-gradient-primary);
  border-color: var(--semiont-color-primary-300);
  transform: scale(1.1);
}
[data-theme=dark] .semiont-reference-icon--clickable:hover {
  background: var(--semiont-gradient-primary-dark);
  border-color: var(--semiont-color-primary-500);
}
.semiont-reference-icon--clickable:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-reference-icon--clickable:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-reference-icon[data-generating=true] {
  animation: semiont-icon-pulse 1.5s ease-in-out infinite;
}
[data-theme=dark] .semiont-reference-icon[data-generating=true] {
  animation: semiont-icon-pulse-dark 1.5s ease-in-out infinite;
}
@keyframes semiont-icon-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px 2px rgba(59, 130, 246, 0.5);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 16px 4px rgba(59, 130, 246, 0.8);
  }
}
@keyframes semiont-icon-pulse-dark {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px 2px rgba(96, 165, 250, 0.6);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 16px 4px rgba(96, 165, 250, 0.9);
  }
}
.semiont-reference-unlink {
  position: absolute;
  right: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.semiont-annotation-entry:hover .semiont-reference-unlink {
  opacity: 1;
  pointer-events: auto;
}
.semiont-reference-unlink:hover {
  transform: translateY(-50%) scale(1.2);
}
.semiont-reference-unlink:focus-visible {
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
  border-radius: 2px;
}

/* src/components/resource/panels/ResourceInfoPanel.css */
.semiont-resource-info-panel {
  background: var(--semiont-bg-primary);
  border-radius: var(--semiont-radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: var(--semiont-panel-padding);
}
[data-theme=dark] .semiont-resource-info-panel {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.semiont-resource-info-panel__title {
  margin: 0 0 var(--semiont-panel-header-margin-bottom);
  font-size: var(--semiont-panel-title-size);
  font-weight: var(--semiont-panel-title-weight);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-resource-info-panel__title {
  color: var(--semiont-text-primary);
}
.semiont-resource-info-panel__section {
  margin-bottom: var(--semiont-panel-gap);
}
.semiont-resource-info-panel__section:last-child {
  margin-bottom: 0;
}
.semiont-resource-info-panel__heading {
  font-size: var(--semiont-text-base);
  font-weight: var(--semiont-font-semibold);
  color: var(--semiont-text-primary);
  margin-bottom: var(--semiont-panel-gap-sm);
}
[data-theme=dark] .semiont-resource-info-panel__heading {
  color: var(--semiont-text-primary);
}
.semiont-resource-info-panel__value {
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-resource-info-panel__value {
  color: var(--semiont-text-primary);
}
.semiont-resource-info-panel__value--empty {
  color: var(--semiont-text-tertiary);
  font-style: italic;
}
[data-theme=dark] .semiont-resource-info-panel__value--empty {
  color: var(--semiont-text-tertiary);
}
.semiont-resource-info-panel__metric {
  display: flex;
  align-items: center;
  gap: var(--semiont-panel-gap-sm);
  margin-bottom: var(--semiont-panel-gap-sm);
}
.semiont-resource-info-panel__metric:last-child {
  margin-bottom: 0;
}
.semiont-resource-info-panel__metric-label {
  color: var(--semiont-text-tertiary);
  font-size: var(--semiont-text-sm);
}
[data-theme=dark] .semiont-resource-info-panel__metric-label {
  color: var(--semiont-text-tertiary);
}
.semiont-resource-info-panel__metric-value {
  color: var(--semiont-text-primary);
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-medium);
}
[data-theme=dark] .semiont-resource-info-panel__metric-value {
  color: var(--semiont-text-primary);
}
.semiont-resource-info-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-resource-info-panel__tag {
  padding: var(--semiont-panel-padding-xs) var(--semiont-panel-padding-sm);
  background-color: var(--semiont-color-primary-100);
  color: var(--semiont-color-primary-700);
  border-radius: var(--semiont-radius-full);
  font-size: var(--semiont-text-xs);
  font-weight: var(--semiont-font-medium);
}
[data-theme=dark] .semiont-resource-info-panel__tag {
  background-color: rgba(59, 130, 246, 0.2);
  color: var(--semiont-color-primary-300);
}
.semiont-resource-info-panel__actions {
  display: flex;
  gap: var(--semiont-panel-gap-sm);
  padding-top: var(--semiont-panel-padding);
  border-top: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-resource-info-panel__actions {
  border-top-color: var(--semiont-color-gray-700);
}
.semiont-resource-info-panel__field-group {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-resource-info-panel__field-group > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.semiont-resource-info-panel__label {
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-tertiary);
  margin-right: var(--semiont-panel-gap-sm);
}
[data-theme=dark] .semiont-resource-info-panel__label {
  color: var(--semiont-text-tertiary);
}
.semiont-resource-info-panel__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-resource-info-panel__action-section {
  margin-top: var(--semiont-panel-gap);
  padding-top: var(--semiont-panel-padding);
  border-top: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-resource-info-panel__action-section {
  border-top-color: var(--semiont-color-gray-700);
}
.semiont-resource-info-panel__description {
  font-size: var(--semiont-text-xs);
  color: var(--semiont-text-tertiary);
  margin-top: var(--semiont-panel-gap-sm);
  line-height: 1.5;
}
[data-theme=dark] .semiont-resource-info-panel__description {
  color: var(--semiont-text-tertiary);
}
.semiont-resource-button {
  width: 100%;
  padding: var(--semiont-panel-padding-sm) var(--semiont-panel-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--semiont-panel-gap-sm);
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-medium);
  border-radius: var(--semiont-radius-lg);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.semiont-resource-button--secondary {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--semiont-text-primary);
  border-color: rgba(0, 0, 0, 0.2);
}
[data-theme=dark] .semiont-resource-button--secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--semiont-text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}
.semiont-resource-button--secondary:hover {
  background-color: rgba(0, 0, 0, 0.2);
}
[data-theme=dark] .semiont-resource-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.semiont-resource-button--archive {
  background-color: var(--semiont-color-orange-100);
  color: var(--semiont-color-orange-700);
  border-color: var(--semiont-color-orange-300);
}
[data-theme=dark] .semiont-resource-button--archive {
  background-color: rgba(251, 146, 60, 0.2);
  color: var(--semiont-color-orange-400);
  border-color: rgba(251, 146, 60, 0.3);
}
.semiont-resource-button--archive:hover {
  background-color: var(--semiont-color-orange-200);
}
[data-theme=dark] .semiont-resource-button--archive:hover {
  background-color: rgba(251, 146, 60, 0.3);
}

/* src/components/resource/panels/StatisticsPanel.css */
.semiont-statistics-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.semiont-statistics-panel__content {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap);
  padding: var(--semiont-panel-padding);
}
.semiont-statistics-panel__title {
  margin: 0 0 var(--semiont-panel-gap-sm);
  font-size: var(--semiont-text-lg);
  font-weight: var(--semiont-font-semibold);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-statistics-panel__title {
  color: var(--semiont-text-primary);
}
.semiont-statistics-panel__list {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-statistics-panel__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--semiont-panel-padding-sm);
  background: var(--semiont-bg-secondary);
  border-radius: var(--semiont-radius-md);
  flex-wrap: wrap;
  gap: var(--semiont-panel-gap-sm);
}
[data-theme=dark] .semiont-statistics-panel__item {
  background: var(--semiont-bg-tertiary);
}
.semiont-statistics-panel__label {
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-medium);
  color: var(--semiont-text-secondary);
}
[data-theme=dark] .semiont-statistics-panel__label {
  color: var(--semiont-text-secondary);
}
.semiont-statistics-panel__value {
  font-size: var(--semiont-text-lg);
  font-weight: var(--semiont-font-semibold);
  color: var(--semiont-text-primary);
  margin-left: auto;
}
[data-theme=dark] .semiont-statistics-panel__value {
  color: var(--semiont-text-primary);
}
.semiont-statistics-panel__subitems {
  width: 100%;
  margin-top: var(--semiont-panel-gap-xs);
  padding-left: var(--semiont-panel-padding);
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-xs);
}
.semiont-statistics-panel__subitem {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.semiont-statistics-panel__sublabel {
  font-size: var(--semiont-text-xs);
  color: var(--semiont-text-tertiary);
}
[data-theme=dark] .semiont-statistics-panel__sublabel {
  color: var(--semiont-text-tertiary);
}
.semiont-statistics-panel__subvalue {
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-medium);
  color: var(--semiont-text-secondary);
}
[data-theme=dark] .semiont-statistics-panel__subvalue {
  color: var(--semiont-text-secondary);
}
.semiont-statistics-panel__entity-types {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-sm);
  padding: var(--semiont-panel-padding-sm);
  background: var(--semiont-bg-secondary);
  border-radius: var(--semiont-radius-md);
}
[data-theme=dark] .semiont-statistics-panel__entity-types {
  background: var(--semiont-bg-tertiary);
}
.semiont-statistics-panel__entity-list {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-xs);
}
.semiont-statistics-panel__entity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-statistics-panel__entity-name {
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-primary);
  flex: 1;
}
[data-theme=dark] .semiont-statistics-panel__entity-name {
  color: var(--semiont-text-primary);
}

/* src/components/resource/panels/TaggingPanel.css */
.semiont-tagging-panel {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap);
  padding: var(--semiont-panel-padding);
  background: var(--semiont-bg-primary);
  border-radius: var(--semiont-radius-lg);
}
[data-theme=dark] .semiont-tagging-panel {
  background: var(--semiont-bg-secondary);
}
.semiont-tagging-panel__section {
  display: flex;
  flex-direction: column;
  gap: var(--semiont-panel-gap-sm);
}
.semiont-tagging-panel__label {
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-semibold);
  color: var(--semiont-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
[data-theme=dark] .semiont-tagging-panel__label {
  color: var(--semiont-text-secondary);
}
.semiont-tagging-panel__input {
  padding: var(--semiont-panel-padding-sm);
  background: var(--semiont-bg-secondary);
  border: 1px solid var(--semiont-color-gray-300);
  border-radius: var(--semiont-radius-md);
  font-size: var(--semiont-text-sm);
  color: var(--semiont-text-primary);
  transition: border-color 0.2s ease;
}
[data-theme=dark] .semiont-tagging-panel__input {
  background: var(--semiont-bg-tertiary);
  border-color: var(--semiont-color-gray-600);
}
.semiont-tagging-panel__input:focus {
  outline: none;
  border-color: var(--semiont-color-primary-500);
}

/* src/components/resource/panels/UnifiedAnnotationsPanel.css */
.semiont-unified-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.semiont-unified-panel__title {
  margin: 0 0 var(--semiont-panel-header-margin-bottom);
  padding: var(--semiont-panel-padding);
  padding-bottom: 0;
  font-size: var(--semiont-panel-title-size);
  font-weight: var(--semiont-panel-title-weight);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-unified-panel__title {
  color: var(--semiont-text-primary);
}
.semiont-unified-panel__tabs {
  display: flex;
  gap: 0;
  padding: 0;
  background: var(--semiont-bg-secondary);
  border-bottom: 1px solid var(--semiont-color-gray-300);
}
[data-theme=dark] .semiont-unified-panel__tabs {
  background: var(--semiont-bg-tertiary);
  border-bottom-color: var(--semiont-color-gray-700);
}
.semiont-unified-panel__tab-button {
  flex: 1;
  padding: var(--semiont-panel-padding-sm);
  background: transparent;
  border: none;
  border-right: 1px solid var(--semiont-color-gray-300);
  font-size: var(--semiont-text-sm);
  font-weight: var(--semiont-font-medium);
  color: var(--semiont-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--semiont-panel-padding-xs) * 1.5);
  position: relative;
}
.semiont-unified-panel__tab-button:last-child {
  border-right: none;
}
.semiont-unified-panel__tab-button:last-child:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: -2px;
  z-index: 1;
}
[data-theme=dark] .semiont-unified-panel__tab-button:last-child:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
[data-theme=dark] .semiont-unified-panel__tab-button {
  color: var(--semiont-text-secondary);
  border-right-color: var(--semiont-color-gray-700);
}
.semiont-unified-panel__tab-button:hover {
  background: var(--semiont-bg-tertiary);
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-unified-panel__tab-button:hover {
  background: var(--semiont-color-gray-700);
  color: var(--semiont-text-primary);
}
.semiont-unified-panel__tab-button:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: -2px;
  z-index: 1;
}
[data-theme=dark] .semiont-unified-panel__tab-button:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-unified-panel__tab-button--active {
  background: var(--semiont-bg-primary);
  color: var(--semiont-text-primary);
  font-weight: var(--semiont-font-semibold);
  border-bottom: 2px solid var(--semiont-color-primary-500);
}
[data-theme=dark] .semiont-unified-panel__tab-button--active {
  background: var(--semiont-bg-primary);
  color: var(--semiont-text-primary);
  border-bottom-color: var(--semiont-color-primary-400);
}
.semiont-unified-panel__tab-button--active:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-unified-panel__tab-button--active:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-unified-panel__tab-icon {
  font-size: var(--semiont-panel-icon-size);
}
.semiont-unified-panel__content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.semiont-unified-panel__content > .semiont-panel {
  height: 100%;
}

/* src/components/layout/Footer.css */
.semiont-footer {
  background: var(--semiont-bg-primary);
  border-top: 1px solid var(--semiont-border-primary);
}
.semiont-footer__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem;
}
@media (min-width: 640px) {
  .semiont-footer__container {
    padding: 1rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .semiont-footer__container {
    padding: 1rem 2rem;
  }
}
.semiont-footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .semiont-footer__content {
    flex-direction: row;
    justify-content: space-between;
  }
}
.semiont-footer__copyright {
  color: var(--semiont-color-gray-600);
  font-size: 0.875rem;
}
[data-theme=dark] .semiont-footer__copyright {
  color: var(--semiont-color-gray-400);
}
.semiont-footer__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.semiont-footer__link {
  color: var(--semiont-color-gray-600);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--semiont-duration-base);
}
.semiont-footer__link:hover {
  color: var(--semiont-color-gray-900);
}
[data-theme=dark] .semiont-footer__link {
  color: var(--semiont-color-gray-400);
}
[data-theme=dark] .semiont-footer__link:hover {
  color: var(--semiont-color-gray-100);
}
.semiont-footer__link--keyboard {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.semiont-footer__kbd {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  background: var(--semiont-bg-tertiary);
  border: 1px solid var(--semiont-border-primary);
  border-radius: var(--semiont-radius-sm);
  font-family: var(--semiont-font-mono);
  font-size: 0.75rem;
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-footer__kbd {
  background: var(--semiont-bg-tertiary);
  border-color: var(--semiont-border-primary);
  color: var(--semiont-text-primary);
}

/* src/components/navigation/NavigationMenu.css */
.semiont-navigation-menu {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}
.semiont-navigation-menu__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  color: var(--semiont-color-gray-700);
  text-decoration: none;
  border-radius: var(--semiont-radius-md);
  transition: all var(--semiont-duration-base);
  font-size: 0.875rem;
  font-weight: 500;
}
[data-theme=dark] .semiont-navigation-menu__link {
  color: var(--semiont-color-gray-300);
}
.semiont-navigation-menu__link:hover {
  background: var(--semiont-color-gray-100) !important;
  color: var(--semiont-color-gray-900) !important;
  cursor: pointer;
}
[data-theme=dark] .semiont-navigation-menu__link:hover {
  background: var(--semiont-color-gray-700) !important;
  color: var(--semiont-color-gray-50) !important;
}
.semiont-navigation-menu__link:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
.semiont-navigation-menu__link[aria-current=page] {
  background: var(--semiont-color-gray-200);
  color: var(--semiont-color-gray-900);
  font-weight: 600;
}
[data-theme=dark] .semiont-navigation-menu__link[aria-current=page] {
  background: var(--semiont-color-gray-800);
  color: var(--semiont-color-gray-100);
}
.semiont-navigation-menu__divider {
  height: 1px;
  margin: 0.25rem 0.5rem;
  background: var(--semiont-border-primary);
}

/* src/components/navigation/CollapsibleResourceNavigation.css */
.semiont-collapsible-nav {
  height: 100%;
}
.semiont-collapsible-nav__header {
  position: relative;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.semiont-collapsible-nav__header:has(.semiont-collapsible-nav__expand-btn) {
  justify-content: center;
}
.semiont-collapsible-nav__title {
}
.semiont-nav-header__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--semiont-color-gray-400);
  flex: 1;
}
[data-theme=dark] .semiont-nav-header__title {
  color: var(--semiont-color-gray-500);
}
.semiont-collapsible-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background:
    linear-gradient(
      to bottom,
      var(--semiont-bg-primary),
      var(--semiont-color-gray-50));
  border: 1px solid var(--semiont-color-gray-300);
  border-radius: var(--semiont-radius-lg);
  box-shadow: var(--semiont-shadow-xl);
  min-width: 12rem;
  z-index: 50;
}
[data-theme=dark] .semiont-collapsible-nav__dropdown {
  background:
    linear-gradient(
      to bottom,
      var(--semiont-bg-secondary),
      var(--semiont-color-gray-800));
  border-color: var(--semiont-color-gray-700);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}
.semiont-collapsible-nav__collapse-btn {
  padding: 0.5rem;
  border-radius: 0.375rem;
  background-color: var(--semiont-color-gray-100);
  border: 1px solid var(--semiont-color-gray-300);
  transition: all 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.semiont-collapsible-nav__collapse-btn:hover {
  background-color: var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-collapsible-nav__collapse-btn {
  background-color: var(--semiont-color-gray-800);
  border-color: var(--semiont-color-gray-600);
}
[data-theme=dark] .semiont-collapsible-nav__collapse-btn:hover {
  background-color: var(--semiont-color-gray-700);
}
.semiont-collapsible-nav__expand-btn {
  padding: 0.5rem;
  border-radius: 0.375rem;
  background-color: var(--semiont-color-gray-100);
  border: 1px solid var(--semiont-color-gray-300);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.semiont-collapsible-nav__expand-btn:hover {
  background-color: var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-collapsible-nav__expand-btn {
  background-color: var(--semiont-color-gray-800);
  border-color: var(--semiont-color-gray-600);
}
[data-theme=dark] .semiont-collapsible-nav__expand-btn:hover {
  background-color: var(--semiont-color-gray-700);
}
.semiont-collapsible-nav__collapse-btn svg,
.semiont-collapsible-nav__expand-btn svg {
  height: 1.25rem;
  width: 1.25rem;
  color: var(--semiont-color-gray-700);
}
[data-theme=dark] .semiont-collapsible-nav__collapse-btn svg,
[data-theme=dark] .semiont-collapsible-nav__expand-btn svg {
  color: var(--semiont-color-gray-300);
}
.semiont-collapsible-nav__content {
}
.semiont-collapsible-nav__container {
  padding: 1rem;
}
.semiont-collapsible-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.semiont-collapsible-nav__resources {
  margin-top: 0.75rem;
}

/* src/components/modals/SearchModal.css */
.semiont-search-modal {
  position: relative;
  z-index: 1000;
}
.semiont-search-modal--resource {
  z-index: 1001;
}
.semiont-search-modal__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}
[data-theme=dark] .semiont-search-modal__backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}
.semiont-search-modal__wrapper {
  position: fixed;
  inset: 0;
  overflow-y: auto;
}
.semiont-search-modal__centering {
  display: flex;
  min-height: 100%;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  padding-top: 10vh;
}
.semiont-search-modal__panel {
  width: 100%;
  max-width: 42rem;
  transform: translateZ(0);
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: var(--semiont-color-white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
}
[data-theme=dark] .semiont-search-modal__panel {
  background-color: var(--semiont-color-gray-800);
}
.semiont-search-modal__input-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--semiont-color-gray-200);
}
.semiont-search-modal__input-container:focus-within {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: -2px;
}
[data-theme=dark] .semiont-search-modal__input-container {
  border-bottom-color: var(--semiont-color-gray-700);
}
[data-theme=dark] .semiont-search-modal__input-container:focus-within {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-search-modal__search-icon-wrapper {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
}
.semiont-search-modal__search-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--semiont-color-gray-600);
}
[data-theme=dark] .semiont-search-modal__search-icon {
  color: var(--semiont-color-gray-400);
}
.semiont-search-modal__input {
  flex: 1;
  padding: 0.75rem 1rem;
  background-color: transparent;
  color: var(--semiont-color-gray-900);
}
.semiont-search-modal__input:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-search-modal__input {
  color: var(--semiont-color-white);
}
[data-theme=dark] .semiont-search-modal__input:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-search-modal__esc-wrapper {
  flex-shrink: 0;
  padding: 0.75rem 1rem;
}
.semiont-search-modal__kbd {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--semiont-color-gray-500);
  background-color: var(--semiont-color-gray-100);
  border-radius: 0.25rem;
}
[data-theme=dark] .semiont-search-modal__kbd {
  color: var(--semiont-color-gray-400);
  background-color: var(--semiont-color-gray-700);
}
.semiont-search-modal__kbd--small {
  padding: 0.125rem 0.375rem;
}
.semiont-search-modal__results {
  max-height: 60vh;
  overflow-y: auto;
}
.semiont-search-modal__empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-search-modal__empty {
  color: var(--semiont-color-gray-400);
}
.semiont-search-modal__results-list {
  padding: 0.5rem 0;
}
.semiont-search-modal__result {
  width: 100%;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: background-color 0.2s;
}
.semiont-search-modal__result:hover {
  background-color: var(--semiont-color-gray-50);
}
[data-theme=dark] .semiont-search-modal__result:hover {
  background-color: rgba(55, 65, 81, 0.5);
}
.semiont-search-modal__result--selected {
  background-color: var(--semiont-color-gray-50);
}
.semiont-search-modal__result--selected:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-search-modal__result--selected {
  background-color: rgba(55, 65, 81, 0.5);
}
[data-theme=dark] .semiont-search-modal__result--selected:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-search-modal__result-icon-wrapper {
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.semiont-search-modal__result-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.semiont-search-modal__result-icon--resource {
  color: var(--semiont-color-primary-500);
}
[data-theme=dark] .semiont-search-modal__result-icon--resource {
  color: var(--semiont-color-primary-400);
}
.semiont-search-modal__result-icon--entity {
  color: var(--semiont-color-success-500);
}
[data-theme=dark] .semiont-search-modal__result-icon--entity {
  color: var(--semiont-color-success-400);
}
.semiont-search-modal__result-content {
  flex: 1;
  text-align: left;
}
.semiont-search-modal__result-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.semiont-search-modal__result-name {
  font-weight: 500;
  color: var(--semiont-color-gray-900);
}
[data-theme=dark] .semiont-search-modal__result-name {
  color: var(--semiont-color-white);
}
.semiont-search-modal__result-badge {
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: var(--semiont-color-success-100);
  color: var(--semiont-color-success-700);
}
[data-theme=dark] .semiont-search-modal__result-badge {
  background-color: rgba(34, 197, 94, 0.3);
  color: var(--semiont-color-success-300);
}
.semiont-search-modal__result-description {
  font-size: 0.875rem;
  color: var(--semiont-color-gray-600);
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-theme=dark] .semiont-search-modal__result-description {
  color: var(--semiont-color-gray-400);
}
.semiont-search-modal__result-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.semiont-search-modal__help {
  padding: 2rem 1rem;
}
.semiont-search-modal__help-text {
  text-align: center;
  color: var(--semiont-color-gray-500);
  margin-bottom: 1rem;
}
[data-theme=dark] .semiont-search-modal__help-text {
  color: var(--semiont-color-gray-400);
}
.semiont-search-modal__shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.semiont-search-modal__shortcut {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-search-modal__shortcut {
  color: var(--semiont-color-gray-400);
}
.semiont-search-modal__centering--center {
  align-items: center;
}
.semiont-search-modal__panel--with-border {
  border: 1px solid var(--semiont-color-gray-200);
  padding: 1.5rem;
  max-width: 600px;
}
[data-theme=dark] .semiont-search-modal__panel--with-border {
  border-color: var(--semiont-color-gray-700);
}
.semiont-search-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.semiont-search-modal__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--semiont-color-gray-900);
}
[data-theme=dark] .semiont-search-modal__title {
  color: var(--semiont-color-white);
}
.semiont-search-modal__close-button {
  color: var(--semiont-color-gray-600);
}
.semiont-search-modal__close-button:hover {
  color: var(--semiont-color-gray-900);
}
.semiont-search-modal__close-button:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-search-modal__close-button {
  color: var(--semiont-color-gray-400);
}
[data-theme=dark] .semiont-search-modal__close-button:hover {
  color: var(--semiont-color-gray-300);
}
[data-theme=dark] .semiont-search-modal__close-button:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-search-modal__search-form {
  margin-bottom: 1rem;
}
.semiont-search-modal__search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--semiont-color-gray-300);
  border-radius: 0.5rem;
  color: var(--semiont-color-gray-900);
}
.semiont-search-modal__search-input:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-search-modal__search-input {
  border-color: var(--semiont-color-gray-600);
  background-color: var(--semiont-color-gray-700);
  color: var(--semiont-color-white);
}
[data-theme=dark] .semiont-search-modal__search-input:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-search-modal__resource-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.semiont-search-modal__resource-item {
  padding: 0.75rem;
  border: 1px solid var(--semiont-color-gray-200);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.semiont-search-modal__resource-item:hover {
  background-color: var(--semiont-color-gray-50);
}
[data-theme=dark] .semiont-search-modal__resource-item {
  border-color: var(--semiont-color-gray-700);
}
[data-theme=dark] .semiont-search-modal__resource-item:hover {
  background-color: rgba(55, 65, 81, 0.5);
}
.semiont-search-modal__resource-name {
  font-weight: 500;
  color: var(--semiont-color-gray-900);
  margin-bottom: 0.25rem;
}
[data-theme=dark] .semiont-search-modal__resource-name {
  color: var(--semiont-color-white);
}
.semiont-search-modal__resource-description {
  font-size: 0.875rem;
  color: var(--semiont-color-gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-theme=dark] .semiont-search-modal__resource-description {
  color: var(--semiont-color-gray-400);
}
.semiont-search-modal__resource-media-type {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--semiont-color-gray-500);
}
[data-theme=dark] .semiont-search-modal__resource-media-type {
  color: var(--semiont-color-gray-500);
}
.semiont-search-modal__panel--wide {
  max-width: 1100px;
}
.semiont-search-modal__panel--gather {
  max-width: min(90vw, 820px);
  max-height: min(90vh, 680px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.semiont-gather__outer {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 0.75rem;
  overflow: hidden;
}
.semiont-gather__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  padding: 2rem 0;
}
.semiont-gather__loading-text {
  font-size: 1.125rem;
  color: var(--semiont-text-secondary);
  font-weight: 500;
}
[data-theme=dark] .semiont-gather__loading-text {
  color: var(--semiont-text-secondary);
}
.semiont-gather__loading-dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--semiont-color-primary-500);
  animation: semiont-gather-pulse 1.2s ease-in-out infinite;
}
[data-theme=dark] .semiont-gather__loading-dot {
  background-color: var(--semiont-color-primary-400);
}
.semiont-gather__loading-dot:nth-child(1) {
  animation-delay: 0s;
}
.semiont-gather__loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.semiont-gather__loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes semiont-gather-pulse {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.semiont-gather__source-strip {
  flex-shrink: 0;
  padding-top: 0.25rem;
}
.semiont-gather__body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.semiont-gather__left {
  flex: 0 0 55%;
  overflow-y: auto;
  padding-right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-right: 1px solid var(--semiont-border-primary);
}
[data-theme=dark] .semiont-gather__left {
  border-right-color: var(--semiont-border-primary);
}
.semiont-gather__right {
  flex: 0 0 45%;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
}
.semiont-gather__right .semiont-form__field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.semiont-gather__hint-textarea {
  width: 100%;
  flex: 1;
  min-height: 0;
}
.semiont-gather__hint-textarea:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 0;
}
.semiont-gather__footer {
  flex-shrink: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--semiont-border-primary);
}
.semiont-gather__footer-label {
  font-size: var(--semiont-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--semiont-text-tertiary);
  margin-bottom: 0.5rem;
}
[data-theme=dark] .semiont-gather__footer-label {
  color: var(--semiont-text-tertiary);
}
.semiont-gather__actions {
  display: flex;
  flex-flow: row nowrap;
  gap: 0.5rem;
}
.semiont-gather__source-box {
  padding: 0.75rem;
  background-color: var(--semiont-bg-secondary);
  border-radius: var(--semiont-radius-md);
  border: 1px solid var(--semiont-border-primary);
  position: relative;
}
[data-theme=dark] .semiont-gather__source-box {
  background-color: var(--semiont-bg-secondary);
}
.semiont-gather__source-box::after {
  content: "";
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  height: 2rem;
  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--semiont-bg-secondary));
  pointer-events: none;
  border-radius: 0 0 var(--semiont-radius-md) var(--semiont-radius-md);
  transition: opacity 0.15s ease;
}
.semiont-gather__source-box--expanded::after {
  opacity: 0;
}
.semiont-gather__source-context {
  max-height: 8rem;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
.semiont-gather__source-box--expanded .semiont-gather__source-context {
  max-height: 16rem;
}
.semiont-gather__expand-btn {
  font-size: var(--semiont-text-xs);
  color: var(--semiont-text-tertiary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.125rem 0;
  margin-top: 0.25rem;
  text-decoration: none;
  outline: none;
}
.semiont-gather__expand-btn:hover {
  color: var(--semiont-color-primary-600);
}
[data-theme=dark] .semiont-gather__expand-btn {
  color: var(--semiont-text-tertiary);
}
[data-theme=dark] .semiont-gather__expand-btn:hover {
  color: var(--semiont-color-primary-400);
}
@media (max-width: 640px) {
  .semiont-search-modal__panel--gather {
    max-width: 100%;
    max-height: 100dvh;
  }
  .semiont-gather__outer {
    overflow-y: auto;
  }
  .semiont-gather__body {
    flex-direction: column;
    overflow: visible;
  }
  .semiont-gather__left {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--semiont-border-primary);
    padding-right: 0;
    padding-bottom: 0.75rem;
  }
  .semiont-gather__right {
    flex: none;
    padding-left: 0;
    padding-top: 0.75rem;
  }
  .semiont-gather__actions {
    flex-flow: row wrap;
  }
}
.semiont-search-results__two-pane {
  display: flex;
  gap: 1.5rem;
}
.semiont-search-results__context-pane {
  flex: 0 0 340px;
  max-height: 500px;
  overflow-y: auto;
}
.semiont-search-results__results-pane {
  flex: 1;
  max-height: 500px;
  overflow-y: auto;
}
@media (max-width: 640px) {
  .semiont-search-modal__panel--wide {
    max-width: 100%;
  }
  .semiont-search-results__two-pane {
    flex-direction: column;
  }
  .semiont-search-results__context-pane {
    flex: none;
    max-height: 200px;
  }
  .semiont-search-results__results-pane {
    max-height: 350px;
  }
}

/* src/components/layout/SkipLinks.css */
.semiont-skip-links {
  position: relative;
  z-index: 9999;
}
.semiont-skip-links-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.semiont-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--semiont-color-primary-600);
  color: var(--semiont-color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 0 0 var(--semiont-radius-md) var(--semiont-radius-md);
  box-shadow: var(--semiont-shadow-lg);
  white-space: nowrap;
  transition: all var(--semiont-duration-base);
  pointer-events: auto;
}
.semiont-skip-link:focus,
.semiont-skip-link:focus-visible {
  position: relative;
  left: auto;
  top: 0;
  outline: 2px solid var(--semiont-color-primary-300);
  outline-offset: 2px;
}
.semiont-skip-link:focus:hover,
.semiont-skip-link:focus-visible:hover {
  background: var(--semiont-color-primary-700);
  transform: translateY(2px);
}
.semiont-skip-link:focus + .semiont-skip-link,
.semiont-skip-link:focus-visible + .semiont-skip-link {
  margin-left: 0.5rem;
}
.semiont-skip-link-first:focus,
.semiont-skip-link-first:focus-visible {
  border-radius: 0 0 var(--semiont-radius-md) 0;
}
.semiont-skip-link-last:focus,
.semiont-skip-link-last:focus-visible {
  border-radius: 0 0 0 var(--semiont-radius-md);
}
[data-theme=dark] .semiont-skip-link {
  background: var(--semiont-color-primary-500);
  color: var(--semiont-color-white);
}
[data-theme=dark] .semiont-skip-link:focus,
[data-theme=dark] .semiont-skip-link:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
[data-theme=dark] .semiont-skip-link:focus:hover,
[data-theme=dark] .semiont-skip-link:focus-visible:hover {
  background: var(--semiont-color-primary-600);
}
@media (prefers-reduced-motion: reduce) {
  .semiont-skip-link {
    transition: none;
  }
}

/* src/components/StatusDisplay.css */
.semiont-status-display {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: var(--semiont-radius-lg);
  transition: all var(--semiont-duration-base) var(--semiont-ease);
}
.semiont-status-message {
  font-size: var(--semiont-text-base);
  font-weight: var(--semiont-font-medium);
}
.semiont-status-hint {
  font-size: var(--semiont-text-xs);
  margin-top: 0.25rem;
}
.semiont-status-display[data-status=success] {
  background-color: var(--semiont-color-blue-100);
  color: var(--semiont-color-blue-800);
}
.semiont-status-display[data-status=error] {
  background-color: var(--semiont-color-red-100);
  color: var(--semiont-color-red-800);
}
.semiont-status-display[data-status=warning] {
  background-color: var(--semiont-color-orange-200);
  color: var(--semiont-color-orange-800);
}
.semiont-status-display[data-status=loading] {
  background-color: var(--semiont-color-yellow-100);
  color: var(--semiont-color-yellow-900);
}
.semiont-status-display[data-status=info] {
  background-color: var(--semiont-bg-tertiary);
  color: var(--semiont-color-gray-800);
}
.semiont-status-display[data-status=success] .semiont-status-hint {
  color: var(--semiont-color-blue-900);
}
.semiont-status-display[data-status=error] .semiont-status-error-hint {
  color: var(--semiont-color-red-600);
}
.semiont-status-display[data-status=info] .semiont-status-hint {
  color: var(--semiont-color-gray-600);
}
[data-theme=dark] .semiont-status-display[data-status=success] {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--semiont-color-blue-300);
}
[data-theme=dark] .semiont-status-display[data-status=error] {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--semiont-color-red-300);
}
[data-theme=dark] .semiont-status-display[data-status=warning] {
  background-color: rgba(251, 146, 60, 0.1);
  color: var(--semiont-color-orange-300);
}
[data-theme=dark] .semiont-status-display[data-status=loading] {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--semiont-color-yellow-300);
}
[data-theme=dark] .semiont-status-display[data-status=info] {
  background-color: rgba(156, 163, 175, 0.1);
  color: var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-status-display[data-status=success] .semiont-status-hint {
  color: var(--semiont-color-blue-400);
}
[data-theme=dark] .semiont-status-display[data-status=error] .semiont-status-error-hint {
  color: var(--semiont-color-red-400);
}
[data-theme=dark] .semiont-status-display[data-status=info] .semiont-status-hint {
  color: var(--semiont-color-gray-400);
}
.semiont-user-menu-skeleton {
  width: 2rem;
  height: 2rem;
  border-radius: var(--semiont-radius-full);
  background-color: var(--semiont-color-neutral-200);
  animation: semiont-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
[data-theme=dark] .semiont-user-menu-skeleton {
  background-color: var(--semiont-color-neutral-700);
}
.semiont-toolbar {
  width: 3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  background-color: var(--semiont-bg-secondary);
  border-left: 1px solid var(--semiont-color-gray-200);
  flex-shrink: 0;
  overflow: visible;
}
.semiont-toolbar-button {
  padding: 0.5rem;
  border-radius: var(--semiont-radius-md);
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--semiont-color-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.semiont-toolbar-button:hover {
  background-color: var(--semiont-color-gray-200);
}
.semiont-toolbar-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--semiont-color-blue-500), 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.semiont-toolbar-button[data-active=true] {
  background-color: var(--semiont-color-blue-200);
  color: var(--semiont-color-blue-700);
  border-left: 4px solid var(--semiont-color-blue-600);
}
.semiont-toolbar-icon {
  font-size: 1.5rem;
}
.semiont-toolbar-icon-large {
  font-size: 1.875rem;
  font-weight: var(--semiont-font-weight-bold);
}
[data-theme=dark] .semiont-toolbar {
  background-color: var(--semiont-bg-secondary);
  border-left-color: var(--semiont-color-gray-700);
}
[data-theme=dark] .semiont-toolbar-button {
  color: var(--semiont-color-gray-400);
}
[data-theme=dark] .semiont-toolbar-button:hover {
  background-color: var(--semiont-bg-tertiary);
}
[data-theme=dark] .semiont-toolbar-button[data-active=true] {
  background-color: rgba(30, 58, 138, 0.5);
  color: var(--semiont-color-blue-300);
  border-left-color: var(--semiont-color-blue-400);
}
.semiont-resource-tags-inline {
  padding: var(--semiont-spacing-xs) var(--semiont-spacing-lg);
  border-top: 1px solid var(--semiont-color-neutral-200);
}
.semiont-resource-tags-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--semiont-spacing-xs);
}
.semiont-resource-tag {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--semiont-spacing-xs) / 2);
  padding: calc(var(--semiont-spacing-xs) / 2) var(--semiont-spacing-xs);
  background-color: var(--semiont-color-primary-100);
  color: var(--semiont-color-primary-700);
  border: 1px solid var(--semiont-color-primary-200);
  border-radius: var(--semiont-radius-base);
  font-size: var(--semiont-font-size-xs);
}
[data-theme=dark] .semiont-resource-tags-inline {
  border-top-color: var(--semiont-color-neutral-700);
}
[data-theme=dark] .semiont-resource-tag {
  background-color: rgba(59, 130, 246, 0.3);
  color: var(--semiont-color-primary-300);
  border-color: var(--semiont-color-primary-800);
}
.semiont-error-boundary-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--semiont-bg-secondary);
  padding: var(--semiont-spacing-md);
}
.semiont-error-boundary-content {
  max-width: 28rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--semiont-spacing-md);
}
.semiont-error-boundary-header {
  text-align: center;
}
.semiont-error-boundary-title {
  font-size: var(--semiont-font-size-2xl);
  font-weight: var(--semiont-font-weight-bold);
  color: var(--semiont-color-neutral-900);
  margin-bottom: var(--semiont-spacing-xs);
}
.semiont-error-boundary-message {
  color: var(--semiont-color-neutral-600);
}
.semiont-error-boundary-details {
  background-color: var(--semiont-color-danger-50);
  border: 1px solid var(--semiont-color-danger-200);
  border-radius: var(--semiont-radius-md);
  padding: var(--semiont-spacing-md);
}
.semiont-error-boundary-details-title {
  font-size: var(--semiont-font-size-sm);
  font-weight: var(--semiont-font-weight-semibold);
  color: var(--semiont-color-danger-800);
  margin-bottom: calc(var(--semiont-spacing-xs) / 2);
}
.semiont-error-boundary-details-message {
  font-size: var(--semiont-font-size-xs);
  color: var(--semiont-color-danger-700);
  font-family: monospace;
  word-break: break-all;
}
.semiont-error-boundary-stack {
  margin-top: var(--semiont-spacing-xs);
  font-size: var(--semiont-font-size-xs);
  color: var(--semiont-color-danger-600);
  overflow-x: auto;
}
.semiont-error-boundary-actions {
  display: flex;
  gap: var(--semiont-spacing-md);
  justify-content: center;
}
.semiont-async-error-boundary {
  padding: var(--semiont-spacing-md);
  background-color: var(--semiont-color-warning-50);
  border: 1px solid var(--semiont-color-warning-200);
  border-radius: var(--semiont-radius-md);
}
.semiont-async-error-content {
  display: flex;
  align-items: flex-start;
}
.semiont-async-error-icon {
  flex-shrink: 0;
}
.semiont-icon-warning {
  height: 1.25rem;
  width: 1.25rem;
  color: var(--semiont-color-warning-400);
}
.semiont-async-error-details {
  margin-left: var(--semiont-spacing-sm);
  flex: 1;
}
.semiont-async-error-title {
  font-size: var(--semiont-font-size-sm);
  font-weight: var(--semiont-font-weight-medium);
  color: var(--semiont-color-warning-800);
}
.semiont-async-error-message {
  margin-top: calc(var(--semiont-spacing-xs) / 2);
  font-size: var(--semiont-font-size-sm);
  color: var(--semiont-color-warning-700);
}
.semiont-async-error-retry {
  margin-top: var(--semiont-spacing-xs);
  font-size: var(--semiont-font-size-sm);
  color: var(--semiont-color-warning-600);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.semiont-async-error-retry:hover {
  color: var(--semiont-color-warning-500);
}
[data-theme=dark] .semiont-error-boundary-container {
  background-color: var(--semiont-bg-inverse);
}
[data-theme=dark] .semiont-error-boundary-title {
  color: var(--semiont-color-neutral-0);
}
[data-theme=dark] .semiont-error-boundary-message {
  color: var(--semiont-color-neutral-400);
}
[data-theme=dark] .semiont-error-boundary-details {
  background-color: rgba(239, 68, 68, 0.2);
  border-color: var(--semiont-color-danger-800);
}
[data-theme=dark] .semiont-error-boundary-details-title {
  color: var(--semiont-color-danger-300);
}
[data-theme=dark] .semiont-error-boundary-details-message {
  color: var(--semiont-color-danger-400);
}
[data-theme=dark] .semiont-error-boundary-stack {
  color: var(--semiont-color-danger-500);
}
[data-theme=dark] .semiont-async-error-boundary {
  background-color: rgba(245, 158, 11, 0.2);
  border-color: var(--semiont-color-warning-800);
}
[data-theme=dark] .semiont-icon-warning {
  color: var(--semiont-color-warning-400);
}
[data-theme=dark] .semiont-async-error-title {
  color: var(--semiont-color-warning-300);
}
[data-theme=dark] .semiont-async-error-message {
  color: var(--semiont-color-warning-400);
}
[data-theme=dark] .semiont-async-error-retry {
  color: var(--semiont-color-warning-400);
}
[data-theme=dark] .semiont-async-error-retry:hover {
  color: var(--semiont-color-warning-300);
}

/* src/components/branding/Branding.css */
.semiont-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.semiont-branding-title {
  font-family: "Orbitron", var(--semiont-font-sans);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.semiont-branding:not(:has(.semiont-branding-tagline)) .semiont-branding-title {
  margin-bottom: 0;
}
.semiont-branding[data-size=sm] .semiont-branding-title {
  font-size: 1.5rem;
}
.semiont-branding[data-size=md] .semiont-branding-title {
  font-size: 1.875rem;
}
.semiont-branding[data-size=lg] .semiont-branding-title {
  font-size: 2.25rem;
}
.semiont-branding[data-size=xl] .semiont-branding-title {
  font-size: 3rem;
}
@media (min-width: 640px) {
  .semiont-branding[data-size=sm] .semiont-branding-title {
    font-size: 1.875rem;
  }
  .semiont-branding[data-size=md] .semiont-branding-title {
    font-size: 2.25rem;
  }
  .semiont-branding[data-size=lg] .semiont-branding-title {
    font-size: 3rem;
  }
  .semiont-branding[data-size=xl] .semiont-branding-title {
    font-size: 3.75rem;
  }
  .semiont-branding-title {
    margin-bottom: 2rem;
  }
  .semiont-branding:not(:has(.semiont-branding-tagline)) .semiont-branding-title {
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  .semiont-branding[data-size=sm] .semiont-branding-title {
    font-size: 2.25rem;
  }
  .semiont-branding[data-size=md] .semiont-branding-title {
    font-size: 3rem;
  }
  .semiont-branding[data-size=lg] .semiont-branding-title {
    font-size: 3.75rem;
  }
  .semiont-branding[data-size=xl] .semiont-branding-title {
    font-size: 4.5rem;
  }
}
.semiont-branding-text {
  background:
    linear-gradient(
      to right,
      var(--semiont-color-black),
      var(--semiont-color-primary-600),
      var(--semiont-color-black));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme=dark] .semiont-branding-text {
  background:
    linear-gradient(
      to right,
      var(--semiont-color-white),
      var(--semiont-color-primary-400),
      var(--semiont-color-white));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.semiont-branding[data-animated=true] .semiont-branding-title {
  animation: fadeInUp 1s ease-out;
}
.semiont-branding-tagline {
  color: var(--semiont-color-primary-600);
  font-family: "Orbitron", var(--semiont-font-sans);
  letter-spacing: 0.025em;
}
[data-theme=dark] .semiont-branding-tagline {
  color: var(--semiont-color-primary-400);
}
.semiont-branding[data-compact-tagline=true] .semiont-branding-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.semiont-branding[data-size=sm] .semiont-branding-tagline {
  font-size: 1.125rem;
}
.semiont-branding[data-size=md] .semiont-branding-tagline {
  font-size: 1.25rem;
}
.semiont-branding[data-size=lg] .semiont-branding-tagline {
  font-size: 1.25rem;
}
.semiont-branding[data-size=xl] .semiont-branding-tagline {
  font-size: 1.5rem;
}
.semiont-branding[data-animated=true] .semiont-branding-tagline {
  animation: fadeInUp 1s ease-out 0.3s both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* src/components/layout/Header.css */
.semiont-unified-header {
  background: var(--semiont-bg-primary);
  border-bottom: 1px solid var(--semiont-border-primary);
}
.semiont-unified-header--floating {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--semiont-shadow-md);
}
[data-theme=dark] .semiont-unified-header--floating {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
.semiont-unified-header--standalone {
  border-bottom: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-unified-header--standalone {
  border-bottom-color: var(--semiont-color-gray-800);
}
.semiont-unified-header__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .semiont-unified-header__container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .semiont-unified-header__container {
    padding: 0 2rem;
  }
}
.semiont-unified-header__content {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}
.semiont-unified-header__branding-wrapper {
  display: flex;
  align-items: center;
}
.semiont-unified-header__branding-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--semiont-radius-lg);
  transition: background var(--semiont-duration-base);
  text-decoration: none;
  color: inherit;
}
.semiont-unified-header__branding-button:hover {
  background: var(--semiont-bg-tertiary);
}
[data-theme=dark] .semiont-unified-header__branding-button {
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-unified-header__branding-button:hover {
  background: var(--semiont-bg-tertiary);
}
.semiont-unified-header__branding-button:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-unified-header__branding-button:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-unified-header__branding-button:focus:not(:focus-visible) {
  outline: none;
}
.semiont-unified-header__branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.semiont-unified-header__dropdown {
  margin-left: 2rem;
}
.semiont-unified-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* src/components/layout/LeftSidebar.css */
.semiont-left-sidebar {
  display: flex;
  flex-direction: column;
  background: var(--semiont-bg-primary);
  border-right: 1px solid var(--semiont-border-primary);
  transition: width var(--semiont-duration-base);
  overflow: hidden visible;
}
.semiont-left-sidebar[data-collapsed=false] {
  width: 16rem;
}
.semiont-left-sidebar[data-collapsed=true] {
  width: 4rem;
}
.semiont-left-sidebar__header {
  position: relative;
  padding: 1rem;
  border-bottom: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-left-sidebar__header {
  border-bottom-color: var(--semiont-color-gray-800);
}
.semiont-left-sidebar__branding-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem;
  border-radius: var(--semiont-radius-lg);
  transition: background var(--semiont-duration-base);
  text-decoration: none;
  color: inherit;
}
.semiont-left-sidebar__branding-button:hover {
  background: var(--semiont-bg-tertiary);
}
[data-theme=dark] .semiont-left-sidebar__branding-button {
  color: var(--semiont-text-primary);
}
[data-theme=dark] .semiont-left-sidebar__branding-button:hover {
  background: var(--semiont-bg-tertiary);
}
.semiont-left-sidebar__branding-button:focus-visible {
  outline: 2px solid var(--semiont-color-primary-500);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-left-sidebar__branding-button:focus-visible {
  outline-color: var(--semiont-color-primary-400);
}
.semiont-left-sidebar__branding-button:focus:not(:focus-visible) {
  outline: none;
}
.semiont-left-sidebar__logo-collapsed {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.semiont-left-sidebar__logo-text {
  font-family: "Orbitron", var(--semiont-font-sans);
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1;
  background:
    linear-gradient(
      to right,
      var(--semiont-color-black),
      var(--semiont-color-primary-600),
      var(--semiont-color-black));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) {
  .semiont-left-sidebar__logo-text {
    font-size: 1.875rem;
  }
}
@media (min-width: 768px) {
  .semiont-left-sidebar__logo-text {
    font-size: 2.25rem;
  }
}
[data-theme=dark] .semiont-left-sidebar__logo-text {
  background:
    linear-gradient(
      to right,
      var(--semiont-color-white),
      var(--semiont-color-primary-400),
      var(--semiont-color-white));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.semiont-left-sidebar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background:
    linear-gradient(
      to bottom,
      var(--semiont-bg-primary),
      var(--semiont-color-gray-50));
  border: 1px solid var(--semiont-color-gray-300);
  border-radius: var(--semiont-radius-lg);
  box-shadow: var(--semiont-shadow-xl);
  min-width: 12rem;
  z-index: 50;
}
[data-theme=dark] .semiont-left-sidebar__dropdown {
  background:
    linear-gradient(
      to bottom,
      var(--semiont-bg-secondary),
      var(--semiont-color-gray-800));
  border-color: var(--semiont-color-gray-700);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}
.semiont-left-sidebar__content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

/* src/features/auth/auth.css */
.semiont-auth__main {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  background: var(--semiont-bg-primary);
}
[data-theme=dark] .semiont-auth__main {
  background: var(--semiont-bg-primary);
}
.semiont-auth__container {
  width: 100%;
  max-width: 28rem;
}
.semiont-auth__content {
  background: var(--semiont-bg-secondary);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 2.5rem 2rem;
}
[data-theme=dark] .semiont-auth__content {
  background: var(--semiont-bg-secondary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}
.semiont-auth__branding {
  text-align: center;
  margin-bottom: 2rem;
}
.semiont-auth__logo {
  margin-bottom: 1.5rem;
}
.semiont-auth__welcome {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--semiont-text-primary);
  margin-bottom: 0.5rem;
}
[data-theme=dark] .semiont-auth__welcome {
  color: var(--semiont-text-primary);
}
.semiont-auth__subtitle {
  font-size: 1rem;
  color: var(--semiont-text-secondary);
}
[data-theme=dark] .semiont-auth__subtitle {
  color: var(--semiont-text-secondary);
}
.semiont-auth__error-container {
  margin-bottom: 1.5rem;
}
.semiont-auth__error {
  background-color: var(--semiont-color-red-50);
  border: 1px solid var(--semiont-color-red-200);
  border-radius: 0.375rem;
  padding: 0.75rem;
}
[data-theme=dark] .semiont-auth__error {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: var(--semiont-color-red-800);
}
.semiont-auth__error-text {
  color: var(--semiont-color-red-700);
  font-size: 0.875rem;
}
[data-theme=dark] .semiont-auth__error-text {
  color: var(--semiont-color-red-400);
}
.semiont-auth__forms {
  margin-bottom: 1.5rem;
}
.semiont-auth__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.semiont-auth__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.semiont-auth__divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--semiont-color-gray-300);
}
[data-theme=dark] .semiont-auth__divider-line {
  background-color: var(--semiont-bg-tertiary);
}
.semiont-auth__divider-text {
  color: var(--semiont-text-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
[data-theme=dark] .semiont-auth__divider-text {
  color: var(--semiont-text-secondary);
}
.semiont-auth__info {
  text-align: center;
  font-size: 0.875rem;
  color: var(--semiont-text-secondary);
  margin-top: 1rem;
}
[data-theme=dark] .semiont-auth__info {
  color: var(--semiont-text-secondary);
}
.semiont-auth__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-auth__links {
  border-top-color: var(--semiont-color-gray-800);
}
.semiont-button--full-width {
  width: 100%;
  justify-content: center;
}
.semiont-icon {
  display: inline-block;
  vertical-align: middle;
}
.semiont-icon--small {
  width: 1.25rem;
  height: 1.25rem;
}
.semiont-icon--inline {
  margin-right: 0.5rem;
}
@media (min-width: 640px) {
  .semiont-auth__content {
    padding: 3rem 2.5rem;
  }
  .semiont-auth__links {
    flex-direction: row;
    justify-content: space-between;
  }
}
.semiont-auth__signup-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 2rem 1rem;
}
.semiont-auth__signup-container {
  width: 100%;
  max-width: 28rem;
  background: var(--semiont-bg-secondary);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 2.5rem 2rem;
}
[data-theme=dark] .semiont-auth__signup-container {
  background: var(--semiont-bg-secondary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}
.semiont-auth__signup-header {
  text-align: center;
  margin-bottom: 2rem;
}
.semiont-auth__signup-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--semiont-text-primary);
  margin-bottom: 0.5rem;
}
[data-theme=dark] .semiont-auth__signup-title {
  color: var(--semiont-text-primary);
}
.semiont-auth__signup-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.semiont-auth__signup-info {
  text-align: center;
  font-size: 0.875rem;
  color: var(--semiont-text-secondary);
  line-height: 1.5;
}
[data-theme=dark] .semiont-auth__signup-info {
  color: var(--semiont-text-secondary);
}
.semiont-auth__signup-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--semiont-color-gray-200);
}
[data-theme=dark] .semiont-auth__signup-footer {
  border-top-color: var(--semiont-color-gray-700);
}
.semiont-auth__signin-link {
  color: var(--semiont-color-primary-600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.semiont-auth__signin-link:hover {
  color: var(--semiont-color-primary-700);
  text-decoration: underline;
}
[data-theme=dark] .semiont-auth__signin-link {
  color: var(--semiont-color-primary-400);
}
[data-theme=dark] .semiont-auth__signin-link:hover {
  color: var(--semiont-color-primary-300);
}
.semiont-auth__spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.semiont-form__input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.semiont-form__input-row:focus-visible {
  outline: 2px solid var(--semiont-focus-ring, #3b82f6);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-form__input-row:focus-visible {
  outline-color: var(--semiont-focus-ring, #60a5fa);
}
.semiont-form__input-row .semiont-input {
  flex: 1;
}
.semiont-form__input-row .semiont-input:focus-visible {
  outline: 2px solid var(--semiont-focus-ring, #3b82f6);
  outline-offset: 2px;
}
[data-theme=dark] .semiont-form__input-row .semiont-input:focus-visible {
  outline-color: var(--semiont-focus-ring, #60a5fa);
}
.semiont-form__url-status {
  flex-shrink: 0;
  font-size: 1rem;
  width: 1.25rem;
  text-align: center;
}
.semiont-form__url-status--checking {
  color: var(--semiont-text-muted, #888888);
  animation: spin 1s linear infinite;
  display: inline-block;
}
[data-theme=dark] .semiont-form__url-status--checking {
  color: var(--semiont-text-muted, #888888);
}
.semiont-form__url-status--ok {
  color: var(--semiont-success, #22c55e);
}
[data-theme=dark] .semiont-form__url-status--ok {
  color: var(--semiont-success, #22c55e);
}
.semiont-form__url-status--error {
  color: var(--semiont-error, #ef4444);
}
[data-theme=dark] .semiont-form__url-status--error {
  color: var(--semiont-error, #ef4444);
}
/*# sourceMappingURL=index.css.map */