/* Source-specific exhibits. Deliberate typesetting, readable sizes, no decorative answer cues. */
dialog.paper{background:#f5f2ea;color:#202c30;border:1px solid #b7c0bb;max-width:1020px;width:calc(100% - 32px);padding:34px;box-shadow:0 25px 100px #0009}dialog.paper>.eyebrow{color:#526562}dialog.paper>h2{max-width:90%;font-size:clamp(27px,4vw,42px);margin:12px 0 10px;line-height:1.12}dialog.paper>.muted{font-size:16px;color:#53615e;line-height:1.55;margin:0 0 26px}dialog.paper .close{background:#ece9df;border-color:#b8c1ba;color:#203531}dialog.paper .footer-action{position:sticky;bottom:-34px;z-index:3;padding:18px 0 5px;border-top:1px solid #b9c2b9;background:#f5f2eaf5;backdrop-filter:blur(12px)}dialog.paper .footer-action button{min-height:44px;font-size:16px}dialog.paper #present-exhibit{background:#173b31;color:#fff8e6;border-color:#173b31}dialog.paper #pin-note{background:#e7eadf;color:#243c34}dialog.paper button:focus-visible{outline:3px solid #b9713d;outline-offset:3px}
.source-record{--source-accent:#31544a;--source-tint:#e6ebe4;background:#fffef9;border:1px solid #ccd0c6;box-shadow:0 8px 28px #1b342b0d;margin-bottom:26px}.record-letterhead{padding:19px 22px;border-top:5px solid var(--source-accent);border-bottom:1px solid #cbd3ca;background:var(--source-tint);display:flex;gap:12px;justify-content:space-between;align-items:center;font:700 12px/1.45 system-ui;letter-spacing:1.15px}.record-letterhead span:last-child{font-weight:500;letter-spacing:.6px;text-align:right}.record-prose{padding:8px 24px 16px}.record-paragraph{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;align-items:start;margin:18px 0}.paragraph-number{font:500 11px/1.5 ui-monospace,monospace;color:#60756f;border-top:1px solid #acb8af;padding-top:5px;margin-top:6px}.record-prose p{font:18px/1.8 Georgia,'Times New Roman',serif;color:#233531;white-space:pre-line;margin:0!important}.record-prose strong{font-weight:bold;color:#18352e}.record-end{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #d4d9ce;margin:0 22px;padding:14px 0;font:11px/1.4 ui-monospace,monospace;color:#5d7068;letter-spacing:1px}.source-technical,.source-operations{--source-accent:#405972;--source-tint:#e8edf1}.source-transcript,.source-statement{--source-accent:#756142;--source-tint:#efe9dd}.source-examiner,.source-custody{--source-accent:#663f43;--source-tint:#f0e7e5}.source-ledger,.source-bank,.source-registry{--source-accent:#23574d;--source-tint:#e2eee7}.source-programme{--source-accent:#79603b;--source-tint:#efe9dc}.source-worksheet{--source-accent:#526569;--source-tint:#e5ebeb}.source-calendar{--source-accent:#705047;--source-tint:#f0e8df}
.source-transcript .record-prose p,.source-technical .record-prose p,.source-operations .record-prose p,.source-bank .record-prose p,.source-ledger .record-prose p{font-family:system-ui,sans-serif;font-size:17px;line-height:1.75}.source-programme .record-prose>.record-paragraph:first-child{display:block;text-align:center;padding:18px 10px 24px;border-bottom:1px solid #cec2a7}.source-programme .record-prose>.record-paragraph:first-child p{font-size:23px;line-height:1.8}.source-programme .record-prose>.record-paragraph:first-child .paragraph-number{display:none}.source-calendar .record-paragraph{background:#f6f1e7;padding:18px;border-left:3px solid #896b51}.source-calendar .record-prose{padding:12px}
.record-table{padding:0 22px 22px;overflow-x:auto}.source-record table{border-collapse:collapse;width:100%;font:15px/1.5 system-ui;min-width:400px}.source-record table thead{background:var(--source-accent);color:#fffef6}.source-record table th,.source-record table td{padding:13px 12px;border:1px solid #cbd3cb;text-align:left;vertical-align:top;white-space:normal}.source-record table tbody th{font-weight:650;color:#233a32;background:#f1f3eb}.source-record table tbody tr:nth-child(even) td{background:#f4f5f0}.source-record table tbody tr{cursor:pointer;outline-offset:-3px}.source-record table tbody tr.marked td,.source-record table tbody tr.marked th{background:#fff0c1!important;box-shadow:inset 0 -2px #c89836}.row-note-tools{background:#fff5d6;border:1px solid #d4b66c;color:#4e4020;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 16px;margin:12px 0 22px;font-size:14px}.row-note-tools[hidden]{display:none}.row-note-tools button{background:#3c4a39;color:#fff;min-height:42px;font-size:14px}
.evidence-figure{margin:0;background:#eeeae0}.plate-scroll{overflow:auto;overscroll-behavior:contain;max-height:70vh}.evidence-figure img.exhibit-image{display:block;max-height:none!important;object-fit:contain;width:100%;height:auto;margin:0;border-radius:0;cursor:zoom-in}.plate-scroll.enlarged img{width:1400px;max-width:none!important;cursor:zoom-out}.evidence-figure figcaption{background:#f1efe7;color:#4a6057;font:13px/1.55 system-ui;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.plate-zoom{background:#fffdf5!important;color:#263f35!important;border-color:#acb9ab!important;white-space:nowrap;font-size:13px!important;padding:8px 12px!important;min-height:40px}.plate-zoom[aria-expanded=true]{background:#e1ead9!important}
.source-message{--source-accent:#24464b;--source-tint:#e2eae9}.message-record{padding:24px;background:#f4f6f4;max-width:660px;margin:0 auto}.message-record>header{display:flex;align-items:center;gap:12px;margin-bottom:24px;border-bottom:1px solid #cbd5d0;padding-bottom:16px}.message-avatar{background:#375c55;color:white;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font:600 20px Georgia;flex:none}.message-record header strong{display:block;font:700 17px/1.4 system-ui;color:#193a30}.message-record header span{display:block;font:13px/1.6 system-ui;color:#59706a}.message-record header time{margin-left:auto;font:13px ui-monospace,monospace;color:#435e54;white-space:nowrap}.message-bubble{background:#dcebdc;border:1px solid #bbcfba;border-radius:15px 15px 2px 15px;padding:16px 18px;margin:10px 0 16px auto;max-width:90%;box-shadow:0 3px 7px #163a2910}.message-bubble p{font:18px/1.65 system-ui;margin:0!important;color:#1d382d;white-space:pre-line}.message-attachment{margin:0 0 0 auto;width:min(100%,460px);border:1px solid #b8c5b9;background:white;border-radius:12px;overflow:hidden}.message-attachment img{width:100%;height:220px;display:block;object-fit:cover}.message-attachment figcaption{padding:13px 15px;background:#fffef8}.message-attachment figcaption b{display:block;color:#24493a;font:650 14px system-ui}.message-attachment figcaption span{display:block;margin-top:5px;color:#52695f;font:13px/1.5 system-ui}.attachment-details{border:1px solid #a9b9b1;margin:20px 22px;background:#f5f8f3}.attachment-details>summary{color:#214639;font:700 16px/1.6 system-ui;padding:14px 16px;cursor:pointer}.attachment-details>summary span{display:block;font:13px/1.5 system-ui;color:#5c7165;margin-left:17px}.attachment-details[open]>summary{border-bottom:1px solid #c2cdc3}.attachment-details .record-table{padding:16px}.attachment-details table{min-width:310px}
.fragment-pair{padding:28px 26px 12px;background:#e6e0d4;display:grid;gap:0;max-width:800px;margin:auto}.paper-fragment{padding:26px 30px;background:linear-gradient(120deg,#eee3c9,#f9f0dc 62%,#e9dcc1);color:#433b2b;box-shadow:0 3px 6px #443e251a}.paper-fragment span{font:11px/1.6 ui-monospace,monospace;letter-spacing:1px;color:#776a50}.paper-fragment p{white-space:pre-line;font:22px/1.8 Georgia;margin:18px 0}.fragment-0{clip-path:polygon(0 0,100% 0,100% 97%,94% 99%,88% 96%,80% 99%,70% 97%,61% 100%,52% 96%,43% 99%,34% 97%,25% 100%,17% 96%,9% 99%,0 97%);padding-bottom:35px}.fragment-1{margin-top:9px;clip-path:polygon(0 0,9% 2%,17% 0,25% 3%,34% 1%,43% 3%,52% 0,61% 4%,70% 1%,80% 3%,88% 0,94% 3%,100% 1%,100% 100%,0 100%);padding-top:28px}
.doc-card .record-cover{height:96px;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;background:#e5e9df;border-top:4px solid #6c8372;color:#2c4838}.record-cover strong{font:36px/1 Georgia;color:#63786c}.record-cover span{font:700 10px/1.6 system-ui;letter-spacing:1.2px;text-align:right;max-width:130px}.doc-card .record-cover.cover-message{background:#dfeae6;border-color:#427566}.doc-card .record-cover.cover-examiner,.doc-card .record-cover.cover-custody{background:#ece2df;border-color:#8b6260}.doc-card .record-cover.cover-technical,.doc-card .record-cover.cover-operations{background:#dde5ea;border-color:#596e83}.doc-card .record-cover.cover-transcript,.doc-card .record-cover.cover-letter,.doc-card .record-cover.cover-programme{background:#eee5d3;border-color:#998261}
.presentation .presentation-page{position:relative}.presentation .display-diagram{width:100%;height:100%;max-height:100%;object-fit:contain;display:block}.presentation-page .page-source-label{font:700 11px/1 system-ui;letter-spacing:1.3px;color:#6a7165;margin-bottom:13px}.presentation-page .display-source-text{font-family:Georgia,serif}.presentation-page[data-kind=attachment]{padding:12px 22px}.presentation-page .message-display{padding:15px;display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;width:100%;max-width:980px}.message-display>header{grid-column:1/-1;margin:0;padding:0 0 10px}.message-display .message-bubble{align-self:start;width:auto;margin:15px 0;font-size:22px}.message-display .message-attachment{grid-row:2;grid-column:2;width:100%}.message-display .message-attachment img{height:150px}.message-display .message-attachment figcaption{padding:7px 10px}.message-display .message-bubble p{font-size:22px;line-height:1.6}.presentation-page .fragment-pair{width:100%;padding:12px 20px;display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#e7e1d4}.presentation-page .paper-fragment{padding:18px 22px;clip-path:none;margin:0}.presentation-page .paper-fragment p{font-size:23px;line-height:1.6}.presentation-page .paper-fragment span{font-size:11px}.presentation-page .picture-caption{font:13px/1.45 system-ui;color:#576856;margin-top:8px}.record-shortcut{display:flex;gap:10px;flex-wrap:wrap;align-items:center;background:#e2e8d9;padding:10px 14px;margin-bottom:18px;font-size:14px}.record-shortcut a{color:#204734}.presentation .page-source-label{color:#526953}
@media(max-width:600px){dialog.paper{padding:20px 15px;width:calc(100% - 12px);max-height:calc(100dvh - 18px)}dialog.paper>.muted{font-size:14px}dialog.paper .footer-action{bottom:-20px;padding:12px 0 4px;gap:8px}.footer-action button{flex:1;min-width:140px}.record-letterhead{padding:14px;font-size:10px;letter-spacing:.8px;align-items:start}.record-letterhead span:last-child{max-width:45%}.record-prose{padding:4px 14px 12px}.record-paragraph{grid-template-columns:18px minmax(0,1fr);gap:8px;margin:18px 0}.record-prose p{font-size:18px;line-height:1.75}.paragraph-number{font-size:9px}.record-table{padding:0 12px 15px}.source-record table{font-size:15px}.source-record table th,.source-record table td{padding:11px 10px}.record-end{margin:0 14px;font-size:10px}.source-message .record-prose p{font:16px/1.75 system-ui}.message-record{padding:17px 14px}.message-record>header{gap:8px}.message-record header strong{font-size:16px}.message-record header span{font-size:12px}.message-record header time{font-size:11px}.message-avatar{width:34px;height:34px;font-size:17px}.message-bubble{max-width:96%;padding:14px}.message-bubble p{font-size:17px}.message-attachment img{height:180px}.attachment-details{margin:12px}.attachment-details .record-table{padding:8px}.attachment-details>summary{font-size:15px;padding:12px}.fragment-pair{padding:17px 12px}.paper-fragment{padding:22px 18px}.paper-fragment p{font-size:19px;line-height:1.65}.evidence-figure figcaption{font-size:12px;padding:12px;flex-wrap:wrap}.source-programme .record-prose>.record-paragraph:first-child p{font-size:20px}.source-calendar .record-paragraph{padding:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Shared-screen canvas is bounded by the actual viewport, including the host toolbar. */
@media(min-width:900px){
 .display-view #main{height:calc(100dvh - 70px);padding:16px 24px;display:flex;flex-direction:column;gap:12px;overflow:hidden}
 .display-view .display-toolbar{flex:none;margin:0;width:100%;max-width:none}
 .display-view .presentation{flex:1;min-height:0!important;max-height:100%;height:auto;overflow:hidden;padding:20px 26px;gap:12px}
 .presentation>header,.presentation>footer,.presentation>.presentation-controls{flex:none}
 .presentation h1{font-size:clamp(27px,2.9vw,44px);margin-bottom:8px}
 .presentation header p{font-size:clamp(14px,1.2vw,20px)}
 .presentation-page{flex:1;min-height:0;overflow:hidden}
 .presentation-page .display-diagram{width:100%;height:100%;max-height:100%;min-height:0;flex:1;object-fit:contain}
 .presentation-page .fragment-pair{padding:10px;gap:12px}
 .presentation-page .paper-fragment{padding:16px 20px}
 .presentation-page .paper-fragment p{font-size:clamp(19px,1.8vw,27px);line-height:1.5;margin:10px 0}
 .presentation-page .message-display{max-width:1100px;min-height:0;padding:6px}
 .presentation-page .message-display .message-attachment img{height:clamp(85px,15vh,170px)}
 .presentation-page .message-display .message-bubble p{font-size:clamp(20px,1.9vw,30px)}
 .presentation footer{font-size:clamp(13px,1.1vw,18px);padding-top:10px}
}
.table-scroll-hint{display:none;font:12px/1.5 system-ui!important;color:#5e7065!important;margin:10px 0!important}
@media(max-width:600px){.table-scroll-hint{display:block}}
