main.container-main.leads-route-page { overflow: visible; }
main.container-main.leads-route-page > [data-leads-original] { display: none !important; }
.leads-route-workspace { width: 100%; color: var(--foreground); }
.leads-route-workspace .hidden { display: none !important; }
.leads-route-workspace .leads-heading { margin-bottom: 24px; }
.leads-route-workspace .leads-eyebrow { margin: 0 0 7px; color: #aaa4ff; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 600; }
.leads-route-workspace .leads-heading h1 { margin: 0; font-size: 30px !important; font-weight: 600; letter-spacing: -.03em; }
.leads-route-workspace .leads-heading > p:last-child { max-width: 680px; margin: 6px 0 0; color: var(--text-muted); font-size: 13px; }
.leads-route-workspace .attention-section { margin-bottom: 20px; }
.leads-route-workspace .attention-heading { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.leads-route-workspace .attention-heading h2 { margin: 0; font-size: 15px; }
.leads-route-workspace .attention-clear { border: 0; color: var(--primary); background: transparent; }
.leads-route-workspace .attention-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.leads-route-workspace .attention-card { min-height: 88px; padding: 17px 18px; border: 1px solid var(--glass-border); border-radius: 10px; color: var(--foreground); background: var(--surface); display: flex; align-items: center; gap: 14px; text-align: left; }
.leads-route-workspace .attention-icon { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 40px; }
.leads-route-workspace .attention-card strong,.leads-route-workspace .attention-card small { display: block; }
.leads-route-workspace .attention-card strong { font-size: 22px; }
.leads-route-workspace .attention-card small { margin-top: 3px; color: var(--text-muted); font-size: 12px; }
.leads-route-workspace .attention-card.overdue .attention-icon { color: #ff6874; background: rgba(239,68,68,.13); }
.leads-route-workspace .attention-card.today .attention-icon { color: #ffd17b; background: rgba(255,187,72,.12); }
.leads-route-workspace .attention-card.upcoming .attention-icon { color: #8177ff; background: rgba(76,154,255,.13); }
.leads-route-workspace .attention-card.active { border-color: #8177ff; box-shadow: 0 0 0 1px #8177ff; }
.leads-route-workspace .leads-workspace { min-height: 390px; padding: 22px 24px 28px; border: 1px solid var(--glass-border); border-radius: 10px; background: var(--surface); }
.leads-route-workspace .leads-toolbar { min-height: 38px; margin-bottom: 14px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.leads-route-workspace .leads-toolbar .button { min-height: 38px; text-decoration: none; }
.leads-route-workspace .leads-filters { margin-bottom: 18px; display: grid; grid-template-columns: minmax(260px,1fr) minmax(170px,220px) 150px; gap: 10px; }
.leads-route-workspace input,.leads-route-workspace select,.leads-route-workspace textarea { width: 100%; min-height: 42px; padding: 0 14px; border: 1px solid var(--glass-border); border-radius: 8px; color: var(--foreground); background: var(--surface-input); font: inherit; }
.leads-route-workspace textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.leads-route-workspace button { min-height: 42px; padding: 0 16px; border: 1px solid var(--glass-border); border-radius: 8px; color: var(--foreground); background: var(--button); font: inherit; cursor: pointer; }
.leads-route-workspace .leads-filters button,.leads-route-workspace form button[type="submit"] { border: 0; color: #fff; background: linear-gradient(100deg,#5357ef,#7964f4); }
.leads-route-workspace .table-wrap { overflow-x: auto; border-top: 1px solid var(--glass-border); }
.leads-route-workspace table { width: 100%; min-width: 760px; border-collapse: collapse; }
.leads-route-workspace th { padding: 14px 12px; color: var(--text-muted); text-align: left; text-transform: uppercase; letter-spacing: .07em; font-size: 10px; font-weight: 500; }
.leads-route-workspace td { padding: 17px 12px; border-top: 1px solid var(--glass-border); font-size: 13px; }
.leads-route-workspace .cell-muted,.leads-route-workspace .summary-text,.leads-route-workspace .empty-row { color: var(--text-muted); }
.leads-route-workspace .contact-links a { margin-bottom: 5px; display: block; color: #8177ff; text-decoration: none; }
.leads-route-workspace .lead-status-badge { padding: 8px 10px; border-radius: 10px; display: inline-flex; font-size: 12px; }
.leads-route-workspace .lead-status-badge.new { color: #ffd17b; background: rgba(255,187,72,.12); }
.leads-route-workspace .lead-status-badge.in_progress { color: #7ca7ff; background: rgba(74,119,234,.14); }
.leads-route-workspace .lead-status-badge.completed { color: #45c68a; background: rgba(69,198,138,.12); }
.leads-route-workspace .lead-contact-result,.leads-route-workspace .lead-follow-up { margin-top: 6px; color: var(--text-muted); display: block; font-size: 11px; }
.leads-route-workspace .lead-follow-up { color: #8177ff; }
.leads-route-workspace .lead-follow-up.overdue,.leads-route-workspace .form-message { color: #ff6874; }
.leads-route-workspace .lead-actions { text-align: right; }
.leads-route-workspace .leads-pagination { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.leads-route-workspace .leads-modal { padding: 20px; position: fixed; z-index: 100; inset: 0; background: rgba(2,5,10,.74); display: grid; place-items: center; }
.leads-route-workspace .modal-card { width: min(430px,100%); max-height: calc(100dvh - 40px); padding: 24px; overflow-y: auto; position: relative; border: 1px solid var(--glass-border); border-radius: 12px; background: var(--surface); box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.leads-route-workspace .modal-card .icon-button { width: 36px; min-height: 36px; padding: 0; position: absolute; top: 12px; right: 12px; border: 0; background: transparent; font-size: 24px; }
.leads-route-workspace .modal-card h2 { margin: 4px 0 8px; font-size: 22px !important; }
.leads-route-workspace .modal-description { color: var(--text-muted); }
.leads-route-workspace .modal-card form { display: grid; gap: 10px; }
.leads-route-workspace .modal-card label { margin-top: 4px; font-size: 12px; }
.leads-route-workspace .modal-card .danger { border-color: rgba(255,104,116,.5); color: #ff6874; background: transparent; }
@media(max-width:900px){.leads-route-workspace .leads-filters{grid-template-columns:1fr 190px 130px}}
@media(max-width:600px){.leads-route-workspace .leads-heading h1{font-size:27px!important}.leads-route-workspace .attention-grid,.leads-route-workspace .leads-filters{grid-template-columns:1fr}.leads-route-workspace .attention-card{min-height:76px;padding:14px}.leads-route-workspace .leads-workspace{padding:17px}.leads-route-workspace{padding-bottom:72px}}
