.readiness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.readiness-card {
  min-height: 178px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--accent-copper);
  border-radius: var(--radius-control);
  background: #fff;
}

.readiness-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.readiness-card h3 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 16px;
}

.readiness-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: #7a4a10;
  background: #fff4df;
  font-size: 12px;
  font-weight: 800;
}

.readiness-partial { border-left-color: var(--accent-sky); }
.readiness-partial .readiness-status { color: #215d84; background: #e8f3fb; }
.readiness-blocked { border-left-color: var(--state-red); }
.readiness-blocked .readiness-status { color: #9c231a; background: #fdecea; }

.readiness-scope,
.readiness-card p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.readiness-scope {
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 700;
}

.readiness-card p { margin: 6px 0; }

.readiness-next {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.6;
}

.readiness-next strong {
  margin-right: 6px;
  color: var(--accent-jade);
}

@media (max-width: 980px) {
  .readiness-grid { grid-template-columns: 1fr; }
}

.property-fee-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.property-fee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.property-fee-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.property-fee-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  color: #475569;
  background: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
}

.property-fee-badge-paid,
.property-fee-badge-normal { color: #166534; background: #dcfce7; }
.property-fee-badge-arrears,
.property-fee-badge-partial,
.property-fee-badge-stale { color: #92400e; background: #fef3c7; }
.property-fee-badge-forbidden,
.property-fee-badge-unavailable { color: #991b1b; background: #fee2e2; }

.property-fee-state {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: var(--text);
}

.property-fee-state > strong { font-size: 14px; }
.property-fee-state > span { color: var(--muted); line-height: 1.55; }

.property-fee-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.property-fee-field {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.property-fee-field span,
.property-fee-field strong {
  display: block;
  overflow-wrap: anywhere;
}

.property-fee-field span { color: var(--muted); font-size: 12px; }
.property-fee-field strong { margin-top: 4px; font-size: 13px; }

.property-fee-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .property-fee-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .property-fee-head { align-items: flex-start; flex-direction: column; }
  .property-fee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hangup-transcription-panel { margin-top: 14px; }
.hangup-transcription-panel .panel-head { align-items: flex-start; }
.panel-note { margin: 6px 0 0; color: var(--muted); line-height: 1.55; font-size: 13px; }
.hangup-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.hangup-flow-step {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 2px 8px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.hangup-flow-step b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
}
.hangup-flow-step strong { align-self: end; }
.hangup-flow-step span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.hangup-empty-state,
.hangup-job-card {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}
.hangup-empty-state { display: grid; gap: 6px; }
.hangup-empty-state span,
.hangup-job-card p,
.hangup-job-card small { color: var(--muted); line-height: 1.55; }
.hangup-job-head,
.hangup-job-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.hangup-job-head span,
.hangup-job-meta { color: var(--muted); font-size: 12px; }
.hangup-job-card p { margin: 10px 0; }
.hangup-progress { height: 7px; margin-top: 12px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.hangup-progress span { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.hangup-boundary { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.55; }
@media (max-width: 980px) { .hangup-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hangup-flow { grid-template-columns: 1fr; } }

.dispatch-readiness {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}
.dispatch-readiness-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dispatch-readiness-head h3 { margin: 0; font-size: 15px; }
.dispatch-readiness-badge { padding: 3px 8px; border-radius: 999px; color: #475569; background: #e2e8f0; font-size: 12px; font-weight: 700; }
.dispatch-readiness p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.dispatch-candidate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.dispatch-candidate { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.dispatch-candidate span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.dispatch-candidate em { width: fit-content; padding: 2px 6px; border-radius: 999px; color: #166534; background: #dcfce7; font-size: 11px; font-style: normal; font-weight: 700; }
@media (max-width: 980px) { .dispatch-candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dispatch-candidate-grid { grid-template-columns: 1fr; } }

.notification-center-panel { min-width: 0; }
.notification-empty-state { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.notification-empty-state span { color: var(--muted); line-height: 1.55; }
.notification-boundary { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.operations-empty-state { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.operations-empty-state span { color: var(--muted); line-height: 1.55; }
.operations-readiness-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.operations-readiness-card { display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.operations-readiness-card > div { display: flex; justify-content: space-between; gap: 8px; }
.operations-readiness-card > div span { color: var(--muted); font-size: 12px; }
.operations-readiness-card > b { width: fit-content; padding: 3px 7px; border-radius: 999px; color: #92400e; background: #fef3c7; font-size: 12px; }
.operations-readiness-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
@media (max-width: 980px) { .operations-readiness-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .operations-readiness-grid { grid-template-columns: 1fr; } }

.customer-context-panel { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.customer-context-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.customer-context-head h3 { margin: 0; font-size: 15px; }
.customer-context-head span { padding: 3px 8px; border-radius: 999px; color: #475569; background: #e2e8f0; font-size: 12px; font-weight: 700; }
.customer-context-panel p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.customer-context-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.customer-context-grid > div { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.customer-context-grid span,
.customer-context-grid strong { display: block; overflow-wrap: anywhere; }
.customer-context-grid span { color: var(--muted); font-size: 12px; }
.customer-context-grid strong { margin-top: 4px; font-size: 13px; }
.customer-history { margin-top: 12px; color: var(--muted); font-size: 12px; }
.customer-history ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; }
.customer-context-warning { color: #92400e !important; }
@media (max-width: 980px) { .customer-context-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .customer-context-grid { grid-template-columns: 1fr; } }
