.module-map{max-width:1500px;margin:auto}.module-map-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:12px 0 28px}.module-map h1{font-size:clamp(1.5rem,3vw,2.2rem);margin:8px 0}.module-map-heading p{color:#536b77;max-width:760px}.module-map-eyebrow{color:#2965ad;font-size:.8rem;font-weight:700;letter-spacing:.04em}.module-map-return{padding:14px 18px;background:#eaf2ff;border:1px solid #bdcfee;border-radius:14px;max-width:290px}.module-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}.module-map-board{border:1px solid #d6e1ea;border-radius:18px;background:#fafcff;overflow:hidden}.module-map-tools{display:flex;gap:16px;justify-content:space-between;padding:14px;border-bottom:1px solid #e2e8f0;align-items:center;flex-wrap:wrap}.module-map-tools label{display:flex;gap:10px;align-items:center;font-size:.85rem}.module-map-tools input{max-width:220px;min-width:100px;width:40vw;padding:8px}.module-map-tools button{padding:7px 13px;border:1px solid #c7d7e6;border-radius:8px;background:white;color:#245fa8;cursor:pointer}.module-map-scroll{overflow:auto;direction:ltr}.module-map-canvas{width:100%;min-width:640px;display:block;min-height:380px;max-height:65vh;touch-action:pan-y}.module-map-edge{stroke:#bfd0e1;stroke-width:2;fill:none}.module-map-edge.is-related{stroke:#3478c3;stroke-width:3}.module-map-node rect{fill:white;stroke:#cad8e5;stroke-width:1.5}.module-map-node text{fill:#213d50;font-size:14px;font-weight:650;direction:inherit;unicode-bidi:plaintext}.module-map-node .module-map-node-caption{font-size:11px;fill:#62788a;font-weight:400}.module-map-node.is-current rect{fill:#e5efff;stroke:#2466b8;stroke-width:3}.module-map-node.is-selected rect{stroke:#2466b8;stroke-dasharray:5 3}.module-map-node:hover rect,.module-map-node:focus rect{fill:#eff6ff;stroke:#2466b8}.module-map-node.is-muted{opacity:.2}.module-map-group{fill:#657b8b;font-size:13px;font-weight:700}.module-map-legend{font-size:.8rem;color:#5d7283;padding:8px 16px}.module-map-legend span{color:#2466b8}.module-map-inspector{padding:24px;background:white;border:1px solid #d6e1ea;border-radius:18px;position:sticky;top:20px}.module-map-inspector h2{font-size:1.25rem;margin:12px 0}.module-map-inspector p{line-height:1.8}.module-map-hint{font-size:.8rem;color:#62788a;margin-top:24px}.module-map-directory{margin-top:22px;padding:16px;border:1px solid #d6e1ea;border-radius:12px}.module-map-directory>div{display:flex;flex-wrap:wrap;gap:12px;padding-top:15px}.module-map-directory a{padding:8px 12px;background:white;border-radius:8px}.module-map-trigger{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;background:#e5efff;color:#225ea5;border:1px solid #93b6e3;border-radius:50%;font-family:Georgia,serif;font-size:19px;font-weight:bold;text-decoration:none}.module-map-trigger:hover,.module-map-trigger:focus-visible{background:#cfe2ff;outline:2px solid #76a3db;outline-offset:3px}@media(max-width:850px){.module-map-layout{grid-template-columns:1fr}.module-map-inspector{position:static}.module-map-heading{align-items:start;flex-direction:column}.module-map-canvas{max-height:none}}@media print{.module-map-tools,.module-map-inspector,.module-map-directory{display:none}.module-map-layout{display:block}.module-map-canvas{width:100%;min-width:0;max-height:none}}

/* Page orientation stays compact; the selected content receives the canvas. */
.has-content-canvas .module-map-layout{grid-template-columns:minmax(0,1fr) 230px}.has-content-canvas>.module-map-layout .module-map-canvas{max-height:340px;min-height:260px}.has-content-canvas>.module-map-layout .module-map-inspector{padding:18px;position:static}.has-content-canvas>.module-map-layout .module-map-hint{display:none}.module-map-node.is-current rect{stroke-dasharray:none}
.diwan-content-map{margin-top:36px;border:1px solid #c9d9e7;border-radius:20px;background:#fff;overflow:hidden;scroll-margin-top:24px}.dcm-heading{padding:26px 28px 14px;display:flex;justify-content:space-between;gap:20px;align-items:start}.dcm-heading h2{margin:8px 0;font-size:1.7rem}.dcm-heading p{max-width:760px;color:#607588;line-height:1.7;margin:10px 0}.diwan-content-map button{cursor:pointer;border:1px solid #c8d8e5;background:#fff;color:#275b85;border-radius:8px;padding:8px 12px;font:inherit}.dcm-metrics{display:flex;gap:10px;flex-wrap:wrap;padding:0 28px 18px}.dcm-metrics>span{border:1px solid #dbe5ed;background:#f5f9fc;padding:9px 15px;border-radius:9px;color:#536c7d;font-size:.85rem}.dcm-metrics strong{font-size:1.25rem;color:#234d6c;margin-inline-end:7px}.dcm-toolbar{display:flex;gap:16px;flex-wrap:wrap;padding:12px 20px;border-block:1px solid #dce6ee;background:#f8fbfd;align-items:center}.dcm-toolbar label{display:flex;align-items:center;gap:10px;font-size:.85rem}.dcm-toolbar input{width:220px;max-width:45vw;padding:8px 12px;border:1px solid #c8d8e5;border-radius:8px}.dcm-layout-label{margin-inline-start:auto;color:#637b90;font-size:.8rem}.dcm-status{margin:0;padding:0 20px;color:#9b561e}.dcm-status:not(:empty){padding-block:12px;background:#fff6e5}.dcm-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;min-height:600px}.dcm-stage{position:relative;background-color:#f8fbfe;background-image:radial-gradient(#cedce7 .7px,transparent .7px);background-size:20px 20px;overflow:hidden;min-width:0}.dcm-stage svg{display:block;width:100%;height:600px;direction:ltr;touch-action:pan-y}.dcm-stage svg:focus-visible{outline:3px solid #4585bd;outline-offset:-4px}.dcm-stage-hint{font-size:.75rem;color:#63788c;position:absolute;bottom:8px;inset-inline-start:18px;margin:0;pointer-events:none;background:#f8fbfeeb;padding:5px 8px;border-radius:5px}.dcm-inspector{padding:24px;border-inline-start:1px solid #dce6ee;max-height:640px;overflow:auto}.dcm-inspector h3{font-size:1.15rem;margin:12px 0;line-height:1.7}.dcm-inspector p{white-space:pre-line;color:#566e80;font-size:.9rem;line-height:1.9}.dcm-inspector a[hidden]{display:none}.dcm-related{display:flex;flex-direction:column;gap:7px;margin-top:20px}.dcm-related button{text-align:start;font-size:.8rem;background:#f4f8fc}.dcm-note{font-size:.8rem;color:#60778a;padding:15px 24px;border-top:1px solid #e3ebf2;line-height:1.8;margin:0}.dcm-accessible{padding:15px 24px;border-top:1px solid #e3ebf2}.dcm-accessible>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px;max-height:260px;overflow:auto}.dcm-accessible a{padding:6px 10px;background:#f1f6fb;border-radius:6px;font-size:.85rem}.diwan-content-map[aria-busy=true] .dcm-workspace{opacity:.4;pointer-events:none}.dcm-label{fill:#213f57;font:600 13px system-ui,sans-serif;unicode-bidi:plaintext}.dcm-count{fill:#38647c;font:500 15px system-ui,sans-serif}.dcm-edges path{stroke:#a3b9cb;stroke-width:1.6;fill:none}.dcm-edges path.is-related{stroke:#246aac;stroke-width:3}.dcm-card,.dcm-matrix-row{fill:#fff;stroke:#b6ccde;stroke-width:1.3}.dcm-disc{fill-opacity:.14;stroke:#7eacc7;stroke-width:1}.dcm-enclosure{fill-opacity:.06;stroke:#9cb3c8;stroke-dasharray:4 3}.dcm-tile{fill-opacity:.35;stroke:#789dbb;stroke-width:1}.dcm-vendor{fill:#e3d8f5;stroke:#916ab5;stroke-width:1.5}.dcm-role{fill:#dbecef;stroke:#458e96;stroke-width:1.5}.dcm-person{fill:#e1eeff;stroke:#477fae;stroke-width:1.5}.dcm-node.is-selected>rect,.dcm-node.is-selected>circle,.dcm-node:focus>rect,.dcm-node:focus>circle{stroke:#1456a1;stroke-width:3}.dcm-node.is-muted{opacity:.13}.dcm-node:hover{filter:brightness(.94)}.dcm-cell-number{fill:#173f60;font:600 14px system-ui,sans-serif;paint-order:stroke;stroke:white;stroke-width:2px;stroke-opacity:.5}.dcm-matrix-cell{stroke:#cbd9e5;stroke-width:.5}.dcm-matrix-row+.dcm-label{font-size:12px}.dcm-axis{font-size:12px;color:#6a8091}.dcm-lane{stroke:#c6d5e2;stroke-dasharray:3 6}.dcm-timeline-point{stroke:white;stroke-width:1.5}.dcm-timeline-label{opacity:0;pointer-events:none}.dcm-node:hover .dcm-timeline-label,.dcm-node.is-selected .dcm-timeline-label,.dcm-node:focus .dcm-timeline-label{opacity:1;paint-order:stroke;stroke:#f8fbfe;stroke-width:5px;stroke-linejoin:round}.dcm-network-label{font-size:11px;paint-order:stroke;stroke:#f8fbfe;stroke-width:3px;stroke-linejoin:round}.dcm-empty{fill:#637a8d;font:18px system-ui,sans-serif}.diwan-content-map:fullscreen{overflow:auto;border-radius:0;background:#fff}.diwan-content-map:fullscreen .dcm-stage svg{height:calc(100vh - 250px);min-height:500px}@media(max-width:850px){.has-content-canvas .module-map-layout{grid-template-columns:1fr}.has-content-canvas>.module-map-layout .module-map-inspector{display:block}.has-content-canvas>.module-map-layout .module-map-inspector p{display:none}.dcm-workspace{grid-template-columns:1fr}.dcm-inspector{border-inline-start:0;border-top:1px solid #dce6ee;max-height:330px}.dcm-stage svg{height:480px}.dcm-heading{padding:20px 18px 10px}.dcm-heading h2{font-size:1.4rem}.dcm-metrics{padding-inline:18px}.dcm-heading button{font-size:.75rem}.dcm-layout-label{display:none}}@media print{.dcm-toolbar,.dcm-inspector,.dcm-stage-hint,.dcm-accessible,.dcm-heading button{display:none}.dcm-workspace{display:block}.dcm-stage svg{height:auto;max-height:80vh}}

.module-map-content-jump{padding:0 18px 18px;display:flex;justify-content:flex-end}.module-map-content-jump a{color:#2368a5;font-size:.85rem;font-weight:650}.dcm-back-link{font-size:.85rem;color:#2368a5}

/* Semantic labels keep a production-sized role network readable. */
.dcm-network-label{opacity:0}.dcm-role-label,.dcm-node:hover .dcm-network-label,.dcm-node:focus .dcm-network-label,.dcm-node.is-selected .dcm-network-label,.dcm-stage svg.is-close .dcm-network-label{opacity:1}.dcm-enclosure+.dcm-label{paint-order:stroke;stroke:#f8fbfe;stroke-width:3px;stroke-linejoin:round}

/* Executive canvas: readable page topology, then a focused working surface. */
.diwan-page-atlas{border:1px solid #cbd9e5;border-radius:16px;background:white;overflow:hidden}.diwan-atlas-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:18px}.diwan-atlas-groups h2{font-size:.85rem;color:#526e80;margin:0 0 10px}.atlas-card{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:10px 12px;margin:6px 0;border:1px solid #d9e3ec;border-radius:8px;text-decoration:none;color:#24485c;font-size:.93rem;min-height:42px}.atlas-card small{font-size:.65rem}.atlas-card.is-current{border-inline-start:4px solid #2466b8}.atlas-card.is-selected{background:#e7f0ff;border-color:#3472b7;box-shadow:0 0 0 1px #3472b7}.atlas-card:hover{background:#f0f6fc}.atlas-selection{display:flex;gap:16px;align-items:center;flex-wrap:wrap;border-top:1px solid #e1e8ef;padding:12px 18px;font-size:.85rem}.atlas-selection span{flex:1;color:#526e80}.atlas-selection a{white-space:nowrap}.has-content-canvas .module-map-heading{margin-bottom:18px}.has-content-canvas .module-map-heading p{display:none}.dcm-heading{padding:18px 24px 8px}.dcm-heading p{margin:4px 0;font-size:.85rem}.dcm-metrics{padding-bottom:12px}.dcm-workspace{grid-template-columns:minmax(0,1fr) 360px}.dcm-inspector{font-size:1rem}.dcm-inspector p{font-size:1rem}.dcm-cell-number{stroke:none;fill:#102b41}.dcm-node:focus-visible{outline:3px solid #f49a3e}.has-accounting-explorer .dcm-workspace,.has-accounting-explorer .dcm-toolbar,.has-accounting-explorer .dcm-accessible{display:none}.accounting-canvas[hidden]{display:none}.ac-grid{display:grid;grid-template-columns:230px minmax(300px,1fr) minmax(300px,380px);min-height:540px;border-top:1px solid #dbe4ec}.ac-accounts{max-height:760px;overflow:auto;background:#f5f8fb;padding:12px}.ac-account{width:100%;text-align:start;display:grid;gap:5px;margin-bottom:7px!important;padding:10px!important}.ac-account strong{font-size:.9rem}.ac-account small{color:#506c80;font-size:.73rem}.ac-track{height:4px;background:#e0e9f1;border-radius:2px;display:block}.ac-track>span{display:block;height:4px;background:#5387b4}.ac-account.selected,.ac-entry.selected{border-color:#2466b8!important;background:#edf4ff!important}.ac-main{padding:18px;min-width:0}.ac-main h3{margin:0 0 14px}.ac-filters{display:flex;gap:9px;flex-wrap:wrap;align-items:end}.ac-filters input{width:100%;padding:10px;border:1px solid #bccddb;border-radius:8px;font:inherit}.ac-filters label{display:grid;gap:4px;font-size:.75rem;flex:1}.ac-filters select{max-width:100%;padding:8px;font:inherit;border:1px solid #bccddb;border-radius:7px}.ac-scope{font-size:.85rem;color:#506c80}.ac-entry-list{max-height:570px;overflow:auto}.ac-entry{display:grid;grid-template-columns:1fr auto;width:100%;gap:7px;text-align:start;margin-bottom:8px;padding:13px!important}.ac-entry strong{grid-column:1/-1;font-size:.95rem;line-height:1.5}.ac-entry span,.ac-entry small{font-size:.78rem;color:#526a7d}.ac-entry b{font-size:.9rem;direction:ltr}.ac-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:.85rem}.diwan-content-map button:disabled{opacity:.4;cursor:default}.ac-detail{padding:22px;border-inline-start:1px solid #dbe4ec;max-height:850px;overflow:auto;background:#fcfdff}.ac-detail h3{line-height:1.7;margin-top:0}.ac-detail>a{display:inline-block;background:#2466a6;color:white;padding:9px 15px;border-radius:7px}.ac-attachment{border-block-start:1px solid #dbe4ec;padding:12px 0}.ac-attachment h4{margin:8px 0}.ac-attachment p{font-size:.9rem;line-height:1.8}.ac-page{display:block;width:100%;text-align:start;margin-top:8px;font-size:.8rem!important}.ac-note{padding:12px 24px;color:#567184;font-size:.82rem;line-height:1.7;border-top:1px solid #dbe4ec;margin:0}.ac-preview{padding:20px;background:#e8eef3;display:flex;gap:16px;flex-wrap:wrap;align-items:center}.ac-preview img{display:block;width:100%;max-height:80vh;object-fit:contain}.ac-preview a{font-weight:700}.ac-detail:empty{display:none}@media(max-width:1100px){.ac-grid{grid-template-columns:180px minmax(0,1fr)}.ac-detail{grid-column:1/-1;border-top:1px solid #dbe4ec;max-height:none}.dcm-workspace{grid-template-columns:minmax(0,1fr) 300px}}@media(max-width:700px){.diwan-atlas-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.atlas-selection span{display:none}.atlas-card{font-size:.85rem}.ac-grid{display:block}.ac-accounts{display:flex;gap:8px;max-height:160px;overflow:auto}.ac-account{min-width:170px}.ac-detail{border-inline-start:0}.ac-entry-list{max-height:none}.ac-filters select{min-width:0}.dcm-workspace{display:block}.dcm-inspector{max-height:none}.atlas-selection{gap:10px}.diwan-content-map{margin-top:20px}}

.has-accounting-explorer .dcm-note{display:none}

/* Subject relationships: three labelled lanes with fixed readable card sizes. */
.subject-canvas[hidden]{display:none}.has-subject-explorer .dcm-workspace,.has-subject-explorer .dcm-toolbar,.has-subject-explorer .dcm-accessible,.has-subject-explorer .dcm-note{display:none}.sc-top{padding:16px 22px;display:flex;gap:16px;justify-content:space-between;border-top:1px solid #dbe5ee;align-items:center;flex-wrap:wrap}.sc-top form{display:flex;gap:8px;flex:1;max-width:520px}.sc-top input{padding:10px 13px;border:1px solid #bbcddb;border-radius:8px;font:inherit;min-width:0;width:100%}.sc-picker{position:relative}.sc-picker summary{cursor:pointer;font-weight:700;color:#234b68;padding:10px}.sc-menu{position:absolute;inset-inline-start:0;top:100%;width:380px;max-width:80vw;max-height:480px;overflow:auto;z-index:5;background:white;box-shadow:0 12px 35px #153d5d30;padding:14px;border:1px solid #c5d7e4;border-radius:12px}.sc-menu input{box-sizing:border-box;position:sticky;top:0}.sc-menu button{display:block;width:100%;text-align:start;margin-top:7px}.sc-menu button[hidden]{display:none}.sc-zoom{display:flex;gap:4px}.sc-legend{display:flex;gap:18px;padding:10px 22px;background:#f8fafc;flex-wrap:wrap;font-size:.8rem;color:#506b7e}.sc-key:before{content:'';display:inline-block;width:23px;border-top:3px solid var(--edge,#8194a5);margin-inline-end:7px;vertical-align:middle}.sc-key.membership:before{border-top-style:dotted}.support{--edge:#278d77}.payment{--edge:#386fc1}.context{--edge:#8b819a}.contradiction{--edge:#c35458}.sc-viewport{height:780px;overflow:hidden;position:relative;background-color:#f4f7fb;background-image:radial-gradient(#c4d3df .6px,transparent .6px);background-size:18px 18px;direction:ltr;touch-action:pan-y}.sc-world{position:relative;transform-origin:0 0;direction:ltr}.sc-connections{position:absolute;inset:0;pointer-events:none}.sc-edge{fill:none;stroke:var(--edge,#a7b8c7);stroke-width:2;opacity:.75}.sc-edge.membership{stroke-dasharray:3 7;stroke-width:1.5}.sc-edge.proposed{stroke-dasharray:7 5}.sc-lane-heading{position:absolute;top:18px;display:flex;justify-content:space-between;color:#476376;font-size:13px;text-transform:uppercase;letter-spacing:.06em;box-sizing:border-box;padding:0 5px}.sc-lane-heading span{color:#8799aa}.diwan-content-map .sc-card{position:absolute;box-sizing:border-box;background:white;border:1px solid #cddbe6;border-radius:12px;padding:13px 16px;text-align:start;box-shadow:0 3px 9px #264c6a08;overflow:hidden;color:#193c54}.sc-card small{display:block;color:#607d90;font-size:11px;line-height:1.5}.sc-card strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5;font-weight:650;margin:3px 0}.sc-card>span{display:block;font-size:11px;color:#70899b;white-space:nowrap;overflow:hidden}.sc-subject{border-top:4px solid #236f81!important;background:#f1fafb!important}.sc-subject h3{font-size:20px;line-height:1.5;margin:8px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.sc-subject b{display:block;font-size:12px;color:#4a7781}.sc-subject a{display:inline-block;margin-top:10px;font-size:12px;font-weight:bold}.sc-fact.selected{border:2px solid #5f67b0;background:#f4f4ff;box-shadow:0 0 0 4px #6b6cc70d}.sc-source{border-inline-start:4px solid var(--edge,#a5b5c3)!important}.sc-source.is-selected{box-shadow:0 0 0 3px #266aab25}.sc-card:focus-visible{outline:3px solid #ed9b35;outline-offset:3px}.sc-card:hover{border-color:#5485a5}.sc-diagram-empty{position:absolute;background:#eef3f8;border:1px dashed #bccedc;padding:24px;box-sizing:border-box;line-height:1.8;color:#637e90;border-radius:12px;font-size:14px}.sc-pager{position:absolute;display:flex;justify-content:space-between;align-items:center;font-size:12px}.sc-pager button{padding:5px 9px!important;font-size:12px!important}.sc-inspector{padding:22px 26px;background:white;border-top:1px solid #cddce8;display:grid;grid-template-columns:1fr auto;gap:8px 24px}.sc-inspector>small{color:#637e90;grid-column:1/-1}.sc-inspector h3{font-size:18px;margin:0;line-height:1.7}.sc-inspector>a{align-self:start;background:#236ba8;color:white;padding:8px 14px;border-radius:7px;font-size:14px;text-decoration:none}.sc-inspector p{line-height:1.9;max-width:1000px;grid-column:1/-1}.sc-inspector details{grid-column:1/-1}.sc-inspector summary{cursor:pointer;color:#54758d;margin-top:10px}.sc-locator{font-size:13px;color:#607e90}.sc-note{font-size:12px;color:#678092;padding:14px 24px;border-top:1px solid #e2eaf0;line-height:1.8;margin:0}@media(max-width:700px){.sc-viewport{height:auto;overflow:visible;padding:15px}.sc-world{width:auto!important;height:auto!important;transform:none!important;display:flex;flex-direction:column;gap:12px}.sc-connections,.sc-lane-heading,.sc-zoom{display:none!important}.diwan-content-map .sc-card,.sc-diagram-empty,.sc-pager{position:static!important;width:100%!important;height:auto!important;min-height:90px}.sc-subject{order:0}.sc-fact{order:1}.sc-source{order:3}.sc-pager{order:4;min-height:40px}.sc-diagram-empty{order:3}.sc-inspector{display:block}.sc-inspector>a{display:inline-block;margin:12px 0}.sc-top{padding:12px}.sc-legend{gap:9px;font-size:11px}}

.diwan-content-map .sc-fact,.diwan-content-map .sc-source{padding:9px 14px}.sc-fact strong,.sc-source strong{line-height:1.35;margin:2px 0}.sc-fact small,.sc-source small{line-height:1.3}.sc-fact>span,.sc-source>span{line-height:1.3}

.has-readable-matrix .dcm-stage>svg,.has-readable-matrix .dcm-stage-hint,.has-readable-matrix .dcm-toolbar>div{display:none}.has-readable-matrix .dcm-workspace{min-height:0;align-items:start}.has-readable-matrix .dcm-stage{background:white}.dcm-readable-matrix{overflow:auto;max-height:740px;position:relative;isolation:isolate;background:#f8fbfd}.dcm-readable-matrix[hidden]{display:none}.dcm-readable-matrix table{border-collapse:separate;border-spacing:4px;width:100%;font-size:14px;line-height:1.5}.dcm-readable-matrix th{padding:10px 14px;text-align:start;background:#f4f7fa;font-weight:600;min-width:88px;box-sizing:border-box}.dcm-readable-matrix thead th{position:sticky;top:0;z-index:3;vertical-align:bottom;box-shadow:0 1px #d3e0e9}.dcm-readable-matrix th:first-child{position:sticky;inset-inline-start:0;z-index:2;min-width:280px;max-width:340px;width:300px;background:#f1f6fa}.dcm-readable-matrix thead th:first-child{z-index:4}.dcm-readable-matrix th a{color:#244c69;text-decoration:none}.dcm-readable-matrix th a:hover{text-decoration:underline}.dcm-readable-matrix td{padding:0;min-width:88px;vertical-align:stretch}.diwan-content-map .dcm-readable-matrix td button{width:100%;height:100%;min-height:49px;border:1px solid #e0e7ee;border-radius:6px;font-size:15px;font-weight:650;padding:12px 8px}.dcm-readable-matrix td button:hover,.dcm-readable-matrix td button.selected{outline:2px solid #467ba4;outline-offset:-2px}.dcm-readable-matrix button:focus-visible{outline:3px solid #ee9c38;outline-offset:-3px}.dcm-readable-matrix tr[hidden]{display:none}@media(max-width:700px){.dcm-readable-matrix th:first-child{min-width:180px;width:180px;max-width:200px;font-size:12px}.dcm-readable-matrix th,.dcm-readable-matrix td{min-width:75px}.dcm-readable-matrix{max-height:600px}}

.dcm-readable-matrix table{table-layout:fixed;min-width:100%}.dcm-readable-matrix th{white-space:normal!important;text-transform:none!important;letter-spacing:normal!important;font-size:14px!important;overflow-wrap:anywhere}.dcm-readable-matrix th:first-child{width:300px;min-width:300px;max-width:300px}.dcm-readable-matrix th a{white-space:normal!important;overflow-wrap:anywhere;display:block}.dcm-readable-matrix thead th:not(:first-child){width:92px}
/* Distinct lenses: time density, documented roles, and archive filing calendar. */
.discovery-canvas[hidden]{display:none}.has-discovery .dcm-workspace,.has-discovery .dcm-toolbar,.has-discovery .dcm-accessible,.has-discovery .dcm-note{display:none}.dc-form{display:flex;gap:10px;flex-wrap:wrap;align-items:end;padding:16px 20px;border-block:1px solid #e0e8ee}.dc-form input[type=search]{flex:1;min-width:160px;padding:10px;border:1px solid #bfd0df;border-radius:8px;font:inherit}.dc-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#526e82}.dc-form input[type=date],.dc-form select{padding:9px;border:1px solid #bfd0df;border-radius:7px;font:inherit;color:#24485f;min-width:0}.dc-form label:has(input[type=checkbox]){flex-direction:row;align-items:center;align-self:center}.dc-scope{padding:10px 20px;margin:0;color:#58768b;font-size:13px}.dc-chart-scroll{overflow:auto;direction:ltr;background:#f8fbfd;padding:8px 0}.dc-time-chart{display:block;width:100%;min-width:900px;direction:ltr}.dc-chart-title{fill:#45677d;font-size:14px;font-weight:650}.diwan-content-map .dc-lane-label{padding:2px 5px;display:block;width:100%;height:100%;font-size:13px;line-height:1.4;text-align:start;border:0;background:transparent;color:#35596e;border-radius:0}.dc-lane-label:hover{text-decoration:underline}.dc-cell-text{font-size:12px;fill:#143d55}.dc-time-axis{font-size:12px;color:#57758b}.dc-brush .selection{fill:#da9b4b;fill-opacity:.18;stroke:#b98648}.dc-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 20px}.dc-results article{border:1px solid #d6e2ec;border-radius:10px;padding:15px 18px;background:white;display:grid;grid-template-columns:1fr auto;gap:8px}.dc-results h3{grid-column:1/-1;font-size:15px;line-height:1.65;margin:0;color:#214b66}.dc-results small{grid-column:1/-1;color:#607f92;font-size:11px}.dc-results bdi{font-size:12px;color:#71899a}.dc-results a{font-size:13px;font-weight:650;justify-self:end}.dc-pager{display:flex;gap:20px;align-items:center;justify-content:center;padding:14px 20px;border-top:1px solid #e4ecf2}.dc-pager bdi{font-size:13px;color:#567386}.dc-note{padding:14px 22px;margin:0;border-top:1px solid #d9e5ef;line-height:1.8;font-size:13px;color:#617f93}.dc-types{display:flex;gap:10px;padding:16px 20px;background:#f8fbfd;border-block:1px solid #dfebf3}.discovery-canvas button.active{background:#e8f1fc;border-color:#3d80b9;color:#1d5584}.dc-people-shell{display:grid;grid-template-columns:255px minmax(0,1fr)}.dc-people-list{background:#f8fbfd;border-inline-end:1px solid #dce7f0;padding:12px;max-height:1060px;overflow:auto}.dc-role-groups{display:grid;gap:5px;margin-bottom:10px}.dc-role-groups button{text-align:start;font-size:12px;padding:7px 10px}.dc-people-list .dc-form{padding:10px 0;gap:6px}.dc-people-list .dc-form input{width:100%;box-sizing:border-box;min-width:0;font-size:13px}.dc-people-list .dc-scope{padding:10px 0}.dc-party{width:100%;display:grid;gap:7px;text-align:start;margin-top:7px;padding:12px!important}.dc-party strong{font-size:14px;line-height:1.55}.dc-party small{font-size:11px;color:#6a879a;line-height:1.5}.dc-people-list .dc-pager{padding:14px 0;gap:10px}.dc-people-list .dc-pager button{font-size:12px;padding:6px}.dc-orbit-stage{min-width:0}.dc-orbit-tools{display:flex;align-items:center;gap:8px;padding:12px 18px;border-bottom:1px solid #dbe7ef}.dc-orbit-tools span{font-size:13px;color:#547388;flex:1}.dc-orbit-viewport{height:750px;overflow:hidden;direction:ltr;position:relative;background:#f5f8fc;background-image:radial-gradient(#c3d3df .6px,transparent .6px);background-size:20px 20px;touch-action:pan-y}.dc-orbit-world{width:1160px;height:730px;position:relative;transform-origin:0 0;direction:ltr}.dc-orbit-world>svg{position:absolute;inset:0;pointer-events:none}.dc-party-center{position:absolute;left:440px;top:275px;width:280px;height:180px;box-sizing:border-box;padding:22px;background:#edf5fa;border:2px solid #6591ae;border-radius:22px;box-shadow:0 6px 20px #1e536815;text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center}.dc-party-center small{color:#5a8399;font-size:12px}.dc-party-center h3{font-size:20px;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.dc-party-center span{font-size:12px;color:#6c8597}.dc-party-center a{font-size:12px;font-weight:650}.diwan-content-map .dc-role-card{position:absolute;width:280px;height:125px;box-sizing:border-box;text-align:start;padding:13px 17px;background:white;border:1px solid #c6d9e7;border-inline-start:4px solid #8276a6;border-radius:14px;box-shadow:0 4px 12px #204c6b0a;display:grid;gap:5px}.dc-role-card strong{font-size:15px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dc-role-card span{font-size:12px;line-height:1.4;color:#486a80;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dc-role-card small{font-size:11px;color:#7a8796}.dc-role-card.proposed{border-style:dashed}.dc-role-edge{fill:none;stroke:#b0bfd0;stroke-width:1.7}.dc-role-edge.proposed{stroke-dasharray:7 5;stroke:#bb9d65}.dc-no-role{position:absolute;left:325px;top:510px;width:510px;text-align:center;color:#6c8395;line-height:1.8;font-size:15px}.dc-relationship-detail{padding:0 22px}.dc-relationship-detail:not(:empty){padding-block:18px;border-top:1px solid #dae6ef}.dc-relationship-detail h3{font-size:18px;line-height:1.6}.dc-relationship-detail p{line-height:1.9;color:#527188}.dc-relationship-detail a{display:inline-block;padding:8px 12px;margin-inline-end:10px;background:#edf5fb;border-radius:6px;font-size:13px}.dc-calendar-scroll{overflow:auto;max-height:650px;padding:14px 18px;background:#f8fbfd}.dc-calendar{border-collapse:separate;border-spacing:5px;table-layout:fixed;width:1170px;min-width:100%;font-size:13px}.dc-calendar th{background:#f8fbfd;color:#456c84!important;white-space:normal!important;text-transform:none!important;letter-spacing:normal!important;text-align:center;padding:10px 5px!important;width:85px!important;font-size:13px!important}.dc-calendar thead th{position:sticky;top:0;z-index:3}.dc-calendar th:first-child{position:sticky;inset-inline-start:0;z-index:2;width:65px!important}.dc-calendar thead th:first-child{z-index:4}.dc-calendar td{padding:0;width:85px}.diwan-content-map .dc-month{display:flex;flex-direction:column;gap:8px;width:100%;height:80px;align-items:center;justify-content:center;border:1px solid #dce5ee;border-radius:9px;padding:9px;font-size:18px}.dc-month small{font-size:10px}.dc-month.active{outline:3px solid #326da2;outline-offset:0}.dc-month:disabled{opacity:.65}.dc-time-chart [role=button]:focus-visible,.dc-month:focus-visible,.dc-party:focus-visible,.dc-role-card:focus-visible{outline:3px solid #e8a343;outline-offset:2px}@media(max-width:900px){.dc-people-shell{display:block}.dc-people-list{max-height:none;border-inline-end:0;display:flex;gap:8px;flex-wrap:wrap}.dc-role-groups{display:flex;gap:5px;flex-wrap:wrap;width:100%}.dc-role-groups button{font-size:11px}.dc-people-list .dc-form{width:100%}.dc-party{width:calc(50% - 4px)}.dc-people-list .dc-scope,.dc-people-list .dc-pager{width:100%}.dc-orbit-viewport{overflow:auto}.dc-results{grid-template-columns:1fr}.dc-form{padding:12px}.dc-form label{max-width:100%}}@media(max-width:600px){.dc-orbit-viewport{height:auto;overflow:visible;padding:14px;box-sizing:border-box}.dc-orbit-world{width:auto;height:auto;display:flex;flex-direction:column;gap:12px;transform:none!important}.dc-orbit-world>svg,.dc-orbit-tools button{display:none}.dc-party-center,.diwan-content-map .dc-role-card,.dc-no-role{position:static;width:100%;height:auto;min-height:105px}.dc-party-center{order:-1}.dc-role-card{order:1}.dc-types button{font-size:13px}.dc-form input[type=date]{max-width:145px}.dc-calendar-scroll{padding:8px}}

.dc-people-shell{display:block}.dc-people-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:none;border-inline-end:0;border-bottom:1px solid #dce7f0;padding:14px 20px}.dc-role-groups{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap;margin:0}.dc-people-list .dc-form{grid-column:1/-1;width:auto;padding:10px 0;flex-wrap:nowrap}.dc-people-list .dc-scope{grid-column:1/-1;margin:0;padding:0}.dc-party{margin:0;width:100%;padding:10px!important}.dc-people-list .dc-pager{grid-column:1/-1;padding:6px 0}.dc-orbit-world{margin-inline:auto}.dc-all-archive{margin:14px 20px}.dc-calendar th:first-child{direction:ltr}@media(max-width:700px){.dc-people-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.dc-people-list .dc-form,.dc-people-list .dc-scope,.dc-people-list .dc-pager{width:auto}.dc-party{width:100%}}

.dc-collection-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;padding:20px;background:#f7fafc;border-top:1px solid #dde8f1}.dc-group-card{display:grid;grid-template-columns:1fr auto;gap:12px;text-align:start;padding:16px!important;align-items:center}.dc-group-card strong{font-size:14px;line-height:1.6}.dc-group-card b{font-size:22px;color:#356c95;font-weight:650}.dc-count-track{display:block;height:5px;background:#e5edf4;grid-column:1/-1;border-radius:4px;overflow:hidden}.dc-count-track span{display:block;height:100%;background:#6599bd;border-radius:4px}.dc-collection-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px 0}.dc-collection-heading h3{font-size:18px;margin:0}.dc-collection-heading>a{font-size:13px;font-weight:650;white-space:nowrap}.dc-results details{grid-column:1/-1;font-size:13px;color:#5e7e93}.dc-results details p{line-height:1.9}.dc-results summary{cursor:pointer}@media(max-width:600px){.dc-collection-groups{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}.dc-group-card{padding:10px!important;gap:8px}.dc-group-card strong{font-size:12px}.dc-group-card b{font-size:18px}.dc-collection-heading{padding-inline:14px}.dc-collection-heading>a{white-space:normal}}

.dc-thread-shell{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);border-block:1px solid #dce7ef;background:#fafcfe}.dc-thread-chart{padding:12px 20px}.dc-thread-chart svg{display:block;width:100%;max-height:360px}.dc-thread-number{font:650 32px system-ui,sans-serif;fill:#32526c}.dc-thread-choices{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}.dc-thread-choices button{font-size:12px;padding:8px}.dc-neighbours{padding:18px;border-inline-start:1px solid #dae5ee;display:grid;align-content:start;gap:7px}.dc-neighbours h3{font-size:14px;color:#4d7088;margin:0 0 8px}.dc-neighbour{display:grid;grid-template-columns:1fr auto;gap:7px;text-align:start;width:100%;padding:10px 12px!important}.dc-neighbour strong{font-size:12px;line-height:1.5;font-weight:550}.dc-neighbour b{font-size:17px;color:#57799a}.dc-neighbour .dc-count-track{height:3px}.dc-thread-shell+.dc-scope{margin-top:10px}.discovery-canvas .dc-form select{max-width:400px}@media(max-width:700px){.dc-thread-shell{grid-template-columns:1fr}.dc-neighbours{border-inline-start:0;border-top:1px solid #dae5ee}.discovery-canvas .dc-form select{max-width:80vw}.dc-thread-number{font-size:28px}}

.dc-thread-titles{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}.dc-thread-titles>div{display:grid;grid-template-columns:1fr auto;gap:12px;border-top:3px solid #6695b8;padding:12px;background:#f2f7fb;border-radius:7px}.dc-thread-titles>div+div{border-color:#9b88ba;background:#f5f2fa}.dc-thread-titles strong{font-size:13px;line-height:1.6;font-weight:600}.dc-thread-titles b{font-size:22px;color:#526f87}

.dc-orbit-viewport{height:600px}.dc-orbit-world{height:580px}.dc-party-center{top:180px;height:220px;padding:18px;gap:8px}.diwan-content-map .dc-role-card{height:135px}.dc-no-role{top:455px}@media(max-width:600px){.dc-orbit-viewport,.dc-orbit-world{height:auto}.dc-party-center{height:auto;min-height:170px}.diwan-content-map .dc-role-card{height:auto}}

.dc-claim{border-top:1px solid #dce7ee;margin-top:16px;padding-top:14px}.dc-claim>strong{font-size:12px;color:#6f7f91}

.dc-role-card small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.dc-empty-party{padding:28px 32px;color:#456a82}.dc-empty-party h3{font-size:22px;line-height:1.6;color:#244e68}.dc-empty-party p{line-height:1.9}.dc-empty-party a{display:inline-block;background:#edf5fb;padding:10px 16px;border-radius:8px}.dc-orbit-stage.is-compact .dc-orbit-world{width:900px;height:390px}.dc-orbit-stage.is-compact .dc-orbit-viewport{height:410px}.dc-orbit-stage.is-compact .dc-party-center{left:60px;top:80px}.dc-orbit-stage.is-single .dc-orbit-world{height:300px}.dc-orbit-stage.is-single .dc-orbit-viewport{height:320px}.dc-orbit-stage.is-single .dc-party-center{top:40px}.diwan-content-map .dc-month{height:60px;gap:4px;padding:6px}.dc-month strong{line-height:1.2}.dc-month small{line-height:1.2}@media(max-width:600px){.dc-orbit-stage.is-compact .dc-orbit-world{width:auto;height:auto}.dc-orbit-stage.is-compact .dc-orbit-viewport,.dc-orbit-stage.is-single .dc-orbit-world,.dc-orbit-stage.is-single .dc-orbit-viewport{height:auto}}

/* Report priorities: precise score positions, readable context and native links. */
.rc-intro{padding:20px 24px 8px}.rc-intro h3{margin:0 0 6px;font-size:21px;color:#20465d}.rc-intro p{margin:0;line-height:1.8;color:#607587}.rc-phases,.rc-view-switch,.rc-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 24px}.rc-phases button,.rc-view-switch button,.rc-filters button,.rc-neighbours button{border:1px solid #d4e0e8;border-radius:8px;background:#fff;color:#315770;padding:9px 13px;font:inherit;cursor:pointer}.rc-phases button.active,.rc-view-switch button.active{background:#e9f1fb;border-color:#6a95c2;color:#245986}.rc-phases{border-bottom:1px solid #e5ebf1}.rc-filters label{display:flex;gap:8px;align-items:center;color:#526f83}.rc-filters input,.rc-filters select{min-height:40px;border:1px solid #ccdbe5;border-radius:7px;padding:7px 10px;font:inherit;background:#fff;color:#24485e}.rc-filters input{flex:1;min-width:180px}.rc-view-switch span{margin-inline-start:auto;color:#647c8f;font-size:13px}.rc-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,1fr);gap:0;border-top:1px solid #dde7ee}.rc-visual{min-width:0;background:#fcfdff}.rc-chart-scroll{overflow-x:auto;direction:ltr}.rc-landscape{display:block;width:100%;min-width:600px;height:auto}.rc-axis text{font:13px system-ui,sans-serif;fill:#527188}.rc-axis path,.rc-axis line{stroke:#a6b9c6}.rc-axis-title{font:14px system-ui,sans-serif;fill:#355e77;direction:ltr}.rc-point{cursor:pointer;outline:none}.rc-point circle{stroke:#fff;stroke-width:3px}.rc-point text{font:bold 13px system-ui,sans-serif;fill:#fff;direction:ltr;pointer-events:none}.rc-point.selected circle,.rc-point:focus circle{stroke:#133e5a;stroke-width:4px}.rc-chart-note,.rc-unplaced{font-size:12px;line-height:1.8;color:#60798b;margin:8px 22px}.rc-report-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px;max-height:340px;overflow:auto}.rc-report{display:flex;flex-direction:column;gap:6px;text-align:start;padding:12px;background:#fff;border:1px solid #dae4ed;border-radius:8px;color:#294f68;cursor:pointer;font:inherit}.rc-report strong{line-height:1.7;font-size:14px}.rc-report small{font-size:11px;color:#617c90}.rc-report.selected{background:#edf4fc;border-color:#6e9bc6}.rc-detail{padding:20px 22px;border-inline-start:1px solid #dce6ee;background:#fff;max-height:850px;overflow:auto;scroll-margin-top:110px}.rc-detail h3{font-size:21px;line-height:1.7;margin:10px 0;color:#214b65}.rc-detail>p{line-height:1.8;color:#506e82;font-size:14px}.rc-detail>a{display:inline-block;padding:8px 0;color:#276d9f;font-weight:700}.rc-detail>small{color:#647f92}.rc-revision{font-size:11px!important}.rc-neighbours{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:15px}.rc-neighbours bdi{font-size:12px;color:#6d8392;direction:ltr}.rc-neighbours button:disabled{opacity:.4;cursor:default}.rc-scores{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-top:18px}.rc-scores button{border:0;border-radius:6px;padding:9px 3px;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;font:inherit}.rc-scores small{font-size:10px;line-height:1.5;min-height:30px;display:flex;align-items:center;text-align:center}.rc-scores bdi{font-size:20px;direction:ltr;font-weight:700}.rc-score-reason{min-height:70px;border-bottom:1px solid #e0e8ee;padding:12px 0;font-size:12px;color:#60788a;line-height:1.8}.rc-score-reason p{margin:4px 0;direction:auto}.rc-context,.rc-support,.rc-authorities{border-bottom:1px solid #e1e8ee;padding:12px 0;color:#375f78;font-size:13px}.rc-detail summary{cursor:pointer;font-weight:700}.rc-detail details p{line-height:1.9;white-space:pre-line;font-size:13px;color:#577488}.rc-detail article{padding:12px 0;border-bottom:1px solid #edf1f5}.rc-detail article:last-child{border:0}.rc-detail article a{font-weight:600;line-height:1.8}.rc-detail article small{display:block;margin-top:5px;color:#718495}.rc-detail article details{margin-top:6px}.rc-detail article details summary{font-size:11px;font-weight:400}.rc-matrix-scroll{overflow:auto;max-height:800px}.rc-matrix{border-collapse:separate;border-spacing:4px;table-layout:fixed;width:900px;font-size:12px}.rc-matrix th{width:86px;white-space:normal!important;word-break:normal!important;font-weight:600;line-height:1.6;background:#f4f7fa;padding:9px}.rc-matrix thead th{position:sticky;top:0;z-index:2}.rc-matrix th:first-child{width:280px;position:sticky;inset-inline-start:0;z-index:1;text-align:start}.rc-matrix thead th:first-child{z-index:3}.rc-matrix th button{background:none;border:0;color:#2b5a79;font:inherit;text-align:start;cursor:pointer;line-height:1.7;padding:0}.rc-matrix th button.selected{font-weight:800}.rc-matrix td{padding:0}.rc-matrix td button{border:0;width:100%;min-height:45px;border-radius:5px;font-size:16px;cursor:pointer}.rc-empty{padding:30px}.rc-phases button:focus-visible,.rc-report:focus-visible,.rc-scores button:focus-visible,.rc-view-switch button:focus-visible{outline:3px solid #416f9a;outline-offset:2px}@media(max-width:1050px){.rc-grid{grid-template-columns:minmax(0,1fr)}.rc-detail{border-inline-start:0;border-top:1px solid #dce6ee;max-height:none}.rc-report-list{max-height:250px}.rc-matrix-scroll{max-height:500px}}@media(max-width:600px){.rc-intro{padding:16px}.rc-intro h3{font-size:18px}.rc-phases,.rc-filters,.rc-view-switch{padding:10px 16px}.rc-phases button{font-size:12px}.rc-filters label{width:100%;flex-wrap:wrap}.rc-filters select{max-width:100%;width:100%}.rc-report-list{grid-template-columns:1fr}.rc-detail{padding:18px 16px}.rc-detail h3{font-size:19px}.rc-view-switch span{width:100%;margin:4px 0}.rc-scores small{font-size:9px}.rc-scores bdi{font-size:18px}}

.rc-point-leader{fill:none;stroke:#7494ac;stroke-width:1.2}.rc-point.selected rect,.rc-point:focus rect{stroke:#173f5c;stroke-width:2px}.rc-point circle{stroke-width:1.5px}.rc-point.selected circle,.rc-point:focus circle{stroke-width:2px}
