/* NI Office v3.0.71 – nickname popup and compact planning labels. */
.tke-v203-project-app .tke-v203-title-row h1{
  overflow-wrap:anywhere;
  min-width:0;
}
.tke-v371-dialog{
  position:fixed;
  inset:0;
  margin:auto;
  width:min(510px,calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  max-height:min(85vh,660px);
  padding:0;
  overflow-y:auto;
  border:1px solid #e4dff3;
  border-radius:18px;
  background:#fff;
  color:#171d36;
  box-shadow:0 25px 90px rgba(10,10,30,.32);
  box-sizing:border-box;
}
.tke-v371-dialog:not([open]){display:none!important}
.tke-v371-dialog::backdrop{background:rgba(15,13,41,.68)}
.tke-v371-dialog-content{padding:22px 24px}
.tke-v371-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.tke-v371-dialog-head h2{font-size:22px!important;line-height:1.25;margin:0!important;color:#171b39!important}
.tke-v371-dialog-head p{font-size:12px!important;color:#64708a;margin:4px 0 0!important}
.tke-v371-close{font-size:26px;line-height:1;width:34px;height:34px;flex:0 0 auto;border:0;border-radius:10px;background:#f1eff7;color:#36304f;cursor:pointer}
.tke-v371-dialog form{display:block!important;margin:0}
.tke-v371-dialog form label{display:block;font-size:12px;font-weight:800;color:#242841}
.tke-v371-dialog form input[type=text]{display:block;box-sizing:border-box;width:100%;max-width:none!important;margin-top:7px!important;padding:12px!important;border:1px solid #d5d4e6;border-radius:10px;font:inherit;font-size:15px;color:#17203b;background:#fff}
.tke-v371-dialog form input[type=text]:focus{outline:2px solid #8640f2;outline-offset:1px;border-color:#8640f2}
.tke-v371-dialog-hint{font-size:12px;color:#657087;line-height:1.5;margin:10px 0 22px!important}
.tke-v371-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.tke-v371-dialog-actions .tke-btn{margin:0!important;min-height:40px}
@media(max-width:600px){
  .tke-v371-dialog-content{padding:18px}
  .tke-v371-dialog-actions .tke-btn{flex:1}
  .tke-v371-dialog-head h2{font-size:19px!important}
}
/* The frozen columns must be narrower in the actual Gantt,
   rather than only changing unreferenced CSS variables. */
html body.tke-op-page .tke-v210-install-page .tke-v222-install-layout{
  grid-template-columns:395px minmax(0,1fr)!important;
}
html body.tke-op-page .tke-v210-install-page .tke-v222-install-frozen .tke-v210-install-static-head,
html body.tke-op-page .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static{
  grid-template-columns:130px 125px 140px!important;
}
html body.tke-op-page.tke-v287-fullscreen-body .tke-v210-install-page .tke-v222-install-layout{
  grid-template-columns:395px minmax(0,1fr)!important;
}
@media(max-width:1350px){
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-layout,
  html body.tke-op-page.tke-v287-fullscreen-body .tke-v210-install-page .tke-v222-install-layout{
    grid-template-columns:355px minmax(0,1fr)!important;
  }
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-frozen .tke-v210-install-static-head,
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static{
    grid-template-columns:110px 110px 135px!important;
  }
}
@media(max-width:900px){
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-layout,
  html body.tke-op-page.tke-v287-fullscreen-body .tke-v210-install-page .tke-v222-install-layout{
    grid-template-columns:300px minmax(0,1fr)!important;
  }
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-frozen .tke-v210-install-static-head,
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static{
    grid-template-columns:92px 125px 83px!important;
  }
}
@media(max-width:500px){
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-layout,
  html body.tke-op-page.tke-v287-fullscreen-body .tke-v210-install-page .tke-v222-install-layout{
    grid-template-columns:205px minmax(0,1fr)!important;
  }
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-frozen .tke-v210-install-static-head,
  html body.tke-op-page .tke-v210-install-page .tke-v222-install-label-row .tke-v210-install-static{
    grid-template-columns:72px 80px 53px!important;
  }
}
