.catalog-modes{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:28px}.catalog-modes a,.catalog-modes span{padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:700;border:1px solid #d5dfce;background:#fff}.catalog-modes .selected{background:#173e31;color:#fff}.catalog-modes a{background:#f6c945;border-color:#f6c945}.book-main{max-width:1660px;padding-left:3vw;padding-right:3vw}.book-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.book-heading h1{font-size:38px}.mode-link{font-weight:700;text-decoration:none;border-bottom:2px solid #c2ceb6;padding-bottom:5px}.book-price-note{background:#fff2cd;border:1px solid #e6d9a1;border-radius:9px;padding:14px 18px;font-size:13px;margin:18px 0 20px}.book-controls{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:end;background:white;padding:16px;border:1px solid #d8e0d1;border-radius:10px}.book-pager,.book-pager form{display:flex;align-items:end;gap:9px}.book-pager form>span{padding:10px 0;font-size:12px;white-space:nowrap}.book-pager input{width:80px}.book-pager button{padding:11px 14px}.book-view{display:flex;gap:10px}.book-view select{min-width:100px}.book-find{display:flex;align-items:end;gap:10px;margin:18px 0}.book-find label{max-width:450px;flex:1}.book-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.book-paper-panel{min-width:0;background:#e1e5dc;border-radius:12px;border:1px solid #d0d9c8;overflow:hidden}.book-help{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px 18px;background:#fafff4;font-size:12px;color:#426037}.book-help span{display:flex;align-items:center;gap:8px}.code-key{display:inline-block;width:21px;height:13px;background:#94cf7a44;border:1px solid #549148;border-radius:2px}.book-viewport{max-height:85vh;min-height:200px;overflow:auto;padding:18px;scrollbar-gutter:stable}.book-sheets{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start;margin:0 auto;transition:width .15s ease}.book-sheets.spread{grid-template-columns:repeat(2,minmax(0,1fr))}.book-sheet{position:relative;background:#fff;box-shadow:0 2px 10px #21321d30;min-width:0}.book-sheet>img{display:block;width:100%;height:auto}.book-hotspots{position:absolute;inset:0}.book-hotspot{position:absolute;background:#86d96324;border:1px solid #25692565;border-radius:2px;padding:0;min-width:0;min-height:0;color:transparent;transition:background .1s}.book-hotspot:hover,.book-hotspot:focus-visible{background:#f8cc4566;border:2px solid #1b5c2f;z-index:2;outline:2px solid #fff}.book-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:14px;font-size:13px}.book-aside{background:white;border:1px solid #dce3d5;border-radius:12px;overflow:hidden}.book-aside-heading{padding:20px;background:#f9fbf4;border-bottom:1px solid #e4e9dd}.book-aside h2{font-size:21px;margin-bottom:5px}.book-aside-heading small{display:block;font-size:11px;margin-top:10px}.book-items{max-height:76vh;overflow:auto}.book-item{padding:17px 18px;border-bottom:1px solid #e3e9de}.book-item h3{font-size:13px;line-height:1.5;margin:5px 0}.book-item-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}.book-item-bottom button{padding:7px 13px;font-size:12px}.book-item-bottom strong{font-size:18px}.book-coverage-note{font-size:11px;color:#5c7053;padding:15px;margin:0}.book-product-price{font-size:34px;font-weight:850;margin-top:20px}.book-product-price small{display:block;font-size:12px;font-weight:500}.book-product-photo{max-width:190px;max-height:200px;object-fit:contain;float:right;margin:15px}.book-add-form{display:flex;align-items:end;gap:15px;margin-top:25px}.book-add-form input{max-width:100px}.book-add-form button{flex:1}.book-search-results{background:#fff;border:1px solid #d7e0cf;border-radius:12px;padding:20px;margin-bottom:20px;max-height:400px;overflow:auto}.book-search-results h3{margin:0}.book-match{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid #e7ecdf;font-size:13px}.book-match:first-of-type{margin-top:15px}.book-match>div:last-child{display:flex;align-items:center;gap:5px;flex-shrink:0;flex-wrap:wrap}.book-match button{padding:7px;font-size:12px}#bookProductDialog{max-width:620px}#bookProductDialog h2{font-size:24px;clear:both}@media(max-width:1100px){.book-controls{grid-template-columns:1fr 1fr}.book-pager{grid-column:1/-1;justify-content:center}.book-layout{grid-template-columns:minmax(0,1fr) 260px}.book-heading{align-items:start}}@media(max-width:750px){header{flex-wrap:wrap}nav{flex:1;justify-content:flex-end;flex-wrap:wrap}nav a{font-size:11px}.book-heading{display:block}.book-heading h1{font-size:30px}.mode-link{display:inline-block;margin-top:5px}.book-layout{grid-template-columns:1fr}.book-controls{gap:12px}.book-controls>label{grid-column:1/-1}.book-view{grid-column:1/-1;justify-content:space-between}.book-view>label{flex:1}.book-pager,.book-pager form{gap:6px}.book-pager input{width:65px}.book-viewport{padding:8px;max-height:75vh}.book-help small{display:none}.book-items{max-height:450px}.book-match{flex-wrap:wrap}.book-product-photo{max-width:120px}.book-bottom{font-size:11px;padding:10px}.book-bottom button{font-size:12px;padding:9px}.catalog-modes a,.catalog-modes span{font-size:13px;padding:10px 12px}}

.book-manual{display:flex;gap:7px;align-items:end;padding:12px 15px;background:#f6f8ef;border-bottom:1px solid #dce4d3}.book-manual label{font-size:11px;min-width:0;flex:1}.book-manual button{padding:11px 12px;font-size:12px}.book-manual input{font-size:12px;padding:10px}.book-product-photo{max-width:140px;max-height:170px}#bookProductContent .info{clear:both}

.book-brand-nav{margin:0 0 20px}
.book-brand-nav h2{font-size:16px;letter-spacing:0;margin:0 0 12px}
.book-brand-buttons{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.book-brand-buttons .book-brand-button{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:5px;min-width:0;min-height:66px;padding:12px;border:1px solid #dfc2ac;border-radius:10px;background:#fff;color:#242424;text-align:left;font-size:13px;line-height:1.3}
.book-brand-button:first-child{grid-column:span 2}
.book-brand-buttons .book-brand-button small{font-size:11px;font-weight:500}
.book-brand-buttons .book-brand-button:hover{background:#fff0e3;border-color:#cf5700}
.book-brand-buttons .book-brand-button.active{background:#ff6b00;border-color:#bb4c00;color:#211a14;box-shadow:inset 0 -3px #8c3900}
.book-sections{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0}
.book-sections label{min-width:0}
.book-sections select{width:100%;font-size:14px}
@media(max-width:1200px){.book-brand-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}.book-controls{grid-template-columns:1fr auto}.book-pager{grid-column:1/-1;justify-content:center}}
@media(max-width:750px){.book-brand-buttons .book-brand-button{padding:10px 8px;font-size:12px;min-height:58px}.book-brand-button:first-child{grid-column:1/-1}.book-brand-button:nth-child(2),.book-brand-button:nth-child(3){grid-column:span 2}.book-sections{grid-column:1/-1;grid-template-columns:minmax(0,1fr)}.book-sections select{font-size:16px}.book-pager input{width:80px}}
/* The dialog is positioned in the visual viewport by book-dialog.js. */
#bookProductDialog{position:fixed;inset:auto;margin:0;max-width:none;padding:0;overflow:hidden;transform-origin:50% 50%}
#bookProductDialog[open]{display:flex;flex-direction:column}
.book-product-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:10px 12px 0 20px;background:#fff}
.book-product-header .close{float:none;flex:none;min-width:44px;min-height:44px;font-size:28px;line-height:1}
.book-product-header .eyebrow{font-size:11px;letter-spacing:1px}
#bookProductContent{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 20px 20px;overflow-wrap:anywhere}
#bookProductDialog h2{font-size:22px;line-height:1.25;margin:8px 0 12px}
#bookProductDialog input{font-size:16px}
#bookProductDialog .book-add-form{clear:both;flex-wrap:wrap;gap:12px;margin-top:20px}
#bookProductDialog .book-add-form button{min-height:46px}
#bookProductDialog .book-product-photo{max-width:35%;max-height:130px;margin:12px 0 12px 12px}
