.today-tools { display:flex; align-items:center; gap:16px; }
.v6-toolbar { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.v6-toolbar .button { flex-shrink:0; }
.v6-section { margin-top:26px; }
.v6-section h2 { margin:0 0 9px; font-size:18px; font-weight:600; }
.v6-section h2 > span { margin-left:6px; color:var(--muted); font-size:13px; font-weight:500; }
.v6-list, .v6-column ul, .v6-transcript { list-style:none; padding:0; margin:0; }
.v6-list > li { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid var(--line); padding:13px 0; }
.v6-list strong { font-weight:600; }
.v6-list p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.v6-task-facts { display:flex; align-items:center; flex-wrap:wrap; gap:5px 10px; margin-top:4px; color:var(--muted); font-size:13px; }
.v6-list .actions { margin:0; }
.v6-list a:hover { text-decoration:underline; text-underline-offset:3px; }
.v6-list .button:hover { text-decoration:none; }
.v6-list .v6-empty { color:var(--muted); }
.v6-done { background:var(--mint); padding:24px; margin-top:22px; max-width:660px; border-radius:16px; }
.v6-done h2 { margin:0; }
.v6-done p { color:var(--muted); margin:7px 0 13px; }

.v6-board-search { max-width:780px; }
.v6-board { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(215px,1fr); gap:12px; overflow:auto; padding:3px 0 12px; }
.v6-column { min-height:280px; min-width:0; padding:12px; background:var(--surface-2); border-radius:12px; outline:1px solid transparent; outline-offset:-1px; }
.v6-column > header { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:10px; }
.v6-column > header h2 { margin:0; font-size:15px; font-weight:600; overflow-wrap:anywhere; }
.v6-column > header span, .v6-stage-empty { color:var(--muted); font-size:13px; }
.v6-deal { min-width:0; border:1px solid var(--line); background:var(--surface); border-radius:10px; padding:11px; margin-bottom:8px; overflow-wrap:anywhere; }
.v6-deal[draggable=true] { cursor:grab; }
.v6-deal[draggable=true] a { -webkit-user-drag:none; }
.v6-deal-name { font-weight:600; display:inline-block; }
.v6-deal-name:hover { text-decoration:underline; text-underline-offset:3px; }
.v6-deal p { color:var(--muted); font-size:12px; margin:2px 0 7px; }
.v6-deal-step { display:grid; gap:3px; font-size:13px; }
.v6-deal-step .deadline { justify-self:start; }
.v6-move-form { display:grid; gap:4px; margin-top:10px; }
.v6-move-form select { width:100%; min-width:0; min-height:34px; padding:5px 8px; border:1px solid var(--line-2); border-radius:8px; font:inherit; font-size:13px; color:var(--fg); background:var(--surface); }
.v6-move-form .quiet { justify-self:start; padding-left:0; }
.v6-dragging { opacity:.45; }
.v6-drop-target { background:var(--mint); outline-color:var(--accent-2); }

.v6-call-launch { margin:0 0 24px; padding:15px 18px; max-width:760px; background:var(--surface-2); border-radius:12px; }
.v6-call-launch h2 { font-size:16px; font-weight:600; margin:0 0 8px; }
.v6-call-launch .actions { margin:0; }
.v6-call-launch details { margin-top:13px; color:var(--muted); }
.v6-call-launch details li { margin:5px 0; }
.v6-call-layer { padding:24px 0; }
.v6-call-window { max-width:500px; padding:24px; border:1px solid var(--line); border-radius:16px; background:var(--surface-2); }
.v6-call-window .section-head { margin:12px 0 20px; }
.v6-call-window .actions { margin:18px 0 5px; }
.v6-call-mark { width:44px; height:44px; display:grid; place-items:center; background:var(--accent); color:#fff; border-radius:12px; }
.v6-caller { display:grid; gap:2px; }
.v6-caller strong { font-size:19px; font-weight:600; }
.v6-caller span { color:var(--muted); font-variant-numeric:tabular-nums; }

.v6-quality-filters { align-items:end; flex-wrap:wrap; }
.v6-quality-filters label { display:grid; gap:5px; min-width:140px; color:var(--muted); font-size:13px; }
.v6-score { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.v6-score strong, .v6-reviewed { color:var(--good); font-variant-numeric:tabular-nums; }
.v6-score strong { font-size:20px; font-weight:600; }
.v6-score > span { color:var(--muted); font-size:12px; }
.v6-quality-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
.v6-review-field { border-top:1px solid var(--line); padding:10px 0 0; }
.v6-review-field fieldset { padding:0; border:0; margin:0; min-width:0; }
.v6-review-field legend { margin-bottom:6px; font-weight:600; }
.v6-review-field fieldset > div { display:flex; flex-wrap:wrap; gap:8px 12px; }
.v6-review-field fieldset label { display:flex; align-items:center; gap:5px; min-height:38px; font-size:13px; }
.v6-review-field input[type=radio] { accent-color:var(--accent); }
.v6-review-field select, .v6-review-field textarea, .v6-quality-grid audio { width:100%; min-width:0; }
.v6-transcript li { display:grid; grid-template-columns:3em minmax(0,1fr); gap:9px; border-top:1px solid var(--line); padding:11px 0; }
.v6-transcript time { color:var(--muted); font-variant-numeric:tabular-nums; }
.v6-transcript span, .v6-evidence p { overflow-wrap:anywhere; }
.v6-score strong.is-ai { color:var(--fg); font-size:16px; }
.v6-ai-head { margin:0 0 20px; padding:12px 16px; background:var(--mint); border-radius:12px; font-size:14px; line-height:1.5; }
.v6-ai-head strong { margin-right:6px; }
.v6-ai-note { margin:2px 0 12px; font-size:13px; line-height:1.5; color:var(--muted); }
.v6-ai-note b { color:var(--fg); font-weight:500; }
.v6-evidence { padding:12px 14px; margin:12px 0; background:var(--mint); border-radius:10px; }
.v6-evidence > p { margin:0 0 6px; }
.v6-evidence footer { color:var(--muted); font-size:13px; }
@media (max-width:700px) {
  .today-tools { flex-wrap:wrap; justify-content:flex-end; gap:5px; }
  .v6-quality-grid { grid-template-columns:1fr; gap:0; }
  .v6-quality-grid > :last-child { order:-1; }
  .v6-quality-filters label { flex:1 1 110px; min-width:0; }
  .v6-quality-filters label:last-of-type { flex-basis:100%; }
  .v6-list > li { flex-wrap:wrap; }
  .v6-list .actions > .button { min-height:44px; }
  .v6-board { grid-auto-columns:minmax(215px,76vw); }
  .v6-move-form select { min-height:44px; }
}
/* Отказ и «на потом» (решение 041) */
[data-outcome-only][hidden],[data-outcome-steps][hidden] {display:none}
.form-layout .v10-reasons {border:0;padding:0;margin:0}
.v10-reasons > div {display:grid;gap:6px}
.form-layout .v10-reasons legend {font-size:12px;color:var(--muted);margin-bottom:8px}
.form-layout .v10-reasons label {display:flex;gap:8px;align-items:center;min-height:40px;margin:0;padding:8px 10px;border:1px solid var(--line-2);border-radius:9px;background:var(--surface);color:var(--fg);cursor:pointer}
.form-layout .v10-reasons label:has(:checked) {background:var(--mint);border-color:var(--muted)}
.v10-reopen {margin:12px 0 4px}
@media (max-width:700px) {.form-layout .v10-reasons label {min-height:44px}}
/* Итог одним нажатием в «Сейчас» (решение 043) */
.v11-quick {border-top:1px solid #ffffff26;margin-top:22px;padding-top:16px}
.v11-quick-head {display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:10px}
.v11-quick h3 {margin:0;font-size:12px;font-weight:500;color:var(--on-dark-muted)}
.v11-quick input {flex:1 1 220px;min-width:0;min-height:36px;border:1px solid #ffffff2e;border-radius:8px;padding:7px 10px;background:#ffffff0f;color:var(--on-dark);font:inherit;font-size:13px}
.v11-quick input::placeholder {color:var(--on-dark-muted)}
.v11-quick-row {display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start}
.v11-quick button,.v11-quick summary {min-height:36px;padding:7px 12px;border-radius:999px;background:#ffffff14;color:var(--on-dark);font-size:12.5px;font-weight:500;cursor:pointer}
.v11-quick summary {list-style:none;display:inline-flex;align-items:center;gap:6px;color:var(--on-dark-muted)}
.v11-quick summary::-webkit-details-marker {display:none}
.v11-quick summary::after {content:'▾';font-size:10px}
.v11-quick-more[open] {flex-basis:100%}
.v11-quick-more[open] summary {color:var(--on-dark)}
.v11-quick-more > div {display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}
.v11-quick-more a {font-size:12px;color:var(--on-dark-muted);text-decoration:underline;text-underline-offset:3px;padding:8px 4px}
.v11-quick button:hover,.v11-quick summary:hover {background:#ffffff26}
.v11-quick-hint {margin:10px 0 0;font-size:11.5px}
.notice a {color:inherit;text-decoration:underline;text-underline-offset:3px;margin-left:6px}
@media (max-width:700px) {.v11-quick button,.v11-quick summary,.v11-quick-more a {min-height:44px;display:inline-flex;align-items:center}.v11-quick input {min-height:44px}}
/* Причёсывание интерфейса (решение 045) */
.v12-quiet-count {color:var(--muted);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}
.v7-queue-section[data-urgency="stale"] h3 {color:var(--muted)}
.task-row[data-urgency="stale"] > .v7-due {color:var(--faint)}
.task-row[data-urgency="stale"] .task-title {color:var(--muted)}
.deadline[data-urgency="stale"] {color:var(--muted);background:var(--surface-2)}
.crm-task-focus .deadline[data-urgency="stale"] {color:var(--on-dark-muted);background:#ffffff14}
.v12-head {display:flex;align-items:flex-start;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
.v12-views {display:inline-flex;padding:3px;border-radius:10px;background:var(--surface-2);gap:2px}
.v12-views a {min-height:34px;display:inline-flex;align-items:center;padding:6px 14px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:500}
.v12-views a[aria-current] {background:var(--surface);color:var(--fg);box-shadow:0 1px 2px #12201c1f}
.v12-sort-reset {margin:-6px 0 10px;font-size:12px}
.nav-links > .nav-caption {margin:16px 10px 4px}
.nav-links > .nav-caption:first-child {margin-top:4px}
@media (max-width:1023px) {.nav-links > .nav-caption {display:none}}
@media (max-width:700px) {.v12-views a {min-height:44px}}
/* Просрочка: оранжевый текст на светлой подложке вместо сплошной заливки; давняя — серая */
.deadline[data-urgency="overdue"] {color:var(--signal-ink);background:var(--signal-soft)}
.crm-task-focus .deadline[data-urgency="overdue"] {color:#fff;background:#a73c12}
.v7-deal[data-urgency="stale"] {box-shadow:0 1px 2px #12201c14,0 0 0 1px var(--line)}
.v7-deal-step time[data-urgency="stale"] {color:var(--muted)}
.nav-links > .nav-caption:first-child {margin-top:14px}
/* Карточка обращения — место работы со сделкой (решение 046) */
.v13-deal-head {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 24px;margin:0 0 20px}
.v13-deal-who h1 {margin:0;font-size:30px;letter-spacing:-.035em;line-height:1.15}
.v13-deal-who p {margin:8px 0 0;color:var(--muted);font-size:13px}
.v13-deal-meta {display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-size:12.5px;text-align:right;max-width:420px}
.v13-stage-change summary {cursor:pointer;color:var(--muted);font-size:12.5px;list-style:none;min-height:32px;display:inline-flex;align-items:center}
.v13-stage-change summary::-webkit-details-marker {display:none}
.v13-stage-change[open] summary {color:var(--fg)}
.v13-stage-change .v7-stage-form {display:flex;gap:6px;margin-top:4px}
.v13-deal {display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}
.v13-main,.v13-side {min-width:0}
.v13-side > section {padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--line)}
.v13-side > section:last-child {border-bottom:0}
.v13-step {margin-bottom:18px}
.v13-full-result {border-top:1px solid #ffffff26;margin-top:16px;padding-top:6px}
.v13-full-result > summary {cursor:pointer;min-height:40px;display:flex;align-items:center;font-size:13px;color:var(--on-dark-muted);list-style:none}
.v13-full-result > summary::-webkit-details-marker {display:none}
.v13-full-result > summary::after {content:'▾';margin-left:6px;font-size:10px}
.v13-full-result[open] > summary {color:var(--on-dark)}
.v13-full-result-body {background:var(--surface);color:var(--fg);border-radius:16px;padding:18px;margin-top:6px}
.v13-full-result-body .muted,.v13-full-result-body label {color:var(--muted)}
.v13-task-list {list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13px}
.v13-task-list li {display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px}
.v13-task-list time {color:var(--muted);font-variant-numeric:tabular-nums}
.v13-task-list time.overdue {color:var(--signal-ink)}
.v13-task-list li.is-done {color:var(--faint)}
@media (max-width:1023px) {.v13-deal {grid-template-columns:minmax(0,1fr);gap:8px}.v13-side {order:2}}
@media (max-width:700px) {.v13-stage-change summary {min-height:44px}.v13-deal-meta {align-items:flex-start;text-align:left}.v13-deal-who h1 {font-size:26px}.v13-full-result-body {padding:14px;margin-inline:-6px}}
/* Доска «Сделки» (решение 047) */
.v14-deal .v14-facts {margin:4px 0 0;font-size:12px;color:var(--muted);line-height:1.45}
.v14-deal .v14-owner {margin:2px 0 0;font-size:12px;color:var(--faint)}
