:root{--font-ui:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--navy-950:#06080d;--navy-900:#090d16;--navy-850:#0d1322;--navy-800:#111827;--navy-700:#1e293b;--navy:#090d16;--navy-dark:#06080d;--navy-light:#162035;--blue:#2563eb;--blue-dark:#1d4ed8;--blue-light:#3b82f6;--teal:#0284c7;--teal-dark:#0369a1;--teal-light:#38bdf8;--cyan:#06b6d4;--indigo:#4f46e5;--bg:#f8fafc;--bg-subtle:#f1f5f9;--card-bg:#ffffff;--border:#e2e8f0;--border-subtle:#f1f5f9;--border-focus:#0284c7;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#64748b;--text-subtle:#94a3b8;--text:#0f172a;--success:#059669;--success-bg:#ecfdf5;--success-border:#a7f3d0;--warning:#d97706;--warning-bg:#fffbeb;--warning-border:#fde68a;--danger:#dc2626;--danger-bg:#fef2f2;--danger-border:#fecaca;--info:#0284c7;--info-bg:#f0f9ff;--info-border:#bae6fd;--purple:#7c3aed;--purple-bg:#f5f3ff;--purple-border:#ddd6fe;--shadow-xs:0 1px 2px rgba(15,23,42,0.04);--shadow-sm:0 1px 3px rgba(15,23,42,0.06),0 1px 2px rgba(15,23,42,0.03);--shadow-card:0 1px 3px rgba(15,23,42,0.04),0 8px 24px -4px rgba(15,23,42,0.04);--shadow-float:0 16px 36px -6px rgba(15,23,42,0.09),0 6px 14px -2px rgba(15,23,42,0.04);--shadow-dropdown:0 20px 45px -8px rgba(9,13,22,0.18),0 8px 18px -4px rgba(0,0,0,0.06);--shadow-modal:0 32px 64px -12px rgba(9,13,22,0.32),0 18px 36px -8px rgba(0,0,0,0.15);--glass-topbar-bg:rgba(255,255,255,0.82);--glass-thead-bg:rgba(248,250,252,0.94);--glass-border:rgba(226,232,240,0.85);--glass-blur:blur(14px) saturate(180%);--transition-spring:all 0.22s cubic-bezier(0.16,1,0.3,1);--transition-smooth:all 0.15s ease-out}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-ui);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;background-color:var(--bg);color:var(--text-primary);line-height:1.5;min-height:100vh;font-size:13.5px}h1,h2,h3,h4,h5,h6,.fcrm-topbar-title,.fcrm-panel-title,.fcrm-modal-title,.fcrm-login-title{font-family:var(--font-ui);font-weight:700;letter-spacing:-0.025em;color:var(--navy)}.fcrm-kpi-val,.fcrm-table td.fcrm-col-num,.fcrm-tabular,.fcrm-search-kbd,.fcrm-token-pill{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.fcrm-login-wrap{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px;background:radial-gradient(circle at 50% 15%,#182238 0%,#090d16 100%);position:relative;overflow:hidden}.fcrm-login-wrap::before{content:'';position:absolute;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(2,132,199,0.12) 0%,transparent 70%);top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.fcrm-login-card{background:rgba(255,255,255,0.98);border-radius:18px;box-shadow:var(--shadow-modal);border:1px solid rgba(255,255,255,0.6);width:100%;max-width:460px;padding:42px 38px;text-align:center;position:relative;z-index:10;animation:fcrmScaleIn 0.3s cubic-bezier(0.16,1,0.3,1)}.fcrm-login-logo{max-height:40px;margin-bottom:22px;filter:drop-shadow(0 2px 4px rgba(0,0,0,0.05))}.fcrm-login-title{font-size:23px;font-weight:800;color:var(--navy);margin-bottom:6px;letter-spacing:-0.03em}.fcrm-login-subtitle{font-size:13.5px;color:var(--text-muted);margin-bottom:28px}.fcrm-form-group{text-align:left;margin-bottom:20px}.fcrm-label{display:block;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:var(--text-secondary);margin-bottom:7px}.fcrm-input{width:100%;padding:11px 15px;font-size:13.5px;border:1px solid var(--border);border-radius:9px;outline:none;background:#ffffff;transition:var(--transition-smooth);font-family:inherit;color:var(--text-primary);box-shadow:var(--shadow-xs)}.fcrm-input:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(2,132,199,0.15),var(--shadow-xs)}.fcrm-btn-submit{width:100%;padding:13px;background:linear-gradient(135deg,#0284c7 0%,#1e40af 100%);color:#ffffff;font-size:14px;font-weight:600;border:none;border-radius:9px;cursor:pointer;transition:var(--transition-spring);box-shadow:0 2px 8px rgba(2,132,199,0.35);font-family:inherit}.fcrm-btn-submit:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(2,132,199,0.4);opacity:0.96}.fcrm-alert-box{padding:12px 16px;border-radius:9px;font-size:13px;margin-bottom:20px;text-align:left;border:1px solid transparent}.fcrm-alert-error{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-border)}.fcrm-quick-tokens{margin-top:26px;border-top:1px solid var(--border);padding-top:22px;text-align:left}.fcrm-quick-tokens p{font-size:11px;color:var(--text-muted);margin-bottom:10px;font-weight:600;text-transform:uppercase;letter-spacing:0.05em}.fcrm-token-pill{display:block;padding:8px 12px;background:#f8fafc;border:1px solid var(--border);border-radius:7px;font-size:12px;color:var(--navy);margin-bottom:6px;cursor:pointer;text-decoration:none;transition:var(--transition-spring);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.fcrm-token-pill:hover{background:#eff6ff;border-color:var(--teal);transform:translateX(3px);box-shadow:var(--shadow-xs)}.fcrm-app-container{display:flex;min-height:100vh;background:var(--bg)}.fcrm-sidebar{width:260px;background:linear-gradient(180deg,#090d16 0%,#05070c 100%);color:#ffffff;display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;height:100vh;z-index:50;border-right:1px solid rgba(255,255,255,0.07);box-shadow:2px 0 16px rgba(0,0,0,0.12)}.fcrm-sidebar-brand{padding:22px 20px;border-bottom:1px solid rgba(255,255,255,0.08);display:flex;flex-direction:column;gap:6px}.fcrm-sidebar-brand img{max-height:30px;width:auto;filter:brightness(0) invert(1)}.fcrm-badge-ai{background:linear-gradient(135deg,#0284c7 0%,#6366f1 100%);color:#ffffff;font-size:9.5px;font-weight:700;padding:3px 8px;border-radius:9999px;display:inline-block;width:fit-content;text-transform:uppercase;letter-spacing:0.06em;box-shadow:0 2px 8px rgba(2,132,199,0.35)}.fcrm-nav{padding:16px 12px;flex:1;overflow-y:auto}.fcrm-nav-item{display:flex;align-items:center;gap:11px;padding:10px 14px;color:#94a3b8;font-size:13px;font-weight:500;border-radius:8px;cursor:pointer;margin-bottom:3px;text-decoration:none;transition:var(--transition-spring);position:relative}.fcrm-nav-item:hover{color:#ffffff;background:rgba(255,255,255,0.06);transform:translateX(2px)}.fcrm-nav-item.active{color:#ffffff;font-weight:600;background:linear-gradient(90deg,rgba(2,132,199,0.28) 0%,rgba(2,132,199,0.08) 100%);border-left:3px solid #0284c7;box-shadow:inset 0 0 16px rgba(2,132,199,0.12)}.fcrm-sidebar-footer{padding:16px 20px;border-top:1px solid rgba(255,255,255,0.08);background:#06080d;display:flex;justify-content:space-between;align-items:center}.fcrm-user-info{font-size:12px;line-height:1.35}.fcrm-user-name{font-weight:600;color:#ffffff;font-size:12.5px}.fcrm-user-role{color:#38bdf8;font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:0.04em}.fcrm-main{flex:1;display:flex;flex-direction:column;overflow-x:hidden;background:var(--bg)}.fcrm-topbar{background:var(--glass-topbar-bg);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);height:68px;border-bottom:1px solid var(--glass-border);padding:0 32px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:40;box-shadow:var(--shadow-xs)}.fcrm-topbar-title{font-size:18px;font-weight:700;color:var(--navy);letter-spacing:-0.025em}.fcrm-topbar-actions{display:flex;gap:12px;align-items:center}.fcrm-content{padding:28px 32px 48px;flex:1}.fcrm-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 15px;font-size:12.5px;font-weight:600;border-radius:8px;cursor:pointer;border:1px solid transparent;transition:var(--transition-spring);text-decoration:none;font-family:inherit;line-height:1.4}.fcrm-btn-primary{background:linear-gradient(135deg,#0284c7 0%,#0369a1 100%);color:#ffffff;box-shadow:0 1px 3px rgba(2,132,199,0.3),inset 0 1px 0 rgba(255,255,255,0.2)}.fcrm-btn-primary:hover{background:linear-gradient(135deg,#0369a1 0%,#075985 100%);transform:translateY(-1px);box-shadow:0 4px 12px rgba(2,132,199,0.35);color:#ffffff}.fcrm-btn-secondary{background:#ffffff;border-color:var(--border);color:var(--text-primary);box-shadow:var(--shadow-xs)}.fcrm-btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1;color:var(--navy);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.fcrm-btn-navy{background:var(--navy);color:#ffffff;box-shadow:0 1px 3px rgba(9,13,22,0.3)}.fcrm-btn-navy:hover{background:var(--navy-light);transform:translateY(-1px);box-shadow:0 4px 12px rgba(9,13,22,0.35)}.fcrm-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin-bottom:28px}.fcrm-kpi-card{background:#ffffff;padding:20px 22px;border-radius:14px;border:1px solid var(--border);box-shadow:var(--shadow-card);transition:var(--transition-spring);position:relative;overflow:hidden;display:flex;flex-direction:column}.fcrm-kpi-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:transparent;transition:var(--transition-smooth)}.fcrm-kpi-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-float);border-color:#cbd5e1}.fcrm-kpi-card:hover::before{background:linear-gradient(90deg,#0284c7,#6366f1)}.fcrm-kpi-label{font-size:11px;font-weight:600;text-transform:uppercase;color:var(--text-muted);letter-spacing:0.05em;margin-bottom:8px}.fcrm-kpi-val{font-family:var(--font-ui);font-size:26px;font-weight:700;letter-spacing:-0.03em;color:var(--navy);line-height:1.15;margin-bottom:4px;font-variant-numeric:tabular-nums}.fcrm-kpi-sub{font-size:12px;color:var(--text-muted);margin-top:auto}.fcrm-kpi-card-clickable{cursor:pointer}.fcrm-panel{background:#ffffff;border-radius:14px;border:1px solid var(--border);padding:22px 24px;box-shadow:var(--shadow-card);margin-bottom:24px;transition:var(--transition-smooth)}.fcrm-panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.fcrm-panel-title{font-size:15.5px;font-weight:700;color:var(--navy);letter-spacing:-0.02em}.fcrm-grid-2{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin-bottom:30px}.fcrm-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;text-align:left}.fcrm-table th{background:var(--glass-thead-bg);backdrop-filter:blur(8px);position:sticky;top:0;z-index:10;padding:12px 16px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:var(--text-muted);border-top:1px solid var(--border);border-bottom:1px solid var(--border);white-space:nowrap}.fcrm-table td{padding:13px 16px;border-bottom:1px solid var(--border-subtle);vertical-align:middle;color:var(--text-primary);transition:background-color 0.15s ease}.fcrm-table tbody tr{transition:background-color 0.15s ease}.fcrm-table tbody tr:hover td{background-color:#f8fafc}.fcrm-table td.fcrm-col-num,.fcrm-table th.fcrm-col-num{text-align:right;font-variant-numeric:tabular-nums}.fcrm-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:9999px;font-size:11px;font-weight:600;text-transform:capitalize;letter-spacing:0.02em;line-height:1.3;white-space:nowrap}.fcrm-pill::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.fcrm-pill-green{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.fcrm-pill-green::before{background-color:#10b981}.fcrm-pill-amber{background:#fffbeb;color:#92400e;border:1px solid #fde68a}.fcrm-pill-amber::before{background-color:#f59e0b}.fcrm-pill-blue{background:#f0f9ff;color:#0369a1;border:1px solid #bae6fd}.fcrm-pill-blue::before{background-color:#0284c7}.fcrm-pill-red{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.fcrm-pill-red::before{background-color:#ef4444}.fcrm-pill-purple{background:#f5f3ff;color:#6b21a8;border:1px solid #ddd6fe}.fcrm-pill-purple::before{background-color:#8b5cf6}.fcrm-pill-gray{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}.fcrm-pill-gray::before{background-color:#94a3b8}.fcrm-radar-container{margin-bottom:24px}.fcrm-radar-card{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;border-radius:10px;font-size:13px;border:1px solid transparent;border-left:4px solid;margin-bottom:10px;box-shadow:var(--shadow-xs);transition:var(--transition-spring)}.fcrm-radar-card:hover{transform:translateX(2px);box-shadow:var(--shadow-sm)}.fcrm-radar-high{background:#fffcf0;border-color:#fef08a;border-left-color:#f59e0b;color:#854d0e}.fcrm-radar-critical{background:#fff5f5;border-color:#fecaca;border-left-color:#ef4444;color:#991b1b}.fcrm-notif-wrap{position:relative;display:inline-block}.fcrm-notif-btn{position:relative;background:#ffffff;border:1px solid var(--border);border-radius:9px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;color:var(--navy);transition:var(--transition-spring);box-shadow:var(--shadow-xs)}.fcrm-notif-btn:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:var(--shadow-sm)}.fcrm-notif-badge{position:absolute;top:-4px;right:-4px;background:#b91c1c;color:#ffffff;font-size:10px;font-weight:800;padding:1px 5px;border-radius:10px;border:2px solid #ffffff;line-height:1.2;box-shadow:0 2px 5px rgba(239,68,68,0.4)}.fcrm-notif-dropdown{display:none;position:absolute;top:calc(100%+8px);right:0;width:440px;max-width:90vw;background:#ffffff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-dropdown);z-index:1000;overflow:hidden;animation:fcrmFadeSlideDown 0.2s cubic-bezier(0.16,1,0.3,1)}@keyframes fcrmFadeSlideDown{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.fcrm-notif-header{padding:14px 18px;background:#f8fafc;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.fcrm-notif-list{max-height:400px;overflow-y:auto}.fcrm-notif-item{padding:12px 16px;border-bottom:1px solid var(--border-subtle);display:flex;gap:12px;align-items:flex-start;transition:background 0.15s ease}.fcrm-notif-item:hover{background:#f8fafc}.fcrm-notif-item:last-child{border-bottom:none}.fcrm-notif-dot{width:8px;height:8px;border-radius:50%;margin-top:6px;flex-shrink:0}.fcrm-notif-dot-high{background:#f59e0b;box-shadow:0 0 0 3px #fef08a}.fcrm-notif-dot-critical{background:#ef4444;box-shadow:0 0 0 3px #fecaca}.fcrm-notif-footer{padding:10px 16px;background:#f8fafc;border-top:1px solid var(--border);text-align:center;font-size:11.5px;color:var(--text-muted)}.fcrm-modal-backdrop{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(9,13,22,0.6);backdrop-filter:blur(10px) saturate(180%);-webkit-backdrop-filter:blur(10px) saturate(180%);z-index:9999;align-items:center;justify-content:center;animation:fcrmFadeIn 0.2s ease-out}.fcrm-modal{background:#ffffff;width:92%;max-width:980px;max-height:90vh;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-modal);border:1px solid rgba(255,255,255,0.2);animation:fcrmScaleIn 0.25s cubic-bezier(0.16,1,0.3,1)}@keyframes fcrmFadeIn{from{opacity:0}to{opacity:1}}@keyframes fcrmScaleIn{from{opacity:0;transform:scale(0.96) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.fcrm-modal-header{padding:20px 24px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;background:#ffffff}.fcrm-modal-title{font-size:17px;font-weight:700;color:var(--navy);letter-spacing:-0.02em}.fcrm-modal-body{padding:24px;overflow-y:auto;flex:1}.fcrm-modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:var(--text-subtle);transition:color 0.15s ease;line-height:1}.fcrm-modal-close:hover{color:var(--navy)}.fcrm-tabs{display:flex;gap:6px;border-bottom:1px solid var(--border);margin-bottom:20px}.fcrm-tab{padding:9px 16px;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;transition:var(--transition-smooth)}.fcrm-tab:hover{color:var(--navy)}.fcrm-tab.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:700}.fcrm-timeline-scroll{max-height:460px;overflow-y:auto;overscroll-behavior:contain;padding-right:10px}.fcrm-timeline-scroll:focus-visible{outline:2px solid var(--border-focus);outline-offset:3px}.fcrm-timeline-scroll::-webkit-scrollbar{width:8px}.fcrm-timeline-scroll::-webkit-scrollbar-track{background:transparent}.fcrm-timeline-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:9999px}.fcrm-timeline-scroll::-webkit-scrollbar-thumb:hover{background:#94a3b8}.fcrm-timeline-empty{margin:0;font-size:12.5px;color:var(--text-muted)}.fcrm-timeline-open{display:block;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px;padding:6px 34px 7px 8px;margin:-6px 0 0 -8px;font:inherit;color:inherit;cursor:pointer;position:relative;transition:background 120ms ease,border-color 120ms ease}.fcrm-timeline-open .fcrm-timeline-date,.fcrm-timeline-open .fcrm-timeline-subj,.fcrm-timeline-open .fcrm-timeline-body{display:block}.fcrm-timeline-open:hover,.fcrm-timeline-open:focus-visible{background:#f8fafc;border-color:var(--border)}.fcrm-timeline-open:focus-visible{outline:2px solid var(--border-focus);outline-offset:1px}.fcrm-timeline-cue{position:absolute;right:10px;top:6px;font-size:10.5px;font-weight:700;color:var(--teal);opacity:0;transition:opacity 120ms ease;white-space:nowrap}.fcrm-timeline-open:hover .fcrm-timeline-cue,.fcrm-timeline-open:focus-visible .fcrm-timeline-cue{opacity:1}.fcrm-evidence-status{padding:34px 20px;text-align:center;font-size:13px;color:var(--text-muted)}.fcrm-evidence-status.is-error{color:#b91c1c}.fcrm-evidence-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--border)}.fcrm-evidence-kicker{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:0.05em;color:var(--text-muted)}.fcrm-evidence-count{margin:0 0 12px;font-size:11.5px;color:var(--text-muted)}.fcrm-evidence-msg{border:1px solid var(--border);border-left-width:3px;border-radius:10px;padding:12px 14px;margin-bottom:12px;background:#ffffff}.fcrm-evidence-msg.is-inbound{border-left-color:#10b981}.fcrm-evidence-msg.is-outbound{border-left-color:var(--teal)}.fcrm-evidence-msg.is-focus{background:#f8fbff;box-shadow:0 0 0 2px rgba(2,132,199,0.18)}.fcrm-evidence-msg-head{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:12.5px;color:var(--navy);margin-bottom:4px}.fcrm-evidence-addr,.fcrm-evidence-when{font-size:11px;color:var(--text-muted);font-weight:500}.fcrm-evidence-when{margin-left:auto}.fcrm-evidence-subject{font-size:12.5px;font-weight:700;color:var(--navy);margin-bottom:3px}.fcrm-evidence-line{font-size:11px;color:var(--text-muted);word-break:break-word}.fcrm-evidence-chips{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 2px}.fcrm-evidence-chips span{background:#f1f5f9;border-radius:9999px;padding:1px 9px;font-size:10.5px;font-weight:600;color:var(--text-muted);text-transform:none}.fcrm-evidence-chips span::first-letter{text-transform:uppercase}.fcrm-evidence-body{margin:9px 0 0;padding:11px 13px;background:#f8fafc;border-radius:8px;font-family:var(--font-ui),system-ui,sans-serif;font-size:12.5px;line-height:1.6;color:#334155;white-space:pre-wrap;word-break:break-word;max-height:340px;overflow-y:auto}.fcrm-evidence-note{margin:8px 0 0;font-size:11px;color:var(--text-muted);font-style:italic}.fcrm-timeline{position:relative;padding-left:20px;border-left:2px solid var(--border);margin-left:10px}.fcrm-timeline-item{position:relative;margin-bottom:22px}.fcrm-timeline-dot{position:absolute;left:-27px;top:3px;width:12px;height:12px;border-radius:50%;background:var(--teal);border:2px solid #ffffff;box-shadow:0 0 0 3px rgba(2,132,199,0.2)}.fcrm-timeline-date{font-size:11.5px;color:var(--text-muted);margin-bottom:3px;font-variant-numeric:tabular-nums}.fcrm-timeline-subj{font-weight:600;color:var(--navy);font-size:13px;margin-bottom:3px}
@media (max-width: 640px){.fcrm-app-container{flex-direction:column;width:100%}.fcrm-sidebar{position:static;width:100%;height:auto;min-height:0}.fcrm-sidebar-brand{padding:14px 16px;align-items:flex-start}.fcrm-nav{display:flex;flex-wrap:wrap;gap:4px;padding:10px;overflow:visible}.fcrm-nav-item{flex:0 1 auto;min-height:44px;margin:0;padding:10px}.fcrm-sidebar-footer{padding:12px 16px}.fcrm-main{width:100%;min-width:0}.fcrm-topbar{position:static;height:auto;min-height:64px;padding:12px 16px;gap:12px;flex-wrap:wrap}.fcrm-topbar-title{font-size:17px}.fcrm-topbar-actions{flex-wrap:wrap;gap:8px;max-width:100%}.fcrm-content{padding:16px 12px 32px}.fcrm-kpi-grid{grid-template-columns:minmax(0,1fr)}.fcrm-mobile-menu{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:44px;margin:0 16px 12px;padding:8px 16px;border:1px solid #64748b;border-radius:6px;background:transparent;color:#fff;font:inherit;cursor:pointer}.fcrm-sidebar .fcrm-nav,.fcrm-sidebar .fcrm-sidebar-footer{display:none}.fcrm-sidebar.is-menu-open .fcrm-nav{display:flex}.fcrm-sidebar.is-menu-open .fcrm-sidebar-footer{display:flex}}
.fcrm-view-section[style*="display:none"],.fcrm-view-section[style*="display: none"],.fcrm-view-section[hidden],#view-abm,#view-companies,#view-vendors,#view-integrations,#view-credit,#view-mailbox,#team-data-health,#view-rates,#view-opportunities,#view-leaderboard,#view-simulator,#fcrm-communication-map{content-visibility:auto;contain-intrinsic-size:1px 400px}
/* Topbar Layout & Elements */
.fcrm-topbar {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    background: var(--glass-topbar-bg, rgba(255,255,255,0.85)) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--border, #e2e8f0) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04) !important;
}
.fcrm-topbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
}
.fcrm-topbar-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--navy, #090d16) !important;
    letter-spacing: -0.025em !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
.fcrm-view-switcher-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f1f5f9 !important;
    padding: 3px 10px !important;
    border-radius: 9999px !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    font-size: 12px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
.fcrm-view-switcher-wrap label {
    font-weight: 700 !important;
    color: #334155 !important;
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.fcrm-view-switcher-wrap select {
    border: none !important;
    background: transparent !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    padding: 2px 4px !important;
    outline: none !important;
    cursor: pointer !important;
    max-width: 240px !important;
}
.fcrm-topbar-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    flex-wrap: nowrap !important;
}
.fcrm-topbar .fcrm-search-wrap {
    position: relative !important;
    width: 280px !important;
    max-width: 320px !important;
    flex-shrink: 1 !important;
}
.fcrm-topbar .fcrm-search-input {
    width: 100% !important;
    padding: 7px 32px 7px 32px !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    border-radius: 9999px !important;
    font-size: 12.5px !important;
    outline: none !important;
    background: #f8fafc !important;
    transition: all 0.15s ease-out !important;
    font-family: inherit !important;
    color: var(--text-primary, #0f172a) !important;
    height: 34px !important;
}
.fcrm-topbar .fcrm-search-input:focus {
    background: #ffffff !important;
    border-color: var(--teal, #0284c7) !important;
    box-shadow: 0 0 0 3px rgba(2,132,199,0.15) !important;
}
.fcrm-topbar .fcrm-search-icon {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 12px !important;
    color: var(--text-subtle, #94a3b8) !important;
    pointer-events: none !important;
}
.fcrm-topbar .fcrm-search-kbd {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: var(--text-subtle, #94a3b8) !important;
    background: #ffffff !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    border-radius: 4px !important;
    padding: 1px 4px !important;
    pointer-events: none !important;
}
@media (max-width: 768px) {
    .fcrm-topbar {
        height: auto !important;
        min-height: 56px !important;
        padding: 10px 14px !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    .fcrm-topbar-left {
        width: 100% !important;
        justify-content: space-between !important;
    }
    .fcrm-topbar-actions {
        width: 100% !important;
        justify-content: space-between !important;
    }
    .fcrm-topbar .fcrm-search-wrap {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
    }
}
/* Quick Search Results Dropdown */
.fcrm-search-results-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 440px !important;
    max-width: 90vw !important;
    max-height: 480px !important;
    background: #ffffff !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 45px -8px rgba(9,13,22,0.18), 0 8px 18px -4px rgba(0,0,0,0.06) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    padding: 6px 0 !important;
    text-align: left !important;
}
.fcrm-search-section-header {
    padding: 8px 14px 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.fcrm-search-result-item {
    padding: 9px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    transition: background 0.12s ease !important;
    border-bottom: 1px solid #f8fafc !important;
    text-decoration: none !important;
    color: inherit !important;
}
.fcrm-search-result-item:last-child {
    border-bottom: none !important;
}
.fcrm-search-result-item:hover,
.fcrm-search-result-item.is-selected {
    background: #f0f9ff !important;
}
.fcrm-search-result-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
}
.fcrm-search-result-item:hover .fcrm-search-result-icon,
.fcrm-search-result-item.is-selected .fcrm-search-result-icon {
    background: #e0f2fe !important;
}
.fcrm-search-result-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
.fcrm-search-result-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.fcrm-search-result-sub {
    font-size: 11px !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 1px !important;
}
.fcrm-search-result-badge {
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    flex-shrink: 0 !important;
}
.fcrm-search-empty {
    padding: 24px 18px !important;
    text-align: center !important;
    color: #64748b !important;
    font-size: 13px !important;
}
.fcrm-search-tip {
    font-size: 11px !important;
    color: #94a3b8 !important;
    margin-top: 4px !important;
}

/* Polished Notification Dropdown & Bell */
.fcrm-notif-wrap {
    position: relative !important;
    display: inline-block !important;
}
.fcrm-notif-btn {
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    border-radius: 9px !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    cursor: pointer !important;
    color: #475569 !important;
    transition: all 0.15s ease-out !important;
    box-shadow: 0 1px 2px rgba(15,23,42,0.04) !important;
}
.fcrm-notif-btn:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: var(--navy, #090d16) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(15,23,42,0.08) !important;
}
.fcrm-notif-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-radius: 9999px !important;
    border: 2px solid #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    box-shadow: 0 2px 4px rgba(220,38,38,0.3) !important;
}
.fcrm-notif-dropdown {
    display: none;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 380px !important;
    max-width: calc(100vw - 32px) !important;
    background: #ffffff !important;
    border: 1px solid var(--border, #e2e8f0) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 36px -6px rgba(15,23,42,0.12), 0 4px 12px -2px rgba(15,23,42,0.06) !important;
    z-index: 10000 !important;
    overflow: hidden !important;
}
.fcrm-notif-header {
    padding: 12px 16px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid var(--border, #e2e8f0) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.fcrm-notif-title {
    font-weight: 700 !important;
    font-size: 13.5px !important;
    color: var(--navy, #090d16) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.fcrm-notif-close {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    outline: none !important;
    transition: all 0.15s ease !important;
}
.fcrm-notif-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
.fcrm-pill-sm {
    font-size: 10px !important;
    padding: 2px 7px !important;
}
.fcrm-notif-list {
    max-height: 400px !important;
    overflow-y: auto !important;
}
.fcrm-notif-item {
    padding: 14px 16px !important;
    border-bottom: 1px solid var(--border-subtle, #f1f5f9) !important;
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    transition: background 0.15s ease !important;
    text-align: left !important;
}
.fcrm-notif-item:hover {
    background: #f8fafc !important;
}
.fcrm-notif-item:last-child {
    border-bottom: none !important;
}
.fcrm-notif-dot {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    margin-top: 5px !important;
    flex-shrink: 0 !important;
}
.fcrm-notif-dot-high {
    background: #f59e0b !important;
    box-shadow: 0 0 0 3px #fef08a !important;
}
.fcrm-notif-dot-critical {
    background: #ef4444 !important;
    box-shadow: 0 0 0 3px #fecaca !important;
}
.fcrm-notif-empty {
    padding: 36px 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}
.fcrm-notif-empty-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #ecfdf5 !important;
    color: #059669 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 4px !important;
    border: 1px solid #a7f3d0 !important;
}
.fcrm-notif-empty-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: var(--navy, #090d16) !important;
}
.fcrm-notif-empty-desc {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    max-width: 250px !important;
    margin: 0 auto !important;
}
.fcrm-notif-footer {
    padding: 10px 16px !important;
    background: #f8fafc !important;
    border-top: 1px solid var(--border, #e2e8f0) !important;
    font-size: 11.5px !important;
    color: var(--text-muted, #64748b) !important;
    line-height: 1.4 !important;
    text-align: center !important;
}


/* Polished Table Styling */
#ql-table-wrap {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    max-width: 100% !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.03) !important;
    position: relative !important;
    margin-bottom: 24px !important;
    -webkit-overflow-scrolling: touch !important;
}
#quote-log-table {
    width: 100% !important;
    min-width: 960px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    background: #ffffff !important;
}
#quote-log-table thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 12px 14px !important;
    border-top: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    white-space: nowrap !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
#quote-log-table tbody td {
    padding: 12px 14px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
    color: #0f172a !important;
    transition: background-color 0.15s ease !important;
}
#quote-log-table tbody tr:last-child td {
    border-bottom: none !important;
}
#quote-log-table tbody td[colspan] {
    text-align: center !important;
    padding: 42px 20px !important;
    color: #64748b !important;
    font-size: 13px !important;
}
#quote-log-table tbody tr {
    transition: background-color 0.15s ease !important;
}
#quote-log-table tbody tr:hover td {
    background-color: #f8fbff !important;
}
#quote-log-table strong {
    color: var(--navy, #090d16) !important;
}
#quote-log-table .ql-action-cell {
    white-space: nowrap !important;
    text-align: right !important;
}
#quote-log-table th:last-child {
    text-align: right !important;
}
#quote-log-table .ql-action-btn-group {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
}
#quote-log-table .fcrm-btn-xs {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 11px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    margin: 0 !important;
    transition: all 0.15s ease-out !important;
}
#quote-log-table .fcrm-btn-primary {
    background: #0284c7 !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    border: 1px solid #0284c7 !important;
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.25) !important;
}
#quote-log-table .fcrm-btn-primary:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
    border-color: #0369a1 !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35) !important;
    transform: translateY(-1px) !important;
}
#quote-log-table .fcrm-btn-secondary {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
#quote-log-table .fcrm-btn-secondary:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08) !important;
    transform: translateY(-1px) !important;
}
#quote-log-table .fcrm-btn-xs:disabled,
#quote-log-table .fcrm-btn-xs[disabled] {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}
#quote-log-table td:first-child strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: 13px !important;
    letter-spacing: 0.02em !important;
    color: var(--teal-dark, #0369a1) !important;
    white-space: nowrap !important;
}
#quote-log-table .ql-col-num {
    text-align: right !important;
    font-variant-numeric: tabular-nums !important;
    font-feature-settings: "tnum" 1 !important;
    white-space: nowrap !important;
}
#quote-log-table th.ql-col-num {
    text-align: right !important;
}
#quote-log-table .ql-empty-dash {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    user-select: none !important;
}
/* Compact quote log: stacked cells, clamped long text, one visible action per row. */
#quote-log-table tbody td {
    vertical-align: top !important;
    padding: 10px 12px !important;
}
#quote-log-table thead th {
    padding: 10px 12px !important;
}
#quote-log-table th:nth-child(1) { width: 118px; }
#quote-log-table th:nth-child(2) { width: 19%; }
#quote-log-table th:nth-child(3) { width: 28%; }
#quote-log-table td:first-child strong.ql-ref {
    display: block !important;
}
#quote-log-table .ql-cell-sub {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    line-height: 1.35;
    color: #64748b;
}
#quote-log-table .ql-cell-main {
    display: block;
    color: #0f172a;
}
#quote-log-table .ql-route {
    display: block;
    font-weight: 600;
    word-break: break-word;
}
#quote-log-table .ql-clamp-1,
#quote-log-table .ql-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}
#quote-log-table .ql-clamp-1 { -webkit-line-clamp: 1; }
#quote-log-table .ql-clamp-2 { -webkit-line-clamp: 2; }
#quote-log-table .ql-client-link {
    color: var(--teal-dark, #0369a1);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(3, 105, 161, 0.35);
}
#quote-log-table .ql-client-link:hover,
#quote-log-table .ql-client-link:focus-visible {
    color: #075985;
    border-bottom-style: solid;
}
#quote-log-table .ql-client-name { font-weight: 600; }
#quote-log-table .ql-price-main {
    display: block;
    font-weight: 700;
}
#quote-log-table .ql-price-customer { color: #6d28d9; }
#quote-log-table .ql-more {
    position: relative;
    display: inline-block;
}
#quote-log-table .ql-more > summary {
    list-style: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    white-space: nowrap;
}
#quote-log-table .ql-more > summary::-webkit-details-marker { display: none; }
#quote-log-table .ql-more > summary::after { content: " \25BE"; }
#quote-log-table .ql-more > summary:focus-visible { outline: 2px solid #0284c7; outline-offset: 2px; }
#quote-log-table .ql-more-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 170px;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.18);
}
#quote-log-table .ql-more-menu .fcrm-btn-xs {
    justify-content: flex-start !important;
    width: 100%;
    border-color: transparent !important;
    box-shadow: none !important;
}
#quote-log-table .ql-more-menu .fcrm-btn-xs:hover { background: #f1f5f9 !important; transform: none !important; }
/* When the compact table fits, the wrapper need not scroll, so an open "More" menu is never clipped. */
@media (min-width: 1200px) {
    #ql-table-wrap { overflow: visible !important; }
}
#ql-rep-corridor-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 12px !important;
}
#ql-rep-corridor-table th {
    background: #f8fafc !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
#ql-rep-corridor-table td {
    padding: 10px 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 12px !important;
    font-variant-numeric: tabular-nums !important;
    transition: background-color 0.15s ease !important;
}
#ql-rep-corridor-table tbody tr:hover td {
    background-color: #f8fbff !important;
}

/* ==========================================================================
   Email & Conversation Thread Readability & Clean Styling
   ========================================================================== */
.fcrm-evidence-msg {
    border: 1px solid var(--border, #e2e8f0) !important;
    border-left-width: 4px !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    margin-bottom: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.15s ease-out !important;
}
.fcrm-evidence-msg.is-inbound {
    border-left-color: #10b981 !important;
}
.fcrm-evidence-msg.is-outbound {
    border-left-color: #0284c7 !important;
}
.fcrm-evidence-msg.is-focus {
    background: #f8fbff !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25), 0 4px 12px rgba(2, 132, 199, 0.08) !important;
}
.fcrm-evidence-msg-head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    font-size: 13px !important;
    color: var(--navy, #090d16) !important;
    margin-bottom: 8px !important;
}
.fcrm-evidence-avatar {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}
.fcrm-evidence-msg.is-inbound .fcrm-evidence-avatar {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-color: #a7f3d0 !important;
}
.fcrm-evidence-msg.is-outbound .fcrm-evidence-avatar {
    background: #eff6ff !important;
    color: #1e40af !important;
    border-color: #bfdbfe !important;
}
.fcrm-evidence-sender-info {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}
.fcrm-evidence-subject {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--navy, #090d16) !important;
    margin: 4px 0 6px !important;
    line-height: 1.4 !important;
}
.fcrm-evidence-body {
    margin: 12px 0 0 !important;
    padding: 16px 18px !important;
    background: #f8fafc !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 10px !important;
    font-family: var(--font-ui, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #1e293b !important;
    word-break: break-word !important;
    max-height: 480px !important;
    overflow-y: auto !important;
}
.fcrm-email-para {
    margin: 0 0 12px !important;
    line-height: 1.65 !important;
    color: #1e293b !important;
}
.fcrm-email-para:last-child {
    margin-bottom: 0 !important;
}
.fcrm-email-quote {
    border-left: 3px solid #cbd5e1 !important;
    margin: 10px 0 !important;
    padding: 8px 14px !important;
    color: #475569 !important;
    background: rgba(241, 245, 249, 0.7) !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}
.fcrm-evidence-signature {
    margin-top: 14px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #e2e8f0 !important;
}
.fcrm-evidence-sig-toggle {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #0284c7 !important;
    cursor: pointer !important;
    display: inline-block !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    transition: color 0.15s ease !important;
    user-select: none !important;
}
.fcrm-evidence-sig-toggle:hover {
    color: #0369a1 !important;
    text-decoration: underline !important;
    background: transparent !important;
    border: none !important;
}
.fcrm-mention {
    display: inline-block;
    padding: 1px 6px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95em;
}
.fcrm-evidence-sig-content {
    margin-top: 8px !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #64748b !important;
    word-break: break-word !important;
}
/* Accounts & Customer 360 directory: one line of facts per account, details on a second muted line. */
#companies-table.fcrm-accounts-table { width: 100%; min-width: 760px; }
#companies-table.fcrm-accounts-table th { white-space: nowrap; }
#companies-table.fcrm-accounts-table td { vertical-align: top; padding-top: 12px; padding-bottom: 12px; }
#companies-table.fcrm-accounts-table th:first-child { width: 36%; }
#companies-table .fcrm-company-link {
    font-weight: 600;
    color: var(--teal-dark, #0369a1);
    text-decoration: none;
    border-bottom: 1px dashed rgba(3, 105, 161, 0.35);
    word-break: break-word;
}
#companies-table .fcrm-company-link:hover,
#companies-table .fcrm-company-link:focus-visible { color: #075985; border-bottom-style: solid; }
#companies-table .fcrm-cell-sub {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--text-muted, #64748b);
}
#companies-table .fcrm-cell-main { font-size: 12.5px; color: var(--text-primary, #0f172a); }
#companies-table .fcrm-cell-empty { color: #94a3b8; font-size: 12px; }
#companies-table .fcrm-credit-stop { color: #b91c1c; font-weight: 700; }
#companies-table .fcrm-jupiter-id {
    font-size: 11.5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #eff6ff;
    color: #1d4ed8;
}
