.rc-laboratory-profile,.rc-research-detail,.rc-research-cart{max-width:1240px;margin:auto;color:inherit;min-width:0}.rc-laboratory-profile h1{font-size:clamp(1.5rem,3vw,2rem);line-height:1.25}.rc-laboratory-profile h2{font-size:1.3rem;margin:24px 0 16px}.rc-laboratory-profile h3,.rc-research-service h3{font-size:1.08rem;line-height:1.4;margin:12px 0}.rc-research-header{padding:24px 0}.rc-muted{color:#66717e}.rc-research-status{display:flex;flex-wrap:wrap;gap:8px 20px;list-style:none;padding:0;font-size:.9rem;color:#66717e}.rc-research-tabs{display:flex;gap:24px;border-bottom:1px solid #e1e5e9;flex-wrap:wrap;padding:0;margin:12px 0 24px}.rc-research-tabs a{padding:12px 0;color:inherit;text-decoration:none;border-bottom:2px solid transparent}.rc-research-tabs a[aria-current=true]{border-color:#17191c;font-weight:600}.rc-laboratory-profile [data-research-panel]{scroll-margin-top:120px}.rc-laboratory-profile [hidden],.rc-research-equipment[hidden],.rc-research-service[hidden]{display:none!important}.rc-research-equipment-grid,.rc-research-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rc-research-equipment,.rc-research-service{min-width:0;padding:16px;border:1px solid #e4e7eb;border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;overflow-wrap:anywhere}.rc-research-equipment p,.rc-research-service p{margin:6px 0;line-height:1.45}.rc-equipment-square{width:100%;aspect-ratio:1/1;display:block;background:#f5f7f8;border-radius:8px;overflow:hidden}.rc-equipment-square img{width:100%!important;height:100%!important;aspect-ratio:1/1;object-fit:contain}.rc-research-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:14px}.rc-research-equipment .rc-research-actions{margin-top:auto;padding-top:16px}.rc-research-filters{margin:16px 0;padding:12px 0;border-block:1px solid #e4e7eb}.rc-research-filters label{display:inline-flex;flex-direction:column;gap:6px;vertical-align:top;margin:12px 16px 0 0;max-width:100%;font-size:.9rem}.rc-research-filters input,.rc-research-filters select{max-width:100%;width:220px}.rc-research-history{margin:28px 0;border-top:1px solid #e4e7eb;padding-top:18px}.rc-research-history table{width:100%;border-collapse:collapse;table-layout:fixed}.rc-research-history td,.rc-research-history th{overflow-wrap:anywhere;padding:10px!important;border-bottom:1px solid #e4e7eb}.rc-research-history iframe{max-width:100%}.rc-research-members{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.rc-laboratory-profile dl:not(.rc-directory-card__metadata),.rc-research-detail dl{display:grid;grid-template-columns:minmax(100px,25%) minmax(0,1fr);gap:12px 20px}.rc-laboratory-profile dd,.rc-research-detail dd{margin:0}.rc-research-add{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.rc-research-add>div:first-child{flex-basis:100%}.rc-research-cart table{width:100%;table-layout:fixed}.rc-research-cart td{overflow-wrap:anywhere;vertical-align:top}.rc-research-cart input[type=number]{width:90px;max-width:100%}.rc-research-cart details{padding:14px 0;margin:12px 0}.rc-research-cart input,.rc-research-cart textarea{max-width:100%}.rc-workspace-page.rc-directory{padding-top:24px!important}.rc-workspace-page.rc-directory .rc-directory-card{padding:18px!important;min-height:0!important}.rc-workspace-page.rc-directory .rc-directory-card h2{font-size:1.15rem!important;margin:0 0 10px!important}.rc-workspace-page.rc-directory .rc-directory-card dl{margin:10px 0!important}.rc-workspace-page.rc-directory .rc-directory-grid{gap:18px!important}.rc-research-request-items{width:100%;table-layout:fixed}.rc-infra-equipment .rc-infra-panel details>summary{cursor:pointer}.rc-infra-equipment .rc-infra-gallery img{object-fit:contain}.rc-research-header details,.rc-laboratory-profile summary{cursor:pointer}
@media(max-width:900px){.rc-research-equipment-grid,.rc-research-service-grid,.rc-research-members{grid-template-columns:repeat(2,minmax(0,1fr))}.rc-research-tabs{gap:16px}.rc-research-history table{font-size:.85rem}.rc-research-history td,.rc-research-history th{padding:6px!important}}
@media(max-width:600px){.rc-research-equipment-grid,.rc-research-service-grid,.rc-research-members{grid-template-columns:1fr}.rc-research-tabs{gap:4px 16px;font-size:.92rem}.rc-laboratory-profile dl:not(.rc-directory-card__metadata),.rc-research-detail dl{grid-template-columns:1fr;gap:4px}.rc-laboratory-profile dd,.rc-research-detail dd{margin-bottom:12px}.rc-research-history table,.rc-research-history tbody,.rc-research-history tr,.rc-research-history td,.rc-research-history th{display:block;width:auto!important;min-width:0!important}.rc-research-history thead{display:none}.rc-research-history td:nth-child(2):before{content:'Unit: '}.rc-research-history td:nth-child(3):before{content:'Internal university: '}.rc-research-history td:nth-child(4):before{content:'Other universities: '}.rc-research-history td:nth-child(5):before{content:'Industry: '}.rc-research-cart table,.rc-research-cart tbody,.rc-research-cart tr,.rc-research-cart td{display:block;width:100%}.rc-research-cart thead{display:none}.rc-research-cart tr{padding:14px 0;border-bottom:1px solid #e4e7eb}.rc-research-cart td{padding:8px 0}.rc-research-cart td:nth-child(2):before{content:'Quantity (0 removes)';display:block}.rc-research-actions .button{min-height:44px}}

.rc-research-equipment .rc-shared-save,.rc-research-equipment .rc-shared-like{width:36px;height:36px;min-width:36px;padding:8px;display:inline-flex;align-items:center;justify-content:center}.rc-research-equipment .rc-shared-save span,.rc-research-equipment .rc-shared-like span{display:none}.rc-research-equipment .rc-shared-save svg,.rc-research-equipment .rc-shared-like svg{width:18px;height:18px}.rc-equipment-directory-card .rc-directory-card__media{aspect-ratio:1/1!important;height:auto!important}.rc-equipment-directory-card .rc-directory-card__media img{width:100%!important;height:100%!important;object-fit:contain!important}

.ui-dialog:has(.rc-research-add) .ui-dialog-title,.ui-dialog:has(.rc-research-add) .ui-dialog-titlebar h1{font-size:1.25rem!important;line-height:1.4!important;white-space:normal!important;margin:0!important}.ui-dialog:has(.rc-research-add){max-width:calc(100vw - 24px)!important}.ui-dialog:has(.rc-research-add) .ui-dialog-titlebar{padding:16px!important}
@media(max-width:600px){html body:has(.rc-research-cart,.rc-laboratory-profile,.rc-research-detail,.rc-research-add) .ph-history-navigation{position:static!important;inset:auto!important;width:100%!important;height:auto!important;display:flex!important;justify-content:space-between!important;padding:12px!important}html body:has(.rc-research-cart,.rc-laboratory-profile,.rc-research-detail,.rc-research-add) .ph-history-navigation button{position:static!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important}.rc-research-cart table{min-width:0!important}}
.rc-laboratory-profile .rc-research-header{padding:18px 0!important}.rc-laboratory-profile .rc-research-header h1{margin:0 0 12px!important}.rc-laboratory-profile .rc-research-header p{margin:8px 0!important;line-height:1.55}.rc-laboratory-profile .rc-research-status{margin:10px 0!important}.rc-laboratory-profile .rc-research-actions{flex-direction:row!important;justify-content:flex-start!important;align-items:center!important}.rc-laboratory-profile #overview h2:has(+dl:empty),.rc-laboratory-profile #overview dl:empty{display:none}.rc-laboratory-profile .rc-research-header .rc-resource-page-edit{margin:12px 0 0!important}

/* Shared laboratory header: public contact actions and record menu. */
.rc-lab-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}.rc-lab-heading>h1{flex:1 1 440px;margin-top:0;min-width:0}.rc-lab-header-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-left:auto}.rc-lab-header-controls>a,.rc-lab-popover>summary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 16px;border:1px solid #d8dde3;border-radius:10px;font:inherit;font-weight:600;line-height:1.4;cursor:pointer;text-decoration:none;list-style:none;background:#fff;color:#17191c}.rc-lab-header-controls>a{background:#111;color:#fff;border-color:#111}.rc-lab-popover{position:relative;margin:0;padding:0;border:0}.rc-lab-popover>summary::-webkit-details-marker{display:none}.rc-lab-menu>summary{padding:10px;width:44px}.rc-lab-popover-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:min(440px,calc(100vw - 48px));padding:20px;border:1px solid #d8dde3;border-radius:12px;background:#fff;color:#17191c;box-shadow:0 8px 28px #0002;max-height:65vh;overflow:auto}.rc-lab-menu .rc-lab-popover-panel{width:min(320px,calc(100vw - 48px));padding:8px}.rc-lab-menu .rc-lab-popover-panel>a{display:block;padding:12px;color:inherit;text-decoration:none;border-radius:8px}.rc-lab-menu .rc-lab-popover-panel>a:hover{background:#f1f4f6}.rc-lab-popover-panel h2{margin:0 0 16px}.rc-lab-popover-panel h3{margin:14px 0 6px}.rc-lab-popover-panel p{margin:0 0 10px}.rc-lab-popover-panel dl:empty{display:none}.rc-lab-popover>summary:focus-visible,.rc-lab-header-controls>a:focus-visible{outline:3px solid #087e8b;outline-offset:3px}.rc-laboratory-profile .rc-public-person{margin-bottom:16px}
@media(max-width:600px){.rc-lab-heading>h1{flex-basis:100%}.rc-lab-header-controls{width:100%;justify-content:flex-end}.rc-lab-popover-panel{position:absolute}.rc-lab-visit .rc-lab-popover-panel{right:-54px}}

/* Match laboratory actions to the compact View Details control. */
.rc-laboratory-profile .rc-lab-header-controls>a.button,.rc-laboratory-profile .rc-lab-visit>summary,.rc-laboratory-profile .rc-lab-visit .rc-lab-popover-panel h3>a.button{box-sizing:border-box!important;display:inline-flex!important;align-items:center;justify-content:center;height:36px!important;min-height:36px!important;min-width:0!important;width:auto!important;margin:0!important;padding:0 10px!important;font-family:Inter,-apple-system,system-ui,"Segoe UI",sans-serif!important;font-size:12px!important;font-weight:600!important;line-height:12px!important;border-radius:6px!important;}
