﻿.dw{padding:0;border:1px solid #dce4ed;border-radius:16px;overflow:visible;box-shadow:0 8px 28px #1835520b;background:#fff;position:relative}
.dw-shell .unit-page__content{width:100%;min-width:0}.dw-shell .unit-page__hero{margin-bottom:24px}.dw-eyebrow{margin:20px 0 8px;font-size:12px;font-weight:700;letter-spacing:.06em;color:#46617b}.dw-back{display:inline-flex;align-items:center;gap:8px;font-weight:600}.dw-topbar{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;border-bottom:1px solid #e3eaf1}.dw-topbar h2{font-size:20px;margin:0 0 6px;color:#183552}.dw-topbar p{margin:0;font-size:14px;color:#4d6279;max-width:460px}.dw-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.dw-control-group{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #d7e1ec;background:#f4f7fb;border-radius:10px}.dw-controls button,.dw-controls a,.dw-search-button{min-height:44px;min-width:44px;padding:9px 13px;border:1px solid #c1cedc;border-radius:7px;background:#fff;color:#213a5b;font:inherit;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;cursor:pointer}.dw-controls button:hover,.dw-controls a:hover{background:#eaf1f9;border-color:#6a829e}.dw-controls output{padding:0 8px;min-width:64px;text-align:center;font-size:13px;color:#213a5b}.dw :focus-visible,.dw-search-button:focus-visible,.dw-list-table a:focus-visible{outline:3px solid #2459a6;outline-offset:3px}.dw-hint,#dw-hint{font-size:13px;line-height:1.6;color:#405772;padding:12px 24px;margin:0;background:#f8fafd}#dw-canvas{height:70vh;min-height:420px;overflow:auto;cursor:grab;background-color:#f5f8fc;background-image:radial-gradient(#bfcddd 1px,transparent 1px);background-size:20px 20px;border-top:1px solid #e3eaf1;border-radius:0 0 16px 16px;overscroll-behavior:contain;scrollbar-gutter:stable}#dw-canvas svg{display:block;max-width:none;margin:24px auto}#dw-canvas g[role=button]{cursor:pointer}#dw-canvas g[role=button]:focus{outline:none}#dw-canvas g[role=button]:focus>:nth-child(2){stroke:#9b6200;stroke-width:5}#dw-canvas.dw-panning{cursor:grabbing;user-select:none}
.dw-skip,.dw-readable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.dw-skip:focus{position:relative;display:inline-block;width:auto;height:auto;padding:12px 18px;margin:12px;overflow:visible;clip-path:none;white-space:normal;background:#fff;z-index:2}.dw-readable:focus-within{position:relative;width:auto;height:auto;padding:24px;margin:0;overflow:visible;clip-path:none;white-space:normal}.dw-readable h2{font-size:22px}.dw-readable h3{font-size:18px}.dw-readable li{margin:18px 0;padding:16px;border:1px solid #dce4ed;border-radius:8px}.dw-readable p,#dw-details p{white-space:pre-wrap;overflow-wrap:anywhere}
.dw dialog{max-width:640px;width:calc(100% - 32px);max-height:85vh;padding:0;border:1px solid #d7e1ec;border-radius:16px;box-shadow:0 24px 72px #10243b44;color:#183552}.dw dialog::backdrop{background:#10243b88}.dw-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px;border-bottom:1px solid #e3eaf1}.dw-dialog-header h2{font-size:22px;margin:0;overflow-wrap:anywhere}.dw-dialog-header button{min-height:44px;padding:8px 14px;border:1px solid #c1cedc;border-radius:7px;background:#fff;color:#213a5b}#dw-details{padding:20px 24px}#dw-details a{display:inline-block;padding:10px 0;min-height:44px}.dw-fullscreen{position:fixed;inset:0;z-index:100000;background:white;display:flex;flex-direction:column;overflow:auto;border-radius:0}.dw-fullscreen #dw-canvas{flex:1;min-height:200px;height:0;border-radius:0}.dw-fullscreen .dw-readable:focus-within{flex-shrink:0}.document-workflow-divider{margin:36px 0;border:0;border-top:1px solid #cdd8e5}.document-dynamic-workflows{margin-top:28px}.document-dynamic-workflows h3{margin-bottom:18px}
@media(max-width:640px){.dw-topbar{padding:18px;gap:16px}.dw-controls{gap:8px;width:100%}.dw-hint,#dw-hint{padding:12px 18px}#dw-canvas{min-height:340px;height:65vh}.dw-topbar p{font-size:13px}.dw-list-table th:first-child{overflow-wrap:anywhere}.dw-dialog-header{padding:18px}#dw-details{padding:18px}}
@media print{.dw-controls,#dw-hint,.dw dialog,.dw-skip,.dw-readable{display:none}#dw-canvas{height:auto;overflow:visible;background:white}.dw-fullscreen{position:static;display:block}.dw{box-shadow:none;border:0}}
.dw-list-table th:last-child,.dw-list-table td:last-child{width:1%;white-space:nowrap}.dw-list-table .quality-document-table__download{white-space:nowrap;min-width:76px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.dw-wizard{margin:20px 24px;padding:20px;border:1px solid #cbd9e8;border-radius:12px;background:#f8fbff}.dw-wizard>header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:center}.dw-wizard h2{font-size:18px;margin:0 0 6px}.dw-wizard header p{margin:0;color:#405772;font-size:14px}.dw-wizard-tools,.dw-step-actions{display:flex;flex-wrap:wrap;gap:10px}.dw-wizard button{min-height:44px;padding:10px 16px;border:1px solid #9db1c8;border-radius:8px;color:#183552;background:#fff;font:inherit;font-weight:600;cursor:pointer}.dw-wizard button:disabled{opacity:.55;cursor:default}.dw-step-actions button,#dw-start{color:#fff;background:#145fad;border-color:#145fad}.dw-step-actions button[data-branch="no"]{background:#fff;color:#183552;border-color:#839ab4}.dw-wizard h3{font-size:20px;margin:0 0 12px;overflow-wrap:anywhere}.dw-wizard [hidden]{display:none!important}#dw-step-status{font-size:13px;color:#405772;margin:16px 0}#dw-step-details p{white-space:pre-wrap;overflow-wrap:anywhere}#dw-step-details a{display:inline-block;min-height:44px;padding:10px 0}.dw-current-step>:nth-child(2){stroke:#145fad!important;stroke-width:5!important;vector-effect:non-scaling-stroke}.dw-visited-edge{stroke:#145fad!important;stroke-width:4!important;stroke-dasharray:9 4}.dw-fullscreen .dw-wizard{flex-shrink:0;max-height:42vh;overflow:auto}@media(max-width:640px){.dw-wizard{margin:16px;padding:16px}.dw-wizard-tools{width:100%}.dw-wizard h3{font-size:18px}.dw-step-actions button{flex:1}}@media print{.dw-wizard{display:none}}
.dw-control-group{flex-wrap:wrap;max-width:100%;min-width:0}.dw-controls{min-width:0}.dw-wizard a{text-decoration:underline;text-underline-offset:3px}.dw-step-actions button:hover,#dw-start:hover{background:#0b3f7e;border-color:#0b3f7e;color:#fff}.dw-step-actions button[data-branch="no"]:hover{background:#e7eff8;color:#183552;border-color:#839ab4}.dw-wizard :focus-visible{outline:3px solid #2459a6;outline-offset:3px}.dw-wizard [tabindex="-1"]{scroll-margin-block:24px}.dw-readable [tabindex="-1"]{scroll-margin-block:24px}@media(prefers-reduced-motion:reduce){.dw,.dw *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Compact guided navigation: answer actions first, history controls on the right. */
.dw-wizard{margin:14px 24px;padding:14px 18px;background:linear-gradient(120deg,#f8fbff,#f1f6fc);box-shadow:0 3px 12px #18355206}
.dw-wizard>header{gap:10px 16px;align-items:center}
.dw-wizard h2{font-size:16px;margin:0 0 3px}
.dw-wizard header p{font-size:13px;line-height:1.45}
.dw-wizard h3{font-size:19px;margin:12px 0 8px;line-height:1.4}
#dw-step-status{display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;margin:0;margin-inline-start:auto;border:1px solid #145fad;border-radius:9px;background:#145fad;color:#fff;font-size:15px;font-weight:700;line-height:1.4;max-width:100%}
#dw-step-status:empty,#dw-step-details:empty{display:none}
#dw-step-details p{margin:8px 0;font-size:14px;line-height:1.5}
.dw-step-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}
.dw-step-footer .dw-wizard-tools{margin-inline-start:auto;width:auto;gap:8px}
.dw-wizard button{padding:8px 13px;font-size:14px;line-height:1.4}
.dw-wizard-tools button{background:#fff;color:#405772;border-color:#b8c9db;font-weight:600}
.dw-wizard-tools button:not(:disabled):hover{background:#e5edf7;color:#183552;border-color:#6a829e}
.dw-step-badge{pointer-events:none}
.dw-step-badge circle{fill:#145fad;stroke:#fff;stroke-width:3}
.dw-step-badge text{fill:#fff;font-family:Arial,sans-serif;font-size:16px;font-weight:700}
@media(max-width:640px){.dw-wizard{margin:12px;padding:12px}.dw-wizard h3{font-size:18px}.dw-step-footer{gap:10px}.dw-step-footer .dw-step-actions{flex:1 1 100%}.dw-step-footer .dw-wizard-tools{justify-content:flex-end;flex-wrap:wrap}.dw-wizard>header>div{flex:1 1 180px}}
@media(forced-colors:active){#dw-step-status{background:Highlight;color:HighlightText;border-color:Highlight}.dw-step-badge circle{fill:Highlight;stroke:Canvas}.dw-step-badge text{fill:HighlightText}}
/* Keep browser scroll anchoring and inherited animation from fighting pointer zoom. */
#dw-canvas{overflow-anchor:none;scroll-behavior:auto}
#dw-canvas svg{transition:none;animation:none}
.dw-wizard #dw-step-title{scroll-margin-top:112px}
.dw-fullscreen .dw-wizard #dw-step-title{scroll-margin-top:16px}
/* The diagram grows inside its scroll region, never the page or its grid track. */
.dw{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
#dw-canvas{min-width:0;max-width:100%;width:100%;box-sizing:border-box;contain:inline-size}
#dw-canvas svg{margin-inline:24px}
.dw-zoom-status{margin:0;padding:10px 24px;background:#edf4fc;color:#183f68;font-size:14px;font-weight:600;border-bottom:1px solid #dce4ed}
.dw-zoom-status:empty{padding:0;border:0}
.dw-controls button[aria-disabled="true"]{background:#edf1f5;color:#526477;border-color:#c1cedc;cursor:default}
@media print{.dw-zoom-status{display:none}#dw-canvas{contain:none}}
/* Zoom is bounded by the available width; horizontal overflow is contained. */
#dw-canvas{overflow-x:hidden}
/* Short diagrams end with a small gutter rather than an empty viewport. */
.dw:not(.dw-fullscreen) #dw-canvas{height:min(70vh,var(--dw-content-height,70vh));min-height:min(420px,var(--dw-content-height,420px))}
@media(max-width:640px){.dw:not(.dw-fullscreen) #dw-canvas{height:min(65vh,var(--dw-content-height,65vh));min-height:min(340px,var(--dw-content-height,340px))}}
@media print{.dw:not(.dw-fullscreen) #dw-canvas{height:auto;min-height:0}}
.dw-list-table .dw-overlay-open{text-decoration:none;background:#17478d;color:#fff;border:1px solid #17478d;border-radius:7px;padding:8px 12px}
.dw-list-table .dw-overlay-open:hover{background:#a34400;color:#fff;border-color:#a34400;text-decoration:none}
@media(forced-colors:active){.dw-list-table .dw-overlay-open{border-color:ButtonText}}
/* Compact information cards keep guidance available without covering the diagram. */
.dw-topbar{padding:12px 16px;gap:12px;background:#f8fafd;align-items:center}
.dw-overview{flex:1 1 260px;min-width:0}
.dw-overview-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}
.dw-topbar .dw-overview-heading h2{margin:0;font-size:18px}
.dw-overview-heading .unit-diagram-back{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:3px 8px;border:1px solid #b8c9db;border-radius:6px;color:#17478d;font-size:13px;text-decoration:none}
.dw-overview-heading .unit-diagram-back:hover{background:#e7eff8;color:#a34400;text-decoration:none}
.dw-topbar .dw-overview>p{margin:4px 0 0;font-size:13px;max-width:60ch}
.dw-controls{gap:8px;flex:0 1 auto;justify-content:flex-end}
.dw-controls button,.dw-controls a{padding:7px 10px}
.dw-controls .dw-zoom-status{flex:1 1 100%;margin:0;padding:4px 8px;border:1px solid #b8c9db;border-radius:6px;background:#edf4fc;color:#183f68;font-size:12px;line-height:1.4;text-align:end}
.dw-controls .dw-zoom-status:empty{display:none}
.dw-support-cards{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:10px 16px;align-items:start;flex:none}
.dw-help-card,.dw-support-cards .dw-wizard{min-width:0;margin:0;padding:10px 12px;border:1px solid #c1cedc;border-radius:9px;background:#f8fbff;box-shadow:none}
.dw-help-card summary,.dw-wizard-intro summary{color:#183552;font-size:14px;font-weight:600;cursor:pointer;line-height:1.5;min-height:28px;padding:3px 0}
.dw-help-card summary::marker,.dw-wizard-intro summary::marker{color:#17478d}
.dw-help-card summary:focus-visible,.dw-wizard-intro summary:focus-visible{outline:3px solid #17478d;outline-offset:3px;border-radius:3px}
.dw-help-card #dw-hint{padding:8px 0 0;margin:0;background:transparent;font-size:13px;line-height:1.55}
.dw-support-cards .dw-wizard>header{gap:6px 10px;align-items:start}
.dw-wizard-intro{flex:1 1 180px;min-width:0}
.dw-wizard-intro summary h2{display:inline;margin:0;font-size:14px;line-height:1.5}
.dw-wizard-intro>p{padding-top:8px;font-size:13px;line-height:1.55}
.dw-support-cards #dw-start{padding:7px 12px;min-height:36px;font-size:13px}
.dw-support-cards #dw-step-status{min-height:30px;font-size:13px;padding:4px 8px}
.dw-support-cards .dw-wizard h3{font-size:17px;margin:10px 0 6px}
.dw-fullscreen .dw-support-cards{max-height:40vh;overflow:auto}
.dw-fullscreen .dw-support-cards .dw-wizard{max-height:none;overflow:visible}
@media(max-width:800px){.dw-controls{justify-content:flex-start;flex:1 1 100%}.dw-controls .dw-zoom-status{flex:0 1 auto;text-align:start}.dw-support-cards{grid-template-columns:minmax(0,1fr);padding:8px 12px;gap:8px}.dw-topbar{padding:10px 12px}.dw-fullscreen .dw-support-cards{max-height:35vh}}
@media print{.dw-support-cards{display:none}}
.dw-fullscreen .dw-topbar{position:sticky;top:0;z-index:3;flex:none}
.dw-fullscreen #dw-fullscreen{background:#17478d;border-color:#17478d;color:#fff}
.dw-fullscreen #dw-fullscreen:hover{background:#a34400;border-color:#a34400;color:#fff}
