/* A quiet, tactile reading surface in the company's navy and copper palette. */
body[data-page=katalog] .page-heading { padding-bottom: 36px; }
body[data-page=katalog] .page-heading h1 { font-size: clamp(42px,5.5vw,80px); }
.catalog-publication { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 0 24px; }
.catalog-publication .section-label { margin:0 0 8px; font-size:10px; }
.catalog-publication h2 { font-size:17px; margin:0 0 7px; line-height:1.5; }
.catalog-publication p { margin:0; font-size:12px; color:#586961; }
.catalog-publication > button { border:1px solid #cfd7d2; border-radius:30px; padding:12px 18px; min-height:44px; font-size:12px; white-space:nowrap; }
#pdf-viewer.book-reader { overflow:hidden; border-radius:24px; border:1px solid #253b50; color:#f3f6f9; background:radial-gradient(ellipse at 10% 40%,#1b3956 0,transparent 55%),radial-gradient(ellipse at 90% 90%,#3b2e27 0,transparent 55%),#101b28; box-shadow:0 24px 60px -30px #15304d60; margin-top:0; }
#pdf-viewer.book-reader[hidden], .book-reader [hidden] { display:none!important; }
.book-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 28px; border-bottom:1px solid #ffffff12; background:#101b2880; }
.book-identity { display:flex; gap:14px; align-items:center; min-width:0; }
.book-identity > span { display:grid; place-items:center; flex-shrink:0; width:48px; height:48px; border:1px solid #e37c2c60; border-radius:50%; color:#f5a96f; background:#f28b3210; }
.book-reader svg { width:21px; height:21px; flex-shrink:0; }
.book-identity b { display:block; font-size:16px; line-height:1.6; }
.book-identity small { display:block; font-size:12px; color:#c0cad3; margin-top:3px; line-height:1.6; }
.book-actions { display:flex; align-items:center; flex-shrink:0; gap:10px; }
.book-actions a,.book-actions button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; border-radius:28px; padding:12px 17px; font-size:12px; font-weight:650; border:1px solid #ffffff29; color:#fff; background:#ffffff08; }
.book-actions a { background:#f08b3c; color:#111f2e; border-color:#f08b3c; }
.book-actions button:hover { background:#ffffff18; }
.book-stage { padding:40px 12px 30px; position:relative; min-height:300px; outline-offset:-5px; }
.book-mount { display:flex; justify-content:center; align-items:center; min-width:0; }
.catalog-book { flex-shrink:0; filter:drop-shadow(0 18px 16px #0009); margin:0 auto; }
.book-page { background:#fff; overflow:hidden; }
.book-page img { display:block; width:100%; height:100%; object-fit:contain; background:#fff; pointer-events:none; user-select:none; }
.book-page::after { content:''; position:absolute; inset:0; pointer-events:none; box-shadow:inset 0 0 1px #0a1c3040; }
.book-page.--left::after { background:linear-gradient(to left,#081a3030 0,transparent 5%); }
.book-page.--right::after { background:linear-gradient(to right,#081a3030 0,transparent 5%); }
.book-page-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; color:#6b7680; font-size:13px; background:#faf9f6; }
.book-loading { min-height:320px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; text-align:center; padding:25px; }
.book-loading b { font-size:20px; font-weight:600; }
.book-loading small { font-size:13px; color:#c0cad3; line-height:1.8; }
.book-loading > a { font-size:13px; text-decoration:underline; text-underline-offset:5px; }
.book-progress { font-size:12px; color:#f5a96f; font-variant-numeric:tabular-nums; }
.book-controls { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:20px 30px; padding:18px 24px 8px; }
.book-navigation,.book-tools { display:flex; align-items:center; gap:10px; }
.book-controls button { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; border:1px solid #ffffff29; border-radius:50%; color:white; background:#ffffff08; transition:background .2s,border-color .2s; }
.book-controls button:hover:not(:disabled) { background:#f28b3228; border-color:#e8985c; }
.book-controls button:disabled { opacity:.3; cursor:default; }
.book-controls button:focus-visible,.book-reader a:focus-visible,.book-actions button:focus-visible { outline:2px solid #ffba87; outline-offset:4px; }
.book-jump { display:flex; align-items:center; gap:4px; border:1px solid #ffffff29; background:#ffffff08; border-radius:28px; padding:0 7px 0 15px; min-height:44px; }
.book-jump label { display:flex; align-items:center; gap:7px; font-size:12px; color:#cbd3dc; }
.book-jump input { width:42px; min-height:40px; padding:0; color:#fff; text-align:center; font-size:13px; font-weight:700; background:transparent; border:0; border-radius:4px; appearance:textfield; -moz-appearance:textfield; }
.book-jump input::-webkit-inner-spin-button { -webkit-appearance:none; }
.book-jump button { width:34px; height:34px; font-size:11px; border:0; color:#ffba87; background:transparent; }
.book-count { font-size:12px; font-variant-numeric:tabular-nums; }
.book-range { font-size:12px; color:#c0cad3; min-width:76px; text-align:center; }
#pdf-viewer.book-reader .book-hint { padding:14px 24px 26px; margin:0; text-align:center; font-size:11px; line-height:1.8; color:#b8c5d0; }
.book-hint > span { letter-spacing:4px; color:#f5a96f; margin-right:8px; }
.book-hint > a { display:inline-block; margin-left:24px; color:#fff; text-decoration:underline; text-underline-offset:4px; }
#pdf-viewer.book-reader #pdf-load-status { margin:0; padding:16px 24px; background:#ffb97f18; color:#ffdbc1; font-size:13px; line-height:1.8; border:0; }
.book-reader:fullscreen,.book-reader.book-expanded { border:0!important; border-radius:0!important; margin:0!important; width:100%; height:100dvh; overflow:auto!important; }
.book-reader.book-expanded { position:fixed; inset:0; z-index:1000; }
body.book-full-open { overflow:hidden; }
.book-zoom-dialog { position:fixed; inset:0; width:min(1400px,96vw); max-width:96vw; height:94dvh; max-height:94dvh; margin:auto; padding:0; border:1px solid #ffffff2b; border-radius:16px; background:#142333; color:#fff; overflow:hidden; }
.book-zoom-dialog::backdrop { background:#06101be6; backdrop-filter:blur(6px); }
.book-zoom-toolbar { height:70px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 20px; border-bottom:1px solid #ffffff1a; }
.book-zoom-toolbar > span { font-size:13px; }
.book-zoom-toolbar > div { display:flex; align-items:center; gap:12px; }
.book-zoom-toolbar button { min-width:44px; min-height:44px; padding:6px 10px; border:1px solid #ffffff29; border-radius:8px; font-size:15px; }
.book-zoom-toolbar button:last-child { font-size:12px; }
.book-zoom-toolbar output { font-size:12px; min-width:38px; text-align:center; }
.book-zoom-scroll { height:calc(100% - 70px); overflow:auto; overscroll-behavior:contain; padding:24px; }
.book-zoom-pages { min-width:100%; display:flex; gap:12px; align-items:start; }
.book-zoom-pages img { width:0; min-width:0; flex:1 1 0; height:auto; background:white; }
@media (max-width:700px) {
  .catalog-publication { align-items:start; gap:12px; }
  .catalog-publication h2 { font-size:14px; }
  .catalog-publication p { font-size:11px; }
  .catalog-publication > button { padding:9px 12px; font-size:11px; }
  #pdf-viewer.book-reader { border-radius:17px; }
  .book-toolbar { padding:18px 14px; flex-wrap:wrap; gap:16px; }
  .book-identity { gap:10px; }
  .book-identity > span { width:40px; height:40px; }
  .book-identity b { font-size:14px; }
  .book-identity small { font-size:11px; }
  .book-actions { width:100%; }
  .book-actions a,.book-actions button { flex:1; padding:10px 12px; font-size:12px; }
  .book-stage { padding:24px 8px 10px; }
  .book-controls { gap:14px; padding:16px 10px 4px; }
  .book-navigation { gap:5px; }
  .book-controls button { width:40px; height:44px; }
  .book-controls [data-book-first],.book-controls [data-book-last] { display:none; }
  .book-jump { padding-left:12px; }
  .book-reader svg { width:18px; height:18px; }
  .book-range { min-width:72px; }
  #pdf-viewer.book-reader .book-hint { padding:12px 16px 22px; font-size:11px; }
  .book-hint > span { display:none; }
  .book-hint > a { display:block; margin:9px 0 0; }
  .book-zoom-dialog { width:100vw; max-width:100vw; height:100dvh; max-height:100dvh; border-radius:0; }
  .book-zoom-toolbar { padding:8px; gap:6px; }
  .book-zoom-toolbar > span { font-size:11px; }
  .book-zoom-toolbar > div { gap:4px; }
  .book-zoom-toolbar button { padding:5px; min-width:40px; }
  .book-zoom-scroll { padding:10px; }
}
@media (prefers-reduced-motion:reduce) { .book-reader * { transition:none!important; } }
