/* My Reviews board: scoped styles so Projects and the Review workspace stay untouched. */
#reviews .my-review-page { width:100%; min-width:0; }
#reviews .my-review-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  margin:0 0 46px;
}
#reviews .my-review-header .page-title-with-icon {
  display:inline-flex;
  align-items:center;
  gap:13px;
  white-space:nowrap;
  margin:0;
}
#reviews .my-review-header .page-title-icon {
  width:31px;
  height:31px;
  color:#292c3c;
}
#reviews .my-review-search {
  display:flex;
  align-items:center;
  gap:12px;
  width:min(340px,100%);
  height:47px;
  padding:0 17px;
  border:1px solid #dedcde;
  border-radius:12px;
  background:#fbfaf8;
  color:#7e838d;
  flex:none;
}
#reviews .my-review-search:focus-within { border-color:#7e69d4; outline:2px solid #7e69d424; }
#reviews .my-review-search .icon { width:19px; height:19px; }
#reviews .my-review-search input {
  width:100%;
  min-width:0;
  outline:none;
  border:none;
  background:transparent;
  font-size:13px;
  color:#252836;
}
#reviews .my-review-search input::placeholder { color:#8c8d99; }
#reviews .my-review-board {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  gap:25px;
}
#reviews .my-review-lane {
  --lane-accent:#be4754;
  --lane-tint:#fff0f1;
  min-width:0;
  padding:0 13px 16px;
  border:1px solid #e8e5e3;
  border-radius:18px;
  background:#f6f5f3;
}
#reviews .my-review-lane-waiting {
  --lane-accent:#c18719;
  --lane-tint:#fff7e5;
}
#reviews .my-review-lane-completed {
  --lane-accent:#248d52;
  --lane-tint:#edf8f0;
}
#reviews .my-review-lane-head {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:74px;
  margin:0 -13px 17px;
  padding:17px 20px;
  border-radius:17px 17px 0 0;
  background:var(--lane-tint);
}
#reviews .my-review-lane-head > .icon {
  color:var(--lane-accent);
  width:24px;
  height:24px;
  flex:none;
}
#reviews .my-review-lane-head h2 {
  color:#20232e;
  font-size:17px;
  font-weight:760;
  letter-spacing:-.35px;
  line-height:1.25;
  margin:0;
  flex:1;
}
#reviews .my-review-lane-count {
  min-width:27px;
  min-height:27px;
  display:grid;
  place-items:center;
  padding:2px 8px;
  border-radius:99px;
  font-size:12px;
  font-weight:750;
  background:#ffffffb0;
  color:var(--lane-accent);
}
#reviews .my-review-lane-cards { display:grid; gap:17px; }
#reviews .my-review-card {
  background:#fff;
  border:1px solid #e3e4e9;
  border-radius:14px;
  min-width:0;
  overflow:hidden;
  box-shadow:none;
}
#reviews .my-review-card:focus-within { outline:2px solid #7660ca; outline-offset:3px; }
#reviews .my-review-card:hover { border-color:#c6c4d2; }
#reviews .my-review-card-link {
  display:block;
  min-width:0;
  color:inherit;
  padding:20px 18px 19px;
  border-radius:inherit;
  text-decoration:none;
}
#reviews .my-review-card-link:focus-visible { outline:none; }
#reviews .my-review-card-primary {
  display:flex;
  align-items:flex-start;
  gap:15px;
  min-width:0;
}
#reviews .my-review-thumbnail {
  display:block;
  flex:0 0 75px;
  height:81px;
  overflow:hidden;
  border-radius:10px;
  background:#eae7f0;
}
#reviews .my-review-thumbnail img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
#reviews .my-review-card-copy { display:block; min-width:0; padding-top:2px; }
#reviews .my-review-card-title {
  display:flex;
  align-items:flex-start;
  gap:9px;
  color:#1e2330;
  line-height:1.4;
  font-size:14px;
  letter-spacing:-.2px;
}
#reviews .my-review-card-title strong {
  display:block;
  min-width:0;
  font-weight:730;
  overflow-wrap:anywhere;
}
#reviews .my-review-card-title .icon {
  width:17px;
  height:17px;
  margin-top:2px;
  color:#6341ac;
}
#reviews .my-review-card-item {
  display:block;
  font-size:12px;
  line-height:1.45;
  color:#8a8f99;
  padding-left:26px;
  margin-top:8px;
}
#reviews .my-review-stage {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:9px;
  margin:18px 0 17px;
  padding:12px 13px;
  border:1px solid #ecebf0;
  border-radius:9px;
  background:#f8f8fa;
  font-size:12px;
}
#reviews .my-review-stage > span { color:#7e838e; }
#reviews .my-review-stage strong {
  min-width:0;
  text-align:right;
  color:#353b49;
  font-size:12px;
  font-weight:670;
}
#reviews .my-review-card-bottom {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  flex-wrap:wrap;
}
#reviews .my-review-people {
  display:inline-flex;
  align-items:center;
  flex:none;
  padding-left:2px;
}
#reviews .my-review-avatar {
  width:30px;
  height:30px;
  flex:none;
  display:grid;
  place-items:center;
  position:relative;
  isolation:isolate;
  margin-left:-3px;
  border:2px solid #fff;
  border-radius:50%;
  overflow:hidden;
  color:#453163;
  background:#e1d7f0;
}
#reviews .my-review-avatar .my-review-initials {
  font-size:9px;
  font-weight:750;
  line-height:1;
}
#reviews .my-review-avatar img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
}
#reviews .my-review-avatar.is-owner {
  z-index:2;
  width:32px;
  height:32px;
  border:3px solid #3ba96c;
  box-shadow:0 0 0 2px #fff;
}
#reviews .my-review-avatar.tone-aging { border-color:#e2ad37; }
#reviews .my-review-avatar.tone-overdue { border-color:#db5b65; }
#reviews .my-review-avatar.tone-done { border-color:#3ba96c; }
#reviews .my-review-held {
  min-width:0;
  color:#4d5360;
  font-size:12px;
  font-weight:540;
  white-space:nowrap;
}
#reviews .my-review-card-stats {
  display:flex;
  gap:11px;
  align-items:center;
  margin-left:auto;
  color:#777e88;
  font-size:11px;
  white-space:nowrap;
}
#reviews .my-review-card-stats > span {
  display:inline-flex;
  align-items:center;
  gap:4px;
}
#reviews .my-review-card-stats .icon { width:14px; height:14px; }
#reviews .my-review-lane-empty {
  margin:0;
  border:1px dashed #d5d3d4;
  border-radius:11px;
  padding:32px 16px;
  text-align:center;
  color:#888b95;
  font-size:13px;
}
#reviews .my-review-feedback { margin:20px 0; color:#717580; font-size:12px; }
#reviews .my-review-feedback:empty { display:none; }

@media (max-width:1380px) and (min-width:901px) {
  #reviews .my-review-board { gap:14px; }
  #reviews .my-review-lane { padding-inline:10px; }
  #reviews .my-review-lane-head { margin-inline:-10px; padding-inline:14px; gap:8px; }
  #reviews .my-review-lane-head h2 { font-size:15px; }
  #reviews .my-review-card-link { padding:17px 13px; }
  #reviews .my-review-card-primary { gap:10px; }
  #reviews .my-review-thumbnail { flex-basis:62px; height:70px; }
}
@media (max-width:1050px) {
  #reviews .my-review-card-bottom { gap:7px; }
  #reviews .my-review-card-stats { width:100%; justify-content:flex-end; margin-top:1px; }
}
@media (max-width:900px) {
  #reviews .my-review-board { grid-template-columns:1fr; gap:23px; }
  #reviews .my-review-lane { padding:0 16px 17px; }
  #reviews .my-review-lane-head { margin-inline:-16px; }
  #reviews .my-review-card-link { padding:20px; }
  #reviews .my-review-card-stats { width:auto; margin-top:0; }
}
@media (max-width:700px) {
  #reviews .my-review-header {
    align-items:stretch;
    flex-direction:column;
    gap:20px;
    margin:12px 0 29px;
  }
  #reviews .my-review-header .page-title-with-icon { font-size:30px; }
  #reviews .my-review-search { width:100%; flex:auto; }
  #reviews .my-review-board { gap:19px; }
  #reviews .my-review-lane-head { min-height:64px; }
  #reviews .my-review-lane-cards { gap:13px; }
  #reviews .my-review-card-link { padding:16px 14px; }
  #reviews .my-review-thumbnail { flex-basis:66px; height:75px; }
  #reviews .my-review-card-title { font-size:14px; }
}
@media (max-width:375px) {
  #reviews .my-review-card-stats { width:100%; }
  #reviews .my-review-stage { align-items:flex-start; }
}
/* My Tasks: image-led compact cards. */
#reviews .my-review-board { max-width:1280px; }
#reviews .my-task-thumbnail { display:block; position:relative; width:100%; aspect-ratio:2.15/1; overflow:hidden; background:#e8e3f2; }
#reviews .my-task-thumbnail > img { display:block; width:100%; height:100%; object-fit:cover; }
#reviews .my-task-counts { position:absolute; top:9px; right:9px; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:4px; max-width:calc(100% - 18px); }
#reviews .my-task-counts span { padding:5px 7px; border-radius:6px; background:rgba(19,17,32,.78); color:#fff; font-size:10px; font-weight:650; white-space:nowrap; backdrop-filter:blur(6px); }
#reviews .my-task-body { padding:17px 15px 0; }
#reviews .my-task-title { display:flex; align-items:center; gap:8px; min-width:0; color:#1d2030; }
#reviews .my-task-title > .icon { flex:none; width:18px; height:18px; color:#5639a7; }
#reviews .my-task-title strong { flex:1; min-width:0; font-size:14px; font-weight:750; line-height:1.4; overflow-wrap:anywhere; }
#reviews .my-task-title button { border:0; background:none; padding:4px; color:#8d8997; cursor:pointer; }
#reviews .my-task-title button .icon { width:15px; height:15px; }
#reviews .my-task-progress { display:flex; gap:3px; margin:17px 0 20px; overflow:hidden; border-radius:7px; }
#reviews .my-task-step { display:flex; flex:1; min-width:0; align-items:center; justify-content:center; gap:3px; height:29px; padding:3px 1px; background:#ebebf1; color:#8b8c99; font-size:10px; font-weight:650; }
#reviews .my-task-step.is-done { background:#5833cb; color:#fff; }
#reviews .my-task-step.is-current { background:#c7b9ff; color:#30235c; }
#reviews .my-task-step .icon { width:12px; height:12px; flex:none; }
#reviews .my-task-ownership { display:flex; align-items:center; flex-wrap:wrap; gap:7px; padding-bottom:19px; min-height:55px; }
#reviews .my-task-holder-label { font-size:11px; color:#777986; white-space:nowrap; }
#reviews .my-task-timing { margin-left:auto; color:#33364a; font-size:11px; font-weight:700; text-align:right; }
#reviews .my-task-actions { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid #e8e6ed; margin:0 -15px; padding:12px 8px; }
#reviews .my-task-actions button { display:flex; align-items:center; justify-content:center; gap:8px; padding:9px 3px; border:0; background:transparent; color:#404054; font-size:12px; font-weight:650; cursor:pointer; }
#reviews .my-task-actions button + button { border-left:1px solid #e8e6ed; }
#reviews .my-task-actions .icon { width:16px; height:16px; }
#reviews .my-task-actions button:hover,#reviews .my-task-title button:hover { color:#5735bb; }
@media (max-width:1100px) and (min-width:901px) { #reviews .my-task-counts span { font-size:9px; padding:4px; } #reviews .my-task-step { font-size:9px; } }

#reviews .my-task-counts span { display:inline-flex; align-items:center; gap:5px; }
#reviews .my-task-counts .icon { width:13px; height:13px; flex:none; }

/* Contextual task actions: prioritize opening the work, keep deletion quiet. */
#reviews .my-task-counts button { display:inline-flex; align-items:center; gap:5px; padding:5px 7px; border:0; border-radius:6px; background:rgba(19,17,32,.78); color:#fff; font:650 10px inherit; cursor:pointer; backdrop-filter:blur(6px); }
#reviews .my-task-counts button .icon { width:13px; height:13px; }
#reviews .my-task-counts button:hover { background:#5833cb; }
#reviews .my-task-actions .my-task-primary-action { color:#5633bb; font-weight:750; }
#reviews .my-task-actions .my-task-delete-action { color:#93919e; font-weight:500; }
#reviews .my-task-actions .my-task-delete-action:hover { color:#b43f4d; }

/* Keep the three My Tasks lanes at a stable card width on wide screens. */
@media (min-width:901px) {
  #reviews .my-review-board {
    grid-template-columns:repeat(3, 320px);
    max-width:none;
    justify-content:start;
    gap:24px;
  }
}
@media (max-width:1100px) and (min-width:901px) {
  #reviews .my-review-board { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
}
@media (max-width:900px) {
  #reviews .my-review-board { grid-template-columns:minmax(0,1fr); max-width:none; }
  #reviews .my-review-lane { width:100%; }
}

/* Workflow status: completed green, active purple. Ownership on one row. */
#reviews .my-task-step.is-done { background:#d9f4e4; color:#187447; }
#reviews .my-task-step.is-current { background:#673bd3; color:#fff; }
#reviews .my-task-ownership { flex-wrap:nowrap; gap:8px; }
#reviews .my-task-ownership .my-review-people { flex:0 0 auto; }
#reviews .my-task-timing { white-space:nowrap; margin-left:auto; }
@media (max-width:380px) {
  #reviews .my-task-ownership { gap:5px; }
  #reviews .my-task-timing { font-size:10px; }
}
