/* First-contact research: the Crown Intelligence dossier, built as live HTML (2046 file) */
#research-viewer .dossier-document { margin: 0 24px 24px; }
#research-viewer .dossier-document img { height: auto; }
.dossier-caption { margin: 12px 0 0; font: 11px/1.6 var(--k-font-mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #999; }
.dos-doc { container-type: inline-size; position: relative; overflow: hidden; background: #edeff0; color: #0e1114; padding: clamp(18px, 4cqi, 44px); font-family: Arial, Helvetica, sans-serif; }
.dos-doc[hidden] { display: none; }
.dos-doc::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>"); }
.dos-doc * { box-sizing: border-box; }
.dos-doc h3, .dos-doc h4, .dos-doc p, .dos-doc ul, .dos-doc dl, .dos-doc figure, .dos-doc dd { margin: 0; }
.dos-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 16px; border-bottom: 2px solid #0e1114; }
.dos-brand { display: flex; gap: 16px; align-items: center; }
.dos-brand img { width: 56px; height: auto; flex: none; }
.dos-brand b { display: block; font: 600 clamp(20px, 3.2cqi, 30px)/1 'Barlow Condensed', sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.dos-brand span, .dos-meta span, .dos-bar, .dos-foot, .dos-doc h4, .dos-doc dt, .dos-doc figcaption { font: 400 10.5px/1.5 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.dos-brand span { display: block; margin-top: 3px; color: #4a525a; }
.dos-meta { text-align: right; color: #2b3137; }
.dos-meta span { display: block; }
.dos-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #b9bfc4; color: #2b3137; }
.dos-chip { border: 1.5px solid #0e1114; padding: 3px 9px; color: #0e1114; }
.dos-title { margin: 26px 0 24px; font: 600 clamp(30px, 6.4cqi, 56px)/.96 'Barlow Condensed', sans-serif; text-transform: uppercase; color: #0e1114; letter-spacing: 0; }
.dos-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4cqi, 42px); }
.dos-body section { margin-bottom: 20px; }
.dos-doc h4 { font-weight: 500; font-size: 11.5px; padding-bottom: 7px; margin-bottom: 9px; border-bottom: 1px solid #b9bfc4; color: #0e1114; }
.dos-doc p { font-size: 15px; line-height: 1.55; color: #1a1f24; }
.dos-doc dl > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 10px; padding: 6px 0; border-bottom: 1px dotted #b9bfc4; align-items: baseline; }
.dos-doc dt { color: #4a525a; }
.dos-doc dd { font-size: 15px; font-weight: 600; }
.dos-doc ul { list-style: none; padding: 0; }
.dos-doc li { position: relative; padding: 3px 0 3px 20px; font-size: 15px; line-height: 1.5; }
.dos-doc li::before { content: ''; position: absolute; left: 1px; top: 11px; width: 6px; height: 6px; background: #0e1114; }
.dos-redact { height: 20px; width: 68%; margin: -6px 0 18px; background: #0e1114; }
.dos-offer { margin: 4px 0 14px; padding: 16px 18px; background: #0e1114; color: #edeff0; }
.dos-offer b { display: block; font: 600 clamp(24px, 4.4cqi, 36px)/1.15 'Barlow Condensed', sans-serif; letter-spacing: .04em; }
.dos-offer b:last-child { font: 400 11px/1.5 'IBM Plex Mono', monospace; letter-spacing: .12em; margin-top: 8px; }
.dos-note { padding-top: 12px; border-top: 1px solid #b9bfc4; }
.dos-note h4 { border: 0; padding: 0; margin-bottom: 4px; }
.dos-plates { display: flex; flex-direction: column; gap: 18px; align-content: start; }
.dos-plates figure img { display: block; width: 100%; height: auto; border: 1px solid #0e1114; background: #000; filter: contrast(1.05); }
.dos-doc figcaption { margin-top: 6px; color: #3a4249; font-size: 9.5px; letter-spacing: .08em; }
.dos-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-top: 22px; padding-top: 14px; border-top: 2px solid #0e1114; color: #2b3137; font-size: 9.5px; }
.dos-ref { display: block; text-align: right; flex: none; }
.dos-ref i { display: block; height: 28px; width: 120px; margin: 0 0 7px auto; background: repeating-linear-gradient(90deg, #0e1114 0 2px, transparent 2px 3px, #0e1114 3px 4px, transparent 4px 7px, #0e1114 7px 10px, transparent 10px 11px); }
.dos-stamp { position: absolute; right: clamp(18px, 6cqi, 70px); bottom: 74px; transform: rotate(-5deg); border: 2px solid #8f2a2a; color: #8f2a2a; padding: 6px 12px; text-align: center; font: 500 10.5px/1.4 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; opacity: .8; pointer-events: none; z-index: 2; }
@container (max-width: 640px) {
  .dos-grid { grid-template-columns: 1fr; }
  .dos-head { flex-direction: column; }
  .dos-meta { text-align: left; }
  .dos-brand img { width: 44px; }
  .dos-bar { flex-direction: column; align-items: flex-start; }
  .dos-foot { flex-direction: column; align-items: flex-start; }
  .dos-ref { text-align: left; } .dos-ref i { margin-left: 0; }
  .dos-stamp { position: static; display: inline-block; margin-top: 16px; transform: rotate(-3deg); }
  .dos-plates { margin-top: 6px; }
}
#research-viewer .dos-brand img { width: 56px !important; height: auto; }
@container (max-width: 640px) { #research-viewer .dos-brand img { width: 44px !important; } }
#research-viewer .dos-doc dl { display: block !important; grid-template-columns: none !important; }
#research-viewer .dos-doc dl > div { display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) !important; }
.dos-meta span { white-space: nowrap; }
