/* Handbook pages share the tool navigation and mobile menu behaviour. */
body>header.hb-tool-header{position:sticky;top:0;z-index:45;gap:8px 20px;padding:8px 24px;border-bottom:1px solid #d8e3df;box-shadow:0 2px 8px #153d3010;color:#173d39;font:400 16px/1.5 Meiryo,"Hiragino Kaku Gothic Pro","Hiragino Sans","Noto Sans JP",Arial,sans-serif}
.hb-tool-header .tool-brand-navigation{gap:10px}
.hb-tool-header .tool-brand-navigation a.calc-brand{margin:0;padding:0}
.hb-tool-header img.tool-wordmark{width:200px;height:60px;max-width:none}
.hb-tool-header a{min-height:40px;box-sizing:border-box;font-family:inherit;font-weight:600;font-size:14.667px;line-height:1.5;padding:7px 9px;border:1px solid transparent;white-space:nowrap}
.hb-tool-header .calc-brand{border:none}
.hb-tool-header .tool-brand-navigation .company-home-link,.hb-tool-header .hb-book-links a{border:1px solid #bfd0c8;padding:7px 10px}
.hb-tool-header .hb-book-links{display:flex;align-items:center;gap:6px;margin-left:auto}
.hb-tool-header a[aria-current]{background:#e7f1ea;border-color:#c6d7ce}
.hb-reader{max-width:none;grid-template-columns:clamp(248px,18vw,330px) minmax(0,1fr);gap:clamp(18px,1.6vw,32px);padding-inline:clamp(16px,1.7vw,36px)}
.hb-reader>main,.hb-reader>main.wrap{width:100%;max-width:none;min-width:0;margin-inline:0}
.hb-reader main article>.body{width:100%;max-width:none;margin-inline:0}
.hb-reader article .body>p,.hb-reader article .body>.example{max-width:65em}
.hb-reader .hb-rail{top:calc(var(--hb-header-height,78px) + 8px)}
.hb-chapters .hb-chapter-links{max-height:calc(100dvh - var(--hb-header-height,78px) - 32px)}
.hb-reader .hb-table-pan{overflow-x:auto;max-width:100%;min-width:0}
.hb-reader .hb-table-pan table{width:100%}
.hb-reader .hb-row-label{background:transparent;font-weight:600}
.hb-reader .hb-compact-label{white-space:nowrap}
:root{scroll-padding-top:calc(var(--hb-header-height,78px) + 8px)}
@media(min-width:701px) and (max-width:1200px){body>header.hb-tool-header{gap:8px 10px}.hb-tool-header .tool-shortcuts{order:3;width:100%}.hb-tool-header .tool-label-full{display:none}.hb-tool-header .tool-label-compact{display:inline}}
@media(max-width:900px){.hb-reader{padding-inline:14px}.hb-reader .hb-rail{position:static}.hb-chapters .hb-chapter-links{max-height:55dvh}}
@media(max-width:700px){
 body>header.hb-tool-header:has(#unit-navigation-toggle){padding:3px 10px;gap:5px 10px}
 .hb-tool-header .tool-brand-navigation{gap:4px;max-width:100%}
 .hb-tool-header .tool-brand-navigation img.tool-wordmark{width:min(150px,40vw);height:auto;aspect-ratio:10/3}
 .hb-tool-header .hb-book-links{order:2}.hb-tool-header .tool-shortcuts.tool-tabs489{order:3;display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;width:100%;min-width:0;max-width:100%;padding:2px 0;gap:3px;scrollbar-width:thin}
 .hb-tool-header .tool-shortcuts.tool-tabs489>a{flex:0 0 auto;flex-direction:row;gap:4px;white-space:nowrap;min-height:40px;padding:7px 6px;font-size:14px}
 .hb-tool-header .hb-book-links a{font-size:14px}
 .hb-reader .hb-table-pan[data-columns="3"] table{min-width:min(34em,580px)}
 .hb-reader .hb-table-pan[data-columns="4"] table{min-width:36em}
 .hb-reader .hb-table-pan[data-columns="many"] table{min-width:42em}
}
@media print{.hb-reader .hb-table-pan{overflow:visible}.hb-reader{display:block}}

