
#tea2UnifiedLibrary[hidden]{display:none!important}
#tea2UnifiedLibrary{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:2.2vh 2vw;background:rgba(12,37,55,.28);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);font:inherit;color:#183954}
#tea2UnifiedLibrary *{box-sizing:border-box}
#tea2UnifiedLibrary .ul-window{width:min(1450px,100%);height:min(94vh,1050px);display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.89);border-radius:22px;background:linear-gradient(132deg,rgba(249,253,255,.91),rgba(229,243,252,.82));box-shadow:0 24px 80px rgba(20,52,81,.24),inset 0 1px 0 rgba(255,255,255,.95);overflow:hidden;backdrop-filter:blur(26px)}
#tea2UnifiedLibrary .ul-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:18px 24px 13px;border-bottom:1px solid rgba(93,148,176,.24)}
#tea2UnifiedLibrary .ul-head small{font-size:11px;font-weight:800;letter-spacing:.13em;color:#467795}
#tea2UnifiedLibrary .ul-head h2{font-size:23px;margin:2px 0 3px;color:#183e59;font-weight:750}
#tea2UnifiedLibrary .ul-head p{font-size:12px;margin:0;color:#53738b}
#tea2UnifiedLibrary button{cursor:pointer;font:inherit}
#tea2UnifiedLibrary button:focus-visible,#tea2UnifiedLibrary input:focus-visible,#tea2UnifiedLibrary select:focus-visible{outline:2px solid #2877b1;outline-offset:2px}
#tea2UnifiedLibrary .ul-close{width:35px;height:35px;border:1px solid rgba(97,150,182,.36);background:rgba(255,255,255,.74);border-radius:11px;color:#295575;font-size:22px}
#tea2UnifiedLibrary .ul-tabs{display:flex;gap:8px;padding:10px 24px 0}
#tea2UnifiedLibrary .ul-tabs button{border:1px solid rgba(119,173,206,.32);background:rgba(255,255,255,.56);border-radius:12px 12px 3px 3px;padding:11px 17px;color:#426b88;font-weight:700;font-size:13px}
#tea2UnifiedLibrary .ul-tabs button[aria-selected=true]{background:rgba(255,255,255,.92);border-bottom-color:rgba(255,255,255,.92);color:#144d76;box-shadow:0 -3px 10px rgba(108,156,184,.11)}
#tea2UnifiedLibrary .ul-tools{display:flex;align-items:center;gap:10px;padding:11px 24px;border-bottom:1px solid rgba(93,148,176,.2)}
#tea2UnifiedLibrary input,#tea2UnifiedLibrary select{border-radius:10px;border:1px solid rgba(100,150,180,.32);background:rgba(255,255,255,.8);padding:9px 11px;color:#184466;min-width:0;font-size:13px}
#tea2UnifiedLibrary #ulSearch{flex:1;max-width:540px}
#tea2UnifiedLibrary #ulDepartment{max-width:250px}
#tea2UnifiedLibrary #ulCount{margin-left:auto;font-size:12px;color:#4c6b83;white-space:nowrap}
#tea2UnifiedLibrary .ul-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(290px,1fr) minmax(330px,.86fr);gap:0}
#tea2UnifiedLibrary .ul-results{overflow:auto;padding:10px 12px 14px 24px;display:flex;flex-direction:column;gap:5px;min-height:0}
#tea2UnifiedLibrary .ul-entry{text-align:left;border:1px solid rgba(136,187,210,.25);background:rgba(255,255,255,.58);border-radius:11px;padding:11px 13px;display:flex;flex-direction:column;gap:3px;min-height:76px;flex-shrink:0;color:#214965}
#tea2UnifiedLibrary .ul-entry:hover,#tea2UnifiedLibrary .ul-selected{background:rgba(255,255,255,.92);border-color:rgba(46,126,178,.55)}
#tea2UnifiedLibrary .ul-entry strong{font-weight:750;font-size:13px}
#tea2UnifiedLibrary .ul-entry small{font-size:11px;color:#577a92}
#tea2UnifiedLibrary .ul-evidence{font-size:11px;color:#64869c}
#tea2UnifiedLibrary .ul-details{overflow:auto;padding:20px 24px;border-left:1px solid rgba(93,148,176,.23);background:rgba(255,255,255,.36);min-height:0}
#tea2UnifiedLibrary .ul-details h3{font-size:19px;margin:0 0 7px;color:#1c506f}
#tea2UnifiedLibrary .ul-details h4{font-size:14px;margin:22px 0 10px}
#tea2UnifiedLibrary .ul-details p{font-size:12px;line-height:1.5}
#tea2UnifiedLibrary .ul-status{font-weight:700;color:#6d5838}
#tea2UnifiedLibrary .ul-type{color:#55758a}
#tea2UnifiedLibrary .ul-open{border:1px solid rgba(69,130,167,.5);border-radius:10px;background:rgba(239,249,255,.92);padding:10px 15px;color:#174b6d;font-weight:700;font-size:12px}
#tea2UnifiedLibrary .ul-source{border:1px solid rgba(120,177,210,.27);border-radius:10px;background:rgba(255,255,255,.54);padding:9px 10px;margin:7px 0;display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}
#tea2UnifiedLibrary .ul-source strong{font-size:12px}
#tea2UnifiedLibrary .ul-source small{font-size:11px;color:#5c7586}
#tea2UnifiedLibrary .ul-empty,#tea2UnifiedLibrary .ul-hint{color:#667b8a}
#tea2UnifiedLibrary .ul-foot{border-top:1px solid rgba(93,148,176,.21);padding:10px 24px;font-size:11px;color:#597b8e;background:rgba(255,255,255,.31)}
@media(max-width:760px){#tea2UnifiedLibrary{padding:0}#tea2UnifiedLibrary .ul-window{height:100dvh;width:100%;border-radius:0}#tea2UnifiedLibrary .ul-head{padding:13px 14px 9px}#tea2UnifiedLibrary .ul-head h2{font-size:19px}#tea2UnifiedLibrary .ul-tabs{padding:8px 14px 0}#tea2UnifiedLibrary .ul-tools{padding:8px 14px;flex-wrap:wrap}#tea2UnifiedLibrary #ulSearch{flex:1 1 100%}#tea2UnifiedLibrary #ulCount{margin:0}#tea2UnifiedLibrary .ul-body{grid-template-columns:1fr;grid-template-rows:minmax(140px,1fr) minmax(170px,1fr)}#tea2UnifiedLibrary .ul-results{padding:8px 13px}#tea2UnifiedLibrary .ul-details{padding:12px 14px;border-left:0;border-top:1px solid rgba(93,148,176,.21)}#tea2UnifiedLibrary .ul-foot{padding:8px 14px}}

#tea2UnifiedLibrary .ul-integration{margin:12px 0;padding:11px 12px;border:1px solid rgba(108,159,185,.34);border-radius:12px;background:rgba(242,250,255,.67);color:#365a70}
#tea2UnifiedLibrary .ul-integration strong{display:block;font-size:12px;color:#194a67}
#tea2UnifiedLibrary .ul-integration p{margin:7px 0;font-size:12px;line-height:1.45}
#tea2UnifiedLibrary .ul-integration small{font-size:11px;color:#5d798e}

.ul-qa-evidence{display:grid;gap:4px;margin-top:10px}.ul-qa-evidence small{overflow-wrap:anywhere;opacity:.82}


/* F001-R23 ??? existing owner library becomes an integrated Main Screen work area.
   Native catalogue DOM/actions remain unchanged. No full-screen body overlay. */
body.tea2-workspace-r3 #mainScreen{
 position:relative!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary.ul-office{
 display:flex!important;
 position:absolute!important;
 inset:0!important;left:0!important;top:0!important;right:0!important;bottom:0!important;
 transform:none!important;
 z-index:65!important;
 width:100%!important;height:100%!important;min-height:0!important;
 max-height:100%!important;max-width:100%!important;
 padding:0!important;margin:0!important;
 overflow:hidden!important;
 align-items:stretch!important;justify-content:stretch!important;
 background:transparent!important;box-shadow:none!important;
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary.ul-office[hidden]{
 display:none!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-window{
 display:flex!important;flex-direction:column!important;
 width:100%!important;height:100%!important;min-height:0!important;
 max-width:none!important;max-height:100%!important;
 padding:0!important;margin:0!important;
 border-radius:16px!important;overflow:hidden!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-close{
 display:none!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-head{
 flex:0 0 auto!important;padding:11px 15px 8px!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-head h2{
 font-size:19px!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-tabs{
 flex:0 0 auto!important;padding:7px 15px 0!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-tools{
 flex:0 0 auto!important;display:flex!important;flex-wrap:wrap!important;
 padding:8px 15px!important;gap:6px!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-body{
 flex:1 1 auto!important;min-height:0!important;
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.86fr)!important;
 overflow:hidden!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-results,
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-details{
 min-height:0!important;min-width:0!important;overflow:auto!important;
 padding:12px!important;
}
body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-foot{
 flex:0 0 auto!important;padding:7px 12px!important;
}
@media(max-width:1100px){
 body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-body{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(110px,1fr) minmax(130px,.9fr)!important;
 }
 body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-results,
 body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-details{
  padding:8px!important;
 }
 body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-tools #ulSearch{
  flex:1 1 100%!important;max-width:100%!important;
 }
 body.tea2-workspace-r3 #mainScreen > #tea2UnifiedLibrary .ul-foot{
  font-size:9px!important;
 }
}
