/* Vettro review sidebar batch: compact near-black rail, clean Project Details, and Feedback. */
#review-workspace .rw-vertical-nav{
  align-self:start!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  margin-top:20px!important;
  padding:17px 7px 21px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:16px!important;
  background:#101114!important;
  border:0!important;
  border-radius:15px 0 0 15px!important;
  overflow:visible!important;
  position:relative;
  z-index:5;
}
#review-workspace .rw-rail-tab{
  flex:0 0 37px;
  width:37px!important;
  height:37px!important;
  display:grid;place-items:center;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#a5a5ae!important;
  box-shadow:none!important;
  position:relative;
}
#review-workspace .rw-rail-tab .rw-icon{width:19px;height:19px;}
#review-workspace .rw-rail-tab:hover{background:#29272e!important;color:#fff!important;}
#review-workspace .rw-rail-tab.is-active{
  color:#fff!important;background:transparent!important;
}
#review-workspace .rw-rail-tab.is-active::after{
  content:"";position:absolute;
  width:4px;height:23px;
  top:50%;right:-7px;
  transform:translateY(-50%);
  border-radius:5px 0 0 5px;
  background:#fff;
  pointer-events:none;
}
#review-workspace .rw-rail-tab.rw-rail-toggle{
  font-size:25px;line-height:1;color:#e6e3eb!important;
  margin-bottom:7px;
}
#review-workspace .rw-rail-tab.rw-rail-toggle::after{display:none;}
#review-workspace .rw-panel-header{
  min-height:72px;
  padding:23px 21px 17px!important;
  border-bottom:1px solid #eeebed;
}
#review-workspace .rw-panel-header h2{
  margin:0!important;
  font-size:17px!important;
  letter-spacing:-.04em;
  font-weight:760;
}
#review-workspace .rw-panel-body{
  padding:19px 20px!important;
  min-height:0;
  flex:1;
  overflow-y:auto;
  overflow-x:visible;
  scrollbar-width:thin;
  max-height:none!important;
}
#review-workspace .rw-panel-footer{
  padding:9px 19px;
  min-height:29px;
  border-top:1px solid #f1eef2;
  font-size:10px;
}
#review-workspace .rws-icon{
  width:16px;height:16px;display:inline-block;flex:none;
  stroke:currentColor;fill:none;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
#review-workspace .rws-info-view{
  display:flex;flex-direction:column;
  gap:0;min-height:100%;
}
#review-workspace .rws-project-head{
  display:grid;gap:15px;
  border-bottom:1px solid #eae6e9;
  padding:4px 0 23px;
}
#review-workspace .rws-name-line{
  display:flex;align-items:center;gap:10px;min-width:0;
  color:#23242d;
}
#review-workspace .rws-type-icon{
  display:grid;place-items:center;flex:none;
  width:19px;height:24px;color:#743fce;
}
#review-workspace .rws-type-icon .rws-icon{width:20px;height:20px;}
#review-workspace .rws-name-line strong{
  min-width:0;flex:1;
  color:#262633;font-size:14px;font-weight:760;
  overflow-wrap:anywhere;line-height:1.4;
}
#review-workspace .rws-icon-button{
  display:grid;place-items:center;flex:none;
  width:24px;height:26px;padding:0;
  color:#92909a;background:transparent;border:0;
  border-radius:6px;cursor:pointer;
}
#review-workspace .rws-icon-button:hover{color:#7040cc;background:#f0ebf6;}
#review-workspace .rws-icon-button .rws-icon{width:15px;height:15px;}
#review-workspace .rws-date-line{
  display:flex;align-items:center;gap:8px;
  font-size:11px;line-height:1.5;
  color:#898594;min-width:0;flex-wrap:wrap;
}
#review-workspace .rws-date-line>.rws-icon{
  width:16px;height:16px;color:#8d87a0;
}
#review-workspace .rws-date-line strong{
  flex:1;color:#43414b;font-size:11px;
  font-weight:620;text-align:left;
}
#review-workspace .rws-date-editor{
  padding:12px;background:#f7f4fa;border-radius:10px;
  display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;
}
#review-workspace .rws-date-editor label,
#review-workspace .rws-team-form label{font-size:11px;color:#6c6574;display:grid;gap:6px;flex:1;min-width:130px;}
#review-workspace .rws-date-editor input,
#review-workspace .rws-team-form input{
  border:1px solid #e0dbe6;border-radius:8px;
  background:#fff;color:#30303b;
  padding:9px;font-size:11px;max-width:100%;min-width:0;
}
#review-workspace .rws-date-editor>button,
#review-workspace .rws-team-form>button{
  border:1px solid #d6cde1;border-radius:8px;
  padding:9px 11px;background:#fff;
  color:#6740b5;font-size:10px;font-weight:700;
}
#review-workspace .rws-date-editor>button[type="submit"],
#review-workspace .rws-team-form>button[type="submit"]{background:#7845d7;color:#fff;border-color:#7845d7;}
#review-workspace .rws-version-list{
  display:grid;padding-top:11px;
  border-bottom:1px solid #eae6e9;
}
#review-workspace .rws-add-version{
  display:flex;align-items:center;gap:10px;
  width:100%;padding:14px 2px 17px;
  border:0;background:transparent;color:#7040c7;
  font-weight:720;font-size:12px;text-align:left;
}
#review-workspace .rws-add-version:hover{color:#472299;}
#review-workspace .rws-add-version .rws-icon{width:17px;height:17px;}
#review-workspace .rws-item{display:block;margin:0;border-top:1px solid #eeebee;}
#review-workspace .rws-item summary{
  display:flex;align-items:center;gap:9px;
  list-style:none;cursor:pointer;
  width:100%;min-height:75px;padding:13px 1px;
  background:transparent;
}
#review-workspace .rws-item summary::-webkit-details-marker{display:none;}
#review-workspace .rws-item-main{
  display:grid;gap:11px;flex:1;min-width:0;
}
#review-workspace .rws-item-main strong{
  font-size:12px;line-height:1.4;color:#3b3945;
  font-weight:700;overflow-wrap:anywhere;
}
#review-workspace .rws-progress{
  width:min(112px,100%);height:4px;
  display:flex;gap:5px;
  align-items:center;
}
#review-workspace .rws-progress>span{
  flex:1;min-width:0;height:4px;
  border-radius:3px;background:#a3a4aa;
}
#review-workspace .rws-progress>span.is-current{background:#a67cf1;}
#review-workspace .rws-progress>span.is-complete{background:#5ec79b;}
#review-workspace .rws-item-people{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:none;}
#review-workspace .rws-face{
  display:inline-grid;place-items:center;
  position:relative;flex:none;overflow:hidden;
  border:1px solid #e2deeb;
  border-radius:50%;background:#ded7ee;
  color:#644c91;font-size:9px;font-weight:750;
  width:29px;height:29px;
}
#review-workspace .rws-face img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
#review-workspace .rws-face-xs{width:23px;height:23px;font-size:8px;}
#review-workspace .rws-face-lg{width:47px;height:47px;font-size:13px;}
#review-workspace .rws-face-extra{font-size:9px;color:#8b8994;font-weight:660;}
#review-workspace .rws-item summary>.rws-icon{
  width:14px;height:14px;color:#8e8b99;transition:transform .14s ease;
}
#review-workspace .rws-item[open] summary>.rws-icon{transform:rotate(180deg);}
#review-workspace .rws-item-expanded{padding:0 3px 20px;}
#review-workspace .rws-item-expanded dl{display:grid;gap:13px;margin:6px 0 18px;}
#review-workspace .rws-item-expanded dl>div{display:grid;gap:5px;}
#review-workspace .rws-item-expanded dt{font-size:10px;color:#9a95a1;font-weight:650;}
#review-workspace .rws-item-expanded dd{margin:0;font-size:11px;line-height:1.5;color:#484551;overflow-wrap:anywhere;}
#review-workspace .rws-item-actions{
  display:flex;align-items:center;
  justify-content:space-around;
  gap:9px;padding:10px 0 0;
  border-top:1px solid #eee9ef;
}
#review-workspace .rws-item-actions>button,
#review-workspace .rws-project-footer>button{
  display:grid;place-items:center;
  border:0;border-radius:7px;
  width:31px;height:33px;
  padding:0;background:transparent;color:#8d8494;
  cursor:pointer;
}
#review-workspace .rws-item-actions>button:hover,
#review-workspace .rws-project-footer>button:hover{color:#6936c5;background:#f2edf9;}
#review-workspace .rws-item-actions>button[title^="Delete"]:hover,
#review-workspace .rws-project-footer>button[title^="Delete"]:hover{color:#b83d43;background:#fff0f0;}
#review-workspace .rws-item-actions .rws-icon{width:17px;height:17px;}
#review-workspace .rws-team-section{
  display:grid;gap:20px;
  padding:24px 0;
}
#review-workspace .rws-team-section h3{
  display:flex;align-items:center;justify-content:center;
  gap:9px;margin:0;
  font-size:13px;font-weight:750;color:#34333f;
}
#review-workspace .rws-team-section h3 .rws-icon{color:#7f67a3;width:18px;height:18px;}
#review-workspace .rws-team-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px 17px;
}
#review-workspace .rws-team-person{
  display:flex;align-items:center;flex-direction:column;
  text-align:center;gap:5px;min-width:0;
}
#review-workspace .rws-team-person>strong{
  width:100%;overflow-wrap:anywhere;
  font-size:11px;font-weight:710;color:#383743;
  margin-top:5px;line-height:1.4;
}
#review-workspace .rws-team-person>small{font-size:10px;color:#9c96a4;}
#review-workspace .rws-add-member{
  display:flex;align-items:center;justify-content:center;gap:8px;
  border:0;background:transparent;color:#7754b5;
  padding:10px;font-size:11px;font-weight:650;
}
#review-workspace .rws-add-member:hover{color:#4e239a;}
#review-workspace .rws-team-form{
  display:grid;gap:12px;padding:13px;
  background:#f8f6fa;border-radius:11px;
}
#review-workspace .rws-role-picker{display:flex;gap:9px;}
#review-workspace .rws-role-picker button{
  flex:1;background:#fff;border:1px solid #e2dce9;
  border-radius:8px;font-size:10px;padding:10px 8px;
  color:#847e91;
}
#review-workspace .rws-role-picker button[aria-pressed="true"]{
  border-color:#987cd3;background:#eee7f8;color:#6740a7;font-weight:750;
}
#review-workspace .rws-error{display:flex;gap:6px;align-items:center;color:#a83c48;font-size:10px;margin:0;}
#review-workspace .rws-completed-marker{
  display:flex;align-items:center;gap:7px;
  padding:9px;margin-bottom:12px;
  border-radius:8px;background:#eff9f2;color:#247850;font-size:11px;
}
#review-workspace .rws-project-footer{
  position:sticky;bottom:-19px;
  display:flex;align-items:center;justify-content:space-around;
  gap:8px;margin-top:auto;
  padding:14px 6px;
  border-top:1px solid #eae6e9;
  background:#fff;
  z-index:8;
}
#review-workspace .rws-project-footer>button{width:35px;height:35px;}
#review-workspace .rws-project-footer .rws-icon{width:18px;height:18px;}
#review-workspace .rws-modal-backdrop{
  position:fixed;inset:0;z-index:4000;
  display:grid;place-items:center;
  padding:22px;background:#16151e70;
}
#review-workspace .rws-modal{
  width:min(400px,95vw);
  background:#fbfaf9;border-radius:18px;
  padding:26px;box-shadow:0 22px 75px #15131a45;
}
#review-workspace .rws-modal-symbol{
  display:grid;place-items:center;
  width:44px;height:44px;border-radius:12px;
  background:#f5ecfc;color:#7046a8;margin-bottom:13px;
}
#review-workspace .rws-modal-symbol.is-danger{background:#fff0ec;color:#bd424c;}
#review-workspace .rws-modal-symbol .rws-icon{width:23px;height:23px;}
#review-workspace .rws-modal h3{margin:0 0 11px;color:#252632;font-size:20px;line-height:1.3;}
#review-workspace .rws-modal p{color:#716f7a;font-size:12px;line-height:1.65;margin:0 0 24px;}
#review-workspace .rws-modal-actions{display:flex;justify-content:flex-end;gap:10px;}
#review-workspace .rws-modal-actions button{
  border:1px solid #ddd9e3;border-radius:9px;
  padding:11px 14px;background:#fff;color:#5e566b;
  font-size:11px;font-weight:700;
}
#review-workspace .rws-modal-actions button:last-child{background:#7543d1;color:#fff;border-color:#7543d1;}
#review-workspace .rws-modal-actions button.is-danger{background:#b93f4b;color:#fff;border-color:#b93f4b;}
/* Feedback: compact dark filter and custom sort/arrange controls */
#review-workspace .rws-feedback-toolbar{
  display:flex;align-items:stretch;gap:4px;
  padding:5px 6px;
  margin:0 0 21px;
  width:100%;
  min-height:42px;
  background:#101114;color:#d4d1dd;
  border-radius:11px;
}
#review-workspace .rws-feedback-filters{
  flex:1;display:flex;align-items:center;gap:2px;
  justify-content:flex-start;min-width:0;
}
#review-workspace .rws-feedback-filters>button{
  display:flex;align-items:center;gap:5px;
  flex:none;white-space:nowrap;
  border:0;border-radius:7px;background:transparent;
  padding:6px 4px;color:#aaabb5;
  font-size:10px;font-weight:680;
}
#review-workspace .rws-feedback-filters>button:hover{color:#fff;}
#review-workspace .rws-feedback-filters>button[aria-pressed="true"]{color:#fff;}
#review-workspace .rws-feedback-filters>button[aria-pressed="true"]::after{
  content:"";position:absolute;
}
#review-workspace .rws-count-circle{
  min-width:17px;height:17px;
  display:inline-grid;place-items:center;
  border-radius:50%;
  background:#41414a;color:#e6e4ea;
  font-size:9px;font-weight:750;
  padding:0 3px;
}
#review-workspace .rws-feedback-filters>button[aria-pressed="true"] .rws-count-circle{background:#7645d9;color:#fff;}
#review-workspace .rws-feedback-options{display:flex;align-items:center;gap:2px;}
#review-workspace .rws-option{position:relative;flex:none;}
#review-workspace .rws-option>button{
  display:grid;place-items:center;width:27px;height:30px;
  border:0;border-radius:7px;background:transparent;color:#b6b0be;
}
#review-workspace .rws-option>button:hover,
#review-workspace .rws-option>button[aria-expanded="true"]{color:#fff;background:#292730;}
#review-workspace .rws-mini-svg{width:16px;height:16px;}
#review-workspace .rws-option-menu{
  position:absolute;right:0;top:calc(100% + 7px);
  z-index:45;min-width:144px;
  padding:8px;background:#101114;
  border:1px solid #3a363f;
  border-radius:10px;
  box-shadow:0 12px 25px #1710202a;
  display:grid;gap:2px;
}
#review-workspace .rws-option-menu button{
  border:0;border-radius:7px;padding:9px 10px;
  text-align:left;font-size:11px;font-weight:600;
  color:#c0b7c9;background:transparent;
}
#review-workspace .rws-option-menu button:hover,
#review-workspace .rws-option-menu button[aria-pressed="true"]{background:#332a44;color:#e9d9ff;}
/* Comment header status is the single source of truth. */
#review-workspace .rws-status-wrap{position:relative;flex:none;}
#review-workspace .rws-comment-status{
  width:29px;height:29px;
  display:grid;place-items:center;
  border-radius:50%;border:1px solid #c3c1cb;
  background:#fff;color:#9798a3;padding:0;
}
#review-workspace .rws-comment-status .rws-mini-svg{width:17px;height:17px;}
#review-workspace .rws-comment-status.is-task{
  background:#fff3db;border-color:#e8b868;color:#ac7728;
}
#review-workspace .rws-comment-status.is-complete{
  background:#e9f8f0;border-color:#72c8a0;color:#21845b;
}
#review-workspace .rws-comment-status:hover{filter:brightness(.96);}
#review-workspace .rws-status-menu{
  position:absolute;right:0;top:calc(100% + 6px);
  z-index:70;display:grid;gap:3px;
  min-width:148px;
  border:1px solid #34303c;
  border-radius:11px;
  padding:7px;
  background:#101114;
  box-shadow:0 11px 30px #15131a36;
}
#review-workspace .rws-status-menu>button{
  display:flex;gap:10px;align-items:center;
  padding:10px;border:0;border-radius:7px;
  color:#e5e1eb;background:transparent;
  text-align:left;font-size:11px;font-weight:660;
}
#review-workspace .rws-status-menu>button:hover,
#review-workspace .rws-status-menu>button[aria-pressed="true"]{background:#382d4a;color:#fff;}
#review-workspace .rws-status-menu>button:disabled{opacity:.4;cursor:not-allowed;}
#review-workspace .rw-icon-actions{
  justify-content:space-around;
  flex-wrap:nowrap;
  width:100%;gap:12px;
  padding:10px 2px 2px;margin-top:11px;
  border-top:1px solid #e3dfe7;
}
#review-workspace .rw-icon-actions>button{
  display:grid;place-items:center;
  width:28px;height:27px;
  background:transparent;border:0;
  border-radius:7px;
  color:#8c7aab;padding:0;
}
#review-workspace .rw-icon-actions>button:hover{
  background:#eee7fa;color:#6634c9;
  text-decoration:none;
}
#review-workspace .rw-icon-actions>button[title^="Delete"]:hover{background:#fff0f0;color:#b53a47;}
#review-workspace .rw-icon-actions .rws-mini-svg{width:16px;height:16px;}
#review-workspace .rw-task-pill{
  color:#a5762e;background:#fff3de;
}
#review-workspace .rw-panel-body .rw-chat-list{margin-top:0;}
@media(max-width:1100px){
 #review-workspace .rw-vertical-nav{padding:14px 5px 18px!important;gap:12px!important;}
 #review-workspace .rw-rail-tab{width:34px!important;height:34px!important;flex-basis:34px;}
 #review-workspace .rw-panel-body{padding:16px 13px!important;}
 #review-workspace .rws-feedback-toolbar{padding:4px 3px;}
 #review-workspace .rws-feedback-filters>button{font-size:9px;gap:3px;padding:6px 2px;}
 #review-workspace .rws-count-circle{min-width:16px;height:16px;}
}
@media(max-width:700px){
 #review-workspace .rw-vertical-nav{
  margin-top:12px!important;border-radius:12px 0 0 12px!important;
 }
 #review-workspace .rws-modal{padding:20px;}
}
@media(prefers-reduced-motion:reduce){
 #review-workspace .rws-item summary>.rws-icon{transition:none;}
}

/* Project icon actions are anchored below the scrollable details, never lost
   below a long member list. */
#review-workspace .rw-panel-actions{
  flex:none;
  display:block;
  background:#fff;
  border-top:1px solid #eae6e9;
  padding:0 16px;
}
#review-workspace .rw-panel-actions[hidden]{display:none!important;}
#review-workspace .rw-panel-actions .rws-project-footer{
  display:flex;
  position:static;
  margin:0;
  padding:7px 4px;
  border:0;
  justify-content:space-around;
}
@media(max-width:1100px){
 #review-workspace .rw-panel-actions{padding:0 10px;}
}
