/* Sfera CRM • Projects detail v2.30.0
 * Fix viewport overflow, task drawer interactions and edit side panel.
 * Palette derived from approved Dashboard; isolated to Projects.
 */

/* Context navigation lives in the fixed blue topbar. */
#signed-in.app-shell .app-topbar .sfera-projects-topbar__modes[hidden]{display:none!important}
#signed-in.app-shell .app-topbar .sfera-projects-topbar__modes:not([hidden]){
  display:flex;align-items:center;flex:0 0 auto;
  gap:2px;padding:3px;margin:0 6px 0 0;
  border:1px solid rgba(195,218,255,.23);border-radius:10px;
  background:rgba(255,255,255,.07);
}
#signed-in.app-shell .app-topbar .sfera-projects-topbar__modes>button{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-width:0;min-height:31px;height:31px;margin:0;padding:6px 11px;
  border:0;border-radius:7px;box-shadow:none;
  background:transparent;color:#d6e6fd;white-space:nowrap;
  font:550 11px/1.25 Poppins,"Open Sans",sans-serif;
  transition:background-color .15s ease,color .15s ease;
}
#signed-in.app-shell .app-topbar .sfera-projects-topbar__modes>button.is-selected{
  background:#fff;color:#0e2166;box-shadow:0 1px 4px rgba(4,18,58,.09);
}
#signed-in.app-shell .app-topbar .sfera-projects-topbar__modes>button:hover:not(.is-selected){
  background:rgba(255,255,255,.15);color:#fff;
}
#signed-in.app-shell .app-topbar .sfera-projects-topbar__modes svg{
  display:block;flex:0 0 15px;width:15px;height:15px;
  fill:none;stroke:currentColor;stroke-width:1.75;
  stroke-linecap:round;stroke-linejoin:round;
}
#signed-in.app-shell .app-topbar .sfera-projects-topbar__detail-search:not([hidden]){
  flex:1 1 160px;max-width:330px;min-width:90px;margin-left:auto;
}
#signed-in.app-shell .app-topbar .sfera-projects-topbar__modes>button:focus-visible{
  outline:2px solid #9ad1ff;outline-offset:2px;
}
@media(max-width:1210px){
  #signed-in.app-shell .app-topbar .sfera-projects-topbar__modes>button{padding:6px 8px;gap:5px}
  #signed-in.app-shell .app-topbar .sfera-projects-topbar__modes>button span{display:none}
  #signed-in.app-shell .app-topbar .sfera-projects-topbar__modes svg{width:18px;height:18px;flex-basis:18px}
  #signed-in.app-shell .app-topbar .sfera-projects-topbar__detail-search:not([hidden]){max-width:255px}
}
@media(max-width:690px){
  #signed-in.app-shell .app-topbar .sfera-projects-topbar__modes:not([hidden]){padding:2px;margin-right:0}
  #signed-in.app-shell .app-topbar .sfera-projects-topbar__modes>button{width:30px;min-width:30px;height:31px;padding:6px}
}

/* Project header: identity and uniformly sized actions on the same desktop row. */
#projects-view .projects-shell--detail .projects-detail__top{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;min-height:82px!important;
  padding:14px 17px!important;gap:10px 18px!important;
}
#projects-view .projects-shell--detail .sfera-pd-header-controls{
  display:flex!important;justify-content:flex-end!important;
  width:auto!important;min-width:0!important;margin:0!important;
}
#projects-view .projects-shell--detail .projects-detail__top .projects-actions{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
  justify-content:flex-end!important;gap:7px!important;
}
#projects-view .projects-shell--detail .projects-detail__top .projects-actions>button,
#projects-view .projects-shell--detail .projects-detail__top .projects-actions>.projects-icon-button,
#projects-view .projects-shell--detail .projects-detail__top .projects-actions>.sfera-pd-history-action,
#projects-view .projects-shell--detail .sfera-pd-more>summary{
  display:grid!important;place-items:center!important;
  flex:0 0 37px!important;width:37px!important;height:37px!important;
  min-width:37px!important;max-width:37px!important;
  min-height:37px!important;max-height:37px!important;
  margin:0!important;padding:0!important;
  border-radius:10px!important;box-shadow:none!important;line-height:0!important;
}
#projects-view .projects-shell--detail .projects-detail__top .projects-actions svg,
#projects-view .projects-shell--detail .sfera-pd-more>summary svg{
  display:block!important;width:17px!important;height:17px!important;
  min-width:17px!important;max-width:17px!important;
  margin:0!important;transform:none!important;
}
#projects-view .projects-shell--detail .projects-detail__top .projects-actions>button:hover,
#projects-view .projects-shell--detail .sfera-pd-more>summary:hover{transform:none!important}
@media(max-width:800px){
  #projects-view .projects-shell--detail .projects-detail__top{
    grid-template-columns:minmax(0,1fr)!important;
  }
  #projects-view .projects-shell--detail .sfera-pd-header-controls{
    justify-content:flex-start!important;
  }
}
@media(max-width:420px){
  #projects-view .projects-shell--detail .projects-detail__top .projects-actions{
    width:100%;justify-content:space-between!important;
  }
}

/* The drawer root is constrained to viewport width. The list, never the page,
 * is the vertical scrolling region. All overflow follows the panel. */
#projects-workstream-drawer[hidden]{display:none!important}
#projects-workstream-drawer:not([hidden]){
  position:fixed!important;inset:0!important;
  display:flex!important;align-items:stretch!important;justify-content:flex-end!important;
  width:100vw!important;max-width:100vw!important;
  height:100dvh!important;max-height:100dvh!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  box-sizing:border-box!important;z-index:1500!important;
  isolation:isolate;
}
#projects-workstream-drawer .dashboard-team-drawer__backdrop{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;background:rgba(10,26,62,.42)!important;
}
#projects-workstream-drawer .dashboard-team-drawer__panel{
  position:relative!important;inset:auto!important;right:auto!important;left:auto!important;
  top:auto!important;bottom:auto!important;transform:none!important;
  display:flex!important;flex:0 0 min(560px,100vw)!important;
  flex-direction:column!important;align-items:stretch!important;
  width:min(560px,100vw)!important;min-width:0!important;max-width:100vw!important;
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  overflow:hidden!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;border-radius:14px 0 0 14px!important;
  background:#f5f8fc!important;z-index:1!important;
  box-shadow:-15px 0 35px rgba(15,33,76,.17)!important;
}
#projects-workstream-drawer .dashboard-team-drawer__header{
  display:flex!important;flex:0 0 auto!important;
  align-items:center!important;justify-content:space-between!important;
  min-height:0!important;max-height:none!important;
  padding:16px 19px 14px!important;margin:0!important;
  box-sizing:border-box!important;
}
#projects-workstream-drawer .dashboard-team-drawer__heading{min-width:0!important}
#projects-workstream-drawer .dashboard-team-drawer__close{
  flex:0 0 36px!important;width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;
}
#projects-workstream-drawer .sfera-pd-drawer-tools{
  display:flex!important;flex:0 0 auto!important;align-items:center!important;
  justify-content:space-between!important;flex-wrap:wrap!important;
  gap:8px!important;padding:12px 18px!important;margin:0!important;
  border-bottom:1px solid #e3eaf4;background:#f5f8fc;
}
#projects-workstream-drawer .sfera-pd-drawer-tools .dashboard-team-drawer__status{
  display:flex!important;align-items:center;gap:6px!important;
  flex:1 1 160px;min-width:0;flex-wrap:wrap!important;
  padding:0!important;margin:0!important;border:0!important;
  background:transparent!important;
}
#projects-workstream-drawer .sfera-pd-drawer-tools .dashboard-team-drawer__status>span{
  display:inline-flex!important;align-items:baseline;
  min-height:25px;padding:5px 8px!important;border-radius:7px!important;
  font:500 10px/1.2 "Open Sans",sans-serif!important;
}
#projects-workstream-drawer .sfera-pd-drawer-tools .sfera-pd-drawer-toggle{
  display:inline-flex!important;align-items:center!important;
  flex:0 0 auto!important;min-height:29px!important;max-width:100%!important;
  gap:7px!important;margin:0!important;padding:3px 0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  font:550 10px/1.3 "Open Sans",sans-serif!important;white-space:nowrap;
}
#projects-workstream-drawer .sfera-pd-drawer-tools .sfera-pd-drawer-toggle__switch{
  flex:0 0 30px!important;width:30px;height:17px;
}
#projects-workstream-drawer .sfera-pd-drawer-tools .sfera-pd-drawer-toggle__switch::after{
  width:11px;height:11px;
}
#projects-workstream-drawer .sfera-pd-drawer-tools .sfera-pd-drawer-toggle input:checked+.sfera-pd-drawer-toggle__switch::after{
  transform:translateX(12px);
}
#projects-workstream-drawer .dashboard-team-drawer__list{
  display:flex!important;flex:1 1 auto!important;
  flex-direction:column!important;align-items:stretch!important;
  min-width:0!important;min-height:0!important;
  width:100%!important;max-width:100%!important;height:auto!important;
  max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain;scrollbar-gutter:stable;
  gap:9px!important;margin:0!important;padding:15px 17px 25px!important;
  box-sizing:border-box!important;scroll-behavior:smooth;
}
#projects-workstream-drawer .sfera-pd-workitem{
  display:block!important;flex:0 0 auto!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;
  background:#fff!important;border:1px solid #dfe8f3!important;
  border-radius:11px!important;box-shadow:0 2px 9px rgba(14,33,102,.03)!important;
  box-sizing:border-box!important;overflow:hidden!important;
}
#projects-workstream-drawer .sfera-pd-workitem:hover,
#projects-workstream-drawer .sfera-pd-workitem[data-expanded=true]{
  border-color:#c5dcf5!important;box-shadow:0 5px 13px rgba(14,33,102,.055)!important;
}
#projects-workstream-drawer .sfera-pd-workitem__button{
  display:grid!important;grid-template-columns:27px minmax(0,1fr) 15px!important;
  align-items:center!important;gap:10px!important;
  width:100%!important;min-width:0!important;min-height:73px!important;
  margin:0!important;padding:13px!important;box-sizing:border-box!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  color:#1b3b68!important;text-align:left!important;cursor:pointer;
}
#projects-workstream-drawer .sfera-pd-workitem__button:focus-visible{
  outline:2px solid #0b7ff0!important;outline-offset:-3px!important;
}
#projects-workstream-drawer .sfera-pd-workitem__state{
  display:grid!important;place-items:center!important;
  width:27px!important;height:27px!important;
  border-radius:8px!important;background:#ecf4fe!important;color:#487ab5!important;
  font:700 12px/1 Poppins,sans-serif!important;
}
#projects-workstream-drawer .sfera-pd-workitem--done .sfera-pd-workitem__state{
  background:#e5f3ec!important;color:#228456!important;
}
#projects-workstream-drawer .sfera-pd-workitem--overdue .sfera-pd-workitem__state{
  background:#fcebee!important;color:#b95060!important;
}
#projects-workstream-drawer .sfera-pd-workitem--blocked .sfera-pd-workitem__state{
  background:#fff2e5!important;color:#a4713d!important;
}
#projects-workstream-drawer .sfera-pd-workitem__copy{
  display:block!important;min-width:0!important;width:100%!important;
  margin:0!important;padding:0!important;overflow-wrap:break-word;
}
#projects-workstream-drawer .sfera-pd-workitem__title{
  display:block!important;margin:0 0 5px!important;
  font:600 12px/1.35 Poppins,"Open Sans",sans-serif!important;
  color:#203c68!important;max-width:100%;text-align:left!important;
}
#projects-workstream-drawer .sfera-pd-workitem__meta{
  display:inline!important;margin:0!important;max-width:100%!important;
  color:#627996!important;font:450 10.3px/1.55 "Open Sans",sans-serif!important;
  white-space:normal!important;overflow-wrap:break-word;
}
#projects-workstream-drawer .sfera-pd-workitem__badge{
  display:inline-flex!important;align-items:center!important;
  margin:0 0 0 8px!important;padding:2px 6px!important;
  min-height:18px!important;border:0!important;border-radius:6px!important;
  background:#eaf3ff!important;color:#356aa8!important;
  font:650 9.5px/1.2 "Open Sans",sans-serif!important;
  vertical-align:baseline!important;white-space:nowrap!important;
}
#projects-workstream-drawer .sfera-pd-workitem__badge--done{
  background:#e8f5ec!important;color:#218452!important;
}
#projects-workstream-drawer .sfera-pd-workitem__badge--overdue{
  background:#fff0f2!important;color:#b04c59!important;
}
#projects-workstream-drawer .sfera-pd-workitem__badge--blocked{
  background:#fff2e5!important;color:#a16d38!important;
}
#projects-workstream-drawer .sfera-pd-workitem__chevron{
  display:grid!important;place-items:center!important;
  width:15px!important;margin:0!important;color:#6b89ae!important;
  font-size:17px!important;line-height:1!important;transition:transform .17s ease;
}
#projects-workstream-drawer .sfera-pd-workitem[data-expanded=true] .sfera-pd-workitem__chevron{
  transform:rotate(180deg);
}
#projects-workstream-drawer .sfera-pd-workitem__detail{
  display:block!important;min-width:0!important;
  padding:13px!important;margin:0!important;
  border-top:1px solid #e8eef6!important;background:#fafcff!important;
}
#projects-workstream-drawer .sfera-pd-workitem__detail[hidden]{display:none!important}
#projects-workstream-drawer .sfera-pd-workitem__detail .dashboard-team-drawer__detail-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:7px!important;min-width:0!important;
}
#projects-workstream-drawer .sfera-pd-workitem__detail .dashboard-team-drawer__detail-field{
  min-width:0!important;margin:0!important;padding:9px!important;
  border:1px solid #e5ecf5!important;border-radius:8px!important;
  background:#fff!important;box-sizing:border-box!important;
}
#projects-workstream-drawer .sfera-pd-workitem__detail .dashboard-team-drawer__detail-field--wide{
  grid-column:1/-1!important;
}

/* Editing uses the existing real form and handlers inside a right drawer.
 * New task, confirmations, archives and other dialogs retain their original modals. */
#projects-dialog.sfera-project-task-edit-drawer:not([hidden]){
  position:fixed!important;inset:0!important;
  display:flex!important;align-items:stretch!important;justify-content:flex-end!important;
  width:100vw!important;height:100dvh!important;
  max-width:100vw!important;max-height:100dvh!important;
  padding:0!important;margin:0!important;overflow:hidden!important;
  box-sizing:border-box!important;z-index:1700!important;
}
#projects-dialog.sfera-project-task-edit-drawer .task-v2-modal__backdrop{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  background:rgba(12,26,62,.42)!important;
}
#projects-dialog.sfera-project-task-edit-drawer>.task-v3-dialog{
  position:relative!important;inset:auto!important;top:auto!important;
  left:auto!important;right:auto!important;bottom:auto!important;
  transform:none!important;display:flex!important;flex-direction:column!important;
  flex:0 0 min(690px,100vw)!important;width:min(690px,100vw)!important;
  min-width:0!important;max-width:100vw!important;
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  border-radius:15px 0 0 15px!important;
  box-shadow:-18px 0 35px rgba(12,27,63,.15)!important;
  background:#f6f8fc!important;box-sizing:border-box!important;
  animation:sfera-project-editor-in .22s ease-out both;
}
@keyframes sfera-project-editor-in{
  from{opacity:.7;transform:translateX(20px)}
  to{opacity:1;transform:translateX(0)}
}
#projects-dialog.sfera-project-task-edit-drawer .task-v2-dialog__header{
  display:flex!important;flex:0 0 auto!important;align-items:center!important;
  min-height:0!important;margin:0!important;padding:16px 19px!important;
  background:#fff!important;border-bottom:1px solid #e3eaf3!important;
}
#projects-dialog.sfera-project-task-edit-drawer .task-v3-dialog-heading__icon{
  width:39px!important;height:39px!important;min-width:39px!important;border-radius:10px!important;
}
#projects-dialog.sfera-project-task-edit-drawer .task-v3-dialog-heading h2{
  font:600 20px/1.25 Poppins,sans-serif!important;
  color:#0e2166!important;
}
#projects-dialog.sfera-project-task-edit-drawer .task-v2-dialog__header p{
  font-size:10.5px!important;margin-top:3px!important;
}
#projects-dialog.sfera-project-task-edit-drawer .task-v2-dialog__body{
  display:block!important;flex:1 1 auto!important;
  min-height:0!important;height:auto!important;max-height:none!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain;scrollbar-gutter:stable;
  margin:0!important;padding:13px 16px 19px!important;
  background:#f6f8fc!important;box-sizing:border-box!important;
}
#projects-dialog.sfera-project-task-edit-drawer [data-project-task-form]{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:11px!important;min-width:0!important;
}
#projects-dialog.sfera-project-task-edit-drawer .task-v3-form-section,
#projects-dialog.sfera-project-task-edit-drawer .task-v2-form-section{
  margin:0!important;padding:14px!important;
  border:1px solid #dfe8f3!important;border-radius:11px!important;
  background:#fff!important;box-shadow:none!important;
}
#projects-dialog.sfera-project-task-edit-drawer .projects-form-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
#projects-dialog.sfera-project-task-edit-drawer .projects-form-grid>.projects-field--full{
  grid-column:1/-1!important;
}
#projects-dialog.sfera-project-task-edit-drawer .task-v2-dialog__footer{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:0 0 auto!important;gap:9px!important;margin:0!important;
  padding:12px 18px!important;background:#fff!important;
  border-top:1px solid #e3eaf3!important;
}
#projects-dialog.sfera-project-task-edit-drawer .task-v2-dialog__footer button{
  width:auto!important;min-width:95px!important;max-width:none!important;
  height:38px!important;min-height:38px!important;border-radius:9px!important;
}

/* Company-history visual language: compact day labels, balanced colored
 * event cards in a responsive feed instead of empty horizontal ledger rows. */
#projects-view .projects-shell--detail .sfera-pd-history-card{
  width:100%!important;padding:18px!important;background:#f7f9fd!important;
  border:1px solid #dfe7f2!important;border-radius:14px!important;
  box-shadow:none!important;
}
#projects-view .projects-shell--detail .sfera-pd-timeline{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start;gap:11px 15px!important;
  width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  list-style:none!important;
}
#projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event-day{
  grid-column:1/-1!important;display:flex!important;align-items:center!important;
  margin:5px 0 0!important;padding:9px 2px 2px!important;
  min-height:0!important;border:0!important;
}
#projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event-day time{
  display:inline-flex!important;align-items:center!important;
  background:#e9f3ff!important;border:1px solid #d3e7fd!important;
  color:#3670ad!important;padding:6px 10px!important;
  font:650 10px/1.25 "Open Sans",sans-serif!important;
  border-radius:8px!important;
}
#projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event{
  display:grid!important;grid-template-columns:31px minmax(0,1fr)!important;
  align-items:start!important;gap:10px!important;
  width:100%!important;min-width:0!important;height:100%!important;
  margin:0!important;padding:15px 16px!important;
  border:1px solid #e0e8f3!important;border-radius:12px!important;
  background:#fff!important;box-shadow:0 3px 13px rgba(14,33,102,.039)!important;
  box-sizing:border-box!important;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
#projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event:hover{
  border-color:#bed7f2!important;box-shadow:0 5px 16px rgba(14,33,102,.058)!important;
  transform:translateY(-1px);
}
#projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event .projects-event-dot{
  position:static!important;display:grid!important;place-items:center!important;
  width:31px!important;height:31px!important;min-width:31px!important;
  margin:0!important;border:0!important;border-radius:9px!important;
  background:#ebf4ff!important;color:#0b7ff0!important;
  font:750 13px/1 Poppins,sans-serif!important;
}
#projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event--completion .projects-event-dot{
  background:#e5f4ec!important;color:#20865b!important;
}
#projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event>div.sfera-pd-history-entry{
  display:block!important;min-width:0!important;width:100%!important;
  margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important;
}
#projects-view .projects-shell--detail .sfera-pd-history-entry__head{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
  flex-wrap:wrap;gap:5px 10px!important;margin:0 0 8px!important;
}
#projects-view .projects-shell--detail .sfera-pd-history-entry__head h3{
  flex:1 1 130px;min-width:0;margin:1px 0 0!important;
  font:650 12px/1.4 Poppins,"Open Sans",sans-serif!important;
  color:#0e2166!important;overflow-wrap:break-word;
}
#projects-view .projects-shell--detail .sfera-pd-history-entry__head .sfera-pd-history-entry__date{
  flex:0 0 auto;align-self:flex-start;
  padding:5px 7px!important;margin:0!important;
  border-radius:7px;background:#f1f6fe!important;
  color:#5478a3!important;font:600 9.5px/1.3 "Open Sans",sans-serif!important;
}
#projects-view .projects-shell--detail .sfera-pd-history-entry__subject{
  display:block!important;margin:0 0 5px!important;
  color:#2c598b!important;font:600 11.2px/1.5 "Open Sans",sans-serif!important;
}
#projects-view .projects-shell--detail .sfera-pd-history-entry__description{
  display:block!important;margin:0!important;
  color:#647b99!important;font:450 10.5px/1.55 "Open Sans",sans-serif!important;
  white-space:normal;overflow-wrap:break-word;
}
#projects-view .projects-shell--detail .sfera-pd-history-entry__foot{
  display:flex;align-items:center;justify-content:flex-start!important;
  margin-top:13px!important;padding-top:9px!important;
  border-top:1px solid #edf2f8!important;
}
#projects-view .projects-shell--detail .sfera-pd-history-entry__author{
  display:inline-flex!important;justify-content:flex-start!important;
  max-width:100%;margin:0!important;text-align:left!important;
  color:#6580a1!important;font:550 10px/1.35 "Open Sans",sans-serif!important;
  overflow-wrap:break-word;
}
#projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event-empty{
  grid-column:1/-1!important;
  padding:30px!important;border:1px dashed #cedbed!important;
  border-radius:12px!important;background:#fff!important;
  text-align:center!important;
}
@media(max-width:960px){
  #projects-view .projects-shell--detail .sfera-pd-timeline{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:600px){
  #projects-workstream-drawer .dashboard-team-drawer__panel,
  #projects-dialog.sfera-project-task-edit-drawer>.task-v3-dialog{
    width:100vw!important;flex-basis:100vw!important;border-radius:0!important;
  }
  #projects-workstream-drawer .sfera-pd-drawer-tools{
    padding:10px 12px!important;
  }
  #projects-workstream-drawer .dashboard-team-drawer__list{
    padding:11px 10px 18px!important;gap:7px!important;
  }
  #projects-workstream-drawer .sfera-pd-workitem__button{
    padding:10px!important;gap:8px!important;
  }
  #projects-workstream-drawer .sfera-pd-workitem__detail .dashboard-team-drawer__detail-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  #projects-dialog.sfera-project-task-edit-drawer .projects-form-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  #projects-dialog.sfera-project-task-edit-drawer .task-v2-dialog__body{
    padding:11px!important;
  }
  #projects-view .projects-shell--detail .sfera-pd-history-card{
    padding:11px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #projects-view .projects-shell--detail .sfera-pd-timeline>.projects-event,
  #projects-workstream-drawer *,
  #projects-dialog.sfera-project-task-edit-drawer *{
    scroll-behavior:auto!important;animation:none!important;
    transition:none!important;transform:none!important;
  }
}