/* Shared navigation targets and the second-stage workflow additions. */
.quiet-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid #c7d3df;border-radius:7px;background:#fff;color:#286f9f;font-weight:600;line-height:1.5;text-align:left}
.quiet-link:hover{background:#edf4fb;border-color:#87acca}
.task-person{display:inline-block;min-height:32px;margin-top:5px;padding:5px 9px;border:1px solid #dae3ec;border-radius:6px;background:#f8fafc}
.client-name{display:inline-block;min-height:34px;padding:6px 9px;border:1px solid #d8e3ed;border-radius:6px;background:#f8fbfe}
.btn.small{min-height:36px}.switch button,.contact-period button{min-height:32px}.contact-period button{padding:6px 9px}.check-btn{width:24px;height:24px}
.stage-row{font-size:14px;padding:11px 0;color:#3d4857}.stage-row>span{display:inline-flex;align-items:center;gap:11px}.stage-row strong{font-size:16px}
.stage-row .dot{width:12px;height:12px;border-radius:50%;margin:0;flex-shrink:0}
.stage-row .status-green{background:#24a261;box-shadow:0 0 0 3px #24a26118}.stage-row .status-red{background:#d62e3e;box-shadow:0 0 0 3px #d62e3e18}
.column-title{margin-bottom:9px}.column-total{display:flex;flex-direction:column;gap:3px;border:1px solid #ced9e5;background:#f8fbff;border-radius:7px;padding:8px 10px;margin-bottom:14px;min-width:0}
.column-total span{font-size:10px;color:#758599}.column-total strong{font-size:14px;font-weight:600;color:#344b61;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.processing-deadline{font-size:11px;line-height:1.5;color:#657589;background:#eef3f8;padding:6px 8px;border-radius:5px;margin:8px 0}
.card.client-task-overdue,.card.new-lead-overdue{border-color:#d52d3d;box-shadow:inset 0 0 0 2px #d52d3d}
.card.new-lead-overdue{animation:lead-overdue-pulse 1.8s ease-in-out infinite;background:#fff8f9}
.new-lead-overdue .processing-deadline{color:#a31e2b;background:#ffe7eb;font-weight:600}
.client-table-row.client-task-overdue,.client-table-row.new-lead-overdue{box-shadow:inset 0 0 0 3px #d52d3d;background:#fff8f9}
.client-table-row.new-lead-overdue{animation:lead-overdue-pulse 1.8s ease-in-out infinite}
.task-box.task-overdue,.task-row.task-overdue{border:2px solid #d52d3d;border-radius:9px;box-shadow:inset 0 0 0 1px #d52d3d;background:#fffafb}
.task-box.task-overdue{border-left-width:4px}.task-row.task-overdue{padding:12px;margin:6px 0}
.history-event.history-overdue{border:2px solid #d52d3d;border-radius:8px;padding:14px 16px;margin:12px 0;background:#fff8f9;color:#3d2e32}
.history-overdue small{color:#94636b}.overdue-label{display:inline-block;color:#b12434;font-weight:600;font-size:11px;margin-top:5px}
@keyframes lead-overdue-pulse{0%,100%{box-shadow:inset 0 0 0 2px #d52d3d,0 0 0 0 #d52d3d00}50%{box-shadow:inset 0 0 0 2px #d52d3d,0 0 0 3px #d52d3d2b}}
@media(prefers-reduced-motion:reduce){.card.new-lead-overdue,.client-table-row.new-lead-overdue{animation:none}}
.properties-filters{padding:19px;border:1px solid #d8e1eb;border-radius:10px;background:#fff;margin-bottom:20px}
.properties-table td{vertical-align:middle}.properties-table th{font-size:11px}.properties-table a{overflow-wrap:anywhere}.properties-table td:first-child{min-width:145px}
@media(max-width:720px){.stage-row{font-size:13px}.quiet-link{white-space:normal}.panel-head{flex-wrap:wrap}.properties-filters{padding:14px}}

.properties-filters{border:0;background:transparent;padding:16px 0 0;margin-bottom:0}.properties-filters .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.properties-filters .field:nth-child(-n+2){grid-column:span 2}.properties-table .quiet-link{margin-top:7px}
@media(max-width:950px){.properties-filters .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.properties-filters .field:nth-child(-n+2){grid-column:auto}}
@media(max-width:600px){.properties-filters .form-grid{grid-template-columns:1fr}}
