.ywhb{--hb-blue:#07518c;--hb-line:#d7e3eb;font-family:inherit;max-width:100%;}
.ywhb-intro{margin:0 0 23px;max-width:800px}.ywhb-overline{font-weight:800;letter-spacing:.13em;color:var(--yw-blue,#0073aa);font-size:.8rem}
.ywhb-intro p:not(.ywhb-overline){font-size:1.05rem;line-height:1.6}
.ywhb-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.ywhb-btn{display:inline-flex;align-items:center;gap:12px;border-radius:11px;padding:12px 20px;background:var(--yw-blue,#006eab);color:white!important;text-decoration:none!important;font-weight:700;min-height:46px}.ywhb-btn-secondary{background:transparent;color:var(--yw-deep,#174f6c)!important;border:1px solid var(--hb-line)}.ywhb-btn:hover{filter:brightness(.94)}
.ywhb-book{display:grid;grid-template-columns:minmax(185px,260px) minmax(0,1fr);gap:20px;align-items:start}
.ywhb-toc{border:1px solid var(--hb-line);border-radius:15px;background:#fff;padding:17px;position:sticky;top:105px;max-height:75vh;overflow:auto}.ywhb-toc h2{font-size:1.08rem;margin:3px 0 16px;color:var(--yw-deep,#174f6c)}
.ywhb-chapters{display:grid;gap:4px}.ywhb-chapter{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;text-align:left;border:0;border-radius:8px;padding:9px 10px;background:transparent;color:#253947;cursor:pointer;font:inherit;font-size:.87rem}.ywhb-chapter:hover,.ywhb-chapter.active{background:#eaf4fb;color:#064e85}.ywhb-chapter small{font-size:.78rem;flex:0 0 auto;color:#6d7f89}
.ywhb-reader{min-width:0;border:1px solid var(--hb-line);background:#f6f8fa;border-radius:15px;overflow:hidden}.ywhb-reader-toolbar{display:flex;gap:7px;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--hb-line);padding:12px}.ywhb-reader-toolbar button{border:1px solid var(--hb-line);background:#fff;border-radius:8px;padding:9px;cursor:pointer;color:var(--yw-deep,#174f6c);font-weight:650}.ywhb-reader-toolbar button:disabled{opacity:.45;cursor:not-allowed}.ywhb-current-label{font-weight:650;font-size:.88rem;white-space:nowrap}.ywhb-page-input{width:60px;min-height:35px;padding:5px;border-radius:8px;border:1px solid var(--hb-line);font:inherit}.ywhb-frame{width:100%;height:min(78vh,950px);border:0;display:block;background:white}.ywhb-reader-alt{padding:9px 14px;font-size:.8rem;color:#506372;margin:0}
.ywhb-notice{padding:22px;border:1px solid #e7c77a;border-radius:14px;background:#fff9e9;max-width:760px}.ywhb-link{font-weight:700}.ywhb-license{font-size:.8rem;color:#586c78;margin-top:25px}
.ywhb :is(button,a,input):focus-visible{outline:3px solid #f0bb36;outline-offset:3px}
@media(max-width:830px){.ywhb-book{grid-template-columns:1fr}.ywhb-toc{position:static;max-height:unset}.ywhb-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.ywhb-frame{height:70vh}}
@media(max-width:530px){.ywhb-chapters{grid-template-columns:1fr}.ywhb-reader-toolbar button span:not([aria-hidden]){display:none}.ywhb-frame{height:65vh}}
@media print{.ywhb-toc,.ywhb-actions,.ywhb-reader-toolbar{display:none}.ywhb-frame{height:90vh}}

/* v1.4: unobtrusive direct-page fallback */
.ywhb-page-direct{display:inline-block;margin-left:7px;font-weight:700;color:var(--yw-blue,#096f96)}

/* v1.5: white background in the handbook reader */
.ywhb,.ywhb-reader{background:#fff}
