/* Reverse phone lookup (phone-lookup-ui.js). Cards for exact matches use a
   solid border; possible matches a dashed, muted one so they cannot be
   mistaken for exact. Shared class names with the mobile copy. */
.pl-overlay { position: fixed; inset: 0; z-index: 9000; background: rgba(15, 20, 35, .45); display: flex; align-items: flex-start; justify-content: center; padding: 8vh var(--space-4, 16px) var(--space-4, 16px); }
.pl-modal { background: var(--bg-elevated, #fff); color: var(--text-primary, #16181D); border-radius: var(--radius-lg, 16px); box-shadow: var(--shadow-xl, 0 20px 50px rgba(0, 0, 0, .25)); width: min(620px, 100%); max-height: 84vh; overflow-y: auto; padding: var(--space-5, 20px); }
.pl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3, 12px); }
.pl-title { font-size: var(--text-lg, 17px); font-weight: 700; }
.pl-x { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text-muted, #6E7480); }
.pl-in { width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid var(--border, #E5E5E1); border-radius: 10px; background: var(--bg-surface, #fff); color: inherit; font: inherit; }
.pl-search { font-size: 17px; }
.pl-tip, .pl-muted { font-size: 12.5px; color: var(--text-muted, #6E7480); margin: 8px 0; }
.pl-partial { font-size: 12.5px; color: var(--text-secondary, #555); margin: 8px 0; }
.pl-h { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary, #555); margin: 16px 0 6px; }
.pl-h-possible { color: var(--text-muted, #6E7480); }
.pl-card { border: 1px solid var(--border, #E5E5E1); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--bg-surface, #fff); }
.pl-possible { border-style: dashed; opacity: .88; }
.pl-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pl-name { font-weight: 700; }
.pl-role { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--accent-dim, #EBF1FD); color: var(--accent, #3B6FE0); }
.pl-dnc { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #FCEAE8; color: #DA3C2E; }
.pl-meta { font-size: 12.5px; color: var(--text-secondary, #555); margin-top: 2px; }
.pl-num { margin-top: 6px; font-variant-numeric: tabular-nums; }
.pl-tag { font-size: 11.5px; margin-left: 6px; }
.pl-tag-exact { color: #1F9D5B; font-weight: 600; }
.pl-tag-possible { color: var(--text-muted, #6E7480); }
.pl-follow { margin-top: 8px; font-size: 12.5px; }
.pl-hist { list-style: none; margin: 8px 0 0; padding: 0; }
.pl-att { font-size: 12.5px; padding: 4px 0; border-top: 1px solid var(--border, #E5E5E1); }
.pl-att-when { color: var(--text-muted, #6E7480); }
.pl-att-out { font-weight: 600; text-transform: capitalize; }
.pl-att-note { white-space: pre-wrap; color: var(--text-secondary, #555); }
.pl-more summary { font-size: 12px; cursor: pointer; margin-top: 4px; color: var(--accent, #3B6FE0); }
.pl-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pl-btn { border: 1px solid var(--border, #E5E5E1); background: var(--bg-surface, #fff); color: inherit; border-radius: 9px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.pl-btn-primary { background: var(--accent, #1C2B4A); border-color: transparent; color: #fff; }
.pl-noteform, .pl-quickform { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.pl-noteform[hidden], .pl-quickform[hidden] { display: none; }
.pl-lbl { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--text-secondary, #555); }
.pl-empty { padding: 18px 4px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.cs-lookup-input { width: 170px; padding: 6px 10px; border: 1px solid var(--border, #E5E5E1); border-radius: 9px; background: var(--bg-surface, #fff); color: inherit; font: inherit; font-size: 13px; }
/* Mobile: the cards live inside a bottom sheet, so map the hub tokens. */
.pl-m-wrap { --bg-elevated: var(--m-surface); --bg-surface: var(--m-surface); --text-primary: var(--m-text); --text-secondary: var(--m-muted); --text-muted: var(--m-muted); --border: var(--m-border); --accent: var(--m-accent); --accent-dim: var(--m-accent-dim); }
.pl-m-wrap .pl-search { font-size: 17px; }
.pl-m-paste { margin: 6px 0; }
