/* Papalocal Web Chat — extracted verbatim from functions-footer-style.php (Phase 0, no behavior change).
   Restyle/tokens come in Phase 1. Source of truth for the chat panel look. */

.footer-dm-panel{position:fixed;top:60px;left:0;right:0;bottom:var(--menu-bar-height,60px);max-width:100vw;box-sizing:border-box;background:#fff;color:#000;z-index:9992;overflow:hidden;overscroll-behavior:contain;box-shadow:0 4px 24px rgba(0,0,0,.18);display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;}
.footer-dm-panel,.footer-dm-panel *{color:#000;}
.footer-dm-panel-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;border-bottom:1px solid #e5e5ea;flex-shrink:0;}
.footer-dm-panel-hd h3{color:#000 !important;margin:0;font-size:1.2rem;font-weight:700;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.footer-dm-hd-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.footer-dm-expand-btn,.footer-dm-new-msg-btn{background:none;border:none;color:#007AFF !important;font-size:1.35rem;cursor:pointer;padding:7px 8px;line-height:1;border-radius:8px;}
.footer-dm-expand-btn:hover,.footer-dm-new-msg-btn:hover{color:#0056b3 !important;}
.footer-dm-panel-tabs{display:flex;border-bottom:1px solid #e5e5ea;background:#fafafa;}
.fdm-tab{flex:1;padding:9px 6px;text-align:center;font-size:0.76rem;font-weight:600;color:#8e8e93 !important;border:none;background:none;cursor:pointer;position:relative;}
.fdm-tab.active{color:#007AFF !important;}
.fdm-tab.active::after{content:"";position:absolute;bottom:0;left:20%;right:20%;height:2.5px;background:#007AFF;border-radius:2px;}
.fdm-tab i{margin-right:3px;font-size:0.7rem;color:inherit !important;}
.fdm-tab-badge{background:#FF3B30;color:#fff !important;border-radius:8px;font-size:0.6rem;font-weight:700;padding:1px 5px;margin-left:3px;}
.pl-dm-mention{color:#007AFF !important;font-weight:700;text-decoration:none;}
.pl-dm-mention:hover{text-decoration:underline;}
.pl-dm-mention-biz{display:inline-flex;align-items:center;gap:3px;background:rgba(0,122,255,0.10);border:1px solid rgba(0,122,255,0.25);border-radius:7px;padding:0 6px;line-height:1.5;text-decoration:none !important;}
.pl-dm-mention-biz::before{content:"\f1ad";font-family:"Font Awesome 6 Free";font-weight:900;font-size:0.78em;margin-right:1px;}
.pl-dm-mention-biz:hover{background:rgba(0,122,255,0.18);}
.footer-dm-panel-list{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;}
@media (min-width:769px){.footer-dm-panel{left:50%;right:auto;transform:translateX(-50%);max-width:700px;width:90%;border-radius:12px;top:70px;bottom:var(--menu-bar-height,60px);height:auto;max-height:none;box-shadow:0 8px 40px rgba(0,0,0,0.2);}}
@media (max-width:480px){.footer-dm-panel-hd{padding:12px 10px;}.footer-dm-panel-hd h3{font-size:1.05rem;}.footer-dm-hd-actions{gap:3px;}.footer-dm-expand-btn,.footer-dm-new-msg-btn{padding:6px 6px;font-size:1.3rem;}.footer-dm-expand-page{display:none !important;}}
.fdm-settings-body{padding:14px 16px;overflow-y:auto;}
.fdm-set-section{padding:12px 0;border-bottom:1px solid #f0f0f0;}
.fdm-set-label{font-size:0.95rem;font-weight:700;color:#1f2937 !important;}
.fdm-set-desc{font-size:0.78rem;color:#8e8e93 !important;margin:2px 0 10px;}
.fdm-set-chips{display:flex;gap:8px;flex-wrap:wrap;}
.fdm-set-chip{min-width:44px;border:1px solid #d1d5db;background:#fff;color:#374151 !important;border-radius:10px;padding:9px 14px;font-weight:700;font-size:0.9rem;cursor:pointer;}
.fdm-set-chip.active{background:#007AFF;color:#fff !important;border-color:#007AFF;}
.fdm-set-note{padding:14px 0;color:#b0b3b8 !important;font-size:0.78rem;text-align:center;}
.footer-dm-panel-list .pl-dm-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #f0f0f0;text-decoration:none;color:#000 !important;}
.footer-dm-panel-list .pl-dm-item:hover{background:#f5f7fa;text-decoration:none;color:#000 !important;}
.footer-dm-panel-list .pl-dm-item.unread{background:#f0f6ff;}
.footer-dm-panel-list .pl-dm-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.footer-dm-panel-list .pl-dm-avatar.pl-dm-ae-roster-icon{background:#7c3aed !important;color:#fff !important;display:flex;align-items:center;justify-content:center;font-size:1.1rem;}
.footer-dm-panel-list .pl-dm-avatar.pl-dm-ae-roster-icon i{color:#fff !important;}
.footer-dm-panel-list .pl-dm-avatar.pl-dm-group-stack{position:relative;background:transparent;}
.footer-dm-panel-list .pl-dm-avatar.pl-dm-group-stack .pl-dm-ga{position:absolute;border-radius:50%;object-fit:cover;border:2px solid #fff;}
.footer-dm-panel-list .pl-dm-avatar.pl-dm-group-stack .pl-dm-ga-1{width:32px;height:32px;top:0;left:0;}
.footer-dm-panel-list .pl-dm-avatar.pl-dm-group-stack .pl-dm-ga-2{width:28px;height:28px;bottom:0;right:0;}
.footer-dm-panel-list .pl-dm-item-body{flex:1;min-width:0;}
.footer-dm-panel-list .pl-dm-item-top{display:flex;align-items:baseline;justify-content:space-between;gap:6px;}
.footer-dm-panel-list .pl-dm-item-name{font-weight:600;font-size:0.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#000 !important;}
.footer-dm-panel-list .pl-dm-item.unread .pl-dm-item-name{font-weight:700;}
.footer-dm-panel-list .pl-dm-item-time{font-size:0.68rem;color:#8e8e93 !important;white-space:nowrap;flex-shrink:0;}
.footer-dm-panel-list .pl-dm-item-preview{font-size:0.78rem;color:#8e8e93 !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px;}
.footer-dm-panel-list .pl-dm-item.unread .pl-dm-item-preview{color:#333 !important;font-weight:500;}
.footer-dm-panel-list .pl-dm-item-right{display:flex;align-items:center;gap:6px;flex-shrink:0;}
.footer-dm-panel-list .pl-dm-unread-dot{width:10px;height:10px;border-radius:50%;background:#007AFF;}
.footer-dm-panel-list .pl-dm-chevron{color:#c7c7cc !important;font-size:0.75rem;}
.footer-dm-panel-list .pl-dm-connect-btn{background:#007AFF;color:#fff !important;border:none;border-radius:50%;width:26px;height:26px;font-size:0.65rem;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.footer-dm-panel-list .pl-dm-connect-btn.done{background:#34C759;pointer-events:none;}
.footer-dm-panel-list .pl-dm-empty-filter{text-align:center;padding:40px 20px;color:#8e8e93 !important;}
.footer-dm-panel-list .pl-dm-empty-filter i{font-size:2rem;margin-bottom:10px;display:block;color:#c7c7cc !important;}
.footer-dm-panel-list .pl-dm-empty-filter p{font-size:0.85rem;margin:0;color:#8e8e93 !important;}
.fdm-search-bar{padding:8px 16px;border-bottom:1px solid #e5e5ea;background:#fafafa;}
.fdm-search-bar input{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:8px;font-size:0.85rem;outline:none;color:#000 !important;background:#fff;}
.fdm-search-bar input:focus{border-color:#007AFF;}
.fdm-search-bar input::placeholder{color:#aaa !important;}
.footer-dm-panel-list .pl-dm-pin-btn{background:none;border:none;color:#232323 !important;font-size:0.9rem;cursor:pointer;padding:6px;flex-shrink:0;opacity:0.5;transition:color 0.15s,transform 0.15s,opacity 0.15s;}
.footer-dm-panel-list .pl-dm-pin-btn.pinned{color:#232323 !important;opacity:1;transform:rotate(-45deg);}
.footer-dm-panel-list .pl-dm-pin-btn:hover{color:#232323 !important;opacity:1;}
.footer-dm-panel-list .pl-dm-pinned-section{border-bottom:1px solid #e5e5ea;padding:14px 16px 10px;background:#fafafa;}
.footer-dm-panel-list .pl-dm-pinned-grid{display:grid;grid-template-columns:repeat(var(--fdm-ppr,3),1fr);gap:16px 8px;justify-items:center;max-height:158px;overflow-y:auto;overscroll-behavior:contain;}
.footer-dm-panel-list .pl-dm-pinned-item{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:inherit;width:56px;flex-shrink:0;}
.footer-dm-panel-list .pl-dm-pinned-item:hover{text-decoration:none;color:inherit;}
.footer-dm-panel-list .pl-dm-pinned-avatar-wrap{position:relative;width:48px;height:48px;flex-shrink:0;aspect-ratio:1/1;}
.footer-dm-panel-list .pl-dm-pinned-avatar{width:48px;height:48px;min-width:48px;border-radius:50%;object-fit:cover;flex-shrink:0;aspect-ratio:1/1;}
.footer-dm-panel-list .pl-dm-pinned-badge{position:absolute;top:-4px;right:-4px;background:#FF3B30;color:#fff;font-size:0.6rem;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;box-sizing:border-box;border:2px solid #fafafa;}
.footer-dm-panel-list .pl-dm-pinned-unpin{position:absolute;top:-6px;left:-6px;background:rgba(0,0,0,0.55);color:#fff;border:none;border-radius:50%;width:18px;height:18px;font-size:0.5rem;cursor:pointer;display:none;align-items:center;justify-content:center;padding:0;line-height:1;}
@media (hover:hover){.footer-dm-panel-list .pl-dm-pinned-item:hover .pl-dm-pinned-unpin{display:flex;}}
.footer-dm-panel-list .pl-dm-pinned-name{font-size:0.68rem;color:#333 !important;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56px;}
.footer-dm-panel-list .pl-dm-pinned-item.loading{opacity:0.6;pointer-events:none;}
.footer-dm-panel-list .pl-dm-pinned-item.loading .pl-dm-pinned-avatar{filter:brightness(0.85);}
.footer-dm-panel-list .pl-dm-pinned-item.loading .pl-dm-pinned-avatar-wrap::after{content:"";position:absolute;inset:0;margin:auto;width:24px;height:24px;border:2.5px solid rgba(255,255,255,0.7);border-top-color:#007AFF;border-radius:50%;animation:fdm-pin-spin 0.6s linear infinite;}
@keyframes fdm-pin-spin{to{transform:rotate(360deg);}}
.fdm-new-view{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;display:flex;flex-direction:column;z-index:2;}
.fdm-new-hd{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #e5e5ea;}
.fdm-new-hd span{font-size:1.1rem;font-weight:700;color:#000 !important;}
.fdm-new-back{background:none;border:none;color:#007AFF !important;font-size:1rem;cursor:pointer;padding:4px 8px;}
.fdm-new-search{padding:10px 16px;border-bottom:1px solid #f0f0f0;}
.fdm-new-search input{width:100%;border:1px solid #ddd;border-radius:10px;padding:10px 14px;font-size:0.88rem;outline:none;background:#f5f5f7;color:#000 !important;}
.fdm-new-search input:focus{border-color:#007AFF;background:#fff;}
.fdm-new-search input::placeholder{color:#aaa !important;}
.fdm-new-results{flex:1;overflow-y:auto;}
.fdm-new-hint{padding:24px 20px;text-align:center;color:#8e8e93 !important;font-size:0.85rem;}
.fdm-new-category{padding:8px 16px 4px;font-size:0.7rem;font-weight:700;text-transform:uppercase;color:#8e8e93 !important;letter-spacing:0.5px;background:#fafafa;border-bottom:1px solid #f0f0f0;}
.fdm-new-category i{margin-right:4px;color:#8e8e93 !important;}
.fdm-new-item{display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;border-bottom:1px solid #f8f8f8;color:#000 !important;}
.fdm-new-item:hover{background:#f0f4ff;}
.fdm-new-item img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.fdm-new-item .fdm-ni-name{font-weight:600;font-size:0.88rem;color:#000 !important;}
.fdm-new-item .fdm-ni-type{font-size:0.72rem;color:#8e8e93 !important;}
.fdm-ni-conn{font-size:0.65rem;padding:2px 6px;border-radius:4px;font-weight:600;}
.fdm-ni-conn.yes{background:#d4edda;color:#155724 !important;}
.fdm-ni-conn.no{background:#f0f0f0;color:#888 !important;}
.fdm-entity-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1rem;}
.fdm-entity-icon i{color:#fff !important;}
.fdm-group-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 16px 0;}
.fdm-group-chips:empty{display:none;}
.fdm-group-chip{display:inline-flex;align-items:center;gap:6px;background:#f0e9ff;color:#5b21b6 !important;border-radius:999px;padding:4px 8px 4px 4px;font-size:0.8rem;}
.fdm-group-chip img{width:22px;height:22px;border-radius:50%;object-fit:cover;}
.fdm-group-chip button{background:none;border:none;color:#7c3aed !important;cursor:pointer;font-size:1rem;line-height:1;padding:0 2px;}
.fdm-new-item.is-selected{background:#f0e9ff;}
.fdm-ni-check{margin-left:auto;color:#7c3aed !important;opacity:0;}
.fdm-new-item.is-selected .fdm-ni-check{opacity:1;}
.fdm-group-title-wrap{padding:8px 16px;border-top:1px solid #f0f0f0;}
.fdm-group-title-wrap input{width:100%;padding:9px 12px;border:1px solid #e5e5ea;border-radius:10px;font-size:0.9rem;outline:none;}
.fdm-group-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;border-top:1px solid #f0f0f0;}
.fdm-group-count{font-size:0.78rem;color:#8e8e93 !important;}
.fdm-group-submit{background:#8b5cf6;color:#fff !important;border:none;border-radius:10px;padding:9px 14px;font-weight:600;font-size:0.85rem;cursor:pointer;}
.fdm-group-submit:disabled{opacity:0.5;cursor:not-allowed;}
.fdm-group-cap{padding:0 16px;}
.fdm-group-cap .fdm-cap-msg{background:#fff4f4;color:#b91c1c !important;border:1px solid #fecaca;border-radius:8px;padding:8px 10px;font-size:0.8rem;margin-bottom:10px;}
.fdm-group-cap .fdm-cap-msg a{color:#7c3aed !important;font-weight:600;}
.fdm-gset-view{z-index:4;}
.fdm-gset-sec{padding:12px 16px;border-bottom:1px solid #f0f0f0;}
.fdm-gset-sec-title{font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.4px;color:#8e8e93 !important;margin-bottom:8px;}
.fdm-gset-photo-row{display:flex;align-items:center;gap:12px;}
.fdm-gset-photo-prev{width:52px;height:52px;border-radius:50%;overflow:hidden;background:#efe7ff;color:#8b5cf6 !important;display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0;}
.fdm-gset-photo-prev img{width:100%;height:100%;object-fit:cover;}
.fdm-gset-btn{background:#f0e9ff;color:#5b21b6 !important;border:none;border-radius:8px;padding:7px 12px;font-size:0.8rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px;}
.fdm-gset-btn:hover{background:#e4d8ff;}
.fdm-gset-btn.danger{background:none;border:1px solid #FF3B30;color:#FF3B30 !important;}
.fdm-gset-btn.danger:hover{background:#FF3B30;color:#fff !important;}
.fdm-gset-row{display:flex;gap:8px;align-items:center;}
.fdm-gset-row input[type=text],.fdm-gset-row select{flex:1;border:1px solid #e5e5ea;border-radius:8px;padding:9px 12px;font-size:0.88rem;outline:none;color:#000 !important;background:#fff;}
.fdm-gset-save{background:#8b5cf6;color:#fff !important;border:none;border-radius:8px;padding:9px 14px;font-size:0.82rem;font-weight:600;cursor:pointer;}
.fdm-gset-mrow{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f6f6f6;}
.fdm-gset-mrow img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.fdm-gset-mname{font-size:0.86rem;font-weight:600;color:#000 !important;}
.fdm-gset-mrole{font-size:0.68rem;text-transform:uppercase;letter-spacing:0.3px;color:#8e8e93 !important;}
.fdm-gset-mrole.owner{color:#b502ff !important;font-weight:700;}
.fdm-gset-mrole.admin{color:#007AFF !important;font-weight:700;}
.fdm-gset-mact{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
.fdm-gset-mact button{background:none;border:1px solid #c7c7cc;color:#444 !important;border-radius:6px;padding:3px 8px;font-size:0.7rem;cursor:pointer;}
.fdm-gset-mact button.admin{border-color:#007AFF;color:#007AFF !important;}
.fdm-gset-mact button.owner{border-color:#b502ff;color:#b502ff !important;}
.fdm-gset-mact button.rm{border-color:#FF3B30;color:#FF3B30 !important;}
.fdm-gset-addsearch input{width:100%;border:1px solid #e5e5ea;border-radius:8px;padding:9px 12px;font-size:0.88rem;outline:none;color:#000 !important;background:#fff;}
.fdm-gset-addres{margin-top:6px;}
.fdm-gset-addrow{display:flex;align-items:center;gap:10px;padding:8px 4px;cursor:pointer;border-radius:8px;}
.fdm-gset-addrow:hover{background:#f5f3ff;}
.fdm-gset-addrow img{width:32px;height:32px;border-radius:50%;object-fit:cover;}
.fdm-gset-cap{background:#fff4f4;color:#b91c1c !important;border:1px solid #fecaca;border-radius:8px;padding:8px 10px;font-size:0.8rem;margin-top:8px;}
.fdm-gset-cap a{color:#7c3aed !important;font-weight:600;}
.fdm-ai-btn{background:none;border:none;color:#8b5cf6 !important;font-size:1.2rem;cursor:pointer;padding:6px;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;}
.fdm-ai-btn:hover{background:#f3effe;}
.fdm-ai-btn i{color:inherit !important;}
.fdm-cra-pill{flex-shrink:0;margin:8px 12px 0;border:1px solid #e9e3fb;border-radius:14px;background:linear-gradient(180deg,#faf7ff,#fff);overflow:hidden;}
.fdm-cra-pill-head{display:flex;align-items:center;gap:8px;width:100%;border:none;background:none;cursor:pointer;padding:9px 12px;font:inherit;text-align:left;color:#5b21b6 !important;}
.fdm-cra-pill-ic{width:22px;height:22px;border-radius:50%;background:#ede9fe;color:#7c3aed !important;display:flex;align-items:center;justify-content:center;font-size:0.72rem;flex-shrink:0;}
.fdm-cra-pill-ic i{color:inherit !important;}
.fdm-cra-pill-label{font-weight:700;font-size:0.82rem;flex:1;min-width:0;color:#5b21b6 !important;}
.fdm-cra-pill-count{background:#7c3aed;color:#fff !important;border-radius:999px;font-size:0.66rem;font-weight:800;padding:1px 7px;min-width:18px;text-align:center;}
.fdm-cra-pill-caret{color:#a78bda !important;font-size:0.75rem;transition:transform .15s;}
.fdm-cra-pill.open .fdm-cra-pill-caret{transform:rotate(180deg);}
.fdm-cra-pill-body{padding:0 12px 10px;max-height:40vh;overflow-y:auto;}
.fdm-cra-rec{display:flex;gap:9px;padding:9px 0;border-top:1px solid #f0ebfb;}
.fdm-cra-rec-ic{width:24px;height:24px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:0.72rem;flex-shrink:0;color:#fff !important;}
.fdm-cra-rec-ic i{color:#fff !important;}
.fdm-cra-rec-main{flex:1;min-width:0;}
.fdm-cra-rec-title{font-size:0.84rem;font-weight:600;color:#1f2937 !important;}
.fdm-cra-rec-detail{font-size:0.78rem;color:#5b6472 !important;margin-top:2px;}
.fdm-cra-rec-acts{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap;}
.fdm-cra-rec-acts button{border:1px solid #d6ccf5;background:#fff;color:#6d28d9 !important;border-radius:7px;padding:4px 10px;font-size:0.72rem;font-weight:600;cursor:pointer;}
.fdm-cra-rec-acts button.ghost{border-color:#e5e7eb;color:#6b7280 !important;}
.fdm-cra-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;}
.fdm-cra-refresh{border:none;background:none;color:#7c3aed !important;font-size:0.76rem;font-weight:600;cursor:pointer;}
.fdm-cra-toggle{border:none;background:none;font-size:0.74rem;color:#6b7280 !important;cursor:pointer;display:inline-flex;align-items:center;gap:6px;}
.fdm-cra-empty{font-size:0.8rem;color:#8b8f98 !important;padding:8px 0 2px;}
.fdm-cra-asst{position:absolute;left:0;right:0;bottom:0;top:12%;max-height:none;background:#fff;border-top:1px solid #e5e5ea;border-radius:16px 16px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.18);display:flex;flex-direction:column;z-index:6;overflow:hidden;}
.fdm-cra-asst-hd{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-bottom:1px solid #f0f0f0;font-weight:700;color:#5b21b6 !important;}
.fdm-cra-asst-hd button{border:none;background:none;font-size:1.3rem;color:#999 !important;cursor:pointer;line-height:1;}
.fdm-cra-asst-chips{display:flex;gap:6px;flex-wrap:wrap;padding:9px 12px;border-bottom:1px solid #f6f6f6;}
.fdm-cra-asst-chips button{border:1px solid #e9e3fb;background:#faf7ff;color:#6d28d9 !important;border-radius:999px;padding:5px 11px;font-size:0.74rem;font-weight:600;cursor:pointer;}
.fdm-cra-agentchips{display:flex;gap:6px;flex-wrap:wrap;padding:0 12px 8px;}
.fdm-cra-agentchips:empty{display:none;}
.fdm-cra-agentchip{display:inline-flex;align-items:center;gap:5px;border:1px solid #ddd;background:#fff;color:#444 !important;border-radius:999px;padding:4px 10px;font-size:0.73rem;font-weight:600;cursor:pointer;}
.fdm-cra-agentchip.on{background:#7c3aed;color:#fff !important;border-color:#7c3aed;}
.fdm-cra-agentchip.on i{color:#fff !important;}
.fdm-cra-bub-via{font-size:0.64rem;color:#9aa1ab !important;margin-top:5px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;}
.fdm-cra-asst-log{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:9px;background:#f8f7fb;min-height:90px;}
.fdm-cra-bub{max-width:85%;padding:9px 12px;border-radius:14px;font-size:0.85rem;line-height:1.4;white-space:pre-wrap;word-break:break-word;}
.fdm-cra-bub.user{align-self:flex-end;background:#7c3aed;color:#fff !important;}
.fdm-cra-bub.user *{color:#fff !important;}
.fdm-cra-bub.ai{align-self:flex-start;background:#fff;border:1px solid #ece9f5;color:#222 !important;}
.fdm-cra-use{display:block;margin-top:6px;border:1px solid #d6ccf5;background:#f5f3ff;color:#6d28d9 !important;border-radius:7px;padding:4px 10px;font-size:0.72rem;font-weight:600;cursor:pointer;}
.fdm-cra-asst-input{display:flex;gap:8px;padding:10px;border-top:1px solid #f0f0f0;align-items:flex-end;}
.fdm-cra-asst-input textarea{flex:1;border:1px solid #e5e5ea;border-radius:12px;padding:9px 12px;font-size:0.88rem;resize:none;max-height:90px;outline:none;font-family:inherit;color:#000 !important;}
.fdm-cra-asst-input button{background:#7c3aed;color:#fff !important;border:none;border-radius:50%;width:36px;height:36px;cursor:pointer;flex-shrink:0;}
.fdm-cra-asst-input button i{color:#fff !important;}
.fdm-cra-asst-input button:disabled{opacity:.5;}
.fdm-cra-tools{position:absolute;left:0;right:0;bottom:0;top:auto;max-height:100%;background:#fff;display:flex;flex-direction:column;z-index:7;border-radius:14px 14px 0 0;box-shadow:0 -6px 24px rgba(0,0,0,.14);overflow:hidden;}
.fdm-cra-tools-hd{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid #f0f0f0;font-weight:700;color:#5b21b6 !important;}
.fdm-cra-tools-hd button{border:none;background:none;color:#7c3aed !important;font-size:1rem;cursor:pointer;}
.fdm-cra-tools-note{padding:8px 14px;font-size:0.78rem;color:#6b7280 !important;background:#faf7ff;border-bottom:1px solid #f0ebfb;}
.fdm-cra-tools-list{max-height:240px;overflow-y:auto;padding:6px 0;}
.fdm-cra-tools-more{padding:8px 14px;text-align:center;font-size:0.74rem;font-weight:600;color:#7c3aed !important;background:#faf7ff;border-top:1px solid #f0ebfb;}
.fdm-cra-tool{display:flex;align-items:center;gap:10px;padding:9px 14px;border-bottom:1px solid #f6f6f6;}
.fdm-cra-tool-ic{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff !important;font-size:0.78rem;flex-shrink:0;}
.fdm-cra-tool-ic i{color:#fff !important;}
.fdm-cra-tool-main{flex:1;min-width:0;}
.fdm-cra-tool-label{font-size:0.85rem;font-weight:600;color:#1f2937 !important;}
.fdm-cra-tool-desc{font-size:0.73rem;color:#6b7280 !important;margin-top:1px;}
.fdm-cra-tool-scope{font-size:0.62rem;text-transform:uppercase;letter-spacing:.04em;color:#9aa1ab !important;}
.fdm-cra-switch{position:relative;width:40px;height:22px;flex-shrink:0;}
.fdm-cra-switch input{opacity:0;width:0;height:0;}
.fdm-cra-switch .sl{position:absolute;inset:0;background:#ccc;border-radius:22px;transition:.2s;cursor:pointer;}
.fdm-cra-switch .sl:before{content:"";position:absolute;width:16px;height:16px;left:3px;bottom:3px;background:#fff;border-radius:50%;transition:.2s;}
.fdm-cra-switch input:checked+.sl{background:#7c3aed;}
.fdm-cra-switch input:checked+.sl:before{transform:translateX(18px);}
.fdm-cra-switch input:disabled+.sl{opacity:.5;cursor:not-allowed;}
.fdm-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,0.8);display:flex;align-items:center;justify-content:center;z-index:3;}
.fdm-loading-overlay i{font-size:1.5rem;color:#007AFF !important;}
.fdm-thread-view{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;display:flex;flex-direction:column;z-index:2;}
.fdm-ai-view{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;display:flex;flex-direction:column;z-index:3;}
.fdm-ai-list .fdm-ai-row{display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;border-bottom:1px solid #f0f0f0;}
.fdm-ai-list .fdm-ai-row:hover{background:#f5f7fa;}
.fdm-ai-list .fdm-ai-row img{width:36px;height:36px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.fdm-ai-list .fdm-ai-row .fdm-ai-row-name{font-size:0.88rem;font-weight:600;color:#000 !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fdm-ai-list .fdm-ai-row .fdm-ai-row-sub{font-size:0.72rem;color:#8e8e93 !important;}
.fdm-ai-list .fdm-ai-row i.fa-chevron-right{color:#c7c7cc !important;font-size:0.75rem;}
.fdm-thread-hd{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #e5e5ea;flex-shrink:0;}
.fdm-thread-back{background:none;border:none;color:#007AFF !important;font-size:1.25rem;cursor:pointer;padding:7px 8px;line-height:1;border-radius:8px;}
.fdm-thread-avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.fdm-thread-name{font-size:1rem;font-weight:700;color:#000 !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fdm-thread-messages{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:6px;background:#f5f5f7;touch-action:pan-y;--fdmmw:min(66vw,260px);}
.fdm-msg{max-width:75%;padding:10px 14px;border-radius:18px;font-size:0.88rem;line-height:1.4;word-wrap:break-word;position:relative;}
.fdm-msg.sent{align-self:flex-end;background:#5AA9FF;color:#fff !important;border-bottom-right-radius:4px;}
.fdm-mention{font-weight:700;color:#1f6fe0;}
.fdm-msg.sent .fdm-mention{color:#dceaff;}
.fdm-mention-biz{display:inline-flex;align-items:center;gap:4px;background:#fff !important;border:1px solid #cfe0ff;border-radius:8px;padding:2px 8px;margin:0 1px;text-decoration:none !important;color:#1f6fe0 !important;line-height:1.4;}
.fdm-mention-biz:hover{background:rgba(31,111,224,0.18);}
.fdm-mention-biz-logo{width:15px;height:15px;border-radius:3px;object-fit:cover;flex-shrink:0;}
.fdm-mention-biz-ic{font-size:0.78em;}
.fdm-mention-biz-nm{font-weight:700;}
.fdm-entity-logo{width:40px;height:40px;border-radius:9px;object-fit:cover;flex-shrink:0;}
.footer-dm-panel-list .pl-places-section{padding:10px 14px 8px;}
.footer-dm-panel-list .pl-places-section .pl-places-grid{display:grid !important;grid-template-columns:repeat(4,1fr) !important;gap:8px 4px !important;justify-items:center;max-height:none !important;overflow:visible !important;}
.footer-dm-panel-list .pl-place-pin{width:auto !important;min-width:0;}
.footer-dm-panel .pl-place-circle{position:relative;width:34px;height:34px;min-width:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:0.8rem;flex-shrink:0;}
.footer-dm-panel .pl-place-circle,.footer-dm-panel .pl-place-circle *{color:#fff !important;}
.footer-dm-panel .pl-place-badge{position:absolute;top:-3px;right:-3px;background:#FF3B30;color:#fff !important;border-radius:8px;font-size:0.55rem;font-weight:800;padding:0 4px;min-width:14px;text-align:center;line-height:1.4;}
.footer-dm-panel-list .pl-place-pin .pl-dm-pinned-name{font-size:0.6rem !important;max-width:62px;line-height:1.15;}
.footer-dm-panel .pl-channel-av{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#007bff,#6610f2);}
.footer-dm-panel .pl-channel-av,.footer-dm-panel .pl-channel-av *{color:#fff !important;}
.footer-dm-panel .pl-channel-pin .pl-dm-pinned-avatar-wrap{border-radius:50%;animation:plChPulse 2.2s ease-in-out infinite;}
@keyframes plChPulse{0%,100%{box-shadow:0 0 0 0 rgba(102,16,242,0.55);}50%{box-shadow:0 0 0 7px rgba(102,16,242,0);}}
.pl-biz-own-row:hover{background:#f5f8ff;}
.fdm-bizin-tag{margin-left:auto;font-size:0.62rem;font-weight:800;color:#16a34a !important;background:#dcfce7;border-radius:8px;padding:3px 8px;}
.fdm-bizin-row{display:flex;gap:10px;padding:11px 14px;border-bottom:1px solid #f2f2f2;cursor:pointer;}
.fdm-bizin-row:hover{background:#f5f8ff;}
.fdm-bizin-av{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#cbd5e1;flex-shrink:0;}
.fdm-bizin-rb{flex:1;min-width:0;}.fdm-bizin-nm{font-weight:600;color:#111 !important;}.fdm-bizin-row.unread .fdm-bizin-nm{font-weight:800;}
.fdm-bizin-pv{font-size:0.82rem;color:#777 !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fdm-bizin-dot{width:9px;height:9px;border-radius:50%;background:#007AFF;align-self:center;flex-shrink:0;}
.fdm-bizin-thread{position:absolute;inset:0;background:#fff;z-index:3;display:flex;flex-direction:column;}
.fdm-bizin-thhd{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid #eee;font-weight:700;color:#111 !important;}
.fdm-bizin-msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#fafbfc;}
.fdm-bizin-m{max-width:78%;padding:9px 12px;border-radius:14px;font-size:0.9rem;line-height:1.35;}
.fdm-bizin-m.them{align-self:flex-start;background:#fff;border:1px solid #e5e7eb;color:#111 !important;border-bottom-left-radius:5px;}
.fdm-bizin-m.us{align-self:flex-end;background:#007AFF;border-bottom-right-radius:5px;}.fdm-bizin-m.us,.fdm-bizin-m.us *{color:#fff !important;}
.fdm-bizin-m-meta{font-size:0.62rem;opacity:0.7;margin-top:3px;}
.fdm-bizin-photos{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:5px;}
.fdm-bizin-photo{width:140px;max-width:100%;border-radius:9px;object-fit:cover;cursor:pointer;}
.fdm-bizin-vid{display:inline-flex;align-items:center;gap:6px;background:rgba(0,0,0,0.06);border-radius:8px;padding:6px 10px;margin-bottom:5px;font-size:0.82rem;font-weight:600;}
.fdm-bizin-compose{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #eee;}
.fdm-bizin-compose textarea{flex:1;border:1px solid #d1d5db;border-radius:10px;padding:9px 12px;font-size:0.92rem;resize:none;min-height:38px;max-height:110px;font-family:inherit;}
.fdm-bizin-compose button{background:#007AFF;border:none;border-radius:10px;padding:0 16px;cursor:pointer;}.fdm-bizin-compose button,.fdm-bizin-compose button *{color:#fff !important;}
.fdm-bizin-compose button.fdm-bizin-attach{background:none;padding:0 6px;font-size:1.25rem;display:flex;align-items:center;}.fdm-bizin-compose button.fdm-bizin-attach,.fdm-bizin-compose button.fdm-bizin-attach *{color:#007AFF !important;}.fdm-bizin-compose button.fdm-bizin-attach:hover *{color:#0056b3 !important;}
.fdm-bizin-attach-wrap{position:relative;display:flex;align-items:flex-end;}
.fdm-bizin-amenu{display:none;position:absolute;bottom:calc(100% + 6px);left:0;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,0.18);overflow:hidden;min-width:160px;z-index:120;}.fdm-bizin-amenu.open{display:block;}
.fdm-bizin-aitem{display:flex;align-items:center;gap:10px;padding:11px 15px;cursor:pointer;font-size:0.88rem;color:#333 !important;background:#fff;border-bottom:1px solid #f0f0f0;text-decoration:none;}.fdm-bizin-aitem:last-child{border-bottom:none;}.fdm-bizin-aitem:hover{background:#f5f7fa;}.fdm-bizin-aitem i{color:#007AFF !important;width:18px;text-align:center;}
.fdm-bizin-empty{padding:36px 18px;text-align:center;color:#999 !important;}
.fdm-bizin-tools{display:flex;gap:8px;padding:9px 12px;border-bottom:1px solid #f0f0f0;align-items:center;}
.fdm-bizin-srch{flex:1;display:flex;align-items:center;gap:7px;background:#f1f3f5;border-radius:9px;padding:7px 11px;}
.fdm-bizin-srch i{color:#999 !important;font-size:0.82rem;}
.fdm-bizin-srch input{flex:1;border:none;background:transparent;outline:none;font-size:0.9rem;}
.fdm-bizin-fbtn{border:1px solid #d1d5db;background:#fff;border-radius:9px;padding:7px 12px;font-size:0.8rem;font-weight:700;color:#555 !important;cursor:pointer;white-space:nowrap;}
.fdm-bizin-fbtn.on{background:#007AFF;border-color:#007AFF;color:#fff !important;}
.fdm-bizin-tabs{display:flex;gap:6px;padding:10px 12px 0;}
.fdm-bizin-tab{flex:1;border:none;background:#f1f3f5;border-radius:9px;padding:8px 10px;font-size:0.82rem;font-weight:700;color:#555 !important;cursor:pointer;white-space:nowrap;}
.fdm-bizin-tab.on{background:#007AFF;color:#fff !important;}
.fdm-bizin-badge{display:inline-block;font-size:0.62rem;font-weight:800;letter-spacing:0.02em;text-transform:uppercase;border-radius:5px;padding:1px 6px;margin-left:6px;vertical-align:middle;}
.fdm-bizin-badge.cust{background:#e3f2ff;color:#1f6fe0 !important;}.fdm-bizin-badge.lead{background:#fff3df;color:#b7791f !important;}.fdm-bizin-badge.other{background:#eef0f3;color:#5b6472 !important;}
.fdm-bizin-cact{align-self:center;flex-shrink:0;font-size:0.74rem;font-weight:800;border-radius:8px;padding:5px 10px;white-space:nowrap;}
.fdm-bizin-cfilters{display:flex;flex-direction:column;gap:6px;padding:6px 10px 2px;}
.fdm-bizin-chiprow{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:2px;scrollbar-width:none;}
.fdm-bizin-chiprow::-webkit-scrollbar{display:none;}
.fdm-bizin-chip{flex:0 0 auto;font-size:0.72rem;font-weight:700;color:#555;background:#eef1f4;border:1px solid #e2e6ea;border-radius:14px;padding:4px 10px;white-space:nowrap;cursor:pointer;}
.fdm-bizin-chip.on{background:#007AFF;border-color:#007AFF;color:#fff;}
.fdm-bizin-cmore{text-align:center;padding:10px;color:#888;font-size:0.8rem;}
.fdm-bizin-crow .fdm-bizin-chev{align-self:center;color:#bbb;flex-shrink:0;margin-left:auto;}
.fdm-bizin-cdetail{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;}
.fdm-bizin-cd-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.fdm-bizin-cd-head .fdm-bizin-av{width:48px;height:48px;}
.fdm-bizin-cd-nm{font-weight:800;font-size:1.02rem;color:#1d1d1f;}
.fdm-bizin-cd-back{background:none;border:none;color:#007AFF;font-weight:700;cursor:pointer;font-size:0.85rem;padding:0;margin-bottom:8px;align-self:flex-start;}
.fdm-bizin-cd-row{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:0.9rem;color:#333;}
.fdm-bizin-cd-row i{width:18px;color:#888;text-align:center;}
.fdm-bizin-cd-tags{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0;}
.fdm-bizin-cd-tag{font-size:0.7rem;font-weight:700;color:#555;background:#eef1f4;border-radius:10px;padding:2px 8px;}
.fdm-bizin-cd-open{display:inline-flex;align-items:center;gap:6px;justify-content:center;border:1px solid #007AFF;color:#007AFF;background:none;border-radius:8px;padding:8px;font-weight:700;cursor:pointer;margin-top:10px;}
.fdm-bizin-cd-comp{display:flex;gap:6px;align-items:flex-end;margin-top:12px;}
.fdm-bizin-cd-comp textarea{flex:1;resize:none;min-height:38px;max-height:110px;border:1px solid #d8dde2;border-radius:10px;padding:8px 10px;font-size:0.9rem;font-family:inherit;}
.fdm-bizin-cd-send{background:#007AFF;color:#fff;border:none;border-radius:10px;padding:0 14px;height:38px;font-weight:800;cursor:pointer;display:flex;align-items:center;gap:6px;}
.fdm-bizin-cd-send:disabled{opacity:.5;cursor:default;}
.fdm-bizin-cd-hint{font-size:0.7rem;color:#999;text-align:center;margin-top:8px;}
.fdm-bizin-cact.start{background:#007AFF;color:#fff !important;}.fdm-bizin-cact.start *{color:#fff !important;}.fdm-bizin-cact.open{background:#eef1f4;color:#444 !important;}
.fdm-msg.sent .fdm-mention-biz{background:#fff !important;border-color:#cfe0ff;color:#1f6fe0 !important;}
.fdm-mention-biz,.fdm-mention-biz *{color:#1f6fe0 !important;}
.fdm-place-toggle{display:flex;gap:6px;padding:8px 10px;border-bottom:1px solid #e5e5ea;background:#fafafa;flex-shrink:0;}
.fdm-pt-btn{flex:1;padding:8px;border:1px solid #e5e5ea;background:#fff;border-radius:9px;font-size:0.84rem;font-weight:700;color:#8e8e93 !important;cursor:pointer;}
.fdm-pt-btn.active{background:#007AFF;border-color:#007AFF;color:#fff !important;}
.fdm-local{display:none;flex:1;min-height:0;flex-direction:column;background:#fff;}
.fdm-local-search{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #eee;}
.fdm-local-search i{color:#007AFF;}
.fdm-local-search input{flex:1;border:none;outline:none;font-size:0.95rem;background:transparent;}
.fdm-local-search button{border:none;background:none;color:#c7c7cc;cursor:pointer;}
.fdm-local-chips{display:flex;gap:6px;overflow-x:auto;padding:8px 12px;border-bottom:1px solid #f0f0f0;flex-shrink:0;}
.fdm-lchip{flex-shrink:0;padding:5px 11px;border:1px solid #e5e5ea;border-radius:15px;background:#fff;font-size:0.78rem;font-weight:700;color:#555 !important;cursor:pointer;white-space:nowrap;}
.fdm-lchip.on{background:#007AFF;border-color:#007AFF;color:#fff !important;}
.fdm-local-list{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.plcw-row{display:flex;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid #f2f2f2;cursor:pointer;}
.plcw-row:hover{background:#f7f9fc;}
.plcw-logo{width:46px;height:46px;border-radius:10px;object-fit:cover;flex-shrink:0;}
.plcw-logo-fb{display:flex;align-items:center;justify-content:center;background:#0ea5e9;color:#fff !important;font-weight:800;font-size:1.1rem;}
.plcw-row-body{flex:1;min-width:0;}
.plcw-row-name{font-weight:700;font-size:0.95rem;color:#111 !important;}
.plcw-unclaimed{font-size:0.66rem;font-weight:800;color:#007AFF !important;border:1px solid #cfe0ff;border-radius:6px;padding:0 5px;margin-left:5px;vertical-align:middle;}
.plcw-row-cat{font-size:0.8rem;color:#666 !important;}
.plcw-row-meta{font-size:0.78rem;color:#888 !important;margin-top:1px;}
.plcw-star{color:#f59e0b !important;font-weight:700;}
.plcw-open{color:#9ca3af !important;font-weight:700;}.plcw-open.on{color:#16a34a !important;}.plcw-hrs{color:#888 !important;}
.plcw-row-rec{font-size:0.78rem;color:#007AFF !important;font-weight:700;margin-top:2px;}
.plcw-chev{color:#c7c7cc;}
.plcw-empty{padding:30px 16px;text-align:center;color:#999 !important;}
.fdm-biz-modal{position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;z-index:8;display:flex;flex-direction:column;}
.fdm-biz-modal-hd{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #e5e5ea;font-weight:700;flex-shrink:0;}
.fdm-biz-modal-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.plcw-prof{padding:0 0 30px;}
.plcw-prof-head{text-align:center;padding:18px 16px 10px;}
.plcw-prof-logo{width:78px;height:78px;border-radius:16px;object-fit:cover;}
.plcw-prof-head .plcw-logo-fb{width:78px;height:78px;border-radius:16px;font-size:2rem;margin:0 auto;}
.plcw-prof-title{font-size:1.3rem;font-weight:800;margin-top:6px;color:#111 !important;}
.plcw-prof-cat{font-size:0.86rem;color:#666 !important;}
.plcw-prof-rating{font-size:0.95rem;font-weight:800;color:#111 !important;margin-top:3px;}.plcw-prof-rating span{font-weight:400;color:#888 !important;}.plcw-dim{color:#999 !important;font-weight:400;}
.plcw-prof-hq{font-size:0.82rem;color:#888 !important;margin-top:3px;}
.plcw-prof-open{font-size:0.9rem;font-weight:800;color:#9ca3af !important;margin-top:5px;}.plcw-prof-open.on{color:#16a34a !important;}.plcw-prof-open span{font-weight:400;color:#888 !important;}
.plcw-prof-trust{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:8px;}
.plcw-trust{font-size:0.76rem;font-weight:700;color:#007AFF !important;background:#eef4ff;border:1px solid #cfe0ff;border-radius:13px;padding:3px 9px;}
.plcw-call{display:flex;align-items:center;justify-content:center;gap:8px;background:#007AFF;color:#fff !important;text-decoration:none;margin:12px 16px 0;border-radius:11px;padding:12px;font-weight:800;}
.plcw-claim{margin:10px 16px 0;text-align:center;}
.plcw-sec{padding:14px 16px;border-top:1px solid #f2f2f2;margin-top:10px;}
.plcw-sec-h{font-size:0.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#8e8e93 !important;margin-bottom:7px;}
.plcw-chips{display:flex;flex-wrap:wrap;gap:6px;}.plcw-chip{font-size:0.8rem;background:#f2f2f7;border-radius:8px;padding:4px 9px;color:#333 !important;}
.plcw-photos{display:flex;gap:8px;overflow-x:auto;}.plcw-photo{width:120px;height:90px;object-fit:cover;border-radius:9px;flex-shrink:0;}
.plcw-hrow{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #f5f5f5;font-size:0.88rem;color:#333 !important;}.plcw-hrow.today{font-weight:800;}
.plcw-rev{padding:10px 0;border-bottom:1px solid #f3f3f3;}.plcw-rev-top{display:flex;align-items:flex-start;gap:8px;}.plcw-rev-stars{color:#f59e0b !important;margin-left:auto;flex-shrink:0;}
.plcw-nbr{font-size:0.62rem;font-weight:800;color:#fff !important;background:#0ea5e9;border-radius:5px;padding:1px 5px;}
.plcw-rev-sub{font-size:0.76rem;color:#999 !important;margin:2px 0;}.plcw-rev-body{font-size:0.9rem;color:#222 !important;}
.plcw-rev-reply{margin-top:6px;padding:8px;background:#f7f7f9;border-radius:8px;font-size:0.84rem;color:#444 !important;}
.plcw-rw-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;}
.plcw-rw-avg{font-size:1.5rem;font-weight:800;color:#111 !important;}.plcw-rw-stars{color:#f59e0b !important;letter-spacing:1px;}.plcw-rw-based{font-size:0.82rem;color:#888 !important;}
.plcw-rw-bars{margin-bottom:12px;}
.plcw-bar{display:flex;align-items:center;gap:8px;margin:3px 0;}
.plcw-bar-n{font-size:0.76rem;color:#888 !important;width:24px;}
.plcw-bar-track{flex:1;height:7px;background:#eee;border-radius:4px;overflow:hidden;}.plcw-bar-fill{display:block;height:100%;background:#f59e0b;}
.plcw-bar-c{font-size:0.76rem;color:#888 !important;width:34px;text-align:right;}
.plcw-rev-av{width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.plcw-rev-av-fb{display:flex;align-items:center;justify-content:center;background:#0ea5e9;color:#fff !important;font-weight:800;font-size:0.9rem;}
.plcw-rev-id{flex:1;min-width:0;}.plcw-rev-id strong{color:#111 !important;}
.plcw-src{display:inline-block;width:16px;height:16px;line-height:16px;text-align:center;border-radius:4px;font-size:0.6rem;font-weight:800;color:#fff !important;vertical-align:middle;}.plcw-src.g{background:#4285F4;}.plcw-src.u{background:#0ea5e9;}
.footer-dm-panel .plcw-call,.footer-dm-panel .plcw-call *{color:#fff !important;}
.footer-dm-panel .fdm-pt-btn.active,.footer-dm-panel .fdm-pt-btn.active *{color:#fff !important;}
.footer-dm-panel .plcw-claim .pl-claim-submit,.footer-dm-panel .plcw-claim .pl-claim-submit *{color:#fff !important;}
.plcw-claim{margin:12px 16px 0;}
.plcw-claim .pl-claim-link,.plcw-claim .pl-claim-open{display:inline-flex;align-items:center;gap:7px;width:100%;justify-content:center;background:#fff;color:#007AFF !important;border:1.5px solid #007AFF;border-radius:11px;padding:11px 16px;font-size:0.95rem;font-weight:800;cursor:pointer;text-decoration:none;}
.plcw-claim .pl-claim-open:hover{background:#f0f6ff;}
.plcw-claim .pl-claim-open::before{content:"\f0f7";font-family:"Font Awesome 6 Free";font-weight:900;font-size:0.85em;}
.plcw-claim .pl-claim-form{margin-top:12px;background:#f8f9fb;border:1px solid #e5e7eb;border-radius:12px;padding:14px;text-align:left;}
.plcw-claim .pl-claim-lead{font-size:0.84rem;color:#555 !important;margin:0 0 12px;}
.plcw-claim .pl-claim-form label{display:block;font-size:0.78rem;font-weight:700;color:#333 !important;margin-bottom:12px;}
.plcw-claim .pl-claim-form input,.plcw-claim .pl-claim-form select,.plcw-claim .pl-claim-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;padding:9px 11px;border:1px solid #d1d5db;border-radius:9px;font-size:0.9rem;font-weight:400;color:#111 !important;background:#fff;}
.plcw-claim .pl-claim-form textarea{min-height:70px;resize:vertical;}
.plcw-claim .pl-claim-agreement{font-size:0.8rem;color:#555 !important;background:#fff;border:1px dashed #cbd5e1;border-radius:9px;padding:10px;margin-bottom:12px;line-height:1.45;}
.plcw-claim .pl-claim-msg{font-size:0.84rem;font-weight:700;margin-bottom:10px;}
.plcw-claim .pl-claim-actions{display:flex;gap:8px;}
.plcw-claim .pl-claim-submit{flex:1;background:#007AFF;color:#fff !important;border:none;border-radius:10px;padding:11px;font-size:0.9rem;font-weight:800;cursor:pointer;}
.plcw-claim .pl-claim-cancel{background:#fff;color:#666 !important;border:1px solid #d1d5db;border-radius:10px;padding:11px 16px;font-size:0.9rem;font-weight:700;cursor:pointer;}
.fdm-mention-biz-star{margin-left:3px;font-weight:800;color:#f59e0b !important;}
.fdm-msg.sent .fdm-mention-biz-star{color:#f59e0b !important;}
.fdm-mention-menu{position:absolute;left:10px;right:10px;bottom:64px;z-index:2147483602;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.18);max-height:230px;overflow-y:auto;padding:4px;}
.fdm-mention-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:9px;cursor:pointer;}
.fdm-mention-row:hover{background:#f1f5f9;}
.fdm-mention-row img{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.fdm-mention-ph{width:28px;height:28px;border-radius:50%;background:#cbd5e1;flex-shrink:0;display:inline-block;}
.fdm-mention-nm{font-size:0.9rem;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0;}
.fdm-mention-bizt{font-size:0.62rem;font-weight:800;color:#0ea5e9 !important;background:#e0f2fe;border-radius:6px;padding:1px 6px;flex-shrink:0;}
.fdm-msg.fdm-msg-media{background:transparent !important;padding:0 !important;max-width:90%;}
.fdm-msg.sent.fdm-msg-media{align-self:flex-end;text-align:right;}
.fdm-msg.received.fdm-msg-media{align-self:flex-start;text-align:left;}
.fdm-msg.sent.fdm-msg-media .fdm-photo-grid{margin-left:auto;margin-right:0;}
.fdm-msg.received.fdm-msg-media .fdm-photo-grid{margin-right:auto;margin-left:0;}
.fdm-msg.fdm-msg-media .fdm-msg-time{color:#8e8e93 !important;}
.fdm-msg.fdm-msg-media .fdm-video-bubble{margin-top:0;}
.fdm-msg.sent *{color:#fff !important;}
.fdm-msg.received{align-self:flex-start;background:#e5e5ea;color:#000 !important;border-bottom-left-radius:4px;}
.fdm-msg-sender{align-self:flex-start;display:flex;align-items:center;gap:6px;font-size:0.72rem;font-weight:600;color:#666 !important;margin:6px 0 1px 2px;}
.fdm-msg-sender a{color:#666 !important;text-decoration:none;}
.fdm-msg-sender a:hover{color:#007AFF !important;text-decoration:underline;}
.fdm-msg-sender-ava{width:22px;height:22px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.fdm-msg.received.fdm-grp{margin-left:36px;}
.fdm-grp-ava{position:absolute;left:-36px;top:0;width:28px;height:28px;border-radius:50%;object-fit:cover;background:#d1d1d6;}
.fdm-grp-ava.fdm-coach{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#8e2de2,#4a00e0);color:#fff !important;font-size:0.74rem;}
.fdm-grp-ava-blank{background:#c7c7cc;}
.fdm-msg-name{align-self:flex-start;font-size:0.74rem;font-weight:600;color:#666 !important;margin:8px 0 2px 38px;}
.fdm-msg-name a{color:#666 !important;text-decoration:none;}
.fdm-msg-name a:hover{color:#007AFF !important;text-decoration:underline;}
.fdm-guest-badge{display:inline-block;font-size:0.66rem;font-weight:800;color:#C77700 !important;background:#C7770015;border-radius:8px;padding:0 6px;margin-left:4px;}
.fdm-msg-sender-ava.fdm-coach{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#8e2de2,#4a00e0);color:#fff !important;font-size:0.62rem;}
.fdm-msg-time{font-size:0.62rem;margin-top:3px;opacity:0.7;}
.fdm-msg.sent .fdm-msg-time{text-align:right;color:#d0e4ff !important;}
.fdm-msg.received .fdm-msg-time{text-align:left;color:#888 !important;}
.fdm-msg-photo{max-width:var(--fdmmw);border-radius:12px;margin-top:6px;cursor:pointer;}
.fdm-photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;width:var(--fdmmw);border-radius:12px;overflow:hidden;margin-top:6px;cursor:pointer;}
.fdm-photo-grid .fdm-pg-cell{position:relative;aspect-ratio:1/1;overflow:hidden;}
.fdm-photo-grid .fdm-pg-cell img{width:100%;height:100%;object-fit:cover;border-radius:0;margin-top:0;display:block;}
.fdm-msg:not(.fdm-msg-media) .fdm-photo-grid{width:100%;max-width:var(--fdmmw);}
.fdm-msg:not(.fdm-msg-media) .fdm-msg-photo{max-width:100%;}
.fdm-msg:not(.fdm-msg-media) .fdm-video-bubble{max-width:100%;}
.fdm-photo-grid.fdm-pg-more .fdm-pg-cell:nth-child(n+5){display:none;}
.fdm-pg-overlay{position:absolute;inset:0;background:rgba(0,0,0,0.5);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.3rem;font-weight:700;pointer-events:none;}
.fdm-video-bubble{margin-top:6px;border-radius:12px;overflow:hidden;background:#000;position:relative;max-width:var(--fdmmw);cursor:pointer;}
.fdm-video-bubble.fdm-video-pending{background:#eef1f5 !important;color:#374151 !important;padding:10px 14px;font-size:0.78rem;font-weight:600;display:inline-flex;align-items:center;gap:8px;max-width:none;border:1px solid #e2e8f0;border-radius:14px;}
.fdm-video-bubble.fdm-video-pending,.fdm-video-bubble.fdm-video-pending *{color:#374151 !important;}
.fdm-msg.sent .fdm-video-bubble.fdm-video-pending,.fdm-msg.sent .fdm-video-bubble.fdm-video-pending *{color:#374151 !important;}
.fdm-video-thumb{width:var(--fdmmw);aspect-ratio:3/2;background-color:#222;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.fdm-video-play{background:rgba(0,0,0,0.55);color:#fff !important;border:none;border-radius:50%;width:58px;height:58px;font-size:1.4rem;cursor:pointer;display:flex;align-items:center;justify-content:center;pointer-events:none;}
.fdm-video-play i, .fdm-video-play .fa-play{color:#fff !important;text-shadow:0 1px 3px rgba(0,0,0,0.45);}
.fdm-video-play:hover{background:rgba(0,0,0,0.75);}
.fdm-video-bubble.fdm-video-live{background:linear-gradient(135deg,#1a1a2e,#16213e);}
.fdm-video-live-thumb{position:relative;background-color:#0d1b2a;}
.fdm-live-tag{position:absolute;top:8px;left:8px;display:flex;align-items:center;gap:5px;background:#FF3B30;color:#fff;font-size:0.62rem;font-weight:800;letter-spacing:0.5px;padding:3px 8px;border-radius:10px;}
.fdm-live-dot{width:7px;height:7px;border-radius:50%;background:#fff;animation:fdmLivePulse 1.2s ease-in-out infinite;}
.fdm-video-live .fdm-video-play{background:rgba(255,59,48,0.92);}
.fdm-live-label{padding:7px 12px;font-size:0.72rem;font-weight:700;color:#FF3B30;background:#0d1b2a;}
@keyframes fdmLivePulse{0%,100%{opacity:1;}50%{opacity:0.3;}}
.fdm-video-play:hover i, .fdm-video-play:hover .fa-play{color:#fff !important;}
.fdm-video-player{width:var(--fdmmw);max-height:480px;background:#000;display:block;}
.footer-dm-videos-toggle.active{background:#FF3B30 !important;color:#fff !important;border-radius:6px;}
.footer-dm-videos-toggle.active i{color:#fff !important;}
.fdm-msg-photo-wrap{position:relative;display:inline-block;}
#fdm-voice-bar{display:none;align-items:center;gap:10px;flex:1;min-width:0;padding:6px 10px;background:#fff5f5;border:1px solid #ffd5d5;border-radius:22px;}
#fdm-voice-bar.open{display:flex;}
#fdm-voice-bar button{background:none;border:none;cursor:pointer;font-size:1.05rem;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
#fdm-voice-cancel{color:#888 !important;}#fdm-voice-cancel:hover{background:#f0f0f0;color:#333 !important;}
#fdm-voice-send{color:#fff !important;background:#FF3B30;}#fdm-voice-send:hover{background:#d63027;}
#fdm-voice-timer{font-variant-numeric:tabular-nums;font-weight:700;color:#FF3B30;font-size:0.9rem;min-width:42px;}
.fdm-voice-hint{font-size:0.8rem;color:#b91c1c;flex:1;min-width:0;}
.fdm-voice-rec-dot{width:10px;height:10px;border-radius:50%;background:#FF3B30;flex-shrink:0;animation:fdmVoicePulse 1s ease-in-out infinite;}
@keyframes fdmVoicePulse{0%,100%{opacity:1;}50%{opacity:0.25;}}
.fdm-voice-bubble{margin-top:6px;display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border-radius:18px;background:#eef1f5;cursor:pointer;max-width:var(--fdmmw);}
.fdm-msg.sent .fdm-voice-bubble{background:rgba(255,255,255,0.22);}
.fdm-voice-bubble .fdm-voice-play{width:30px;height:30px;border-radius:50%;background:#007AFF;color:#fff !important;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:0.8rem;}
.fdm-msg.sent .fdm-voice-bubble .fdm-voice-play{background:#fff;color:#5AA9FF !important;}
.fdm-voice-bubble .fdm-voice-wave{flex:1;min-width:60px;height:3px;border-radius:2px;background:linear-gradient(90deg,#9bb4d4 0 35%,#cdd7e6 35% 100%);}
.fdm-msg.sent .fdm-voice-bubble .fdm-voice-wave{background:linear-gradient(90deg,#fff 0 35%,rgba(255,255,255,0.4) 35% 100%);}
.fdm-voice-bubble .fdm-voice-dur{font-size:0.78rem;color:#475569;font-variant-numeric:tabular-nums;flex-shrink:0;}
.fdm-msg.sent .fdm-voice-bubble .fdm-voice-dur{color:#eaf2ff;}
.fdm-share-modal{position:absolute;inset:0;background:rgba(15,23,42,0.45);z-index:2147483602;display:none;align-items:center;justify-content:center;padding:14px;}
.fdm-share-modal[style*="flex"]{display:flex;}
.fdm-share-box{background:#fff;border-radius:16px;width:100%;max-width:380px;max-height:80%;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,0.28);}
.fdm-share-head{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid #eef2f7;font-weight:700;font-size:0.95rem;color:#0f172a;}
.fdm-share-head i{color:#FF2D55;}
.fdm-share-x{background:none;border:none;font-size:1.5rem;line-height:1;color:#94a3b8;cursor:pointer;}
.fdm-share-search{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid #eef2f7;}
.fdm-share-search i{color:#94a3b8;}
.fdm-share-search input{flex:1;border:none;outline:none;font-size:0.95rem;color:#0f172a;background:none;}
.fdm-share-chips{display:flex;gap:7px;overflow-x:auto;padding:9px 12px;border-bottom:1px solid #eef2f7;flex-shrink:0;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.fdm-share-chips::-webkit-scrollbar{display:none;}
.fdm-share-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;border-radius:16px;padding:6px 12px;font-size:0.82rem;font-weight:600;cursor:pointer;white-space:nowrap;line-height:1;}
.fdm-share-chip i{font-size:0.78rem;}
.fdm-share-chip.is-on{background:#FF2D55;border-color:#FF2D55;color:#fff;}
.fdm-share-results{flex:1 1 auto;min-height:0;overflow-y:auto;padding:6px;-webkit-overflow-scrolling:touch;}
.fdm-share-more{padding:14px;text-align:center;color:#94a3b8;font-size:0.85rem;}
.fdm-share-row{display:flex;align-items:center;gap:11px;width:100%;border:none;background:none;text-align:left;padding:8px 10px;border-radius:10px;cursor:pointer;}
.fdm-share-row:hover{background:#f1f5f9;}
.fdm-share-row > i{color:#5AA9FF;margin-left:auto;}
.fdm-share-thumb{width:42px;height:42px;border-radius:8px;object-fit:cover;flex-shrink:0;}
.fdm-share-thumb-ph{display:flex;align-items:center;justify-content:center;background:#FF2D55;color:#fff;}
.fdm-share-meta{display:flex;flex-direction:column;min-width:0;flex:1;}
.fdm-share-t{font-size:0.9rem;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fdm-share-s{font-size:0.76rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.fdm-share-empty{padding:26px 16px;text-align:center;color:#94a3b8;font-size:0.9rem;}
.fdm-share-card{margin-top:6px;display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:14px;background:#eef1f5;max-width:var(--fdmmw);text-decoration:none;cursor:pointer;}
.fdm-msg.sent .fdm-share-card{background:rgba(255,255,255,0.2);}
.fdm-share-card .fdm-share-t{font-size:0.88rem;}
.fdm-msg.sent .fdm-share-card .fdm-share-t{color:#fff;}
.fdm-msg.sent .fdm-share-card .fdm-share-s{color:#eaf2ff;}
.fdm-share-card .fdm-share-play{width:34px;height:34px;border-radius:50%;background:#FF2D55;color:#fff !important;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:0.85rem;}
.fdm-share-card .fdm-share-cover{width:40px;height:40px;border-radius:8px;object-fit:cover;flex-shrink:0;}
.fdm-share-card .fdm-share-open{color:#FF2D55;margin-left:auto;flex-shrink:0;}
.fdm-msg.sent .fdm-share-card .fdm-share-open{color:#fff;}
.fdm-music-card{min-width:230px;max-width:300px;}
.fdm-music-card .fdm-share-s{white-space:normal;line-height:1.35;}
#fdm-player-slot{display:none;position:relative;}
#fdm-player-slot.fdm-player-on{display:block;}
#fdm-player-slot .pl-now-playing{position:static !important;bottom:auto !important;left:auto !important;right:auto !important;z-index:auto !important;border-radius:14px 14px 0 0;box-shadow:0 -2px 10px rgba(0,0,0,0.12);padding-right:46px;}
#fdm-player-close{position:absolute;top:7px;right:10px;z-index:3;width:26px;height:26px;border-radius:50%;border:none;background:rgba(255,255,255,0.16);color:#fff;font-size:0.9rem;cursor:pointer;display:flex;align-items:center;justify-content:center;}
#fdm-player-close:hover{background:rgba(255,255,255,0.3);}
#fdm-player-slot .pl-now-playing,#fdm-player-slot .pl-now-playing .pl-np-title,#fdm-player-slot .pl-now-playing .pl-np-artist,#fdm-player-slot .pl-now-playing .pl-np-time,#fdm-player-slot .pl-now-playing button,#fdm-player-slot .pl-now-playing i{color:#fff !important;}
#fdm-player-slot .pl-now-playing .pl-np-btn.play-pause{background:#007AFF !important;}
#fdm-player-slot .pl-now-playing .pl-np-progress{background:rgba(255,255,255,0.22) !important;}
#fdm-player-slot .pl-np-popout-btn{display:none !important;}
.pl-lyrics-panel{z-index:2147483601 !important;}
.fdm-lightbox{position:fixed;inset:0;background:rgba(0,0,0,0.92);z-index:200001;display:none;align-items:center;justify-content:center;touch-action:none;overscroll-behavior:contain;}
.fdm-lightbox.open{display:flex;}
.fdm-lightbox .fdm-lb-img{max-width:92vw;max-height:86vh;border-radius:8px;box-shadow:0 6px 40px rgba(0,0,0,0.6);object-fit:contain;touch-action:none;transform-origin:center center;will-change:transform;}
.fdm-lightbox .fdm-lb-close{position:absolute;top:14px;right:18px;background:none;border:none;color:#fff;font-size:2.2rem;line-height:1;cursor:pointer;opacity:0.85;z-index:2;}
.fdm-lightbox .fdm-lb-close:hover{opacity:1;}
.fdm-lightbox .fdm-lb-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,0.4);border:none;color:#fff;font-size:2rem;line-height:1;width:48px;height:48px;border-radius:50%;cursor:pointer;opacity:0.85;display:flex;align-items:center;justify-content:center;}
.fdm-lightbox .fdm-lb-nav:hover{opacity:1;}
.fdm-lightbox .fdm-lb-prev{left:14px;}
.fdm-lightbox .fdm-lb-next{right:14px;}
.fdm-lightbox .fdm-lb-counter{position:absolute;top:16px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,0.85);font-size:0.85rem;}
.fdm-lb-bar{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:16px;z-index:3;}
.fdm-lb-act{background:rgba(255,255,255,0.16);color:#fff !important;border:none;border-radius:50%;width:50px;height:50px;font-size:1.15rem;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.fdm-lb-act i{color:#fff !important;}
.fdm-lb-act:hover{background:rgba(255,255,255,0.3);}
.fdm-lb-del:hover{background:rgba(255,59,48,0.9);}
.fdm-remove-photo{position:absolute;top:8px;right:4px;background:rgba(0,0,0,0.6);color:#fff !important;border:none;border-radius:50%;width:22px;height:22px;font-size:0.65rem;cursor:pointer;display:none;align-items:center;justify-content:center;line-height:1;}
.fdm-msg.sent:hover .fdm-remove-photo{display:flex;}
.fdm-msg-actions{display:none;margin-top:4px;text-align:right;}
.fdm-msg.sent:hover .fdm-msg-actions{display:block;}
.fdm-delete-msg{background:none;border:none;color:#ff4444 !important;font-size:0.72rem;cursor:pointer;padding:2px 6px;opacity:0.8;}
.fdm-edit-msg{background:none;border:none;color:#007AFF !important;font-size:0.72rem;cursor:pointer;padding:2px 6px;opacity:0.8;}
.fdm-edit-msg:hover{opacity:1;text-decoration:underline;}
.fdm-edit-wrap{margin-top:2px;}
.fdm-msg .fdm-edit-area{width:100%;min-width:200px;box-sizing:border-box;border:1px solid #007AFF;border-radius:8px;padding:6px 8px;font-family:inherit;font-size:0.88rem;line-height:1.4;resize:none;overflow:hidden;outline:none;}
.fdm-msg.sent .fdm-edit-area,.fdm-msg.received .fdm-edit-area{color:#000 !important;background:#fff !important;}
.fdm-edit-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:6px;}
.fdm-edit-actions button{border:none;border-radius:10px;padding:5px 12px;font-size:0.74rem;font-weight:600;cursor:pointer;}
.fdm-msg.sent .fdm-edit-actions .fdm-edit-cancel,.fdm-msg.received .fdm-edit-actions .fdm-edit-cancel{background:#e5e5ea;color:#333 !important;}
.fdm-msg.sent .fdm-edit-actions .fdm-edit-save,.fdm-msg.received .fdm-edit-actions .fdm-edit-save{background:#007AFF;color:#fff !important;}
.fdm-delete-msg:hover{opacity:1;text-decoration:underline;}
@media (hover:none){.fdm-msg.sent .fdm-remove-photo{display:flex;}.fdm-msg.sent .fdm-msg-actions{display:block;}}
.fdm-thread-input{display:flex;gap:8px;padding:10px 16px;padding-bottom:calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e5e5ea;background:#fff;flex-shrink:0;position:relative;align-items:flex-end;box-sizing:border-box;max-width:100%;}
.fdm-attach-btn{background:none;border:none;color:#007AFF !important;font-size:1.3rem;cursor:pointer;padding:6px;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;}
.fdm-attach-btn:hover{background:#f0f4ff;color:#0056b3 !important;}
.fdm-attach-btn i{color:inherit !important;}
.fdm-attach-menu{display:none;position:absolute;bottom:calc(100% + 6px);left:12px;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,0.18);overflow:hidden;min-width:200px;z-index:100;}
.fdm-attach-menu.open{display:block;}
.fdm-attach-item{display:flex;align-items:center;gap:10px;padding:12px 16px;cursor:pointer;font-size:0.88rem;color:#333 !important;background:#fff;border-bottom:1px solid #f0f0f0;text-decoration:none;}
.fdm-attach-item:last-child{border-bottom:none;}
.fdm-attach-item:hover{background:#f5f7fa;color:#000 !important;text-decoration:none;}
.fdm-attach-item i{color:#007AFF !important;width:20px;text-align:center;font-size:0.95rem;}
.fdm-thread-input input,.fdm-thread-input textarea{flex:1 1 auto;min-width:0;width:100%;box-sizing:border-box;border:1px solid #ddd;border-radius:20px;padding:10px 16px;font-size:16px !important;outline:none;color:#000 !important;background:#f5f5f7;font-family:inherit;line-height:1.4;resize:none;max-height:120px;overflow-y:auto;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word;-webkit-text-size-adjust:100%;}
.fdm-thread-input input:focus,.fdm-thread-input textarea:focus{border-color:#007AFF;background:#fff;}
.fdm-thread-input input::placeholder,.fdm-thread-input textarea::placeholder{color:#aaa !important;}
#fdm-thread-send{background:#007AFF;color:#fff !important;border:none;border-radius:50%;width:40px;height:40px;font-size:0.95rem;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
#fdm-thread-send i, #fdm-thread-send svg{color:#fff !important;fill:#fff !important;}
#fdm-thread-send:hover{background:#0056b3;}
#fdm-thread-send:disabled{background:#ccc;cursor:not-allowed;}
.fdm-thread-date-sep{text-align:center;font-size:0.7rem;color:#8e8e93 !important;padding:8px 0;font-weight:600;}
.fdm-thread-empty{text-align:center;padding:40px;color:#8e8e93 !important;font-size:0.88rem;}

/* ============================================================
   PHASE 1 — header restyle (search-in-header + icon cleanup).
   Appended so these override the verbatim Phase-0 rules above.
   ============================================================ */
.footer-dm-panel-hd{gap:9px;padding:11px 14px;}
.footer-dm-panel-hd h3{flex:0 0 auto !important;font-size:1.18rem;}
.fdm-hd-search{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;background:#f1f3f6;border:1px solid #e1e3e8;border-radius:9px;padding:7px 12px;}
.fdm-hd-search i{font-size:0.82rem;color:#007AFF;flex-shrink:0;}
.fdm-hd-search input{flex:1;min-width:0;border:none;background:none;outline:none;font-size:0.85rem;color:#000;}
.fdm-hd-search input::placeholder{color:#9aa0a6 !important;}
.footer-dm-hd-actions{gap:2px;}
/* Folded-away actions — hidden, NOT removed (their JS bindings stay valid). */
#footer-dm-new-group,.footer-dm-expand-page,#footer-dm-settings-btn{display:none !important;}
/* Compose is now the single context "+" (blue, like the mock). */
#footer-dm-new-msg{color:#007AFF !important;}
/* Phone-width panel: drop the title so the search has room. */
@media (max-width:480px){.footer-dm-panel-hd h3{display:none;}}

/* ============================================================
   PHASE 1 Step 2 — tab row: Active · Video Chat · Circles · Business · Filter.
   ============================================================ */
.footer-dm-panel-tabs{display:flex;align-items:stretch;}
.fdm-tabs-scroll{flex:1;min-width:0;display:flex;overflow-x:auto;}
.fdm-tabs-scroll::-webkit-scrollbar{height:0;}
.fdm-tabs-scroll .fdm-tab{flex:1 1 auto;white-space:nowrap;}
.fdm-filter-btn{flex-shrink:0;width:42px;border:none;background:none;color:#64748b;font-size:0.86rem;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.fdm-filter-btn:hover{color:#007AFF;}
/* Video Chat is now a tab — retire the old header video toggle (kept in DOM, just hidden). */
#footer-dm-videos-toggle{display:none !important;}
@media (max-width:480px){
  .footer-dm-panel-tabs .fdm-tab{font-size:0.68rem;padding:9px 5px;}
  .footer-dm-panel-tabs .fdm-tab i{font-size:0.62rem;margin-right:2px;}
}

/* ============================================================
   PHASE 2 — Circle FEED (Feed tab inside a place circle).
   Matches the approved mock (circles.html). Class prefix .plcf-.
   ============================================================ */
.fdm-feed{display:none;flex:1;min-height:0;flex-direction:column;background:#fff;}
.fdm-feed-chips{display:flex;gap:8px;overflow-x:auto;padding:10px 14px 6px;border-bottom:1px solid #f0f0f0;flex-shrink:0;}
.fdm-feed-chips::-webkit-scrollbar{height:0;}
.fdm-fchip{flex-shrink:0;border:none;background:#f1f3f6;color:#64748b !important;border-radius:18px;padding:7px 15px;font-size:0.82rem;font-weight:700;cursor:pointer;white-space:nowrap;}
.fdm-fchip.on{background:#007AFF;color:#fff !important;}
.fdm-feed-list{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.plcf-empty{text-align:center;padding:34px 18px;color:#94a3b8 !important;font-size:0.9rem;}
.plcf-more{display:block;width:calc(100% - 32px);margin:12px 16px 20px;padding:10px;border:1px solid #e5e7eb;background:#fff;border-radius:10px;color:#007AFF !important;font-weight:700;font-size:0.85rem;cursor:pointer;}

.plcf-card{padding:13px 16px;border-bottom:8px solid #f3f4f7;}
.plcf-badges{display:flex;align-items:center;gap:8px;margin-bottom:9px;flex-wrap:wrap;}
.plcf-type{display:inline-flex;align-items:center;gap:5px;font-size:0.74rem;font-weight:700;border-radius:8px;padding:3px 9px;}
.plcf-type i{font-size:0.78rem;}
.plcf-near{font-size:0.72rem;font-style:italic;color:#94a3b8 !important;}
.plcf-resolved{display:inline-flex;align-items:center;gap:4px;font-size:0.72rem;font-weight:700;color:#34C759 !important;}
.plcf-live{font-size:0.6rem;font-weight:800;color:#fff !important;background:#FF3B30;border-radius:5px;padding:2px 6px;display:inline-flex;align-items:center;gap:4px;}
.plcf-live-dot{width:6px;height:6px;border-radius:50%;background:#fff;animation:plcfbl 1s infinite;}
@keyframes plcfbl{50%{opacity:.3;}}
.plcf-time{margin-left:auto;font-size:0.74rem;color:#94a3b8 !important;font-weight:600;}
.plcf-auth{display:flex;align-items:center;gap:9px;margin-bottom:8px;}
.plcf-av{width:30px;height:30px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.plcf-av-fb{display:flex;align-items:center;justify-content:center;color:#fff !important;font-weight:800;font-size:0.78rem;}
.plcf-auth-main{min-width:0;}
.plcf-an{font-size:0.88rem;font-weight:800;display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#0f172a !important;}
.plcf-bdg{font-size:0.6rem;font-weight:800;border-radius:5px;padding:1px 6px;display:inline-flex;align-items:center;gap:3px;color:#fff !important;}
.plcf-bdg-biz{background:#007AFF;}
.plcf-bdg-known{background:#1a8a4a;}
.plcf-bdg-guest{background:#C77700;}
.plcf-asub{font-size:0.74rem;color:#64748b !important;margin-top:1px;}
.plcf-title{font-size:0.97rem;font-weight:800;line-height:1.32;margin:1px 0 3px;color:#0f172a !important;}
.plcf-body{font-size:0.88rem;color:#1c2530 !important;line-height:1.45;}
.plcf-photo{margin:10px 0 2px;border-radius:12px;width:100%;max-height:280px;object-fit:cover;display:block;}
.plcf-video{margin:10px 0 2px;border-radius:12px;width:100%;height:180px;background:#1c1c1e center/cover no-repeat;position:relative;}
.plcf-play{position:absolute;inset:0;margin:auto;width:48px;height:48px;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.1rem;}
.plcf-voice{margin:9px 0 2px;display:inline-flex;align-items:center;gap:8px;background:#f1f3f6;border-radius:20px;padding:8px 14px;font-size:0.82rem;font-weight:600;color:#334155;}
.plcf-voice i{color:#007AFF;}
.plcf-share{display:flex;align-items:center;gap:10px;margin:9px 0 2px;border:1px solid #e9e9ee;border-radius:11px;padding:9px;}
.plcf-share-th{width:46px;height:46px;border-radius:8px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.1rem;background:#7c3aed;}
.plcf-share-k{font-size:0.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#007AFF !important;}
.plcf-share-t{font-size:0.85rem;font-weight:700;}.plcf-share-s{font-size:0.74rem;color:#64748b !important;}
.plcf-deep{display:inline-flex;align-items:center;gap:5px;margin-top:9px;font-size:0.8rem;font-weight:700;color:#007AFF !important;text-decoration:none;}
.plcf-foot{display:flex;align-items:center;gap:20px;margin-top:11px;}
.plcf-votes{display:flex;align-items:center;gap:9px;}
.plcf-votes button{border:none;background:none;font-size:1.35rem;color:#c2c2c8 !important;line-height:1;display:flex;cursor:pointer;padding:0;}
.plcf-up.on{color:#34C759 !important;}.plcf-down.on{color:#FF3B30 !important;}
.plcf-score{font-size:0.86rem;font-weight:800;min-width:16px;text-align:center;color:#5b6472 !important;}
.plcf-score.pos{color:#34C759 !important;}.plcf-score.neg{color:#FF3B30 !important;}
.plcf-mreact,.plcf-mcomment,.plcf-resolve{display:inline-flex;align-items:center;gap:7px;color:#8a909a !important;font-size:0.85rem;font-weight:700;border:none;background:none;cursor:pointer;padding:0;}
.plcf-mreact i,.plcf-mcomment i{font-size:1.1rem;}
.plcf-mreact.on i{color:#FF3B30 !important;}
.plcf-resolve{margin-left:auto;color:#34C759 !important;}
/* inline comments */
.plcf-cmts{margin-top:12px;border-top:1px solid #f0f0f0;padding-top:10px;}
.plcf-cmt{padding:7px 0;}
.plcf-cmt.top{background:#f0fdf4;border-radius:10px;padding:8px 10px;}
.plcf-cmt-row{display:flex;gap:9px;}
.plcf-cmt-av{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.plcf-cmt-main{min-width:0;flex:1;}
.plcf-cmt-hd{font-size:0.8rem;color:#0f172a !important;}.plcf-cmt-hd strong{font-weight:800;}
.plcf-cmt-ago{color:#94a3b8 !important;font-weight:600;margin-left:4px;font-size:0.72rem;}
.plcf-cmt-body{font-size:0.86rem;color:#1c2530 !important;line-height:1.4;margin-top:1px;}
.plcf-cmt-replies{margin-left:24px;border-left:2px solid #f0f0f0;padding-left:8px;}
.plcf-cmt-add{display:flex;gap:8px;margin-top:8px;}
.plcf-cmt-input{flex:1;border:1px solid #e5e7eb;border-radius:18px;padding:8px 14px;font-size:0.85rem;outline:none;}
.plcf-cmt-input:focus{border-color:#007AFF;}
.plcf-cmt-send{border:none;background:#007AFF;color:#fff;border-radius:18px;padding:8px 16px;font-weight:700;font-size:0.82rem;cursor:pointer;}
