/* Focused estimator, proposal record, production editor, and mobile queue polish. */

.premium-app .record-management-direct-actions{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}
.premium-app .record-management-direct{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 12px;
  border:1px solid #34495b;
  border-radius:9px;
  background:#111d28;
  color:#dce7ef;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.premium-app .record-management-direct svg{
  width:18px;
  height:18px;
  color:#ff941f;
}
.premium-app .record-management-direct:hover,
.premium-app .record-management-direct:focus-visible{
  border-color:#ff7a00;
  background:#20150c;
  color:#ffb35c;
  outline:0;
}
.premium-app .record-management-direct.danger{
  border-color:#71303a;
  color:#ffb4b9;
}
.premium-app .record-management-direct.danger svg{color:#ff5d68;}
.premium-app .record-management-direct.danger:hover,
.premium-app .record-management-direct.danger:focus-visible{
  border-color:#ff5d68;
  background:#261014;
}

.premium-app .job-edit-panel{
  width:min(100%,580px);
}
.premium-app .job-edit-panel .job-edit-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  align-items:start;
}
.premium-app .job-edit-panel .job-edit-form-grid>.wide,
.premium-app .job-edit-panel .job-duration-advisor{
  grid-column:1/-1!important;
}
.premium-app .job-duration-advisor{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:start!important;
}
.premium-app .job-duration-advisor .btn{
  width:100%!important;
  min-height:42px;
  margin-top:4px;
}

.premium-app [data-autosave-room-row="true"] .room-price-input:focus,
.premium-app [data-autosave-room-row="true"] .room-edit-input:focus{
  border-color:#ff7a00!important;
  outline:2px solid rgba(255,122,0,.2)!important;
  outline-offset:1px;
}

@media(max-width:760px){
  .premium-app .record-management-direct-actions{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .premium-app .record-management-direct{
    width:100%;
  }
  .premium-app .job-edit-panel{
    width:100%;
  }
  .premium-app .job-edit-panel .job-edit-form-grid{
    grid-template-columns:1fr!important;
  }
  .premium-app .job-edit-panel .job-edit-form-grid>.wide,
  .premium-app .job-edit-panel .job-duration-advisor{
    grid-column:1!important;
  }
}

@media(max-width:620px){
  .premium-app .request-queue-panel>.head{
    padding:13px 14px!important;
  }
  .premium-app .request-queue-title{
    gap:10px;
  }
  .premium-app .request-queue-title-icon{
    width:44px;
    height:44px;
    flex-basis:44px;
    border-width:1px;
  }
  .premium-app .request-queue-title-icon svg{
    width:21px!important;
    height:21px!important;
  }
  .premium-app .request-queue-title h2{
    font-size:21px!important;
  }
  .premium-app .request-queue-title>div>span{
    margin-top:2px;
    font-size:12px;
  }
  .premium-app .request-queue-panel .request-queue-body{
    gap:10px!important;
    padding:11px!important;
  }
  .premium-app .request-queue-panel .request-card{
    min-height:0!important;
    gap:9px!important;
    padding:11px!important;
    border-radius:10px!important;
  }
  .premium-app .request-card-person{
    grid-template-columns:44px minmax(0,1fr);
    gap:9px;
  }
  .premium-app .request-card-avatar{
    width:42px;
    height:42px;
    font-size:16px;
    border-width:1px;
  }
  .premium-app .request-queue-panel .request-card-head{
    gap:2px!important;
  }
  .premium-app .request-queue-panel .request-card-head strong{
    font-size:16px!important;
  }
  .premium-app .request-queue-panel .request-card-head .lead-age-badge{
    font-size:12px!important;
    line-height:1.25!important;
  }
  .premium-app .request-queue-panel .request-meta{
    margin-top:3px;
  }
  .premium-app .request-queue-panel .request-meta span{
    font-size:11.5px!important;
  }
  .premium-app .request-queue-panel .request-card .lead-icon-action{
    min-height:40px!important;
    padding:3px!important;
  }
  .premium-app .request-queue-panel .request-card .lead-icon-action svg{
    width:15px!important;
    height:15px!important;
    padding:4px!important;
  }
}
