.prc-gls{--navy:#16345f;--green:#2D6A62;--green2:#24564F;--blue:#4C7696;--border:#dce2e8;--soft:#f6f8f9;--text:#424b52;--muted:#68747c;max-width:1180px;margin:0 auto;color:var(--text);font-size:15px;line-height:1.45}.prc-gls *{box-sizing:border-box}.prc-gls-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 18px}.prc-gls-intro h2{margin:2px 0 7px;color:var(--navy);font-size:30px;line-height:1.1}.prc-gls-intro p{max-width:780px;margin:0;color:var(--text)}.prc-gls-kicker{color:var(--green);font-size:11px;font-weight:800;letter-spacing:.08em}.prc-gls-browse{flex:0 0 auto;margin-top:7px;padding:9px 12px;border:1px solid #b9cad7;border-radius:6px;background:#eef3f7;color:#3F647F!important;font-weight:700;text-decoration:none!important}.prc-gls-browse:hover{background:#dfeaf2}.prc-gls-process{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr);align-items:stretch;margin-bottom:18px;border:1px solid #cbd8d2;border-radius:8px;background:#f3f8f5}.prc-gls-process>span{display:flex;flex-direction:column;justify-content:center;padding:12px 14px}.prc-gls-process>span b{display:none}.prc-gls-process strong{color:var(--green2);font-size:14px}.prc-gls-process small{margin-top:2px;color:var(--muted);font-size:11px}.prc-gls-process i{display:flex;align-items:center;justify-content:center;color:#729183;font-style:normal;font-size:22px}.prc-gls-card,.prc-gls-results-card{margin:0 0 16px;padding:18px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 2px 7px rgba(22,52,95,.05)}.prc-gls-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.prc-gls-section-head>div{display:flex;align-items:center;gap:9px}.prc-gls-section-head strong{color:var(--navy);font-size:19px}.prc-gls-section-head>span{color:var(--muted);font-size:13px}.prc-gls-step{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:50%;background:var(--green);color:#fff;font-weight:800}.prc-gls-all{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:12px 14px;border:1px solid #bcd4c8;border-radius:7px;background:#eef7f1;cursor:pointer}.prc-gls-all input{width:18px;height:18px;flex:0 0 auto}.prc-gls-all span{display:flex;flex-direction:column}.prc-gls-all strong{color:var(--green2);font-size:15px}.prc-gls-all small{color:var(--muted);font-size:12px}.prc-gls-collections{display:grid;gap:10px}.prc-gls-collection{border:1px solid var(--border);border-radius:7px;background:#fbfcfd;overflow:hidden}.prc-gls-collection-select{display:flex;align-items:center;gap:10px;padding:11px 13px;cursor:pointer}.prc-gls-collection-select input{width:18px;height:18px;flex:0 0 auto}.prc-gls-collection-select>span{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%}.prc-gls-collection-select strong{color:var(--navy);font-size:15px}.prc-gls-collection-select small{color:var(--muted);font-size:12px}.prc-gls-collection.is-off{opacity:.55}.prc-gls-topics{padding:10px 13px 12px;border-top:1px solid var(--border);background:#fff}.prc-gls-topics>span{display:block;margin-bottom:7px;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.prc-gls-topics>div{display:flex;flex-wrap:wrap;gap:7px}.prc-gls-topics label{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #d7e0e5;border-radius:6px;background:#f7f9fa;cursor:pointer;font-size:12px}.prc-gls-topics label:has(input:checked){border-color:#9fc3ae;background:#eaf5ee;color:var(--green2)}.prc-gls-topics input{margin:0}.prc-gls-topics b{font-size:10px;color:var(--muted)}.prc-gls-form{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:8px}.prc-gls-form input,.prc-gls-form select,.prc-gls-form button{height:48px;border-radius:6px;font:inherit}.prc-gls-form input{min-width:0;padding:0 13px;border:1px solid #bccbd6;background:#fff;font-size:15px}.prc-gls-form select{padding:0 10px;border:1px solid #bccbd6;background:#fff;color:var(--text)}.prc-gls-form button{padding:0 18px;border:1px solid var(--green2);background:var(--green);color:#fff;font-weight:800;cursor:pointer}.prc-gls-form button:hover,.prc-gls-form button:focus-visible{background:var(--green2)}.prc-gls-form button[disabled]{opacity:.6;cursor:wait}.prc-gls-message{margin:0 0 12px;padding:10px 12px;border:1px solid #e0c9a7;border-radius:6px;background:#fff8ec;color:#6c5129}.prc-gls-result{margin:0 0 10px;border:1px solid var(--border);border-radius:7px;background:#fff;overflow:hidden}.prc-gls-result:last-child{margin-bottom:0}.prc-gls-result-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;width:100%;padding:12px 13px;border:0;background:#fbfcfd;text-align:left;cursor:pointer}.prc-gls-result-head:hover{background:#f3f7f8}.prc-gls-result-title strong{display:block;color:var(--navy);font-size:15px}.prc-gls-result-title small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.prc-gls-result-count{white-space:nowrap;color:var(--green2);font-size:12px;font-weight:800}.prc-gls-result-toggle{color:var(--blue);font-size:18px;font-weight:800}.prc-gls-result-body{padding:0 13px 13px;border-top:1px solid var(--border)}.prc-gls-result-actions{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0}.prc-gls-result-actions a{display:inline-block;padding:7px 10px;border:1px solid #b9cad7;border-radius:5px;background:#eef3f7;color:#3F647F!important;font-size:12px;font-weight:700;text-decoration:none!important}.prc-gls-snippet{padding:10px 0;border-top:1px solid #edf0f2}.prc-gls-snippet:first-of-type{border-top:0}.prc-gls-snippet-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:4px;color:var(--muted);font-size:11px}.prc-gls-snippet-text{font-size:13px;line-height:1.45}.prc-gls-snippet mark{padding:0 2px;background:#fff0a6;color:inherit}.prc-gls-snippet-limit{padding:10px 0 0;color:var(--muted);font-size:11px;font-style:italic}@media(max-width:760px){.prc-gls-intro{display:block}.prc-gls-browse{display:inline-block;margin-top:12px}.prc-gls-process{grid-template-columns:1fr}.prc-gls-process i{display:none}.prc-gls-form{grid-template-columns:1fr}.prc-gls-result-head{grid-template-columns:1fr auto}.prc-gls-result-count{grid-row:2;grid-column:1}.prc-gls-result-toggle{grid-row:1/3;grid-column:2}.prc-gls-section-head{align-items:flex-start;flex-direction:column}.prc-gls-collection-select>span{display:block}.prc-gls-collection-select small{display:block;margin-top:2px}}


/* v0.14.4 — paged matching-page summaries inside each publication result */
.prc-gls-snippet-list{scroll-margin-top:18px}
.prc-gls-page-nav{
  display:grid;
  grid-template-columns:auto minmax(180px,1fr) auto;
  align-items:center;
  gap:10px;
  margin:12px 0 2px;
  padding:11px 0;
  border-top:1px solid #dfe6ea;
  border-bottom:1px solid #edf0f2;
}
.prc-gls-page-button{
  min-height:36px;
  margin:0;
  padding:7px 11px;
  border:1px solid #b9cad7;
  border-radius:5px;
  background:#eef3f7;
  color:#3F647F;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.prc-gls-page-button:hover:not([disabled]),
.prc-gls-page-button:focus-visible:not([disabled]){
  background:#dfeaf2;
  border-color:#9fb7c8;
  outline:none;
}
.prc-gls-page-button[disabled]{
  opacity:.45;
  cursor:default;
}
.prc-gls-page-status{
  color:var(--navy);
  font-size:12px;
  line-height:1.3;
  text-align:center;
}
.prc-gls-page-loading,
.prc-gls-page-error{
  grid-column:1/-1;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.prc-gls-page-error{color:#8b3d32}
.prc-gls-result-actions-bottom{
  margin-top:2px;
  padding-top:10px;
}
@media(max-width:620px){
  .prc-gls-page-nav{grid-template-columns:1fr 1fr}
  .prc-gls-page-status{grid-column:1/-1;grid-row:1}
  .prc-gls-page-button{width:100%}
}


/* v0.14.5 — publication-level pagination + multi-publication selection */
.prc-gls-results-head{align-items:center}
.prc-gls-results-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end;
  gap:14px!important;
  flex-wrap:wrap;
}
.prc-gls-results-tools label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}
.prc-gls-results-tools select{
  height:34px;
  padding:0 8px;
  border:1px solid #bccbd6;
  border-radius:5px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:12px;
}
.prc-gls-publication-nav{
  display:grid;
  grid-template-columns:auto minmax(210px,1fr) auto;
  align-items:center;
  gap:10px;
  margin:10px 0;
  padding:10px 0;
  border-top:1px solid #e5eaed;
  border-bottom:1px solid #edf0f2;
}
.prc-gls-publication-nav button{
  min-height:36px;
  margin:0;
  padding:7px 11px;
  border:1px solid #b9cad7;
  border-radius:5px;
  background:#eef3f7;
  color:#3F647F;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.prc-gls-publication-nav button:hover:not([disabled]),
.prc-gls-publication-nav button:focus-visible:not([disabled]){
  background:#dfeaf2;
  border-color:#9fb7c8;
  outline:none;
}
.prc-gls-publication-nav button[disabled]{opacity:.45;cursor:default}
.prc-gls-publication-nav strong{
  color:var(--navy);
  font-size:12px;
  text-align:center;
}
.prc-gls-selection-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 0;
  padding:10px 12px;
  border:1px solid #bcd4c8;
  border-radius:7px;
  background:#eef7f1;
}
.prc-gls-selection-bar>strong{
  color:var(--green2);
  font-size:12px;
}
.prc-gls-selection-bar>div{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.prc-gls-selection-bar button{
  min-height:34px;
  margin:0;
  padding:6px 10px;
  border-radius:5px;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.prc-gls-selection-clear{
  border:1px solid #b9cad7;
  background:#fff;
  color:#3F647F;
}
.prc-gls-selection-open{
  border:1px solid var(--green2);
  background:var(--green);
  color:#fff;
}
.prc-gls-selection-open:hover:not([disabled]),
.prc-gls-selection-open:focus-visible:not([disabled]){background:var(--green2);outline:none}
.prc-gls-selection-bar button[disabled]{opacity:.45;cursor:default}
.prc-gls-result-row{
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  align-items:stretch;
  background:#fbfcfd;
}
.prc-gls-result-select-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:8px;
  border-right:1px solid var(--border);
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.prc-gls-result-select-wrap:hover{background:#f3f7f8}
.prc-gls-result-select{
  width:18px;
  height:18px;
  margin:0;
}
.prc-gls-result-row .prc-gls-result-head{
  min-width:0;
  border-radius:0;
}
@media(max-width:760px){
  .prc-gls-results-tools{justify-content:flex-start}
  .prc-gls-publication-nav{grid-template-columns:1fr 1fr}
  .prc-gls-publication-nav strong{grid-column:1/-1;grid-row:1}
  .prc-gls-publication-nav button{width:100%}
  .prc-gls-selection-bar{align-items:flex-start;flex-direction:column}
  .prc-gls-result-row{grid-template-columns:54px minmax(0,1fr)}
  .prc-gls-result-select-wrap span{display:none}
}

/* v0.14.17 — explicit return to originating Collection */
.prc-gls-intro-actions{
  flex:0 0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.prc-gls-return-collection{
  flex:0 0 auto;
  margin-top:7px;
  padding:9px 12px;
  border:1px solid #9fbfb2;
  border-radius:6px;
  background:#eef7f1;
  color:var(--green2)!important;
  font-weight:800;
  text-decoration:none!important;
}
.prc-gls-return-collection:hover,
.prc-gls-return-collection:focus-visible{
  background:#dfeee5;
  border-color:#86aa9a;
  outline:none;
}
@media(max-width:760px){
  .prc-gls-intro-actions{justify-content:flex-start;margin-top:12px}
  .prc-gls-intro-actions .prc-gls-browse,
  .prc-gls-return-collection{margin-top:0}
}


/* =========================================================
   v0.14.18 — Library Search orientation + header clarity
   Additive layout only; search, Collection and result logic retained.
   ========================================================= */
.prc-gls-intro{
  display:block;
  margin:0 0 14px;
}
.prc-gls-intro-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
}
.prc-gls-intro-title{
  flex:0 1 auto;
  min-width:220px;
}
.prc-gls-intro-title h2{
  margin:2px 0 0;
}
.prc-gls-intro-copy{
  max-width:none!important;
  width:100%;
  margin:12px 0 0!important;
  color:var(--text);
}
.prc-gls-intro-actions{
  flex:0 1 auto;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  margin:0;
}
.prc-gls-intro-actions .prc-gls-browse,
.prc-gls-intro-actions .prc-gls-return-collection,
.prc-gls-intro-actions .prc-gls-back{
  margin-top:7px;
  white-space:nowrap;
}
.prc-gls-back{
  flex:0 0 auto;
  padding:9px 12px;
  border:1px solid #b9cad7;
  border-radius:6px;
  background:#fff;
  color:#3F647F!important;
  font-weight:800;
  text-decoration:none!important;
}
.prc-gls-back:hover,
.prc-gls-back:focus-visible{
  background:#eef3f7;
  border-color:#9fb7c8;
  outline:none;
}
.prc-gls-uks-spine{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin:0 0 14px;
  padding:9px 10px;
  border:1px solid #c9d6dd;
  border-left:5px solid #173f65;
  background:#f6f9fb;
  color:#173f65;
}
.prc-gls-uks-spine>strong{
  font-size:17px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.01em;
}
.prc-gls-uks-spine>span{
  font-size:16px;
  line-height:1.42;
  color:#526472;
}
@media(max-width:900px){
  .prc-gls-intro-row{display:block}
  .prc-gls-intro-actions{justify-content:flex-start;margin-top:8px}
  .prc-gls-intro-actions .prc-gls-browse,
  .prc-gls-intro-actions .prc-gls-return-collection,
  .prc-gls-intro-actions .prc-gls-back{margin-top:0}
}
@media(max-width:620px){
  .prc-gls-intro-actions{align-items:stretch;flex-direction:column}
  .prc-gls-intro-actions .prc-gls-browse,
  .prc-gls-intro-actions .prc-gls-return-collection,
  .prc-gls-intro-actions .prc-gls-back{width:100%;text-align:center}
  .prc-gls-uks-spine>strong{font-size:15px}
  .prc-gls-uks-spine>span{font-size:14px}
}


/* =========================================================
   v0.14.19 Standard UKS conceptual spine + progressive state
   ========================================================= */
.prc-uks-spine{
  display:block!important;
  margin:5px 0 12px!important;
  padding:0!important;
  border:0!important;
  border-left:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.prc-uks-spine>strong{
  display:block!important;
  margin:0 0 3px!important;
  padding:0!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:800!important;
  color:#526472!important;
  letter-spacing:.01em!important;
}
.prc-uks-stage-line{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:0!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.prc-uks-stage-line>i{
  margin:0 5px!important;
  color:#9aa6ad!important;
  font-style:normal!important;
  font-weight:400!important;
}
.prc-uks-stage{font-weight:650!important;}
.prc-uks-stage.is-complete{color:#78a995!important;}
.prc-uks-stage.is-current{color:#2d6a62!important;font-weight:800!important;}
.prc-uks-stage.is-later{color:#8a969e!important;}


/* v0.14.19 Library Search title/spine/navigation order */
.prc-gls-intro-title{min-width:0!important;}
.prc-gls-intro-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 10px!important;
}
.prc-gls-intro-actions .prc-gls-back,
.prc-gls-intro-actions .prc-gls-browse{
  margin-top:0!important;
  white-space:nowrap!important;
}
.prc-gls-intro-copy{margin:0 0 14px!important;}
.prc-gls-uks-spine{margin:5px 0 10px!important;}
@media(max-width:620px){
  .prc-gls-intro-actions{align-items:stretch!important;flex-direction:column!important;}
  .prc-gls-intro-actions .prc-gls-back,
  .prc-gls-intro-actions .prc-gls-browse{width:100%!important;text-align:center!important;}
}

/* =========================================================
   v0.14.20 — Search Mode identity + persistent Search Contexts
   ========================================================= */
.prc-gls-search-mode{
  margin:5px 0 0;
  font-size:13px;
  line-height:1.4;
  color:#526472;
}
.prc-gls-search-mode strong{
  color:#2d6a62;
  font-weight:800;
}
.prc-gls-context-help{
  margin:10px 0 0;
  color:#526472;
  font-size:12.5px;
  line-height:1.45;
}
.prc-gls-contexts-wrap{
  margin:12px 0 0;
  padding:10px 12px;
  border:1px solid #c9d6dd;
  border-radius:7px;
  background:#f7fafb;
}
.prc-gls-contexts-label{
  margin:0 0 7px;
  color:#526472;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.prc-gls-contexts{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.prc-gls-context-tab-wrap{
  display:inline-flex;
  align-items:stretch;
  border:1px solid #b8c9d2;
  border-radius:7px;
  overflow:hidden;
  background:#fff;
}
.prc-gls-context-tab,
.prc-gls-context-close{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.prc-gls-context-tab{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  padding:7px 10px!important;
  background:#fff!important;
  color:#284e69!important;
  text-align:left;
  cursor:pointer;
}
.prc-gls-context-tab span{
  font-size:13px;
  line-height:1.25;
}
.prc-gls-context-tab small{
  color:#667b89;
  font-size:10.5px;
  line-height:1.25;
}
.prc-gls-context-tab.is-active{
  background:#e9f3ef!important;
  color:#245d54!important;
}
.prc-gls-context-tab.is-active small{color:#4f706a;}
.prc-gls-context-close{
  min-width:31px;
  padding:0 8px!important;
  border-left:1px solid #d2dde2!important;
  background:#f4f7f8!important;
  color:#6b7a82!important;
  font-size:18px!important;
  line-height:1!important;
  cursor:pointer;
}
.prc-gls-context-close:hover,
.prc-gls-context-close:focus-visible{
  background:#e6edef!important;
  color:#314a59!important;
}
.prc-gls-selection-label{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.prc-gls-selection-label small{
  color:#657984;
  font-size:11px;
  font-weight:650;
}
@media(max-width:620px){
  .prc-gls-context-tab-wrap{width:100%;}
  .prc-gls-context-tab{flex:1 1 auto;min-width:0;}
}


/* =========================================================
   v0.14.21 — Search Mode promoted into the main Library Search title
   ========================================================= */
.prc-gls-intro-title h2{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  column-gap:.22em!important;
  row-gap:0!important;
}
.prc-gls-title-separator,
.prc-gls-mode-title{
  color:inherit!important;
  font:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
}
.prc-gls-search-mode{
  margin:4px 0 0!important;
  font-size:14px!important;
  line-height:1.35!important;
  color:#526472!important;
  font-weight:650!important;
}
@media(max-width:620px){
  .prc-gls-intro-title h2{display:block!important;}
  .prc-gls-title-separator{margin:0 .12em!important;}
}


/* =========================================================
   v0.14.22 — Search Context identity made unmistakable
   ========================================================= */
.prc-gls-context-tab{
  padding:9px 12px!important;
}
.prc-gls-context-tab span{
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:700!important;
  color:#284e69!important;
}
.prc-gls-context-tab span strong{
  font-weight:850!important;
}
.prc-gls-context-tab.is-active span{
  color:var(--green2)!important;
}
.prc-gls-context-tab small{
  margin-top:2px!important;
  font-size:11.5px!important;
}
.prc-gls-results-head #prc-gls-results-title{
  color:var(--navy)!important;
  font-size:21px!important;
  font-weight:800!important;
}
#prc-gls-stats{
  color:#384f61;
  font-weight:650;
}
.prc-gls-result-context{
  display:block;
  margin:0 0 3px;
  color:var(--green2);
  font-size:11.5px;
  line-height:1.25;
  font-weight:850;
  letter-spacing:.01em;
}
@media(max-width:620px){
  .prc-gls-context-tab span{font-size:15px!important;}
  .prc-gls-results-head #prc-gls-results-title{font-size:19px!important;}
}


/* =========================================================
   v0.14.23 — one Library Search screen + explicit Collection scope
   ========================================================= */
.prc-gls-intro-title h2{
  display:block!important;
  margin-bottom:4px!important;
}
.prc-gls-search-mode{
  display:block!important;
  margin:3px 0 0!important;
  font-size:14px!important;
  line-height:1.4!important;
  color:#526472!important;
  font-weight:650!important;
}
.prc-gls-search-mode strong{
  color:var(--green2)!important;
  font-weight:850!important;
}
.prc-gls-collection-help{
  margin:-2px 0 10px!important;
  color:#65737d!important;
  font-size:12px!important;
  line-height:1.4!important;
}
.prc-gls-all small{
  max-width:780px;
}

/* v0.14.33 — make Search Target facet changes visibly consequential */
.prc-gls-topic-status{
  display:block;
  margin-top:8px;
  color:var(--green2);
  font-size:11px;
  line-height:1.35;
  font-weight:700;
}


/* =========================================================
   v0.14.34 — Search result columns + visible search parameters
   ========================================================= */
.prc-gls-parameters{
  margin:-2px 0 12px;
  padding:9px 11px;
  border:1px solid #cbd8d2;
  border-left:4px solid var(--green);
  border-radius:5px;
  background:#f3f8f5;
  color:#425d58;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
}
.prc-gls-results-columns{
  display:grid;
  grid-template-columns:78px minmax(300px,1.7fr) minmax(145px,.72fr) 82px 112px 28px;
  align-items:center;
  gap:12px;
  padding:8px 13px;
  margin:0 0 7px;
  border:1px solid var(--border);
  border-radius:6px;
  background:#eef3f6;
  color:var(--navy);
  font-size:11px;
  line-height:1.2;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.025em;
}
.prc-gls-results-columns .prc-gls-col-select{border-right:1px solid #d6e0e5;height:20px}
.prc-gls-result-row .prc-gls-result-head{
  display:grid;
  grid-template-columns:minmax(300px,1.7fr) minmax(145px,.72fr) 82px 112px 28px;
  gap:12px;
}
.prc-gls-result-author,.prc-gls-result-date{
  color:#465b69;
  font-size:12px;
  line-height:1.3;
}
.prc-gls-result-date{font-weight:750}
.prc-gls-result-count{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  white-space:normal;
}
.prc-gls-result-count strong{color:var(--green2);font-size:15px;line-height:1.1}
.prc-gls-result-count small{color:#667781;font-size:10px;font-weight:700;line-height:1.2}
@media(max-width:900px){
  .prc-gls-results-columns{display:none}
  .prc-gls-result-row .prc-gls-result-head{grid-template-columns:minmax(0,1fr) 80px 28px}
  .prc-gls-result-author{grid-column:1;grid-row:2}
  .prc-gls-result-date{grid-column:2;grid-row:1}
  .prc-gls-result-count{grid-column:2;grid-row:2}
  .prc-gls-result-toggle{grid-column:3;grid-row:1/3}
}

/* =========================================================
   v0.16.6 — fixed Content Target identity on Library Search
   ========================================================= */
.prc-gls-target-scope{
  margin:8px 0 0!important;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px 16px!important;
  max-width:980px!important;
}
.prc-gls-target-scope>div{
  display:flex!important;
  gap:7px!important;
  align-items:baseline!important;
  min-width:0!important;
  font-size:13px!important;
  line-height:1.4!important;
}
.prc-gls-target-scope strong{color:#2d6a62!important;font-weight:850!important;white-space:nowrap!important;}
.prc-gls-target-scope span{color:#526472!important;overflow-wrap:anywhere!important;}
.prc-gls-fixed-library-list{display:grid!important;gap:7px!important;margin-top:8px!important;}
.prc-gls-fixed-library-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:10px 12px!important;
  border:1px solid #cfdbe1!important;
  border-radius:5px!important;
  background:#f8fbfc!important;
}
.prc-gls-fixed-library-row strong{font-size:15px!important;color:#173f65!important;}
.prc-gls-fixed-library-row span{font-size:12.5px!important;color:#5d6b75!important;white-space:nowrap!important;}
@media(max-width:720px){
  .prc-gls-target-scope{grid-template-columns:1fr!important;}
  .prc-gls-fixed-library-row{align-items:flex-start!important;flex-direction:column!important;gap:3px!important;}
  .prc-gls-fixed-library-row span{white-space:normal!important;}
}

/* =========================================================
   v0.16.8 — Target Selection identity, consistent back control,
   target-style Search result records and explicit result sorting
   ========================================================= */
.prc-gls-target-selection-card{
  margin:0 0 12px!important;
  padding:12px 14px!important;
  border-left:5px solid var(--green)!important;
  background:#f5faf9!important;
}
.prc-gls-target-selection-title{
  margin:0 0 5px!important;
  color:var(--navy)!important;
  font-size:18px!important;
  line-height:1.3!important;
}
.prc-gls-target-selection-card .prc-gls-target-scope{
  width:100%!important;
  max-width:none!important;
  margin:7px 0 0!important;
  grid-template-columns:repeat(2,minmax(280px,1fr))!important;
  gap:8px 24px!important;
}
.prc-gls-target-selection-card .prc-gls-target-scope>div{
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  gap:8px!important;
  align-items:start!important;
}
.prc-gls-target-selection-card .prc-gls-target-scope span{
  min-width:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.prc-gls .prc-mcls-scope-back,
.prc-gls-back.prc-mcls-scope-back{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 0 8px!important;
  padding:9px 12px!important;
  border:1px solid #3f647f!important;
  border-radius:6px!important;
  background:#4c7696!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.prc-gls .prc-mcls-scope-back:hover,
.prc-gls .prc-mcls-scope-back:focus-visible{
  background:#3f647f!important;
  border-color:#315875!important;
  color:#fff!important;
  text-decoration:none!important;
  outline:none!important;
}
.prc-gls-results-tools label{font-size:13px!important;color:var(--navy)!important;}
.prc-gls-results-tools select{min-width:180px!important;height:38px!important;font-size:13px!important;}
.prc-gls-results-columns{
  grid-template-columns:38px 52px minmax(300px,1.7fr) minmax(145px,.72fr) 82px 112px 28px!important;
}
.prc-gls-result-row{
  grid-template-columns:38px 52px minmax(0,1fr)!important;
  border-left:5px solid var(--green)!important;
}
.prc-gls-result-number{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:8px 2px 8px 6px!important;
  color:#526472!important;
  font-size:13px!important;
  font-weight:700!important;
  font-variant-numeric:tabular-nums!important;
}
.prc-gls-result-select-wrap{
  padding:8px 6px!important;
  border-left:0!important;
  border-right:1px solid var(--border)!important;
}
.prc-gls-result-select-wrap span{display:none!important;}
.prc-gls-result-row .prc-gls-result-head{
  grid-template-columns:minmax(300px,1.7fr) minmax(145px,.72fr) 82px 112px 28px!important;
  padding:10px 12px!important;
  background:#fff!important;
}
.prc-gls-result-title>strong{
  color:var(--navy)!important;
  font-size:14px!important;
  line-height:1.28!important;
}
.prc-gls-result-details{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin-top:4px!important;
  color:#64727c!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.prc-gls-publication-type-badge,
.prc-gls-topic-badge,
.prc-gls-subject-badge{
  display:inline-block!important;
  width:auto!important;
  padding:2px 7px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
.prc-gls-publication-type-badge{
  border:1px solid #aeb9c3!important;
  background:#eef2f5!important;
  color:#304b61!important;
  letter-spacing:.055em!important;
}
.prc-gls-publication-type-paper{background:#eef7f5!important;border-color:#a7d5ca!important;color:#17685b!important;}
.prc-gls-publication-type-article{background:#eef4fb!important;border-color:#aac8e7!important;color:#245f91!important;}
.prc-gls-publication-type-chapter{background:#f4f0fb!important;border-color:#c6b6e4!important;color:#68489a!important;}
.prc-gls-publication-type-report{background:#fbf4e8!important;border-color:#e2c998!important;color:#805b13!important;}
.prc-gls-publication-type-other{background:#f4f4f4!important;border-color:#c7c7c7!important;color:#555!important;}
.prc-gls-topic-badge{border:1px solid #e0bd72!important;background:#fff7e5!important;color:#7a5a18!important;}
.prc-gls-subject-badge{border:1px solid #9dbfca!important;background:#eff8fb!important;color:#245f78!important;}
.prc-gls-result-meta{color:#64727c!important;font-size:12px!important;font-weight:500!important;}
.prc-gls-result-author{font-size:13px!important;color:#354653!important;}
.prc-gls-result-date{font-size:13px!important;color:#354653!important;}
.prc-gls-result-context{margin-bottom:3px!important;}
@media(max-width:900px){
  .prc-gls-result-row{grid-template-columns:34px 46px minmax(0,1fr)!important;}
  .prc-gls-result-row .prc-gls-result-head{grid-template-columns:minmax(0,1fr) 80px 28px!important;}
}
@media(max-width:760px){
  .prc-gls-target-selection-card .prc-gls-target-scope{grid-template-columns:1fr!important;}
  .prc-gls-target-selection-card .prc-gls-target-scope>div{grid-template-columns:1fr!important;gap:2px!important;}
  .prc-gls-result-row{grid-template-columns:30px 40px minmax(0,1fr)!important;}
  .prc-gls-result-number{font-size:11px!important;}
  .prc-gls-results-tools{width:100%!important;align-items:stretch!important;}
  .prc-gls-results-tools label{width:100%!important;justify-content:space-between!important;}
  .prc-gls-results-tools select{flex:1 1 auto!important;min-width:0!important;}
}
.prc-gls-result-status{color:var(--green)!important;font-weight:800!important;margin-top:2px!important;}


/* =========================================================
   v0.16.9 — Library Search width containment + title cleanup
   ========================================================= */
/* Keep the publication header/result grid inside the actual content column,
   including layouts where a WordPress sidebar makes the content column much
   narrower than the browser viewport. */
.prc-gls-results-card,
.prc-gls-results-columns,
.prc-gls-result,
.prc-gls-result-row,
.prc-gls-result-row .prc-gls-result-head{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.prc-gls-results-columns{
  grid-template-columns:38px 44px minmax(0,1.8fr) minmax(90px,.65fr) 62px minmax(86px,100px) 22px!important;
  gap:8px!important;
  padding:8px 10px!important;
}
.prc-gls-result-row{
  grid-template-columns:38px 44px minmax(0,1fr)!important;
  overflow:hidden!important;
}
.prc-gls-result-row .prc-gls-result-head{
  grid-template-columns:minmax(0,1.8fr) minmax(90px,.65fr) 62px minmax(86px,100px) 22px!important;
  gap:8px!important;
  padding:10px!important;
  overflow:hidden!important;
}
.prc-gls-result-title,
.prc-gls-result-author,
.prc-gls-result-date,
.prc-gls-result-count,
.prc-gls-result-toggle{
  min-width:0!important;
}
.prc-gls-result-author,
.prc-gls-result-count{
  overflow-wrap:break-word!important;
}
/* The publication count now lives only in the main Library Search heading. */
.prc-gls-target-selection-title{display:none!important;}


/* =========================================================
   v0.16.10 — simplified Library Search identity + scope button
   ========================================================= */
.prc-gls-intro-title>.prc-gls-kicker{display:none!important;}
.prc-gls .prc-mcls-scope-back,
.prc-gls-back.prc-mcls-scope-back{
  background:#4c7696!important;
  border-color:#3f647f!important;
  color:#fff!important;
}
.prc-gls .prc-mcls-scope-back:hover,
.prc-gls .prc-mcls-scope-back:focus-visible{
  background:#3f647f!important;
  border-color:#315875!important;
  color:#fff!important;
}


/* =========================================================
   v0.16.12 — Search field scope + compact fixed-target row
   ========================================================= */
.prc-gls-fixed-library-scope-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 205px!important;
  gap:12px!important;
  align-items:stretch!important;
  margin-top:8px!important;
}
.prc-gls-fixed-library-scope-row .prc-gls-fixed-library-list{margin-top:0!important;}
.prc-gls-search-field-control{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  padding:8px 10px!important;
  border:1px solid #cfdbe1!important;
  border-radius:5px!important;
  background:#f8fbfc!important;
  color:#173f65!important;
  font-size:12px!important;
  font-weight:800!important;
}
.prc-gls-search-field-control>span{line-height:1.2!important;}
.prc-gls-search-field-control select{
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  margin:0!important;
  padding:4px 28px 4px 8px!important;
  border:1px solid #b9c9d2!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#173f65!important;
  font-size:13px!important;
  font-weight:700!important;
}
.prc-gls-search-field-standalone{display:flex!important;justify-content:flex-end!important;margin-top:8px!important;}
.prc-gls-search-field-standalone .prc-gls-search-field-control{width:205px!important;}
.prc-gls-metadata-match{
  margin:10px 0!important;
  padding:10px 12px!important;
  border:1px solid #d4dee4!important;
  border-radius:5px!important;
  background:#f8fbfc!important;
  color:#394b58!important;
  font-size:13px!important;
  line-height:1.45!important;
}
.prc-gls-metadata-match strong{color:#173f65!important;}
.prc-gls-context-help strong{color:#173f65!important;}
@media(max-width:720px){
  .prc-gls-fixed-library-scope-row{grid-template-columns:1fr!important;}
  .prc-gls-search-field-control,.prc-gls-search-field-standalone .prc-gls-search-field-control{width:100%!important;}
  .prc-gls-search-field-standalone{justify-content:stretch!important;}
}


/* =========================================================
   v0.16.13 — Search correctness fixes
   Target count, inclusive All Content, author aliases and metadata result cleanup
   ========================================================= */
