/* Uzupełnienia interfejsu lokalnej makiety, wersja 2. */
html.large-1{--scale:1.1}html.large-2{--scale:1.2}
html{scroll-padding-top:100px}
#main{scroll-margin-top:100px}
#main:focus{outline:none!important}
input[type="url"],input[type="date"]{width:100%;min-height:45px;padding:10px 12px;border:1px solid #aab8cd;border-radius:8px;background:#fff;color:var(--text)}
.brand-logo{display:block;width:242px;max-width:100%;height:62px;object-fit:contain}
.brand{flex-shrink:1}
.header-actions{flex:none}
.header-main{gap:12px}
.hero-inner{grid-template-columns:1.2fr .8fr;min-height:470px;padding:46px 0 48px;gap:28px}
.hero-content .t-h1{font-size:clamp(2.6rem,4.1vw,3.85rem);margin:17px 0 19px}
.hero-content .lead{font-size:1rem;line-height:1.75;margin-bottom:23px;max-width:560px}
.hero-content .eyebrow{font-size:.68rem}
.hero-art{min-height:385px}
.hero-book{width:180px;background:transparent;box-shadow:none}
.hero-book.b1{transform:translate(-62px,-12px) rotate(-10deg)}
.hero-book.b2{transform:translate(92px,15px) rotate(12deg) scale(.9)}
.hero-book .book-cover{width:100%;height:255px;box-shadow:16px 18px 30px rgba(20,39,73,.19)}
.hero-plate{width:285px;height:310px;border-radius:150px 150px 18px 18px;background:#dce5f1;box-shadow:none;transform:rotate(7deg)}
.hero-orbit{width:350px;height:350px}
.hero-seal{right:0;bottom:0;font-size:.75rem}
.home-search label,.catalog-search>label{display:block;font-size:.84rem;font-weight:750;margin-bottom:8px;color:var(--navy)}
.home-search-row{display:flex;gap:8px;background:white;border:1px solid #aab8cd;border-radius:12px;padding:6px;box-shadow:0 5px 20px rgba(18,38,80,.04)}
.home-search-row input{border:0;min-width:0;background:transparent;min-height:49px;padding:10px 12px;font-size:1rem}
.home-search-row .btn{min-width:108px;flex:none}
.hero-actions{gap:9px 20px;margin-top:19px;align-items:center}
.hero-actions>a{display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:750;padding-block:8px;text-decoration:none}
.hero-actions>a:hover{text-decoration:underline}
.section{padding-block:59px}
.section.compact{padding-block:38px}
.t-h2{font-size:clamp(2rem,3vw,2.7rem)}
.book-image{height:252px;background:#eef1f5}
.book-cover.real-cover{display:block;padding:0;border:0;border-radius:1px;width:auto;max-width:100%;height:100%;object-fit:contain;aspect-ratio:auto;background:transparent;isolation:auto}
.book-image .cover-link{height:210px;display:grid;place-items:center;position:relative;max-width:100%}
.book-card .book-cover.real-cover{width:auto;max-width:170px;height:210px;object-fit:contain;box-shadow:7px 10px 18px rgba(20,39,73,.15)}
.fallback-cover{background:var(--navy);height:210px;width:148px}
.book-content{padding:20px 18px;gap:9px}
.book-title,.catalog-grid.list-mode .book-title{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0;font-size:1rem;line-height:1.5}
.book-author,.catalog-grid.list-mode .book-author{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0;font-size:.83rem;line-height:1.55}
.book-series{font-size:.76rem;line-height:1.5;color:var(--muted);margin:0}
.book-category{font-size:.67rem}
.book-card-foot{padding-top:13px;font-size:.8rem}
.book-card-foot a{font-size:.81rem}
.card-fav{width:40px;height:40px}
.category-card{min-height:180px;padding:22px}
.category-card strong{font-size:.99rem}
.category-card small{font-size:.82rem}
.catalog-search{max-width:750px;margin-bottom:25px}
.catalog-search input{min-height:52px;font-size:1rem}
.catalog-search .icon{top:18px}
.filters{top:110px}
.filter-title{margin-top:0;line-height:1.4}
.filter-toggle{display:none}
.filter-fields select{max-width:100%}
.catalog-results{min-width:0}
.catalog-grid .book-image{height:242px}
.catalog-grid .book-cover.real-cover{width:auto;height:200px;max-width:145px}
.catalog-grid .cover-link{height:200px}
.catalog-grid.list-mode .book-image{min-height:225px;align-items:center;width:180px;height:auto}
.catalog-grid.list-mode .book-image .book-cover{height:174px;width:auto;max-width:125px}
.catalog-grid.list-mode .cover-link{height:174px}
.catalog-grid.list-mode .book-content{padding:22px}
.catalog-grid.list-mode .book-title{font-size:1.08rem}
.active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}
.active-filters:empty{margin:0}
.filter-chip{display:flex;align-items:center;gap:8px;border:1px solid #bbc9dd;background:#eaf0fa;color:var(--navy);padding:8px 12px;border-radius:22px;font-size:.78rem;text-align:left}
.empty-state{grid-column:1/-1}
.catalog-toolbar{flex-wrap:wrap}
.toolbar-right{flex-wrap:wrap;gap:7px}
.toolbar-right select{width:180px;min-height:44px}
.details-wrap{grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:45px}
.detail-intro{padding:25px 0 7px}
.detail-intro .breadcrumb{font-size:.75rem}
.details-visual{min-height:470px;padding:35px}
.details-visual .book-cover.real-cover{width:auto;max-width:100%;height:auto;max-height:405px;box-shadow:15px 19px 30px rgba(17,30,56,.17)}
.detail-title{font-size:clamp(1.85rem,3vw,2.7rem);line-height:1.23}
.detail-author .subtle{font-size:.73rem;font-weight:600}
.detail-desc{white-space:pre-line;overflow-wrap:anywhere}
.detail-facts{margin-top:15px}
.fact dd{overflow-wrap:anywhere}
.source-note{font-size:.77rem;color:var(--muted);line-height:1.6}
.source-note .link-arrow{font-weight:600}
.preserve-lines{white-space:pre-line}
.journal-card{display:flex;flex-direction:column}
.journal-card h2{font-family:Georgia,serif;font-weight:500;font-size:1.65rem;line-height:1.25;color:var(--navy);margin:20px 0 8px}
.journal-issn{font-weight:700}
.journal-links{display:grid;gap:15px;margin-top:auto;padding-top:15px;align-items:start}
.journal-links .link-arrow{font-size:.84rem}
.journal-links .btn{font-size:.86rem}
.deadline-box{padding:22px 25px;border:1px solid #e3cfaa;border-left:4px solid #b08d56;border-radius:10px;background:#fcf8ef;margin-bottom:30px;line-height:1.6}
.deadline-box p{margin:8px 0;font-size:.92rem}
.deadline-box a{font-size:.84rem}
.author-downloads{margin:32px 0 38px;scroll-margin-top:120px}
.download-list{display:grid;gap:10px}
.download-row{display:flex;align-items:center;gap:15px;padding:18px;background:#fff;border:1px solid var(--border);border-radius:10px;text-decoration:none;color:var(--navy);line-height:1.5}
.download-row:hover{border-color:#8a9fbe;background:#f9fbff}
.download-row>span:nth-child(2){flex:1;min-width:0}
.download-row strong{display:block;font-size:.9rem}
.download-row small{display:block;font-size:.75rem;color:var(--muted);margin-top:4px}
.download-icon{display:grid;place-items:center;width:39px;height:45px;flex:none;background:var(--blue-tint);border-radius:6px}
.form-success{margin-top:18px;padding:18px;border:1px solid #9dbdac;border-radius:8px;background:#eff8f2;color:#165337;font-size:.87rem}
.editor-extra{margin-top:24px;padding-top:23px;border-top:1px solid var(--border)}
.footer-bottom a{display:inline;margin:0;font-size:inherit}
.footer-legal{display:flex;flex-wrap:wrap;gap:12px 20px}
.site-footer a{overflow-wrap:anywhere}
body.high-contrast .hero,body.high-contrast .book-image,body.high-contrast .details-visual{background:#fff}
body.high-contrast .book-card,body.high-contrast .category-card,body.high-contrast .step,body.high-contrast .journal-card{border-color:#283044}
body.high-contrast .eyebrow,body.high-contrast .book-category,body.high-contrast .book-series,body.high-contrast .book-author,body.high-contrast .source-note{color:#101828}
body.high-contrast .dark-promo .eyebrow{color:white}
body.high-contrast .deadline-box{background:#fff;border-color:#805000}
body.high-contrast a{text-decoration:underline}
@media(max-width:1200px){
  .site-nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 90px);overflow-y:auto;background:#fff;padding:12px 24px 22px;border-bottom:1px solid var(--border);box-shadow:var(--shadow-lg);flex-direction:column;align-items:stretch;gap:2px}
  .site-nav.open{display:flex}.site-nav a{padding:12px 14px;font-size:.95rem;justify-content:flex-start}.menu-toggle{display:inline-flex}.header-actions{margin-left:auto}
  .brand-logo{width:255px}.hero-inner{grid-template-columns:1.2fr .8fr}.hero-art{min-height:330px}.hero-orbit{width:290px;height:290px}.hero-plate{width:250px;height:275px}.hero-book{width:152px}.hero-book .book-cover{height:220px}.hero-book.b2{transform:translate(70px,10px) rotate(12deg) scale(.9)}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  .hero-inner{grid-template-columns:1fr}.hero-art{display:none}.hero-content{max-width:660px}.hero-inner{min-height:0;padding:36px 0 38px}
  .hero-content .t-h1{font-size:clamp(2.5rem,6vw,3.4rem)}.hero-actions{margin-top:12px}
  .details-wrap{gap:28px}.details-visual{min-height:360px;padding:24px}.details-visual .book-cover.real-cover{max-height:310px}
  .book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .brand-logo{width:230px;height:55px}.header-main{min-height:73px}.header-actions .icon-btn{width:40px;height:44px}
  .page-intro{padding:30px 0 23px}.page-intro .t-h1{font-size:2.4rem}.page-intro .lead{font-size:.98rem;line-height:1.7}
  .section{padding-block:42px}.section.compact{padding-block:28px}.section-head{gap:14px}.section-head p{font-size:.92rem}
  .catalog-search{margin-bottom:16px}.catalog-shell{display:block}.filters{padding:0;margin-bottom:19px;position:static}.filter-toggle{display:flex;width:100%;gap:9px;align-items:center;border:0;background:transparent;color:var(--navy);font-weight:750;padding:15px 17px;min-height:50px}.filter-toggle>.icon:last-child{margin-left:auto}.filter-title{display:none}#filter-panel{display:none;padding:6px 17px 18px}.filters.expanded #filter-panel{display:block}.filter-fields{grid-template-columns:1fr 1fr}.filter-fields .form-field{min-width:0}
  .catalog-toolbar{gap:12px}.toolbar-right{justify-content:flex-start}.toolbar-right select{flex:1;width:auto;max-width:260px}
  .book-image,.catalog-grid .book-image{height:220px}.book-card .book-cover.real-cover,.catalog-grid .book-cover.real-cover{height:178px;width:auto;max-width:135px}.book-image .cover-link,.catalog-grid .cover-link{height:178px}.book-content{padding:17px 15px}.book-title{font-size:.95rem}.book-author{font-size:.83rem}.book-card-foot span{display:inline}
  .details-wrap{grid-template-columns:1fr;padding-top:25px}.details-visual{min-height:330px;max-width:440px;margin-inline:auto}.details-visual .book-cover.real-cover{max-height:310px}.detail-intro{padding:20px 0 3px}.detail-title{font-size:2rem}.detail-facts{grid-template-columns:1fr 1fr}.details-actions .btn{flex:1 1 190px}
  .article-layout{display:block}.side-box{margin-top:30px}.journal-grid{grid-template-columns:1fr}.journal-card{padding:24px}.journal-number{font-size:2.4rem;margin-bottom:13px}.journal-links{grid-template-columns:1fr}.journal-card h2{font-size:1.55rem}
  .footer-bottom{gap:18px}.form-card{padding:21px}.deadline-box{padding:18px}.article-body{font-size:.95rem}
}
@media(max-width:480px){
  .wrap{width:calc(100% - 32px)}.brand-logo{width:163px;height:51px}.header-actions{padding-left:0;border:0;gap:0}.header-actions .icon-btn{width:36px;height:44px}.header-main{min-height:70px;gap:6px}.utility-inner span{font-size:.63rem;letter-spacing:.015em}
  .hero-content .t-h1{font-size:2.7rem}.hero-content .eyebrow{font-size:.6rem;letter-spacing:.07em}.hero-content .lead{font-size:.96rem;margin-bottom:20px}.hero-actions{gap:0 15px}.hero-actions>a{font-size:.82rem;min-height:42px}.home-search-row .btn{min-width:48px;padding:12px}.home-search-row input{padding:8px;font-size:.94rem}.home-search-row .btn .icon{display:none}
  .book-grid,.catalog-grid{grid-template-columns:1fr;gap:17px}
  .book-card{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:stretch}
  .book-image,.catalog-grid .book-image,.catalog-grid.list-mode .book-image{width:auto;height:100%;min-height:215px;padding:45px 10px 20px;align-items:start}
  .book-card .book-cover.real-cover,.catalog-grid .book-cover.real-cover,.catalog-grid.list-mode .book-image .book-cover{height:auto;max-height:150px;width:auto;max-width:90px}
  .book-image .cover-link,.catalog-grid .cover-link,.catalog-grid.list-mode .cover-link{height:150px;align-items:start}
  .book-content,.catalog-grid.list-mode .book-content{padding:16px 14px;gap:8px}
  .book-title,.catalog-grid.list-mode .book-title{font-size:.99rem;line-height:1.47}
  .book-author{font-size:.83rem}.book-category{font-size:.63rem;letter-spacing:.06em}.book-series{font-size:.76rem}.book-card-foot{font-size:.8rem;gap:6px;flex-wrap:wrap}.book-card-foot a{font-size:.8rem}.book-card-foot span{display:inline}
  .card-fav{width:36px;height:36px;right:7px;top:auto;bottom:8px;background:#fff}.tag-over{left:5px;top:11px;padding:5px;font-size:.54rem}
  .catalog-grid.list-mode .book-card{display:grid;grid-template-columns:112px minmax(0,1fr)}
  .category-grid{grid-template-columns:1fr 1fr}.category-card{padding:16px;min-height:173px}.category-card strong{font-size:.9rem}.category-card small{font-size:.76rem}.category-card .cat-arrow{display:none}.category-icon{width:40px;height:40px;margin-bottom:12px}
  .filter-fields{grid-template-columns:1fr}.detail-facts{grid-template-columns:1fr 1fr;gap:0 12px}.detail-title{font-size:1.85rem}.details-visual{min-height:300px}.details-visual .book-cover.real-cover{max-height:280px}
  .download-row{gap:10px;padding:14px}.download-icon{width:30px}.download-row strong{font-size:.86rem}.download-row>.icon{width:15px}
  .modal-body,.modal-head,.modal-foot{padding:19px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:359px){.brand-logo{width:132px}.header-actions .icon-btn{width:32px}.hero-content .t-h1{font-size:2.35rem}.book-card,.catalog-grid.list-mode .book-card{grid-template-columns:92px minmax(0,1fr)}.book-card .book-cover.real-cover,.catalog-grid .book-cover.real-cover{max-width:74px}.book-content,.catalog-grid.list-mode .book-content{padding:13px 11px}.book-title,.catalog-grid.list-mode .book-title{font-size:.93rem}.home-search-row{gap:1px}.home-search-row .btn{font-size:.83rem}.footer-grid{grid-template-columns:1fr}}
@media print{.site-header,.site-utility,.demo-banner,.site-footer,.filters,.details-actions,.home-search,.card-fav,.toast{display:none!important}.wrap{width:100%}.details-wrap{display:block}.details-visual{float:left;width:30%;min-height:0;margin:0 25px 20px 0}.book-card{break-inside:avoid}.hero-art{display:none}.section{padding:20px 0}body{background:white}}

.official-brand{display:flex;flex-direction:column;gap:1px;padding:8px 0}.official-brand .brand-logo{height:46px}.publisher-label{font-size:.63rem;font-weight:800;letter-spacing:.13em;color:var(--navy);text-align:center}
@media(max-width:480px){.official-brand .brand-logo{height:36px}.publisher-label{font-size:.5rem;letter-spacing:.07em}}
.book-title a{display:block}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.category-card{min-width:0}
.category-card strong,.category-card small{max-width:100%;overflow-wrap:anywhere}
@media(max-width:980px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){.category-grid{grid-template-columns:1fr}.category-card{min-height:140px}}

.catalog-sections{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid var(--border)}
.catalog-sections a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 20px;border:1px solid var(--border);border-radius:8px;font-size:.9rem;font-weight:700;color:var(--navy);background:white;text-decoration:none;line-height:1.5;text-align:center}
.catalog-sections a[aria-current="page"]{background:var(--navy);color:white;border-color:var(--navy)}
.catalog-sections a:hover{border-color:var(--blue);text-decoration:underline}
@media(max-width:480px){.catalog-sections{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog-sections a{font-size:.8rem;padding:10px;min-width:0}.catalog-sections a:first-child{grid-column:1/-1}}

.publication-collection .section-head>div{min-width:0}.publication-collection .t-h2{font-size:clamp(1.5rem,3.2vw,2.7rem);overflow-wrap:anywhere}.catalogue-intro .t-h1{overflow-wrap:anywhere}
