/* Biblioteca scientifica: stessi colori e caratteri del portale, lettura al centro. */
.pl-library { --pl-blue: #1665cf; --pl-ink: #182538; --pl-muted: #596879; --pl-line: #dfe6ee; color: var(--pl-ink); background: #f4f6f9; font-family: var(--font, 'Open Sans', sans-serif); font-size: 14px; line-height: 1.65; }
.pl-library *, .pl-library *::before, .pl-library *::after { box-sizing: border-box; }
.pl-library h1, .pl-library h2, .pl-library h3 { color: var(--pl-ink); }
.pl-library a { text-decoration: none; }
.pl-library a:hover { text-decoration: underline; }
.pl-library button, .pl-library input, .pl-library select, .pl-library textarea { font: inherit; }
.pl-library input, .pl-library select, .pl-library textarea { width: 100%; max-width: 100%; min-width: 0; color: var(--pl-ink); background: #fff; border: 1px solid #cbd6e1; border-radius: 8px; padding: 10px 12px; }
.pl-library input:focus, .pl-library select:focus, .pl-library textarea:focus { outline: 2px solid #1665cf; outline-offset: 2px; border-color: #1665cf; }
.pl-library .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 23px; font: 700 13px/1.2 var(--font-heading, 'Oswald', sans-serif); letter-spacing: .5px; cursor: pointer; text-transform: uppercase; border: 0; border-radius: 8px; color: #fff; background: var(--pl-blue); text-decoration: none; }
.pl-library .btn:hover { background: #0e4fa6; }
.pl-library .btn:disabled { opacity: .65; cursor: wait; }
.pl-library .btn .po-icon { width: 18px; height: 18px; }
.pl-hero { position: relative; overflow: hidden; padding: 22px 0 25px; background: #eaf1f9; border-bottom: 1px solid #dce6f1; }
.pl-hero::after { position: absolute; right: -180px; top: -260px; width: 680px; height: 680px; content: ''; border: 1px solid #d6e2f0; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 80px #e3edf833, 0 0 0 160px #e3edf833; }
.pl-hero .container { position: relative; z-index: 1; }
.pl-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 30px; font-size: 11px; color: #536881; }
.pl-breadcrumbs a { color: #536881; }
.pl-hero-grid { display: grid; grid-template-columns: 1fr 240px; gap: 60px; align-items: center; padding: 3px 0 27px; }
.pl-hero .eyebrow { color: #1665cf; letter-spacing: 1.4px; font-size: 12px; }
.pl-hero h1 { margin: 12px 0 17px; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.13; }
.pl-hero h1 em { color: #1665cf; font-weight: 400; }
.pl-hero-grid p { max-width: 620px; margin: 0; color: #4b6077; font-size: 15px; line-height: 1.8; }
.pl-library-mark { justify-self: end; display: flex; align-items: center; gap: 23px; padding-right: 22px; color: #7893b4; }
.pl-library-mark > .po-icon { width: 66px; height: 66px; stroke-width: 1; }
.pl-library-mark span { border-left: 1px solid #b8cadf; padding-left: 20px; font: 400 13px/1.9 var(--font-heading, 'Oswald', sans-serif); letter-spacing: 1.8px; }
.pl-search { display: flex; align-items: center; gap: 15px; padding: 8px 8px 8px 20px; background: #fff; border: 1px solid #d6e1ee; border-radius: 12px; box-shadow: 0 7px 22px #28435f0b; }
.pl-search > span { display: flex; color: #6e849e; }
.pl-search input[type=search] { flex: 1; border: 0; border-radius: 4px; min-height: 44px; padding: 8px 0; font-size: 14px; background: transparent; }
.pl-search input::placeholder { color: #718198; opacity: 1; }
.pl-search .btn { flex-shrink: 0; min-height: 48px; padding-inline: 30px; }
.pl-hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; color: #5c6e83; font-size: 11px; }
.pl-hero-foot strong { color: #233d5b; font-size: 13px; }
.pl-source-line { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.pl-source-line > span:first-child { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #687c91; }
.pl-source-line > span:not(:first-child) { font-weight: 700; color: #405b7a; }
.pl-main { padding-top: 28px; padding-bottom: 65px; }
.pl-assistant { margin-bottom: 34px; background: #fff; border: 1px solid #d9e3ef; border-radius: 12px; overflow: hidden; }
.pl-assistant > summary { list-style: none; display: flex; align-items: center; gap: 15px; cursor: pointer; padding: 18px 22px; }
.pl-assistant > summary::-webkit-details-marker { display: none; }
.pl-assistant-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; color: #1665cf; background: #eaf1fd; border-radius: 10px; }
.pl-assistant summary strong { display: block; font: 700 20px/1.4 var(--font-heading, 'Oswald', sans-serif); }
.pl-assistant summary small { display: block; color: #647487; margin-top: 2px; font-size: 12px; }
.pl-assistant-toggle { margin-left: auto; color: #1665cf; font-size: 27px; font-weight: 400; }
.pl-assistant[open] .pl-assistant-toggle { transform: rotate(45deg); }
.pl-assistant-body { padding: 0 22px 22px; border-top: 1px solid #edf1f6; }
.pl-assistant-body > p { margin: 18px 0; color: #586b81; }
.pl-ask-form { padding-top: 20px; }
.pl-ask-form > label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.pl-ask-form textarea { resize: vertical; min-height: 95px; }
.pl-ask-footer { display: flex; align-items: center; gap: 24px; justify-content: space-between; margin-top: 12px; }
.pl-ask-footer > p { max-width: 640px; margin: 0; color: #66768a; font-size: 11px; }
.pl-ask-footer .btn { flex-shrink: 0; }
.pl-ask-status:not(:empty) { margin-top: 18px; padding: 12px 15px; background: #edf4fd; border-left: 3px solid #1665cf; border-radius: 4px; }
.pl-ask-status[data-error=true] { border-color: #b72b23; background: #fff1ef; color: #963026; }
.pl-answer { padding-top: 22px; }
.pl-answer h3 { margin: 0 0 14px; font-size: 23px; }
.pl-answer-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; }
.pl-answer-sources { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e1e8f1; }
.pl-answer-sources h4 { margin: 0 0 12px; font-size: 18px; }
.pl-answer-sources ol { padding-left: 22px; margin: 0; }
.pl-answer-sources li { padding: 7px 0 7px 3px; font-size: 12px; }
.pl-answer-sources a { color: #1665cf; font-weight: 700; }
.pl-answer-note { margin: 17px 0 0; color: #61738a; font-size: 11px; }
.pl-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 35px; align-items: start; }
.pl-filter-details { padding: 20px; background: #fff; border: 1px solid #e0e7ee; border-radius: 10px; }
.pl-filter-details > summary { display: flex; gap: 9px; align-items: center; list-style: none; font: 700 20px/1.4 var(--font-heading, 'Oswald', sans-serif); cursor: pointer; }
.pl-filter-details > summary::-webkit-details-marker { display: none; }
.pl-filter-count { display: inline-grid; place-items: center; border-radius: 50%; min-width: 21px; height: 21px; padding: 0 5px; background: #1665cf; color: white; font: 700 11px/1 sans-serif; }
.pl-filter-details form { padding-top: 20px; }
.pl-filter-details form > label, .pl-filter-details legend { display: block; margin: 0 0 7px; font-size: 11px; color: #4e6177; font-weight: 700; }
.pl-filter-details select { margin-bottom: 20px; padding: 9px 25px 9px 9px; font-size: 11px; height: 40px; }
.pl-filter-details fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 20px; }
.pl-year-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pl-year-fields label { display: flex; flex-direction: column; gap: 3px; font-size: 10px; color: #657b92; }
.pl-year-fields input { font-size: 12px; padding: 8px; height: 38px; }
.pl-filter-details .btn { width: 100%; font-size: 12px; min-height: 40px; padding-inline: 9px; }
.pl-reset { display: block; margin-top: 13px; text-align: center; font-size: 11px; color: #5e7085; }
.pl-source-note { padding: 23px 7px; display: flex; gap: 10px; align-items: flex-start; color: #5e7188; }
.pl-source-note > .po-icon { flex-shrink: 0; width: 19px; height: 19px; color: #7890ab; margin-top: 2px; }
.pl-source-note p { margin: 0; font-size: 11px; line-height: 1.85; }
.pl-source-note strong { display: block; font-size: 11px; color: #435a73; margin-bottom: 5px; }
.pl-results { min-width: 0; }
.pl-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 0 0 19px; }
.pl-results-heading .eyebrow { font-size: 10px; letter-spacing: 1px; }
.pl-results-heading h2 { margin: 4px 0 0; font-size: 29px; line-height: 1.3; overflow-wrap: anywhere; }
.pl-result-count { flex-shrink: 0; margin-bottom: 4px; font-size: 11px; color: #61738b; }
.pl-paper { margin-bottom: 15px; padding: 23px 25px 18px; border: 1px solid #e0e6ed; border-radius: 11px; background: white; box-shadow: 0 3px 10px #193b5f03; }
.pl-paper-meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; font-size: 11px; color: #6b7e93; }
.pl-type { padding: 2px 8px; border-radius: 4px; color: #365d8b; background: #edf3fb; font-size: 10px; font-weight: 700; }
.pl-open { font-size: 10px; color: #257059; }
.pl-open::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #379170; vertical-align: 2px; margin-right: 5px; }
.pl-paper h3 { margin: 11px 0 9px; font: 700 23px/1.35 var(--font-heading, 'Oswald', sans-serif); }
.pl-paper h3 a { color: #223a55; }
.pl-paper h3 a:hover { color: #1665cf; }
.pl-original-title { margin: -2px 0 12px; color: #62748b; font-size: 11px; line-height: 1.65; }
.pl-bibliography { margin: 0 0 10px; font-size: 11px; color: #62758b; overflow-wrap: anywhere; }
.pl-bibliography > span { display: block; margin-top: 3px; font-style: italic; }
.pl-excerpt { margin: 11px 0 17px; color: #53647a; font-size: 12px; line-height: 1.85; }
.pl-paper-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 13px; border-top: 1px solid #edf0f5; }
.pl-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pl-tags a { display: inline-block; padding: 3px 8px; background: #f1f4f8; border-radius: 4px; color: #60748a; font-size: 9px; line-height: 1.55; }
.pl-tags a:hover { background: #e8f0fc; color: #1665cf; }
.pl-read { flex-shrink: 0; font-size: 10px; font-weight: 700; color: #1665cf; }
.pl-read > span { padding-left: 4px; }
.pl-empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 55px 28px; background: #fff; border: 1px solid #e0e6ed; border-radius: 11px; }
.pl-empty > .po-icon { width: 36px; height: 36px; color: #7e98b8; margin-bottom: 8px; }
.pl-empty h3 { margin: 0; font-size: 25px; }
.pl-empty p { max-width: 420px; margin: 0; font-size: 13px; color: #687c93; }
.pl-pagination { padding-top: 18px; }
.pl-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0; }
.pl-pagination .page-numbers { display: inline-block; padding: 7px 12px; background: #fff; border: 1px solid #e0e6ed; border-radius: 6px; color: #526f91; font-size: 12px; }
.pl-pagination ul.page-numbers { display: flex; background: transparent; border: 0; padding: 0; }
.pl-pagination .current { border-color: #1665cf; background: #1665cf; color: #fff; }
.pl-single { padding: 28px 0 65px; }
.pl-single .pl-breadcrumbs { margin-bottom: 35px; }
.pl-record-header { max-width: 1040px; padding-bottom: 32px; }
.pl-record-header .eyebrow { margin-right: 5px; font-size: 11px; }
.pl-record-header h1 { margin: 17px 0; font-size: clamp(29px, 3.4vw, 43px); line-height: 1.25; }
.pl-record-original { color: #546b84; font-size: 13px; line-height: 1.8; }
.pl-record-original > span { display: block; margin-bottom: 3px; font: 700 10px/1.5 var(--font); text-transform: uppercase; color: #73859b; letter-spacing: .5px; }
.pl-record-authors { font-size: 12px; line-height: 1.9; color: #526b85; }
.pl-record-journal { margin: 8px 0 17px; color: #5c7089; font-size: 12px; font-style: italic; }
.pl-record-header .pl-tags a { font-size: 10px; padding: 4px 9px; background: #e6edf6; }
.pl-record-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 35px; align-items: start; }
.pl-record-content { min-width: 0; }
.pl-record-section { padding: 27px 30px; margin: 0 0 20px; background: #fff; border: 1px solid #e1e7ee; border-radius: 12px; }
.pl-record-section h2 { font-size: 27px; margin: 0 0 18px; }
.pl-record-section > .eyebrow { display: block; margin-bottom: 7px; font-size: 10px; }
.pl-record-section > p { color: #52667d; }
.pl-summary { border-top: 3px solid #1665cf; }
.pl-prose { font-size: 14px; color: #455a72; line-height: 1.95; overflow-wrap: anywhere; }
.pl-prose p:first-child { margin-top: 0; }
.pl-prose p:last-child { margin-bottom: 0; }
.pl-ai-label { display: flex; gap: 7px; align-items: flex-start; margin: 23px 0 0; padding-top: 15px; border-top: 1px solid #e8edf4; color: #697d93; font-size: 10px; line-height: 1.8; }
.pl-ai-label > .po-icon { flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px; }
.pl-keywords { display: flex; flex-wrap: wrap; gap: 7px; }
.pl-keywords > span { background: #f0f4f9; border-radius: 5px; padding: 5px 10px; font-size: 11px; color: #5f748a; }
.pl-fulltext-details { margin-bottom: 20px; background: #fff; border: 1px solid #e1e7ee; border-radius: 10px; }
.pl-fulltext-details > summary { padding: 20px 27px; cursor: pointer; font: 700 21px/1.4 var(--font-heading); }
.pl-fulltext-details .pl-fulltext { padding: 0 28px 28px; }
.pl-fulltext { white-space: normal; max-height: none; }
.pl-record-info { padding: 24px; background: white; border: 1px solid #dfe6ef; border-radius: 11px; }
.pl-record-info h2 { margin: 0 0 20px; font-size: 24px; }
.pl-record-info dl { margin: 0; }
.pl-record-info dl > div { padding: 12px 0; border-top: 1px solid #eef1f5; }
.pl-record-info dt { font-size: 10px; color: #7a8b9d; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.pl-record-info dd { margin: 4px 0 0; color: #4e6885; font-size: 12px; overflow-wrap: anywhere; }
.pl-record-info dd > a { color: #1665cf; }
.pl-record-info .btn { width: 100%; margin-top: 17px; padding: 13px 10px; font-size: 11px; }
.pl-rights { margin-top: 20px; padding: 22px 24px; background: #eaf0f7; border: 1px solid #dce5ef; border-radius: 10px; }
.pl-rights > .po-icon { color: #6e8bac; }
.pl-rights h3 { margin: 10px 0 10px; font-size: 21px; line-height: 1.4; }
.pl-rights p { margin: 8px 0 0; color: #5d738c; font-size: 11px; line-height: 1.9; }
.pl-rights--open { background: #eaf5ef; border-color: #d5e7dc; }
.pl-rights--open > .po-icon { color: #39836a; }
.pl-rights--open h3 { color: #2d5a49; }
.pl-citation p { font-size: 12px; overflow-wrap: anywhere; }
.pl-citation > .text-link { display: inline-block; margin-top: 10px; font-size: 11px; }
.pl-back { display: inline-block; margin: 20px 4px; color: #58728e; font-size: 12px; }
@media (max-width: 1000px) {
  .pl-layout { gap: 24px; grid-template-columns: 215px minmax(0,1fr); }
  .pl-record-layout { gap: 24px; grid-template-columns: minmax(0,1fr) 260px; }
  .pl-record-section { padding: 24px; }
  .pl-hero-grid { grid-template-columns: 1fr 190px; gap: 30px; }
  .pl-library-mark { gap: 15px; padding: 0; }
  .pl-library-mark > .po-icon { width: 50px; height: 50px; }
  .pl-library-mark span { padding-left: 15px; font-size: 11px; }
  .pl-paper { padding: 20px; }
}
@media (max-width: 760px) {
  .pl-library .container { width: min(100% - 32px, 600px); }
  .pl-hero { padding-top: 17px; padding-bottom: 20px; }
  .pl-breadcrumbs { font-size: 10px; margin-bottom: 25px; }
  .pl-hero-grid { display: block; padding-bottom: 22px; }
  .pl-library-mark { display: none; }
  .pl-hero h1 { font-size: 38px; margin: 10px 0 15px; }
  .pl-hero-grid p { font-size: 13px; line-height: 1.85; }
  .pl-search { gap: 9px; padding: 6px 6px 6px 12px; }
  .pl-search > span .po-icon { width: 19px; height: 19px; }
  .pl-search input[type=search] { font-size: 12px; }
  .pl-search .btn { min-height: 43px; padding: 10px 15px; font-size: 11px; }
  .pl-hero-foot { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 10px; padding-top: 15px; }
  .pl-source-line { font-size: 10px; gap: 13px; }
  .pl-main { padding-top: 20px; padding-bottom: 40px; }
  .pl-assistant { margin-bottom: 23px; }
  .pl-assistant > summary { padding: 15px; gap: 12px; }
  .pl-assistant-icon { width: 36px; height: 36px; }
  .pl-assistant summary strong { font-size: 19px; }
  .pl-assistant summary small { font-size: 10px; }
  .pl-assistant-toggle { font-size: 25px; }
  .pl-assistant-body { padding: 0 16px 18px; }
  .pl-assistant-body > p { font-size: 12px; }
  .pl-ask-footer { align-items: stretch; flex-direction: column; gap: 12px; }
  .pl-ask-footer > p { font-size: 10px; }
  .pl-layout { display: block; }
  .pl-filters { margin-bottom: 25px; }
  .pl-filter-details { padding: 15px 18px; }
  .pl-filter-details > summary { font-size: 18px; }
  .pl-filter-details > summary::after { content: '−'; margin-left: auto; color: #1665cf; font-size: 22px; }
  .pl-filter-details:not([open]) > summary::after { content: '+'; }
  .pl-filter-details form { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
  .pl-filter-details form > label { grid-column: 1 / -1; margin: 0; }
  .pl-filter-details form > select { grid-column: 1 / -1; margin: 0 0 9px; font-size: 12px; }
  .pl-filter-details fieldset { grid-column: 1 / -1; margin: 0 0 10px; }
  .pl-filter-details .btn { grid-column: 1 / -1; margin-top: 4px; }
  .pl-filter-details .pl-reset { grid-column: 1 / -1; margin-top: 4px; }
  .pl-source-note { display: none; }
  .pl-results-heading { margin-bottom: 16px; }
  .pl-results-heading h2 { font-size: 26px; }
  .pl-result-count { font-size: 10px; }
  .pl-paper { padding: 20px 18px 16px; margin-bottom: 13px; }
  .pl-paper h3 { font-size: 22px; line-height: 1.4; }
  .pl-paper-meta { font-size: 10px; gap: 7px; }
  .pl-type { font-size: 9px; }
  .pl-open { font-size: 9px; }
  .pl-bibliography { font-size: 10px; }
  .pl-excerpt { font-size: 12px; }
  .pl-paper-footer { align-items: flex-start; flex-direction: column; gap: 13px; }
  .pl-read { font-size: 11px; }
  .pl-pagination .page-numbers { padding: 7px 9px; font-size: 11px; }
  .pl-single { padding-top: 20px; padding-bottom: 40px; }
  .pl-single .pl-breadcrumbs { margin-bottom: 27px; }
  .pl-record-header h1 { font-size: 30px; line-height: 1.3; }
  .pl-record-header { padding-bottom: 25px; }
  .pl-record-original { font-size: 12px; }
  .pl-record-layout { display: flex; flex-direction: column; gap: 0; }
  .pl-record-content, .pl-record-sidebar { width: 100%; min-width: 0; }
  .pl-record-section { padding: 23px 20px; margin-bottom: 16px; }
  .pl-record-section h2 { font-size: 25px; }
  .pl-prose { font-size: 13px; line-height: 1.95; }
  .pl-record-info { padding: 23px; }
  .pl-record-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .pl-record-info .btn { width: auto; padding-inline: 20px; }
  .pl-rights { padding: 22px; }
  .pl-empty { padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) { .pl-library * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .pl-assistant, .pl-filters, .pl-search, .pl-record-sidebar .btn, .pl-back { display: none !important; } .pl-library, .pl-record-section, .pl-paper { background: #fff; } .pl-layout, .pl-record-layout { display: block; } .pl-record-header, .pl-record-content { max-width: none; } .pl-record-section { break-inside: avoid; border-color: #ccc; } }
