.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-collection{
  display:block!important;
  margin-top:2px!important;
  color:#64727c!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:500!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
   ========================================================= */


/* =========================================================
   v0.16.42 — compact Library Search target summary + Help Boxes
   ========================================================= */
.prc-gls-target-selection-card{position:relative!important}
.prc-gls-target-selection-card .prc-gls-target-scope-compact{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,430px)!important;
  gap:18px 28px!important;
  align-items:start!important;
}
.prc-gls-target-selection-card .prc-gls-target-scope-compact>.prc-gls-library-scope{
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  gap:8px!important;
  align-items:start!important;
  min-width:0!important;
  font-size:13px!important;
  line-height:1.4!important;
}
.prc-gls-target-selection-card .prc-gls-target-scope-compact>.prc-gls-target-summary-right{display:flex!important;flex-direction:column!important;align-items:center!important;gap:7px!important;min-width:0!important}
.prc-gls-help-box-toggle{position:static!important;top:auto!important;right:auto!important;left:auto!important;margin:0!important}
.prc-gls-refinement-stack{display:grid!important;gap:4px!important;width:max-content!important;max-width:100%!important}
.prc-gls-refinement-stack>div{
  display:grid!important;
  grid-template-columns:max-content auto!important;
  gap:8px!important;
  align-items:baseline!important;
  justify-content:end!important;
  min-width:0!important;
  font-size:13px!important;
  line-height:1.4!important;
}
.prc-gls-refinement-stack strong{color:#2d6a62!important;font-weight:850!important;white-space:nowrap!important}
.prc-gls-refinement-stack span{color:#526472!important}
.prc-gls-help-box[hidden]{display:none!important}
.prc-gls-help-box{
  margin:12px 0 0!important;
  padding:12px 14px!important;
  border:1px solid #b9d7cf!important;
  border-left:5px solid #238b79!important;
  border-radius:5px!important;
  background:#eef8f5!important;
  color:#4c5f6b!important;
  font-size:13px!important;
  line-height:1.45!important;
}
@media(max-width:760px){
  .prc-gls-target-selection-card .prc-gls-target-scope-compact{grid-template-columns:1fr!important}
  .prc-gls-target-summary-right{align-items:flex-start!important}
  .prc-gls-refinement-stack{width:100%!important}
  .prc-gls-refinement-stack>div{grid-template-columns:1fr auto!important;justify-content:stretch!important}
}

.prc-gls-help-box-toggle-inline{position:static!important;top:auto!important;right:auto!important;left:auto!important;margin:0!important}
.prc-gls-help-box-toggle{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:#365669!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:700!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
.prc-gls-help-box-toggle input{width:14px!important;height:14px!important;margin:0!important}
.prc-gls-help-box-toggle span{color:#365669!important;font-size:12px!important;line-height:1.2!important;font-weight:700!important}

/* =========================================================
   v0.16.43 — Library Search correction pass
   Help control/refinement status stay in the upper-right of the
   fixed target panel; intro/guidance are optional green help boxes.
   ========================================================= */
.prc-gls-target-selection-card{
  position:relative!important;
  box-sizing:border-box!important;
  min-height:154px!important;
  padding:14px 360px 14px 16px!important;
}
.prc-gls-target-selection-card .prc-gls-target-scope-compact{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:7px 0 0!important;
}
.prc-gls-target-selection-card .prc-gls-library-scope{
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  gap:8px!important;
  align-items:baseline!important;
  min-width:0!important;
  font-size:13px!important;
  line-height:1.4!important;
}
.prc-gls-target-selection-card .prc-gls-target-summary-right{
  position:absolute!important;
  top:14px!important;
  right:16px!important;
  width:310px!important;
  max-width:calc(100% - 32px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:9px!important;
}
.prc-gls-target-selection-card .prc-gls-help-box-toggle{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  align-self:flex-end!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack{
  display:grid!important;
  grid-template-columns:minmax(0,250px) 34px!important;
  gap:5px 12px!important;
  width:296px!important;
  max-width:100%!important;
  align-items:baseline!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack>div{display:contents!important}
.prc-gls-target-selection-card .prc-gls-refinement-stack strong{
  min-width:0!important;
  color:#2d6a62!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:850!important;
  text-align:left!important;
  white-space:normal!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack span{
  color:#526472!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-variant-numeric:tabular-nums!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.prc-gls-intro-copy.prc-gls-help-box,
.prc-gls-context-help.prc-gls-help-box{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  margin:12px 0 0!important;
  padding:12px 14px!important;
  border:1px solid #b9d7cf!important;
  border-left:5px solid #238b79!important;
  border-radius:6px!important;
  background:#eef8f5!important;
  color:#4c5f6b!important;
}
.prc-gls-help-box[hidden]{display:none!important}
@media(max-width:860px){
  .prc-gls-target-selection-card{
    min-height:0!important;
    padding:12px 14px!important;
  }
  .prc-gls-target-selection-card .prc-gls-target-summary-right{
    position:static!important;
    width:100%!important;
    max-width:none!important;
    margin-top:12px!important;
    align-items:flex-start!important;
  }
  .prc-gls-target-selection-card .prc-gls-help-box-toggle{align-self:flex-start!important}
  .prc-gls-target-selection-card .prc-gls-refinement-stack{
    width:100%!important;
    grid-template-columns:minmax(0,1fr) 34px!important;
  }
}


/* =========================================================
   v0.16.44 — Library Search compact status alignment
   ========================================================= */
.prc-gls-target-selection-card{
  min-height:116px!important;
  padding:12px 330px 10px 16px!important;
}
.prc-gls-target-selection-card .prc-gls-target-summary-right{
  top:12px!important;
  right:16px!important;
  width:286px!important;
  gap:7px!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack{
  grid-template-columns:max-content 22px!important;
  column-gap:6px!important;
  row-gap:4px!important;
  width:auto!important;
  justify-content:end!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack strong{
  text-align:right!important;
  white-space:nowrap!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack span{
  text-align:right!important;
}
@media(max-width:860px){
  .prc-gls-target-selection-card{
    min-height:0!important;
    padding:12px 14px!important;
  }
  .prc-gls-target-selection-card .prc-gls-refinement-stack{
    width:100%!important;
    grid-template-columns:minmax(0,1fr) 22px!important;
  }
  .prc-gls-target-selection-card .prc-gls-refinement-stack strong{text-align:left!important}
}

/* =========================================================
   v0.16.45 — Library Search heading/spine readability
   ========================================================= */
.prc-gls-target-selection-card .prc-gls-library-scope strong{
  font-size:18px!important;
  line-height:1.3!important;
}
/* Search spine: one readability step larger, matching the Library page's
   prominent orientation treatment while preserving the same pathway colours. */
.prc-gls-uks-spine.prc-uks-spine>strong{
  font-size:17px!important;
  line-height:1.28!important;
}
.prc-gls-uks-spine.prc-uks-spine .prc-uks-stage-line{
  font-size:16px!important;
  line-height:1.48!important;
}
@media(max-width:620px){
  .prc-gls-uks-spine.prc-uks-spine>strong{font-size:15px!important}
  .prc-gls-uks-spine.prc-uks-spine .prc-uks-stage-line{font-size:14px!important}
}


/* =========================================================
   v0.16.48 — concise Collections label + matched Search collection-name size
   ========================================================= */
.prc-gls-target-selection-card .prc-gls-library-scope span{
  font-size:18px!important;
  line-height:1.25!important;
}

/* =========================================================
   v0.16.51 — Library Search publication Search Options +
   Library View-style result sorting
   ========================================================= */
.prc-gls-search-options-card .prc-gls-section-head{
  margin-bottom:12px;
}
.prc-gls-search-options-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.prc-gls-option-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  margin:0;
}
.prc-gls-option-field>span,
.prc-gls-option-field>legend{
  margin:0;
  padding:0;
  color:var(--navy);
  font-size:12.8px;
  font-weight:700;
  line-height:1.2;
}
.prc-gls-option-field input,
.prc-gls-option-field select{
  width:100%;
  min-width:0;
  height:40px;
  margin:0;
  padding:6px 10px;
  border:1px solid #bccbd6;
  border-radius:5px;
  background:#fff;
  color:var(--text);
  font:inherit;
  font-size:13px;
  line-height:1.2;
}
.prc-gls-option-date{
  min-width:0;
  padding:0;
  border:0;
}
.prc-gls-option-date>div{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:7px;
}
.prc-gls-option-date>div>span{
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.prc-gls-sort-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  margin:10px 0 0;
  padding:9px 10px;
  border:1px solid #c7d2d9;
  border-bottom:0;
  background:#f7fafb;
}
.prc-gls-sort-toolbar strong{
  color:#173f65;
  font-size:12.8px;
  line-height:1.2;
  white-space:nowrap;
}
.prc-gls-sort-select{
  min-width:190px;
  height:34px;
  margin:0;
  padding:4px 30px 4px 9px;
  border:1px solid #aebec9;
  border-radius:4px;
  background:#fff;
  color:#243f54;
  font:inherit;
  font-size:12.5px;
  line-height:1.2;
}
.prc-gls-sort-select:disabled{
  background:#eef1f3;
  color:#89949c;
  cursor:not-allowed;
  opacity:.8;
}
@media(max-width:820px){
  .prc-gls-search-options-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .prc-gls-search-options-grid{grid-template-columns:1fr;}
  .prc-gls-sort-toolbar{align-items:stretch;flex-direction:column;gap:6px;}
  .prc-gls-sort-select{width:100%;min-width:0;}
}

/* =========================================================
   v0.16.55 — Library Search target logic rebuild
   One Collection control at Content Target level; inherited refinements
   remain visible in a collapsed expandable panel.
   ========================================================= */
.prc-gls-process{
  grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr)!important;
}

.prc-gls-target-selection-card .prc-gls-target-scope-compact{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(220px,280px)!important;
  gap:12px 22px!important;
  align-items:end!important;
  width:100%!important;
  max-width:none!important;
  margin:7px 0 0!important;
}
.prc-gls-target-selection-card .prc-gls-library-scope{
  min-width:0!important;
}
.prc-gls-target-collection-control{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  min-width:0!important;
  margin:0!important;
}
.prc-gls-target-collection-control>span{
  color:#2d6a62!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
.prc-gls-target-collection-control select{
  width:100%!important;
  min-width:0!important;
  height:38px!important;
  margin:0!important;
  padding:5px 30px 5px 9px!important;
  border:1px solid #aebec9!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#243f54!important;
  font:inherit!important;
  font-size:13px!important;
  line-height:1.2!important;
}
.prc-gls-target-collection-control small{
  color:#6a7780!important;
  font-size:11.5px!important;
  line-height:1.35!important;
}

.prc-gls-refinements-details{
  width:100%!important;
  margin:11px 0 0!important;
  border:1px solid #d6e0e4!important;
  border-radius:6px!important;
  background:#f8fafb!important;
  overflow:hidden!important;
}
.prc-gls-refinements-details>summary{
  display:list-item!important;
  padding:9px 12px!important;
  color:#31566e!important;
  font-size:12.5px!important;
  line-height:1.3!important;
  font-weight:750!important;
  cursor:pointer!important;
  user-select:none!important;
}
.prc-gls-refinements-details[open]>summary{
  border-bottom:1px solid #dce4e8!important;
  background:#f1f6f8!important;
}
.prc-gls-refinements-expanded{
  display:grid!important;
  gap:7px!important;
  padding:11px 12px 12px!important;
}
.prc-gls-refinements-expanded>div{
  display:grid!important;
  grid-template-columns:145px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  font-size:12.5px!important;
  line-height:1.4!important;
}
.prc-gls-refinements-expanded>div>strong{
  color:#2d6a62!important;
  font-weight:800!important;
}
.prc-gls-refinements-expanded>div>span{
  color:#526472!important;
  overflow-wrap:anywhere!important;
}
.prc-gls-refinements-expanded>p{
  margin:3px 0 0!important;
  padding-top:8px!important;
  border-top:1px solid #e1e7ea!important;
  color:#6a7780!important;
  font-size:11.8px!important;
  line-height:1.45!important;
}

/* Four Search Options now fit naturally on one row at desktop width. */
.prc-gls-search-options-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

@media(max-width:980px){
  .prc-gls-process{grid-template-columns:1fr!important;}
  .prc-gls-process i{display:none!important;}
  .prc-gls-search-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:860px){
  .prc-gls-target-selection-card .prc-gls-target-scope-compact{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
  .prc-gls-refinements-expanded>div{
    grid-template-columns:1fr!important;
    gap:2px!important;
  }
}
@media(max-width:620px){
  .prc-gls-search-options-grid{grid-template-columns:1fr!important;}
}

/* =========================================================
   v0.16.56 — multi-Collection Scope + separate refinements panel
   ========================================================= */
.prc-gls-target-selection-card{
  min-height:116px!important;
  padding:12px 330px 12px 16px!important;
}
.prc-gls-target-primary-row{
  display:flex!important;
  align-items:flex-start!important;
  gap:18px!important;
  width:100%!important;
  min-width:0!important;
}
.prc-gls-target-primary-row .prc-mcls-scope-back{
  flex:0 0 auto!important;
  margin:0!important;
}
.prc-gls-target-collection-control{
  display:flex!important;
  flex:1 1 360px!important;
  flex-direction:column!important;
  gap:5px!important;
  min-width:240px!important;
  max-width:430px!important;
  margin:0!important;
}
.prc-gls-target-collection-control>span{
  color:#2d6a62!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
.prc-gls-target-collection-control>small{
  color:#6a7780!important;
  font-size:11.5px!important;
  line-height:1.35!important;
}
.prc-gls-target-collection-multi{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.prc-gls-target-collection-multi>summary{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-height:38px!important;
  margin:0!important;
  padding:7px 34px 7px 10px!important;
  border:1px solid #aebec9!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#243f54!important;
  font-size:13px!important;
  line-height:1.2!important;
  cursor:pointer!important;
  list-style:none!important;
  user-select:none!important;
}
.prc-gls-target-collection-multi>summary::-webkit-details-marker{display:none!important}
.prc-gls-target-collection-multi>summary::after{
  content:'▾'!important;
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:#31566e!important;
  font-size:14px!important;
  line-height:1!important;
}
.prc-gls-target-collection-multi[open]>summary::after{content:'▴'!important}
.prc-gls-target-collection-menu{
  position:absolute!important;
  z-index:50!important;
  top:calc(100% + 4px)!important;
  left:0!important;
  width:100%!important;
  max-height:290px!important;
  overflow:auto!important;
  padding:7px!important;
  border:1px solid #aebec9!important;
  border-radius:6px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(22,52,95,.16)!important;
}
.prc-gls-target-collection-option{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  margin:0!important;
  padding:8px 9px!important;
  border-radius:4px!important;
  color:#243f54!important;
  font-size:13px!important;
  line-height:1.25!important;
  cursor:pointer!important;
}
.prc-gls-target-collection-option:hover{background:#f1f6f8!important}
.prc-gls-target-collection-option input{
  flex:0 0 auto!important;
  width:16px!important;
  height:16px!important;
  margin:0!important;
}
.prc-gls-target-collection-all{
  color:#2d6a62!important;
  font-weight:800!important;
}
.prc-gls-target-collection-divider{
  height:1px!important;
  margin:4px 2px!important;
  background:#dce4e8!important;
}
.prc-gls-refinements-panel{
  display:block!important;
  width:100%!important;
  margin:10px 0 0!important;
  border:1px solid #cbd8d2!important;
  border-left:5px solid #2d6a62!important;
  border-radius:7px!important;
  background:#f3f8f5!important;
  overflow:hidden!important;
}
.prc-gls-refinements-panel>summary{
  display:list-item!important;
  padding:11px 14px!important;
  color:#2d6a62!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:800!important;
  cursor:pointer!important;
  user-select:none!important;
}
.prc-gls-refinements-panel[open]>summary{
  border-bottom:1px solid #cbd8d2!important;
  background:#eef6f1!important;
}
.prc-gls-refinements-panel .prc-gls-refinements-expanded{
  padding:12px 14px 13px!important;
  background:#f8fbf9!important;
}

@media(max-width:980px){
  .prc-gls-target-selection-card{
    min-height:0!important;
    padding:12px 14px!important;
  }
  .prc-gls-target-primary-row{
    padding-right:300px!important;
  }
}
@media(max-width:860px){
  .prc-gls-target-primary-row{
    flex-direction:column!important;
    gap:10px!important;
    padding-right:0!important;
  }
  .prc-gls-target-collection-control{
    flex:0 1 auto!important;
    width:100%!important;
    max-width:none!important;
  }
  .prc-gls-target-collection-menu{
    position:relative!important;
    top:auto!important;
    margin-top:4px!important;
  }
}
\n\n/* =========================================================\n   v0.16.57 — editable Content Target refinements + target count\n   ========================================================= */\n.prc-gls-target-primary-row{\n  align-items:flex-start!important;\n}\n.prc-gls-target-publication-count{\n  flex:0 0 auto!important;\n  align-self:center!important;\n  margin:18px 0 0 2px!important;\n  padding:8px 10px!important;\n  border:1px solid #c6d8cf!important;\n  border-radius:5px!important;\n  background:#f8fbf9!important;\n  color:#526472!important;\n  font-size:13px!important;\n  line-height:1.2!important;\n  white-space:nowrap!important;\n}\n.prc-gls-target-publication-count strong{\n  color:#2d6a62!important;\n  font-size:14px!important;\n  font-weight:850!important;\n}\n.prc-gls-refinements-expanded{\n  gap:10px!important;\n}\n.prc-gls-refinements-expanded>div.prc-gls-refinement-edit-row,\n.prc-gls-refinements-expanded>div.prc-gls-subject-refinement-row{\n  grid-template-columns:145px minmax(0,1fr)!important;\n  align-items:start!important;\n}\n.prc-gls-subject-refinement-row small{\n  grid-column:2!important;\n  color:#6a7780!important;\n  font-size:11.8px!important;\n  line-height:1.4!important;\n}\n.prc-gls-refinement-multi{\n  position:relative!important;\n  width:100%!important;\n  max-width:520px!important;\n  margin:0!important;\n}\n.prc-gls-refinement-multi>summary{\n  position:relative!important;\n  display:flex!important;\n  align-items:center!important;\n  min-height:36px!important;\n  width:100%!important;\n  padding:7px 34px 7px 10px!important;\n  border:1px solid #aebec9!important;\n  border-radius:5px!important;\n  background:#fff!important;\n  color:#243f54!important;\n  font-size:12.5px!important;\n  line-height:1.25!important;\n  cursor:pointer!important;\n  list-style:none!important;\n  user-select:none!important;\n  box-sizing:border-box!important;\n}\n.prc-gls-refinement-multi>summary::-webkit-details-marker{display:none!important}\n.prc-gls-refinement-multi>summary::after{\n  content:'▾'!important;\n  position:absolute!important;\n  right:10px!important;\n  top:50%!important;\n  transform:translateY(-50%)!important;\n  color:#31566e!important;\n}\n.prc-gls-refinement-multi[open]>summary::after{content:'▴'!important}\n.prc-gls-refinement-menu{\n  position:absolute!important;\n  z-index:60!important;\n  top:calc(100% + 4px)!important;\n  left:0!important;\n  width:100%!important;\n  max-height:300px!important;\n  overflow:auto!important;\n  padding:7px!important;\n  border:1px solid #aebec9!important;\n  border-radius:6px!important;\n  background:#fff!important;\n  box-shadow:0 6px 18px rgba(22,52,95,.16)!important;\n  box-sizing:border-box!important;\n}\n.prc-gls-refinement-option{\n  display:flex!important;\n  align-items:center!important;\n  gap:8px!important;\n  width:100%!important;\n  margin:0!important;\n  padding:7px 8px!important;\n  border-radius:4px!important;\n  color:#243f54!important;\n  font-size:12.5px!important;\n  line-height:1.25!important;\n  cursor:pointer!important;\n  box-sizing:border-box!important;\n}\n.prc-gls-refinement-option:hover{background:#f1f6f8!important}\n.prc-gls-refinement-option input{\n  flex:0 0 auto!important;\n  width:16px!important;\n  height:16px!important;\n  margin:0!important;\n}\n.prc-gls-refinement-group-label{\n  margin:5px 4px 2px!important;\n  padding:5px 4px 3px!important;\n  border-bottom:1px solid #e2e8eb!important;\n  color:#2d6a62!important;\n  font-size:11.5px!important;\n  font-weight:850!important;\n  text-transform:uppercase!important;\n  letter-spacing:.03em!important;\n}\n@media(max-width:980px){\n  .prc-gls-target-publication-count{margin-top:18px!important}\n}\n@media(max-width:860px){\n  .prc-gls-target-publication-count{align-self:flex-start!important;margin:0!important}\n  .prc-gls-refinements-expanded>div.prc-gls-refinement-edit-row,\n  .prc-gls-refinements-expanded>div.prc-gls-subject-refinement-row{grid-template-columns:1fr!important}\n  .prc-gls-subject-refinement-row small{grid-column:1!important}\n  .prc-gls-refinement-multi{max-width:none!important}\n  .prc-gls-refinement-menu{position:relative!important;top:auto!important;margin-top:4px!important}\n}\n
/* =========================================================
   v0.16.58 — Round 5 compact target status + refinement menus
   ========================================================= */
.prc-gls-target-back-stack{
  display:flex!important;
  flex:0 0 auto!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:8px!important;
  min-width:0!important;
}
.prc-gls-target-back-stack .prc-mcls-scope-back{
  margin:0!important;
}
.prc-gls-target-back-stack .prc-gls-target-publication-count{
  align-self:flex-start!important;
  margin:0!important;
}
.prc-gls-target-publication-count strong{
  color:#2d6a62!important;
}
.prc-gls-refinement-actions{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0 0 7px!important;
  padding:0 0 7px!important;
  border-bottom:1px solid #e2e8eb!important;
}
.prc-gls-refinement-action{
  appearance:none!important;
  -webkit-appearance:none!important;
  margin:0!important;
  padding:5px 9px!important;
  border:1px solid #b9c7cf!important;
  border-radius:4px!important;
  background:#f5f8fa!important;
  color:#31566e!important;
  font-size:11.8px!important;
  line-height:1.2!important;
  font-weight:750!important;
  cursor:pointer!important;
}
.prc-gls-refinement-action:hover,
.prc-gls-refinement-action:focus{
  background:#eaf2f5!important;
}
.prc-gls-topic-project-menu{
  width:min(760px,calc(100vw - 80px))!important;
  max-width:760px!important;
}
.prc-gls-refinement-group-row{
  display:grid!important;
  grid-template-columns:82px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  padding:6px 3px!important;
}
.prc-gls-refinement-group-row+.prc-gls-refinement-group-row{
  margin-top:3px!important;
  padding-top:9px!important;
  border-top:1px solid #edf1f3!important;
}
.prc-gls-refinement-group-label{
  margin:3px 0 0!important;
  padding:0!important;
  border:0!important;
  color:#2d6a62!important;
  font-size:12.5px!important;
  line-height:1.3!important;
  font-weight:850!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.prc-gls-refinement-group-options{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px 12px!important;
  min-width:0!important;
}
.prc-gls-refinement-group-options .prc-gls-refinement-option{
  display:inline-flex!important;
  width:auto!important;
  padding:3px 2px!important;
  white-space:nowrap!important;
}
@media(max-width:860px){
  .prc-gls-target-back-stack{width:100%!important}
  .prc-gls-topic-project-menu{width:100%!important;max-width:none!important}
  .prc-gls-refinement-group-row{grid-template-columns:1fr!important;gap:5px!important}
  .prc-gls-refinement-group-label{margin-top:0!important}
}

/* =========================================================
   v0.16.59 — Round 6 Search Target / refinement UI
   ========================================================= */
.prc-gls-target-back-stack{
  gap:0!important;
}
.prc-gls-target-back-stack .prc-gls-target-publication-count{
  margin-top:10px!important;
  display:grid!important;
  gap:3px!important;
}
.prc-gls-target-publication-count>div{
  display:flex!important;
  align-items:baseline!important;
  gap:4px!important;
}
.prc-gls-target-publication-count strong{
  color:#2d6a62!important;
  font-weight:850!important;
}

/* Keep the Topic / Project menu inside its control and wrap cleanly. */
.prc-gls-topic-project-menu{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
.prc-gls-refinement-group-options{
  min-width:0!important;
  max-width:100%!important;
}
.prc-gls-refinement-group-options .prc-gls-refinement-option{
  max-width:100%!important;
  white-space:normal!important;
}

/* Full-width Help Boxes explanation directly below Current Refinements. */
.prc-gls-refinement-logic-help{
  display:block!important;
  width:100%!important;
  margin:10px 0 0!important;
  padding:13px 15px!important;
  border:1px solid #cbd8d2!important;
  border-left:5px solid #2d6a62!important;
  border-radius:7px!important;
  background:#f3f8f5!important;
  color:#40535d!important;
  box-sizing:border-box!important;
  font-size:12.5px!important;
  line-height:1.5!important;
}
.prc-gls-refinement-logic-help[hidden]{display:none!important}
.prc-gls-refinement-logic-help>strong{
  display:block!important;
  margin:0 0 7px!important;
  color:#2d6a62!important;
  font-size:13.5px!important;
  font-weight:850!important;
}
.prc-gls-refinement-logic-help p{
  margin:5px 0!important;
}
.prc-gls-refinement-logic-formula{
  margin:8px 0!important;
  padding:8px 10px!important;
  border:1px solid #d9e5de!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#2f4958!important;
  font-weight:700!important;
}

/* =========================================================
   v0.16.60 — Round 7 refinement workflow / keyboard search
   ========================================================= */
.prc-gls-refinements-panel>summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  list-style:none!important;
}
.prc-gls-refinements-panel>summary::-webkit-details-marker{
  display:none!important;
}
.prc-gls-refinements-summary-label{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
}
.prc-gls-refinements-summary-label::before{
  content:'▸'!important;
  color:#2d6a62!important;
  font-size:13px!important;
  line-height:1!important;
}
.prc-gls-refinements-panel[open]>.prc-gls-refinements-summary-label::before,
.prc-gls-refinements-panel[open]>summary .prc-gls-refinements-summary-label::before{
  content:'▾'!important;
}
.prc-gls-clear-all-refinements{
  appearance:none!important;
  -webkit-appearance:none!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:6px 10px!important;
  border:1px solid #9fb9ad!important;
  border-radius:4px!important;
  background:#ffffff!important;
  color:#2d6a62!important;
  font-size:11.8px!important;
  line-height:1.2!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.prc-gls-clear-all-refinements:hover,
.prc-gls-clear-all-refinements:focus{
  background:#e8f2ed!important;
}

/* More breathing room between the selector summary and Select all / None. */
.prc-gls-refinement-actions{
  margin-top:9px!important;
}

.prc-gls-subject-scope-note{
  display:inline!important;
  margin-left:6px!important;
  color:#6d7880!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:500!important;
}

@media(max-width:700px){
  .prc-gls-refinements-panel>summary{
    align-items:flex-start!important;
  }
  .prc-gls-clear-all-refinements{
    max-width:48%!important;
    white-space:normal!important;
    text-align:center!important;
  }
  .prc-gls-subject-scope-note{
    display:block!important;
    margin:4px 0 0!important;
  }
}


/* =========================================================
   v0.16.61 — Round 8 Active Search reset + stage help panels
   ========================================================= */
.prc-gls-contexts-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 7px!important;
}
.prc-gls-contexts-head .prc-gls-contexts-label{
  margin:0!important;
}
.prc-gls-contexts-clear-all{
  flex:0 0 auto!important;
  margin:0!important;
  padding:5px 11px!important;
  border:1px solid #b8c9d2!important;
  border-radius:5px!important;
  background:#ffffff!important;
  color:#4e6573!important;
  font-size:11.5px!important;
  line-height:1.2!important;
  font-weight:750!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.prc-gls-contexts-clear-all:hover,
.prc-gls-contexts-clear-all:focus{
  background:#f1f6f8!important;
  color:#284e69!important;
}
.prc-gls-stage-help{
  display:block!important;
  width:100%!important;
  margin:10px 0!important;
  padding:13px 15px!important;
  border:1px solid #cbd8d2!important;
  border-left:5px solid #2d6a62!important;
  border-radius:7px!important;
  background:#f3f8f5!important;
  color:#40535d!important;
  box-sizing:border-box!important;
  font-size:12.5px!important;
  line-height:1.5!important;
}
.prc-gls-stage-help[hidden]{display:none!important}
.prc-gls-stage-help>strong{
  display:block!important;
  margin:0 0 7px!important;
  color:#2d6a62!important;
  font-size:13.5px!important;
  font-weight:850!important;
}
.prc-gls-stage-help p{
  margin:5px 0!important;
}


/* =========================================================
   v0.16.65 — Search Results typography
   Match the 13px body/control size used in the Search Target
   "collections selected" panel, while preserving larger titles.
   ========================================================= */
.prc-gls-selection-bar,
.prc-gls-publication-nav,
.prc-gls-results-tools,
.prc-gls-results-card,
.prc-gls-result-row{
  font-size:13px!important;
}

.prc-gls-selection-bar>strong,
.prc-gls-selection-bar button,
.prc-gls-publication-nav strong,
.prc-gls-results-tools label,
.prc-gls-results-tools select,
.prc-gls-result-number,
.prc-gls-result-collection,
.prc-gls-result-details,
.prc-gls-result-meta,
.prc-gls-result-author,
.prc-gls-result-date,
.prc-gls-result-status{
  font-size:13px!important;
}

/* Keep the publication title as the visual heading. */
.prc-gls-result-title>strong{
  font-size:14px!important;
}

/* Badges remain compact but are enlarged to sit comfortably with 13px text. */
.prc-gls-publication-type-badge,
.prc-gls-topic-badge,
.prc-gls-subject-badge{
  font-size:11px!important;
}

/* Secondary line within the green selection panel. */
.prc-gls-selection-label small{
  font-size:13px!important;
}


/* =========================================================
   v0.16.66 — Current Refinements: open layout + larger type
   Requested UI change only.
   ========================================================= */

/* Make the entire Current Refinements panel read at the same
   comfortable scale as the main interface. */
.prc-gls-refinements-panel>summary{
  padding:14px 18px!important;
  font-size:17px!important;
  line-height:1.3!important;
}
.prc-gls-refinements-summary-label{
  font-size:17px!important;
  line-height:1.3!important;
}
.prc-gls-refinements-summary-label::before{
  font-size:16px!important;
}
.prc-gls-clear-all-refinements{
  padding:8px 13px!important;
  font-size:15px!important;
  line-height:1.2!important;
}

/* Lay every refinement section out openly, rather than in a
   narrow label/value grid. */
.prc-gls-refinements-panel .prc-gls-refinements-expanded{
  gap:18px!important;
  padding:17px 20px 20px!important;
}
.prc-gls-refinements-expanded>div.prc-gls-refinement-edit-row,
.prc-gls-refinements-expanded>div.prc-gls-subject-refinement-row{
  display:block!important;
  font-size:16px!important;
  line-height:1.45!important;
}
.prc-gls-refinements-expanded>div>strong{
  display:block!important;
  margin:0 0 8px!important;
  color:#2d6a62!important;
  font-size:17px!important;
  line-height:1.3!important;
  font-weight:850!important;
}
.prc-gls-refinements-expanded>div>span{
  display:block!important;
  color:#526472!important;
  font-size:16px!important;
  line-height:1.45!important;
}

/* The two former nested dropdowns are now static, full-width sections. */
.prc-gls-refinement-inline{
  position:static!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.prc-gls-refinement-menu-inline{
  position:static!important;
  z-index:auto!important;
  top:auto!important;
  left:auto!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:7px 18px!important;
  width:100%!important;
  max-width:none!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Select all / None stay at the top, but no longer sit inside a dropdown. */
.prc-gls-refinement-menu-inline>.prc-gls-refinement-actions{
  flex:0 0 100%!important;
  width:100%!important;
  margin:0 0 5px!important;
  padding:0 0 9px!important;
  border-bottom:1px solid #dce7e1!important;
}
.prc-gls-refinement-action{
  padding:7px 12px!important;
  font-size:14.5px!important;
  line-height:1.2!important;
}

/* Type / Form options spread naturally across the full available width. */
.prc-gls-refinement-menu-inline>.prc-gls-refinement-option{
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:auto!important;
  margin:0!important;
  padding:4px 2px!important;
  color:#344550!important;
  font-size:16px!important;
  line-height:1.3!important;
  white-space:normal!important;
}
.prc-gls-refinement-option input{
  width:18px!important;
  height:18px!important;
  margin:0!important;
}

/* Topic and Project groups now start at the left edge and use the
   full panel width instead of reserving a narrow left label column. */
.prc-gls-topic-project-menu{
  display:block!important;
  width:100%!important;
  max-width:none!important;
}
.prc-gls-topic-project-menu>.prc-gls-refinement-actions{
  width:100%!important;
}
.prc-gls-refinement-group-row{
  display:block!important;
  width:100%!important;
  padding:10px 0 4px!important;
}
.prc-gls-refinement-group-row+.prc-gls-refinement-group-row{
  margin-top:8px!important;
  padding-top:14px!important;
  border-top:1px solid #dfe8e3!important;
}
.prc-gls-refinement-group-label{
  display:block!important;
  margin:0 0 7px!important;
  padding:0!important;
  color:#2d6a62!important;
  font-size:16px!important;
  line-height:1.3!important;
  font-weight:850!important;
}
.prc-gls-refinement-group-options{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px 20px!important;
  width:100%!important;
  max-width:none!important;
  padding:0!important;
}
.prc-gls-refinement-group-options .prc-gls-refinement-option{
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:100%!important;
  padding:4px 2px!important;
  color:#344550!important;
  font-size:16px!important;
  line-height:1.3!important;
  white-space:normal!important;
}

/* Subject line and its instruction are enlarged to match. */
.prc-gls-subject-refinement-row .prc-gls-subject-scope-note{
  display:inline!important;
  margin-left:7px!important;
  color:#6d7880!important;
  font-size:14.5px!important;
  line-height:1.4!important;
  font-weight:500!important;
}

@media(max-width:700px){
  .prc-gls-refinements-panel>summary{
    gap:10px!important;
  }
  .prc-gls-clear-all-refinements{
    font-size:14px!important;
  }
  .prc-gls-subject-refinement-row .prc-gls-subject-scope-note{
    display:block!important;
    margin:5px 0 0!important;
  }
}


/* =========================================================
   v0.16.67 — Search workflow consolidation
   1) Search Target is the existing upper target-scope panel.
   Search in moves into the Search Content row.
   ========================================================= */

/* The existing upper target-scope panel is now explicitly Step 1. */
.prc-gls-target-selection-card .prc-gls-target-selection-heading{
  margin:0 0 13px!important;
  padding:0!important;
}
.prc-gls-target-selection-card .prc-gls-target-selection-heading>div{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
}
.prc-gls-target-selection-card .prc-gls-target-selection-heading strong{
  color:var(--navy)!important;
  font-size:19px!important;
  line-height:1.25!important;
}
.prc-gls-target-selection-card{
  min-height:0!important;
}

/* Preserve the useful target-status information as a grey line at the
   bottom of the new upper Search Target panel. */
.prc-gls-target-status-line{
  margin:12px 0 0!important;
  padding:7px 0 0!important;
  border-top:1px solid #dfe8e4!important;
  color:#68747c!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:500!important;
}

/* Search Content is now one coherent action row:
   text -> matching mode -> Search in -> Search Library. */
.prc-gls-form{
  grid-template-columns:minmax(0,1fr) 150px 220px auto!important;
  align-items:stretch!important;
}
.prc-gls-form .prc-gls-search-field-inline{
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr)!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  margin:0!important;
  padding:0!important;
}
.prc-gls-form .prc-gls-search-field-inline>span{
  color:#526472!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.prc-gls-form .prc-gls-search-field-inline select{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  margin:0!important;
  padding:0 28px 0 10px!important;
  border:1px solid #bccbd6!important;
  border-radius:6px!important;
  background:#fff!important;
  color:var(--text)!important;
  font:inherit!important;
}

/* Preserve the dynamic Search: ... status line, now beneath Search Content. */
.prc-gls-content-search-summary{
  margin:8px 0 0!important;
  color:#68747c!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:500!important;
}

@media(max-width:920px){
  .prc-gls-form{
    grid-template-columns:minmax(0,1fr) 145px!important;
  }
  .prc-gls-form .prc-gls-search-field-inline{
    grid-column:1!important;
  }
  .prc-gls-form>button[type="submit"]{
    grid-column:2!important;
  }
}

@media(max-width:760px){
  .prc-gls-form{
    grid-template-columns:1fr!important;
  }
  .prc-gls-form .prc-gls-search-field-inline,
  .prc-gls-form>button[type="submit"]{
    grid-column:auto!important;
  }
}


/* =========================================================
   v0.16.68 — Change list 1–6
   ========================================================= */

/* 1 — Search Target alignment */
.prc-gls-target-selection-card{
  padding:14px 16px 12px!important;
}
.prc-gls-target-selection-card .prc-gls-target-selection-heading{
  display:grid!important;
  grid-template-columns:340px minmax(0,1fr)!important;
  column-gap:28px!important;
  align-items:end!important;
  width:100%!important;
  margin:0 0 10px!important;
}
.prc-gls-target-collection-heading{
  display:block!important;
  margin:0!important;
  color:#2d6a62!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:850!important;
}
.prc-gls-target-primary-row{
  display:grid!important;
  grid-template-columns:340px minmax(0,1fr)!important;
  column-gap:28px!important;
  align-items:start!important;
  width:100%!important;
}
.prc-gls-target-collection-control{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
.prc-gls-target-collection-multi{
  width:100%!important;
  max-width:none!important;
}
.prc-gls-target-selection-card .prc-gls-target-summary-right{
  position:static!important;
  width:100%!important;
  max-width:none!important;
  margin:10px 0 0!important;
  align-items:flex-start!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack{
  width:auto!important;
  max-width:100%!important;
}

/* 3 — full-width, one-line Search Target status */
.prc-gls-target-status-line{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

/* 4 — align all Search Options selectors */
.prc-gls-search-options-grid{
  align-items:start!important;
}
.prc-gls-option-field{
  display:grid!important;
  grid-template-rows:25px 48px!important;
  gap:6px!important;
  align-items:stretch!important;
}
.prc-gls-option-field>span,
.prc-gls-option-field>legend{
  display:flex!important;
  align-items:flex-end!important;
  height:25px!important;
  min-height:25px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.prc-gls-option-field input,
.prc-gls-option-field select{
  height:48px!important;
  min-height:48px!important;
  box-sizing:border-box!important;
}
.prc-gls-option-date{
  display:grid!important;
  grid-template-rows:25px 48px!important;
}
.prc-gls-option-date>div{
  height:48px!important;
  min-height:48px!important;
  align-items:stretch!important;
}
.prc-gls-option-date>div>input{
  height:48px!important;
  min-height:48px!important;
}
.prc-gls-option-date>div>span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* 5 — Select all / None on heading line */
.prc-gls-refinement-heading-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  width:100%!important;
  margin:0 0 8px!important;
}
.prc-gls-refinements-expanded .prc-gls-refinement-heading-row>strong{
  display:block!important;
  flex:0 0 auto!important;
  margin:0!important;
  color:#2d6a62!important;
  font-size:17px!important;
  line-height:1.3!important;
  font-weight:850!important;
}
.prc-gls-refinement-heading-row .prc-gls-refinement-actions{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

/* 6 — private status in PRC orange */
.prc-gls-result-status-private{
  color:#b85c00!important;
  font-weight:800!important;
}

@media(max-width:860px){
  .prc-gls-target-selection-card .prc-gls-target-selection-heading,
  .prc-gls-target-primary-row{
    grid-template-columns:1fr!important;
    row-gap:8px!important;
  }
  .prc-gls-target-collection-heading{
    margin-top:4px!important;
  }
  .prc-gls-target-status-line{
    white-space:normal!important;
  }
}
@media(max-width:620px){
  .prc-gls-refinement-heading-row{
    flex-wrap:wrap!important;
  }
}


/* =========================================================
   v0.16.69 — Search Target panel exact correction
   ========================================================= */

/* Top row: Search Target left, Help Boxes top-right. */
.prc-gls-target-selection-card .prc-gls-target-selection-heading{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  width:100%!important;
  margin:0 0 10px!important;
}
.prc-gls-target-selection-card .prc-gls-target-selection-heading>div{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
}
.prc-gls-target-selection-card .prc-gls-target-selection-heading .prc-gls-help-box-toggle{
  position:static!important;
  inset:auto!important;
  flex:0 0 auto!important;
  align-self:center!important;
  margin:0!important;
}

/* Next row: Library button | Collection Scope | refinement counts. */
.prc-gls-target-primary-row{
  display:grid!important;
  grid-template-columns:max-content minmax(300px,1fr) 190px!important;
  column-gap:18px!important;
  align-items:start!important;
  width:100%!important;
}
.prc-gls-target-back-stack{
  min-width:0!important;
}
.prc-gls-target-collection-control{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
.prc-gls-target-collection-label{
  display:block!important;
  margin:0!important;
  color:#2d6a62!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
.prc-gls-target-collection-multi{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.prc-gls-target-collection-control>small{
  display:block!important;
  margin:0!important;
  color:#6b7880!important;
  font-size:11.5px!important;
  line-height:1.3!important;
  font-weight:500!important;
}

/* Right side directly below Help Boxes: three stacked count lines. */
.prc-gls-target-selection-card .prc-gls-target-summary-right{
  position:static!important;
  display:block!important;
  width:190px!important;
  max-width:190px!important;
  margin:0!important;
  padding:0!important;
  justify-self:end!important;
  align-self:start!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack{
  display:grid!important;
  grid-template-columns:max-content 24px!important;
  column-gap:7px!important;
  row-gap:4px!important;
  width:max-content!important;
  max-width:100%!important;
  margin:0 0 0 auto!important;
  justify-content:end!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack>div{
  display:contents!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack strong{
  color:#2d6a62!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:850!important;
  text-align:right!important;
  white-space:nowrap!important;
}
.prc-gls-target-selection-card .prc-gls-refinement-stack span{
  color:#526472!important;
  font-size:13px!important;
  line-height:1.35!important;
  text-align:right!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}

/* Bottom: full-width one-line Search Target status. */
.prc-gls-target-status-line{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin:11px 0 0!important;
  padding:7px 0 0!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

@media(max-width:860px){
  .prc-gls-target-primary-row{
    grid-template-columns:1fr!important;
    row-gap:10px!important;
  }
  .prc-gls-target-selection-card .prc-gls-target-summary-right{
    width:100%!important;
    max-width:none!important;
    justify-self:stretch!important;
  }
  .prc-gls-target-selection-card .prc-gls-refinement-stack{
    margin:0!important;
    justify-content:start!important;
  }
  .prc-gls-target-selection-card .prc-gls-refinement-stack strong{
    text-align:left!important;
  }
  .prc-gls-target-status-line{
    white-space:normal!important;
  }
}


/* =========================================================
   v0.16.70 — Change list 1–7
   ========================================================= */

/* CHANGE 1 — Move the full Collection Scope block upward.
   The dropdown itself aligns with the Library of Perspective button;
   the green heading sits immediately above it; grey text stays directly below. */
.prc-gls-target-selection-card .prc-gls-target-collection-control{
  margin-top:-22px!important;
  gap:3px!important;
}
.prc-gls-target-selection-card .prc-gls-target-collection-label{
  display:block!important;
  min-height:19px!important;
  margin:0!important;
  color:#2d6a62!important;
  font-size:13px!important;
  line-height:19px!important;
  font-weight:850!important;
}
.prc-gls-target-selection-card .prc-gls-target-collection-multi{
  margin:0!important;
}
.prc-gls-target-selection-card .prc-gls-target-collection-control>small{
  margin:0!important;
  padding:0!important;
  line-height:1.25!important;
}

/* CHANGE 3 — Subject heading and grey All Subjects line on one row.
   Grey content is smaller than the green Subject heading. */
.prc-gls-refinements-expanded .prc-gls-subject-refinement-row{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:6px 12px!important;
  width:100%!important;
}
.prc-gls-refinements-expanded .prc-gls-subject-refinement-row>strong{
  display:inline-block!important;
  flex:0 0 auto!important;
  margin:0!important;
  color:#2d6a62!important;
  font-size:17px!important;
  line-height:1.3!important;
  font-weight:850!important;
}
.prc-gls-refinements-expanded .prc-gls-subject-refinement-row>span{
  display:inline-flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:0 7px!important;
  margin:0!important;
  color:#68747c!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:500!important;
}
.prc-gls-refinements-expanded #prc-gls-target-subjects-summary{
  color:#68747c!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:500!important;
}
.prc-gls-refinements-expanded .prc-gls-subject-scope-note{
  display:inline!important;
  margin:0!important;
  color:#77828a!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:500!important;
}

/* CHANGE 4 — Search Options: all five actual controls align exactly. */
.prc-gls-search-options-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(260px,.95fr) minmax(0,1fr)!important;
  gap:12px 16px!important;
  align-items:start!important;
}
.prc-gls-search-options-grid .prc-gls-option-field{
  display:grid!important;
  grid-template-rows:25px 48px!important;
  gap:6px!important;
  align-items:stretch!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.prc-gls-search-options-grid .prc-gls-option-field>span{
  display:flex!important;
  align-items:flex-end!important;
  height:25px!important;
  min-height:25px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.prc-gls-search-options-grid .prc-gls-option-field>input,
.prc-gls-search-options-grid .prc-gls-option-field>select{
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.prc-gls-search-options-grid .prc-gls-option-date>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr)!important;
  align-items:stretch!important;
  gap:6px!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
}
.prc-gls-search-options-grid .prc-gls-option-date>div>input{
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.prc-gls-search-options-grid .prc-gls-option-date>div>span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:48px!important;
  margin:0!important;
  padding:0!important;
}

/* CHANGES 5–7 — compact Search Content matching and Search-in controls.
   Labels sit above their selects; text input and Search Library align to select bottoms. */
.prc-gls-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 112px 126px auto!important;
  gap:8px!important;
  align-items:end!important;
}
.prc-gls-form .prc-gls-mode-control,
.prc-gls-form .prc-gls-search-field-inline{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:16px 48px!important;
  gap:3px!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
.prc-gls-form .prc-gls-mode-control>span,
.prc-gls-form .prc-gls-search-field-inline>span{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:var(--navy)!important;
  font-size:11.5px!important;
  line-height:16px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.prc-gls-form .prc-gls-mode-control select,
.prc-gls-form .prc-gls-search-field-inline select{
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 26px 0 9px!important;
  border:1px solid #bccbd6!important;
  border-radius:6px!important;
  background:#fff!important;
  color:var(--text)!important;
  font:inherit!important;
  font-size:13px!important;
  line-height:1.2!important;
  box-sizing:border-box!important;
}
.prc-gls-form #prc-gls-q,
.prc-gls-form>button[type="submit"]{
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
}
.prc-gls-form #prc-gls-mode{
  width:112px!important;
}
.prc-gls-form #prc-gls-search-field{
  width:126px!important;
}

@media(max-width:920px){
  .prc-gls-search-options-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .prc-gls-form{
    grid-template-columns:minmax(0,1fr) 112px 126px!important;
  }
  .prc-gls-form>button[type="submit"]{
    grid-column:1 / -1!important;
    justify-self:start!important;
  }
}

@media(max-width:680px){
  .prc-gls-search-options-grid{
    grid-template-columns:1fr!important;
  }
  .prc-gls-form{
    grid-template-columns:1fr!important;
  }
  .prc-gls-form .prc-gls-mode-control,
  .prc-gls-form .prc-gls-search-field-inline,
  .prc-gls-form>button[type="submit"]{
    grid-column:auto!important;
    width:100%!important;
  }
  .prc-gls-form #prc-gls-mode,
  .prc-gls-form #prc-gls-search-field{
    width:100%!important;
  }
}


/* =========================================================
   v0.16.71 — Change list 1–9
   ========================================================= */

/* CHANGE 1 — raise the entire Collection Scope block another 3px. */
.prc-gls-target-selection-card .prc-gls-target-collection-control{
  margin-top:-25px!important;
}

/* CHANGE 2 — clear gap between green Subject heading and grey subject text. */
.prc-gls-refinements-expanded .prc-gls-subject-refinement-row>span{
  margin-left:14px!important;
}

/* CHANGES 3 & 4 — narrower Date boxes; slightly wider Author and Title.
   Keep all five controls on the same aligned row. */
.prc-gls-search-options-grid{
  grid-template-columns:minmax(300px,1.2fr) minmax(300px,1.2fr) 190px minmax(190px,.82fr)!important;
  gap:12px 16px!important;
}
.prc-gls-search-options-grid .prc-gls-option-date>div{
  grid-template-columns:72px 28px 72px!important;
  justify-content:start!important;
  width:auto!important;
}
.prc-gls-search-options-grid .prc-gls-option-date>div>input{
  width:72px!important;
  min-width:72px!important;
  max-width:72px!important;
}

/* CHANGE 7 — Search in label is plain blue text, with no surrounding
   pale-blue label box. The dropdown itself remains a normal select. */
.prc-gls-form .prc-gls-search-field-inline{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}
.prc-gls-form .prc-gls-search-field-inline>span{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--navy)!important;
}

/* CHANGE 9 — major title above the 0-of-9 Multi-Context selection area. */
.prc-gls-multicontext-viewer-title{
  margin:14px 0 4px!important;
  color:var(--navy)!important;
  font-size:21px!important;
  line-height:1.2!important;
  font-weight:850!important;
}

/* Responsive preservation. */
@media(max-width:1050px){
  .prc-gls-search-options-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  }
  .prc-gls-search-options-grid .prc-gls-option-date>div{
    grid-template-columns:72px 28px 72px!important;
  }
}
@media(max-width:680px){
  .prc-gls-search-options-grid{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v0.16.73 — Search Options two-level layout only
   Date range + Publication Type on the upper row.
   Author + Title remain on the lower row.
   ========================================================= */

.prc-gls-search-options-card .prc-gls-search-options-grid{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-template-rows:auto auto!important;
  column-gap:16px!important;
  row-gap:12px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin-top:-2px!important;
}

/* Upper row: compact metadata controls on the right, close to the heading. */
.prc-gls-search-options-card .prc-gls-option-date-upper{
  grid-column:7 / 10!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.prc-gls-search-options-card .prc-gls-option-type-upper{
  grid-column:10 / 13!important;
  grid-row:1!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}

/* Lower row: Author and Title stay together and use the full panel width. */
.prc-gls-search-options-card .prc-gls-option-author{
  grid-column:1 / 7!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.prc-gls-search-options-card .prc-gls-option-title{
  grid-column:7 / 13!important;
  grid-row:2!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}

/* Preserve exact vertical alignment within each row. */
.prc-gls-search-options-card .prc-gls-option-field{
  margin:0!important;
  box-sizing:border-box!important;
}
.prc-gls-search-options-card .prc-gls-option-field>input,
.prc-gls-search-options-card .prc-gls-option-field>select{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Keep the existing compact From / To controls within the upper Date range block. */
.prc-gls-search-options-card .prc-gls-option-date-upper>div{
  justify-content:start!important;
}

/* Responsive fallback without touching Search Content. */
@media(max-width:900px){
  .prc-gls-search-options-card .prc-gls-search-options-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .prc-gls-search-options-card .prc-gls-option-date-upper{
    grid-column:1!important;
    grid-row:1!important;
  }
  .prc-gls-search-options-card .prc-gls-option-type-upper{
    grid-column:2!important;
    grid-row:1!important;
  }
  .prc-gls-search-options-card .prc-gls-option-author{
    grid-column:1!important;
    grid-row:2!important;
  }
  .prc-gls-search-options-card .prc-gls-option-title{
    grid-column:2!important;
    grid-row:2!important;
  }
}

@media(max-width:620px){
  .prc-gls-search-options-card .prc-gls-search-options-grid{
    grid-template-columns:1fr!important;
  }
  .prc-gls-search-options-card .prc-gls-option-date-upper,
  .prc-gls-search-options-card .prc-gls-option-type-upper,
  .prc-gls-search-options-card .prc-gls-option-author,
  .prc-gls-search-options-card .prc-gls-option-title{
    grid-column:1!important;
    grid-row:auto!important;
  }
}


/* =========================================================
   v0.16.74 — Search Options exact layout correction
   Top row: Search Options heading + Date range + Publication Type.
   Lower row: Author + Title.
   Search Content untouched.
   ========================================================= */

.prc-gls-search-options-card{
  overflow:hidden!important;
}

/* Top of panel: title at left, Date range + Publication Type at right. */
.prc-gls-search-options-card .prc-gls-search-options-top-row{
  display:grid!important;
  grid-template-columns:minmax(210px,1fr) auto!important;
  column-gap:28px!important;
  align-items:start!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

.prc-gls-search-options-card .prc-gls-search-options-heading{
  margin:0!important;
  padding:0!important;
  align-self:start!important;
}

.prc-gls-search-options-card .prc-gls-search-options-top-controls{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  gap:26px!important;
  min-width:0!important;
  max-width:100%!important;
}

/* Date range: wider than before, but still compact. */
.prc-gls-search-options-card .prc-gls-option-date-top{
  width:238px!important;
  min-width:238px!important;
  max-width:238px!important;
  margin:0!important;
}
.prc-gls-search-options-card .prc-gls-option-date-top>div{
  display:grid!important;
  grid-template-columns:96px 30px 96px!important;
  gap:8px!important;
  align-items:stretch!important;
  width:238px!important;
  max-width:238px!important;
}
.prc-gls-search-options-card .prc-gls-option-date-top>div>input{
  width:96px!important;
  min-width:96px!important;
  max-width:96px!important;
  height:48px!important;
  min-height:48px!important;
  box-sizing:border-box!important;
}
.prc-gls-search-options-card .prc-gls-option-date-top>div>span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:30px!important;
  height:48px!important;
}

/* Publication Type with a deliberate gap from Date range. */
.prc-gls-search-options-card .prc-gls-option-type-top{
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  margin:0!important;
}
.prc-gls-search-options-card .prc-gls-option-type-top select{
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  height:48px!important;
  min-height:48px!important;
  box-sizing:border-box!important;
}

/* Make both upper controls sit at the same height and level. */
.prc-gls-search-options-card .prc-gls-option-date-top,
.prc-gls-search-options-card .prc-gls-option-type-top{
  display:grid!important;
  grid-template-rows:25px 48px!important;
  gap:6px!important;
}
.prc-gls-search-options-card .prc-gls-option-date-top>span,
.prc-gls-search-options-card .prc-gls-option-type-top>span{
  display:flex!important;
  align-items:flex-end!important;
  height:25px!important;
  min-height:25px!important;
  margin:0!important;
  padding:0!important;
}

/* Lower row: Author and Title only, both wide. */
.prc-gls-search-options-card .prc-gls-search-options-bottom-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  margin-top:14px!important;
  box-sizing:border-box!important;
}
.prc-gls-search-options-card .prc-gls-search-options-bottom-row .prc-gls-option-field{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
}
.prc-gls-search-options-card .prc-gls-search-options-bottom-row input{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:48px!important;
  box-sizing:border-box!important;
}

/* Responsive safety while preserving the same conceptual order. */
@media(max-width:950px){
  .prc-gls-search-options-card .prc-gls-search-options-top-row{
    grid-template-columns:1fr!important;
    row-gap:10px!important;
  }
  .prc-gls-search-options-card .prc-gls-search-options-top-controls{
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
}

@media(max-width:650px){
  .prc-gls-search-options-card .prc-gls-search-options-bottom-row{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v0.16.75 — Requested changes 1–6
   ========================================================= */

/* CHANGES 1–4 — Search Options refinement.
   The earlier separate vertical offsets are consolidated into one
   clean 10px upward adjustment for all four Search Options controls. */

/* Date range + Publication Type: move together 16px upward total
   (a further 6px upward from v0.16.78). */
.prc-gls-search-options-card .prc-gls-search-options-top-controls{
  transform:translateY(-16px)!important;
}

/* Keep the deliberate gap between Date range and Publication Type. */
.prc-gls-search-options-card .prc-gls-search-options-top-controls{
  gap:26px!important;
}

/* Author + Title: equal widths and together fill the full lower row. */
.prc-gls-search-options-card .prc-gls-search-options-bottom-row{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  margin-top:4px!important; /* 10px higher than v0.16.74 */
}
.prc-gls-search-options-card .prc-gls-option-author,
.prc-gls-search-options-card .prc-gls-option-title{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}

/* Preserve the wider Date entry boxes agreed in v0.16.74. */
.prc-gls-search-options-card .prc-gls-option-date-top{
  width:238px!important;
  min-width:238px!important;
  max-width:238px!important;
}
.prc-gls-search-options-card .prc-gls-option-date-top>div{
  grid-template-columns:96px 30px 96px!important;
  gap:8px!important;
  width:238px!important;
}

/* CHANGE 5 — Multi-Context Viewer title belongs INSIDE the green top panel.
   The 0-of-9 line is the next line beneath it. */
#prc-gls-selection-top.prc-gls-selection-bar-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  column-gap:16px!important;
  row-gap:7px!important;
  align-items:center!important;
}

#prc-gls-selection-top .prc-gls-multicontext-viewer-title{
  grid-column:1 / -1!important;
  grid-row:1!important;
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  color:var(--navy)!important;
  font-size:21px!important;
  line-height:1.2!important;
  font-weight:850!important;
  justify-content:flex-start!important;
}

#prc-gls-selection-top .prc-gls-selection-label{
  grid-column:1!important;
  grid-row:2!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:0!important;
}

#prc-gls-selection-top .prc-gls-selection-controls{
  grid-column:2!important;
  grid-row:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
}

/* CHANGE 6 — Results List title on left; sorting controls at far right. */
.prc-gls-sort-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  width:100%!important;
  box-sizing:border-box!important;
}

.prc-gls-results-list-title{
  flex:0 0 auto!important;
  margin:0!important;
  color:var(--navy)!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:850!important;
  white-space:nowrap!important;
}

.prc-gls-sort-controls{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  min-width:0!important;
}

.prc-gls-sort-controls>strong{
  color:var(--navy)!important;
  white-space:nowrap!important;
}

/* Responsive safety only. */
@media(max-width:760px){
  #prc-gls-selection-top.prc-gls-selection-bar-top{
    grid-template-columns:1fr!important;
  }
  #prc-gls-selection-top .prc-gls-multicontext-viewer-title,
  #prc-gls-selection-top .prc-gls-selection-label,
  #prc-gls-selection-top .prc-gls-selection-controls{
    grid-column:1!important;
    grid-row:auto!important;
  }
  #prc-gls-selection-top .prc-gls-selection-controls{
    justify-content:flex-start!important;
  }
  .prc-gls-sort-toolbar{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .prc-gls-sort-controls{
    margin-left:0!important;
  }
}


/* =========================================================
   v0.16.76 — Search Options lower-row correction ONLY
   ========================================================= */

/* Author and Title must be exact equal-width columns across the full row. */
.prc-gls-search-options-card .prc-gls-search-options-bottom-row{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;

  /* Raise the complete Author + Title row by 15px. */
  position:relative!important;
  top:-15px!important;
  margin-top:0!important;
}

.prc-gls-search-options-card .prc-gls-search-options-bottom-row>.prc-gls-option-author,
.prc-gls-search-options-card .prc-gls-search-options-bottom-row>.prc-gls-option-title{
  display:grid!important;
  grid-template-rows:25px 48px!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}

.prc-gls-search-options-card .prc-gls-search-options-bottom-row>.prc-gls-option-author>input,
.prc-gls-search-options-card .prc-gls-search-options-bottom-row>.prc-gls-option-title>input{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  box-sizing:border-box!important;
}

@media(max-width:650px){
  .prc-gls-search-options-card .prc-gls-search-options-bottom-row{
    grid-template-columns:1fr!important;
    row-gap:12px!important;
  }
}


/* =========================================================
   v0.16.77 — Search Options vertical spacing optimisation ONLY
   ========================================================= */

/* 1 — Pull the complete Author + Title row up by a further 20px.
   v0.16.76 already used top:-15px; this becomes -35px total. */
.prc-gls-search-options-card .prc-gls-search-options-bottom-row{
  top:-35px!important;
}

/* 2 — Remove excess space below the Author / Title boxes.
   Keep the panel compact without changing any widths or top-row geometry. */
.prc-gls-search-options-card{
  padding-bottom:0!important;
}

/* 3 — Top row intentionally left in its existing position. */


/* =========================================================
   v0.16.78 — Search Options structural lower-row correction
   ========================================================= */

/* Genuine two-column lower row. The old 12-column grid assignments
   must be neutralised or they create implicit columns and unequal widths. */
.prc-gls-search-options-card .prc-gls-search-options-bottom-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:16px!important;
  row-gap:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;

  /* Structural spacing: no visual top offset that leaves ghost space. */
  position:static!important;
  top:auto!important;
  margin-top:-24px!important;
}

/* Reset the obsolete v0.16.73 12-column placements. */
.prc-gls-search-options-card .prc-gls-search-options-bottom-row>.prc-gls-option-author,
.prc-gls-search-options-card .prc-gls-search-options-bottom-row>.prc-gls-option-title{
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
}

/* Both entry boxes fill their equal column exactly. */
.prc-gls-search-options-card .prc-gls-search-options-bottom-row>.prc-gls-option-author>input,
.prc-gls-search-options-card .prc-gls-search-options-bottom-row>.prc-gls-option-title>input{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Restore a small real bottom inset now that ghost layout space is gone. */
.prc-gls-search-options-card{
  padding-bottom:14px!important;
}

@media(max-width:650px){
  .prc-gls-search-options-card .prc-gls-search-options-bottom-row{
    grid-template-columns:1fr!important;
    margin-top:-12px!important;
    row-gap:12px!important;
  }
}


/* =========================================================
   v0.16.80 — Current change list 1–2
   ========================================================= */

/* CHANGE 2 — move ONLY the Search Content control row upward by 15px.
   Active Search Contexts remains in its existing layout position. */
.prc-gls-card .prc-gls-form{
  transform:translateY(-15px)!important;
}


/* =========================================================
   v0.16.81 — Stable Active Search Context + stable selection bar layout
   ========================================================= */

/* CHANGE 1 — Active Search Context cards must not grow/shrink when
   selection counts change. Keep a stable card width and let text wrap
   inside that fixed card instead of resizing the card itself. */
.prc-gls-context-tab-wrap{
  flex:0 0 500px!important;
  width:500px!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.prc-gls-context-tab{
  flex:1 1 auto!important;
  min-width:0!important;
  width:calc(100% - 31px)!important;
  box-sizing:border-box!important;
}
.prc-gls-context-tab span,
.prc-gls-context-tab small{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.prc-gls-context-close{
  flex:0 0 31px!important;
}

/* CHANGE 2 — The Multi-Context selection panels must keep a stable
   geometry when selection counts change. The words/numbers may change,
   but the panel width and text block layout must not collapse. */
.prc-gls-selection-bar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  column-gap:16px!important;
  row-gap:8px!important;
  align-items:center!important;
}
.prc-gls-selection-label{
  flex:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:460px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.prc-gls-selection-label strong,
.prc-gls-selection-label small{
  display:block!important;
  width:100%!important;
}
.prc-gls-selection-controls{
  flex:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  min-width:max-content!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  .prc-gls-selection-label{
    min-width:0!important;
  }
}
@media(max-width:760px){
  .prc-gls-selection-bar{
    grid-template-columns:1fr!important;
    align-items:flex-start!important;
  }
  .prc-gls-selection-controls{
    justify-content:flex-start!important;
  }
}


/* =========================================================
   v0.16.83 — Corrected two-column Active Search Context layout
   ========================================================= */

/* CHANGE 1 — Each Active Search Context card is HALF the row width,
   so two cards fit side-by-side on every normal desktop row. */
.prc-gls-contexts{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
}
.prc-gls-context-tab-wrap{
  display:flex!important;
  flex:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.prc-gls-context-tab{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.prc-gls-context-close{
  flex:0 0 31px!important;
}

/* CHANGE 3 — each selected Search Context summary gets its own line. */
.prc-gls-selection-context-summary{
  display:block!important;
  width:100%!important;
  margin:1px 0 0!important;
  white-space:nowrap!important;
  line-height:1.35!important;
}

@media(max-width:760px){
  .prc-gls-contexts{
    grid-template-columns:1fr!important;
  }
  .prc-gls-selection-context-summary{
    white-space:normal!important;
  }
}


/* =========================================================
   v0.16.84 — Multi-Context Viewer button placement and sizing
   ========================================================= */

/* Keep the top green Multi-Context Viewer panel as a stable three-row grid:
   title/top controls, selection text, bottom action. */
#prc-gls-selection-top.prc-gls-selection-bar-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  column-gap:16px!important;
  row-gap:8px!important;
  align-items:start!important;
  position:relative!important;
}

/* Title remains top-left. */
#prc-gls-selection-top .prc-gls-multicontext-viewer-title{
  grid-column:1!important;
  grid-row:1!important;
  align-self:start!important;
}

/* Selection count / Search A, B, C summaries stay on the left and
   may grow vertically without moving either action button. */
#prc-gls-selection-top .prc-gls-selection-label{
  grid-column:1!important;
  grid-row:2 / 4!important;
  align-self:start!important;
  min-width:0!important;
  width:100%!important;
}

/* Let the two buttons become independent grid items. */
#prc-gls-selection-top .prc-gls-selection-controls{
  display:contents!important;
}

/* Clear all selections: permanently at the top-right of this green panel. */
#prc-gls-selection-top .prc-gls-selection-clear{
  grid-column:2!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:start!important;
  margin:0!important;
}

/* Green action button: permanently at the bottom-right of this panel,
   even when the panel grows taller. Match Search Library button height
   and typography exactly. */
#prc-gls-selection-top .prc-gls-selection-open{
  grid-column:2!important;
  grid-row:3!important;
  justify-self:end!important;
  align-self:end!important;

  height:48px!important;
  min-height:48px!important;
  padding:0 18px!important;
  border-radius:6px!important;
  font:inherit!important;
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:800!important;
  white-space:nowrap!important;
}

/* Small-screen safety: preserve top-right Clear and keep the green
   action beneath the selection text rather than overlapping it. */
@media(max-width:760px){
  #prc-gls-selection-top.prc-gls-selection-bar-top{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto auto!important;
  }
  #prc-gls-selection-top .prc-gls-selection-label{
    grid-column:1 / -1!important;
    grid-row:2!important;
  }
  #prc-gls-selection-top .prc-gls-selection-open{
    grid-column:1 / -1!important;
    grid-row:3!important;
    justify-self:start!important;
  }
}


/* =========================================================
   v0.16.85 — Current changes 1–2
   ========================================================= */

/* CHANGE 2 — lower only the Multi-Context Viewer title by 5px. */
#prc-gls-selection-top .prc-gls-multicontext-viewer-title{
  transform:translateY(5px)!important;
}


/* =========================================================
   v0.16.95 — prominent Searching Collection(s) line
   Library Search only
   ========================================================= */

.prc-gls-searching-collections-line{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:12px 0 0!important;
  padding:0!important;
  font-size:17px!important;
  line-height:1.35!important;
}

.prc-gls-searching-collections-label{
  color:#87939b!important;
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:500!important;
  white-space:nowrap!important;
}

.prc-gls-searching-collections-names{
  color:#2d6a62!important;
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:850!important;
}

@media(max-width:700px){
  .prc-gls-searching-collections-line,
  .prc-gls-searching-collections-label,
  .prc-gls-searching-collections-names{
    font-size:16px!important;
  }
}


/* =========================================================
   v0.16.97 — iPad portrait Search Target layout correction
   ========================================================= */

/*
   The existing <=860px responsive rule stacks the three Search Target
   columns. On iPad portrait that makes Collection Scope fall below the
   publication counts and creates the visual split/overlap seen in Safari.

   Restore the intended three-part Search Target arrangement ONLY for
   touch/tablet widths. Normal desktop CSS remains unchanged, and genuinely
   narrow/mobile screens (<=700px) keep the existing stacked layout.
*/
@media (min-width:701px) and (max-width:860px) and (any-pointer:coarse){

  .prc-gls-target-primary-row{
    display:grid!important;
    grid-template-columns:minmax(225px,245px) minmax(230px,1fr) minmax(125px,145px)!important;
    column-gap:12px!important;
    row-gap:0!important;
    align-items:start!important;
    width:100%!important;
    padding-right:0!important;
  }

  .prc-gls-target-back-stack{
    width:auto!important;
    min-width:0!important;
  }

  .prc-gls-target-selection-card .prc-gls-target-collection-control{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    /* Retain the approved desktop vertical relationship. */
    margin-top:-22px!important;
  }

  .prc-gls-target-selection-card .prc-gls-target-summary-right{
    width:auto!important;
    max-width:none!important;
    justify-self:end!important;
    margin:0!important;
  }

  .prc-gls-target-selection-card .prc-gls-refinement-stack{
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    justify-content:end!important;
  }

  .prc-gls-target-selection-card .prc-gls-refinement-stack strong{
    text-align:right!important;
  }
}


/* =========================================================
   v0.17.03 personal Read marker in Library Search results
   Uses the existing result-number column; no column-width shift.
   ========================================================= */
.prc-gls-result-number-cell{
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  min-width:0!important;
  padding:8px 2px 6px 6px!important;
  box-sizing:border-box!important;
}
.prc-gls-result-number-cell .prc-gls-result-number{
  display:block!important;
  padding:0!important;
  width:100%!important;
  text-align:right!important;
}
.prc-gls-read-marker{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  margin:0 auto!important;
  padding:0!important;
  width:42px!important;
  min-width:42px!important;
  min-height:0!important;
  height:auto!important;
  color:#5f707b!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:2px!important;
  line-height:1!important;
  cursor:pointer!important;
  text-transform:none!important;
  overflow:visible!important;
}
.prc-gls-read-marker:hover,.prc-gls-read-marker:focus{
  color:#0f6e63!important;
  background:transparent!important;
  outline-offset:2px!important;
}
.prc-gls-read-marker .prc-gls-read-box{box-sizing:border-box!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;border:1.5px solid currentColor!important;border-radius:2px!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-family:Arial,sans-serif!important;font-size:15px!important;line-height:16px!important;font-weight:700!important;color:inherit!important;padding:0!important;margin:0!important}
.prc-gls-read-marker .prc-gls-read-label{display:block!important;margin:0!important;padding:0!important;font-size:18px!important;line-height:18px!important;font-weight:600!important;letter-spacing:0!important;color:inherit!important}
.prc-gls-read-marker.is-read{color:#238b79!important}
\n\n/* =========================================================\n   v0.17.06 Read region cleanup in Library Search results\n   Keep the existing selection column width, but replace its native checkbox\n   with a compact text Select/Selected control so Read is the only checkbox.\n   ========================================================= */\n.prc-gls-result-select-wrap{\n  position:relative!important;\n  display:flex!important;\n  align-items:center!important;\n  justify-content:center!important;\n  padding:8px 6px!important;\n  cursor:pointer!important;\n}\n.prc-gls-result-select-wrap .prc-gls-result-select{\n  position:absolute!important;\n  width:1px!important;\n  height:1px!important;\n  margin:-1px!important;\n  padding:0!important;\n  overflow:hidden!important;\n  clip:rect(0 0 0 0)!important;\n  clip-path:inset(50%)!important;\n  white-space:nowrap!important;\n  border:0!important;\n  opacity:0!important;\n}\n.prc-gls-result-select-wrap .prc-gls-result-select-text{\n  display:block!important;\n  margin:0!important;\n  padding:0!important;\n  font-size:10px!important;\n  line-height:1.1!important;\n  font-weight:700!important;\n  color:#60717c!important;\n  text-align:center!important;\n}\n.prc-gls-result-select-wrap.is-selected .prc-gls-result-select-text{color:#238b79!important;}\n.prc-gls-result-number-cell{\n  position:relative!important;\n  align-self:stretch!important;\n  display:flex!important;\n  flex-direction:column!important;\n  align-items:stretch!important;\n  justify-content:space-between!important;\n  min-width:0!important;\n  padding:8px 2px 6px 6px!important;\n  box-sizing:border-box!important;\n}\n.prc-gls-read-marker{\n  appearance:none!important;\n  -webkit-appearance:none!important;\n  border:0!important;\n  border-radius:0!important;\n  background:transparent!important;\n  box-shadow:none!important;\n  margin:0!important;\n  padding:0!important;\n  width:100%!important;\n  min-width:0!important;\n  min-height:0!important;\n  height:auto!important;\n  color:#238b79!important;\n  display:flex!important;\n  flex-direction:column!important;\n  align-items:center!important;\n  justify-content:flex-end!important;\n  gap:4px!important;\n  line-height:1!important;\n  cursor:pointer!important;\n  text-transform:none!important;\n  overflow:visible!important;\n  transform:translateX(7px)!important;\n}\n.prc-gls-read-marker:hover,.prc-gls-read-marker:focus-visible{\n  color:#0f6e63!important;\n  background:transparent!important;\n  box-shadow:none!important;\n  outline:1px dotted currentColor!important;\n  outline-offset:2px!important;\n}\n.prc-gls-read-marker .prc-gls-read-box{\n  box-sizing:border-box!important;\n  position:relative!important;\n  width:18px!important;\n  height:18px!important;\n  min-width:18px!important;\n  min-height:18px!important;\n  border:2px solid currentColor!important;\n  border-radius:2px!important;\n  background:transparent!important;\n  display:block!important;\n  padding:0!important;\n  margin:0!important;\n  font-size:0!important;\n  line-height:0!important;\n}\n.prc-gls-read-marker.is-read .prc-gls-read-box::after{\n  content:'✓'!important;\n  position:absolute!important;\n  left:50%!important;\n  top:50%!important;\n  transform:translate(-50%,-54%)!important;\n  font-family:Arial,sans-serif!important;\n  font-size:17px!important;\n  line-height:1!important;\n  font-weight:700!important;\n  color:currentColor!important;\n}\n.prc-gls-read-marker .prc-gls-read-label{\n  display:block!important;\n  margin:0!important;\n  padding:0!important;\n  font-size:18px!important;\n  line-height:18px!important;\n  font-weight:600!important;\n  letter-spacing:0!important;\n  color:inherit!important;\n  white-space:nowrap!important;\n}\n

/* =========================================================
   v0.17.07 — Library Search two-checkbox utility layout
   Selection checkbox remains centred; record number moves down to its level;
   Read marker is a separate smaller checkbox at the bottom of the same select column.
   ========================================================= */
.prc-gls-result-number-cell{
  position:relative!important;
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  min-width:0!important;
  padding:8px 2px 8px 6px!important;
  box-sizing:border-box!important;
}
.prc-gls-result-number-cell .prc-gls-result-number{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:right!important;
  font-size:13px!important;
  line-height:1!important;
}
.prc-gls-result-select-wrap{
  position:relative!important;
  align-self:stretch!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  padding:8px 6px!important;
  border-left:0!important;
  border-right:1px solid var(--border)!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.prc-gls-result-select-wrap .prc-gls-result-select{
  position:static!important;
  display:block!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  white-space:normal!important;
  border:initial!important;
  opacity:1!important;
  pointer-events:auto!important;
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  transform:none!important;
}
.prc-gls-result-select-wrap .prc-gls-result-select-text{display:none!important;}
.prc-gls-result-select-wrap .prc-gls-read-marker{
  position:absolute!important;
  left:50%!important;
  bottom:5px!important;
  transform:translateX(-50%)!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  margin:0!important;
  padding:0!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  color:#60717c!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:2px!important;
  line-height:1!important;
  cursor:pointer!important;
  text-transform:none!important;
  overflow:visible!important;
}
.prc-gls-result-select-wrap .prc-gls-read-marker:hover,
.prc-gls-result-select-wrap .prc-gls-read-marker:focus-visible{
  color:#0f6e63!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
}
.prc-gls-result-select-wrap .prc-gls-read-box{
  box-sizing:border-box!important;
  position:relative!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
  border:1px solid #8e9aa3!important;
  border-radius:2px!important;
  background:#fff!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  font-size:0!important;
  line-height:0!important;
}
.prc-gls-result-select-wrap .prc-gls-read-marker.is-read .prc-gls-read-box{
  border-color:#8e9aa3!important;
}
.prc-gls-result-select-wrap .prc-gls-read-marker.is-read .prc-gls-read-box::after{
  content:'✓'!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-56%)!important;
  font-family:Arial,sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:700!important;
  color:#238b79!important;
}
.prc-gls-result-select-wrap .prc-gls-read-label{
  display:block!important;
  margin:0!important;
  padding:0!important;
  font-size:12px!important;
  line-height:12px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  color:#60717c!important;
  white-space:nowrap!important;
}
.prc-gls-result-select-wrap .prc-gls-read-marker.is-read .prc-gls-read-label{color:#238b79!important;}

/* =========================================================
   v0.17.08 — match the Library catalogue utility-region alignment
   ========================================================= */
.prc-gls-result-number-cell{
  align-self:stretch!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
}
.prc-gls-result-number-cell .prc-gls-result-number{
  line-height:16px!important;
  font-size:13px!important;
  font-weight:600!important;
}
.prc-gls-result-select-wrap .prc-gls-result-select{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
}
/* Desktop result grid: 38px number + 44px select = 82px. */
.prc-gls-result-select-wrap .prc-gls-read-marker{
  left:-38px!important;
  bottom:6px!important;
  width:82px!important;
  transform:none!important;
  align-items:center!important;
  gap:2px!important;
}
.prc-gls-result-select-wrap .prc-gls-read-box{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
}
.prc-gls-result-select-wrap .prc-gls-read-marker.is-read .prc-gls-read-box::after{
  font-size:13px!important;
}
.prc-gls-result-select-wrap .prc-gls-read-label{
  font-size:13px!important;
  line-height:13px!important;
  font-weight:600!important;
  text-align:center!important;
}
@media(max-width:900px){
  /* 34px number + 46px select = 80px. */
  .prc-gls-result-select-wrap .prc-gls-read-marker{
    left:-34px!important;
    width:80px!important;
  }
}
@media(max-width:760px){
  /* 30px number + 40px select = 70px. */
  .prc-gls-result-select-wrap .prc-gls-read-marker{
    left:-30px!important;
    width:70px!important;
  }
}

/* =========================================================
   v0.17.09 — Library Search utility alignment to match catalogue
   Number directly above the centred selection checkbox; Read group centred
   below, all on the same horizontal axis without moving result content.
   ========================================================= */
.prc-gls-result-row{
  position:relative!important;
}
.prc-gls-result-number-cell,
.prc-gls-result-select-wrap{
  grid-column:1 / 3!important;
  grid-row:1!important;
  align-self:stretch!important;
  position:relative!important;
  min-width:0!important;
  width:auto!important;
  height:100%!important;
  box-sizing:border-box!important;
}
.prc-gls-result-number-cell{
  z-index:2!important;
  pointer-events:none!important;
  display:block!important;
  padding:0!important;
}
.prc-gls-result-number-cell .prc-gls-result-number{
  position:absolute!important;
  left:50%!important;
  top:calc(50% - 25px)!important;
  transform:translateX(-50%)!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  line-height:13px!important;
}
.prc-gls-result-select-wrap{
  z-index:3!important;
  display:block!important;
  padding:0!important;
  border-right:1px solid var(--border)!important;
}
.prc-gls-result-select-wrap .prc-gls-result-select{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
}
.prc-gls-result-select-wrap .prc-gls-read-marker{
  position:absolute!important;
  left:50%!important;
  bottom:6px!important;
  width:auto!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  align-items:center!important;
  text-align:center!important;
}

/* =========================================================
   v0.17.11 — definitive Search-result number hover visibility fix
   Keep the number's stacking context above the selection/read layer while
   preserving pointer access to the checkbox underneath.
   ========================================================= */
.prc-gls-result-number-cell{
  z-index:20!important;
  pointer-events:none!important;
  background:transparent!important;
  isolation:isolate!important;
}
.prc-gls-result-select-wrap{
  z-index:10!important;
}
.prc-gls-result-number-cell .prc-gls-result-number,
.prc-gls-result-row:hover .prc-gls-result-number-cell .prc-gls-result-number,
.prc-gls-result-row:focus-within .prc-gls-result-number-cell .prc-gls-result-number,
.prc-gls-result-row:has(.prc-gls-result-select:checked) .prc-gls-result-number-cell .prc-gls-result-number{
  display:block!important;
  color:#526472!important;
  opacity:1!important;
  visibility:visible!important;
  z-index:21!important;
  filter:none!important;
  text-shadow:none!important;
  transition:none!important;
}

/* v0.17.16 — public Series / Part metadata and navigation */
.prc-gls-result-series{display:block;margin-top:2px;font-size:12px;line-height:1.3;color:#66727c;font-weight:400}
.prc-gls-result-series>span:first-child{font-weight:600;color:#526471}
.prc-gls-result-series-link{color:#1d6f67;font-weight:600;text-decoration:none;cursor:pointer}
.prc-gls-result-series-link:hover,.prc-gls-result-series-link:focus{text-decoration:underline}
.prc-gls-result-series-part{color:#66727c}


/* =========================================================
   v0.17.19 — compact Clear all Search Options / Terms action
   ========================================================= */
.prc-gls-form .prc-gls-search-actions{
  display:grid!important;
  grid-template-rows:33px 48px!important;
  gap:3px!important;
  align-self:end!important;
  min-width:154px!important;
}
.prc-gls-form .prc-gls-search-actions>button{
  width:100%!important;
  margin:0!important;
  border-radius:6px!important;
  cursor:pointer!important;
  font:inherit!important;
}
.prc-gls-form .prc-gls-search-actions>.prc-gls-clear-search-inputs{
  height:33px!important;
  min-height:33px!important;
  padding:0 7px!important;
  border:1px solid #b9cad7!important;
  background:#f5f8fa!important;
  color:#4f6574!important;
  font-size:10.5px!important;
  line-height:31px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.prc-gls-form .prc-gls-search-actions>.prc-gls-clear-search-inputs:hover,
.prc-gls-form .prc-gls-search-actions>.prc-gls-clear-search-inputs:focus-visible{
  background:#e8eff3!important;
  color:#2f566f!important;
}
.prc-gls-form .prc-gls-search-actions>button[type="submit"]{
  height:48px!important;
  min-height:48px!important;
  padding:0 18px!important;
  border:1px solid var(--green2)!important;
  background:var(--green)!important;
  color:#fff!important;
  font-weight:800!important;
}
.prc-gls-form .prc-gls-search-actions>button[type="submit"]:hover,
.prc-gls-form .prc-gls-search-actions>button[type="submit"]:focus-visible{background:var(--green2)!important;}
@media(max-width:920px){
  .prc-gls-form .prc-gls-search-actions{grid-column:1 / -1!important;justify-self:start!important;width:210px!important;}
}
@media(max-width:680px){
  .prc-gls-form .prc-gls-search-actions{grid-column:auto!important;width:100%!important;}
}

/* v0.17.21 — shared public Library search allowance status */
.prc-gls-public-limit-note{margin:0 0 8px;padding:7px 9px;border-left:3px solid #2f7d32;background:#f4f8f5;color:#5b6770;font-size:12px;line-height:1.35}.prc-gls-public-limit-note strong{color:#236c62}.prc-gls-public-limit-note.is-exhausted{border-left-color:#b85c00;background:#fff8ee}.prc-gls-public-limit-note.is-exhausted strong{color:#a34d00}.prc-gls-public-limit-note.is-unrestricted{background:#f4f8f5}

/* =========================================================
   v0.17.22 — dynamic Library access label beside page title
   Matches the PRC Dictionary/Bibliography orange.
   ========================================================= */
.prc-library-access-label{
  display:block!important;
  margin:2px 0 0!important;
  color:#b87444!important;
  font-size:.62em!important;
  line-height:1.12!important;
  font-weight:600!important;
  white-space:nowrap!important;
}

.prc-library-fulltext-subtitle{
  display:block!important;
  margin:8px 0 0!important;
  color:#2D6A62!important;
  font-size:.54em!important;
  line-height:1.18!important;
  font-weight:600!important;
}

/* =========================================================
   v0.17.22 — remove theme-generated ghost layer above the
   Multi-Context Viewer action button without changing the button itself.
   ========================================================= */
#prc-gls-selection-top .prc-gls-selection-open::before,
#prc-gls-selection-top .prc-gls-selection-open::after{
  content:none!important;
  display:none!important;
}



/* =========================================================
   v0.17.26 — Library Search width match + white help boxes
   Screen 2 (Library Search) only. Functional target/refinement
   panels remain unchanged; explanatory help boxes become white.
   ========================================================= */

/* Match the working 983px Dictionary / first-screen width while keeping
   the screen fluid on smaller viewports. */
.prc-gls{
  width:min(983px,calc(100vw - 32px))!important;
  max-width:none!important;
  margin-left:50%!important;
  margin-right:0!important;
  transform:translateX(-50%)!important;
  box-sizing:border-box!important;
}

/* Only genuine explanatory Help boxes change to white.
   Functional Search Target / refinement panels stay as they are. */
.prc-gls-help-box,
.prc-gls-intro-copy.prc-gls-help-box,
.prc-gls-context-help.prc-gls-help-box,
.prc-gls-stage-help.prc-gls-help-box,
.prc-gls-refinement-logic-help.prc-gls-help-box{
  background:#ffffff!important;
}


/* =========================================================
   v0.17.27 — correct Library Search centring
   Replaces the v0.17.26 50%/translate expansion, which could
   push the 983px Search screen off the left side of the page.
   ========================================================= */
.prc-gls{
  width:min(983px,calc(100vw - 32px))!important;
  max-width:none!important;
  margin-left:calc((100% - min(983px,calc(100vw - 32px))) / 2)!important;
  margin-right:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* =========================================================
   v0.17.33 — Library Search results readability refinement
   Typography only. Existing result-card geometry, columns,
   colours, padding, checkboxes and functional behaviour are
   deliberately unchanged.
   ========================================================= */

/* 1 — Publication title. */
.prc-gls-result-title>strong{
  font-size:18px!important;
}

/* 2 — Search context line: “Search A: All Content”. */
.prc-gls-result-context{
  font-size:15px!important;
}

/* 3 — Collection and Series metadata. */
.prc-gls-result-collection,
.prc-gls-result-series{
  font-size:15px!important;
}

/* 4–5 — Author and Date. */
.prc-gls-result-author,
.prc-gls-result-date{
  font-size:16px!important;
}

/* 6 — Bottom publication metadata line. */
.prc-gls-result-details,
.prc-gls-result-meta{
  font-size:15px!important;
}

/* 7 — Record-type / subject / topic badge text only. */
.prc-gls-publication-type-badge,
.prc-gls-topic-badge,
.prc-gls-subject-badge{
  font-size:13px!important;
}

/* 8 — Record number only. Read control already renders larger;
   its label and both checkboxes are intentionally untouched. */
.prc-gls-result-number{
  font-size:15px!important;
}

/* 9 — Matches / Multi-Context information. */
.prc-gls-result-count small{
  font-size:14px!important;
}
.prc-gls-result-status{
  font-size:15px!important;
}

/* 10 — Results column labels: NO. / TITLE / AUTHOR / DATE / MATCHES. */
.prc-gls-results-columns{
  font-size:12px!important;
}

/* 11 — Previous/Next publication controls and centred range label. */
.prc-gls-publication-nav button{
  font-size:14px!important;
}
.prc-gls-publication-nav strong{
  font-size:15px!important;
}

/* 13 — Search Target status line. */
.prc-gls-target-status-line{
  font-size:15px!important;
}

/* 14 — “Search A: … publications matched Search Options” heading. */
.prc-gls-results-head #prc-gls-results-title{
  font-size:23px!important;
}

/* 15 — Visible search/filter parameter summary strip. */
.prc-gls-parameters{
  font-size:15px!important;
}

/* =========================================================
   v0.17.34 — approved Library Search UI refinements
   Only the five approved changes below are applied.
   Result-card sizing from v0.17.33 remains otherwise unchanged.
   ========================================================= */

/* CHANGE 1 — Admin unrestricted-access notice only. */
.prc-gls-public-limit-note.prc-gls-admin-full-access{
  font-size:16px!important;
}

/* CHANGES 2–3 — Active Search Context title and subtitle. */
.prc-gls-context-tab span{
  font-size:20px!important;
}
.prc-gls-context-tab small{
  font-size:16px!important;
}

/* CHANGE 5 — Multi-Context selection count only. */
.prc-gls-selection-label>strong{
  font-size:17px!important;
}

/* =========================================================
   v0.17.35 — Matches / pages readability
   Put the match count and label together, force pages onto the
   next line, and keep long counts able to wrap rather than clip.
   ========================================================= */
.prc-gls-result-count{
  white-space:normal!important;
  overflow:visible!important;
}
.prc-gls-result-match-line{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:4px!important;
  max-width:100%!important;
  min-width:0!important;
}
.prc-gls-result-match-line strong,
.prc-gls-result-match-line small,
.prc-gls-result-pages-line,
.prc-gls-result-status{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.prc-gls-result-pages-line{
  display:block!important;
  width:100%!important;
}


/* =========================================================
   v0.17.37 — tiny separation between the two result utility boxes
   Keep both checkboxes, their sizes, alignment and card geometry unchanged.
   Moving only the Read marker 2px lower produces about a 5px visual gap
   in the compact result rows while preserving larger-row behaviour.
   ========================================================= */
.prc-gls-result-select-wrap .prc-gls-read-marker{
  bottom:4px!important;
}


/* =========================================================
   v0.17.38 — guaranteed separation between result utility boxes
   The selection checkbox remains centred exactly as before. The Read group is
   anchored 5px below the bottom edge of that 16px selection checkbox, so even
   the most compact result rows retain a visible gap. No checkbox sizing,
   card geometry or result-column layout is changed.
   ========================================================= */
.prc-gls-result-select-wrap .prc-gls-read-marker{
  top:calc(50% + 13px)!important;
  bottom:auto!important;
}
