:root{font-family:system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif;color:#17243a;background:#f6f8fb}*{box-sizing:border-box}body{margin:0}header{background:#122a4a;color:white;padding:32px 0}.wrap{max-width:1000px;margin:auto;padding:0 20px}.brand{color:white;font-size:25px;font-weight:800;text-decoration:none}header p{color:#c4d3e6}main{padding-top:28px!important;min-height:75vh}.notice{padding:14px 18px;background:#edf3fb;border:1px solid #d5e1f1;border-radius:9px;margin-bottom:20px}form{display:flex;gap:9px;flex-wrap:wrap}input,select,button{font:inherit;padding:12px;border:1px solid #d3dbe5;border-radius:8px}input{flex:1;min-width:220px}button{background:#173f72;color:white;cursor:pointer;border:0}h2{font-size:21px;margin-top:32px}h2 span{color:#718099;font-size:15px}.card,article{background:white;border:1px solid #e0e6ef;border-radius:12px;padding:22px;margin:12px 0}.card a{font-size:19px;color:#143c70;font-weight:700;text-decoration:none}.meta{font-size:13px;color:#64748b;margin-bottom:8px}.card p{line-height:1.6}.hit{background:#f1f5fa;border-left:3px solid #4877a8;padding:10px;border-radius:4px;font-size:14px}.document{border-top:1px solid #e6ebf1;margin-top:20px}.page{border-bottom:1px solid #e6ebf1;padding:12px 0}.page summary{cursor:pointer;color:#143c70;font-weight:650}.bodytext{white-space:pre-wrap;line-height:1.8;padding:14px 0}#pages{margin:18px 0;display:flex;gap:10px;align-items:center}#back{color:#173f72}footer{padding-top:25px!important;padding-bottom:30px!important;color:#66758a;font-size:13px}@media(max-width:640px){form{flex-direction:column}input{width:100%}}

/* STEP14 PDF reader */
#pdfReader{margin-top:32px;border-top:2px solid #e0e6ef;padding-top:8px}.pdf-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0}.pdf-controls label{font-size:13px;color:#475569}.pdf-controls select{max-width:100%;flex:2;min-width:220px}.pdf-controls input{min-width:160px;flex:1}.pdf-controls a{color:#174478}.pdf-page{border:1px solid #e1e7ee;border-radius:10px;padding:18px;margin:14px 0;background:#fff}.pdf-page h3{font-size:14px;color:#64748b;margin:0 0 12px}.pdf-page-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:15px}#pdfHits{color:#475569}mark{background:#ffe48b;padding:0 2px}

/* STEP16 */
.step16-file-list{padding-left:1.5rem}.step16-file{padding:12px 0;border-bottom:1px solid #e2e8f0;line-height:1.5}.step16-file a{font-weight:600}.step16-file small{color:#64748b}.step16-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0}.step16-controls input{flex:1;min-width:170px}.step16-fulltext{font-size:16px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}.step16-text-segment{white-space:pre-wrap;margin:0;padding:0}.step16-text-segment:not(:last-child)::after{content:'\A\A';white-space:pre}.step16-seo-content{display:block;line-height:1.9;overflow-wrap:anywhere}mark{background:#ffe48b}


/* STEP17_DOCUMENT_ENHANCEMENT */
.step17-breadcrumb{font-size:.9rem;line-height:1.7;margin:0 0 1.1rem;overflow-wrap:anywhere}
.step17-breadcrumb a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.step17-meta{line-height:1.8;margin:.7rem 0 1rem}
.step17-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.2rem 0 1.5rem}
.step17-actions a,.step17-docnav a{display:inline-block;padding:.65rem 1rem;border:1px solid #b9c7d8;border-radius:8px;text-decoration:none;color:#17456d;background:#fff}
.step17-actions a:hover,.step17-docnav a:hover{background:#edf4fa}
.step17-search{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;background:#f2f5f9;border:1px solid #dce4ed;border-radius:10px;padding:1rem;margin:1rem 0 1.5rem}
.step17-search label{font-weight:600;width:100%}
.step17-search input{flex:1 1 190px;min-width:0;padding:.65rem;border:1px solid #aebccb;border-radius:7px}
.step17-search button{padding:.65rem .85rem;border-radius:7px;cursor:pointer}
.step17-search button:disabled{opacity:.45;cursor:not-allowed}
.step17-hitcount{font-size:.9rem;color:#42576c}
.step17-fulltext{line-height:1.95;font-size:1.03rem;overflow-wrap:anywhere;word-break:normal;white-space:normal;max-width:100%;}
.step17-text-segment{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 1.1rem;scroll-margin-top:1rem}
.step17-text-segment:empty{display:none}
.step17-fulltext mark{background:#ffe68c;border-radius:2px;padding:0 1px}
.step17-fulltext mark.step17-current{background:#ffab45;outline:2px solid #b96513}
.step17-docnav{display:flex;justify-content:space-between;gap:1rem;margin:2rem 0}
.step17-docnav .step17-disabled{opacity:.4;pointer-events:none}
@media(max-width:600px){.step17-fulltext{font-size:.98rem;line-height:1.85}.step17-search{padding:.75rem}.step17-actions a,.step17-docnav a{font-size:.9rem}}


/* STEP18_DIRECT_PDF_SEARCH */
.step18-result .step18-title{display:inline-block;font-weight:700;font-size:1.07rem;line-height:1.6;overflow-wrap:anywhere}
.step18-result .step18-meeting{font-size:.88rem;color:#65758a;margin:.4rem 0}
.step18-result .step18-snippet{line-height:1.8;overflow-wrap:anywhere;margin:.65rem 0}
.step18-result mark{background:#ffe58d;border-radius:2px}
#pages{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}
#pages button:disabled{opacity:.45;cursor:not-allowed}


/* STEP26_PAGE_RAIL: right-side PDF page number column */
.step17-fulltext{padding-right:0;overflow:visible}
.step17-text-segment{position:relative;padding:0 5.25rem 0 0;min-height:3rem;border-bottom:1px solid #edf1f6;margin-bottom:1.2rem}
.step17-text-segment::after{content:'P. ' attr(data-step26-page);position:absolute;right:.25rem;top:.15rem;min-width:3.7rem;text-align:center;border:1px solid #d9e3ef;background:#f3f7fc;color:#49617c;border-radius:7px;padding:.3rem .35rem;font-size:.82rem;font-weight:650;line-height:1.4;white-space:nowrap}
.step17-text-segment:not([data-step26-page])::after{display:none}
@media(max-width:600px){.step17-text-segment{padding-right:3.65rem}.step17-text-segment::after{right:0;min-width:3.15rem;padding:.2rem;font-size:.74rem}}

/* STEP26B_READABILITY */
.step17-text-segment{white-space:normal;line-height:1.9;padding-top:.6rem;padding-bottom:.9rem}
.step26b-paragraph{white-space:pre-wrap;overflow-wrap:anywhere;margin:.35rem 0 .85rem;line-height:1.9}
.step26b-speaker{margin:1.2rem 0 .95rem;padding:.7rem .9rem;background:#f4f7fb;border-left:3px solid #5479a9;border-radius:0 7px 7px 0}
.step26b-speaker-tag{display:inline-block;font-weight:750;color:#1f4b7a;background:#e5edf8;padding:.08rem .5rem;border-radius:5px;margin-right:.25rem}
.step26b-numbered{margin-top:1.05rem;font-weight:600;color:#243c57}
.step26b-symbol{margin:.65rem 0 .65rem .8rem;padding-left:.55rem;border-left:2px solid #d9e5ef}
.step26b-dash{margin:.4rem 0 .55rem 1.5rem;color:#394c60}
.step26b-paragraph mark{font-weight:inherit}
@media(max-width:600px){.step26b-speaker{padding:.5rem}.step26b-symbol{margin-left:.2rem}.step26b-dash{margin-left:.7rem}}


/* STEP26C: restore natural symbol layout, emphasize speaker tags */
.step26b-symbol,.step26b-dash{
 margin:.35rem 0 .85rem !important;
 padding:0 !important;
 border:0 !important;
 color:inherit !important;
}
.step26b-speaker{
 margin:.65rem 0 .85rem !important;
 padding:.28rem .55rem !important;
 background:#f6f9fd;
 border-left:3px solid #4674a8;
 border-radius:0 5px 5px 0;
 font-weight:400;
}
.step26b-speaker-tag{
 display:inline;
 color:#174a86;
 background:#e6f0fc;
 font-weight:750;
 padding:.06rem .28rem;
 border-radius:4px;
}

/* STEP26D: emphasize ONLY the parenthesized speaker label.
   No whole-line background, border, indentation, or extra spacing. */
.step17-fulltext .step26b-speaker {
  margin:.35rem 0 .85rem !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  color:inherit !important;
  font-weight:400 !important;
  text-indent:0 !important;
}
.step17-fulltext .step26b-speaker-tag {
  display:inline !important;
  color:#174a86 !important;
  background:#e6f0fc !important;
  font-weight:750 !important;
  padding:0 .2rem !important;
  margin:0 !important;
  border:0 !important;
  border-radius:3px !important;
}
