/* UBC /bux catalog UI 2026 — UTF-8 */
:root{--bux-blue:#00009F;--bux-orange:#ff7302;--bux-ink:#4f5358;--bux-line:#e6e8ec;--bux-soft:#f6f7f9;--bux-card:#fff;--bux-shadow:0 10px 28px rgba(15,23,42,.07)}
.bux-page{background:#fff}.bux-page .main-grid{align-items:start}.bux-page .article{min-width:0}.bux-honeypot-panel{align-self:stretch;min-height:100%}.bux-honeypot-panel>.ubc-top-services{position:sticky!important;top:72px!important;z-index:18;margin-top:20px;background:#fff;box-shadow:0 10px 22px rgba(0,0,0,.055)}
.bux-page-subtitle{margin:-9px 40px 8px;padding:0 0 12px;color:#777;font-size:13px;line-height:1.45;border-bottom:1px solid #eee}.bux-page .page-breadcrumbs{margin-top:0}.bux-shell-placeholder:empty{display:none}
.blanks-wrap{padding-bottom:30px}.blanks-intro{margin-top:0}.blanks-toolbar{position:sticky;top:66px;z-index:16;margin:0 0 22px;padding:12px;border:1px solid var(--bux-line);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(15,23,42,.06);backdrop-filter:blur(10px)}.blanks-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.blanks-search input{width:100%;height:42px;padding:0 13px;border:1px solid #cfd3da;border-radius:9px;background:#fff;font:inherit}.blanks-search button,.blank-filter{min-height:38px;padding:0 13px;border:1px solid #d7d9df;border-radius:9px;background:#fff;color:var(--bux-blue);font-weight:700;cursor:pointer}.blank-filter.is-active,.blanks-search button:hover,.blank-filter:hover{border-color:var(--bux-blue);background:var(--bux-blue);color:#fff}.blank-filters{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.bento-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 26px}.bento-card{position:relative;display:flex;min-height:118px;flex-direction:column;justify-content:space-between;gap:12px;padding:17px;border:1px solid var(--bux-line);border-radius:16px;background:linear-gradient(145deg,#fff,#f8f9fb);box-shadow:0 4px 16px rgba(15,23,42,.045);color:var(--bux-ink)!important;text-decoration:none!important;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.bento-card:hover{transform:translateY(-3px);border-color:#c6c8ef;box-shadow:var(--bux-shadow);color:var(--bux-blue)!important}.bento-card strong{display:block;padding-right:48px;color:var(--bux-blue);font-size:15px;line-height:1.3}.bento-card span{font-size:12px;color:#777}.bento-icon{position:absolute;right:14px;top:14px;width:38px;height:38px;color:var(--bux-blue);opacity:.85}.bento-icon svg{display:block;width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.bento-card:hover .bento-icon{color:var(--bux-orange)}.bento-card.is-wide{grid-column:span 2}.period-bento{margin-top:10px}.period-bento .bento-card{min-height:132px}.period-bento .bento-card strong{font-size:16px}
.blank-section{margin:26px 0 0}.blank-section>h2{margin:0 0 10px;padding-bottom:8px;border-bottom:2px solid #eceef2;color:#555;font-size:19px}.blank-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--bux-line)}.blank-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:9px 4px;border-bottom:1px solid var(--bux-line)}.blank-title a{color:var(--bux-blue)!important;font-size:14px;font-weight:650;line-height:1.35;text-decoration:none}.blank-title a:hover{color:var(--bux-orange)!important;text-decoration:underline}.blank-code{display:block;margin-top:3px;color:#8b8f95;font-size:11px}.blank-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.blank-action{display:inline-flex;min-width:38px;height:25px;align-items:center;justify-content:center;padding:0 7px;border:1px solid #d6d8de;border-radius:7px;background:#fff;color:var(--bux-blue)!important;font-size:10px;font-weight:800;letter-spacing:.02em;text-decoration:none!important}.blank-action:hover{border-color:var(--bux-orange);color:var(--bux-orange)!important}.blank-action.is-missing{color:#aaa!important;background:#fafafa}.blank-item[hidden]{display:none!important}
.legacy-period-nav{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 20px}.legacy-period-nav a{padding:7px 10px;border:1px solid #ddd;border-radius:8px;color:var(--bux-blue)!important;font-size:12px;font-weight:700}.legacy-period-nav a[aria-current=page]{background:var(--bux-blue);color:#fff!important;border-color:var(--bux-blue)}
.bux-document-facts{display:grid;grid-template-columns:180px minmax(0,1fr);margin:0 0 20px;border-top:1px solid var(--bux-line);font-size:14px}.bux-document-facts dt,.bux-document-facts dd{margin:0;padding:9px 10px;border-bottom:1px solid var(--bux-line)}.bux-document-facts dt{font-weight:700;color:#555;background:#fafafa}.bux-document-facts dd{color:#60646a}.bux-ad-placeholder{margin:18px 0;padding:14px 16px;border:1px dashed #c7cbd3;border-radius:12px;background:#fbfbfc}.bux-ad-placeholder small{display:block;margin-bottom:5px;color:#999;text-transform:uppercase;letter-spacing:.06em;font-size:9px}.bux-ad-placeholder strong{color:var(--bux-blue)}.bux-download-zone{margin:20px 0;padding:18px;border:1px solid #d9dcef;border-radius:14px;background:linear-gradient(145deg,#fff,#f6f7fb)}.bux-download-zone h2{margin:0 0 10px!important}.bux-download-buttons{display:flex;gap:8px;flex-wrap:wrap}.bux-download-button{display:inline-flex;min-height:38px;align-items:center;padding:0 13px;border-radius:9px;background:var(--bux-blue);color:#fff!important;font-size:13px;font-weight:800;text-decoration:none!important}.bux-download-button:hover{background:var(--bux-orange);color:#fff!important}.bux-download-note{font-size:13px;line-height:1.5}.bux-back-catalog{font-size:13px}
@media(max-width:1023px){.bento-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.bux-page-subtitle{margin:-7px 14px 8px;font-size:12px}.bux-honeypot-panel>.ubc-top-services{position:static!important}.blanks-toolbar{top:35px}.blanks-search{grid-template-columns:1fr}.bento-grid{grid-template-columns:1fr}.bento-card.is-wide{grid-column:auto}.blank-item{grid-template-columns:1fr;gap:7px}.blank-actions{justify-content:flex-start}.bux-document-facts{grid-template-columns:1fr}.bux-document-facts dt{padding-bottom:2px}.bux-document-facts dd{padding-top:3px}.bux-download-button{width:100%;justify-content:center}}

/* official normative source */
.bux-official-source{margin:18px 0;padding:14px 16px;border:1px solid #e1e5ee;border-left:4px solid #00009F;border-radius:8px;background:#f8f9fc}.bux-official-source h2{margin:0 0 7px;font-size:17px!important;color:#40444d}.bux-official-source p{margin:0!important;font-size:14px!important;line-height:1.48!important;text-align:left!important}.bux-official-source a{color:#00009F!important;font-weight:700}.bux-official-source a:hover{color:#ff7302!important}

/* ========================================================================== 
   UBC /bux task-first catalog UI — 2026-08-25
   1440px shell, preserved 370px left sidebar, expanded right workspace.
   ========================================================================== */
@media (min-width:1024px){
  .bux-page .site-shell{width:min(100%,1440px)}
  .bux-page .main-grid{grid-template-columns:minmax(310px,370px) minmax(0,1fr);gap:25px}
  .bux-page .article{max-width:none}
}

.bux-page .article{min-width:0}
.bux-page .blanks-intro{max-width:900px;margin:0 0 14px!important;color:#555;font-size:14px!important;line-height:1.48!important;text-align:left!important}

/* Search is the primary catalog control. */
.bux-search-panel{position:sticky;top:38px;z-index:25;margin:0 0 18px;padding:12px 14px;border:1px solid #dfe2e8;border-radius:11px;background:rgba(255,255,255,.97);box-shadow:0 7px 18px rgba(15,23,42,.055);backdrop-filter:blur(8px)}
.bux-search-label{display:block;margin:0 0 6px;color:#30343a;font-size:14px;font-weight:800}
.bux-search-panel .blanks-search{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:8px}
.bux-search-panel .blanks-search input{height:44px;padding:0 14px;border:1px solid #bfc5ce;border-radius:7px;background:#fff;font-size:15px!important;outline:none}
.bux-search-panel .blanks-search input:focus{border-color:var(--bux-blue);box-shadow:0 0 0 2px rgba(0,0,159,.08)}
.bux-search-panel .blanks-search button{height:44px;min-height:44px;padding:0 10px;border:1px solid #d3d6dc;border-radius:7px;background:#fff;color:var(--bux-blue);font-size:12px;font-weight:700;cursor:pointer}
.bux-search-panel .blanks-search button:hover{border-color:var(--bux-blue);background:#f6f7fb;color:var(--bux-blue)}
.bux-search-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.bux-format-select-label{display:flex;align-items:center;gap:7px;color:#666;font-size:12px;font-weight:700}
.bux-format-select-label select{height:32px;padding:0 28px 0 9px;border:1px solid #d4d7dd;border-radius:6px;background:#fff;color:#40444a;font:inherit}
.bux-search-count{color:#777;font-size:12px}

/* Quick access: no tall bento cards. */
.bux-quick-access{margin:0 0 18px}
.bux-quick-access>h2{margin:17px 0 9px!important;color:#40444a!important;font-size:17px!important}
.bux-quick-chips{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px}
.bux-quick-query{min-height:31px;padding:0 10px;border:1px solid #d8dbe1;border-radius:16px;background:#fff;color:var(--bux-blue);font-size:12px;font-weight:700;cursor:pointer}
.bux-quick-query:hover,.bux-quick-query:focus-visible{border-color:var(--bux-orange);color:var(--bux-orange)}
.bux-category-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px}
.bux-category-directory a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:44px;padding:8px 11px;border:1px solid #e1e4e9;border-radius:7px;background:#fff;color:#3f4349!important;text-decoration:none!important;transition:border-color .15s ease,background .15s ease}
.bux-category-directory a:hover{border-color:#c9cbe8;background:#fafaff;color:var(--bux-blue)!important}
.bux-category-directory strong{font-size:13px;line-height:1.3}
.bux-category-directory span{min-width:28px;color:#777;font-size:11px;text-align:right}

/* Outer section accordions eliminate the long uninterrupted catalogue. */
.blank-section-accordion{margin:7px 0;border:1px solid #dfe2e7;border-radius:8px;background:#fff;overflow:clip}
.blank-section-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;min-height:48px;padding:9px 13px;cursor:pointer;list-style:none;color:#3d4147}
.blank-section-summary::-webkit-details-marker{display:none}
.blank-section-summary::after{content:"+";grid-column:3;color:var(--bux-blue);font-size:20px;font-weight:400;line-height:1}
.blank-section-accordion[open]>.blank-section-summary::after{content:"–"}
.blank-section-summary strong{font-size:14px;line-height:1.3}
.blank-section-count{color:#777;font-size:11px;white-space:nowrap}
.blank-section-accordion[open]>.blank-section-summary{border-bottom:1px solid #e7e9ed;background:#fafbfc;color:var(--bux-blue)}
.blank-section-accordion>.blank-subsection{margin:0;border-bottom:1px solid #eceef1}
.blank-section-accordion>.blank-subsection:last-child{border-bottom:0}
.blank-subsection>summary{padding:9px 13px!important;color:#50545a!important;font-size:13px!important;font-weight:700!important;cursor:pointer}
.blank-subsection[open]>summary{color:var(--bux-blue)!important;background:#fbfbfd}
.blank-subsection .blank-list{border-top:1px solid #eef0f3}

/* Document rows: title is primary; file type is a passive badge. */
.blank-item{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:43px;padding:7px 34px 7px 13px!important;border-bottom:1px solid #eceef1!important;background:#fff}
.blank-item::after{content:"›";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#a2a6ad;font-size:20px;line-height:1}
.blank-item:hover{background:#fafbff}
.blank-title a{display:block;color:var(--bux-blue)!important;font-size:13px!important;font-weight:650;line-height:1.38;text-decoration:none!important}
.blank-title a:hover{color:var(--bux-orange)!important;text-decoration:none!important}
.blank-actions{gap:4px}
.blank-action{min-width:auto;height:21px;padding:0 6px;border:1px solid #dfe2e7;border-radius:4px;background:#f8f9fa;color:#73777d!important;font-size:9px;font-weight:800;pointer-events:none}
.blank-action.is-missing{opacity:.65}
.blank-section-accordion.is-empty{display:none}

/* Archive is visually separate from current forms. */
.bux-archive-gateway{margin:24px 0 0;padding-top:18px;border-top:2px solid #eceef2}
.bux-archive-gateway>h2{margin:0 0 5px!important;color:#4a4e54!important;font-size:18px!important}
.bux-archive-gateway>p{margin:0 0 10px!important;color:#6c7076!important;font-size:13px!important;text-align:left!important}
.bux-archive-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px}
.bux-archive-links a{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:9px 11px;border:1px solid #e3e5e9;border-radius:7px;background:#fafafa;color:#4c5056!important;text-decoration:none!important}
.bux-archive-links a:hover{border-color:#c9cbe8;background:#fff;color:var(--bux-blue)!important}
.bux-archive-links strong{font-size:12px;line-height:1.3}
.bux-archive-links span{color:#85898f;font-size:10px;line-height:1.25}

/* Individual form page: action first, proof second, facts compact. */
.bux-primary-card{margin:0 0 13px;padding:14px 16px;border:1px solid #d9ddeb;border-radius:10px;background:linear-gradient(145deg,#fff,#f8f9fc);box-shadow:0 5px 15px rgba(15,23,42,.04)}
.bux-doc-statusline{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 9px}
.bux-status-badge{display:inline-flex;min-height:23px;align-items:center;padding:0 8px;border-radius:4px;background:#eef0ff;color:var(--bux-blue);font-size:10px;font-weight:850;letter-spacing:.035em}
.bux-status-meta{color:#6f7379;font-size:11px}
.bux-primary-card .bux-download-zone{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.bux-primary-card .bux-download-zone h2{margin:0 0 7px!important;color:#333!important;font-size:17px!important;line-height:1.3!important}
.bux-primary-card .bux-download-note{margin:0 0 10px!important;color:#555!important;font-size:13px!important;line-height:1.46!important;text-align:left!important}
.bux-primary-card .bux-download-zone>p{margin:0 0 8px!important;text-align:left!important}
.bux-download-buttons{gap:7px}
.bux-download-button{min-height:40px;padding:0 14px;border-radius:6px;background:var(--bux-blue);font-size:12px!important;font-weight:800}
.bux-download-button:hover{background:var(--bux-orange)}
.bux-download-source{color:#666!important;font-size:11px!important;line-height:1.4!important}
.bux-primary-card .bux-official-source{margin:11px 0 0;padding:10px 12px;border:0;border-top:1px solid #e1e4ea;border-left:0;border-radius:0;background:transparent}
.bux-primary-card .bux-official-source h2{margin:0 0 4px!important;color:#555!important;font-size:12px!important;text-transform:none}
.bux-primary-card .bux-official-source p{margin:0!important;color:#666!important;font-size:11px!important;line-height:1.42!important;text-align:left!important}

.bux-document-facts{display:grid;grid-template-columns:150px minmax(0,1fr);margin:0 0 12px;border:1px solid #e2e5e9;border-radius:8px;overflow:hidden;font-size:12px}
.bux-document-facts dt,.bux-document-facts dd{margin:0;padding:7px 9px;border-bottom:1px solid #eceef1}
.bux-document-facts dt{background:#fafafa;color:#666;font-weight:700}
.bux-document-facts dd{color:#555}
.bux-document-facts dt:nth-last-of-type(1),.bux-document-facts dd:last-child{border-bottom:0}

.bux-context-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;margin:12px 0;padding:12px 14px;border-left:3px solid var(--bux-orange);background:#fafafa}
.bux-context-copy strong{display:block;margin-bottom:3px;color:#3f4348;font-size:13px}
.bux-context-copy p{margin:0!important;color:#666!important;font-size:11px!important;line-height:1.4!important;text-align:left!important}
.bux-context-cta>a{display:inline-flex;min-height:34px;align-items:center;padding:0 11px;border:1px solid var(--bux-blue);border-radius:5px;color:var(--bux-blue)!important;font-size:11px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.bux-context-cta>a:hover{border-color:var(--bux-orange);color:var(--bux-orange)!important}

.bux-related-docs{margin:18px 0 8px;padding-top:12px;border-top:1px solid #e5e7eb}
.bux-related-docs h2{margin:0 0 7px!important;color:#484c52!important;font-size:15px!important}
.bux-related-docs ul{margin:0;padding:0;list-style:none;border-top:1px solid #eceef1}
.bux-related-docs li{margin:0!important;padding:0!important;border-bottom:1px solid #eceef1}
.bux-related-docs li::before{display:none!important}
.bux-related-docs a{display:block;padding:7px 4px;color:var(--bux-blue)!important;font-size:12px;line-height:1.35;text-decoration:none!important}
.bux-related-docs a:hover{color:var(--bux-orange)!important}
.bux-back-catalog{margin-top:11px!important;font-size:12px!important;text-align:left!important}

@media(max-width:1023px){
  .bux-page .main-grid{grid-template-columns:280px minmax(0,1fr);gap:24px}
  .bux-category-directory,.bux-archive-links{grid-template-columns:1fr}
}
@media(max-width:800px){
  .bux-search-panel{top:35px;padding:10px}
  .bux-search-panel .blanks-search{grid-template-columns:1fr}
  .bux-search-panel .blanks-search button{display:none}
  .bux-search-options{align-items:flex-start;flex-direction:column;gap:6px}
  .bux-category-directory{grid-template-columns:1fr}
  .blank-section-summary{grid-template-columns:minmax(0,1fr) auto auto;padding:9px 10px}
  .blank-item{grid-template-columns:1fr;gap:4px;padding-right:30px!important}
  .blank-actions{justify-content:flex-start}
  .bux-document-facts{grid-template-columns:1fr}
  .bux-document-facts dt{padding-bottom:2px;border-bottom:0}
  .bux-document-facts dd{padding-top:2px}
  .bux-context-cta{grid-template-columns:1fr;gap:8px}
  .bux-context-cta>a{justify-content:center;white-space:normal;text-align:center}
  .bux-download-button{width:100%;justify-content:center;text-align:center}
}


/* 2026-08-25 individual blank card typography: larger functional UI. */
.bux-primary-card{padding:18px 20px}
.bux-doc-statusline{gap:10px;margin-bottom:12px}
.bux-status-badge{min-height:28px;padding:0 10px;font-size:12px}
.bux-status-meta{font-size:14px;line-height:1.4}
.bux-primary-card .bux-download-zone h2{margin-bottom:9px!important;font-size:20px!important;line-height:1.32!important}
.bux-primary-card .bux-download-note{margin-bottom:13px!important;font-size:15px!important;line-height:1.55!important}
.bux-download-button{min-height:46px;padding:0 18px;font-size:14px!important;line-height:1.25!important}
.bux-download-source{font-size:13px!important;line-height:1.5!important}
.bux-primary-card .bux-official-source{margin-top:14px;padding:13px 14px}
.bux-primary-card .bux-official-source h2{margin-bottom:6px!important;font-size:15px!important;line-height:1.35!important}
.bux-primary-card .bux-official-source p{font-size:14px!important;line-height:1.55!important}
.bux-document-facts{grid-template-columns:180px minmax(0,1fr);margin-bottom:16px;font-size:14px}
.bux-document-facts dt,.bux-document-facts dd{padding:10px 12px;line-height:1.45}
.bux-context-cta{gap:18px;margin:16px 0;padding:15px 17px}
.bux-context-copy strong{margin-bottom:4px;font-size:15px;line-height:1.35}
.bux-context-copy p{font-size:13px!important;line-height:1.5!important}
.bux-context-cta>a{min-height:40px;padding:0 14px;font-size:13px;line-height:1.25}
.bux-related-docs{margin-top:22px;padding-top:15px}
.bux-related-docs h2{margin-bottom:9px!important;font-size:18px!important}
.bux-related-docs a{padding:10px 5px;font-size:14px;line-height:1.45}
.bux-back-catalog{margin-top:14px!important;font-size:14px!important;line-height:1.45!important}
@media(max-width:800px){
  .bux-primary-card{padding:15px 14px}
  .bux-status-meta{font-size:13px}
  .bux-primary-card .bux-download-zone h2{font-size:19px!important}
  .bux-primary-card .bux-download-note{font-size:15px!important}
  .bux-document-facts{grid-template-columns:1fr;font-size:14px}
  .bux-context-cta{grid-template-columns:1fr;gap:10px}
  .bux-context-cta>a{justify-content:center}
}

/* Functional duplicate of the document H1 inside card pages. */
.bux-primary-title{margin:0 0 12px!important;color:#202020!important;font-size:21px!important;font-weight:750!important;line-height:1.30!important;text-align:left!important}
@media(max-width:800px){.bux-primary-title{margin-bottom:10px!important;font-size:19px!important;line-height:1.32!important}}

/* archive-functional-groups-2026-08-25 */

.bux-archive-catalog{margin:28px 0 0;padding-top:20px;border-top:2px solid #eceef2}
.bux-archive-catalog>h2{margin:0 0 6px!important;color:#3f4349!important;font-size:20px!important}
.bux-archive-intro{margin:0 0 12px!important;color:#656a70!important;font-size:14px!important;line-height:1.45;text-align:left!important}
.bux-archive-section .blank-code{color:#777}
.bux-current-version-link{min-width:auto;padding-left:9px;padding-right:9px}
.bux-current-version{margin:12px 0 0;padding:10px 12px;border:1px solid #dfe2e7;border-radius:7px;background:#fafbfc;font-size:14px;line-height:1.4}
.bux-current-version strong{color:#444}
.bux-current-version a{font-weight:750}
.bux-archive-cta{margin:14px 0 15px}
.bux-archive-full-list{margin:12px 0 0!important;font-size:13px!important;text-align:left!important}
.bux-archive-full-list a{font-weight:700}

/* PHASE43 USEFUL BLANK CARD */
/* PHASE43 USEFUL BLANK CARD */
.bux-form-guide{margin:12px 0 16px;padding:14px 15px;border:1px solid #e0e4ec;border-radius:8px;background:#fff}
.bux-form-guide h2{margin:0 0 7px!important;color:#333!important;font-size:18px!important;line-height:1.3!important}
.bux-form-summary{margin:0 0 10px!important;color:#555!important;font-size:13px!important;line-height:1.5!important;text-align:left!important}
.bux-guide-facts{display:grid;grid-template-columns:185px minmax(0,1fr);margin:0;border-top:1px solid #eceef1;font-size:12px}
.bux-guide-facts dt,.bux-guide-facts dd{margin:0;padding:7px 8px;border-bottom:1px solid #eceef1}
.bux-guide-facts dt{background:#fafafa;color:#555;font-weight:700}
.bux-guide-facts dd{color:#555;line-height:1.42}
.bux-file-name{font-family:Consolas,"Courier New",monospace;font-size:.96em;overflow-wrap:anywhere;color:#333;background:#f4f5f7;padding:1px 4px;border-radius:3px}
.bux-no-file-zone{border-top:1px solid #e1e4ea!important;padding-top:12px!important}
.bux-faq{margin:16px 0 10px;padding-top:12px;border-top:1px solid #e5e7eb}
.bux-faq h2{margin:0 0 8px!important;color:#484c52!important;font-size:15px!important}
.bux-faq-item{margin:0;border-bottom:1px solid #eceef1}
.bux-faq-item summary{cursor:pointer;padding:8px 4px;color:#333;font-size:12px;font-weight:700;line-height:1.4}
.bux-faq-item p{margin:0!important;padding:0 4px 9px!important;color:#666!important;font-size:12px!important;line-height:1.48!important;text-align:left!important}
@media(max-width:800px){
 .bux-guide-facts{grid-template-columns:1fr}
 .bux-guide-facts dt{padding-bottom:2px;border-bottom:0}
 .bux-guide-facts dd{padding-top:3px}
 .bux-form-guide{padding:12px}
}

/* Batch 5 — BUX blank-search visual sync with the current UBC search shell.
   Functionality remains in bux.js; this block changes presentation only. */
.bux-page .blanks-search{
  position:relative;
  display:flex;
  width:100%;
  min-height:44px;
  align-items:center;
  gap:5px;
  box-sizing:border-box;
  padding:3px 4px 3px 12px;
  overflow:hidden;
  border:1px solid #b9bec7;
  border-radius:22px;
  background:#DCDCDC;
  box-shadow:0 1px 4px rgba(0,0,0,.06);
}
.bux-page .blanks-search:focus-within{
  border-color:#00009F;
  box-shadow:0 1px 5px rgba(0,0,159,.10);
}
.bux-page .blanks-search input,
.bux-page .bux-search-panel .blanks-search input{
  flex:1 1 auto;
  width:100%;
  min-width:0;
  height:36px;
  margin:0;
  padding:0 5px 0 0;
  border:0;
  border-radius:0;
  outline:0;
  background:transparent;
  box-shadow:none;
  color:#222;
  font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  font-size:15px!important;
  line-height:36px;
}
.bux-page .blanks-search input:focus,
.bux-page .bux-search-panel .blanks-search input:focus{
  border:0;
  outline:0;
  box-shadow:none;
}
.bux-page .blanks-search button,
.bux-page .bux-search-panel .blanks-search button{
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
  width:auto;
  min-width:96px;
  height:36px;
  min-height:36px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0 14px;
  border:0;
  border-radius:999px;
  outline:0;
  background:#e3e5ed url("menu.png") repeat-x center / auto 100%;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
  color:#00009F;
  font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  font-size:13px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  text-shadow:none;
  transform:translateY(0);
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.bux-page .blanks-search button:hover,
.bux-page .bux-search-panel .blanks-search button:hover{
  border:0;
  background:#e3e5ed url("menu.png") repeat-x center / auto 100%;
  color:#00009F;
  box-shadow:0 3px 7px rgba(0,0,0,.18);
  filter:brightness(1.025);
  transform:translateY(-1px);
}
.bux-page .blanks-search button:active,
.bux-page .bux-search-panel .blanks-search button:active{
  box-shadow:0 1px 2px rgba(0,0,0,.12);
  filter:none;
  transform:translateY(0);
}
.bux-page .bux-search-panel{
  overflow:visible;
}
@media(max-width:800px){
  .bux-page .blanks-search,
  .bux-page .bux-search-panel .blanks-search{
    display:flex;
    grid-template-columns:none;
    min-height:44px;
    padding:3px 4px 3px 10px;
  }
  .bux-page .blanks-search button,
  .bux-page .bux-search-panel .blanks-search button{
    display:inline-flex;
    min-width:88px;
    height:36px;
    min-height:36px;
    padding:0 12px;
  }
}
@media(prefers-reduced-motion:reduce){
  .bux-page .blanks-search button,
  .bux-page .bux-search-panel .blanks-search button{
    transition:none;
  }
}

/* ========================================================================== 
   BUX SEARCH-FIRST UI/UX 2026-09-04
   Blank catalogue search: same visual language as the global UBC search,
   separate index/state, progressive filters and mobile search-first behaviour.
   ========================================================================== */

/* Catalogue heading: subtitle removed; breadcrumbs sit directly under H1. */
.bux-catalog-index #main-content > .page-title{
  margin-bottom:0!important;
  padding-bottom:2px!important;
}
.bux-catalog-index #main-content > .page-breadcrumbs{
  min-height:24px!important;
  margin-top:0!important;
  margin-bottom:3px!important;
  padding-top:0!important;
  padding-bottom:3px!important;
}

/* Breadcrumb icon is the exact vector from the main template, stored locally. */
.breadcrumb-home-icon-local{
  display:block;
  width:17px;
  height:17px;
  background:currentColor;
  -webkit-mask:url("image/breadcrumb-home.svg") center/17px 17px no-repeat;
  mask:url("image/breadcrumb-home.svg") center/17px 17px no-repeat;
}

/* Search panel no longer looks like a card: the oval search control is the UI. */
.bux-catalog-index .bux-search-panel{
  position:sticky;
  top:38px;
  z-index:82;
  margin:0 0 8px;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
.bux-blank-search-bundle{position:relative;width:100%}
.bux-blank-search-shell{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto 30px;
  gap:5px;
  width:100%;
  height:44px;
  min-height:44px;
  align-items:center;
  box-sizing:border-box;
  padding:3px 7px 3px 12px;
  overflow:hidden;
  border:1px solid #b9bec7;
  border-radius:22px;
  background:#DCDCDC;
  box-shadow:0 1px 4px rgba(0,0,0,.06);
  transition:border-color .16s ease,box-shadow .16s ease;
}
.bux-blank-search-shell:focus-within{
  border-color:#00009F;
  box-shadow:0 1px 5px rgba(0,0,159,.10);
}
.bux-blank-search-shell input,
.bux-blank-search-shell input[type="search"]{
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  margin:0!important;
  padding:0 4px 0 0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#222!important;
  font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;
  font-size:15px!important;
  line-height:36px!important;
  -webkit-appearance:none;
  appearance:none;
}
.bux-blank-search-shell input[type="search"]::-webkit-search-cancel-button{display:none}

/* Exact magnifier-plus geometry and pill treatment of the global UBC search. */
.bux-blank-search-submit{
  display:inline-flex;
  width:auto;
  min-width:124px;
  height:36px;
  min-height:36px;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:0;
  padding:0 13px;
  overflow:hidden;
  border:0;
  border-radius:999px;
  outline:0;
  background:#e3e5ed url("menu.png") repeat-x center/auto 100%;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
  color:#00009F;
  font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  font-size:13px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  text-shadow:none;
  transform:translateY(0);
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease,color .16s ease,background-color .16s ease,width .18s ease;
}
.bux-blank-search-magnifier,
.bux-blank-search-magnifier svg{display:block;width:18px;min-width:18px;height:18px}
.bux-blank-search-magnifier svg{
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Clear state: compact blue circle appears only after a query/filter starts. */
.bux-blank-search-clear{
  display:inline-flex;
  width:28px;
  min-width:28px;
  height:28px;
  min-height:28px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:#00009F;
  color:#fff;
  cursor:pointer;
  transition:background-color .15s ease,color .15s ease,transform .15s ease;
}
.bux-blank-search-clear[hidden]{display:none!important}
.bux-blank-search-clear svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}

/* Filter + is the right edge control. Open state rotates into an x. */
.bux-blank-filter-toggle{
  display:flex;
  width:30px;
  min-width:30px;
  height:36px;
  min-height:36px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#00009F;
  cursor:pointer;
}
.bux-blank-filter-plus-svg{
  display:block;
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  transition:transform .16s ease;
}
.bux-filter-open .bux-blank-filter-plus-svg{transform:rotate(45deg)}

@media (hover:hover) and (pointer:fine){
  .bux-blank-search-submit:hover{
    color:#F28C00;
    box-shadow:0 3px 7px rgba(0,0,0,.18);
    filter:brightness(1.025);
    transform:translateY(-1px);
  }
  .bux-blank-search-clear:hover{background:#F28C00;transform:translateY(-1px)}
  .bux-blank-filter-toggle:hover{color:#F28C00}
}
.bux-blank-search-submit:active{box-shadow:0 1px 2px rgba(0,0,0,.12);filter:none;transform:translateY(0)}
.bux-blank-search-clear:active{transform:translateY(0)}

/* Selected filters: text chip + a small independent blue x circle. */
.bux-blank-active-filters{
  display:none;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  padding:5px 7px 0;
}
.bux-blank-active-filters.is-visible{display:flex}
.bux-active-filter-chip{
  display:inline-flex;
  min-height:22px;
  align-items:center;
  gap:5px;
  color:#43484f;
  font-size:12px;
  line-height:18px;
}
.bux-active-filter-remove{
  display:inline-flex;
  width:18px;
  min-width:18px;
  height:18px;
  min-height:18px;
  align-items:center;
  justify-content:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:#00009F;
  color:#fff;
  cursor:pointer;
}
.bux-active-filter-remove svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
@media (hover:hover) and (pointer:fine){.bux-active-filter-remove:hover{background:#F28C00}}

/* Progressive filter popover. */
.bux-blank-filter-popover{
  margin-top:6px;
  max-height:min(55vh,420px);
  overflow:auto;
  box-sizing:border-box;
  padding:7px;
  border:1px solid #c7cbd1;
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.10);
}
.bux-blank-filter-popover[hidden]{display:none!important}
.bux-blank-filter-group{padding:5px 4px 8px;border-bottom:1px solid #e5e7ea}
.bux-blank-filter-group:last-child{border-bottom:0;padding-bottom:3px}
.bux-blank-filter-group-title{display:block;margin:0 0 5px;color:#525861;font-size:11px;line-height:1.2;text-transform:uppercase;letter-spacing:.035em}
.bux-blank-filter-options{display:flex;gap:5px;flex-wrap:wrap}
.bux-blank-filter-option{
  min-height:30px;
  padding:4px 9px;
  border:1px solid #d6d9de;
  border-radius:999px;
  background:#fff;
  color:#2f343a;
  font-size:12px;
  line-height:1.2;
  cursor:pointer;
}
.bux-blank-filter-option.is-selected{border-color:#00009F;background:#f4f5ff;color:#00009F;font-weight:700}
@media (hover:hover) and (pointer:fine){.bux-blank-filter-option:hover{border-color:#F28C00;color:#F28C00}}

/* Type-ahead results: first letters immediately surface the best matching forms. */
.bux-blank-autocomplete{
  margin-top:6px;
  overflow:hidden;
  border:1px solid #c7cbd1;
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.10);
}
.bux-blank-autocomplete[hidden]{display:none!important}
.bux-blank-autocomplete-result{
  display:block;
  padding:8px 10px;
  border-bottom:1px solid #e5e7ea;
  background:#fff;
  color:#20252b!important;
  text-decoration:none!important;
}
.bux-blank-autocomplete-result:last-child{border-bottom:0}
.bux-blank-autocomplete-result strong,.bux-blank-autocomplete-result span{display:block}
.bux-blank-autocomplete-result strong{font-size:14px;line-height:1.25}
.bux-blank-autocomplete-result span{margin-top:2px;color:#6a7078;font-size:11px;line-height:1.25}
.bux-blank-autocomplete-result.is-active{background:#f4f5ff}
@media (hover:hover) and (pointer:fine){
  .bux-blank-autocomplete-result:hover{background:#fafaff;color:#00009F!important}
  .bux-blank-autocomplete-result:hover strong{color:#00009F}
}

.bux-blank-search-meta{display:flex;min-height:0;align-items:center;justify-content:space-between;gap:10px;padding:4px 7px 0;color:#6b7076;font-size:11px;line-height:1.3}
.bux-blank-search-status{margin-left:auto;text-align:right}
.bux-show-archive-results{padding:0;border:0;background:transparent;color:#00009F;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.bux-show-archive-results:hover{color:#F28C00}

/* Frequently searched: compact silver oval pills using the main.png texture. */
.bux-frequent-searches{margin:0 0 10px}
.bux-frequent-searches>h2{margin:7px 0 5px!important;font-size:14px!important;line-height:1.25!important;color:#4a4f56!important}
.bux-frequent-searches .bux-quick-chips{gap:5px;margin:0}
.bux-frequent-searches .bux-quick-query{
  min-height:28px;
  height:28px;
  padding:0 10px;
  border:0;
  border-radius:999px;
  background:#e3e5ed url("main.png") repeat-x center/auto 100%;
  box-shadow:0 1px 2px rgba(0,0,0,.09);
  color:#00009F;
  font-size:11px;
  font-weight:700;
  line-height:28px;
  cursor:pointer;
}
@media (hover:hover) and (pointer:fine){.bux-frequent-searches .bux-quick-query:hover{color:#F28C00;box-shadow:0 2px 5px rgba(0,0,0,.13)}}

/* Information gateway now follows the search tools and stays compact. */
.bux-catalog-index #bux-information-gateway{margin:0 0 13px}
.bux-catalog-index #bux-information-gateway>h2{margin:9px 0 6px!important;font-size:15px!important}
.bux-catalog-index #bux-information-gateway .bux-category-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}
.bux-catalog-index #bux-information-gateway .bux-category-directory a{min-height:38px;padding:6px 9px}

/* Mobile: compact first screen and a blank-search control that sticks immediately
   below the sticky header/double rule after focus or the header magnifier tap. */
@media (max-width:900px){
  .bux-page .sidebar-details>summary,
  .bux-page .sidebar-column-title{display:none!important}
  .bux-page #ubc-sidebar .sidebar-details,
  .bux-page .main-grid>.sidebar-details{
    margin:0 0 7px!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .bux-page #ubc-sidebar .sidebar,
  .bux-page .main-grid>.sidebar-details>.sidebar{padding:0!important;margin:0!important}
  .bux-page #ubc-sidebar .service-list,
  .bux-page .main-grid>.sidebar-details>.sidebar>.service-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:12px!important;
    row-gap:1px!important;
    margin:0!important;
    padding:0!important;
  }
  .bux-page #ubc-sidebar .service-list li,
  .bux-page .main-grid>.sidebar-details>.sidebar>.service-list li{margin:0!important;border-bottom:0!important;min-width:0}
  .bux-page #ubc-sidebar .service-list a,
  .bux-page .main-grid>.sidebar-details>.sidebar>.service-list a{
    min-height:20px!important;
    height:auto!important;
    padding:1.6px 2px 1.6px 17px!important;
    font-size:14px!important;
    line-height:16px!important;
    overflow-wrap:anywhere;
  }
  .bux-page #ubc-sidebar .service-list a::before,
  .bux-page .main-grid>.sidebar-details>.sidebar>.service-list a::before{
    width:13px!important;height:16px!important;background-size:13px 16px!important;top:2px!important;
  }

  .bux-catalog-index #main-content>.page-title{padding-bottom:0!important}
  .bux-catalog-index #main-content>.page-breadcrumbs{min-height:20px!important;padding-bottom:1px!important}
  .bux-catalog-index #main-content>.main-grid{padding-top:5px!important}
  .bux-catalog-index #ubc-sidebar{margin:0 0 5px!important}

  .bux-catalog-index .bux-search-panel{
    top:calc(var(--ubc-pilot-mobile-sticky-height,93px) + 1px);
    z-index:6100;
    margin-bottom:5px;
    scroll-margin-top:calc(var(--ubc-pilot-mobile-sticky-height,93px) + 2px);
  }
  body.bux-blank-search-focus .bux-search-panel{
    padding:6px 0 7px;
    border-bottom:3px double #d8dde2;
    background:#fff;
  }
  .bux-blank-search-shell{
    grid-template-columns:minmax(0,1fr) auto auto 28px;
    gap:4px;
    padding:3px 6px 3px 10px;
  }
  .bux-blank-filter-toggle{width:28px;min-width:28px;height:38px;min-height:38px}
  .bux-blank-filter-plus-svg{width:19px;height:19px}
  .bux-blank-search-submit{
    width:clamp(104px,31vw,136px);
    min-width:38px;
    max-width:136px;
    height:38px;
    min-height:38px;
    padding:0 10px;
    background-color:#e3e5e8;
    background-image:url("image/mobile-search-button-silver.svg");
    background-repeat:no-repeat;
    background-position:center;
    background-size:100% 100%;
    box-shadow:none;
    transform:none;
  }
  .bux-blank-search-has-query .bux-blank-search-submit{
    width:38px;
    min-width:38px;
    max-width:38px;
    padding:0;
    border-radius:50%;
    background:#00009F;
    color:#fff;
  }
  .bux-blank-search-submit-text{display:inline-block;max-width:105px;overflow:hidden;opacity:1;transition:max-width .16s ease,opacity .12s ease}
  .bux-blank-search-has-query .bux-blank-search-submit-text{max-width:0;opacity:0}
  .bux-blank-search-has-query .bux-blank-search-magnifier,
  .bux-blank-search-has-query .bux-blank-search-magnifier svg{width:20px;min-width:20px;height:20px}
  .bux-blank-search-clear{width:28px;min-width:28px;height:28px;min-height:28px}
  .bux-blank-filter-popover{max-height:45vh}
  .bux-blank-filter-options{gap:4px}
  .bux-blank-filter-option{min-height:30px;padding:4px 8px;font-size:11px}
  .bux-blank-autocomplete-result{padding:7px 9px}
  .bux-blank-autocomplete-result strong{font-size:13px}
  .bux-blank-search-meta{display:block;padding-top:3px}
  .bux-blank-search-status{display:block;margin:2px 0 0;text-align:left}
  .bux-frequent-searches>h2{margin-top:5px!important}
  .bux-frequent-searches .bux-quick-query{min-height:30px;height:30px;font-size:11px;line-height:30px}
  .bux-catalog-index #bux-information-gateway .bux-category-directory{grid-template-columns:1fr}
}

@media (max-width:420px){
  .bux-blank-search-shell{padding-left:8px}
  .bux-blank-search-shell input{font-size:14px!important}
  .bux-blank-search-submit{width:104px;min-width:38px;padding:0 8px}
  .bux-blank-search-clear{width:26px;min-width:26px;height:26px;min-height:26px}
  .bux-page #ubc-sidebar .service-list a,
  .bux-page .main-grid>.sidebar-details>.sidebar>.service-list a{font-size:14px!important;line-height:16px!important}
}

@media (prefers-reduced-motion:reduce){
  .bux-blank-search-submit,.bux-blank-filter-plus-svg,.bux-blank-search-clear{transition:none!important}
  html{scroll-behavior:auto!important}
}
/* Keep the right-edge filter + in its dedicated fourth grid column even while
   the contextual clear circle is hidden. */
.bux-blank-search-shell>#blank-search{grid-column:1}
.bux-blank-search-shell>#blank-search-clear{grid-column:2}
.bux-blank-search-shell>#blank-search-submit{grid-column:3}
.bux-blank-search-shell>#blank-filter-toggle{grid-column:4}

/* UIUX final alignment: blank search is sticky only on mobile. */
@media (min-width:901px){
  .bux-catalog-index .bux-search-panel{
    position:relative;
    top:auto;
    z-index:82;
  }
}

/* Frequently searched: 30px accessible hit target with a visually 22px pill. */
.bux-frequent-searches .bux-quick-query{
  position:relative;
  isolation:isolate;
  background:transparent;
  box-shadow:none;
}
.bux-frequent-searches .bux-quick-query::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:3px 0;
  border-radius:999px;
  background:#e3e5ed url("main.png") repeat-x center/auto 100%;
  box-shadow:0 1px 2px rgba(0,0,0,.09);
  transition:box-shadow .15s ease,filter .15s ease;
}
@media (hover:hover) and (pointer:fine){
  .bux-frequent-searches .bux-quick-query:hover{box-shadow:none}
  .bux-frequent-searches .bux-quick-query:hover::before{box-shadow:0 2px 5px rgba(0,0,0,.13);filter:brightness(1.02)}
}
@media (max-width:900px){
  .bux-catalog-index .bux-search-panel{position:sticky}
  .bux-frequent-searches .bux-quick-query::before{inset:4px 0}
}

/* ========================================================================== 
   UI/UX 2026 FINAL FIXES — mobile priority and exact blank-search geometry.
   These rules deliberately outrank the legacy shell loaded before/after bux.css.
   ========================================================================== */
body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-shell{
  border:1px solid #b9bec7!important;
  border-radius:999px!important;
  background:#DCDCDC!important;
  background-image:none!important;
  overflow:hidden!important;
}
body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-shell:focus-within{
  border-color:#00009F!important;
}
body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-submit{
  border:0!important;
  border-radius:999px!important;
  background-color:#e3e5ed!important;
  background-image:url("menu.png")!important;
  background-repeat:repeat-x!important;
  background-position:center!important;
  background-size:auto 100%!important;
  color:#00009F!important;
}
body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-clear{
  border:0!important;
  border-radius:50%!important;
  background:#00009F!important;
  color:#fff!important;
}
body.ubc-page.bux-page.bux-catalog-index button.bux-blank-filter-toggle{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  color:#00009F!important;
}

@media (hover:hover) and (pointer:fine){
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-submit:hover{color:#F28C00!important}
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-clear:hover{background:#F28C00!important;color:#fff!important}
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-filter-toggle:hover{color:#F28C00!important}
}

@media (max-width:900px){
  /* On BUX mobile, keep the canonical first 12-service sidebar list visible
     in two columns. Hide only desktop cards and the obsolete TOP-7 block. */
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.sidebar{display:block!important}
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.sidebar>.sidebar-card.payment,
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.sidebar>.sidebar-card.office{display:none!important}
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.ubc-top-services{display:none!important}
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.ubc-top-services>h2{display:none!important}
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.ubc-top-services>.service-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:12px!important;
    row-gap:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.ubc-top-services>.service-list li{
    min-width:0!important;
    margin:0!important;
    border:0!important;
  }
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.ubc-top-services>.service-list a{
    display:grid!important;
    grid-template-columns:13px minmax(0,1fr)!important;
    column-gap:4px!important;
    min-height:20px!important;
    height:auto!important;
    margin:0!important;
    padding:2px 1px 2px 0!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:16px!important;
    background:transparent!important;
    overflow-wrap:anywhere!important;
  }
  body.ubc-page.bux-page #ubc-sidebar>.sidebar-details>.ubc-top-services>.service-list a::before{
    width:13px!important;
    height:16px!important;
    background-size:13px 16px!important;
    align-self:start!important;
    margin-top:0!important;
  }

  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-shell{
    height:44px!important;
    min-height:44px!important;
    grid-template-columns:minmax(0,1fr) auto auto 28px!important;
    gap:4px!important;
    padding:3px 6px 3px 10px!important;
    border-radius:22px!important;
  }
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-submit,
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query button.bux-blank-search-submit{
    display:inline-flex!important;
    width:94px!important;
    min-width:94px!important;
    max-width:94px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 9px!important;
    gap:5px!important;
    border:0!important;
    border-radius:999px!important;
    background-color:#e3e5e8!important;
    background-image:url("image/mobile-search-button-silver.svg")!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:100% 100%!important;
    color:#00009F!important;
    box-shadow:none!important;
    transform:none!important;
  }
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query .bux-blank-search-submit-text{
    display:inline-block!important;
    max-width:none!important;
    opacity:1!important;
  }
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query .bux-blank-search-magnifier,
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query .bux-blank-search-magnifier svg{
    width:18px!important;
    min-width:18px!important;
    height:18px!important;
  }
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-clear{
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
  }
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-filter-toggle{
    width:28px!important;
    min-width:28px!important;
    height:38px!important;
    min-height:38px!important;
  }
  body.ubc-page.bux-page.bux-catalog-index .bux-frequent-searches .bux-quick-query{
    min-height:30px!important;
    height:30px!important;
    padding:0 9px!important;
    font-size:11px!important;
    line-height:30px!important;
  }
  body.ubc-page.bux-page.bux-catalog-index .bux-frequent-searches .bux-quick-query::before{
    inset:4px 0!important; /* 22px visible pill inside a 30px touch target */
    background:#e3e5ed url("main.png") repeat-x center/auto 100%!important;
  }
}

@media (max-width:360px){
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-submit,
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query button.bux-blank-search-submit{
    width:86px!important;
    min-width:86px!important;
    max-width:86px!important;
    padding:0 7px!important;
  }
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-clear{
    width:26px!important;
    min-width:26px!important;
    height:26px!important;
    min-height:26px!important;
  }
}

/* ========================================================================== 
   UI/UX 2026 MOBILE SEARCH STATE — approved 2026-09-04.
   Desktop keeps the independent clear X. On mobile the clear control is hidden;
   once text is entered the Search pill collapses to the compact round launcher.
   ========================================================================== */
@media (max-width:900px){
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-shell{
    grid-template-columns:minmax(0,1fr) auto 28px!important;
  }
  body.ubc-page.bux-page.bux-catalog-index #blank-search{
    grid-column:1!important;
  }
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-clear{
    display:none!important;
  }
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-search-submit{
    grid-column:2!important;
  }
  body.ubc-page.bux-page.bux-catalog-index button.bux-blank-filter-toggle{
    grid-column:3!important;
  }
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query button.bux-blank-search-submit{
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0!important;
    gap:0!important;
    border-radius:50%!important;
    background-color:#00009F!important;
    background-image:none!important;
    background-repeat:no-repeat!important;
    background-position:center!important;
    background-size:auto!important;
    color:#fff!important;
  }
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query .bux-blank-search-submit-text{
    display:none!important;
    max-width:0!important;
    opacity:0!important;
  }
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query .bux-blank-search-magnifier,
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query .bux-blank-search-magnifier svg{
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
  }
}

@media (max-width:360px){
  body.ubc-page.bux-page.bux-catalog-index .bux-blank-search-has-query button.bux-blank-search-submit{
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    padding:0!important;
  }
}


/* Unified Search Batch B — one visible search field in the H1 zone.
   The legacy blank-search toolbar stays in DOM temporarily as the blank-index host,
   but is removed from layout and accessibility surface visually; Batch C migrates filters. */
body.bux-page .bux-search-panel[data-bux-blank-search="2026"]{display:none!important}
body.bux-unified-search-b.bux-blank-search-focus .bux-search-panel{position:static!important;inset:auto!important;box-shadow:none!important}


/* BUX Batch G8 — compact desktop catalogue + no visible subtitle under H1. */
/* The catalogue index has no visible subtitle; breadcrumbs sit immediately after H1. */
body.bux-page.bux-catalog-index #main-content>.bux-page-subtitle{display:none!important}
body.bux-page.bux-catalog-index #main-content>.page-title+.page-breadcrumbs{
  margin-top:0!important;
}

/* Desktop catalogue: larger type, substantially tighter vertical rhythm. */
@media (min-width:901px){
  body.bux-page.bux-catalog-index .blank-section-accordion{
    margin:4px 0!important;
    border-radius:7px;
  }
  body.bux-page.bux-catalog-index .blank-section-summary{
    min-height:40px!important;
    gap:10px!important;
    padding:5px 11px!important;
  }
  body.bux-page.bux-catalog-index .blank-section-summary strong{
    font-size:15.4px!important; /* +10% from 14px */
    line-height:1.18!important;
  }
  body.bux-page.bux-catalog-index .blank-section-count{
    font-size:12.1px!important; /* +10% from 11px */
    line-height:1.15!important;
  }
  body.bux-page.bux-catalog-index .blank-subsection>summary{
    padding:5px 11px!important;
    font-size:14.3px!important; /* +10% from 13px */
    line-height:1.2!important;
  }
  body.bux-page.bux-catalog-index .blank-item{
    min-height:32px!important;
    gap:7px!important;
    padding:3px 30px 3px 10px!important;
  }
  body.bux-page.bux-catalog-index .blank-title a{
    font-size:14.3px!important; /* +10% from 13px */
    line-height:1.20!important;
  }
  body.bux-page.bux-catalog-index .blank-code{
    margin-top:1px!important;
    font-size:11px!important;
    line-height:1.15!important;
  }
  body.bux-page.bux-catalog-index .blank-actions{
    gap:3px!important;
    align-self:center!important;
  }
  body.bux-page.bux-catalog-index .blank-action{
    height:20px!important;
    padding:0 5px!important;
    font-size:9.5px!important;
    line-height:20px!important;
  }
  body.bux-page.bux-catalog-index .blank-item::after{
    right:9px!important;
    font-size:18px!important;
  }
  body.bux-page.bux-catalog-index .bux-archive-catalog{
    margin-top:20px!important;
    padding-top:14px!important;
  }
  body.bux-page.bux-catalog-index .bux-archive-catalog>h2{
    margin-bottom:4px!important;
  }
}

/* BUX Batch G9E — hide technical counters without altering catalogue DOM.
   Keep the elements/classes in place because catalogue accordion/search code relies
   on the original structure. Only their visual rendering is suppressed. */
body.bux-page .blank-section-count,
body.bux-page .blank-subsection-meta,
body.bux-page .bux-category-directory a > span {
  display:none!important;
}

/* Remove layout space previously reserved for the hidden counters. */
body.bux-page .blank-section-summary {
  grid-template-columns:minmax(0,1fr) auto!important;
}
body.bux-page .blank-section-summary::after {
  grid-column:2!important;
}
body.bux-page .bux-category-directory a {
  grid-template-columns:minmax(0,1fr)!important;
}

/* Mobile typography sizes approved 2026-09-16. Font-size only; line-height/spacing unchanged. */
@media (max-width: 800px){
  #main-content > .page-title, #main-content .article h1{font-size:17px!important;}
  #main-content .article h2{font-size:16px!important;}
  #main-content .article h3{font-size:15px!important;}
  #main-content .article p, #main-content .article li{font-size:13px!important;}
  #main-content .service-list > li > a{font-size:12px!important;}
}
