@font-face {
  font-family: HubMontserrat;
  src: url('/fonts/montserrat-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-024F,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: HubMontserrat;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
.lib {
  color: #121714;
  background: #f8fafc;
}
.lib * {
  box-sizing: border-box;
}
.wrap {
  width: min(1216px,calc(100% - 64px));
  margin-inline: auto;
}
.lib-hero {
  display: grid;
  grid-template-columns: 1fr 285px;
  align-items: center;
  gap: 40px;
  padding-block: 46px 48px;
  min-height: 352px;
}
.pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pill>span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21c462;
}
.lib h1,.lib h2,.lib h3 {
  font-family: HubMontserrat,Manrope,sans-serif;
  font-weight: 850;
  letter-spacing: -.035em;
}
.lib h1 {
  font-size: clamp(34px,3.9vw,54px);
  line-height: 1.12;
  margin: 19px 0;
}
.lib h1 em {
  font-style: normal;
  background: linear-gradient(100deg,#168e48,#1aa552);
  color: transparent;
  background-clip: text;
}
.hero-copy>p:not(.pill) {
  font-size: 17px;
  line-height: 1.75;
  color: #64748b;
  max-width: 670px;
}
.hero-copy strong {
  color: #1e293b;
  font-weight: 700;
}
.hero-meta {
  display: flex;
  gap: 22px;
  font-size: 12px;
  color: #475569;
  margin-top: 21px;
  font-weight: 650;
}
.hero-meta span+span:before {
  content: '·';
  margin-right: 22px;
  color: #1aa552;
}
.hero-mascot {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  height: 275px;
}
.hero-mascot img {
  position: relative;
  width: 250px;
  height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 14px 15px #17302622);
}
.mascot-glow {
  position: absolute;
  width: 230px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(135deg,#21c46228,#8b5cf629);
  filter: blur(25px);
}
.mascot-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 16px;
  transform: rotate(-3deg);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 24px #1e293b0d;
}
.catalog-section {
  background: #fff;
  border-block: 1px solid #edf0f3;
  padding: 44px 0 56px;
  scroll-margin-top: 96px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 44px;
}
.topics {
  align-self: start;
  position: sticky;
  top: 112px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  margin-bottom: 17px;
}
.topic-buttons {
  display: grid;
  gap: 7px;
}
.topic-buttons button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid transparent;
  padding: 12px 10px;
  min-height: 48px;
  border-radius: 13px;
  background: none;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.topic-buttons .material-symbols-rounded {
  font-size: 20px;
  color: #64748b;
}
.topic-buttons small {
  margin-left: auto;
  font-size: 11px;
  color: #64748b;
}
.topic-buttons button:hover {
  background: #f8fafc;
}
.topic-buttons button[aria-pressed=true] {
  background: #122018;
  color: #fff;
  box-shadow: 0 5px 14px #12201814;
}
.topic-buttons button[aria-pressed=true] .material-symbols-rounded {
  color: #21c462;
}
.topic-buttons button[aria-pressed=true] small {
  color: #b6cbbf;
}
.mini-tip {
  margin-top: 36px;
  padding: 20px 0 0;
  border-top: 1px solid #e2e8f0;
}
.tip-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #166534;
}
.tip-label .material-symbols-rounded {
  font-size: 20px;
}
.mini-tip p {
  font-size: 13px;
  line-height: 1.8;
  color: #64748b;
  margin-top: 10px;
}
.mini-tip strong {
  font-weight: 700;
  color: #334155;
}
.list-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
  min-height: 25px;
}
.list-heading h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0;
}
.list-heading p {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
}
.lib-card {
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  overflow: hidden;
  padding: 7px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 4px 18px #1e293b06;
  transition: box-shadow .18s,border-color .18s,transform .18s;
  min-width: 0;
}
.lib-card:hover {
  transform: translateY(-3px);
  border-color: #b2d7c0;
  box-shadow: 0 12px 28px #12201810;
}
.lib-card[hidden] {
  display: none;
}
.card-visual {
  display: block;
  border-radius: 23px;
  overflow: hidden;
  background: #f0f3f1;
  aspect-ratio: 1.9;
}
.card-visual>div {
  height: 100%;
}
.photo {
  background: linear-gradient(140deg,#f1f2f0,#e2e7e3);
  display: grid;
  place-items: center;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lib-card[data-topic=zdjecia] .photo img {
  object-fit: contain;
  background: #eeefed;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  background: #fff;
}
.pair figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #e5e7e6;
}
.pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 64%;
}
.pair figcaption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #fffef5ed;
  backdrop-filter: blur(5px);
  border: 1px solid #ffffff70;
  border-radius: 8px;
  color: #334155;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 800;
}
.card-copy {
  padding: 20px 17px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .085em;
  font-weight: 800;
  color: #6f43bb;
  margin-bottom: 9px;
}
.lib-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.lib-card h3 a {
  color: inherit;
}
.lib-card h3 a:hover {
  color: #168e48;
}
.card-copy>p:not(.card-category) {
  font-size: 14px;
  line-height: 1.75;
  color: #64748b;
  margin-bottom: 20px;
}
.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #edf0f3;
  padding-top: 14px;
  min-height: 47px;
  font-size: 13px;
  color: #1e293b;
  font-weight: 800;
  margin-top: auto;
}
.card-action .material-symbols-rounded {
  font-size: 19px;
  color: #168e48;
}
.type-art {
  position: relative;
  display: flex;
  align-items: center;
  gap: 23px;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  padding: 20px;
}
.type-art>span:not(.material-symbols-rounded) {
  font-family: HubMontserrat,Manrope,sans-serif;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.04em;
}
.type-art>.material-symbols-rounded {
  font-size: 54px;
}
.type-art.purple {
  background: #182119;
  color: #fff;
}
.type-art.purple>.material-symbols-rounded {
  color: #b4a0f9;
}
.type-art.green {
  background: #edfaf1;
  color: #166534;
}
.type-art i {
  width: 180px;
  height: 180px;
  position: absolute;
  border: 1px solid #ffffff13;
  border-radius: 50%;
  top: -90px;
  right: -20px;
  z-index: -1;
}
.type-art i+i {
  top: auto;
  bottom: -130px;
  right: 30px;
  width: 290px;
  height: 290px;
}
.type-art.green i {
  border-color: #21c4622a;
}
.service-note {
  padding-block: 30px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.service-note>div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.service-note>div>.material-symbols-rounded {
  font-size: 27px;
  color: #168e48;
  background: #e8f6ed;
  border-radius: 14px;
  padding: 14px;
}
.service-note p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.8;
}
.service-note strong {
  color: #1e293b;
  font-weight: 800;
}
.service-note a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #1e293b;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.service-note a .material-symbols-rounded {
  font-size: 19px;
  color: #168e48;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  align-items: center;
}
.pagination a,.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #dbe3de;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.pagination [aria-current] {
  background: #122018;
  color: #fff;
  border-color: #122018;
}
.pagination a:hover {
  background: #edfaf1;
}
.topics h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 15px;
}
.topics>p:not(.eyebrow) {
  font-size: 14px;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 15px;
}
.topics>a {
  font-size: 14px;
  font-weight: 800;
  display: inline-block;
  padding-block: 8px;
  color: #166534;
}
.lib a:focus-visible,.lib button:focus-visible {
  outline: 3px solid #8b5cf6;
  outline-offset: 4px;
  border-radius: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media(max-width:1100px) {
  .catalog-layout {
    grid-template-columns: 190px minmax(0,1fr);
    gap: 26px;
  }
  .lib-hero {
    grid-template-columns: 1fr 220px;
    gap: 20px;
  }
  .hero-mascot img {
    width: 215px;
    height: 215px;
  }
  .hero-mascot {
    height: 240px;
  }
  .list-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .lib-card h3 {
    font-size: 20px;
  }
  .type-art>span:not(.material-symbols-rounded) {
    font-size: 20px;
  }
  .type-art {
    gap: 14px;
  }
  .type-art>.material-symbols-rounded {
    font-size: 40px;
  }
}
@media(max-width:767px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .lib-hero {
    display: block;
    padding-block: 26px 29px;
    min-height: 0;
  }
  .hero-mascot {
    display: none;
  }
  .lib h1 {
    font-size: 34px;
    margin: 16px 0;
    line-height: 1.14;
  }
  .pill {
    font-size: 10px;
    padding: 7px 11px;
  }
  .hero-copy>p:not(.pill) {
    font-size: 15px;
    line-height: 1.75;
  }
  .hero-meta {
    font-size: 11px;
    gap: 12px;
    margin-top: 17px;
  }
  .hero-meta span+span:before {
    margin-right: 12px;
  }
  .catalog-section {
    padding-block: 25px 32px;
  }
  .catalog-layout {
    display: block;
  }
  .topics {
    position: static;
  }
  .topics .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }
  .topic-buttons {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
    margin-bottom: 25px;
  }
  .topic-buttons button {
    padding: 9px 10px;
    border-color: #e2e8f0;
    border-radius: 12px;
    min-height: 44px;
    font-size: 11px;
    gap: 6px;
  }
  .topic-buttons .material-symbols-rounded {
    font-size: 17px;
  }
  .topic-buttons small {
    font-size: 10px;
  }
  .mini-tip {
    display: none;
  }
  .list-heading {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  .list-heading h2 {
    font-size: 20px;
  }
  .list-heading p {
    font-size: 10px;
    white-space: normal;
    max-width: 82px;
    text-align: right;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lib-card {
    border-radius: 26px;
    padding: 6px;
  }
  .card-visual {
    border-radius: 20px;
    aspect-ratio: 1.95;
  }
  .card-copy {
    padding: 18px 16px 10px;
  }
  .lib-card h3 {
    font-size: 22px;
  }
  .card-copy>p:not(.card-category) {
    font-size: 14px;
    margin-bottom: 17px;
  }
  .card-action {
    font-size: 13px;
  }
  .type-art>span:not(.material-symbols-rounded) {
    font-size: 24px;
  }
  .type-art>.material-symbols-rounded {
    font-size: 48px;
  }
  .service-note {
    display: block;
    padding-block: 24px 30px;
  }
  .service-note>div {
    gap: 13px;
    align-items: start;
  }
  .service-note a {
    margin-top: 12px;
    margin-left: 0;
  }
  .service-note>div>.material-symbols-rounded {
    font-size: 22px;
    padding: 11px;
  }
  .service-note p {
    font-size: 12px;
  }
  .pagination {
    flex-wrap: wrap;
  }
}
@media(max-width:359px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .lib h1 {
    font-size: 29px;
  }
  .hero-meta {
    font-size: 10px;
    gap: 8px;
  }
  .hero-meta span+span:before {
    margin-right: 8px;
  }
  .topic-buttons button {
    font-size: 10px;
    gap: 4px;
    padding-inline: 7px;
  }
  .topic-buttons .material-symbols-rounded {
    font-size: 15px;
  }
  .lib-card h3 {
    font-size: 20px;
  }
  .list-heading h2 {
    font-size: 18px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .lib * {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
/* Podglądy zachowują ustaloną ramkę niezależnie od wymiarów pliku. */
.photo {
  position: relative;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Wariant tabletu: tematy nad katalogiem zamiast zbyt wąskich kart. */
@media(min-width:768px) and (max-width:1023px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .topics {
    position: static;
  }
  .topic-buttons {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 7px;
  }
  .topic-buttons button {
    font-size: 11px;
    padding-inline: 8px;
    gap: 5px;
  }
  .topic-buttons .material-symbols-rounded {
    font-size: 17px;
  }
  .mini-tip {
    display: none;
  }
  .list-heading {
    flex-direction: row;
    align-items: center;
  }
  .lib-card h3 {
    font-size: 21px;
  }
}
/* Adres mailowy nie wychodzi poza kolumnę stopki przy średniej szerokości. */
body.prompt-library-page footer a {
  overflow-wrap: anywhere;
}
body.prompt-library-page footer .grid>* {
  min-width: 0;
}
body.prompt-library-page footer a[href^="mailto:"] {
  word-break: break-word;
}
/* Układ produkcyjny zaczyna się pod stałą nawigacją. */
.lib {
  padding-top: 80px;
}
.library-compact {
  min-height: 0;
  padding-block: 32px;
}
.lib .library-compact h1 {
  font-size: 34px;
}
.topic-buttons[hidden] {
  display: none;
}
.topic-buttons a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 10px;
  border-radius: 13px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.topic-buttons a small {
  margin-left: auto;
}
.topic-buttons a[aria-current="page"] {
  background: #122018;
  color: #fff;
}
.lib-hero .hero-copy {
  min-width: 0;
}
.pagination .pagination-gap {
  border: 0;
  min-width: 20px;
  padding-inline: 0;
}
@media(min-width:768px) and (max-width:1023px) {
  body.prompt-library-page footer>div>.grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  body.prompt-library-page footer>div>.grid>div {
    grid-column: auto;
  }
  body.prompt-library-page footer>div>.grid>div:first-child {
    grid-column: span 2;
  }
}
@media(max-width:767px) {
  .topic-buttons a {
    font-size: 11px;
    padding: 9px 10px;
    gap: 6px;
  }
  .pagination {
    gap: 5px;
  }
  .pagination a,.pagination span {
    padding-inline: 10px;
  }
}
