.rb-catalogue-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(1200px,94vw);height:92dvh;max-width:none;max-height:none;margin:auto;padding:0;border:0;background:#fff;color:#222;box-shadow:0 12px 60px #0005;font-family:inherit}
.rb-catalogue-dialog::backdrop{background:#000b}
.rb-catalogue-dialog[open]{display:flex;flex-direction:column}
.rb-catalogue-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid #ddd;flex-shrink:0}
.rb-catalogue-dialog .rb-catalogue-header h2{font-family:inherit;font-weight:600;font-size:20px;line-height:1.3;letter-spacing:normal;margin:0;overflow-wrap:anywhere}
.rb-catalogue-dialog .rb-catalogue-close{background:#222;color:#fff;padding:10px 18px;border:0;cursor:pointer;font:inherit;flex-shrink:0}
.rb-catalogue-pages{display:flex;flex-direction:column;flex:1;min-height:0;background:#eee}
.rb-pdf-controls{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:8px;background:#f7f7f7}
.rb-pdf-controls button{font:inherit;padding:6px 10px;background:#222;color:white;border:0;cursor:pointer}
.rb-pdf-controls button:disabled{opacity:.4;cursor:default}
.rb-pdf-surface{flex:1;min-height:0;overflow:auto;padding:12px;text-align:center}
.rb-pdf-surface canvas{display:block;margin:0 auto;background:white;box-shadow:0 1px 6px #0003;max-width:none}
.rb-pdf-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.rb-catalogue-footer{padding:12px 22px;border-top:1px solid #ddd;flex-shrink:0;font-size:14px}
.rb-catalogue-status{margin:0 0 6px}
.rb-catalogue-footer a{text-decoration:underline;color:inherit}
.rb-catalogue-dialog :focus-visible{outline:3px solid #2671cc;outline-offset:3px}
.rb-catalogue-view-icon{width:1em;height:1em;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8}
/* Brand refinements and a page-fit reading surface. */
.rb-catalogue-dialog{width:min(1240px,94vw);border:1px solid #ffffff80;border-radius:18px;color:#0f0f10;box-shadow:0 24px 90px #0005;font-family:"Space Grotesk",sans-serif;overflow:hidden}
.rb-catalogue-dialog::backdrop{background:#101012bb;backdrop-filter:blur(5px)}
.rb-catalogue-header{padding:18px 26px;border-bottom:0}
.rb-catalogue-header>div{min-width:0}
.rb-catalogue-eyebrow{display:block;font-size:10px;font-weight:600;letter-spacing:.16em;line-height:1.4;color:#707070;margin-bottom:5px}
.rb-catalogue-dialog .rb-catalogue-header h2{font-size:22px;line-height:1.2;letter-spacing:-.025em}
.rb-catalogue-dialog .rb-catalogue-close{background:#fff;color:#0f0f10;padding:10px 18px;border:1px solid #dededb;border-radius:50px;font-size:13px;font-weight:500;transition:background .15s,border-color .15s}
.rb-catalogue-dialog .rb-catalogue-close:hover{background:#f5c518;border-color:#f5c518}
.rb-catalogue-pages{background:#eeefeb;border-block:1px solid #e6e6e2}
.rb-pdf-controls{padding:10px 16px;background:#fff;border-bottom:1px solid #e6e6e2;flex-shrink:0}
.rb-pdf-controls button{font-size:18px;line-height:1;width:36px;height:36px;padding:0;background:#f4f4f0;color:#0f0f10;border:1px solid transparent;border-radius:50%;transition:background .15s}
.rb-pdf-controls button:hover:not(:disabled){background:#f5c518}
.rb-pdf-controls button:disabled{opacity:.3}
.rb-pdf-count{font-size:12px;min-width:112px;text-align:center;font-variant-numeric:tabular-nums}
.rb-pdf-controls [data-action=minus]{margin-left:20px}
.rb-pdf-surface{padding:20px;box-sizing:border-box;overscroll-behavior:contain}
.rb-pdf-surface canvas{box-shadow:0 3px 16px #1515151a}
.rb-catalogue-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 26px;border-top:0;font-size:12px;line-height:1.4}
.rb-catalogue-status{margin:0;color:#75756f}
.rb-catalogue-footer a{color:#0f0f10;text-decoration:none;border-bottom:1px solid #c7c7c1;white-space:nowrap}
.rb-catalogue-footer a:hover{border-color:#0f0f10}
.rb-catalogue-dialog :focus-visible{outline-color:#b18a00}
@media(max-width:767px){.rb-catalogue-dialog{width:100%;height:100dvh;margin:0;border:0;border-radius:0}.rb-catalogue-header{padding:16px}.rb-catalogue-dialog .rb-catalogue-header h2{font-size:18px}.rb-catalogue-eyebrow{font-size:9px}.rb-catalogue-dialog .rb-catalogue-close{padding:10px 14px}.rb-pdf-controls{padding:8px;gap:6px}.rb-pdf-controls [data-action=minus]{margin-left:10px}.rb-catalogue-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:6px}.rb-catalogue-status{font-size:11px}.rb-catalogue-footer a{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.rb-catalogue-dialog button{transition:none}}

/* More viewport space for the document while retaining full-page fitting. */
.rb-catalogue-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);border-radius:16px}
.rb-catalogue-header{padding:10px 20px;min-height:64px;box-sizing:border-box}
.rb-catalogue-dialog .rb-catalogue-header h2{font-size:20px}
.rb-catalogue-eyebrow{margin-bottom:3px}
.rb-pdf-controls{padding:6px 12px}
.rb-pdf-surface{padding:8px}
.rb-catalogue-footer{padding:8px 20px}
@media(min-width:1100px){
 .rb-catalogue-header>div{max-width:28%}
 .rb-catalogue-dialog .rb-catalogue-header h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .rb-pdf-controls{position:absolute;top:14px;left:50%;transform:translateX(-50%);padding:0;border:0;background:transparent;flex-wrap:nowrap}
}
@media(max-width:767px){
 .rb-catalogue-dialog{width:100%;height:100dvh;border-radius:0}
 .rb-catalogue-header{padding:10px 12px;min-height:60px}
 .rb-catalogue-dialog .rb-catalogue-header h2{font-size:18px}
 .rb-catalogue-footer{padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
}
@media(max-height:500px){
 .rb-catalogue-header{padding-block:6px;min-height:50px}
 .rb-catalogue-eyebrow{display:none}
 .rb-pdf-controls{padding-block:4px}
 .rb-catalogue-footer{padding-block:6px}
}
