.document-investigation{max-width:1600px;padding-top:18px}.document-case-top{display:flex;align-items:start;justify-content:space-between;gap:24px;margin-bottom:14px}.document-case-question{max-width:1050px;font:700 1.35rem/1.35 Akrobat,'Arial Narrow',sans-serif;color:#e3d4b8;margin:0}.document-literature{flex:0 0 auto;font-size:.8rem}.document-literature[open]{flex-basis:100%;max-width:900px}.document-case-top:has(.document-literature[open]){flex-wrap:wrap}.document-literature p{font-size:1rem;line-height:1.85}.document-past{font-size:.8rem;margin:0 0 12px}.document-past p{max-width:850px;line-height:1.75}.document-past strong{display:block;margin-top:10px}.document-table-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:start}.document-table-main,.document-team-notes{min-width:0}.document-related{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.document-source-link{background:none;border:0;border-bottom:1px solid #9a825c99;color:#d7b77e;font:inherit;font-size:.83rem;min-height:36px;padding:4px 0;text-align:left}.document-papers{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.document-paper{padding:16px;box-shadow:0 8px 24px #0003}.document-paper select{font-size:.9rem;margin:0 0 8px;min-height:44px}.document-paper-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;color:#725329}.document-paper-tools small{font-size:.7rem}.document-paper-tools .document-zoom{float:none;margin:0;font-size:.9rem;min-height:36px;min-width:40px}.document-paper .chapter-document-text{height:clamp(330px,calc(100svh - 260px),680px);max-height:none;font-size:1rem;overflow-y:auto;overflow-x:hidden;padding-right:5px;scrollbar-width:thin;scrollbar-color:#a88754 #e7decb}.document-paper .chapter-document-text[data-zoom=large]{font-size:1.2rem}.document-paper .document-context{font-size:.8em;line-height:1.6;margin:4px 7px 14px}.document-paper .chapter-fragment{font:inherit;line-height:1.75;padding:8px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.document-paper .document-section{margin-top:12px;line-height:1.45}.document-paper .document-letterhead{font-size:.76em;letter-spacing:.08em;line-height:1.6}.document-paper .document-date{font-size:.9em}.document-paper [data-team-marked=true]{background:#ddcba8;box-shadow:inset 2px 0 #9e7536}.document-paper [data-in-package=true]{border-right:3px solid #76531e}.document-paper [aria-pressed=true]{background:#d5bd91;border-color:#9e7536}.document-mobile-navigation{display:none}.document-team-notes{position:sticky;top:86px;font-size:.88rem}.document-quote-focus:empty,.document-observations:empty{display:none}.document-quote-focus{padding:12px 0 18px;border-bottom:1px solid #9a825c55;margin-bottom:16px}.document-quote-focus small{font-size:.75rem;color:#d7b77e}.document-quote-focus blockquote{font-size:.88rem;line-height:1.7;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.document-quote-focus button{font-size:.78rem;min-height:40px}.document-official-packet{margin:0 0 18px}.document-official-packet h2{font-size:1.3rem;margin:0 0 10px}.document-evidence{display:flex;align-items:start;gap:6px;border-bottom:1px solid #9a825c44;padding:8px 0}.document-evidence-text{background:none;border:0;text-align:left;color:#e7decb;font:inherit;font-size:.8rem;line-height:1.6;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.document-evidence>.quiet-action{color:#d7b77e;min-width:32px;min-height:36px;font-size:1.1rem;padding:0}.document-observation{margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #9a825c44}.document-observation p{margin:0 0 6px;font-size:.88rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.document-observation small{display:block;color:#b4b8b7;font-size:.68rem;line-height:1.6}.document-observation .quiet-action{font-size:.7rem;color:#d7b77e;padding:4px 0;min-height:30px}.document-observation-form label{font-size:.85rem}.document-observation-form textarea{min-height:80px;font-size:.9rem}.document-observation-form button{font-size:.8rem;min-height:40px}.document-official-version{margin:24px 0 0;border-top:1px solid #9a825c66;padding-top:20px}.document-official-version>label{font:400 1rem/1.65 Roboto,sans-serif;color:#e3d4b8}.document-official-version textarea{font:400 1rem/1.75 Roboto,sans-serif;min-height:150px}.document-official-version textarea[readonly]{opacity:.9}.document-final-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.document-final-actions button{font-size:.85rem}.document-version-status{font-size:.85rem;color:#d7b77e;margin:0}.document-submission{font-size:.85rem;margin-top:14px}.document-submission p{line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.document-ending{max-width:900px;margin:26px 0 0;padding-top:20px;border-top:1px solid #9a825c66}.document-ending p{font-size:1rem;line-height:1.9}.document-ending>a{display:inline-block;min-height:44px;padding:10px 0}.document-save-error{padding:10px 0;color:#efd2a0;font-size:.85rem}.document-save-error button{font-size:inherit;color:inherit}.document-investigation [hidden]{display:none!important}
@media(min-width:1650px){.document-table-layout{grid-template-columns:minmax(0,1fr) 300px}.document-paper{padding:20px}.document-case-question{font-size:1.5rem}}
@media(max-width:1000px){.document-table-layout{grid-template-columns:minmax(0,1fr)}.document-team-notes{position:static;display:grid;grid-template-columns:1fr 1fr;gap:18px}.document-team-notes .document-quote-focus:empty{display:none}.document-paper .chapter-document-text{height:60svh}}
@media(max-width:760px){.document-investigation{padding:14px 16px 30px}.document-case-top{gap:8px;margin-bottom:8px;flex-wrap:wrap}.document-case-question{font-size:1.15rem;line-height:1.35}.document-literature{font-size:.76rem}.document-literature summary{min-height:32px}.document-past{margin:0 0 6px;font-size:.75rem}.document-past summary{min-height:32px}.document-related{gap:14px;margin-bottom:4px}.document-source-link{font-size:.77rem;min-height:40px}.document-papers{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;scrollbar-width:thin;scrollbar-color:#a88754 #172331;position:relative;padding-bottom:10px;align-items:stretch}.document-paper{flex:0 0 calc(100% - 18px);min-width:0;scroll-snap-align:start;padding:12px}.document-paper select{font-size:.87rem;padding:8px;margin-bottom:4px}.document-paper .chapter-document-text{height:56svh;min-height:300px;font-size:.97rem}.document-paper .chapter-document-text[data-zoom=large]{font-size:1.17rem}.document-paper .document-context{font-size:.8em;margin-bottom:10px}.document-paper .chapter-fragment{padding:7px 5px}.document-mobile-navigation{display:flex;justify-content:space-between;gap:16px}.document-mobile-navigation button{font-size:.73rem;min-height:36px;padding:2px 0;color:#d7b77e}.document-team-notes{display:block}.document-official-version{margin-top:18px;padding-top:16px}.document-official-version>label{font-size:.95rem}.document-official-version textarea{font-size:1rem}.document-final-actions{gap:10px}.document-observation-form textarea{min-height:74px}.document-team-notes{margin-top:6px}.document-quote-focus blockquote{max-height:170px}}
.admin-document-evidence{margin:12px 0}.admin-document-evidence blockquote{white-space:pre-wrap;margin:8px 0;padding:8px 14px;border-left:2px solid #a88754;font-size:.9rem;line-height:1.7}.admin-document-review{max-width:750px;margin:14px 0}.admin-document-review label{display:flex;gap:10px;align-items:center;min-height:36px}.admin-document-review input[type=checkbox]{width:auto;margin:0;min-height:20px}.admin-document-review textarea{font-size:.9rem}.admin-document-review small{display:block;margin-bottom:10px;color:#b4b8b7}
.document-table-layout[data-preview=true]{grid-template-columns:minmax(0,1fr)}.document-preview-label{display:block;color:#d7b77e;font-size:.75rem;margin-bottom:12px}.document-save-error details p{white-space:pre-wrap;line-height:1.7;max-width:850px}

/* Visual polish: scoped to the existing chapter desk; no game or admin rules. */
.document-investigation{padding-top:10px}.document-case-top{position:relative;display:flex;align-items:start;justify-content:flex-start;flex-wrap:wrap;gap:4px 24px;margin:0 0 8px;min-height:32px}.document-case-top>details{flex:0 1 auto;font:300 .78rem/1.6 Roboto,sans-serif;margin:0}.document-case-top summary{min-height:32px;color:#c4b99f;list-style:none;gap:7px}.document-case-top summary::-webkit-details-marker{display:none}.document-case-top summary::after{content:'+';font-size:.9rem;color:#ad8c52}.document-case-top details[open]>summary::after{content:'−'}.document-case-top>details[open]{flex-basis:100%;max-width:960px;padding-bottom:10px}.document-case-top .document-case-question{font:300 1rem/1.7 Roboto,sans-serif;margin:6px 0;color:#e3d4b8;max-width:940px}.document-case-top:has(.document-literature[open]){flex-wrap:wrap}.document-case-top .document-literature p,.document-case-top .document-past p{font-size:.96rem;line-height:1.8}.document-case-top .document-past strong{font-size:.85rem}
.document-table-layout{grid-template-columns:minmax(0,1fr) 216px;gap:18px 24px}.document-table-main{grid-column:1;grid-row:1}.document-team-notes{grid-column:2;grid-row:1/span 3;position:sticky;top:78px;margin-top:40px;border-top:1px solid #a8875466;border-bottom:1px solid #a8875444;max-height:calc(100svh - 102px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#80683f transparent}.document-related{min-height:32px;margin-bottom:8px;gap:24px}.document-source-link{font-size:.78rem;min-height:32px;border-bottom-color:#a8875466}.document-papers{gap:20px}.document-paper{position:relative;padding:14px 19px 18px;background:linear-gradient(90deg,#e9dfca 0%,#f0e7d5 4%,#ece2cf 100%);border:1px solid #c0ab83;box-shadow:0 3px 0 #17212b,0 12px 24px #0003}.document-paper select{font:300 .85rem/1.4 Roboto,sans-serif;min-height:36px;margin:0;padding:4px 22px 7px 0;border:0;border-bottom:1px solid #a8875466;background:transparent;border-radius:0;color:#66502e}.document-paper-tools{margin:5px 0 8px;min-height:30px}.document-paper-tools small{font-size:.64rem;letter-spacing:.06em;color:#847251}.document-paper-tools .document-zoom{font:300 .85rem Roboto,sans-serif;min-height:30px;min-width:36px;border-color:#ac916040;background:transparent}.document-paper .chapter-document-text{height:clamp(380px,calc(100svh - 218px),760px);font:400 1rem/1.72 Georgia,'Times New Roman',serif;scrollbar-color:#b09a71 transparent}.document-paper .chapter-document-text[data-zoom=large]{font-size:1.2rem}.document-paper .document-context{font:300 .73rem/1.55 Roboto,sans-serif;color:#776b55;margin:2px 6px 18px;padding-bottom:12px;border-bottom:1px solid #b5a18144}.document-paper .chapter-fragment{font:inherit;line-height:1.72;padding:7px 8px;border-radius:0;color:#292820}.document-paper .document-section{margin-top:16px;line-height:1.4}.document-paper .document-section strong{font-weight:700}.document-paper .document-letterhead{font:400 .7rem/1.7 Georgia,serif;letter-spacing:.15em;text-align:center;margin-bottom:8px;color:#756042}.document-paper .document-line:has(.document-letterhead)+.document-line .document-section,.document-paper .document-line:first-child .document-section{text-align:center;font-size:1.08em;margin-top:8px;margin-bottom:12px}.document-paper .document-date{font-size:.87em;color:#756042}.document-paper .document-quotation{padding-left:14px;border-left-color:#ad8d53}.document-paper .chapter-fragment:hover{background:#ddcfb35c}.document-paper [data-team-marked=true]{background:#ddc99970;box-shadow:inset 2px 0 #a17f3e}.document-paper [aria-pressed=true]{background:#d8c19199;border-color:#b39762}.document-paper [data-in-package=true]{border-right-color:#8e7039}
.document-journal{font:300 .82rem/1.65 Roboto,sans-serif;scroll-margin-top:85px}.document-journal>summary{min-height:42px;font:700 1.1rem/1.3 Akrobat,'Arial Narrow',sans-serif;color:#d6c5a5;list-style:none;justify-content:space-between}.document-journal>summary::after{content:'+';font:300 1rem Roboto,sans-serif;color:#a88754}.document-journal[open]>summary::after{content:'−'}.document-journal>summary::-webkit-details-marker{display:none}.document-quote-focus{margin:0 0 12px;padding:7px 0 13px}.document-quote-focus small{font-size:.68rem}.document-quote-focus blockquote{font:italic .84rem/1.65 Georgia,serif;max-height:170px;margin:8px 0;color:#d7d0c1}.document-quote-focus button{font-size:.7rem;min-height:34px;padding:6px 9px}.document-official-packet h2{font:300 .68rem/1.5 Roboto,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin:8px 0;color:#ad9f83}.document-official-packet{margin-bottom:14px}.document-evidence{padding:6px 0}.document-evidence-text{font-size:.73rem;line-height:1.6;-webkit-line-clamp:2}.document-evidence>.quiet-action{min-width:25px;min-height:32px;font-size:.95rem}.document-observations{margin-top:6px}.document-observation{padding:10px 0;margin:0;border-bottom:1px solid #9a825c33}.document-observation p{font-size:.79rem;line-height:1.7;margin-bottom:5px}.document-observation small{font-size:.62rem;color:#a6aaab}.document-observation .quiet-action{font-size:.65rem;min-height:28px}.document-observation-form{margin:12px 0}.document-observation-form>label{font-size:0}.document-observation-form textarea{font:300 .8rem/1.65 Roboto,sans-serif;min-height:68px;margin:0 0 8px;padding:9px 10px;background:#122231;color:#e7decb;border:1px solid #a8875460}.document-observation-form textarea::placeholder{color:#a6a89e}.document-observation-form button{min-height:32px;padding:6px 12px;font-size:.72rem}
.document-official-version{grid-column:1;grid-row:2;margin:4px 0 0;padding:24px 28px;background:#e9dfca;border:1px solid #b8a27b;border-top:3px solid #ac8e53;box-shadow:0 8px 20px #0002;scroll-margin-top:80px;color:#2a2c27}.document-official-version>h2{font:400 1.3rem/1.4 Georgia,'Times New Roman',serif;letter-spacing:.015em;text-align:center;color:#302f27;margin:0 0 18px}.document-official-version>label{font:300 .83rem/1.65 Roboto,sans-serif;color:#746244}.document-official-version textarea{font:400 1rem/1.8 Georgia,'Times New Roman',serif;min-height:180px;margin:10px 0 18px;padding:12px 0;border:0;border-top:1px solid #a8875455;border-bottom:1px solid #a8875455;border-radius:0;background:transparent;color:#292820}.document-official-version textarea:focus{outline-offset:4px}.document-official-version textarea[readonly]{opacity:1}.document-final-actions button{font-size:.8rem}.document-version-status{color:#725329;font-size:.8rem}.document-submission{color:#594c35;font-size:.8rem}.document-ending{grid-column:1;grid-row:3;max-width:none;margin:8px 0 0}.document-journal-link{font-size:.72rem;text-decoration:none;color:#c9b58e;align-self:center;min-height:36px;display:inline-flex;align-items:center}.document-table-layout[data-preview=true] .document-table-main{grid-column:1}
@media(min-width:1650px){.document-table-layout{grid-template-columns:minmax(0,1fr) 228px}.document-paper{padding:18px 24px}.document-case-top .document-case-question{font-size:1rem}}
@media(min-width:761px) and (max-width:1000px){.document-table-layout{grid-template-columns:minmax(0,1fr)}.document-team-notes{grid-column:1;grid-row:2;position:static;margin:0;display:block;max-height:none}.document-official-version{grid-row:3}.document-ending{grid-row:4}}
@media(max-width:760px){.document-investigation{padding:5px 12px 26px}.document-case-top{min-height:28px;margin-bottom:2px;gap:0 17px}.document-case-top>details{font-size:.7rem}.document-case-top summary{min-height:30px}.document-case-top>details[open]{padding-bottom:8px}.document-case-top .document-case-question{font-size:.93rem;line-height:1.65}.document-case-top .document-literature p,.document-case-top .document-past p{font-size:.92rem}.document-related{min-height:32px;margin-bottom:0;gap:16px}.document-source-link{font-size:.73rem;min-height:34px}.document-mobile-navigation{min-height:32px;gap:8px;align-items:center}.document-mobile-navigation button,.document-journal-link{font:300 .67rem/1.4 Roboto,sans-serif;min-height:34px;padding:2px 0;white-space:nowrap}.document-papers{gap:10px;padding-bottom:8px}.document-paper{flex-basis:calc(100% - 12px);padding:10px 12px 13px}.document-paper select{font-size:.8rem;min-height:34px;padding-bottom:5px}.document-paper-tools{margin:3px 0 6px;min-height:29px}.document-paper .chapter-document-text{font-size:1rem;height:59svh;min-height:350px}.document-paper .chapter-document-text[data-zoom=large]{font-size:1.18rem}.document-paper .document-context{font-size:.7rem;margin:1px 4px 13px;padding-bottom:9px}.document-paper .chapter-fragment{padding:7px 4px;line-height:1.72}.document-paper .document-letterhead{font-size:.66rem;letter-spacing:.11em}.document-paper .document-line:has(.document-letterhead)+.document-line .document-section,.document-paper .document-line:first-child .document-section{font-size:1.03em}.document-table-layout{display:flex;flex-direction:column;gap:12px}.document-table-main{width:100%}.document-team-notes{position:static;width:100%;display:block;margin:0;max-height:none;overflow:visible}.document-journal{scroll-margin-top:112px}.document-journal>summary{min-height:42px;font-size:1.05rem}.document-journal[open]{padding-bottom:6px}.document-observation p{font-size:.88rem}.document-observation small{font-size:.68rem}.document-observation-form textarea{font-size:.94rem;min-height:74px}.document-quote-focus blockquote{font-size:.94rem}.document-evidence-text{font-size:.84rem}.document-quote-focus button,.document-observation-form button{font-size:.8rem;min-height:40px}.document-official-version{width:100%;padding:18px 17px;margin:0;scroll-margin-top:112px}.document-official-version>h2{font-size:1.15rem;margin-bottom:14px}.document-official-version>label{font-size:.8rem}.document-official-version textarea{font-size:1rem;min-height:180px}.document-ending{margin:0;width:100%}.document-preview-label{font-size:.7rem;margin-bottom:5px}}
