/* /Components/Features/Shared/HtmlComponents/HtmlImage.razor.rz.scp.css */
.html-content-image[b-pglg8zqfad] {
  display: block;
  width: min(100%, 100%);
  max-height: 28rem;
  margin: 1.5rem auto;
  padding: 0.35rem;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.08), rgba(125, 211, 252, 0.02)),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.image-viewer-backdrop[b-pglg8zqfad] {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.image-viewer-modal[b-pglg8zqfad] {
  width: min(96vw, 1280px);
  height: min(92vh, 920px);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.image-viewer-toolbar[b-pglg8zqfad] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-divider);
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.08), rgba(125, 211, 252, 0.02));
}

.image-viewer-spacer[b-pglg8zqfad] {
  flex: 1;
}

.image-viewer-stage[b-pglg8zqfad] {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(125, 211, 252, 0.08), transparent 45%), #000;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.image-viewer-image[b-pglg8zqfad] {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  will-change: transform;
}
/* /Components/Features/Shared/HtmlComponents/MermaidDiagram.razor.rz.scp.css */
.mermaid-diagram-host[b-erpyqd9uyu] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-x: auto;
  min-height: 200px;
}

.mermaid-diagram-host[b-erpyqd9uyu]  svg {
  display: block;
  margin: 0 auto;
  height: auto;
  max-width: 100%;
}

.mermaid-wrapper[b-erpyqd9uyu] {
  overflow: hidden;
  margin: 1rem 0;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.mermaid-toolbar[b-erpyqd9uyu] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface-muted);
}

.mermaid-toolbar-title[b-erpyqd9uyu] {
  color: var(--color-text-secondary);
  font-family: var(--font-measure);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mermaid-toolbar-actions[b-erpyqd9uyu] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mermaid-toolbar-actions .icon-button[b-erpyqd9uyu],
.mermaid-fullscreen-toolbar .icon-button[b-erpyqd9uyu] {
  width: 2.25rem;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-secondary);
}

.mermaid-toolbar-actions .icon-button:hover[b-erpyqd9uyu],
.mermaid-fullscreen-toolbar .icon-button:hover[b-erpyqd9uyu] {
  border-color: var(--color-divider-strong);
  background: var(--color-surface-soft);
  color: var(--color-primary-strong);
}

.mermaid-toolbar-actions[b-erpyqd9uyu]  .app-icon,
.mermaid-fullscreen-toolbar[b-erpyqd9uyu]  .app-icon {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  max-width: none;
  overflow: visible;
}

.mermaid-content[b-erpyqd9uyu] {
  min-height: 200px;
  background: #10110f;
}

.mermaid-loading[b-erpyqd9uyu] {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

.mermaid-code[b-erpyqd9uyu] {
  margin: 0;
  padding: 1rem;
  min-height: 200px;
  overflow: auto;
  line-height: 1.5;
  font-size: 0.85rem;
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  white-space: pre-wrap;
  word-break: break-word;
  background: #10110f;
  color: var(--color-text-primary);
}

.mermaid-fullscreen-backdrop[b-erpyqd9uyu] {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: var(--color-background);
  color: var(--color-text-primary);
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
}

.mermaid-fullscreen-toolbar[b-erpyqd9uyu] {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid var(--color-divider-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface-elevated);
  box-shadow: var(--shadow-soft);
}

.mermaid-scale-chip[b-erpyqd9uyu] {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 10;
  border-radius: 999px;
  border: 1px solid var(--color-divider-strong);
  background: var(--color-surface-elevated);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  color: var(--color-text-primary);
  font-family: var(--font-measure);
}

.mermaid-fullscreen-stage[b-erpyqd9uyu] {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.mermaid-fullscreen-diagram[b-erpyqd9uyu] {
  display: flex;
  justify-content: center;
  width: min(90vw, 75rem);
  transform-origin: center center;
  transition: transform 120ms ease-out;
}

.mermaid-fullscreen-diagram[b-erpyqd9uyu]  svg {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
}
/* /Components/Features/Shared/Layout/MainLayout.razor.rz.scp.css */
.page-shell[b-6fogl7s33v] {
  min-height: 100dvh;
  background: var(--color-background);
  color: var(--color-text-primary);
}

.page-content[b-6fogl7s33v] {
  display: flex;
  min-height: calc(100dvh - 4.7rem);
  flex-direction: column;
}

.content-body[b-6fogl7s33v] {
  flex: 1;
}

.redirect-shell[b-6fogl7s33v] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.redirect-shell .page-content[b-6fogl7s33v],
.redirect-shell .content-body[b-6fogl7s33v] {
  min-height: 100dvh;
  overflow: hidden;
}

#blazor-error-ui[b-6fogl7s33v] {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: none;
  padding: 0.85rem 3.25rem 0.85rem 1rem;
  border: 1px solid var(--color-error);
  border-radius: var(--radius-md);
  background: var(--color-surface-elevated);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  color: var(--color-text-primary);
}

#blazor-error-ui a[b-6fogl7s33v] {
  color: var(--color-primary-strong);
}

#blazor-error-ui .dismiss[b-6fogl7s33v] {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transform: translateY(-50%);
}
