/* R81 – Staff remote-work review: presentation only, all decision semantics unchanged. */
dialog#modal:has(#remote-review-form){
  box-sizing:border-box;
  width:min(1100px,calc(100vw - 34px))!important;
  max-width:calc(100vw - 34px)!important;
  padding:54px 24px 24px!important;
  border-radius:20px!important;
}
dialog#modal:has(#remote-review-form) #modal-body{
  min-width:0;
}
dialog#modal:has(#remote-review-form) .modal-title{
  margin:0 0 8px!important;
  padding-left:56px;
  color:#163753;
  font-size:20px;
  font-weight:850;
}
dialog#modal:has(#remote-review-form) .modal-title + p.muted{
  color:#587188;
  line-height:1.9;
  font-size:13px;
  margin:0 0 18px;
}
#remote-review-form{
  min-width:0;
  color:#233e55;
}
#remote-review-form .table-scroll{
  max-height:min(59vh,650px)!important;
  overflow:auto;
  background:#fff;
  border:1px solid #dbe5ee;
  border-radius:15px;
  box-shadow:0 5px 23px rgba(17,53,83,.05);
  scrollbar-gutter:stable;
}
#remote-review-form .remote-work-table{
  width:100%!important;
  min-width:910px;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
  font-size:13px;
}
#remote-review-form .remote-work-table th{
  position:sticky;
  top:0;
  z-index:2;
  background:#eaf2f9;
  color:#31536d;
  font-size:12px;
  font-weight:800;
  padding:13px 12px;
  border-bottom:1px solid #cfdde9;
  text-align:right;
}
#remote-review-form .remote-work-table th:nth-child(1){width:19%}
#remote-review-form .remote-work-table th:nth-child(2){width:11%}
#remote-review-form .remote-work-table th:nth-child(3){width:16%}
#remote-review-form .remote-work-table th:nth-child(4){width:19%}
#remote-review-form .remote-work-table th:nth-child(5){width:13%}
#remote-review-form .remote-work-table th:nth-child(6){width:22%}
#remote-review-form .remote-work-table td{
  padding:13px 11px;
  vertical-align:middle;
  line-height:1.7;
  border-bottom:1px solid #e5edf4;
  background:#fff;
  min-width:0;
  overflow-wrap:anywhere;
}
#remote-review-form .remote-work-table tr:nth-child(even) td{
  background:#f8fbfe;
}
#remote-review-form .remote-work-table tr[data-eligible="0"] td{
  background:#f5f7fa;
}
#remote-review-form .remote-work-table tr:last-child td{
  border-bottom:0;
}
#remote-review-form .remote-person strong{
  display:block;
  font-size:13px;
  font-weight:850;
  color:#173e59;
  line-height:1.6;
}
#remote-review-form .remote-person small{
  display:block;
  font-size:11px;
  color:#647b91;
  margin-top:3px;
}
#remote-review-form .remote-duty{
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
  font-weight:750;
}
#remote-review-form .remote-status{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border-radius:999px;
  border:1px solid #e3cc8c;
  background:#fff5d7;
  color:#856018;
  font-size:11px;
  font-weight:800;
  line-height:1.6;
  min-height:30px;
  padding:5px 9px;
  text-align:center;
}
#remote-review-form .remote-status-success{background:#e3f5e9;border-color:#aadbb9;color:#21643b}
#remote-review-form .remote-status-danger{background:#fbe6e9;border-color:#ecc1ca;color:#953546}
#remote-review-form .remote-status-info{background:#e3f2ff;border-color:#b9daf1;color:#245f8c}
#remote-review-form .remote-status-muted{background:#edf1f5;border-color:#d7e0e8;color:#637587}
#remote-review-form .remote-work-table td :is(select,input){
  display:block;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:43px;
  min-height:43px;
  padding:8px 11px;
  box-sizing:border-box;
  border:1px solid #cddbe8;
  border-radius:10px;
  background:#fff;
  color:#213f58;
  font-size:12px;
  font-family:inherit;
  transition:border-color .14s,box-shadow .14s;
}
#remote-review-form .remote-work-table td select{
  cursor:pointer;
  padding-inline-end:25px;
  text-overflow:ellipsis;
}
#remote-review-form .remote-work-table td :is(select,input):focus-visible{
  outline:2px solid #3b9bcb;
  outline-offset:1px;
  border-color:#3b9bcb;
}
#remote-review-form .remote-work-table td :is(select,input):disabled{
  cursor:not-allowed;
  background:#edf1f5!important;
  color:#8899aa!important;
  border-color:#e0e5ec;
  opacity:.8;
}
#remote-review-form .remote-work-table input.remote-minutes{
  direction:ltr;
  text-align:center;
  font-variant-numeric:tabular-nums;
}
#remote-review-form .remote-work-table input.remote-note{
  text-align:right;
}
#remote-review-form > p.muted{
  color:#60778b;
  font-size:12px;
  line-height:1.85;
  margin:12px 3px;
}
#remote-review-form .remote-review-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:16px 0 1px;
  margin-top:9px;
  border-top:1px solid #dfebf3;
}
#remote-review-form .remote-review-actions button{
  min-height:45px;
  width:auto;
  max-width:100%;
  padding:10px 16px;
  border-radius:11px;
  font-family:inherit;
  font-size:12px;
  font-weight:800;
}
#remote-review-form .remote-review-actions button[type="submit"]{
  background:#14365a;
  color:#fff;
  border-color:#14365a;
}
@media(max-width:850px){
 dialog#modal:has(#remote-review-form){
  width:calc(100vw - 14px)!important;
  max-width:calc(100vw - 14px)!important;
  padding:54px 15px 20px!important;
 }
 #remote-review-form .table-scroll{
  overflow:visible;
  max-height:none!important;
  box-shadow:none;
  background:transparent;
  border:0;
  scrollbar-gutter:auto;
 }
 #remote-review-form .remote-work-table{
  display:block;
  min-width:0!important;
  width:100%!important;
  border:0;
 }
 #remote-review-form .remote-work-table thead{display:none}
 #remote-review-form .remote-work-table tbody{
  display:grid;
  gap:12px;
 }
 #remote-review-form .remote-work-table tr{
  display:grid;
  gap:0;
  overflow:hidden;
  border:1px solid #d7e5ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 3px 10px rgba(19,61,97,.06);
 }
 #remote-review-form .remote-work-table tr:nth-child(even){
  background:#f9fcfe;
 }
 #remote-review-form .remote-work-table td,
 #remote-review-form .remote-work-table tr:nth-child(even) td,
 #remote-review-form .remote-work-table tr[data-eligible="0"] td{
  display:grid;
  grid-template-columns:115px minmax(0,1fr);
  gap:10px;
  align-items:center;
  min-width:0!important;
  width:100%!important;
  box-sizing:border-box;
  padding:9px 12px;
  border-bottom:1px solid #eef3f7;
  background:transparent;
 }
 #remote-review-form .remote-work-table td:last-child{border-bottom:0}
 #remote-review-form .remote-work-table td::before{
  content:attr(data-label);
  color:#61788e;
  font-size:11px;
  font-weight:750;
  line-height:1.65;
 }
 #remote-review-form .remote-person strong{font-size:13px}
 #remote-review-form .remote-work-table td :is(select,input){height:43px}
 #remote-review-form .remote-review-actions{gap:8px}
}
@media(max-width:430px){
 dialog#modal:has(#remote-review-form){padding-inline:12px!important}
 #remote-review-form .remote-work-table td{
  grid-template-columns:100px minmax(0,1fr);
  gap:6px;
  padding:9px 10px;
 }
 #remote-review-form .remote-review-actions button{
  flex:1 1 100%;
  min-height:45px;
 }
}
