/* Reading and investigation tools share the site's graphite, fine-line system. */
.exp-dialog{width:min(1080px,calc(100vw - 32px));max-width:1080px;max-height:90dvh;padding:0;background:#111417;color:#e0e5e5;border:1px solid #41474c;border-radius:2px;overflow:auto;box-shadow:0 28px 100px #000a}
.exp-dialog::backdrop{background:#000b}.exp-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid #343a3f;background:#14181c;position:sticky;top:0;z-index:5}.exp-dialog-head h2{font-size:21px;margin:3px 0;font-weight:550}.exp-dialog-body{padding:24px 26px}.exp-dialog .eyebrow,.exp-section .eyebrow{font:10px/1.6 Consolas,monospace;letter-spacing:.14em;color:#a6adb2}.exp-dialog p{line-height:1.65}.exp-dialog small,.exp-muted{color:#a3abb1}.exp-dialog blockquote{white-space:pre-wrap;margin:8px 0;padding:10px 14px;border-left:2px solid #777f84;background:#ffffff04}.exp-dialog input,.exp-dialog select,.exp-dialog textarea{width:100%;max-width:100%;background:#0b0e10;border:1px solid #454b50;color:#e0e5e5;border-radius:1px;padding:10px;font:inherit;min-height:40px}.exp-dialog textarea{resize:vertical;min-height:86px}.exp-dialog input[type=checkbox],.exp-checks input{width:16px;min-height:16px;accent-color:#cba16c}.exp-dialog label{display:grid;gap:7px;color:#c6cdd2;font-size:13px}.exp-dialog label:has(input[type=checkbox]),.exp-checks label{display:flex;align-items:flex-start;gap:9px}.exp-dialog fieldset,.exp-editor fieldset{border:1px solid #343a3f;padding:16px;margin:0}.exp-dialog legend{padding:0 7px;color:#e0e5e5}.exp-form{display:grid;gap:16px;margin:20px 0}.exp-form>button{justify-self:start}.exp-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.exp-actions button,.exp-dialog button{font-size:12px;min-height:36px;white-space:normal}.exp-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.exp-setting-row{grid-template-columns:1fr 220px;align-items:center;margin:10px 0}.exp-list-row{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #33383c}.exp-list-row p{margin:5px 0}.exp-list-row small{display:block}.exp-ordered{padding-left:25px}.exp-ordered>li{padding:16px 0 18px 6px;border-bottom:1px solid #33383c}.exp-chapter{display:flex;justify-content:space-between;gap:15px;align-items:center}.exp-error{padding:14px 24px;margin:0;background:#40221d;color:#ffcabd;border-bottom:1px solid #925b47}.exp-empty{padding:22px 0;color:#a9b0b6}.exp-section{padding:26px 0;border-bottom:1px solid #33383c}.exp-section-head{display:flex;gap:25px;align-items:center;justify-content:space-between;margin-bottom:20px}.exp-section h2{font-size:25px;font-weight:550;line-height:1.3;margin:4px 0 10px}.exp-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border:1px solid #31383e;background:#31383e}.exp-story-card{background:#14181b;padding:22px;display:flex;flex-direction:column;min-width:0;gap:10px}.exp-story-card h3{margin:0}.exp-story-card h3 button{font-size:19px;font-weight:500;line-height:1.35;padding:0;border:0;background:none;text-align:left;color:#eef0f1}.exp-story-card p{color:#b4bdc3;margin:0;line-height:1.6}.exp-story-card small{color:#8f9ba3;margin-top:auto;padding-top:12px}.exp-reasons{display:flex;gap:7px;flex-wrap:wrap}.exp-reasons span{font:10px/1.5 Consolas,monospace;border-left:2px solid #8b795f;background:#ac917110;padding:4px 7px;color:#c4b39a}.exp-overview button{margin:3px}.exp-case-tools{padding:18px 0;border-top:1px solid #343a3f}.exp-warning,.exp-changes{padding:18px;border:1px solid #8d704c;background:#b88a4e0b;margin:14px 0}.exp-warning strong,.exp-changes strong{color:#d2b58d}.exp-warning button{margin:4px}.exp-summary{border-left:2px solid #9da7ad;padding:5px 18px;margin:20px 0}.exp-summary h3{font:11px Consolas,monospace;letter-spacing:.13em;text-transform:uppercase}.exp-summary p{white-space:pre-wrap;line-height:1.65}.exp-reading-tools{padding:12px 0}.exp-reading-tools>div{margin-bottom:10px}.exp-term{display:inline!important;padding:0!important;min-height:0!important;background:none!important;border:none!important;border-bottom:1px dotted #b6a488!important;border-radius:0!important;color:inherit!important;font:inherit!important;cursor:help}.exp-glossary dt{color:#d2b58d;font-weight:600;margin-top:18px}.exp-glossary dd{margin:6px 0;line-height:1.7}.exp-tool-nav{display:flex;flex-wrap:wrap;gap:5px;padding:0 0 20px;border-bottom:1px solid #343a3f;margin-bottom:22px}.exp-tool-nav [aria-pressed=true]{border-color:#b19a7c;color:#e3c49d;background:#b19a7c14}.exp-context{font:12px Consolas,monospace;color:#9ca6ad;margin-top:0}.exp-hypothesis,.exp-task,.exp-proposal,.exp-passage,.exp-testimony{padding:20px 0;border-bottom:1px solid #343a3f;overflow-wrap:anywhere}.exp-hypothesis>header{display:flex;gap:15px;justify-content:space-between;align-items:center}.exp-matrix{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#343a3f;border:1px solid #343a3f}.exp-matrix>section{padding:16px;background:#14181b;min-width:0}.exp-matrix h4{font-size:12px;text-transform:uppercase;letter-spacing:.07em;margin:0 0 16px}.exp-matrix article{border-top:1px solid #343a3f;padding:10px 0}.exp-matrix article p{white-space:pre-wrap}.exp-matrix article button{display:block;margin-top:12px}.exp-diff{display:grid;grid-template-columns:1fr 1fr;gap:20px}.exp-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.exp-state{font:11px Consolas,monospace;padding:12px;background:#c1ab8312;border:1px solid #756952;color:#d5c1a0}.exp-graph{border:1px solid #343a3f;background:repeating-linear-gradient(0deg,transparent,transparent 23px,#ffffff04 24px),repeating-linear-gradient(90deg,transparent,transparent 23px,#ffffff04 24px),#0d1114}.exp-graph svg{width:100%;max-height:440px;display:block}.exp-graph line{stroke:#505c66;stroke-width:1}.exp-graph circle{fill:#d0b28c;stroke:#0d1114;stroke-width:2}.exp-graph .exp-node-source{fill:#a6b4c0}.exp-graph .exp-node-place{fill:#7b9c94}.exp-graph text{fill:#c4cbd0;font:11px Consolas,monospace}.exp-graph [role=button]{cursor:pointer}.exp-graph [role=button]:focus circle{stroke:#fff;stroke-width:4}.exp-relations{padding:0;list-style:none}.exp-relations li{display:grid;grid-template-columns:1fr 1.4fr auto;gap:16px;border-bottom:1px solid #343a3f;padding:12px 0}.exp-relations span{color:#a8b4bc}.exp-image-stage{position:relative;margin:18px 0;touch-action:none;cursor:crosshair;user-select:none;border:1px solid #414a50;max-width:820px}.exp-image-stage img{display:block;width:100%;height:auto}.exp-image-stage svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.exp-image-stage rect{stroke:#f4dfbd;stroke-width:.25;fill:#d8a44b16}.exp-image-stage .exp-new-zone{stroke:#e4a251;stroke-dasharray:1 .6;fill:#d8a44b20}.exp-coordinates{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.exp-comparison-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.exp-comparator{display:grid;grid-template-columns:1fr 1fr;border:1px solid #414a50;position:relative;aspect-ratio:1.8;background:#080b0e;overflow:hidden}.exp-comparator figure{position:relative;margin:0;overflow:hidden;min-width:0;height:100%}.exp-comparator img{width:100%;height:100%;object-fit:contain;transform-origin:center}.exp-comparator figcaption{position:absolute;top:12px;left:12px;padding:3px 9px;background:#0b0e10d9;font:12px Consolas,monospace}.exp-comparator.is-overlay{display:block}.exp-comparator.is-overlay figure{position:absolute;inset:0}.exp-comparator.is-overlay figure:last-child{clip-path:inset(0 calc(100% - var(--reveal,50%)) 0 0)}.exp-comparator.is-overlay::after{content:"";position:absolute;inset:0 auto 0 var(--reveal,50%);border-left:1px solid #dec39a;pointer-events:none}.exp-audio-bar{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:90;background:#20262b;border:1px solid #858078;box-shadow:0 8px 32px #0008;padding:10px 16px;display:flex;align-items:center;gap:10px;max-width:95vw}.exp-audio-bar>span{max-width:35vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.exp-audio-bar button{font-size:11px;padding:7px 10px;min-height:34px}.exp-inbox{padding:20px;background:#14181b;border:1px solid #343a3f;margin-bottom:12px}.exp-inbox.is-unread{border-left:2px solid #c2a37a}.exp-inbox h3{margin:4px 0 12px}.exp-inbox>button{margin:4px 5px 4px 0}.exp-editor{border:1px solid #343a3f;padding:14px;margin:12px 0}.exp-editor>label,.exp-editor>fieldset{margin-top:16px}.exp-editor textarea{width:100%;min-height:80px}
@media(max-width:900px){.exp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exp-matrix{grid-template-columns:1fr}.exp-comparison-controls{grid-template-columns:repeat(2,1fr)}.exp-dialog-head{position:static}}
@media(max-width:600px){.exp-dialog{width:calc(100vw - 16px);max-height:95dvh}.exp-dialog-head,.exp-dialog-body{padding:18px 16px}.exp-dialog-head h2{font-size:18px}.exp-dialog-head{gap:10px}.exp-dialog-head .eyebrow{font-size:8px}.exp-checks{grid-template-columns:repeat(2,minmax(0,1fr))}.exp-card-grid,.exp-task-list,.exp-diff{grid-template-columns:1fr}.exp-section-head,.exp-list-row,.exp-chapter{flex-direction:column;align-items:flex-start}.exp-section h2{font-size:22px}.exp-setting-row{grid-template-columns:1fr}.exp-coordinates{grid-template-columns:repeat(2,1fr)}.exp-relations li{grid-template-columns:1fr}.exp-tool-nav{gap:6px}.exp-tool-nav button{flex:1 1 45%;min-height:42px}.exp-comparison-controls{grid-template-columns:1fr 1fr}.exp-comparator{aspect-ratio:1.3}.exp-audio-bar{bottom:8px;width:calc(100vw - 20px);padding:8px;gap:5px}.exp-audio-bar>span{flex:1;max-width:33vw}.exp-hypothesis>header{align-items:flex-start;flex-direction:column}.exp-graph text{font-size:13px}}
