.ph-dock{position:fixed;right:16px;bottom:16px;z-index:180;gap:8px;width:300px;pointer-events:none}.ph-card,.ph-dock{display:flex;flex-direction:column}.ph-card{pointer-events:auto;background:var(--bg-elevated);border-radius:14px;box-shadow:0 0 0 1px var(--border-default),0 12px 32px rgba(0,0,0,.28);padding:10px 10px 10px 12px;gap:10px;color:var(--text);font-size:var(--ds-text-sm)}.ph-card.is-ended{opacity:.85}.ph-who{align-items:center;gap:10px}.ph-who,.ph-who .t{display:flex;min-width:0}.ph-who .t{flex-direction:column;gap:1px}.ph-who b{font-weight:600;font-size:var(--ds-text-sm);line-height:var(--ds-lh-sm)}.ph-who b,.ph-who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ph-who span{font-size:var(--ds-text-xs);color:var(--text-dim);font-variant-numeric:tabular-nums}.ph-who span.live{color:var(--status-completed)}.ph-note{margin:0;font-size:var(--ds-text-xs);color:var(--text-secondary);line-height:1.4}.ph-acts{display:flex;align-items:center;gap:8px;justify-content:flex-end}.ph-ring .ph-acts{justify-content:space-between;padding:0 18px}.ph-round{width:var(--ds-h-lg);height:var(--ds-h-lg);border-radius:50%;border:0;display:inline-grid;place-items:center;background:var(--bg-active);color:var(--text-secondary);cursor:pointer;transition:background-color .15s,color .15s}.ph-round:hover:not(:disabled){background:var(--bg-hover);color:var(--text);box-shadow:inset 0 0 0 1px var(--border-strong)}.ph-round:disabled{opacity:.4;cursor:default}.ph-round.on{background:var(--text);color:var(--on-text)}.ph-decline{background:var(--status-overdue);color:#fff}.ph-decline:hover:not(:disabled){background:color-mix(in srgb,var(--status-overdue) 86%,#000);color:#fff;box-shadow:none}.ph-accept{background:var(--status-completed);color:#fff}.ph-accept:hover:not(:disabled){background:color-mix(in srgb,var(--status-completed) 86%,#000);color:#fff;box-shadow:none}.ph-ring{animation:ph-in .22s var(--ease-out-quart,ease-out)}@keyframes ph-in{0%{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}@media (prefers-reduced-motion:reduce){.ph-ring{animation:none}}.ph-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ph-keypad .ph-digits{grid-column:1/-1;height:22px;text-align:center;font-size:var(--ds-text-base);letter-spacing:.12em;color:var(--text);font-variant-numeric:tabular-nums}.ph-keypad button{height:34px;border:0;border-radius:9px;background:var(--bg-active);color:var(--text);font:500 var(--ds-text-base)/1 var(--font-ui);cursor:pointer}.ph-keypad button:hover{background:var(--bg-hover);box-shadow:inset 0 0 0 1px var(--border-strong)}.ph-opt{display:contents}.ph-mobile-only,.ph-opt .lbl{display:none}@media (max-width:767px){.ph-dock{inset:0;width:auto;z-index:900}.ph-card{position:absolute;inset:0;border-radius:0;box-shadow:none;background:var(--bg);padding:calc(var(--mobile-content-top-gap, 0px) + 72px) 32px calc(var(--mobile-content-bottom-gap, 0px) + 48px);gap:28px;justify-content:space-between}.ph-who{flex-direction:column;text-align:center;gap:14px}.ph-who .ui-avatar,.ph-who>:first-child{transform:scale(2.4);margin:22px 0}.ph-who .t{align-items:center;gap:6px}.ph-who b{font-size:30px;line-height:36px;white-space:normal}.ph-who span{font-size:17px}.ph-note{text-align:center}.ph-acts{display:grid;grid-template-columns:repeat(3,76px);justify-content:center;gap:28px 32px}.ph-opt{display:flex;flex-direction:column;align-items:center;gap:8px}.ph-opt .lbl{display:block;font:500 13px/1 var(--font-ui);color:var(--text-secondary)}.ph-mobile-only{display:flex}.ph-round{width:76px;height:76px;background:var(--bg-surface);color:var(--text)}.ph-round svg{width:28px;height:28px}.ph-round.on{background:var(--text);color:var(--on-text)}.ph-end,.ph-ring .ph-opt{grid-column:2}.ph-ring .ph-acts{grid-template-columns:repeat(2,76px);gap:0 120px}.ph-ring .ph-opt{grid-column:auto}.ph-round.ph-decline{background:var(--status-overdue);color:#fff}.ph-round.ph-accept{background:var(--status-completed);color:#fff}.ph-keypad{grid-template-columns:repeat(3,76px);justify-content:center;gap:16px 32px}.ph-keypad .ph-digits{font-size:28px;height:36px}.ph-keypad button{width:76px;height:76px;border-radius:50%;background:var(--bg-surface);font-size:30px}}.ph-ctexts{display:flex;flex-direction:column;gap:8px}.ph-people{display:flex;gap:4px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}.ph-people::-webkit-scrollbar{display:none}.ph-person{display:inline-flex;align-items:center;gap:6px;height:var(--ds-h-md);padding:0 10px 0 4px;flex:none;border:0;border-radius:999px;background:transparent;color:var(--text-secondary);font:500 var(--ds-text-sm)/1 var(--font-ui);cursor:pointer;box-shadow:inset 0 0 0 1px var(--rp-line-btn)}.ph-person:hover{color:var(--text);background:var(--bg-hover)}.ph-person.on{color:var(--text);background:var(--bg-active);box-shadow:none}.ph-person.unread .nm:after{content:"";display:inline-block;width:6px;height:6px;margin-left:6px;border-radius:50%;background:var(--rp-hi,var(--status-active));vertical-align:1px}.ph-thread{display:flex;flex-direction:column;min-height:0}.ph-thead{display:flex;align-items:center;gap:10px;min-height:var(--ds-h-md);padding:4px 0;font-size:var(--ds-text-xs)}.ph-thead .num{font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}.ph-thead .r{margin-left:auto;display:flex;gap:4px}.ph-addnum{display:flex;align-items:center;gap:6px;flex-wrap:wrap;width:100%}.ph-addnum .rp-sin{width:160px}.ph-msgs{display:flex;flex-direction:column;gap:2px;padding:8px 0 12px;min-height:120px;max-height:min(56vh,560px);overflow-y:auto;overscroll-behavior:contain}.ph-day{display:flex;justify-content:center;margin:10px 0 6px}.ph-day span{font-size:var(--ds-text-xs);color:var(--text-muted)}.ph-msg{max-width:min(78%,460px);display:flex;flex-direction:column;gap:3px;margin:2px 0}.ph-msg p{margin:0;padding:7px 11px;border-radius:14px;font-size:var(--ds-text-sm);line-height:1.42;white-space:pre-wrap;word-break:break-word}.ph-msg.in{align-self:flex-start;align-items:flex-start}.ph-msg.in p{background:var(--bg-surface);color:var(--text);box-shadow:inset 0 0 0 1px var(--rp-line-div,var(--border-soft));border-bottom-left-radius:5px}.ph-msg.out{align-self:flex-end;align-items:flex-end;margin-left:auto}.ph-msg.out p{background:#0a84ff;color:#fff;border-bottom-right-radius:5px}[data-theme=light] .ph-msg.out p{background:#007aff}.ph-msg.failed p{background:transparent;color:var(--text);box-shadow:inset 0 0 0 1px var(--status-overdue)}.ph-msg .meta{font-size:var(--ds-text-2xs);color:var(--text-muted);padding:0 4px;font-variant-numeric:tabular-nums}.ph-msg .meta.err{color:var(--status-overdue)}.ph-media{display:flex;flex-wrap:wrap;gap:4px}.ph-media img{display:block;max-width:220px;max-height:220px;border-radius:12px;object-fit:cover;box-shadow:inset 0 0 0 1px var(--border-soft)}.ph-file{display:inline-flex;align-items:center;height:var(--ds-h-md);padding:0 10px;border-radius:10px;color:var(--text-secondary);font-size:var(--ds-text-sm);text-decoration:none}.ph-compose,.ph-file{background:var(--bg-surface);box-shadow:inset 0 0 0 1px var(--rp-line-btn)}.ph-compose{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:12px;position:sticky;bottom:0}.ph-compose.is-off{opacity:.6}.ph-compose textarea.rp-sin{width:100%;min-height:44px;max-height:180px;resize:vertical;background:transparent;box-shadow:none;padding:4px}.ph-tools{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.ph-tbtn{height:var(--ds-h-sm)}.ph-seg{margin-left:auto;font-size:var(--ds-text-xs);color:var(--text-muted);font-variant-numeric:tabular-nums}.ph-err{flex-basis:100%;order:9}.ph-chips{display:flex;flex-wrap:wrap;gap:4px}.ph-chip{display:inline-flex;align-items:center;gap:5px;max-width:220px}.ph-chip img{width:18px;height:18px;border-radius:4px;object-fit:cover}.ph-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ph-chip button{border:0;background:none;color:var(--text-dim);cursor:pointer;padding:0 0 0 2px;display:inline-grid;place-items:center}@media (max-width:767px){.ph-msgs{max-height:none}.ph-msg{max-width:86%}.ph-compose{bottom:var(--mobile-bottom-nav-reserve,0)}.ph-compose textarea.rp-sin{font-size:var(--ds-text-md)}.ph-tools .rp-kbd{display:none}.ph-tools{padding-right:60px}}.ph-tl{display:flex;flex-direction:column;gap:6px}.ph-tl-filters{display:flex;gap:4px;flex-wrap:wrap;padding:6px 0 2px}.ph-chipbtn{display:inline-flex;align-items:center;gap:5px;height:var(--ds-h-sm);padding:0 9px;border:0;border-radius:var(--ds-radius-btn);background:transparent;color:var(--text-secondary);font:500 var(--ds-text-sm)/1 var(--font-ui);cursor:pointer;box-shadow:inset 0 0 0 1px var(--rp-line-btn)}.ph-chipbtn:hover{color:var(--text);background:var(--bg-hover)}.ph-chipbtn.on{color:var(--text);background:var(--bg-active);box-shadow:none}.ph-chipbtn .mu{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:var(--ds-text-sm)}.ph-tl-list{list-style:none;margin:0;padding:0;position:relative}.ph-tl-item{position:relative;display:flex;gap:10px;padding:8px 0}.ph-tl-item:before{content:"";position:absolute;left:11px;top:30px;bottom:-8px;width:1px;background:var(--rp-line-div,var(--border-soft))}.ph-tl-item:last-child:before{display:none}.ph-tl-ic{flex:none;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:var(--bg-surface);color:var(--text-dim);box-shadow:inset 0 0 0 1px var(--rp-line-btn);position:relative;z-index:1}.ph-tl-item.k-call .ph-tl-ic{color:var(--text-secondary)}.ph-tl-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding-top:3px}.ph-tl-body .h{display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap}.ph-tl-body .h b{font-weight:500;font-size:var(--ds-text-sm);color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis}.ph-tl-body .h .t{margin-left:auto;font-size:var(--ds-text-xs);color:var(--text-muted);white-space:nowrap;font-variant-numeric:tabular-nums}.ph-tl-body p{margin:0;font-size:var(--ds-text-xs);line-height:1.45;color:var(--text-secondary);white-space:pre-wrap;word-break:break-word}.ph-tl-body .mu,.ph-tl-body p.mu{color:var(--text-dim)}.ph-tl-link{display:flex;flex-direction:column;gap:4px;color:inherit;text-decoration:none;border-radius:8px}.ph-tl-link:hover b{text-decoration:underline;text-underline-offset:2px}.ph-tl-link p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ph-call{display:flex;flex-direction:column;gap:6px;padding:9px 11px;border-radius:12px;background:var(--bg-surface);box-shadow:var(--rp-sh-card,inset 0 0 0 1px var(--border-soft))}.ph-audio{width:100%;height:32px}.ph-sum{color:var(--text)!important}.ph-actions{margin:0;padding:0 0 0 18px;list-style:disc;flex-direction:column;gap:2px;color:var(--text-secondary)}.ph-actions,.ph-call-foot{display:flex;font-size:var(--ds-text-xs)}.ph-call-foot{align-items:center;gap:12px;flex-wrap:wrap}.ph-transcript{max-height:260px;overflow:auto;padding:8px 10px!important;border-radius:8px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--border-soft);font-size:var(--ds-text-xs)!important}.ph-inbox{margin:2px 8px 8px;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--bg-chrome)}.ph-inbox-hd{display:flex;align-items:center;gap:6px;height:var(--ds-h-md);padding:0 10px;font-size:var(--ds-text-xs);font-weight:600;color:var(--text-secondary);border-bottom:1px solid var(--border-soft)}.ph-inbox-hd .n{font-size:var(--ds-text-2xs);min-width:16px;height:16px;padding:0 5px;border-radius:8px;background:var(--bg-active);color:var(--text);display:inline-grid;place-items:center;font-variant-numeric:tabular-nums}.ph-inbox-hd .lk{margin-left:auto;border:0;background:none;font:500 var(--ds-text-sm)/1 var(--font-ui);color:var(--text-dim);cursor:pointer;padding:0 4px;min-height:var(--ds-h-sm)}.ph-inbox-hd .lk:hover{color:var(--text)}.ph-inbox-row{display:flex;align-items:center;gap:8px;width:100%;height:var(--ds-h-row);padding:0 10px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.ph-inbox-row+.ph-inbox-row{border-top:1px solid var(--border-soft)}.ph-inbox-row:hover{background:var(--bg-hover)}.ph-inbox-row .ic{flex:none;color:var(--text-dim);display:inline-grid}.ph-inbox-row.k-missed .ic,.ph-inbox-row.k-voicemail .ic{color:var(--status-overdue)}.ph-inbox-row .who{flex:none;max-width:34%;font-size:var(--ds-text-sm);font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ph-inbox-row .who em{font-style:normal;margin-left:5px;font-size:var(--ds-text-2xs);color:var(--text-muted);font-weight:500}.ph-inbox-row .tx{flex:1;min-width:0;font-size:var(--ds-text-sm);color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ph-inbox-row .tm{flex:none;font-size:var(--ds-text-xs);color:var(--text-muted);font-variant-numeric:tabular-nums}@media (max-width:767px){.ph-inbox{margin:4px 12px 10px}.ph-inbox-row{height:44px}}.ph-set-in{width:180px}.ph-set-wide{width:100%}.ph-set-ta{width:100%;min-height:52px;resize:vertical}.ph-set-actions{align-items:center;gap:8px;flex-wrap:wrap}.ph-set-actions,.ph-set-more{display:flex;justify-content:flex-end}.ph-set-more{margin:8px 0 2px}.ph-buy{margin-top:8px}.ph-steps{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:var(--ds-text-xs);line-height:1.5;color:var(--text-secondary)}.ph-steps b{color:var(--text);font-weight:600}.ph-tpl-edit{display:flex;flex-direction:column;gap:8px}.ph-fields{display:flex;gap:4px;flex-wrap:wrap}.ph-preview{margin:0}.ph-a2p,.ph-preview{font-size:var(--ds-text-xs)}.ph-a2p{margin:0 0 6px;line-height:1.5;color:var(--text-secondary)}.ph-a2p:last-child{margin-bottom:0}.ph-a2p b{color:var(--text);font-weight:600}@media (max-width:767px){.ph-set-in{width:150px}.ph-set-in,.ph-set-ta,.ph-set-wide{font-size:var(--ds-text-md)!important}}.ph-set .crm-note{display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:4px 6px 4px 10px;border-radius:8px;background:var(--bg-hover);font-size:var(--ds-text-xs);color:var(--text-secondary)}.ph-set .crm-note>span{flex:1;min-width:0}.ph-set .crm-mu{color:var(--text-muted);font-size:var(--ds-text-xs)}.ph-set .crm-err{color:var(--status-overdue);font-size:var(--ds-text-xs)}.ph-set .crm-link{color:var(--text-secondary);text-decoration:underline;text-underline-offset:2px}.ph-set .crm-link:hover{color:var(--text)}.ph-open-full{display:none}@media (max-width:767px){.ph-open-full{display:inline-flex}}.dfab{position:relative;flex:none;margin-left:6px;z-index:60}.dfab.is-floating{position:fixed;top:8px;right:12px;margin:0}.dfab-btn{display:grid;place-items:center;width:var(--ds-h-md);height:var(--ds-h-md);border:0;border-radius:8px;background:var(--bg-surface);color:var(--text-secondary);box-shadow:inset 0 0 0 1px var(--rp-line-btn,var(--border));cursor:pointer}.dfab-btn.on,.dfab-btn:hover{color:var(--text);background:var(--bg-hover)}.dfab-pop{position:absolute;top:34px;right:0;width:248px;padding:10px;border-radius:14px;background:var(--bg-modal,var(--bg-surface));box-shadow:0 12px 32px rgba(0,0,0,.28),inset 0 0 0 1px var(--border);display:flex;flex-direction:column;gap:8px}.dfab-in{width:100%;height:var(--ds-h-md);font-size:var(--ds-text-sm);font-variant-numeric:tabular-nums}.dfab-list{list-style:none;margin:0;padding:0}.dfab-list button{width:100%;display:flex;flex-direction:column;align-items:flex-start;padding:4px 6px;border:0;border-radius:6px;background:none;color:var(--text);text-align:left;cursor:pointer}.dfab-list button:hover{background:var(--bg-hover)}.dfab-list b{font:500 var(--ds-text-sm)/var(--ds-lh-sm) var(--ds-font)}.dfab-list span{color:var(--text-dim);font:400 var(--ds-text-xs)/var(--ds-lh-xs) var(--ds-font);font-variant-numeric:tabular-nums}.dfab-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.dfab-keys button{height:40px;border:0;border-radius:10px;background:var(--bg-surface);color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer}.dfab-keys button:hover{background:var(--bg-hover)}.dfab-keys b{font:500 var(--ds-text-md)/1 var(--ds-font)}.dfab-keys small{font:600 9px/1 var(--ds-font);letter-spacing:.12em;color:var(--text-dim)}.dfab-acts{display:flex;gap:6px}.dfab-call{flex:1;justify-content:center;gap:6px}@media (max-width:767px){.dfab{display:none}}.ph-a2p-track{display:flex;gap:4px;margin:0 0 10px;padding:0;list-style:none;flex-wrap:wrap}.ph-a2p-track li{display:inline-flex;align-items:center;gap:6px;height:var(--ds-h-sm);padding:0 9px;border-radius:999px;font:500 var(--ds-text-xs)/1 var(--font-ui);color:var(--text-muted);box-shadow:inset 0 0 0 1px var(--rp-line-btn)}.ph-a2p-track li i{width:6px;height:6px;border-radius:50%;background:var(--text-muted);opacity:.5}.ph-a2p-track li.done{color:var(--text-secondary)}.ph-a2p-track li.done i{background:var(--status-completed);opacity:1}.ph-a2p-track li.now{color:var(--text);background:var(--bg-active);box-shadow:none}.ph-a2p-track li.now i{background:var(--status-active);opacity:1}.ph-a2p-track li.fail{color:var(--status-overdue)}.ph-a2p-track li.fail i{background:var(--status-overdue);opacity:1}.ph-a2p-why{margin:0 0 6px;padding-left:18px;font-size:var(--ds-text-xs);line-height:1.5;color:var(--status-overdue)}.ph-num-ct{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.ph-msg.out p a{color:inherit;text-decoration:underline}