/* UNTAN FULL UI v19 - content pin + EPrints page styling */
:root{--bg:#edf3f8;--surface:#f7fbff;--surface-soft:#e6eef7;--text:#07172f;--muted:#53657c;--line:#c5d4e6;--navy:#082756;--navy-2:#103a78;--blue:#1857ad;--blue-soft:#dfe9f8;--shadow:0 18px 46px rgba(8,39,86,.14);--shadow-soft:0 10px 26px rgba(8,39,86,.095);--radius:12px;--radius-sm:8px;--font:"Plus Jakarta Sans",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--text);background:radial-gradient(circle at 8% 0%,rgba(30,95,203,.08),transparent 330px),linear-gradient(180deg,#f4f8fc 0%,var(--bg) 46%,#e6eef7 100%);font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.untan-container{width:min(1240px,calc(100% - 40px));margin:0 auto}.untan-topbar{background:linear-gradient(90deg,#082756 0%,#103a78 56%,#0a2f66 100%);color:#fff;font-size:13px;font-weight:600}.untan-topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:18px}.untan-top-links,.untan-social{display:flex;align-items:center;gap:18px}.untan-top-links a,.untan-social a{opacity:.92;transition:opacity .2s ease,transform .2s ease}.untan-top-links a:hover,.untan-social a:hover{opacity:1;transform:translateY(-1px)}.untan-navbar{position:sticky;top:0;z-index:30;background:#f7fbff;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:1px solid #d3dfec;box-shadow:0 10px 26px rgba(6,26,60,.05);opacity:1}.untan-nav-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:28px}.untan-brand{display:flex;align-items:center;gap:14px;min-width:260px}.untan-brand-mark{width:44px;height:44px;border:1px solid #d7e2ef;border-radius:50%;display:grid;place-items:center;background:#f8fbff;overflow:hidden}.untan-brand-mark img{width:32px;height:32px;object-fit:contain}.untan-brand-text{line-height:1.15;letter-spacing:.16em;font-size:12px;font-weight:800;text-transform:uppercase}.untan-nav-cta{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;padding:0 20px!important;margin-left:14px;border-radius:10px;background:linear-gradient(180deg,#1a5aac 0%,#13498f 100%)!important;color:#fff!important;box-shadow:0 12px 24px rgba(19,73,143,.22);border:1px solid rgba(255,255,255,.10)}.untan-nav-cta:hover{background:linear-gradient(180deg,#2064bd 0%,#17539f 100%)!important;transform:translateY(-2px);color:#fff!important}.untan-page{min-height:calc(100vh - 124px);padding:72px 0 88px;background:radial-gradient(circle at 80% 0%,rgba(24,87,173,.08),transparent 360px),linear-gradient(180deg,#f3f8fc 0%,#e8f0f8 100%)}.untan-page-card{padding:28px 28px 32px;border:1px solid rgba(197,212,230,.96);border-radius:var(--radius);background:rgba(247,251,255,.88);box-shadow:var(--shadow-soft)}.untan-page-title{margin-bottom:22px}.untan-page-title h1,.untan-page-title h2,.untan-page-title{font-size:clamp(24px,2.4vw,34px);line-height:1.18;letter-spacing:-.04em;font-weight:800;color:#07172f}.untan-eprints-content{color:#21314a}.untan-eprints-content a{color:#1857ad;text-decoration:none;font-weight:700}.untan-eprints-content a:hover{text-decoration:underline;text-underline-offset:3px}.untan-eprints-content h1,.untan-eprints-content h2,.untan-eprints-content h3{color:#07172f;letter-spacing:-.03em}.untan-eprints-content p{color:#53657c}.untan-eprints-content table{width:100%;border-collapse:separate;border-spacing:0;margin:18px 0;border:1px solid #c5d4e6;border-radius:12px;overflow:hidden;background:#fff}.untan-eprints-content th,.untan-eprints-content td{padding:12px 14px;border-bottom:1px solid #e0e8f2;vertical-align:top}.untan-eprints-content tr:last-child th,.untan-eprints-content tr:last-child td{border-bottom:0}.untan-eprints-content th{background:#eaf1fb;color:#082756;font-weight:800}.untan-eprints-content input[type=text],.untan-eprints-content input[type=search],.untan-eprints-content input[type=password],.untan-eprints-content textarea,.untan-eprints-content select{border:1px solid #c5d4e6!important;border-radius:10px!important;padding:10px 12px!important;background:#fff!important;color:#07172f!important;max-width:100%}.untan-eprints-content input[type=submit],.untan-eprints-content button,.ep_form_action_button,.ep_tm_key_tools a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:10px;border:1px solid rgba(255,255,255,.10);background:linear-gradient(180deg,#1a5aac 0%,#13498f 100%)!important;color:#fff!important;font-weight:800;box-shadow:0 10px 20px rgba(19,73,143,.16);cursor:pointer}.untan-eprints-content ul,.untan-eprints-content ol{padding-left:22px}.ep_search_results,.ep_search_controls,.ep_search_fields,.ep_view_page,.ep_summary_content,.ep_summary_page,.ep_doc_icon,.ep_block,.ep_toolbox_content{background:transparent!important}.ep_search_result,.untan-result-card{display:grid;gap:8px;margin:12px 0;padding:18px;border:1px solid #c5d4e6;border-radius:12px;background:rgba(255,255,255,.75);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.ep_search_result:hover,.untan-result-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft);border-color:#aebfdb}.untan-browse-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin-top:20px}.untan-browse-card{display:block;padding:18px;border:1px solid #c5d4e6;border-radius:12px;background:rgba(255,255,255,.82);box-shadow:0 8px 20px rgba(8,39,86,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.untan-browse-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft);border-color:#aebfdb;text-decoration:none}.untan-browse-card strong{display:block;color:#07172f;font-size:16px;margin-bottom:6px}.untan-browse-card span{color:#53657c;font-size:13px}.untan-paper-list{display:grid;gap:12px;margin-top:20px}.untan-paper{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:start;padding:18px;border:1px solid #c5d4e6;border-radius:12px;background:rgba(255,255,255,.82);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.untan-paper:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft);border-color:#aebfdb}.untan-paper-number{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#dfe9f8;color:#13498f;font-size:13px;font-weight:800}.untan-paper h3{font-size:15px;line-height:1.45;margin:0 0 6px}.untan-paper p{margin:0;color:#53657c;font-size:13px}.untan-paper-tag{padding:6px 10px;border-radius:8px;color:#1857ad;background:#dfe9f8;font-size:12px;font-weight:800;white-space:nowrap}.untan-footer{padding:32px 0;background:linear-gradient(180deg,#142b49 0%,#0b1f3a 100%);color:#b7c5d8}.untan-footer-inner{display:flex;justify-content:space-between;gap:20px;font-size:12px}.untan-footer strong{color:#fff}.ep_tm_footer,.ep_footer,.ep_view_browse_list h2{display:none!important}@media (max-width:980px){.untan-container{width:min(100% - 28px,1240px)}.untan-nav-inner{min-height:72px}.untan-brand{min-width:auto}.untan-brand-text{font-size:11px}.untan-paper{grid-template-columns:1fr}.untan-paper-tag{width:fit-content}}@media (max-width:720px){.untan-topbar-inner,.untan-footer-inner{flex-direction:column;align-items:flex-start}.untan-nav-inner{align-items:flex-start;flex-direction:column;padding:14px 0}.untan-nav-cta{margin-left:0}.untan-page{padding:42px 0}.untan-page-card{padding:20px}.untan-browse-grid{grid-template-columns:1fr}}

/* UNTAN FULL UI v19 - extra page polish */
.untan-eprints-content .ep_summary_page,
.untan-eprints-content .ep_summary_content {
  display: block !important;
}
.untan-eprints-content .ep_summary_content > table {
  margin-top: 12px;
}
.untan-eprints-content .ep_view_page h2,
.untan-eprints-content .ep_view_page h3 {
  margin-top: 24px;
}
.untan-eprints-content .ep_search_results {
  display: grid;
  gap: 12px;
}
.untan-eprints-content .ep_search_result {
  display: block !important;
}
.untan-empty {
  padding: 18px;
  border: 1px dashed #b8cbe3;
  border-radius: 12px;
  color: #53657c;
  background: rgba(255,255,255,.65);
}
.untan-page-title h1:empty::after {
  content: "Repository Universitas Tanjungpura";
}
@media print {
  .untan-topbar,.untan-navbar,.untan-footer { display: none !important; }
  .untan-page { background: #fff; padding: 0; }
  .untan-page-card { border: 0; box-shadow: none; }
}

/* UNTAN FULL UI v19 - detail page sizing and fixed header */
.untan-page-title{max-width:1120px}
.untan-page-title h1{margin:0}
.ep_summary_page .untan-page-title h1,
.untan-page-title h1.ep_detail_title{font-size:clamp(22px,2.2vw,32px)}
header.untan-navbar, .untan-topbar{opacity:1 !important}


/* UNTAN FULL UI v19 - force detail page header and title final fix */
.untan-topbar,
.untan-topbar * {
  opacity: 1 !important;
}

.untan-topbar a,
.untan-topbar a:link,
.untan-topbar a:visited,
.untan-topbar .untan-top-links a,
.untan-topbar .untan-social a {
  color: #ffffff !important;
  opacity: .96 !important;
  text-decoration: none !important;
}

.untan-topbar a:hover,
.untan-topbar .untan-top-links a:hover,
.untan-topbar .untan-social a:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}

.untan-navbar {
  background: #f7fbff !important;
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: #d3dfec !important;
}

.untan-navbar *,
.untan-navbar a,
.untan-navbar a:link,
.untan-navbar a:visited {
  opacity: 1 !important;
}

.untan-page-title {
  margin-bottom: 22px !important;
}

.untan-page-title h1,
.untan-page-card > .untan-page-title > h1,
main.untan-page .untan-page-title h1 {
  max-width: 980px !important;
  margin: 0 auto 20px auto !important;
  font-size: clamp(20px, 1.55vw, 25px) !important;
  line-height: 1.32 !important;
  letter-spacing: -.018em !important;
  font-weight: 800 !important;
  text-align: center !important;
  color: #07172f !important;
  text-transform: none !important;
}

@media (max-width: 720px) {
  .untan-page-title h1,
  .untan-page-card > .untan-page-title > h1,
  main.untan-page .untan-page-title h1 {
    font-size: 20px !important;
    line-height: 1.34 !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* UNTAN FULL UI v19 - exact homepage header for generated EPrints pages */
html body .untan-topbar {
  background: linear-gradient(90deg,#082756 0%,#103a78 56%,#0a2f66 100%) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  filter: none !important;
}

html body .untan-topbar *,
html body .untan-topbar a,
html body .untan-topbar a:link,
html body .untan-topbar a:visited,
html body .untan-topbar .untan-top-links a,
html body .untan-topbar .untan-social a {
  color: #ffffff !important;
  opacity: .96 !important;
  text-decoration: none !important;
}

html body .untan-topbar a:hover {
  opacity: 1 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

html body header.untan-navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  background: rgba(247,251,255,.9) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(211,223,236,.95) !important;
  box-shadow: 0 10px 26px rgba(6,26,60,.035) !important;
  opacity: 1 !important;
  filter: none !important;
}

html body header.untan-navbar *,
html body header.untan-navbar a,
html body header.untan-navbar a:link,
html body header.untan-navbar a:visited {
  opacity: 1 !important;
}









/* Smaller detail title: final lock */
html body main.untan-page .untan-page-card .untan-page-title h1,
html body main.untan-page .untan-page-title h1,
html body .untan-page-title h1 {
  max-width: 920px !important;
  margin: 0 auto 20px auto !important;
  font-size: clamp(18px, 1.35vw, 22px) !important;
  line-height: 1.36 !important;
  letter-spacing: -.01em !important;
  font-weight: 800 !important;
  text-align: center !important;
  color: #07172f !important;
  text-transform: none !important;
}

/* Keep homepage hero title untouched */
html body .hero h1,
html body .untan-hero h1 {
  font-size: clamp(38px,5vw,68px) !important;
  line-height: 1.04 !important;
  text-align: left !important;
}


/* UNTAN FULL UI v19 - dynamic active menu final lock */







/* UNTAN FULL UI v19 - visible active menu final fix */







/* v25 responsive typography refinements */
.repo-global-topbar,.repo-global-navbar,.untan-page,.untan-page-card,.untan-eprints-content,.untan-eprints-content *{font-family:"Plus Jakarta Sans",Inter,Arial,sans-serif!important}
.untan-page{padding:58px 0 74px!important}
.untan-page-card{padding:24px 24px 28px!important;border-radius:16px!important}
.untan-page-title h1,.untan-page-card h1:first-child{font-size:clamp(24px,2.1vw,32px)!important;line-height:1.2!important;letter-spacing:-.025em!important}
.untan-eprints-content{font-size:14px!important;line-height:1.7!important}
.untan-eprints-content p,.untan-eprints-content li,.untan-eprints-content td,.untan-eprints-content th{font-size:14px!important}
.untan-eprints-content h2{font-size:22px!important;line-height:1.28!important}
.untan-eprints-content h3{font-size:18px!important;line-height:1.32!important}
@media(max-width:720px){.untan-page{padding:30px 0 42px!important}.untan-page-card{padding:18px 16px 20px!important;border-radius:14px!important}.untan-page-title{margin-bottom:16px!important}.untan-page-title h1,.untan-page-card h1:first-child{font-size:clamp(17px,5.4vw,22px)!important;line-height:1.24!important;letter-spacing:-.015em!important}.untan-eprints-content,.untan-eprints-content p,.untan-eprints-content li,.untan-eprints-content td,.untan-eprints-content th{font-size:13.25px!important;line-height:1.62!important}.untan-eprints-content h2{font-size:18px!important}.untan-eprints-content h3{font-size:16px!important}.untan-eprints-content table{margin:14px 0!important}.untan-eprints-content th,.untan-eprints-content td{padding:10px 11px!important}}

/* v28 abstract background: original CSS treatment, no external image */
.untan-page{position:relative!important;background:
  radial-gradient(ellipse at 12% 3%,rgba(103,151,190,.20) 0,rgba(103,151,190,.07) 25%,transparent 46%),
  radial-gradient(ellipse at 92% 16%,rgba(141,177,205,.22) 0,rgba(141,177,205,.06) 30%,transparent 52%),
  linear-gradient(165deg,rgba(224,235,244,.92) 0 18%,rgba(246,250,253,.96) 18% 39%,rgba(219,232,242,.80) 39% 53%,rgba(248,251,254,.96) 53% 72%,rgba(220,234,244,.86) 72% 86%,rgba(244,249,252,.98) 86% 100%)!important;background-attachment:scroll!important;background-size:cover!important}
.untan-page-card{background:rgba(248,251,255,.90)!important;backdrop-filter:blur(2px)!important;-webkit-backdrop-filter:blur(2px)!important}


/* v30 internal image background - Browse, Contact, detail pages */
.untan-page{background-color:#edf4fa!important;background-image:linear-gradient(135deg,rgba(16,58,120,.055) 0,rgba(16,58,120,.055) 1px,transparent 1px,transparent 34px),linear-gradient(45deg,rgba(21,82,157,.035) 0,rgba(21,82,157,.035) 1px,transparent 1px,transparent 42px),linear-gradient(180deg,#f5f9fd 0%,#edf4fa 100%)!important;background-size:34px 34px,42px 42px,100% 100%!important;background-position:0 0,12px 8px,0 0!important;background-repeat:repeat,repeat,no-repeat!important;background-attachment:scroll!important}
.untan-page-card{background:#f8fbff!important}
@media(max-width:900px){.untan-page{background-attachment:scroll!important}}
\n\n/* v34 Browse by Author — modern alphabet index + responsive author grid */
.untan-eprints-content.repo-author-view{font-family:"Plus Jakarta Sans",Inter,Arial,sans-serif!important;color:#17233a!important}
.repo-author-alpha{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important;
  margin:0 0 24px!important;padding:10px 12px!important;
  border:1px solid #d5e0ec!important;border-radius:12px!important;
  background:#fff!important;box-shadow:0 4px 12px rgba(8,39,86,.045)!important;
}
.repo-author-alpha a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:30px!important;height:30px!important;padding:0 8px!important;
  border:1px solid transparent!important;border-radius:8px!important;
  color:#15529d!important;background:transparent!important;
  font-size:12.5px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease!important;
}
.repo-author-alpha a:hover,.repo-author-alpha a:focus{
  background:#edf4fc!important;border-color:#d6e3f2!important;color:#103f7d!important;text-decoration:none!important;
}
.repo-author-alpha a.is-current{
  background:#15529d!important;border-color:#15529d!important;color:#fff!important;
}
.untan-eprints-content.repo-author-view>h2,
.untan-eprints-content.repo-author-view>h3{
  margin:22px 0 10px!important;color:#0b1f3a!important;
  font-size:19px!important;line-height:1.3!important;font-weight:800!important;letter-spacing:-.015em!important;
}
.untan-eprints-content.repo-author-view>ul{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  column-gap:28px!important;row-gap:7px!important;
  margin:0 0 18px!important;padding:0!important;list-style:none!important;
}
.untan-eprints-content.repo-author-view>ul>li{
  position:relative!important;margin:0!important;padding:0 0 0 14px!important;
  min-width:0!important;color:#4f6178!important;
  font-size:13.25px!important;line-height:1.55!important;font-weight:500!important;
}
.untan-eprints-content.repo-author-view>ul>li::before{
  content:""!important;position:absolute!important;left:1px!important;top:.67em!important;
  width:4px!important;height:4px!important;border-radius:50%!important;background:#8ca9cc!important;
}
.untan-eprints-content.repo-author-view>ul>li>a{
  color:#15529d!important;font-size:13.25px!important;font-weight:700!important;line-height:1.55!important;
  overflow-wrap:anywhere!important;text-decoration:none!important;
}
.untan-eprints-content.repo-author-view>ul>li>a:hover{text-decoration:underline!important;text-underline-offset:3px!important}
.untan-eprints-content.repo-author-view .repo-author-empty{color:#6a7b90!important;font-size:13px!important}
@media(max-width:980px){
  .untan-eprints-content.repo-author-view>ul{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:22px!important}
}
@media(max-width:640px){
  .repo-author-alpha{gap:4px!important;padding:9px!important;margin-bottom:18px!important}
  .repo-author-alpha a{min-width:28px!important;height:28px!important;padding:0 7px!important;font-size:11.75px!important}
  .untan-eprints-content.repo-author-view>h2,.untan-eprints-content.repo-author-view>h3{font-size:17px!important;margin:18px 0 9px!important}
  .untan-eprints-content.repo-author-view>ul{grid-template-columns:1fr!important;row-gap:6px!important;margin-bottom:15px!important}
  .untan-eprints-content.repo-author-view>ul>li,.untan-eprints-content.repo-author-view>ul>li>a{font-size:12.75px!important}
}

/* v50 background for Browse, Contact and native internal pages */
.untan-page{
  background-color:#edf4fa!important;
  background-image:linear-gradient(rgba(245,247,249,.64),rgba(245,247,249,.68)),url('/hero-ai-2.webp')!important;
  background-size:cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
}

/* v53 performance pass — lightweight native/detail pages */
html body header.untan-navbar,
.untan-page-card,
.untan-eprints-content,
.ep_summary_page,
.ep_summary_content,
.ep_view_page{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  filter:none!important;
}
.untan-page{
  background-color:#edf4fa!important;
  background-image:linear-gradient(rgba(245,247,249,.64),rgba(245,247,249,.68)),url('/hero-ai-2.webp')!important;
  background-size:100% auto!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
}
.untan-page-card{
  background:rgba(248,251,255,.97)!important;
  box-shadow:0 6px 18px rgba(8,39,86,.055)!important;
}
/* Avoid unnecessary animation/compositing while scrolling native pages */
.untan-page *,
.untan-page *::before,
.untan-page *::after{
  scroll-behavior:auto!important;
}
.untan-eprints-content a,
.untan-eprints-content button,
.untan-eprints-content input,
.untan-eprints-content select,
.untan-eprints-content textarea{
  will-change:auto!important;
}
@media(max-width:900px){
  .untan-page{
    background-size:auto 520px!important;
    background-position:center top!important;
  }
  .untan-page-card{box-shadow:0 4px 12px rgba(8,39,86,.045)!important}
}

/* v53 native/detail scroll performance overrides */
/* Avoid expensive repaint/compositing on long native EPrints pages. */
html,body{scroll-behavior:auto!important}
body,main,.untan-page,.ep_summary_content,.ep_summary_content_main,.ep_view_page,.ep_view_page_view_subjects{
  background-attachment:scroll!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  filter:none!important;
}
/* Keep abstract image static in composition: render once near top, then plain base color. */
body:not(.home-page){
  background-color:#eef5fb!important;
  background-image:
    linear-gradient(rgba(247,251,255,.72),rgba(247,251,255,.72)),
    url('/hero-ai-2.webp')!important;
  background-repeat:no-repeat!important;
  background-size:100% 720px!important;
  background-position:center 121px!important;
}
/* Native/detail page cards: solid surfaces render faster than translucent layered cards. */
main.untan-page,
.ep_summary_content,
.ep_view_page,
.ep_view_page_view_subjects,
body .ep_tm_main{
  background:#f8fbff!important;
  border:1px solid rgba(199,215,232,.92)!important;
  box-shadow:0 3px 10px rgba(14,45,86,.055)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transform:none!important;
  will-change:auto!important;
  contain:none!important;
}
/* Disable transitions/animations on long native content and links. */
main.untan-page *,
.ep_summary_content *,
.ep_view_page *,
.ep_view_page_view_subjects *{
  animation:none!important;
  transition:none!important;
  will-change:auto!important;
}
/* Translation/floating utilities: avoid large blur/shadow repaint while scrolling. */
.goog-te-gadget,
.goog-te-combo,
[id*="google_translate"],
.skiptranslate,
.repo-floating-translate{
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  filter:none!important;
}
.repo-floating-translate{box-shadow:0 2px 8px rgba(14,45,86,.08)!important}
/* Long browse indexes benefit from simple layout painting. */
@media(max-width:900px){
  body:not(.home-page){background-size:auto 520px!important;background-position:center 116px!important}
  main.untan-page,.ep_summary_content,.ep_view_page,.ep_view_page_view_subjects{box-shadow:none!important}
}

/* v58 — preserve custom UNTAN detail/native UI while keeping latest EPrints logic */
/* Only the page canvas is unified with OPAC. Component/card/table typography stays from v53. */
body:not(.home-page){
  background-color:#edf4fa!important;
  background-image:linear-gradient(rgba(245,247,249,.64),rgba(245,247,249,.68)),url('/hero-ai-2.webp')!important;
  background-size:cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
}

/* v59 — restore UNTAN custom detail presentation; EPrints remains the data/rendering engine */
body.untan-detail-page .untan-page{padding-top:58px!important}
body.untan-detail-page .untan-page-card{
  padding:28px 24px 32px!important;
  border:1px solid #c9d9ea!important;
  border-radius:16px!important;
  background:#f8fbff!important;
  box-shadow:0 6px 18px rgba(8,39,86,.055)!important;
}
body.untan-detail-page .untan-page-title{margin:0 0 26px!important;padding:0 28px!important}
body.untan-detail-page .untan-page-title h1{
  max-width:960px!important;margin:0 auto!important;
  font-size:clamp(20px,1.55vw,26px)!important;line-height:1.34!important;
  font-weight:800!important;letter-spacing:-.018em!important;text-align:center!important;color:#07172f!important;
}
body.untan-detail-page .untan-eprints-content{font-size:14px!important;line-height:1.7!important;color:#53657c!important}
/* The native summary wrapper must not become a second bordered card/table. */
body.untan-detail-page .untan-eprints-content .ep_summary_page,
body.untan-detail-page .untan-eprints-content .ep_summary_content,
body.untan-detail-page .untan-eprints-content .ep_view_page{
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body.untan-detail-page .untan-eprints-content .ep_summary_page>table:first-of-type,
body.untan-detail-page .untan-eprints-content .ep_summary_content>table:first-of-type,
body.untan-detail-page .untan-eprints-content>table:first-child{
  width:100%!important;margin:0!important;padding:0!important;border:0!important;border-collapse:collapse!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
body.untan-detail-page .untan-eprints-content .ep_summary_page>table:first-of-type td,
body.untan-detail-page .untan-eprints-content .ep_summary_page>table:first-of-type th,
body.untan-detail-page .untan-eprints-content .ep_summary_content>table:first-of-type td,
body.untan-detail-page .untan-eprints-content .ep_summary_content>table:first-of-type th,
body.untan-detail-page .untan-eprints-content>table:first-child>tbody>tr>td,
body.untan-detail-page .untan-eprints-content>table:first-child>tbody>tr>th{
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body.untan-detail-page .untan-eprints-content h2{
  margin:28px 0 14px!important;font-size:22px!important;line-height:1.25!important;font-weight:800!important;color:#07172f!important;
}
body.untan-detail-page .untan-eprints-content p{margin:0 0 14px!important;color:#5a6d84!important}
body.untan-detail-page .untan-eprints-content img.ep_doc_icon,
body.untan-detail-page .untan-eprints-content .ep_doc_icon img{
  width:auto!important;max-width:38px!important;height:auto!important;margin-right:14px!important;
}
/* Keep the actual metadata table polished, not flattened. */
body.untan-detail-page .untan-eprints-content table.untan-metadata-table{
  width:100%!important;margin:24px 0 0!important;border:1px solid #c5d4e6!important;border-radius:12px!important;
  border-collapse:separate!important;border-spacing:0!important;background:#fff!important;overflow:hidden!important;
}
body.untan-detail-page .untan-eprints-content table.untan-metadata-table th,
body.untan-detail-page .untan-eprints-content table.untan-metadata-table td{
  padding:12px 14px!important;border-bottom:1px solid #e0e8f2!important;vertical-align:top!important;
}
body.untan-detail-page .untan-eprints-content table.untan-metadata-table th{width:24%!important;background:#eaf1fb!important;color:#082756!important;font-weight:800!important}
body.untan-detail-page .untan-eprints-content table.untan-metadata-table tr:last-child th,
body.untan-detail-page .untan-eprints-content table.untan-metadata-table tr:last-child td{border-bottom:0!important}
@media(max-width:720px){
  body.untan-detail-page .untan-page{padding-top:28px!important}
  body.untan-detail-page .untan-page-card{padding:20px 16px 24px!important}
  body.untan-detail-page .untan-page-title{padding:0!important;margin-bottom:20px!important}
  body.untan-detail-page .untan-page-title h1{font-size:18px!important;text-align:left!important}
  body.untan-detail-page .untan-eprints-content{font-size:13.25px!important;line-height:1.64!important}
  body.untan-detail-page .untan-eprints-content h2{font-size:19px!important}
  body.untan-detail-page .untan-eprints-content table.untan-metadata-table th{width:34%!important}
}

/* v60 FINAL DETAIL WIDTH — restore full UNTAN custom proportions */
body.untan-detail-page .untan-page > .untan-container{
  width:min(1240px,calc(100% - 40px))!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.untan-detail-page .untan-page-card{
  width:100%!important;
  max-width:none!important;
  padding:30px 32px 34px!important;
}
body.untan-detail-page .untan-page-title{
  max-width:none!important;
  padding:0 20px!important;
  margin-bottom:28px!important;
}
body.untan-detail-page .untan-page-title h1{
  max-width:1100px!important;
  font-size:clamp(22px,1.65vw,27px)!important;
  line-height:1.32!important;
}
body.untan-detail-page .untan-eprints-content{
  width:100%!important;
  max-width:none!important;
}
@media(max-width:900px){
  body.untan-detail-page .untan-page > .untan-container{width:calc(100% - 28px)!important}
  body.untan-detail-page .untan-page-card{padding:24px 20px 28px!important}
}
@media(max-width:640px){
  body.untan-detail-page .untan-page > .untan-container{width:calc(100% - 20px)!important}
  body.untan-detail-page .untan-page-card{padding:18px 15px 22px!important}
  body.untan-detail-page .untan-page-title{padding:0!important}
}


/* v61 — detail page background should match OPAC background canvas */
body.untan-detail-page{
  background-color:#edf4fa!important;
  background-image:linear-gradient(rgba(245,247,249,.64),rgba(245,247,249,.68)),url('/hero-ai-2.webp')!important;
  background-size:cover!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
}
body.untan-detail-page main.untan-page{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.untan-detail-page .untan-page-card{
  background:#f8fbff!important;
  border:1px solid #c9d9ea!important;
  box-shadow:0 6px 18px rgba(8,39,86,.055)!important;
}
@media(max-width:900px){
  body.untan-detail-page{background-size:cover!important;background-position:center top!important;}
}


/* v62 — full-screen internal/detail background matching OPAC */
html,body{min-height:100%!important;}
body.untan-detail-page{
  min-height:100vh!important;
  background-color:#edf4fa!important;
  background-image:linear-gradient(rgba(245,247,249,.64),rgba(245,247,249,.68)),url('/hero-ai-2.webp')!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
}
body.untan-detail-page main.untan-page{
  min-height:calc(100vh - 121px)!important;
  background:transparent!important;
}
body.untan-detail-page .repo-global-footer{
  margin-top:0!important;
}
@media(max-width:900px){
  body.untan-detail-page{background-size:cover!important;background-position:center top!important;}
  body.untan-detail-page main.untan-page{min-height:calc(100vh - 124px)!important;}
}


/* v63 — make detail/native background fill the entire content canvas like OPAC */
body.untan-detail-page{
  background:#edf4fa!important;
}
body.untan-detail-page main.untan-page{
  min-height:calc(100vh - 121px)!important;
  background-color:#edf4fa!important;
  background-image:linear-gradient(rgba(245,247,249,.64),rgba(245,247,249,.68)),url('/hero-ai-2.webp')!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
  border:0!important;
  box-shadow:none!important;
}
body.untan-detail-page .untan-page-card{
  background:#f8fbff!important;
}
@media(max-width:900px){
  body.untan-detail-page main.untan-page{
    min-height:calc(100vh - 124px)!important;
    background-size:cover!important;
    background-position:center center!important;
  }
}


/* v64 — compact title line under Abstract/Abstrak heading on detail pages */
body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline{
  margin:-2px 0 14px!important;
  color:#4f647c!important;
  font-size:13.5px!important;
  line-height:1.65!important;
}
body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline-label{
  font-weight:800!important;
  color:#1857ad!important;
}
body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline-value{
  font-weight:700!important;
  color:#1b2d45!important;
}
@media(max-width:720px){
  body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline{
    font-size:12.75px!important;
    margin:0 0 12px!important;
  }
}


/* v69 — production detail-page normalization (presentation only) */
body.untan-detail-page .untan-page{padding-top:52px!important;padding-bottom:64px!important;}
body.untan-detail-page .untan-page-card{background:#f8fbff!important;border:1px solid #c7d8e9!important;border-radius:16px!important;padding:26px 28px 32px!important;box-shadow:0 5px 16px rgba(8,39,86,.045)!important;}
body.untan-detail-page .untan-page-title{margin:0 0 20px!important;padding:0 12px!important;}
body.untan-detail-page .untan-page-title h1{max-width:1000px!important;font-size:clamp(21px,1.55vw,26px)!important;line-height:1.34!important;}
body.untan-detail-page .untan-eprints-content>table,
body.untan-detail-page .untan-eprints-content .ep_summary_page>table,
body.untan-detail-page .untan-eprints-content .ep_summary_content>table{box-shadow:none!important;}
body.untan-detail-page .untan-eprints-content table.untan-citation-table{width:100%!important;margin:0 0 12px!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;}
body.untan-detail-page .untan-eprints-content table.untan-citation-table td,
body.untan-detail-page .untan-eprints-content table.untan-citation-table th{padding:0 0 8px!important;border:0!important;background:transparent!important;color:#5a6d84!important;}
body.untan-detail-page .untan-eprints-content table.untan-document-table{width:100%!important;margin:8px 0 18px!important;border:1px solid #cbd9e8!important;border-radius:13px!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;overflow:hidden!important;}
body.untan-detail-page .untan-eprints-content table.untan-document-table td,
body.untan-detail-page .untan-eprints-content table.untan-document-table th{padding:14px 16px!important;border:0!important;border-bottom:1px solid #e3ebf3!important;background:#fff!important;vertical-align:top!important;}
body.untan-detail-page .untan-eprints-content table.untan-document-table tr:last-child td,
body.untan-detail-page .untan-eprints-content table.untan-document-table tr:last-child th{border-bottom:0!important;}
body.untan-detail-page .untan-eprints-content table.untan-document-table p{margin:0!important;}
body.untan-detail-page .untan-eprints-content h2{margin:24px 0 10px!important;font-size:21px!important;}
body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline{margin:0 0 12px!important;padding:8px 10px!important;border-left:3px solid #1857ad!important;border-radius:0 7px 7px 0!important;background:#edf4fb!important;}
body.untan-detail-page .untan-eprints-content p{line-height:1.72!important;}
@media(max-width:720px){
  body.untan-detail-page .untan-page{padding-top:28px!important;}
  body.untan-detail-page .untan-page-card{padding:18px 14px 22px!important;border-radius:13px!important;}
  body.untan-detail-page .untan-page-title{padding:0!important;}
  body.untan-detail-page .untan-eprints-content table.untan-document-table td,
  body.untan-detail-page .untan-eprints-content table.untan-document-table th{padding:12px!important;}
}


/* v70 HOTFIX — match production detail page to the approved simulation layout. */
body.untan-detail-page .untan-page{padding-top:52px!important;padding-bottom:64px!important;}
body.untan-detail-page .untan-page-card{
  background:#f8fbff!important;
  border:1px solid #c9d9ea!important;
  border-radius:16px!important;
  padding:30px 32px 34px!important;
  box-shadow:0 6px 18px rgba(8,39,86,.055)!important;
}
body.untan-detail-page .untan-page-title{margin:0 0 24px!important;padding:0 20px!important;}
body.untan-detail-page .untan-page-title h1{
  max-width:1100px!important;
  margin:0 auto!important;
  font-size:clamp(22px,1.65vw,27px)!important;
  line-height:1.32!important;
  font-weight:800!important;
  text-align:center!important;
}
/* Citation must look like plain text, exactly like the simulation page. */
body.untan-detail-page .untan-eprints-content table.untan-citation-table{
  width:100%!important;margin:0 0 10px!important;border:0!important;border-radius:0!important;
  border-collapse:collapse!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
body.untan-detail-page .untan-eprints-content table.untan-citation-table td,
body.untan-detail-page .untan-eprints-content table.untan-citation-table th{
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#5a6d84!important;
}
/* Native EPrints document table: remove the production-only boxed appearance. */
body.untan-detail-page .untan-eprints-content table.untan-document-table{
  width:100%!important;margin:8px 0 24px!important;border:0!important;border-radius:0!important;
  border-collapse:collapse!important;border-spacing:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
body.untan-detail-page .untan-eprints-content table.untan-document-table tr,
body.untan-detail-page .untan-eprints-content table.untan-document-table tbody,
body.untan-detail-page .untan-eprints-content table.untan-document-table td,
body.untan-detail-page .untan-eprints-content table.untan-document-table th{
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body.untan-detail-page .untan-eprints-content table.untan-document-table td,
body.untan-detail-page .untan-eprints-content table.untan-document-table th{
  padding:8px 4px!important;vertical-align:top!important;
}
body.untan-detail-page .untan-eprints-content table.untan-document-table td:first-child{
  width:50px!important;padding-right:12px!important;
}
body.untan-detail-page .untan-eprints-content table.untan-document-table p{margin:0!important;}
body.untan-detail-page .untan-eprints-content img.ep_doc_icon,
body.untan-detail-page .untan-eprints-content .ep_doc_icon img{
  max-width:34px!important;margin:0!important;
}
body.untan-detail-page .untan-eprints-content h2{
  margin:26px 0 8px!important;font-size:22px!important;line-height:1.25!important;font-weight:800!important;color:#07172f!important;
}
/* Abstract title line: compact/plain as approved in simulation, no blue box. */
body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline{
  margin:0 0 12px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  font-size:13.5px!important;line-height:1.65!important;color:#1b2d45!important;
}
body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline-label{font-weight:800!important;color:#1857ad!important;}
body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline-value{font-weight:700!important;color:#1b2d45!important;}
body.untan-detail-page .untan-eprints-content p{line-height:1.72!important;}
@media(max-width:720px){
  body.untan-detail-page .untan-page{padding-top:28px!important;}
  body.untan-detail-page .untan-page-card{padding:20px 16px 24px!important;border-radius:14px!important;}
  body.untan-detail-page .untan-page-title{padding:0!important;margin-bottom:20px!important;}
  body.untan-detail-page .untan-page-title h1{font-size:18px!important;text-align:left!important;}
  body.untan-detail-page .untan-eprints-content table.untan-document-table td{padding:7px 2px!important;}
  body.untan-detail-page .untan-eprints-content .untan-abstract-title-inline{font-size:12.75px!important;}
}


/* v74 — modern, consistent native Browse UI without changing EPrints data logic */
body.untan-browse-page main.untan-page{
  min-height:calc(100vh - 121px)!important;
  padding:50px 0 72px!important;
  background:transparent!important;
}
body.untan-browse-page .untan-page > .untan-container{
  width:min(1240px,calc(100% - 40px))!important;
  max-width:1240px!important;
}
body.untan-browse-page .untan-page-card{
  padding:28px 30px 32px!important;
  border:1px solid #c9d9ea!important;
  border-radius:16px!important;
  background:rgba(248,251,255,.96)!important;
  box-shadow:0 6px 18px rgba(8,39,86,.05)!important;
}
body.untan-browse-page .untan-page-title{
  margin:0 0 22px!important;
  padding:0!important;
}
body.untan-browse-page .untan-page-title h1{
  max-width:1000px!important;
  font-size:clamp(22px,1.65vw,27px)!important;
  line-height:1.3!important;
  text-align:center!important;
}
body.untan-browse-page .repo-browse-content{
  color:#455a73!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.untan-browse-page .repo-browse-content a{
  color:#0e56aa!important;
  font-weight:700!important;
}
body.untan-browse-page .repo-browse-content a:hover{
  color:#083f82!important;
  text-decoration:none!important;
}

/* Browse landing: Year / Subject / Division / Author as modern cards */
body.untan-browse-home .repo-browse-home > ul{
  list-style:none!important;
  padding:0!important;
  margin:22px 0 0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
body.untan-browse-home .repo-browse-home > ul > li{margin:0!important;padding:0!important;}
body.untan-browse-home .repo-browse-home > ul > li > a{
  min-height:86px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  border:1px solid #cbd9e9!important;
  border-radius:12px!important;
  background:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
  box-shadow:0 3px 10px rgba(8,39,86,.035)!important;
}
body.untan-browse-home .repo-browse-home > ul > li > a:hover{
  border-color:#9fb9d8!important;
  background:#f2f7fd!important;
  transform:translateY(-1px)!important;
}

/* Browse by Year index */
body.untan-browse-year .repo-browse-year > ul{
  list-style:none!important;
  padding:0!important;
  margin:18px 0 0!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px 12px!important;
}
body.untan-browse-year .repo-browse-year > ul > li{margin:0!important;padding:0!important;}
body.untan-browse-year .repo-browse-year > ul > li > a{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:44px!important;
  padding:10px 13px!important;
  border:1px solid #d2dfed!important;
  border-radius:10px!important;
  background:#fff!important;
  font-size:13.5px!important;
}
body.untan-browse-year .repo-browse-year > ul > li > a:hover{
  background:#edf5ff!important;
  border-color:#aac1de!important;
}

/* Native view controls: remove dated lavender/table look */
body.untan-browse-page .repo-browse-up,
body.untan-browse-page .repo-browse-tools,
body.untan-browse-page .repo-browse-group{
  border:1px solid #d0deed!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.untan-browse-page .repo-browse-up{
  margin:0 0 14px!important;
  padding:12px 14px!important;
  text-align:center!important;
}
body.untan-browse-page .repo-browse-tools{
  margin:0 0 16px!important;
  padding:14px!important;
}
body.untan-browse-page .repo-browse-group{
  margin:14px 0!important;
  padding:10px 14px!important;
  text-align:center!important;
  background:#eef5fc!important;
}
body.untan-browse-page .repo-browse-tools table,
body.untan-browse-page .repo-browse-group table,
body.untan-browse-page .repo-browse-up table{
  margin:0!important;
  border:0!important;
  background:transparent!important;
}
body.untan-browse-page .repo-browse-tools td,
body.untan-browse-page .repo-browse-tools th,
body.untan-browse-page .repo-browse-group td,
body.untan-browse-page .repo-browse-group th,
body.untan-browse-page .repo-browse-up td,
body.untan-browse-page .repo-browse-up th{
  border:0!important;
  background:transparent!important;
  padding:6px!important;
}
body.untan-browse-page .repo-browse-content select{
  min-height:38px!important;
  border:1px solid #bfd0e3!important;
  border-radius:9px!important;
  background:#fff!important;
}
body.untan-browse-page .repo-browse-content input[type="submit"]{
  min-height:38px!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
body.untan-browse-page .repo-browse-count{
  display:inline-flex!important;
  align-items:center!important;
  padding:6px 10px!important;
  margin:10px 0 14px!important;
  border-radius:8px!important;
  background:#edf4fc!important;
  color:#53657c!important;
  font-size:12.5px!important;
}
body.untan-browse-page .repo-browse-jump{
  margin:12px 0!important;
  padding:10px 12px!important;
  border-radius:9px!important;
  background:#f4f8fd!important;
  line-height:1.9!important;
}
body.untan-browse-page .repo-browse-letter{
  margin:22px 0 10px!important;
  padding:0 0 8px!important;
  border-bottom:2px solid #d9e5f2!important;
  font-size:19px!important;
  color:#082756!important;
}
body.untan-browse-page .repo-browse-result{
  margin:0 0 9px!important;
  padding:13px 15px!important;
  border:1px solid #d7e2ee!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#556a81!important;
}
body.untan-browse-page .repo-browse-result:hover{
  border-color:#b9cde3!important;
  background:#fbfdff!important;
}

/* Subject hierarchy */
body.untan-browse-subject .repo-browse-content ul{
  margin:10px 0!important;
}
body.untan-browse-subject .repo-browse-content li{
  margin:5px 0!important;
  line-height:1.55!important;
}
body.untan-browse-subject .repo-browse-content > ul{
  padding:15px 18px 15px 34px!important;
  border:1px solid #d6e2ef!important;
  border-radius:11px!important;
  background:#fff!important;
}

/* Division and other native browse result areas */
body.untan-browse-division .repo-browse-content hr,
body.untan-browse-subject .repo-browse-content hr{
  border:0!important;
  border-top:1px solid #dce6f0!important;
}
body.untan-browse-page .ep_view_page,
body.untan-browse-page .ep_view_page_view_subjects,
body.untan-browse-page .ep_view_browse_list{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.untan-browse-page .ep_view_page table,
body.untan-browse-page .ep_view_page_view_subjects table{
  border-color:#d3dfec!important;
  box-shadow:none!important;
}

@media(max-width:900px){
  body.untan-browse-page .untan-page > .untan-container{width:calc(100% - 28px)!important;}
  body.untan-browse-home .repo-browse-home > ul,
  body.untan-browse-year .repo-browse-year > ul{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.untan-browse-page .untan-page-card{padding:24px 20px 28px!important;}
}
@media(max-width:560px){
  body.untan-browse-page main.untan-page{padding:30px 0 48px!important;}
  body.untan-browse-page .untan-page > .untan-container{width:calc(100% - 18px)!important;}
  body.untan-browse-page .untan-page-card{padding:18px 14px 22px!important;border-radius:13px!important;}
  body.untan-browse-home .repo-browse-home > ul,
  body.untan-browse-year .repo-browse-year > ul{grid-template-columns:1fr!important;}
  body.untan-browse-page .repo-browse-content{font-size:13px!important;}
  body.untan-browse-page .repo-browse-tools{overflow-x:auto!important;}
}

/* v75 — softer Browse result presentation + cleaner controls */
body.untan-browse-page .repo-browse-tools{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;
  min-height:auto!important;padding:12px 14px!important;background:#fbfdff!important;
}
body.untan-browse-page .repo-browse-tools table{width:100%!important;table-layout:auto!important;}
body.untan-browse-page .repo-browse-tools td{vertical-align:middle!important;}
body.untan-browse-page .repo-browse-tools img{opacity:.72!important;}
body.untan-browse-page .repo-browse-group{
  padding:8px 12px!important;background:#f5f8fc!important;border-color:#d8e4f0!important;
  font-size:12.75px!important;color:#607087!important;
}
body.untan-browse-page .repo-browse-jump{
  display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important;
  padding:8px 10px!important;background:transparent!important;border:0!important;margin:8px 0!important;
}
body.untan-browse-page .repo-browse-jump a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:28px!important;height:28px!important;padding:0 7px!important;border:1px solid #d5e2ef!important;
  border-radius:7px!important;background:#fff!important;font-size:12px!important;
}
body.untan-browse-page .repo-browse-count{
  margin:6px 0 10px!important;background:transparent!important;padding:0!important;color:#687b91!important;
}
body.untan-browse-page .ep_view_browse_list,
body.untan-browse-page .ep_view_page{
  width:100%!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body.untan-browse-page .ep_view_browse_list > div,
body.untan-browse-page .ep_view_browse_list > p,
body.untan-browse-page .ep_view_page .ep_view_browse_list > div,
body.untan-browse-page .ep_view_page .ep_view_browse_list > p{
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body.untan-browse-page .ep_view_browse_list p,
body.untan-browse-page .ep_view_browse_list li{
  margin:8px 0!important;padding:12px 14px!important;border:1px solid #d7e3ef!important;
  border-radius:10px!important;background:#fff!important;line-height:1.6!important;
}
body.untan-browse-page .ep_view_browse_list p:hover,
body.untan-browse-page .ep_view_browse_list li:hover{
  border-color:#b8cde3!important;background:#fbfdff!important;
}
body.untan-browse-page .ep_view_browse_list h2,
body.untan-browse-page .ep_view_browse_list h3,
body.untan-browse-page .repo-browse-letter{
  margin:18px 0 8px!important;padding:0 0 7px!important;border:0!important;border-bottom:1px solid #dbe6f1!important;
  font-size:17px!important;color:#0b315f!important;
}
body.untan-browse-page .repo-browse-content table{
  border-color:#d7e3ef!important;border-radius:10px!important;overflow:hidden!important;
}
body.untan-browse-page .repo-browse-content table td,
body.untan-browse-page .repo-browse-content table th{
  border-color:#e3ebf4!important;
}
body.untan-browse-page .repo-browse-tools select{
  min-width:180px!important;background:#fff!important;
}
body.untan-browse-page .repo-browse-tools input[type="submit"]{
  padding:0 14px!important;
}
/* OPAC division select: native optgroup separator per faculty */
.opac-v23-filters select[name="division"] optgroup{
  font-weight:800!important;color:#0a3d79!important;background:#eef5fc!important;
}
.opac-v23-filters select[name="division"] option{
  font-weight:500!important;color:#172033!important;background:#fff!important;
}
@media(max-width:720px){
  body.untan-browse-page .repo-browse-tools{display:block!important;overflow-x:auto!important;}
  body.untan-browse-page .repo-browse-tools select{min-width:150px!important;}
}

/* v76 — simple Browse landing + OPAC-like Browse results */
body.untan-browse-home .repo-browse-home > ul{
  display:block!important;
  margin:12px 0 0!important;
  padding-left:22px!important;
  list-style:disc!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.untan-browse-home .repo-browse-home > ul > li{
  display:list-item!important;
  margin:4px 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  list-style:disc!important;
}
body.untan-browse-home .repo-browse-home > ul > li::before{content:none!important;display:none!important}
body.untan-browse-home .repo-browse-home > ul > li > a{
  display:inline!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0d4e9b!important;
  font-weight:700!important;
  font-size:14px!important;
  line-height:1.65!important;
}
body.untan-browse-home .repo-browse-home > ul > li > a:hover{
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}

/* Browse result citations should visually match OPAC result cards. */
body.untan-browse-page .repo-browse-result{
  position:relative!important;
  display:block!important;
  margin:10px 0!important;
  padding:15px 56px 15px 58px!important;
  min-height:72px!important;
  border:1px solid #d1dfed!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#52657d!important;
  font-size:13px!important;
  line-height:1.55!important;
  transition:border-color .16s ease,background-color .16s ease!important;
}
body.untan-browse-page .repo-browse-result::before{
  content:"▤"!important;
  position:absolute!important;
  left:16px!important;
  top:16px!important;
  width:32px!important;
  height:32px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:8px!important;
  background:#e9f1fb!important;
  color:#1b5ca8!important;
  font-size:15px!important;
  font-weight:800!important;
}
body.untan-browse-page .repo-browse-result:hover{
  border-color:#adc4df!important;
  background:#fbfdff!important;
}
body.untan-browse-page .repo-browse-result a{
  color:#074d9e!important;
  font-weight:750!important;
  text-decoration:none!important;
}
body.untan-browse-page .repo-browse-result a:hover{text-decoration:underline!important;text-underline-offset:3px!important}
body.untan-browse-page .repo-browse-result .repo-browse-year-badge{
  position:absolute!important;
  right:14px!important;
  top:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:46px!important;
  padding:6px 8px!important;
  border-radius:8px!important;
  background:#eaf1fb!important;
  color:#1857ad!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800!important;
}

/* Softer browse controls. */
body.untan-browse-page .repo-browse-up{padding:9px 12px!important;border-color:#d8e4f0!important;background:#fbfdff!important}
body.untan-browse-page .repo-browse-tools{padding:10px 12px!important;border-color:#d8e4f0!important;background:#fbfdff!important}
body.untan-browse-page .repo-browse-group{margin:10px 0!important;padding:7px 10px!important;background:#f7fafe!important;border-color:#e0e8f2!important}

@media(max-width:720px){
  body.untan-browse-page .repo-browse-result{
    padding:13px 12px 13px 50px!important;
    min-height:62px!important;
    border-radius:10px!important;
    font-size:12.6px!important;
  }
  body.untan-browse-page .repo-browse-result::before{
    left:12px!important;top:13px!important;width:28px!important;height:28px!important;font-size:13px!important;
  }
  body.untan-browse-page .repo-browse-result .repo-browse-year-badge{
    position:static!important;
    margin:7px 0 0!important;
    width:max-content!important;
  }
  body.untan-browse-home .repo-browse-home > ul{padding-left:20px!important}
}

/* =========================================================
   V105 STABLE INTERNAL SHELL
   Header offset is explicit because the global header is fixed.
   HOME is intentionally not targeted.
   ========================================================= */
:root{
  --untan-header-offset-desktop:121px;
  --untan-header-offset-mobile:85px;
  --untan-shell-gap-desktop:38px;
  --untan-shell-gap-tablet:34px;
  --untan-shell-gap-mobile:26px;
  --untan-shell-gutter-desktop:20px;
  --untan-shell-gutter-tablet:14px;
  --untan-shell-gutter-mobile:9px;
  --untan-shell-max:1240px;
}

main.untan-page,
body.untan-browse-page main.untan-page,
body.untan-browse-home main.untan-page{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:calc(100vh - var(--untan-header-offset-desktop))!important;
  margin-top:var(--untan-header-offset-desktop)!important;
  padding-top:var(--untan-shell-gap-desktop)!important;
  padding-bottom:64px!important;
  background-color:#edf4fa!important;
  background-image:linear-gradient(rgba(245,247,249,.64),rgba(245,247,249,.68)),url('/hero-ai-2.webp')!important;
  background-size:100% auto!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
}
main.untan-page>.untan-container{
  box-sizing:border-box!important;
  width:min(var(--untan-shell-max),calc(100% - (var(--untan-shell-gutter-desktop) * 2)))!important;
  max-width:var(--untan-shell-max)!important;
  margin:0 auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
main.untan-page>.untan-container>.untan-page-card{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
}
@media(max-width:1024px) and (min-width:901px){
  main.untan-page,
  body.untan-browse-page main.untan-page,
  body.untan-browse-home main.untan-page{padding-top:var(--untan-shell-gap-tablet)!important;padding-bottom:54px!important;}
  main.untan-page>.untan-container{width:calc(100% - (var(--untan-shell-gutter-tablet) * 2))!important;}
}
@media(max-width:900px){
  main.untan-page,
  body.untan-browse-page main.untan-page,
  body.untan-browse-home main.untan-page{
    min-height:calc(100vh - var(--untan-header-offset-mobile))!important;
    margin-top:var(--untan-header-offset-mobile)!important;
    padding-top:var(--untan-shell-gap-mobile)!important;
    padding-bottom:42px!important;
  }
  main.untan-page>.untan-container{width:calc(100% - (var(--untan-shell-gutter-mobile) * 2))!important;}
}
@media(max-width:360px){main.untan-page>.untan-container{width:calc(100% - 14px)!important;}}

/* =====================================================
   UNTAN AUTHOR MOBILE FIX v1
   Browse by Author only.
   Desktop layout remains unchanged.
   ===================================================== */

@media (max-width:640px) {

  .repo-author-view table.ep_view_cols_3,
  .repo-author-view table.ep_view_cols_3 > tbody,
  .repo-author-view table.ep_view_cols_3 > tbody > tr,
  .repo-author-view table.ep_view_cols_3 > tbody > tr > td {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .repo-author-view table.ep_view_cols_3 > tbody > tr > td {
    padding:0!important;
    border:0!important;
  }

  .repo-author-view table.ep_view_cols_3 td > ul {
    width:100%!important;
    max-width:100%!important;
    padding-left:24px!important;
    margin:0 0 8px!important;
    box-sizing:border-box!important;
  }

  .repo-author-view table.ep_view_cols_3 li {
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  .repo-author-view .ep_view_cols {
    max-width:100%!important;
  }
}

/* Selected letter: readable in desktop and mobile. */
.repo-author-view a.is-current[href*="/view/creators/index."] {
  background:#dceafa!important;
  background-image:none!important;
  color:#083b79!important;
  border-color:#b8d0ed!important;
  font-weight:800!important;
  text-shadow:none!important;
}

/* UNTAN DETAIL SCROLL v2 */
@media (max-width:640px) {
  .untan-detail-page .untan-eprints-content,
  .untan-detail-page .ep_summary_content {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  .untan-detail-page .untan-eprints-content
  .untan-detail-table-scroll {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
  }

  .untan-detail-page .untan-eprints-content
  .untan-detail-table-scroll > table {
    min-width:0!important;
    max-width:none!important;
  }
}
