/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.12_@playwright+test@1.59.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.5.12_@playwright+test@1.59.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./features/dossiers-frozen/components/frozen-tijn.module.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*
 * The frozen Tijn pane. Its own stylesheet rather than the dossier deck's: this pane lives inside
 * the product's PDF viewer, not inside the dossier overlay, so it must sit on the viewer's surface
 * and inherit the app's tokens — the deck's dark scoped palette would paint a black column down the
 * side of a white document.
 */
.frozen-tijn_pane__YJ2nW {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

.frozen-tijn_head__Vlw_p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
}
.frozen-tijn_face__9H7_0 {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  font-weight: 700;
}
.frozen-tijn_name__NdVy1 { font-weight: 650; }
.frozen-tijn_sub__wRV2G { color: var(--color-text-muted); font-size: var(--text-xs); }

.frozen-tijn_thread__0sRLV { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px; }

.frozen-tijn_user__yAzZY {
  background: var(--color-accent-subtle);
  border: 1px solid var(--color-border);
  border-radius: 10px 10px 10px 2px;
  padding: 10px 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.frozen-tijn_assistant___ykEh { line-height: 1.55; }
.frozen-tijn_p___EB2g { margin: 0 0 10px; }

.frozen-tijn_typing__6C1hN { color: var(--color-text-muted); letter-spacing: 3px; }

.frozen-tijn_cites__FhLtC { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--color-border); }
.frozen-tijn_citesLabel__5zrfo {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.frozen-tijn_cite__zXMq0 {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-overlay);
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  cursor: pointer;
}
.frozen-tijn_cite__zXMq0:hover { border-color: var(--color-accent); color: var(--color-accent); }

.frozen-tijn_foot__S3TYP { padding: 12px 14px; border-top: 1px solid var(--color-border); }
.frozen-tijn_btn__u64XR {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-overlay);
  color: var(--color-text-primary);
  cursor: pointer;
  font-size: var(--text-sm);
}
.frozen-tijn_btnPrimary__U403l {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg-base);
  font-weight: 600;
}
.frozen-tijn_note__EMLYL { color: var(--color-text-muted); font-size: var(--text-xs); line-height: 1.45; }

/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.12_@playwright+test@1.59.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.12_@playwright+test@1.59.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./features/document-editor/document-editor.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Phase 6a.9 — TipTap ProseMirror uses explicit tokens (not inherited prose). */
.document-editor .ProseMirror {
  min-height: 280px;
  padding: var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--text-base-line);
  color: var(--color-text-primary);
  background: var(--color-bg-overlay);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 8px);
  outline: none;
}

.document-editor .ProseMirror:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent-subtle);
}

.document-editor .ProseMirror h1,
.document-editor .ProseMirror h2,
.document-editor .ProseMirror h3 {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.document-editor .ProseMirror h1 {
  font-size: var(--text-2xl);
}
.document-editor .ProseMirror h2 {
  font-size: var(--text-xl);
}
.document-editor .ProseMirror h3 {
  font-size: var(--text-lg);
}

.document-editor .ProseMirror p {
  margin: 0 0 var(--space-3);
}

.document-editor .ProseMirror ul,
.document-editor .ProseMirror ol {
  padding-left: var(--space-6);
  margin: 0 0 var(--space-3);
}

.document-editor .ProseMirror table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 var(--space-4);
}

.document-editor .ProseMirror th,
.document-editor .ProseMirror td {
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-3);
  vertical-align: top;
}

.document-editor .ProseMirror th {
  background: var(--color-bg-raised);
  font-weight: 600;
}

.document-editor-readonly .ProseMirror {
  opacity: 0.85;
  cursor: default;
}

/**
 * Canvas / unified markdown editor — must override Tailwind preflight on raw
 * semantic tags (h1–h6 would otherwise inherit body size/weight) and match
 * {@link MarkdownProse} spacing so edit mode matches read mode.
 */
.unified-editor .ProseMirror {
  min-height: 240px;
  padding: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--text-base-line);
  color: var(--color-text-primary);
  background: transparent;
  outline: none;
}

.unified-editor .ProseMirror h1,
.unified-editor .ProseMirror h2,
.unified-editor .ProseMirror h3 {
  font-weight: 600;
  color: var(--color-text-primary);
}

.unified-editor .ProseMirror h1 {
  font-size: var(--text-xl);
  margin: var(--space-4) 0 var(--space-3);
}

.unified-editor .ProseMirror h1:first-child {
  margin-top: 0;
}

.unified-editor .ProseMirror h2 {
  font-size: var(--text-lg);
  margin: var(--space-4) 0 var(--space-2);
}

.unified-editor .ProseMirror h2:first-child {
  margin-top: 0;
}

.unified-editor .ProseMirror h3 {
  font-size: var(--text-base);
  margin: var(--space-3) 0 var(--space-2);
}

.unified-editor .ProseMirror p {
  margin: 0 0 var(--space-4);
}

.unified-editor .ProseMirror p:last-child {
  margin-bottom: 0;
}

.unified-editor .ProseMirror strong {
  font-weight: 600;
  color: var(--color-text-primary);
}

.unified-editor .ProseMirror em {
  font-style: italic;
  color: var(--color-text-secondary);
}

.unified-editor .ProseMirror hr {
  margin: var(--space-4) 0;
  border: 0;
  border-top: 1px solid var(--color-border-subtle);
}

.unified-editor .ProseMirror blockquote {
  margin: 0 0 var(--space-4);
  border-left: 4px solid var(--color-border);
  padding: 0.125rem 0 0.125rem var(--space-4);
  color: var(--color-text-secondary);
}

.unified-editor .ProseMirror ul,
.unified-editor .ProseMirror ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-6);
}

.unified-editor .ProseMirror ul {
  list-style-type: disc;
}

.unified-editor .ProseMirror ol {
  list-style-type: decimal;
}

.unified-editor .ProseMirror li {
  margin: var(--space-1) 0;
}

.unified-editor .ProseMirror table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 var(--space-4);
}

.unified-editor .ProseMirror th,
.unified-editor .ProseMirror td {
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-3);
  vertical-align: top;
}

.unified-editor .ProseMirror th {
  background: var(--color-bg-raised);
  font-weight: 600;
}

.unified-editor .ProseMirror img {
  max-width: 100%;
  height: auto;
  margin: var(--space-3) 0;
}

/* Fake selection while “Rewrite with AI” instruction field has focus (native selection is cleared). */
.unified-editor .ProseMirror .pi-selection-rewrite-highlight {
  background: var(--color-accent-subtle);
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--color-accent-muted, var(--color-border));
}

/**
 * Manual DOCX editor (`.document-editor`): `DocumentState` has no horizontal-rule section; StarterKit
 * still allows `<hr>` (e.g. paste). Those nodes pick up `.unified-editor .ProseMirror hr` and read
 * as unwanted dividers. Hide only under this shell — markdown `UnifiedEditor` surfaces keep `hr` styling.
 */
.document-editor .ProseMirror hr {
  display: none;
}

