/* NU:MO CRM telefono „+ Naujas“ forma ir 🎤 (quick-new.js; M3, docs/sujungimas/DARBO_PAKETAI.md §7).
   Perkelta iš patvirtinto pavyzdžio (docs/sujungimas/telefono-ekranu-pavyzdys.html): tos pačios spalvos (quick.css
   tokenai, šviesus ir tamsus režimas), laukai ≥ 48 px, mikrofonas 48 px. */

/* AI įklijavimo laukas (pavyzdžio .paste-box, .ghost-btn) */
.paste-box { --muted: var(--muted-soft); background: var(--accent-soft); border-radius: 14px; padding: 12px; margin-bottom: 20px; }
.paste-box textarea { min-height: 56px; }
.paste-box .muted { margin-top: 8px; font-size: 13px; display: block; }
.ghost-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 10px; border: 1.5px solid var(--accent); background: var(--field); color: var(--accent); border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; }
.ghost-btn:disabled { opacity: .6; }
.ghost-btn svg { width: 18px; height: 18px; }

/* Vardas + „Iš telefono kontaktų“ (tik Android) */
.with-action { display: flex; gap: 8px; }
.with-action input { flex: 1; min-width: 0; }
.mini-btn { min-width: var(--tap); height: var(--tap); border: 1.5px solid var(--line); background: var(--field); color: var(--ink); border-radius: 12px; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mini-btn svg { width: 22px; height: 22px; }

/* Projekto paieška: projektai be CRM – pilki, nepasirenkami */
.combo { position: relative; }
.combo-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: var(--field); border: 1.5px solid var(--line); border-radius: 12px; max-height: 280px; overflow-y: auto; box-shadow: var(--shadow); }
.combo-item { padding: 13px 14px; font-size: 16px; cursor: pointer; border-bottom: 1px solid var(--line); min-height: 48px; }
.combo-item:last-child { border-bottom: none; }
.combo-item:hover, .combo-item.active { background: var(--accent-soft); }
.combo-off { color: var(--muted); cursor: default; font-size: 14px; }
.combo-off:hover { background: transparent; }
.combo-off b { color: var(--ink); font-size: 16px; font-weight: 500; }
.chosen { margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 4px 4px 4px 14px; border-radius: 999px; font-size: 15px; }
.chosen button { border: none; background: none; color: var(--accent); font-size: 22px; cursor: pointer; line-height: 1; width: 48px; height: 48px; margin: -6px -2px -6px 0; border-radius: 50%; }

/* Dublikato patikra po telefono / el. pašto lauku */
.dup { border-radius: 12px; padding: 12px 14px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.dup-info { background: var(--accent-soft); color: var(--accent); }
.dup-ok { background: var(--ok-soft); color: var(--ok); }
.dup-err { background: var(--danger-soft); color: var(--danger); }
.dup .banner-veiksmas { margin-top: 8px; }
.dup small { display: block; font-weight: 500; font-size: 14px; margin-top: 2px; }

/* Juodraščio pastaba po „Išsaugoti“ */
.draft-note { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.draft-note button { border: 0; background: none; color: var(--accent); font-weight: 700; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 12px 8px; min-height: 48px; }

/* „Įrašyta!“ */
.success { text-align: center; }
.success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.success h2 { margin: 4px 0; }
.success-plan { font-weight: 700; color: var(--accent); margin: 6px 0 0; }

/* 🎤 prie teksto laukų (formoje ir kortelėje) */
.mic-wrap { position: relative; }
.mic-wrap textarea { width: 100%; padding-right: 62px; }
.mic-btn { position: absolute; right: 6px; top: 6px; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--field); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); padding: 0; }
.mic-btn svg { width: 20px; height: 20px; }
.mic-btn.rec { background: var(--danger); border-color: var(--danger); color: var(--badge-ink); animation: micPulse 1.2s infinite; }
.mic-btn.busy { opacity: .55; }
.mic-btn[hidden] { display: none; }
.mic-cap { font-size: 14px; font-weight: 700; color: var(--danger); margin-top: 6px; }
.mic-cap.busy { color: var(--muted); }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(179,64,42,.45); } 50% { box-shadow: 0 0 0 9px rgba(179,64,42,0); } }
@media (prefers-reduced-motion: reduce) { .mic-btn.rec { animation: none; } }

/* Same journey form on phone and desktop. */
.journey-heading {font-size:16px; margin:18px 0 8px; color:var(--ink); border-top:1px solid var(--line); padding-top:12px;}
