/* VetEntrusted Reader Studio V17.4.8 - Direct Interaction + command bridge + controlled cold-swap Diagram Studio */
dialog.vsd-backdrop{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#17324d;overflow:hidden!important;overscroll-behavior:contain;z-index:2147483647!important}
dialog.vsd-backdrop::backdrop{background:rgba(23,50,77,.55);backdrop-filter:blur(5px)}
dialog.vsd-backdrop:not([open]){display:none!important}
html.vsd-modal-open,body.vsd-modal-open{overflow:hidden!important;overscroll-behavior:none!important}
.vsd-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;background:#fff;border-radius:0;box-shadow:0 30px 90px rgba(15,23,42,.35);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;color:#17324d;isolation:isolate}
.vsd-header,.vsd-commandbar,.vsd-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;border-bottom:1px solid #dbe7ea;background:#fff;min-width:0;position:relative;z-index:5}.vsd-header{min-height:74px}.vsd-commandbar{z-index:4;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap}.vsd-footer{z-index:4}
.vsd-header h2{margin:1px 0 2px;font-size:22px}.vsd-header p{margin:0;color:#5f7385;font-size:14px}.vsd-eyebrow{font-size:10px;font-weight:800;letter-spacing:.08em;color:#087f73}
.vsd-header-actions,.vsd-commandgroup,.vsd-footer>div{display:flex;align-items:center;gap:7px;flex-wrap:nowrap;min-width:0}.vsd-header-actions{overflow-x:auto;overflow-y:hidden;max-width:min(74vw,1180px);padding-bottom:2px}.vsd-toolgroup{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.vsd-engine,.vsd-chip{border:1px solid #cfe1e3;border-radius:999px;padding:7px 10px;background:#f8fbfb;font-weight:700;font-size:12px}
.vsd-icon,.vsd-commandbar button,.vsd-toolbar button,.vsd-footer button,.vsd-search button,.vsd-card button{border:1px solid #c9dce1;background:#fff;color:#17324d;border-radius:9px;padding:7px 9px;font-weight:700;cursor:pointer}
.vsd-icon{border-radius:50%;width:36px;height:36px}.vsd-commandbar button.is-primary,.vsd-footer button.is-primary,.vsd-card button.is-primary{background:#087f73;color:#fff;border-color:#087f73}.vsd-commandbar button.is-danger{color:#c0262d}
.vsd-commandgroup.is-right{margin-left:auto}.vsd-body{display:grid;grid-template-columns:270px minmax(0,1fr) 310px;min-height:0;overflow:hidden;background:#eef5f6}
.vsd-body.is-library-hidden{grid-template-columns:0 minmax(0,1fr) 310px}.vsd-body.is-properties-hidden{grid-template-columns:270px minmax(0,1fr) 0}.vsd-body.is-library-hidden.is-properties-hidden{grid-template-columns:0 minmax(0,1fr) 0}
.vsd-body.is-focus-mode{grid-template-columns:0 minmax(0,1fr) 0}.vsd-body.is-focus-mode .vsd-library,.vsd-body.is-focus-mode .vsd-properties,.vsd-body.is-focus-mode .vsd-meta,.vsd-body.is-focus-mode .vsd-source{display:none!important}
.vsd-library,.vsd-properties{min-width:0;overflow:auto;background:#fff;padding:12px;border-right:1px solid #dbe7ea}.vsd-properties{border-right:0;border-left:1px solid #dbe7ea}
.is-library-hidden .vsd-library,.is-properties-hidden .vsd-properties{display:none}.vsd-main{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden}.vsd-body.is-focus-mode .vsd-main{grid-template-rows:auto minmax(0,1fr)}
.vsd-meta{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:7px;padding:7px 9px;background:#fff;border-bottom:1px solid #dbe7ea}.vsd-meta label,.vsd-card label{display:grid;gap:3px;font-size:11px;font-weight:700}
.vsd-meta input,.vsd-card input,.vsd-card select,.vsd-card textarea,.vsd-source textarea,.vsd-search input{width:100%;border:1px solid #cbdde2;border-radius:8px;padding:7px;background:#fff;color:#17324d}
.vsd-toolbar{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;padding:6px 8px;background:#f8fbfb;border-bottom:1px solid #dbe7ea;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.vsd-toolbar button{white-space:nowrap;padding:6px 8px;flex:0 0 auto}
.vsd-toolgroup{padding-right:7px;border-right:1px solid #d8e7e9;flex:0 0 auto}.vsd-toolgroup:last-child{border-right:0}.vsd-canvas-wrap{min-height:0;height:100%;position:relative;background:#dfe9eb;padding:8px;overflow:hidden}
.vsd-canvas-wrap>.e-control,.vsd-canvas-wrap>div{min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important}.vsd-source{background:#fff;border-top:1px solid #dbe7ea;padding:6px 10px;max-height:180px;overflow:auto}.vsd-source summary{font-weight:800;cursor:pointer}.vsd-source-grid{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:10px;padding-top:7px}.vsd-source textarea{min-height:120px;font-family:Consolas,monospace}
.vsd-panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.vsd-panel-title h3{margin:2px 0;font-size:16px}.vsd-count{background:#edf7f6;border-radius:99px;padding:5px 9px;font-weight:800}
.vsd-search{display:grid;grid-template-columns:1fr auto;gap:6px;margin-bottom:9px}.vsd-library-list{display:grid;gap:7px}.vsd-library-item{display:grid;text-align:left;gap:3px;border:1px solid #d2e2e5;border-radius:11px;background:#fff;padding:10px;color:#17324d}.vsd-library-item.is-active{border-color:#087f73;background:#eaf8f5;box-shadow:inset 4px 0 #087f73}.vsd-library-item:disabled{opacity:.58;cursor:wait;pointer-events:none}.vsd-library-item span,.vsd-library-item small{color:#667d8d}
.vsd-card{border:1px solid #d6e5e8;border-radius:12px;padding:10px;margin-bottom:9px;background:#fbfdfd}.vsd-card h4{margin:0 0 8px}.vsd-card p{margin:0 0 7px}.vsd-card small{display:block;color:#667d8d;margin-top:6px;line-height:1.4}
.vsd-grid2{display:grid;grid-template-columns:1fr 1fr;gap:7px}.vsd-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:8px!important;margin:7px 0}.vsd-check input{width:auto}
.vsd-footer{border-top:1px solid #dbe7ea;border-bottom:0}.e-diagram-page-break{stroke:#087f73!important;stroke-width:1.2!important;stroke-dasharray:8,6!important}
@media(max-width:1100px){.vsd-backdrop{padding:0}.vsd-dialog{width:100vw;height:100dvh;border-radius:0}.vsd-body,.vsd-body.is-library-hidden,.vsd-body.is-properties-hidden,.vsd-body.is-library-hidden.is-properties-hidden{grid-template-columns:minmax(0,1fr)}.vsd-library,.vsd-properties{position:absolute;z-index:4;top:0;bottom:0;width:min(340px,88vw);box-shadow:0 20px 50px rgba(15,23,42,.2)}.vsd-properties{right:0}.vsd-meta{grid-template-columns:1fr 1fr}.vsd-source-grid{grid-template-columns:1fr}.vsd-main{grid-template-rows:auto auto minmax(0,1fr) auto}.vsd-canvas-wrap{min-height:0}}
@media(max-width:650px){.vsd-meta{grid-template-columns:1fr}.vsd-header p,.vsd-engine{display:none}.vsd-commandbar{overflow-x:auto}.vsd-commandbar,.vsd-header,.vsd-footer{padding:8px}.vsd-grid2{grid-template-columns:1fr}.vsd-main{grid-template-rows:auto auto minmax(0,1fr) auto}.vsd-canvas-wrap{min-height:0}}

@media(max-width:900px){.vsd-header{align-items:flex-start;min-height:0}.vsd-header-actions{max-width:58vw}.vsd-header h2{font-size:20px}.vsd-header p{font-size:12px}.vsd-engine{display:none}}

/* V17.1.6: expliciete Syncfusion viewport + echte fullscreen studio. */
.vsd-body,.vsd-main,.vsd-canvas-wrap{min-width:0;min-height:0}
.vsd-canvas-wrap{width:100%;height:100%;contain:layout size;isolation:isolate}
.vsd-canvas-wrap>.e-control,.vsd-canvas-wrap>.e-diagram,.vsd-canvas-wrap>div{min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important}
.vsd-canvas-wrap .e-diagram,.vsd-canvas-wrap .e-diagramcontent{min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important}

@media(max-width:650px){
  .vsd-header{flex-wrap:wrap;gap:6px;padding:6px 8px}
  .vsd-header>div:first-child{min-width:0;flex:1 1 145px}
  .vsd-header h2{font-size:18px;margin:0}
  .vsd-header-actions{flex:1 1 100%;width:100%;max-width:none;overflow-x:auto;padding-bottom:2px}
  .vsd-header-actions .vsd-chip,.vsd-header-actions .vsd-icon{flex:0 0 auto}
  .vsd-commandbar{min-height:52px}
  .vsd-meta{display:flex;grid-template-columns:none;gap:7px;overflow-x:auto;overflow-y:hidden;padding:6px 8px}
  .vsd-meta label{flex:0 0 min(230px,72vw)}
  .vsd-main{grid-template-rows:auto auto minmax(220px,1fr) auto}
  .vsd-toolbar{min-height:48px}
  .vsd-footer{gap:8px;align-items:center}
  .vsd-footer>div:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .vsd-footer>div:last-child{flex:0 0 auto;overflow-x:auto}
}


/* ============================================================
   V17.1.6 - TRUE FULLSCREEN / EXPLICIETE DIAGRAM VIEWPORT
   ============================================================ */
html.vsd-modal-open,html.vsd-modal-open body{overflow:hidden!important}
html.vsd-modal-open body{isolation:auto!important}
dialog.vsd-backdrop{inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;transform:none!important;translate:none!important;z-index:2147483647!important}
.vsd-dialog{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;transform:none!important}
.vsd-header{flex:0 0 auto;position:relative!important;top:auto!important;overflow:visible!important}
.vsd-commandbar{flex:0 0 auto;position:relative!important;top:auto!important}
.vsd-body{position:relative;z-index:1}
.vsd-main{position:relative}
.vsd-canvas-wrap{box-sizing:border-box!important;display:block!important;position:relative!important;contain:none!important;overflow:hidden!important;padding:8px!important}
.vsd-canvas-wrap>.e-control,.vsd-canvas-wrap>.e-diagram{display:block!important;position:relative!important;max-width:100%!important;max-height:100%!important;overflow:hidden!important}
.vsd-canvas-wrap .e-diagramcontent{display:block!important;position:relative!important;overflow:hidden!important}
.vsd-canvas-wrap svg{max-width:none!important;max-height:none!important}

.vsd-overview{position:absolute;right:18px;bottom:18px;width:min(310px,34vw);min-width:230px;border:1px solid #b9d2d7;border-radius:12px;background:rgba(255,255,255,.97);box-shadow:0 14px 42px rgba(15,23,42,.20);padding:7px;z-index:20;overflow:hidden}
.vsd-overview__header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 2px 6px;color:#17324d;font-size:12px}
.vsd-overview__header button{border:0;background:transparent;color:#17324d;width:28px;height:28px;border-radius:8px;cursor:pointer}
.vsd-overview__header button:hover{background:#edf7f6}
.vsd-overview .e-overview{border-radius:8px;overflow:hidden;background:#f8fbfb}

/* Focus mode is de standaard voor grote diagrammen. De primaire werkbalk blijft zichtbaar. */
.vsd-body.is-focus-mode .vsd-main{grid-template-rows:auto minmax(0,1fr)!important}
.vsd-body.is-focus-mode .vsd-toolbar{display:flex!important}

@media(max-width:900px){
  .vsd-overview{width:min(250px,48vw);right:10px;bottom:10px}
}
@media(max-width:650px){
  .vsd-overview{width:190px;min-width:0;right:8px;bottom:8px;padding:5px}
  .vsd-overview .e-overview{height:110px!important}
}

/* De teken-toolbar mag op brede schermen nooit door grid-intrinsic sizing tot 0px inklappen. */
.vsd-toolbar{display:flex!important;visibility:visible!important;min-height:46px!important;flex:0 0 auto!important;position:relative!important;z-index:6!important}
.vsd-commandbar{min-height:52px!important}
.vsd-header{min-height:76px!important}

/* ============================================================
   V17.1.6 - STAGED MOUNT + ROBUUSTE FLEX-WERKRUIMTE
   Syncfusion wordt pas gemount nadat de modal zichtbaar en gemeten is.
   Flex voor de verticale hoofdindeling voorkomt dat de toolbar op brede
   schermen door grid/intrinsic sizing uit beeld of tot 0px wordt gedrukt.
   ============================================================ */
.vsd-dialog{
  display:flex!important;
  flex-direction:column!important;
}
.vsd-header,.vsd-commandbar,.vsd-footer{
  flex:0 0 auto!important;
}
.vsd-body{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
}
.vsd-main{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  height:100%!important;
}
.vsd-meta,.vsd-toolbar,.vsd-source{
  flex:0 0 auto!important;
}
.vsd-toolbar{
  order:20!important;
  width:100%!important;
  min-height:48px!important;
  max-height:62px!important;
}
.vsd-meta{order:10!important}
.vsd-canvas-wrap{
  order:30!important;
  flex:1 1 0!important;
  width:100%!important;
  height:auto!important;
  min-height:240px!important;
}
.vsd-source{order:40!important}
.vsd-body.is-focus-mode .vsd-main{
  display:flex!important;
  flex-direction:column!important;
}
.vsd-body.is-focus-mode .vsd-toolbar{
  display:flex!important;
  flex:0 0 48px!important;
  order:20!important;
}
.vsd-body.is-focus-mode .vsd-canvas-wrap{
  flex:1 1 0!important;
  order:30!important;
}
.vsd-canvas-loading{
  position:absolute;
  inset:8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-align:center;
  color:#526d7a;
  background:#f7fbfb;
  border:1px dashed #b9d2d7;
  border-radius:10px;
}
.vsd-canvas-loading strong{color:#17324d}
.vsd-canvas-loading small{max-width:520px}
.vsd-canvas-loading__spinner{
  width:28px;
  height:28px;
  border:3px solid #cfe1e3;
  border-top-color:#087f73;
  border-radius:50%;
  animation:vsd-spin .75s linear infinite;
}
@keyframes vsd-spin{to{transform:rotate(360deg)}}

@media(max-width:650px){
  .vsd-toolbar{max-height:58px!important;min-height:48px!important}
  .vsd-canvas-wrap{min-height:220px!important}
}

/* ============================================================
   V17.1.6 - LEESBARE BEWERKZOOM
   ============================================================ */
.vsd-zoom-group .is-zoom-primary{
  font-weight:800;
  border-color:#8fc9c2!important;
  background:#eaf8f5!important;
  color:#075f58!important;
}
.vsd-zoom-group .is-zoom-primary:hover{
  background:#dcf3ef!important;
}

/* ============================================================
   V17.1.6 - INTUITIEVE SELECTIE & TEKSTBEWERKING
   ============================================================ */
.vsd-primary-tools{position:sticky;left:0;z-index:8;background:#fff;padding-right:5px;box-shadow:8px 0 12px rgba(23,50,77,.05)}
.vsd-primary-tools .is-select-primary{font-weight:800;border-color:#76bdb4!important;background:#e9f8f5!important;color:#075f58!important}
.vsd-primary-tools .is-select-primary:hover{background:#d9f2ed!important}
.vsd-primary-tools button:disabled{opacity:.42;cursor:not-allowed}
.vsd-quick-label{min-width:40px;font-weight:800}
.vsd-selection-help{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-height:30px;padding:5px 10px;border-top:1px solid #dce9ec;border-bottom:1px solid #dce9ec;background:#f8fbfb;color:#526d7a;font-size:12px;line-height:1.25;white-space:nowrap;overflow-x:auto}
.vsd-selection-help i{color:#087f73;flex:0 0 auto}
.vsd-autosave-note{font-weight:500;color:#637e8b;margin-left:4px}
.vsd-property-actions,.vsd-connector-quicklabels{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.vsd-property-actions button,.vsd-connector-quicklabels button{min-height:36px}
.vsd-connector-quicklabels button:first-child,.vsd-connector-quicklabels button:nth-child(2){min-width:52px;font-weight:800}
.vsd-body.is-focus-mode .vsd-selection-help{display:flex!important}
@media(max-width:650px){
  .vsd-selection-help{font-size:11px;min-height:28px}
  .vsd-primary-tools{position:static;box-shadow:none}
}

/* ============================================================
   V17.1.6 - VLOEIEND SLEPEN / CLIPBOARD / WERKVERSIE OPSLAAN
   ============================================================ */
.vsd-move-tools .is-fluid-active{
  font-weight:800;
  border-color:#79bdb5!important;
  background:#e9f8f5!important;
  color:#075f58!important;
}
.vsd-clipboard-tools button{display:inline-flex;align-items:center;gap:5px}
.vsd-commandbar button.is-save-primary{
  border-color:#8fb8cf;
  background:#f4f9fc;
}
.vsd-commandbar button.is-save-primary.is-dirty{
  border-color:#087f73;
  background:#eaf8f5;
  color:#075f58;
}
.vsd-field-hint{
  margin:7px 0!important;
  padding:7px 8px;
  border-radius:8px;
  background:#f2f8f9;
  color:#526d7a;
  font-size:11px;
  line-height:1.4;
}
@media(max-width:760px){
  .vsd-clipboard-tools span{display:none}
}

/* ==========================================================
   V17.2.0 - slimme maat, flow-layout en maat-referentie
   ========================================================== */
.vsd-smart-size-tools{background:#f7fbfb;padding-left:4px}
.vsd-smart-size-tools .is-smart-primary{border-color:#74b9b1!important;background:#eaf8f5!important;color:#075f58!important}
.vsd-smart-size-tools .is-flow-primary{border-color:#94a3b8!important;background:#f8fafc!important;color:#17324d!important}
.vsd-smart-size-tools .is-reference-active{border-color:#d5a72e!important;background:#fff8df!important;color:#755500!important;box-shadow:inset 0 0 0 1px rgba(213,167,46,.16)}
.vsd-toolbar-number{display:flex!important;grid-template-columns:auto auto!important;align-items:center!important;gap:4px!important;margin:0!important;font-size:11px;font-weight:800;color:#31576a;white-space:nowrap}
.vsd-toolbar-number input{width:64px!important;min-width:64px!important;height:34px!important;padding:4px 6px!important;border:1px solid #c9dce1!important;border-radius:8px!important;background:#fff!important;color:#17324d!important;font:inherit!important}
.vsd-smart-grid{margin-top:8px;padding-top:8px;border-top:1px dashed #d5e4e7}
.vsd-reference-box{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;margin-top:9px;padding:8px;border:1px solid #d5e4e7;border-radius:10px;background:#f8fbfb}
.vsd-reference-box.is-active{border-color:#e4c45d;background:#fffaf0}
.vsd-reference-box>div{min-width:0;display:grid;gap:2px}
.vsd-reference-box strong{font-size:12px;color:#17324d}
.vsd-reference-box strong i{color:#c48b00}
.vsd-reference-box span{font-size:11px;color:#526d7a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vsd-reference-box button{padding:6px 7px!important;font-size:11px!important}
.vsd-canvas-wrap .e-diagram-selector .e-resize-handle,
.vsd-canvas-wrap .e-diagram-selector .e-diagram-resize-handle{cursor:nwse-resize}
@media(max-width:650px){
  .vsd-toolbar-number input{width:58px!important;min-width:58px!important}
  .vsd-reference-box{grid-template-columns:1fr}
  .vsd-reference-box button{width:100%}
}

/* ==========================================================
   V17.2.0 - connector studio + Mermaid synchronisatie
   ========================================================== */
.vsd-line-tools,
.vsd-line-convert-tools{
  background:#fbfcfd;
  border-left:1px solid #e1ebee;
  padding-left:5px;
}
.vsd-line-tools button,
.vsd-line-convert-tools button{white-space:nowrap}
.vsd-line-studio-card{border-color:#bdd8de!important;background:linear-gradient(180deg,#fff 0%,#fbfefe 100%)}
.vsd-line-studio-card h4{display:flex;align-items:center;gap:7px}
.vsd-line-studio-card h4 i{color:#087f73}
.vsd-connector-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:7px 0 10px}
.vsd-connector-presets button{min-height:34px;padding:6px 8px!important;font-size:11px!important}
.vsd-source summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vsd-sync-badge{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.01em}
.vsd-sync-badge.is-synced{background:#e9f8f5;color:#075f58;border:1px solid #96cec7}
.vsd-sync-badge.is-outdated{background:#fff7df;color:#745500;border:1px solid #e4c45d}
.vsd-sync-badge.is-source-edited{background:#fff0ef;color:#9b2c2c;border:1px solid #efb0aa}
.vsd-source-actions{display:grid!important;align-content:start;gap:7px!important}
.vsd-source-actions button{width:100%;min-height:36px}
.vsd-source-actions .is-primary{background:#087f73!important;border-color:#087f73!important;color:#fff!important}
.vsd-line-studio-card .vsd-check{align-self:end;min-height:36px}
@media(max-width:650px){
  .vsd-connector-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vsd-line-tools,.vsd-line-convert-tools{border-left:0}
}


/* ============================================================
   V17.3.1 - MERMAID SNELBOUW
   ============================================================ */
.vsd-chip.is-active{background:#e6f7f4;border-color:#087f73;color:#075e56}
.vsd-mermaid-builder{order:15!important;flex:0 0 auto;background:#f4fbfa;border-bottom:1px solid #b9d9d4;padding:8px 10px;min-width:0;max-height:min(38dvh,390px);overflow:auto}
.vsd-mermaid-builder__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:7px}
.vsd-mermaid-builder__head>div{display:grid;gap:2px;min-width:0}
.vsd-mermaid-builder__head strong{font-size:13px;color:#17324d}
.vsd-mermaid-builder__head small{font-size:11px;color:#5f7385;line-height:1.35}
.vsd-mermaid-builder__head code{font-family:Consolas,monospace;background:#fff;border:1px solid #d4e5e2;border-radius:5px;padding:1px 4px}
.vsd-mermaid-builder__body{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:9px;min-width:0}
.vsd-mermaid-builder__editor{width:100%;min-height:150px;max-height:260px;resize:vertical;border:1px solid #9dcac3;border-radius:9px;padding:9px 10px;background:#fff;color:#17324d;font:13px/1.45 Consolas,Monaco,monospace;tab-size:4;white-space:pre;overflow:auto}
.vsd-mermaid-builder__editor:focus{outline:3px solid rgba(8,127,115,.18);border-color:#087f73}
.vsd-mermaid-builder__actions{display:grid;align-content:start;gap:6px}
.vsd-mermaid-builder__actions button{border:1px solid #c9dce1;background:#fff;color:#17324d;border-radius:9px;padding:7px 9px;font-weight:700;cursor:pointer;text-align:left}
.vsd-mermaid-builder__actions button.is-primary{background:#087f73;border-color:#087f73;color:#fff}
.vsd-mermaid-builder__actions p{margin:2px 0 0;font-size:11px;line-height:1.4;color:#526d7a}
.vsd-builder-check{margin:3px 0!important;font-size:11px!important;font-weight:600!important}
.vsd-body.is-focus-mode .vsd-mermaid-builder{display:block!important}
@media(max-width:900px){.vsd-mermaid-builder__body{grid-template-columns:1fr}.vsd-mermaid-builder{max-height:44dvh}.vsd-mermaid-builder__actions{grid-template-columns:1fr 1fr}.vsd-mermaid-builder__actions p,.vsd-builder-check{grid-column:1/-1}}
@media(max-width:650px){.vsd-mermaid-builder{padding:7px;max-height:48dvh}.vsd-mermaid-builder__editor{min-height:130px}.vsd-mermaid-builder__actions{grid-template-columns:1fr}.vsd-mermaid-builder__actions p,.vsd-builder-check{grid-column:auto}}

/* ==========================================================
   V17.4.5 - LEGACY OFF-SCREEN SERIALIZATION SURFACE (alleen compatibiliteit)
   ========================================================== */
.vsd-serialization-surface {
    position: fixed !important;
    left: -20000px !important;
    top: 0 !important;
    width: 1024px !important;
    height: 768px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    z-index: -2147483000 !important;
    contain: layout paint size !important;
}

.vsd-serialization-surface > * {
    width: 1024px !important;
    height: 768px !important;
}
