
/* INF Rescue v5.9.162.18 — simplified Find + Fulfillment UX */

/* Retired workflows stay inaccessible even if core role rendering redraws them. */
[data-v18-hidden]{display:none!important}

/* Find & Save */
#findAssist.v18-find-save .fast-find-card{overflow:hidden}
#findAssist.v18-find-save .v18-found-actions{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(180px,1fr)!important;
  gap:10px!important;
}
#findAssist.v18-find-save .v18-primary-found{
  min-height:58px!important;
  font-size:1.05rem!important;
  font-weight:900!important;
}
#findAssist.v18-find-save #aiAssistBtn{
  min-height:50px!important;
  font-weight:850!important;
}
#findAssist .v18-photo-priority{
  border:1px solid color-mix(in srgb,#177a3d 35%,var(--schedule-border,#d7dee8));
  border-radius:14px;
  padding:14px;
  background:color-mix(in srgb,#177a3d 5%,var(--schedule-surface,#fff));
}
.v18-photo-tag{
  display:inline-flex;
  align-items:center;
  margin-left:6px;
  padding:2px 7px;
  border-radius:999px;
  background:#e9f8ee;
  color:#11692f;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.02em;
  vertical-align:middle;
}
body.dark-mode .v18-photo-tag{background:#173b25;color:#8ee5ad}

/* Recent Finds */
#rescueLogs.v18-recent-finds .recent-finds-purpose{font-size:.92rem}

/* Dashboard: the obsolete Assist/Not Found card is hidden by JS; remaining cards breathe more. */
#dashboard.v18-dashboard-clean .dashboard-command-grid{
  align-items:start;
}
#dashboard.v18-dashboard-clean .dashboard-command-grid>.card{
  min-height:0;
}

/* Fulfillment Command Center visual cleanup.
   This intentionally does not alter forecasting math. */
.v18-fulfillment-clean{
  --v18-cc-border:var(--schedule-border,#d7dee8);
  --v18-cc-panel:var(--schedule-panel,#f7f9fc);
}
.v18-fulfillment-clean .section-head{
  margin-bottom:12px!important;
}
.v18-fulfillment-clean .card{
  border-radius:14px!important;
  box-shadow:0 2px 10px rgba(15,23,42,.05);
}
.v18-fulfillment-clean .form-grid,
.v18-fulfillment-clean .action-row{
  gap:10px!important;
}
.v18-fulfillment-clean label{
  font-weight:800;
}
.v18-fulfillment-clean input,
.v18-fulfillment-clean select,
.v18-fulfillment-clean textarea{
  min-height:44px;
}
.v18-cc-guide{
  margin:0 0 16px;
  padding:14px;
  border:1px solid var(--v18-cc-border);
  border-radius:14px;
  background:var(--v18-cc-panel);
}
.v18-cc-guide-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.v18-cc-guide-head>div{display:grid;gap:2px}
.v18-cc-guide-head>div>strong{font-size:1.02rem}
.v18-cc-guide-head>div>span{color:var(--muted,#64748b);font-size:.88rem}
.v18-cc-estimate{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(217,119,6,.10);
  color:#a35b05;
  font-size:.76rem;
  font-weight:900;
}
.v18-cc-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.v18-cc-steps>div{
  display:flex;
  gap:9px;
  min-width:0;
  padding:10px;
  border:1px solid var(--v18-cc-border);
  border-radius:12px;
  background:var(--schedule-surface,#fff);
}
.v18-cc-steps b{
  display:grid;
  place-items:center;
  flex:0 0 26px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#cc0000;
  color:#fff;
  font-size:.8rem;
}
.v18-cc-steps span{display:grid;gap:2px;min-width:0}
.v18-cc-steps strong{font-size:.86rem}
.v18-cc-steps small{color:var(--muted,#64748b);line-height:1.25}

body.dark-mode .v18-fulfillment-clean .card{
  box-shadow:none;
}
body.dark-mode .v18-cc-estimate{
  color:#ffd38e;
  background:rgba(245,158,11,.14);
}

@media(max-width:900px){
  .v18-cc-steps{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  #findAssist.v18-find-save .v18-found-actions{grid-template-columns:1fr!important}
  .v18-cc-guide{padding:12px}
  .v18-cc-guide-head{align-items:flex-start;flex-direction:column}
  .v18-cc-steps{grid-template-columns:1fr}
  .v18-fulfillment-clean .card{padding:14px!important}
}

.v18-photo-required-message{color:#b42318!important;font-weight:850!important}
