@import url('/record-tags.css');
.alert-summary{display:flex;align-items:stretch;gap:24px;margin:22px 0;border-block:1px solid var(--border);padding:16px 0}.alert-summary>button{display:flex;align-items:center;gap:10px;background:transparent;border:0;border-radius:6px;min-height:44px;padding:4px 10px;color:var(--ink);text-align:left}.alert-summary>button:hover{background:var(--selected)}.alert-summary strong{font-size:25px}.alert-summary span{font-size:12px}.alert-summary .coverage-link{margin-left:auto;color:var(--action)}.alert-toolbar{margin-bottom:16px}.alert-toolbar>select{max-width:180px}.alert-toolbar .search-field{min-width:150px}.alerts-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:20px;align-items:start}.alert-map-panel{position:sticky;top:90px;overflow:hidden}.alert-map-panel #alert-map{height:500px;max-height:65dvh}.alert-map-status{padding:10px 16px;font-size:12px;color:var(--muted);border-top:1px solid var(--border)}.alert-map-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:11px;padding:0 16px 14px;color:var(--muted)}.signal-list{overflow:hidden}.signal-card{padding:18px;border-bottom:1px solid var(--border);transition:background var(--micro)}.signal-card:last-child{border-bottom:0}.signal-card:hover{background:#fcfaf9}.signal-meta{display:flex;gap:7px;align-items:center;font-size:10px;text-transform:capitalize;color:var(--muted);margin-bottom:9px}.signal-meta .badge{margin-left:auto}.priority-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--control)}.priority-dot.important{background:var(--action)}.priority-dot.medium{background:#a37c30}.signal-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;background:transparent;border:0;padding:0;min-height:32px;width:100%;color:var(--ink);text-align:left;font-size:16px;font-weight:700;line-height:1.4}.signal-title:hover{color:var(--action)}.signal-title svg{margin-top:3px}.signal-change{font-size:12px;margin:10px 0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.signal-tags{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.signal-tags .badge{font-size:10px}.signal-bottom{display:grid;gap:5px;font-size:11px;color:var(--muted);margin-top:12px}.signal-bottom time{font-size:10px}.list-only{grid-template-columns:1fr}.list-only #alert-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.list-only .signal-card{border-right:1px solid var(--border)}.alert-pin{position:relative;border:0;background:transparent;color:var(--pin-color,#aaa);font-size:30px;padding:4px;min-width:44px;min-height:44px;text-shadow:0 1px 3px #555;line-height:1}.alert-pin:hover{filter:brightness(.85)}.country-alert-pin{background:#fff;border:1px solid #87919c;color:#59616b;min-height:36px;border-radius:18px;padding:6px 10px;font-size:11px;box-shadow:0 1px 4px #0002}.alert-evidence{border:1px solid var(--border);border-radius:8px;padding:16px;margin:14px 0}.alert-evidence p,.drawer-body>section p{font-size:13px;line-height:1.7}.alert-facts section{padding:14px 0;border-bottom:1px solid var(--border)}.connection-notice .entry-icon{margin-bottom:24px}.connection-notice p{margin:14px 0;line-height:1.7}.connection-notice .form-actions{margin-top:28px}#alert-save-state{padding-left:14px;font-size:12px;color:var(--success)}.drawer{position:fixed;inset:0 0 0 auto;z-index:100;overflow-y:auto;overscroll-behavior:contain;box-shadow:-8px 0 35px #34282118}.drawer::backdrop{background:transparent}.drawer-body [hidden]{display:none!important}.alert-pin .map-name{font-family:Arial,Helvetica,sans-serif;text-shadow:none}
@media(max-width:1199px){.alerts-workspace{grid-template-columns:1fr}.alert-map-panel{position:relative;top:auto}.alert-map-panel #alert-map{height:360px}.signal-list #alert-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.alert-toolbar>select{max-width:none}.alert-summary{gap:8px}}
@media(max-width:767px){.alert-summary{flex-wrap:wrap;gap:8px}.alert-summary .coverage-link{margin-left:0;font-size:11px}.alert-summary strong{font-size:22px}.alert-summary>button{padding:0 4px}.page-heading .heading-actions{flex-wrap:wrap;justify-content:flex-end;max-width:160px}.heading-actions .button,.heading-actions .primary{font-size:12px;padding:8px}.alert-map-panel #alert-map{height:300px}.signal-list #alert-results{grid-template-columns:1fr}.alert-toolbar>select{width:calc(50% - 4px)}.signal-card{padding:16px}}

.map-name{display:none;position:absolute;left:100%;top:50%;white-space:nowrap;transform:translateY(-50%);font-size:12px;background:white;border:1px solid var(--border);border-radius:4px;padding:4px 7px;color:var(--ink);pointer-events:none}.show-marker-names .map-name{display:block}
/* Map is primary; the companion list never grows to half the workspace. */
.alerts-workspace{--signal-list-max:380px;grid-template-columns:minmax(0,1fr) minmax(300px,var(--signal-list-max));gap:16px}.alerts-workspace:not(.list-only) .signal-list{max-width:var(--signal-list-max);width:100%}.signal-list .panel-heading{padding:12px}.signal-list h2{font-size:15px}.signal-card{padding:10px 12px}.signal-meta{margin-bottom:3px}.signal-title{font-size:14px;min-height:44px;align-items:center;line-height:1.35}.signal-title svg{width:15px;height:15px}.signal-card>.meta{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.signal-card .signal-tags{gap:4px;margin:6px 0}.signal-card .signal-tags .badge{font-size:10px;padding:2px 5px}.signal-card .signal-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:7px;font-size:10px}.signal-card .signal-bottom>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.signal-card .signal-bottom time{white-space:nowrap}.alerts-workspace:not(.list-only) .signal-change{display:none}.alerts-workspace:not(.list-only) #alert-results{max-height:calc(65dvh + 36px);overflow:auto;scrollbar-gutter:stable}.list-only{grid-template-columns:1fr}.list-only #alert-results{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.signal-card .signal-change{-webkit-line-clamp:2;margin:6px 0}.alert-summary{margin:16px 0;padding:10px 0}.alert-summary strong{font-size:23px}@media(min-width:1200px){.alert-map-panel #alert-map{height:560px;max-height:67dvh}}@media(max-width:1199px) and (min-width:1000px){.alerts-workspace{grid-template-columns:minmax(0,1fr) 300px}.signal-list #alert-results{display:block}}@media(max-width:999px){.alerts-workspace{grid-template-columns:1fr}.alerts-workspace:not(.list-only) .signal-list{max-width:none}.alerts-workspace:not(.list-only) #alert-results{max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.alerts-workspace:not(.list-only) #alert-results{grid-template-columns:1fr}.signal-card{padding:10px 12px}.signal-card .signal-bottom{flex-wrap:wrap}.alert-summary{gap:8px}}

.alerts-workspace.list-only{grid-template-columns:minmax(0,1fr)}.alerts-workspace.list-only #alert-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}

/* Country and lifecycle scope shared by both research views. */
.research-scope{min-width:0;margin-top:20px;border:1px solid var(--border);border-radius:10px;background:white;overflow:hidden}.research-country{display:flex;gap:18px;align-items:center;padding:12px 16px;min-width:0}.research-country>strong,.venue-stage-heading>strong{font-size:13px}.research-country>div{min-width:0;overflow-x:auto;padding:3px}.research-country .choice-options{flex-wrap:nowrap}.research-country .choice-option{flex-shrink:0}.research-stages{padding:10px 16px 14px;background:var(--canvas,#f5f3f2);border-top:1px solid var(--border)}.venue-stage-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.venue-stage-heading .choice-option>span{min-height:32px;font-size:11px;padding:4px 10px}.research-stages>.choice-group>.choice-options{flex-wrap:nowrap;overflow-x:auto;padding:4px 2px 7px;scrollbar-width:thin}.research-stages>.choice-group .choice-option{flex-shrink:0}.research-stages .choice-option>span{font-size:12px;gap:6px;padding:8px 10px}.research-stages .choice-option input:checked+span{background:color-mix(in srgb,var(--action) calc((var(--choice-tone,0) + 10)*1%),white)}.metric-additions{color:var(--success,#087c50);background:#eaf6ef;border-radius:4px;padding:3px 5px;font-size:11px;font-variant-numeric:tabular-nums}.alert-summary>button[aria-pressed=true]{background:var(--selected)}
/* List means aligned comparison columns, never a card grid. */
.alerts-workspace.list-only #alert-results{display:block}.alerts-workspace.list-only .signal-list{min-width:0;width:100%;max-width:none}.list-only .entity-result-count{display:none}.list-only .entity-table-scroll{border:0;border-radius:0;max-height:65dvh;min-height:200px}.list-only .entity-data-table{min-width:1450px!important;table-layout:fixed!important}.list-only .entity-data-table th:nth-child(1){width:240px}.list-only .entity-data-table th:nth-child(2){width:145px}.list-only .entity-data-table th:nth-child(3){width:150px}.list-only .entity-data-table th:nth-child(4){width:280px}.list-only .entity-data-table th:nth-child(5){width:150px}.list-only .entity-data-table th:nth-child(6){width:105px}.list-only .entity-data-table th:nth-child(7){width:95px}.list-only .entity-data-table th:nth-child(8){width:120px}.list-only .entity-data-table th:last-child{width:95px;padding:0 12px!important}.list-only .entity-data-table td{background:white;font-size:12px;vertical-align:top}.list-only .entity-data-table th:last-child,.list-only .entity-data-table td:last-child{position:sticky;right:0;box-shadow:-1px 0 var(--border);z-index:2}.list-only .entity-data-table th:last-child{z-index:3}.list-only .entity-data-table tr:hover td{background:var(--selected)}.list-only .entity-data-table .alert-table-title{border:0;padding:0;min-height:44px;text-align:left;color:var(--ink);font-size:13px;font-weight:600;background:transparent;line-height:1.5}.list-only .alert-table-title:hover{color:var(--action)}.alert-col-location strong,.alert-col-location small{display:block}.alert-col-location small{color:var(--muted);font-size:11px;margin-top:5px}.alert-stage-badge{display:flex;gap:6px;align-items:flex-start}.alert-stage-badge svg{width:17px;height:17px;flex-shrink:0}.alert-table-change{margin:6px 0 0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.alert-importance{display:flex;gap:6px;align-items:center;text-transform:capitalize}.list-only .entity-table-pages{margin:0;padding:12px;border-top:1px solid var(--border)}.list-only .entity-data-table .badge{white-space:normal}.list-only .entity-data-table tr:focus-visible{outline:2px solid var(--action);outline-offset:-2px}
@media(max-width:767px){.research-country{display:block;padding:10px}.research-country>strong{display:block;margin-bottom:7px}.research-stages{padding:10px}.alert-summary{gap:4px}.alert-summary>button{gap:5px}.alert-summary span{font-size:11px}.metric-additions{font-size:10px}.list-only .entity-table-scroll{max-height:65dvh}.list-only .entity-table-pages{justify-content:flex-start}.alert-summary .coverage-link{width:100%;margin-top:5px}}

.research-country{padding:10px 16px}.research-country>div{width:100%}.research-stages{padding:9px 16px}.research-stages>.choice-group>.choice-options{padding-block:3px}.research-country .choice-option img{display:block;flex-shrink:0}

.alert-heading{position:relative;isolation:isolate;min-height:90px;padding:14px 0;overflow:hidden}.alert-heading>div:not(.alert-heading-flags){position:relative;z-index:1}.alert-heading h1{margin-bottom:0}.alert-heading .heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.alert-updated{color:var(--action);font-size:12px;font-weight:500;white-space:nowrap;margin-right:14px}.alert-heading-flags{position:absolute;inset:0 0 0 30%;display:flex;justify-content:flex-end;z-index:0;pointer-events:none;opacity:.18;mask-image:linear-gradient(to right,transparent,black 85%);-webkit-mask-image:linear-gradient(to right,transparent,black 85%)}.alert-heading-flags img{height:100%;width:100%;min-width:0;object-fit:cover;object-position:center}.alert-heading:has(.alert-heading-flags img){border-bottom:1px solid var(--border)}
@media(max-width:767px){.alert-heading{gap:12px;align-items:flex-start}.alert-heading .heading-actions{max-width:none;flex:1}.alert-updated{font-size:10px;flex-basis:100%;text-align:right;margin:0}.alert-heading-flags{left:0}.alert-heading h1{font-size:23px}.alert-heading .heading-actions button{min-height:40px}}

/* Dense desktop controls; the same filters are disclosed on small screens. */
.alert-filter-layout{margin:12px 0}.alert-filter-layout .research-scope{margin-top:0}.research-country #alert-countries{flex:1;min-width:0;width:auto}.coverage-help{display:grid;place-items:center;flex:0 0 40px;width:40px;min-height:40px;padding:8px;border:0;background:transparent;color:var(--muted);border-radius:6px;cursor:pointer;transition:background 150ms,color 150ms}.coverage-help svg{width:20px;height:20px}.coverage-help:hover,.coverage-help:active{background:var(--selected);color:var(--action)}.coverage-help:focus-visible{outline:2px solid var(--action);outline-offset:2px}.alert-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding-block:8px;border-block:1px solid var(--border)}.alert-controls .alert-summary{margin:0;padding:0;border:0;gap:4px;flex-shrink:0}.alert-controls .alert-summary>button{gap:6px;padding:4px 6px;min-height:40px}.alert-controls .alert-summary strong{font-size:20px}.alert-controls .alert-toolbar,.alert-extra-filters{display:contents}.alert-controls .view-switch{margin-left:auto;flex-shrink:0}.alert-controls .view-switch button{padding-inline:10px;font-size:12px}.alert-controls [data-alert-filter]{width:auto;max-width:155px;min-width:105px;font-size:12px}.alert-controls .search-field{flex:1 1 150px;min-width:140px;max-width:240px}.alert-controls .search-field input{min-width:0;width:100%;font-size:12px}.alert-controls [data-alert-action=reset]{font-size:12px;padding-inline:6px}.alert-filter-toggle{display:none!important}
@media(max-width:767px){.alert-filter-layout{display:flex;flex-direction:column;margin-block:8px}.alert-filter-layout .research-scope{display:none;order:2;margin-top:8px}.alert-filter-layout .alert-extra-filters{display:none}.alert-filter-layout.filters-open .research-scope{display:block}.alert-filter-layout.filters-open .alert-extra-filters{display:flex;flex:1 0 100%;flex-wrap:wrap;gap:8px;padding-top:8px;border-top:1px solid var(--border)}.alert-controls{order:1;margin-top:0;gap:8px}.alert-controls .alert-summary{flex:1 0 100%;justify-content:space-between}.alert-controls .alert-summary>button{min-height:40px}.alert-controls .alert-toolbar{display:contents}.alert-filter-toggle{display:inline-flex!important;margin-left:auto;order:2;min-height:44px}.alert-controls .view-switch{margin-left:0;order:1}.alert-controls .alert-extra-filters{order:3}.alert-controls [data-alert-filter]{flex:1 1 calc(50% - 8px);width:auto!important;max-width:none;min-height:44px}.alert-controls .search-field{max-width:none;flex:1 1 calc(100% - 60px)}.alert-filter-layout .research-country{display:flex;align-items:center;padding:6px 8px}.alert-filter-layout .coverage-help{min-height:44px}.alert-filter-layout .research-stages{padding:8px}.alert-filter-layout.filters-open .research-stages>.choice-group>.choice-options{flex-wrap:wrap;overflow:visible}.alert-filter-layout.filters-open .research-stages .choice-option{flex:1 1 auto}.alert-controls .alert-summary span{font-size:11px}}

@media(max-width:767px){.alert-controls .view-switch{width:auto!important;flex:1 1 auto;max-width:calc(100% - 112px)}.alert-controls .view-switch button{flex:1;gap:5px;padding-inline:7px;white-space:nowrap}.alert-controls .view-switch button svg{width:15px;height:15px}.alert-controls .alert-filter-toggle{margin-left:0;flex:0 0 auto;padding-inline:10px;font-size:12px}.alert-heading .heading-actions{max-width:190px}.alert-heading .heading-actions button{font-size:11px;padding-inline:7px}.alert-heading .heading-actions button svg{width:14px;height:14px}.alert-heading .heading-actions .alert-updated{font-size:9px}}

.alert-followup-count{display:flex;align-items:center;gap:7px;font-size:12px;padding:6px;color:var(--action)}.alert-followup-count strong{font-size:20px}.signal-followup{margin-top:8px;font-size:12px;min-height:36px}.list-only .entity-data-table th:last-child{width:180px}.list-only .entity-data-table td:last-child button{display:block;width:100%;margin-bottom:5px}.list-only .entity-data-table td:last-child button:last-child{margin-bottom:0}

.brand-identity{display:inline-flex;align-items:center;gap:5px;max-width:100%;font-size:12px;color:var(--muted);line-height:1.4}.brand-identity svg{width:17px;height:17px;flex-shrink:0}.brand-identity>span{overflow-wrap:anywhere}

.alert-col-name .brand-identity{display:flex;width:fit-content;margin-top:5px}.alert-heading .heading-actions{flex-wrap:wrap;justify-content:flex-end}

.delisted-filter{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:7px 10px;border:1px solid var(--border,#e5dcda);border-radius:8px;font-size:12px;white-space:nowrap;cursor:pointer;background:white}.delisted-filter input{width:16px;height:16px;accent-color:var(--action,#c43214)}.delisted-filter:has(input:checked){background:var(--selected,#fff0eb);border-color:var(--action,#c43214)}.delisted-filter:hover{background:var(--selected,#fff0eb)}.delisted-filter strong{font-weight:600}.delisting-note{background:var(--warning-bg,#fff4de);border-radius:8px;padding:12px!important;margin:0 0 16px}.delisting-note p{margin:6px 0;white-space:pre-wrap}.followup-directory>.delisted-filter{margin-bottom:12px}
.lead-row-actions{display:flex;align-items:center;gap:5px;white-space:nowrap}.lead-row-actions button{width:auto!important;min-height:34px!important;padding:5px 9px!important;font-size:12px!important;white-space:nowrap}.split-action{display:inline-flex}.split-action>button:first-child{border-radius:6px 0 0 6px}.split-action>button:last-child{border-radius:0 6px 6px 0;border-left:0;min-width:28px;padding:5px!important}
.lead-stage-row{display:flex;align-items:center;min-width:0;border-top:1px solid var(--border);background:var(--canvas,#f5f3f2)}.lead-stage-row>.research-stages{flex:1;min-width:0;border-top:0}.lead-stage-row>.delisted-filter{flex-shrink:0;padding:8px 12px;border-left:1px solid var(--border);margin:0}.lead-stage-row .delisted-filter span{display:inline-flex;align-items:center;gap:5px}.lead-stage-row .delisted-filter input{accent-color:var(--action,#c43214)}
.list-only .entity-data-table th:last-child{width:244px!important}.list-only .entity-data-table th:nth-child(7){width:115px}.list-only .entity-row-actions{display:flex;justify-content:flex-end}.list-only .entity-data-table td:last-child{vertical-align:middle}.signal-card .lead-row-actions{margin-top:10px}
@media(max-width:767px){.lead-stage-row{flex-wrap:wrap}.lead-stage-row>.research-stages{flex-basis:100%}.lead-stage-row>.delisted-filter{margin-left:auto;border-left:0;min-height:44px}.lead-row-actions button{min-height:44px!important}.action-popover button{min-height:44px}}

.lead-row-actions button{display:inline-flex!important;align-items:center;justify-content:center;margin:0!important}.split-action{align-items:stretch}.split-action>button{height:34px}@media(max-width:767px){.split-action>button{height:44px}}

/* Dense research controls: view first, then counts and filters. */
.alert-heading .heading-actions{display:grid!important;gap:6px;justify-items:end;align-content:center}.alert-heading .alert-heading-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.alert-heading .alert-updated{display:block;margin:0;text-align:right;font-size:11px;line-height:1.3}.alert-controls>.view-switch{order:0;flex:0 0 auto;margin:0}.alert-controls>.view-switch button[aria-pressed=true]{background:var(--action,#c43214)!important;color:#fff!important;border-color:var(--action,#c43214)}.alert-controls>.view-switch button{font-size:12px;padding-inline:10px}.alert-controls>.alert-summary{order:1;flex:0 0 auto;margin:0;gap:10px;border:0;padding:0}.alert-controls>.alert-toolbar{order:2;flex:1;min-width:0}.alert-controls>.alert-summary strong{font-size:18px}.alert-controls>.alert-summary span{font-size:11px}.alert-controls .alert-extra-filters{gap:7px}.alert-controls .search-field{margin-left:auto;max-width:260px}.alert-controls{gap:10px}.list-only .entity-data-table th:last-child{width:244px!important}
@media(max-width:1100px) and (min-width:768px){.alert-controls{flex-wrap:wrap}.alert-controls>.alert-toolbar{flex:1 0 100%}.alert-controls .search-field{max-width:none}.alert-controls>.alert-summary{margin-left:auto}}
@media(max-width:767px){.alert-heading .heading-actions{max-width:none}.alert-heading .alert-heading-buttons{gap:4px}.alert-heading .alert-updated{font-size:9px}.alert-controls>.view-switch{order:0;max-width:calc(100% - 110px);flex:1 1 auto}.alert-controls>.alert-summary{order:2;flex:1 0 100%;justify-content:flex-start}.alert-controls>.alert-toolbar{display:contents}.alert-controls .alert-filter-toggle{order:1}.alert-controls .alert-extra-filters{order:3}.alert-controls .search-field{max-width:none}}

@media(min-width:768px){.alert-controls>.alert-toolbar{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap}.alert-controls>.alert-summary{gap:4px}.alert-controls>.alert-summary>button,.alert-controls>.alert-summary>a{padding-inline:5px}}
