/* R239 — readable research actions and compact footer navigation.
   Shared action states belong to CSS26; the footer has a quiet scoped treatment.
   No link, label, visibility rule, data field or event handler is changed. */

/* Fixed utility columns leave the remaining table width to the research title.
   Avoid percentage calculations on col elements; narrower panels use cards. */
html[data-theme] #pageRoot .r104-research-index{
  container-name:r237-research-index;
  container-type:inline-size;
}
html[data-theme] #pageRoot .r104-research-index .r113-index-table-shell{
  width:100%;max-width:100%;overflow:visible;
}
html[data-theme] #pageRoot .r104-research-index .r113-index-table{
  width:100%;max-width:100%;table-layout:fixed;white-space:normal;overflow:visible;
}
html[data-theme] #pageRoot .r104-research-index .r113-index-table col.r113-col-number{width:68px}
html[data-theme] #pageRoot .r104-research-index .r113-index-table col.r113-col-title{width:auto}
html[data-theme] #pageRoot .r104-research-index .r113-index-table col.r113-col-venue{width:152px}
html[data-theme] #pageRoot .r104-research-index .r113-index-table col.r113-col-date{width:88px}
html[data-theme] #pageRoot .r104-research-index .r113-index-table col.r113-col-status{width:116px}
html[data-theme] #pageRoot .r104-research-index .r113-index-table col.r113-col-open{width:248px}
html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td{
  box-sizing:border-box;min-width:0;vertical-align:middle;
}
/* The ordinal is one number, never a stack of digits. Keep its compact
   padding separate from the content cells and from the mobile card layout. */
html[data-theme] #pageRoot .r104-research-index .r113-index-table :is(thead th:first-child,.r113-index-number){
  padding-inline:8px;white-space:nowrap;word-break:normal;overflow-wrap:normal;
}
html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-open > a.r111-index-action:not(:where([hidden],.hidden)){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  box-sizing:border-box;width:max-content;max-width:100%;min-width:0;min-height:44px;
  margin:0 auto;padding:9px 12px;font-size:14px;line-height:1.6;
  white-space:nowrap;word-break:normal;overflow-wrap:normal;text-align:center;
}
html[data-theme] #pageRoot .r104-research-index .r113-index-open > a.r111-index-action > span{flex:none;white-space:nowrap}

/* Footer links are compact navigation, not full-width content cards.
   Flex wrapping keeps every row centered and every complete label available. */
html[data-theme] #pageRoot .r110-footer{container-name:r237-footer;container-type:inline-size}
html[data-theme] #pageRoot .r110-footer .r110-footer-main{
  display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;
  gap:14px;min-width:0;padding:20px 24px;
}
html[data-theme] #pageRoot .r110-footer .r110-footer-identity{
  width:100%;max-width:none;min-width:0;padding:0 0 12px;border-inline-start:0;
  border-bottom:1px solid rgba(217,233,246,.3);text-align:center;
}
html[data-theme] #pageRoot .r110-footer .r110-footer-identity strong{font-size:18px;line-height:1.6}
html[data-theme] #pageRoot .r110-footer .r110-footer-program{margin:3px auto 0;max-width:760px;font-size:13.5px;line-height:1.65}
html[data-theme] #pageRoot .r110-footer .r110-footer-university-id{justify-content:center;flex-wrap:wrap;font-size:13px}
html[data-theme] #pageRoot .r110-footer .r110-footer-navigation:not(:where([hidden],.hidden)){
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;
  width:100%;max-width:1080px;min-width:0;margin:0 auto;
}
html[data-theme] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link:not(:where([hidden],.hidden)){
  --r237-button-bg:#f4f7fa;--r237-button-fg:#173f6d;--r237-button-line:#a9bdce;
  --r237-button-hover:#e3edf6;--r237-button-down:#1b4d7a;
  display:inline-flex;flex:0 1 auto;align-items:center;justify-content:center;
  box-sizing:border-box;min-width:0;width:auto;max-width:100%;min-height:38px;height:auto;
  margin:0;padding:6px 12px;font-size:14px;font-weight:600;line-height:1.5;text-align:center;
  white-space:normal;word-break:normal;overflow-wrap:normal;
  background:var(--r237-button-bg);color:var(--r237-button-fg);
  border:1px solid var(--r237-button-line);border-radius:8px;box-shadow:none;
}
html[data-theme="dark"] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link{
  --r237-button-bg:#20374a;--r237-button-fg:#edf4fb;--r237-button-line:#6f8da8;
  --r237-button-hover:#2c4a63;--r237-button-down:#245d8f;
}
html[data-theme] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link:hover{
  background:var(--r237-button-hover);color:var(--r237-button-fg);border-color:var(--r237-button-line);
  box-shadow:none;translate:0 0;
}
html[data-theme] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link:is(:active,.r52-button-pressed){
  background:var(--r237-button-down);color:#fff;border-color:var(--r237-button-down);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.2);translate:0 1px;
}
html[data-theme] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link:focus-visible{
  outline:3px solid #f1dba5;outline-offset:3px;
}
html[data-theme] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link > span{
  min-width:0;max-width:100%;text-wrap:balance;word-break:normal;overflow-wrap:normal;
}
html[data-theme] #pageRoot .r110-footer .r110-footer-meta{gap:8px 16px;flex-wrap:wrap;padding:10px 24px}

/* Page-linked documents share equal space. Social links form a compact row
   beneath them, instead of occupying a distant column beside the documents. */
html[data-theme] #pageRoot[data-r234-public-page] .r234-page-context.r235-page-hub{
  container-name:r237-page-hub;container-type:inline-size;
  grid-template-columns:minmax(0,1fr);align-items:stretch;
}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub > .r234-evidence-area{
  grid-column:1 / -1;align-self:stretch;width:100%;box-sizing:border-box;
  padding:16px 20px;
}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-evidence-links:not(:where([hidden],.hidden)){
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;
  justify-content:center;gap:12px;width:100%;max-width:1000px;margin-inline:auto;
}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-evidence-links > button.r234-evidence-link:not(:where([hidden],.hidden)){
  display:flex;grid-column:auto / span 2;justify-content:center;align-items:center;
  min-height:48px;min-width:0;width:100%;max-width:100%;height:auto;
  box-sizing:border-box;padding:11px 16px;font-size:15px;line-height:1.65;
  white-space:normal;word-break:normal;overflow-wrap:normal;text-align:center;
}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-evidence-links > button.r234-evidence-link:last-child:nth-child(2n + 1){grid-column:2 / span 2}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-evidence-link .r234-evidence-label{
  min-width:0;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:break-word;text-align:center;text-wrap:balance;
}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub > .r234-contact-links:not(:where([hidden],.hidden)){
  grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:10px;min-width:0;max-width:none;width:100%;box-sizing:border-box;
  margin:0;padding:14px 20px 18px;border-top:1px solid var(--r235-line,#d5dfe8);
}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-contact-links > .evidence-contact-card{
  flex:0 1 auto;justify-content:center;min-height:48px;max-width:100%;width:auto;
  padding:8px 14px;text-align:center;
}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-contact-links .evidence-card-copy{
  flex:0 1 auto;width:auto;text-align:center;
}
html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-contact-links h4{text-align:center}

/* A wide viewport can still have a narrow content panel beside the sidebar.
   Container queries prevent a cramped table in that situation; the viewport
   rule also preserves compatibility with the existing mobile card view. */
@media (max-width:900px){
  html[data-theme] #pageRoot .r104-research-index .r113-index-table, html[data-theme] #pageRoot .r104-research-index .r113-index-table tbody{display:block;width:100%;max-width:100%}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table colgroup, html[data-theme] #pageRoot .r104-research-index .r113-index-table thead{display:none}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table tbody{display:grid;gap:12px}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item{display:grid!important;grid-template-columns:minmax(0,1fr);width:100%;padding:0;overflow:hidden;border:1px solid var(--r235-line,#d5dfe8);border-radius:10px;background:var(--card)}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td{display:grid;grid-template-columns:minmax(100px,28%) minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-bottom:1px solid var(--r235-line,#d5dfe8);border-radius:0;background:transparent;text-align:start!important}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td::before{content:attr(data-label);color:var(--text);font-size:13px;font-weight:800;line-height:1.6}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td:last-child{grid-template-columns:minmax(0,1fr);justify-items:center;border:0;padding:14px 12px}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td:last-child::before{content:none}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-status{width:fit-content;max-width:100%}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-open > a.r111-index-action{justify-self:center;width:fit-content;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-admin-row{display:block;margin-top:-12px}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-admin-row > td{display:block!important;padding:8px 0 0!important;border:0!important}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-admin-row > td::before{content:none!important}
}
@container r237-research-index (max-width:960px){
  html[data-theme] #pageRoot .r104-research-index .r113-index-table, html[data-theme] #pageRoot .r104-research-index .r113-index-table tbody{display:block;width:100%;max-width:100%}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table colgroup, html[data-theme] #pageRoot .r104-research-index .r113-index-table thead{display:none}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table tbody{display:grid;gap:12px}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item{display:grid!important;grid-template-columns:minmax(0,1fr);width:100%;padding:0;overflow:hidden;border:1px solid var(--r235-line,#d5dfe8);border-radius:10px;background:var(--card)}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td{display:grid;grid-template-columns:minmax(100px,28%) minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-bottom:1px solid var(--r235-line,#d5dfe8);border-radius:0;background:transparent;text-align:start!important}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td::before{content:attr(data-label);color:var(--text);font-size:13px;font-weight:800;line-height:1.6}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td:last-child{grid-template-columns:minmax(0,1fr);justify-items:center;border:0;padding:14px 12px}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td:last-child::before{content:none}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-status{width:fit-content;max-width:100%}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-open > a.r111-index-action{justify-self:center;width:fit-content;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-admin-row{display:block;margin-top:-12px}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-admin-row > td{display:block!important;padding:8px 0 0!important;border:0!important}
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r113-index-admin-row > td::before{content:none!important}
}
@media (max-width:600px){
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td{grid-template-columns:minmax(0,1fr);gap:5px}
}
@container r237-research-index (max-width:540px){
  html[data-theme] #pageRoot .r104-research-index .r113-index-table .r104-index-item > td{grid-template-columns:minmax(0,1fr);gap:5px}
}
/* Keep touch targets generous on phones while the visible footer stays compact.
   Link widths remain content-based, allowing two or more per row when they fit. */
@media (max-width:600px), (pointer:coarse){
  html[data-theme] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link{min-height:44px}
}
@media (max-width:480px){
  html[data-theme] #pageRoot .r110-footer .r110-footer-main{padding:16px 12px;gap:12px}
  html[data-theme] #pageRoot .r110-footer .r110-footer-navigation{gap:8px}
  html[data-theme] #pageRoot .r110-footer .r110-footer-meta{align-items:center;justify-content:center;flex-wrap:wrap;padding:10px 12px;text-align:center}
}
@container r237-footer (max-width:420px){
  html[data-theme] #pageRoot .r110-footer .r110-footer-main{padding:16px 12px;gap:12px}
  html[data-theme] #pageRoot .r110-footer .r110-footer-navigation{gap:8px}
  html[data-theme] #pageRoot .r110-footer .r110-footer-meta{align-items:center;justify-content:center;flex-wrap:wrap;padding:10px 12px;text-align:center}
}
@media (prefers-reduced-motion:reduce){
  html[data-theme] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link:is(:hover,:active,.r52-button-pressed){translate:none}
}
@media (max-width:650px){
  html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub > .r234-evidence-area{padding:14px 12px}
  html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-evidence-links{grid-template-columns:minmax(0,1fr)}
  html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-evidence-links > button.r234-evidence-link:nth-child(n):nth-last-child(n){grid-column:auto}
  html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub > .r234-contact-links{padding:12px}
}
@container r237-page-hub (max-width:600px){
  html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub > .r234-evidence-area{padding:14px 12px}
  html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-evidence-links{grid-template-columns:minmax(0,1fr)}
  html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub .r234-evidence-links > button.r234-evidence-link:nth-child(n):nth-last-child(n){grid-column:auto}
  html[data-theme] #pageRoot[data-r234-public-page] .r235-page-hub > .r234-contact-links{padding:12px}
}
@media print{
  html[data-theme] #pageRoot .r110-footer{container-type:normal}
  html[data-theme] #pageRoot .r110-footer .r110-footer-main{gap:10px;padding:12px}
  html[data-theme] #pageRoot .r110-footer .r110-footer-navigation > a.r110-footer-link{min-height:0;padding:5px 8px}
}
