/* Thanos – Sellermain overrides on top of the Bizdire template. Colours come from CSS variables set in _Layout. */

/* horizontal.js pins the page wrapper to the window width (scrollbar included) on small screens. */
body { overflow-x: hidden; }

/* ---------------------------------------------------------------- logo */
/* Image logo by default (corporate identity); the text version is only a fallback. Safe area = 25% of height. */
.thanos-logo {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--sm-text);
    line-height: 1;
    white-space: nowrap;
}
.thanos-logo:hover { color: var(--sm-text); }
.thanos-logo-highlight { color: var(--sm-brand); }
.thanos-logo img { display: block; height: auto; max-width: 100%; }
.thanos-logo.mobile-logo { font-size: 1.25rem; padding-top: 10px; }
.thanos-logo-light,
.thanos-logo-light:hover { color: #fff; }
.header-search-logo .thanos-logo img { max-height: 40px; }
.horizontal-header .smllogo { display: inline-flex; align-items: center; height: 100%; }

/* ---------------------------------------------------------------- hero / lead finder */
.thanos-hero .header-text { padding-bottom: 1rem; }
/* The evening city photo under a graphite veil, darker on the reading side and opening up to the right, as on the panel's
   sign-in page (D-085); replaces the template's flat 88 % veil that left the hero almost black. */
.thanos-hero.bg-background2:before {
    background: linear-gradient(100deg, rgba(20, 22, 31, .92) 0%, rgba(20, 22, 31, .72) 45%, rgba(20, 22, 31, .55) 100%) !important;
}
[dir="rtl"] .thanos-hero.bg-background2:before {
    background: linear-gradient(260deg, rgba(20, 22, 31, .92) 0%, rgba(20, 22, 31, .72) 45%, rgba(20, 22, 31, .55) 100%) !important;
}
.thanos-hero.cover-image { background-size: cover !important; background-position: center 30% !important; }
/* The template fixes the banner height on phones (620 px, 576 px at 411–414 px); the Lead Finder with its map is taller,
   especially with longer (German) labels, and ran into the next section. The hero grows with its content instead. */
/* The content is also shifted down 70 px by the template (.header-text top), so the bottom padding makes room for it. */
@media (max-width: 991.98px) { .thanos-hero.banner-1 { height: auto !important; padding-bottom: calc(3rem + 70px) !important; } }
.thanos-lead-finder {
    overflow: visible;
    border: 0;
    border-radius: var(--sm-radius-panel);
    box-shadow: 0 24px 48px rgba(20, 22, 31, .22);
    text-align: start;
    color: #495057; /* the hero banner sets white text */
}
.thanos-lead-finder .form-label { font-weight: 600; color: var(--dark-color); }
.thanos-lf-map {
    width: 100%;
    height: var(--lf-map-height, 400px);
    min-height: 260px;
    border-start-end-radius: var(--sm-radius-panel);
    z-index: 1;
}
.thanos-lf-hint { background: var(--sm-surface); border-end-end-radius: var(--sm-radius-panel); }
/* Wide screens: the map column is as tall as the form (keywords, errors and past searches make the form taller), so there is
   no empty space under the map; the map keeps its configured height as a minimum. */
@media (min-width: 992px) {
    .thanos-lf-mapcol { display: flex; flex-direction: column; }
    .thanos-lf-mapcol .thanos-lf-map { flex: 1 1 auto; height: auto; min-height: var(--lf-map-height, 400px); }
}
@media (max-width: 991.98px) {
    .thanos-lf-map { border-radius: 0; }
    .thanos-lf-hint { border-radius: 0 0 var(--sm-radius-panel) var(--sm-radius-panel); }
}
.thanos-lf-radius-input { width: 130px; }
/* Search form tabs (D-179): a business type from the catalogue, or a free text. A segmented control above the fields. */
.thanos-lf-tabs { display: flex; gap: 4px; margin-bottom: 1.25rem; padding: 4px; border-radius: 12px; background: var(--sm-surface); }
.thanos-lf-tab {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 38px; padding: .4rem .6rem;
    border: 0; border-radius: 9px; background: transparent; color: var(--sm-muted); font-size: 14px; font-weight: 600; line-height: 1.2;
    cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s;
}
.thanos-lf-tab .fa { font-size: 13px; }
.thanos-lf-tab:hover { color: var(--sm-text); }
.thanos-lf-tab[aria-selected="true"] { background: #fff; color: var(--sm-text); box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 2px 6px rgba(16, 24, 40, .06); }
.thanos-lf-tab[aria-selected="true"] .fa { color: var(--sm-brand); }
.thanos-lf-tab:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: 1px; }
.thanos-lf-query { min-height: 84px; resize: vertical; font-size: 15px; }
.thanos-lf-results {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 1050;
    margin: 4px 0 0;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e6e6eb;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(15, 18, 60, .12);
}
.thanos-lf-results li {
    padding: .55rem .85rem;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f5;
}
.thanos-lf-results li:last-child { border-bottom: 0; }
.thanos-lf-results li.active,
.thanos-lf-results li[data-index]:hover { background: var(--primary-bg-transparentcolor, rgba(0, 20, 142, .08)); }
.thanos-lf-results li.thanos-lf-message { cursor: default; color: #6c757d; }
.thanos-lead-finder .form-range::-webkit-slider-thumb { background: var(--primary-bg-color); }
.thanos-lead-finder .form-range::-moz-range-thumb { background: var(--primary-bg-color); }
.thanos-lead-finder .btn-outline-primary.active { color: #fff; }
/* Business types are loading (T-144 (7)): the box says so until its list opens. */
.thanos-lead-finder .select2-selection__rendered[data-loading]::after { content: " \2026  " attr(data-loading); color: var(--bs-secondary-color, #6c757d); }
.thanos-lead-finder select[aria-busy="true"] + .select2 .select2-selection { cursor: progress; }
.thanos-lead-finder .select2-container .select2-selection--single { height: 38px; }
/* Clearing the category (D-158): Select2 4.1 draws a bare button the theme does not style. */
.thanos-lead-finder .select2-selection__clear {
    position: absolute; top: 0; inset-inline-end: 26px; height: 100%; padding: 0 6px;
    border: 0; background: none; color: #6c757d; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.thanos-lead-finder .select2-selection__clear:hover { color: var(--primary-bg-color); }

/* ---------------------------------------------------------------- search page: keywords + recent searches */
.thanos-lf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thanos-lf-tags:empty { display: none; }
/* Extra sources (D-124): LinkedIn / its people's job titles / Instagram / Facebook under the tags. */
.thanos-lf-sources { margin-bottom: 1rem; padding: .75rem .9rem; border: 1px solid var(--sm-border); border-radius: var(--sm-radius-control); }
.thanos-lf-sources legend { float: none; width: auto; font-size: inherit; }
.thanos-lf-sources .form-check { margin-bottom: .35rem; }
.thanos-lf-sources .form-check-label .fa { color: var(--sm-muted); }
.thanos-lf-sources-sub { margin: 0 0 .5rem 1.5rem; }
.thanos-lf-roles { display: flex; flex-wrap: wrap; gap: 6px; margin: .25rem 0 0 1.5rem; }
.thanos-lf-role { position: relative; margin: 0; cursor: pointer; }
.thanos-lf-role input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.thanos-lf-role span { display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--sm-text); border: 1px solid var(--sm-input-border); border-radius: 999px; background: #fff; }
.thanos-lf-role input:checked + span { color: #fff; background: var(--sm-text); border-color: var(--sm-text); }
.thanos-lf-role input:focus-visible + span { outline: 2px solid var(--sm-brand); outline-offset: 2px; }
.thanos-lf-role.is-disabled { cursor: not-allowed; }
.thanos-lf-role.is-disabled span { opacity: .45; }
.thanos-lf-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 3px 4px 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sm-text);
    background: var(--sm-brand-soft);
    border: 1px solid var(--sm-border);
    border-radius: 999px;
}
.thanos-lf-tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thanos-lf-tag button {
    width: 20px;
    height: 20px;
    padding: 0;
    line-height: 1;
    font-size: 15px;
    color: var(--sm-muted);
    background: transparent;
    border: 0;
    border-radius: 50%;
}
.thanos-lf-tag button:hover { color: #fff; background: var(--primary-bg-color); }
.thanos-lf-tag-static { padding-inline-end: 10px; }
/* A brand on the company page searches the same area for it (T-193). */
.thanos-brand-search { padding: 0; }
.thanos-brand-search a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; color: inherit; border-radius: 999px; text-decoration: none; }
.thanos-brand-search a i { font-size: 10px; color: var(--sm-muted); }
.thanos-brand-search:hover { border-color: var(--sm-brand); }
.thanos-brand-search a:hover i, .thanos-brand-search a:focus-visible i { color: var(--sm-brand); }
.thanos-brand-search a:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: 2px; }
.thanos-recent-searches { border: 1px solid var(--sm-border); border-radius: var(--sm-radius-card); overflow: hidden; }
.thanos-recent-searches thead th {
    color: #fff;
    background: var(--sm-text);
    border-bottom: 0;
    font-weight: 600;
    text-transform: none;
}
.thanos-status-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
}
.thanos-status-pending { color: var(--sm-text); background: var(--sm-surface); border: 1px solid var(--sm-input-border); }
.thanos-status-inprogress { color: #9A3412; background: #FFEDD5; }
.thanos-status-completed { color: #166534; background: #DCFCE7; }
.thanos-status-failed { color: #991B1B; background: #FEE2E2; }
/* A waiting or running search: a turning ring before the text (queued slower and fainter, like an analysis). */
.thanos-status-badge.is-running { display: inline-flex; align-items: center; gap: 6px; }
.thanos-recent-status-badge .thanos-status-badge.is-running { justify-content: center; }
.thanos-status-badge.is-running .thanos-analysis-spinner { width: 11px; height: 11px; }
.thanos-status-pending .thanos-analysis-spinner { opacity: .55; animation-duration: 1.8s; }

/* ---------------------------------------------------------------- search page: sections below the form */
.thanos-search-sections .container > * + * { margin-top: 3rem; }
.thanos-search-title { font-size: 1.5rem; font-weight: 800; color: var(--sm-text); }
.thanos-search-subtitle { font-size: 1.05rem; font-weight: 700; color: var(--sm-muted); }
.thanos-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.thanos-carousel-nav { display: flex; gap: .5rem; }
.thanos-nav-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sm-text);
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
}
.thanos-nav-btn:hover { color: var(--sm-brand); border-color: var(--sm-brand); }
.thanos-nav-btn:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: 2px; }
.thanos-profiles .thanos-company-card { margin-bottom: 0; }

/* Metric card (stats, result summary, company score): white, 1 px border, icon + label row, then the number. */
.thanos-metric-card {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-card);
}
.thanos-metric-top { display: flex; align-items: center; gap: .75rem; }

/* Cards grow slightly on hover (one effect for every card on the site). Panels that hold cards themselves
   (keywords, news) and working surfaces (tables, forms, maps) stay still. */
:root { --sm-card-hover-scale: 1.01; }
.thanos-metric-card,
.thanos-company-meta,
.thanos-company-panel:not(:has(.thanos-company-keyword, .thanos-company-news-card)),
.thanos-company-keyword,
.thanos-company-news-card,
.thanos-results-query,
.thanos-company-card,
.thanos-category-card,
.thanos-plan,
.thanos-how-card,
.thanos-hover-card {
    transition: transform .2s ease, border-color .2s ease;
}
.thanos-metric-card:hover,
.thanos-company-meta:hover,
.thanos-company-panel:not(:has(.thanos-company-keyword, .thanos-company-news-card)):hover,
.thanos-company-keyword:hover,
.thanos-company-news-card:hover,
.thanos-results-query:hover,
.thanos-company-card:hover,
.thanos-category-card:hover,
.thanos-plan:hover,
.thanos-how-card:hover,
.thanos-hover-card:hover {
    position: relative;
    z-index: 1;
    transform: scale(var(--sm-card-hover-scale));
    border-color: var(--sm-input-border);
}
/* Carousels clip their stage: leave room so a grown card keeps its border. */
.owl-stage-outer:has(.thanos-hover-card, .thanos-company-card) { padding: 8px 6px; margin: -8px -6px; }
@media (prefers-reduced-motion: reduce) {
    .thanos-metric-card, .thanos-company-meta, .thanos-company-panel, .thanos-company-keyword, .thanos-company-news-card,
    .thanos-results-query, .thanos-company-card, .thanos-category-card, .thanos-plan, .thanos-how-card, .thanos-hover-card { transition: none; transform: none !important; }
}
.thanos-metric-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    border-radius: var(--sm-radius-control);
}
.thanos-metric-label { font-size: .95rem; font-weight: 700; color: var(--sm-muted); }
.thanos-metric-value { font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--sm-text); }
.thanos-metric-caption { font-size: 12px; color: var(--sm-muted); }
.thanos-metric-progress { height: 6px; background: var(--sm-surface); border-radius: 999px; overflow: hidden; }
.thanos-metric-progress > div { height: 100%; background: var(--sm-brand); border-radius: 999px; }

/* Search page stats: both credits in one card, a ring each (used share), what is left, and once when they renew or end; the
   other counts as small tiles below (icon left, number, label, caption). */
.thanos-credit-panel { gap: 1rem; }
.thanos-credit-panel-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem 2rem; }
.thanos-credit-item { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.thanos-credit-ring { width: 76px; height: 76px; flex-shrink: 0; }
.thanos-credit-ring circle { fill: none; stroke-width: 8; }
.thanos-credit-ring-track { stroke: color-mix(in srgb, var(--sm-brand) 18%, #fff); }
.thanos-credit-ring-value { stroke: var(--sm-brand); stroke-linecap: round; }
.thanos-credit-ring text { font-size: 14px; font-weight: 700; fill: var(--sm-text); }
.thanos-credit-text { min-width: 0; }
.thanos-credit-value { margin-top: .15rem; font-size: 1.6rem; font-weight: 800; line-height: 1.15; color: var(--sm-text); }
.thanos-credit-value span { font-size: 1rem; font-weight: 600; color: var(--sm-muted); }
.thanos-credit-period { padding-top: .75rem; border-top: 1px solid var(--sm-border); font-size: 12px; color: var(--sm-muted); }
.thanos-count-tile { flex-direction: row; align-items: center; gap: .9rem; padding: 1rem 1.25rem; }
.thanos-count-value { font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: var(--sm-text); }
.thanos-count-label { font-size: .9rem; font-weight: 700; color: var(--sm-muted); }
/* Three tiles in a row from 768 px; until there is room (tablets) the icon gives way so label and caption stay on one line. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .thanos-count-tile > .thanos-metric-icon { display: none; }
}

.thanos-upgrade {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2.25rem;
    color: #fff;
    background: var(--sm-text);
    border-radius: var(--sm-radius-panel);
}
/* Brand mark as a watermark: original file, not recoloured; scaled, tilted and faded behind the content. */
.thanos-upgrade { position: relative; overflow: hidden; isolation: isolate; }
.thanos-upgrade > :not(.thanos-upgrade-watermark) { position: relative; z-index: 1; }
.thanos-upgrade-watermark {
    position: absolute;
    z-index: 0;
    inset-inline-start: -28px;
    top: -52px;
    width: 220px;
    height: 220px;
    transform: rotate(-14deg);
    opacity: .14;
    pointer-events: none;
    user-select: none;
}
.thanos-upgrade-title { margin-bottom: .5rem; font-size: 1.5rem; font-weight: 800; color: #fff; }
.thanos-upgrade p { color: rgba(255, 255, 255, .75); max-width: 560px; }
.thanos-upgrade-btn { flex-shrink: 0; font-weight: 700; color: var(--sm-text); }
@media (max-width: 767.98px) {
    .thanos-upgrade { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .thanos-search-title { font-size: 1.3rem; }
}

/* ---------------------------------------------------------------- sections */
.thanos-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.thanos-how-card { position: relative; }
.thanos-company-card .avatar { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.thanos-company-card .min-w-0 { min-width: 0; }
.thanos-cta .content-text { position: relative; z-index: 1; }
/* Photo band (D-050): full-width photograph, flat graphite overlay (no gradient), one message. Height and overlay come from
   the section settings; phones get a smaller file and a shorter band. */
.thanos-photo-band { position: relative; display: flex; align-items: center; min-height: var(--band-height, 420px); overflow: hidden; background: var(--sm-text); }
.thanos-photo-band picture, .thanos-photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; }
.thanos-photo-band img { object-fit: cover; }
.thanos-photo-band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 31, var(--band-overlay, .55)); }
.thanos-photo-band-body { position: relative; z-index: 1; display: flex; padding-top: 3rem; padding-bottom: 3rem; }
.thanos-photo-band-title { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: .75rem; }
.thanos-photo-band-text { color: rgba(255, 255, 255, .88); font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 767.98px) { .thanos-photo-band { min-height: calc(var(--band-height, 420px) * .8); } }
/* Product layer on the photo band (D-056): the photo and an orange outline of one object (e.g. a container) as two SVGs with the
   same viewBox, so the outline stays on the object at every width; a white card next to it (placed by js/thanos.js). */
.thanos-photo-band-photo, .thanos-photo-band-mark { position: absolute; inset: 0; width: 100%; height: 100%; }
.thanos-photo-band-mark { z-index: 1; overflow: visible; pointer-events: none; }
.thanos-photo-band-mark polygon { fill: rgba(229, 84, 26, .55); stroke: var(--sm-brand); stroke-width: 3; stroke-linejoin: round; }
.thanos-photo-band-chip { position: absolute; z-index: 2; left: 0; top: 0; padding: .65rem .9rem; border-radius: 12px; background: #fff; color: var(--sm-text); font-size: 14px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); opacity: 0; transition: opacity .2s ease; }
.thanos-photo-band-chip.is-placed { opacity: 1; }
/* Radar node on the photo (D-059): the map pin (orange dot, radar pulse) a little larger, centred on its spot. */
.thanos-photo-band-pin { position: absolute; z-index: 2; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.thanos-photo-band-pin.is-placed { opacity: 1; }
.thanos-photo-band-pin .thanos-result-pin-dot { inset: 3px; border-width: 3px; box-shadow: 0 0 0 1px rgba(20, 22, 31, .25), 0 4px 14px rgba(0, 0, 0, .35); }
.thanos-photo-band-chip b { display: block; font-weight: 700; }
.thanos-photo-band-chip small { display: block; color: var(--sm-muted); font-size: 13px; }
/* Phones: the message sits at the bottom so the outlined object stays visible above it; the card is a little smaller. */
@media (max-width: 767.98px) {
    .thanos-photo-band.has-marker { align-items: flex-end; min-height: 440px; }
    .thanos-photo-band.has-marker .thanos-photo-band-body { padding-bottom: 1.5rem; }
    .thanos-photo-band-chip { padding: .5rem .7rem; font-size: 13px; }
    .thanos-photo-band-chip small { font-size: 12px; }
}
/* About page photo band (D-055): photo, a graphite panel with the headline and a product chip; the About text follows below. */
.thanos-about-band { position: relative; display: flex; align-items: center; min-height: var(--band-height, 540px); overflow: hidden; background: var(--sm-text); }
.thanos-about-band picture, .thanos-about-band img { position: absolute; inset: 0; width: 100%; height: 100%; }
.thanos-about-band img { object-fit: cover; }
.thanos-about-band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 31, .15); }
.thanos-about-band-body { position: relative; z-index: 1; display: flex; padding-top: 3rem; padding-bottom: 3rem; }
.thanos-about-band-panel { width: min(30rem, 100%); padding: 2.25rem 2.25rem 2rem; border-radius: 18px; background: rgba(20, 22, 31, .78); }
.thanos-about-band-title { color: #fff; font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.thanos-about-band-chip { position: absolute; z-index: 2; top: 14%; display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-radius: 12px; background: #fff; color: var(--sm-text); font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); white-space: nowrap; }
.thanos-about-band-chip.is-start { left: 8%; }
.thanos-about-band-chip.is-end { right: 8%; }
.thanos-about-band-chip b { display: block; font-weight: 700; }
.thanos-about-band-chip small { display: block; color: var(--sm-muted); font-size: 13px; }
.thanos-about-band-chip-mark { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 8px; background: var(--sm-brand-soft); color: var(--sm-brand); }
.thanos-about-band-chip-mark .thanos-mark-arrow { width: 1.1rem; height: 1.1rem; }
@media (max-width: 767.98px) {
    .thanos-about-band { align-items: flex-end; min-height: calc(var(--band-height, 540px) * .8); }
    .thanos-about-band-body { padding-bottom: 1.5rem; }
    .thanos-about-band-panel { padding: 1.5rem; }
    .thanos-about-band-chip { top: 1.25rem; left: 1rem; right: auto; font-size: 13px; }
}
/* Landing KPI band on phones (D-109, D-114): a sideways slider instead of four tall cards stacked. The current card sits in the
   middle with the same edge of its neighbours showing on both sides (so it is clear there is more), and the dots below
   (js/stats-slider.js) are centred too. Tablets and desktops keep the grid. */
@media (max-width: 767.98px) {
    .thanos-stats-slider { --slide: 78%; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
        margin-inline: -12px; padding-inline: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .thanos-stats-slider::-webkit-scrollbar { display: none; }
    /* Spacers at both ends, measured on the same width as the cards, so the first and last card can sit in the middle too. */
    .thanos-stats-slider::before,
    .thanos-stats-slider::after { content: ""; flex: 0 0 calc((100% - var(--slide)) / 2); }
    .thanos-stats-slider > .thanos-stats-slide { flex: 0 0 var(--slide); max-width: var(--slide); scroll-snap-align: center; }
    .thanos-stats-slider .counter-status { margin-bottom: 0 !important; height: 100%; }
    /* D-114: show it can be swiped — the middle card full, its neighbours smaller and faded, and a nudge on first view. */
    .thanos-stats-slider > .thanos-stats-slide { opacity: .6; transform: scale(.92); transition: opacity .3s ease, transform .3s ease; }
    .thanos-stats-slider > .thanos-stats-slide.is-current { opacity: 1; transform: none; }
    .thanos-stats-slider.is-nudging > .thanos-stats-slide { animation: thanos-stats-nudge 1.1s ease-in-out; }
    @keyframes thanos-stats-nudge { 0%, 100% { translate: 0; } 35% { translate: -38px; } 65% { translate: -38px; } }
    /* Controls under the slider, centred: ‹ dots › (js/stats-slider.js). */
    .thanos-stats-nav { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: 1.25rem; }
    .thanos-stats-arrow { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 50%; background: transparent; color: #fff; font-size: 20px; line-height: 1; transition: background-color .2s ease, border-color .2s ease, opacity .2s ease; }
    .thanos-stats-arrow:not(:disabled):active,
    .thanos-stats-arrow:not(:disabled):hover { background: var(--sm-brand); border-color: var(--sm-brand); }
    .thanos-stats-arrow:disabled { opacity: .3; }
    .thanos-stats-dots { display: flex; justify-content: center; gap: .5rem; }
    .thanos-stats-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .35);
        transition: width .2s ease, background-color .2s ease; }
    .thanos-stats-dots button[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--sm-brand); }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
    .thanos-stats-slider > .thanos-stats-slide { transition: none; }
    .thanos-stats-slider.is-nudging > .thanos-stats-slide { animation: none; }
}
@media (min-width: 768px) { .thanos-stats-nav { display: none; } }

/* KPI band over a night city (D-056, About page "statistics" with searchArea): the product's dashed search circle and pulsing
   company pins on the photo, the numbers on top. Flat graphite shade, no gradient. */
.thanos-stats-band { position: relative; overflow: hidden; padding: 6rem 0; background: var(--sm-text); }
.thanos-stats-band picture, .thanos-stats-band img { position: absolute; inset: 0; width: 100%; height: 100%; }
.thanos-stats-band img { object-fit: cover; }
.thanos-stats-band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 31, .45); }
.thanos-stats-band-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.thanos-stats-band-ring { position: absolute; left: 50%; top: 50%; width: min(150%, 60rem); aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px dashed rgba(229, 84, 26, .85); border-radius: 50%; background: rgba(229, 84, 26, .08); }
.thanos-stats-band-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border: 2px solid var(--sm-brand); border-radius: 50%; background: #fff; }
.thanos-stats-band-pin { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--sm-brand); animation: thanos-stats-pulse 2.4s ease-out infinite; }
@keyframes thanos-stats-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 84, 26, .6); } 70%, 100% { box-shadow: 0 0 0 16px rgba(229, 84, 26, 0); } }
@media (prefers-reduced-motion: reduce) { .thanos-stats-band-pin { animation: none; } }
.thanos-stats-band-body { position: relative; z-index: 2; }
.thanos-stats-band-item { display: inline-flex; flex-direction: column; align-items: center; min-width: 12rem; padding: 1.5rem 1.25rem; border-radius: 16px; background: rgba(20, 22, 31, .55); }
.thanos-stats-band-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: .85rem; border-radius: 50%; background: rgba(229, 84, 26, .2); color: #F9B998; font-size: 1.25rem; }
.thanos-stats-band-value { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.1; }
.thanos-stats-band-label { color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 500; }
@media (max-width: 767.98px) {
    .thanos-stats-band { padding: 3.5rem 0; }
    .thanos-stats-band-item { width: 100%; min-width: 0; padding: 1rem .5rem; }
    .thanos-stats-band-icon { width: 2.5rem; height: 2.5rem; margin-bottom: .5rem; font-size: 1rem; }
    .thanos-stats-band-value { font-size: 1.6rem; }
    .thanos-stats-band-label { font-size: 13px; }
}
/* "Trusted by" logos sliding by in an endless band (D-110): the track holds the logos twice and moves by half its width.
   Edges fade out; hover stops it; reduced motion keeps it still and wrapped. */
.thanos-logo-marquee { overflow: hidden; padding: .5rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.thanos-logo-track { display: flex; width: max-content; animation: thanos-logo-marquee var(--marquee-seconds, 30s) linear infinite; }
.thanos-logo-marquee:hover .thanos-logo-track { animation-play-state: paused; }
.thanos-logo-set { display: flex; align-items: center; gap: 4rem; margin: 0; padding-inline-end: 4rem; }
@keyframes thanos-logo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.thanos-partner { display: block; }
.thanos-partner img { display: block; height: 44px; width: auto; max-width: none; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.thanos-partner:hover img { filter: none; opacity: 1; }
@media (max-width: 767.98px) {
    .thanos-logo-set { gap: 2.5rem; padding-inline-end: 2.5rem; }
    .thanos-partner img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .thanos-logo-marquee { -webkit-mask-image: none; mask-image: none; }
    .thanos-logo-track { width: auto; animation: none; justify-content: center; }
    .thanos-logo-set { flex-wrap: wrap; justify-content: center; padding-inline-end: 0; gap: 2rem; }
    .thanos-logo-set[aria-hidden="true"] { display: none; }
}

/* ---------------------------------------------------------------- onboarding */
/* The template centres modals with an inline-block ::before (Bootstrap 3 trick); BS5 centring makes it push the dialog off-screen
   (onboarding, "Stop tracking" dialog, D-058), so it is off for every modal. */
.modal::before { content: none; display: none; }
.thanos-steps li + li { margin-top: .35rem; }
.thanos-step-link {
    width: 100%;
    text-align: start;
    background: none;
    border: 0;
    border-radius: 4px;
    padding: .5rem .75rem;
    color: var(--dark-color);
}
.thanos-step-link.active,
.thanos-step-link:hover { background: var(--primary-bg-transparentcolor, rgba(0, 20, 142, .08)); color: var(--primary-bg-color); font-weight: 600; }
/* All steps share one grid cell and the hidden ones only turn invisible, so the area keeps the tallest step's height: a shorter
   text no longer shrinks the centred dialog and moves the list, the heading and the buttons from step to step. */
.thanos-step-panels { display: grid; }
.thanos-step-panel { grid-area: 1 / 1; min-width: 0; }
.thanos-step-panel[hidden] { display: block !important; visibility: hidden; } /* over Bootstrap's [hidden] { display: none !important } */
/* The scene moves on to the next step when clicked (not on the last one). */
.thanos-step-panel [data-onboarding-advance="true"] { cursor: pointer; }

/* "How it works" scenes: a small browser window per step, each a looping CSS animation of that part of the site. The
   resting styles are the finished picture (what reduced motion shows); the animations run while the step is open (.is-play).
   Laid out left to right in every language, like a screenshot, so the cursor lands on the same buttons. */
.thanos-ob-dialog { max-width: 880px; }
.thanos-ob-screen { position: relative; container: thanos-ob / inline-size; direction: ltr; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--sm-border); border-radius: 12px;
    background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 28px rgba(16, 24, 40, .08); }
.thanos-ob-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; background: var(--sm-surface); border-bottom: 1px solid var(--sm-border); }
.thanos-ob-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--sm-input-border); }
.thanos-ob-bar span { flex: 1; height: 10px; margin-inline-start: 10px; border-radius: 999px; background: #fff; }
.thanos-ob-body { position: absolute; inset: 24px 0 0 0; }
.thanos-ob-scene { position: absolute; inset: 0; --loop: 8s; }
/* The map (scene 2): a light street grid, the search circle, business pins and the brand mark in the middle. */
.thanos-ob-map { position: absolute; inset: 0; overflow: hidden;
    background: linear-gradient(90deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%) 0 0 / 64px 64px,
                linear-gradient(0deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%) 0 0 / 64px 64px,
                linear-gradient(35deg, transparent 49%, rgba(255, 255, 255, .9) 49%, rgba(255, 255, 255, .9) 51.5%, transparent 51.5%) 0 0 / 100% 100%,
                #ECEEE7; }
.thanos-ob-ring { position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border: 2px dashed var(--sm-brand); border-radius: 50%; background: rgba(229, 84, 26, .07); }
.thanos-ob-pin { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid #fff; border-radius: 50%;
    background: var(--sm-brand); box-shadow: 0 2px 6px rgba(16, 24, 40, .25); }
.thanos-ob-center { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 30px; height: 30px; transform: translate(-50%, -50%);
    border-radius: 9px; background: var(--sm-brand); color: #fff; box-shadow: 0 6px 16px rgba(229, 84, 26, .35); }
.thanos-ob-center .thanos-mark-arrow { width: 18px; height: 18px; }
.thanos-ob-center.is-small { position: static; width: 22px; height: 22px; transform: none; border-radius: 7px; box-shadow: none; }
.thanos-ob-center.is-small .thanos-mark-arrow { width: 14px; height: 14px; }
/* Shared pieces: placeholder text lines, a person, a small label, a status pill, the cursor. */
.thanos-ob-card-lines b, .thanos-ob-name b { display: block; width: 84px; height: 8px; border-radius: 4px; background: var(--sm-text); opacity: .8; }
.thanos-ob-card-lines i, .thanos-ob-name i { display: block; width: 56px; height: 6px; border-radius: 3px; background: var(--sm-input-border); }
.thanos-ob-name { display: flex; flex-direction: column; gap: 4px; }
.thanos-ob-person { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.thanos-ob-row .thanos-ob-person { flex: 1 1 auto; overflow: hidden; }
.thanos-ob-person .thanos-ob-name b { width: 58px; height: 6px; }
.thanos-ob-person .thanos-ob-name i { width: 40px; height: 5px; background: rgba(229, 84, 26, .35); }
.thanos-ob-person .thanos-ob-name { gap: 3px; }
.thanos-ob-avatar { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #F7B78E, var(--sm-brand)); }
.thanos-ob-avatar.is-1 { background: linear-gradient(135deg, #9DB4F5, #3E63DD); }
.thanos-ob-avatar.is-2 { background: linear-gradient(135deg, #8EDDC0, #0E9F6E); }
.thanos-ob-avatar.is-3 { background: linear-gradient(135deg, #F5C66B, #D97706); }
.thanos-ob-avatar.is-4 { background: linear-gradient(135deg, #D3A6F5, #8B3FD9); }
.thanos-ob-fact-label { flex: 0 0 auto; font-size: 10px; font-weight: 700; color: var(--sm-muted); white-space: nowrap; }
.thanos-ob-fact-label .fa { width: 12px; margin-inline-end: .2rem; color: var(--sm-brand); text-align: center; }
.thanos-ob-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 10px 0; border-bottom: 1px solid var(--sm-border); }
.thanos-ob-row:last-child { border-bottom: 0; }
.thanos-ob-row.is-target { margin: 0 -10px; padding-inline: 10px; background: rgba(229, 84, 26, .05); }
.thanos-ob-status { position: relative; flex: 0 0 auto; display: inline-grid; font-size: 9.5px; font-weight: 700; }
.thanos-ob-status em { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: .25rem; padding: 2px 8px; border-radius: 999px; font-style: normal; white-space: nowrap; }
.thanos-ob-status .is-idle { border: 1px solid var(--sm-input-border); background: #fff; color: var(--sm-text); }
.thanos-ob-status .is-busy { background: rgba(229, 84, 26, .1); color: var(--sm-brand); }
.thanos-ob-status .is-done { background: rgba(5, 150, 105, .12); color: #047857; }
.thanos-ob-status:not(.is-static) .is-idle, .thanos-ob-status:not(.is-static) .is-busy { opacity: 0; }
.thanos-ob-spin { width: 8px; height: 8px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.thanos-ob-cursor { position: absolute; width: 14px; height: 18px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); opacity: 0; }
/* Scene 1: companies light up on a globe; one opens with its fit score and the person who decides. */
.is-world-scene { background: radial-gradient(circle at 34% 50%, #FFF1E8, var(--sm-surface) 62%); }
.thanos-ob-globe { position: absolute; left: 32%; top: 50%; height: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.thanos-ob-globe::before { content: ""; position: absolute; inset: -6%; border: 2px dashed rgba(229, 84, 26, .35); border-radius: 50%; }
.thanos-ob-globe-lines { display: block; width: 100%; height: 100%; }
.thanos-ob-globe-lines * { fill: none; stroke: rgba(229, 84, 26, .25); stroke-width: .7; }
.thanos-ob-globe-lines .is-sphere { fill: #fff; stroke: rgba(229, 84, 26, .5); stroke-width: 1; }
.thanos-ob-card { position: absolute; right: 5%; bottom: 14%; display: flex; align-items: center; gap: .65rem; padding: .6rem .8rem .6rem .6rem;
    border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(16, 24, 40, .16); }
.thanos-ob-score { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--sm-brand); border-radius: 50%; font-size: 12px; font-weight: 800; color: var(--sm-text); }
.thanos-ob-card-lines { display: flex; flex-direction: column; gap: 5px; }
.thanos-ob-card-lines small { font-size: 10px; font-weight: 700; color: var(--sm-brand); text-transform: uppercase; letter-spacing: .03em; }
.thanos-ob-card-lines .thanos-ob-person { margin-top: 3px; padding-top: 6px; border-top: 1px solid var(--sm-border); }
.thanos-ob-card-lines .thanos-ob-person > .fa { margin-inline-start: auto; color: var(--sm-brand); font-size: 12px; }
/* Scene 2: the search form on the left, the map on the right, then the analysed companies with their scores. */
.is-search-scene .thanos-ob-map { left: 40%; }
.thanos-ob-form { position: absolute; inset: 0 60% 0 0; display: flex; flex-direction: column; gap: 5px; padding: 12px; background: #fff; font-size: 10px; }
.thanos-ob-form label { margin: 3px 0 0; font-weight: 700; color: var(--sm-text); }
.thanos-ob-select { display: flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--sm-input-border); border-radius: 6px; overflow: hidden; }
.thanos-ob-typed { display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--sm-text); font-weight: 600; }
.thanos-ob-chips { display: flex; gap: 4px; }
.thanos-ob-chips i { padding: 3px 7px; border: 1px solid var(--sm-input-border); border-radius: 999px; font-style: normal; color: var(--sm-text); white-space: nowrap; }
.thanos-ob-chips i.is-picked { border-color: var(--sm-text); background: var(--sm-text); color: #fff; }
.thanos-ob-go { display: grid; place-items: center; height: 26px; margin-top: auto; border-radius: 6px; background: var(--sm-brand); color: #fff; font-weight: 700; }
.is-search-scene .thanos-ob-ring { width: 80%; }
.thanos-ob-results { position: absolute; right: 4%; bottom: 7%; width: min(40%, 230px); display: flex; flex-direction: column; padding: 2px 10px;
    border-radius: 10px; background: #fff; box-shadow: 0 10px 26px rgba(16, 24, 40, .18); }
.thanos-ob-result { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 7px 0; border-bottom: 1px solid var(--sm-border); }
.thanos-ob-result:last-child { border-bottom: 0; }
.thanos-ob-result .thanos-ob-name b { width: 64px; height: 6px; }
.thanos-ob-result .thanos-ob-name i { width: 42px; height: 5px; }
.thanos-ob-pill-score { min-width: 32px; padding: 2px 6px; border-radius: 999px; background: var(--sm-surface); color: var(--sm-text); font-size: 10px; font-weight: 800; text-align: center; }
.thanos-ob-pill-score.is-top { background: var(--sm-brand); color: #fff; }
/* Scene 3: the company's people on the left, the first message for one of them on the right. */
.is-people-scene { background: var(--sm-surface); }
.thanos-ob-people, .thanos-ob-draft { position: absolute; top: 10px; bottom: 10px; display: flex; flex-direction: column; padding: 9px 10px; border-radius: 10px; background: #fff; }
.thanos-ob-people { left: 10px; width: calc(54% - 15px); justify-content: center; }
.thanos-ob-people > .thanos-ob-fact-label { margin-bottom: 2px; }
.thanos-ob-draft { right: 10px; width: calc(46% - 15px); gap: 8px; box-shadow: 0 12px 30px rgba(16, 24, 40, .14); }
.thanos-ob-lines { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 7px; }
.thanos-ob-lines b, .thanos-ob-lines i { display: block; transform-origin: left center; }
.thanos-ob-lines b { width: 72%; height: 8px; margin-bottom: 4px; border-radius: 4px; background: var(--sm-text); opacity: .8; }
.thanos-ob-lines i { width: 100%; height: 6px; border-radius: 3px; background: var(--sm-input-border); }
.thanos-ob-lines i.is-short { width: 58%; }
.thanos-ob-send { display: flex; gap: 6px; }
.thanos-ob-send em { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: .3rem; height: 24px; border-radius: 6px;
    font-size: 10px; font-style: normal; font-weight: 700; white-space: nowrap; }
.thanos-ob-send .is-mail { background: var(--sm-brand); color: #fff; }
.thanos-ob-send .is-linkedin { border: 1px solid var(--sm-input-border); color: var(--sm-text); }
.thanos-ob-send .is-linkedin .fa { color: #0A66C2; }
/* Scene 4: a team that grows and reaches more languages, the plan that grows with it and the credits used. */
.is-scale-scene { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12px; padding: 14px; background: var(--sm-surface); }
.thanos-ob-grow { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 10px; background: #fff; }
.thanos-ob-team, .thanos-ob-langs { display: flex; overflow: hidden; white-space: nowrap; }
.thanos-ob-team { padding-inline-start: 6px; margin-bottom: 4px; }
.thanos-ob-team .thanos-ob-avatar { width: 28px; height: 28px; margin-inline-start: -6px; border: 2px solid #fff; }
.thanos-ob-langs { gap: 4px; }
.thanos-ob-langs i { flex: 0 0 auto; padding: 2px 7px; border-radius: 999px; background: rgba(229, 84, 26, .1); color: var(--sm-brand); font-size: 10px; font-style: normal; font-weight: 800; }
.thanos-ob-usage { display: flex; flex-direction: column; gap: 10px; }
.thanos-ob-plan { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; padding: .25rem .7rem .25rem .3rem; border-radius: 999px;
    background: #fff; color: var(--sm-text); font-size: 12px; font-weight: 800; box-shadow: 0 2px 8px rgba(16, 24, 40, .08); }
.thanos-ob-plan-names { display: inline-grid; }
.thanos-ob-plan-names > span { grid-area: 1 / 1; }
.thanos-ob-plan-names .is-from { opacity: 0; }
.thanos-ob-plan .fa-arrow-up { color: #047857; font-size: 10px; }
.thanos-ob-credit { display: flex; flex-direction: column; gap: 7px; padding: 10px 12px; border-radius: 10px; background: #fff; }
.thanos-ob-credit-head { font-size: 11px; font-weight: 700; color: var(--sm-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thanos-ob-credit-head .fa { margin-inline-end: .3rem; color: var(--sm-brand); }
.thanos-ob-meter { display: block; height: 8px; border-radius: 999px; background: var(--sm-border); overflow: hidden; }
.thanos-ob-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sm-brand), #F79009); }
.thanos-ob-meter .is-listing { width: 38%; }
.thanos-ob-meter .is-analysis { width: 22%; }

/* The loops (only while the step is open). */
.is-play .is-world-scene .thanos-ob-pin { animation: thanos-ob-pop var(--loop) ease-out var(--d) infinite both; }
.is-play .is-world-scene .thanos-ob-card { animation: thanos-ob-card var(--loop) ease-out infinite both; }
.is-play .thanos-ob-globe::before { animation: thanos-ob-halo 4s linear infinite; }
.is-play .thanos-ob-typed { animation: thanos-ob-type var(--loop) steps(22, end) infinite both; }
.is-play .thanos-ob-chips .is-picked { animation: thanos-ob-pick var(--loop) infinite both; }
.is-play .thanos-ob-go { animation: thanos-ob-press var(--loop) infinite both; }
.is-play .is-search-scene .thanos-ob-ring { animation: thanos-ob-open var(--loop) ease-out infinite both; }
.is-play .is-search-scene .thanos-ob-pin { animation: thanos-ob-drop var(--loop) ease-out calc(var(--d) * .35 + 3.2s) infinite both; }
.is-play .is-search-scene .thanos-ob-cursor { animation: thanos-ob-cursor-search var(--loop) ease-in-out infinite both; }
.is-play .thanos-ob-results { animation: thanos-ob-panel var(--loop) ease-out infinite both; }
.is-play .thanos-ob-pill-score { animation: thanos-ob-score var(--loop) ease-out calc(var(--i) * .35s) infinite both; }
.is-play .is-people-scene .thanos-ob-cursor { animation: thanos-ob-cursor-people var(--loop) ease-in-out infinite both; }
.is-play .thanos-ob-status:not(.is-static) .is-idle { animation: thanos-ob-idle var(--loop) infinite both; }
.is-play .thanos-ob-status:not(.is-static) .is-busy { animation: thanos-ob-busy var(--loop) infinite both; }
.is-play .thanos-ob-status:not(.is-static) .is-done { animation: thanos-ob-done var(--loop) infinite both; }
.is-play .thanos-ob-spin { animation: thanos-ob-rotate .8s linear infinite; }
.is-play .thanos-ob-draft { animation: thanos-ob-panel var(--loop) ease-out infinite both; }
.is-play .thanos-ob-lines > * { animation: thanos-ob-write var(--loop) ease-out calc(var(--i) * .3s) infinite both; }
.is-play .thanos-ob-send em { animation: thanos-ob-send var(--loop) ease-out infinite both; }
.is-play .thanos-ob-send .is-mail { animation-name: thanos-ob-send-press; }
.is-play .thanos-ob-team { animation: thanos-ob-team var(--loop) ease-out infinite both; }
.is-play .thanos-ob-langs { animation: thanos-ob-langs var(--loop) ease-out infinite both; }
.is-play .thanos-ob-plan-names .is-from { animation: thanos-ob-plan-from var(--loop) ease-out infinite both; }
.is-play .thanos-ob-plan-names .is-to, .is-play .thanos-ob-plan .fa-arrow-up { animation: thanos-ob-plan-to var(--loop) ease-out infinite both; }
.is-play .thanos-ob-meter .is-listing { animation: thanos-ob-listing var(--loop) ease-in-out infinite both; }
.is-play .thanos-ob-meter .is-analysis { animation: thanos-ob-analysis var(--loop) ease-in-out infinite both; }

@keyframes thanos-ob-rotate { to { transform: rotate(360deg); } }
@keyframes thanos-ob-halo { to { transform: rotate(360deg); } }
@keyframes thanos-ob-pop { 0%, 2% { transform: scale(0); opacity: 0; } 6% { transform: scale(1.35); opacity: 1; } 10%, 88% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(0); opacity: 0; } }
@keyframes thanos-ob-card { 0%, 58% { transform: translateY(14px); opacity: 0; } 64%, 92% { transform: none; opacity: 1; } 98%, 100% { transform: translateY(14px); opacity: 0; } }
@keyframes thanos-ob-type { 0%, 4% { max-width: 0; } 22%, 100% { max-width: 20em; } }
@keyframes thanos-ob-pick { 0%, 26% { background: transparent; color: var(--sm-text); border-color: var(--sm-input-border); } 30%, 100% { background: var(--sm-text); color: #fff; border-color: var(--sm-text); } }
@keyframes thanos-ob-press { 0%, 36% { transform: none; filter: none; } 38% { transform: scale(.94); filter: brightness(.9); } 41%, 100% { transform: none; filter: none; } }
@keyframes thanos-ob-open { 0%, 38% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 46%, 92% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes thanos-ob-drop { 0% { transform: translateY(-14px); opacity: 0; } 4% { transform: none; opacity: 1; } 48% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes thanos-ob-panel { 0%, 54% { transform: translateY(14px) scale(.97); opacity: 0; } 60%, 93% { transform: none; opacity: 1; } 99%, 100% { transform: translateY(14px) scale(.97); opacity: 0; } }
@keyframes thanos-ob-score { 0%, 62% { transform: scale(0); opacity: 0; } 66% { transform: scale(1.25); opacity: 1; } 69%, 100% { transform: none; opacity: 1; } }
@keyframes thanos-ob-cursor-search {
    0% { left: 30%; top: 90%; opacity: 0; } 6% { opacity: 1; }
    14% { left: 24%; top: 26%; } 24% { left: 24%; top: 26%; }
    28% { left: 21%; top: 56%; } 33% { left: 21%; top: 56%; }
    37% { left: 20%; top: 82%; } 42% { left: 20%; top: 82%; opacity: 1; }
    50%, 100% { left: 26%; top: 96%; opacity: 0; } }
@keyframes thanos-ob-cursor-people {
    0% { left: 30%; top: 96%; opacity: 0; } 6% { opacity: 1; }
    16%, 22% { left: 44%; top: 52%; } 22.5% { transform: scale(.85); } 24% { transform: none; }
    56% { left: 56%; top: 80%; opacity: 1; } 80%, 86% { left: var(--mail-x, 64%); top: var(--mail-y, 86%); opacity: 1; } 87% { transform: scale(.85); } 88.5% { transform: none; }
    94%, 100% { left: 74%; top: 98%; opacity: 0; } }
@keyframes thanos-ob-idle { 0%, 22% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes thanos-ob-busy { 0%, 22% { opacity: 0; } 24%, 46% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes thanos-ob-done { 0%, 46% { opacity: 0; } 48%, 100% { opacity: 1; } }
@keyframes thanos-ob-write { 0%, 60% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes thanos-ob-send { 0%, 74% { transform: translateY(6px); opacity: 0; } 78%, 100% { transform: none; opacity: 1; } }
@keyframes thanos-ob-send-press { 0%, 74% { transform: translateY(6px); opacity: 0; } 78%, 86% { transform: none; opacity: 1; filter: none; } 87.5% { transform: scale(.94); filter: brightness(.9); } 89%, 100% { transform: none; opacity: 1; filter: none; } }
@keyframes thanos-ob-team { 0%, 8% { max-width: 36px; } 14%, 18% { max-width: 58px; } 24%, 28% { max-width: 80px; } 34%, 38% { max-width: 102px; } 44%, 94% { max-width: 130px; } 100% { max-width: 36px; } }
@keyframes thanos-ob-langs { 0%, 30% { max-width: 30px; } 36%, 40% { max-width: 60px; } 46%, 50% { max-width: 92px; } 56%, 60% { max-width: 124px; } 66%, 94% { max-width: 170px; } 100% { max-width: 30px; } }
@keyframes thanos-ob-plan-from { 0%, 44% { opacity: 1; transform: none; } 50%, 95% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }
@keyframes thanos-ob-plan-to { 0%, 44% { opacity: 0; transform: translateY(8px); } 50%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes thanos-ob-listing { 0%, 12% { width: 14%; } 40%, 100% { width: 38%; } }
@keyframes thanos-ob-analysis { 0%, 40% { width: 8%; } 70%, 100% { width: 22%; } }
@media (prefers-reduced-motion: reduce) {
    .thanos-ob-scene *, .thanos-ob-scene { animation: none !important; }
    .thanos-ob-cursor { display: none; }
}
/* A narrow scene (tablet two-column modal, phones): sized by the scene, not the page. */
@container thanos-ob (max-width: 460px) {
    .thanos-ob-form { font-size: 9px; padding: 8px; }
    .thanos-ob-chips i { padding: 1px 4px; }
    .thanos-ob-chips { gap: 2px; }
    .thanos-ob-card { right: 3%; bottom: 10%; padding: .45rem .55rem .45rem .45rem; gap: .45rem; }
    .thanos-ob-score { width: 34px; height: 34px; font-size: 11px; }
    .thanos-ob-card-lines b { width: 64px; }
    .thanos-ob-results { width: 46%; padding: 0 8px; }
    .thanos-ob-result { padding: 5px 0; }
    .thanos-ob-result .thanos-ob-name b { width: 44px; }
    .thanos-ob-result .thanos-ob-name i { width: 30px; }
    .thanos-ob-people, .thanos-ob-draft { top: 8px; bottom: 8px; padding: 6px 8px; }
    .thanos-ob-people { left: 8px; width: calc(57% - 12px); }
    .thanos-ob-draft { right: 8px; width: calc(43% - 12px); gap: 6px; }
    .thanos-ob-row { padding: 6px 0; gap: .35rem; }
    .thanos-ob-row.is-target { margin: 0 -8px; padding-inline: 8px; }
    .thanos-ob-avatar { width: 16px; height: 16px; }
    .thanos-ob-person { gap: .3rem; }
    .thanos-ob-person .thanos-ob-name b { width: 38px; }
    .thanos-ob-person .thanos-ob-name i { width: 26px; }
    .thanos-ob-status { font-size: 8.5px; }
    .thanos-ob-status em { padding: 1px 5px; gap: .2rem; }
    .thanos-ob-status .is-idle .fa { display: none; }
    .thanos-ob-lines { gap: 5px; }
    .thanos-ob-send { flex-direction: column; gap: 4px; }
    .thanos-ob-send em { flex: 0 0 auto; height: 20px; font-size: 9px; }
    .is-people-scene { --mail-x: 74%; --mail-y: 69%; }
    .is-scale-scene { gap: 8px; padding: 8px; }
    .thanos-ob-grow { padding: 8px; gap: 5px; }
    .thanos-ob-team .thanos-ob-avatar { width: 22px; height: 22px; }
    .thanos-ob-langs i { padding: 1px 5px; font-size: 9px; }
    .thanos-ob-usage { gap: 6px; }
    .thanos-ob-credit { padding: 6px 8px; gap: 5px; }
    .thanos-ob-credit-head { font-size: 9.5px; }
    .thanos-ob-plan { font-size: 10.5px; }
}

/* ---------------------------------------------------------------- login */
/* The login wrapper sets a light text colour; keep the validation message readable. */
.thanos-login .alert { color: var(--sm-text); }
.single-page .wrapper .thanos-remember { display: flex; align-items: center; gap: .5rem; padding-inline-start: 0; }
.single-page .wrapper .thanos-remember input[type="checkbox"] {
    position: static;
    appearance: auto;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    accent-color: var(--secondary-color);
}
.single-page .wrapper .thanos-remember label { position: static; padding: 0; background: none; font-size: 13px; pointer-events: auto; }
.single-page .wrapper .validation-summary-valid { display: none; }
.single-page .wrapper .validation-summary-errors ul { margin: 0; padding-inline-start: 1rem; }
.single-page .wrapper input.input-validation-error { border-color: #f15a5a; }
.thanos-login .thanos-status { padding: 1rem 1.5rem 0; text-align: start; }
.thanos-login .thanos-status .alert { margin-top: 0 !important; }
.single-page .wrapper .thanos-remember label a { color: inherit; text-decoration: underline; }

/* ================================================================
   Sellermain corporate identity (Konsept C1)
   60% white/sand · 30% graphite · 10% orange. No gradients.
   Colours, font and radii come from the "branding" settings group.
   ================================================================ */

/* ---------------------------------------------------------------- typography */
body,
.btn, .form-control, .dropdown-menu, .modal, input, select, textarea, button,
.select2-container, .leaflet-container, .horizontalMenu, .horizontalMenu > .horizontalMenu-list > li > a {
    font-family: var(--sm-font);
}
body { color: var(--sm-text); background-color: var(--sm-surface); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--sm-text); font-family: var(--sm-font); }
h1, .h1 { font-weight: 800; letter-spacing: -.03em; }
h2, .h2 { font-weight: 800; letter-spacing: -.02em; }
h3, .h3, h4, .h4 { font-weight: 700; letter-spacing: -.01em; }
.text-muted { color: var(--sm-muted) !important; }
a { color: var(--secondary-color); }
a:hover { color: var(--secondary-hover); }
.section-title h2 { font-weight: 800; }
.section-title p { color: var(--sm-muted); }
/* Headings inside dark (graphite) areas */
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5,
.header-text h1, .bg-dark-purple h6, .counter-status h2, .counter-status h5 { color: #fff; }

/* Label: 12/16, 700, uppercase, 0.08em */
.thanos-eyebrow {
    display: inline-block;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: var(--sm-brand-soft);
    color: var(--secondary-hover);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- buttons (10 px radius) */
.btn { border-radius: var(--sm-radius-control); font-weight: 600; }
.btn-pill { border-radius: 999px; }
/* Primary (one per screen): orange 600, hover 700 */
.btn-secondary,
.btn-secondary:focus { background-color: var(--secondary-color) !important; border-color: var(--secondary-color) !important; color: #fff !important; }
.btn-secondary:hover,
.btn-secondary:active { background-color: var(--secondary-hover) !important; border-color: var(--secondary-hover) !important; color: #fff !important; }
/* Secondary (D-031): transparent, graphite text, 1 px light grey border; on hover border and text turn orange 600.
   On dark surfaces: white text, 35% white border, orange 500 border on hover. */
.thanos-btn-outline {
    background: transparent;
    border: 1px solid var(--sm-input-border);
    color: var(--sm-text);
    transition: border-color .2s ease, color .2s ease;
}
.thanos-btn-outline:hover,
.thanos-btn-outline:focus-visible { background: transparent; color: var(--secondary-color); border-color: var(--secondary-color); }
.thanos-btn-outline.on-dark { border-color: rgba(255, 255, 255, .35); color: #fff; }
.thanos-btn-outline.on-dark:hover,
.thanos-btn-outline.on-dark:focus-visible { background: transparent; color: #fff; border-color: var(--sm-brand); }
/* Mark buttons (D-028, D-029, D-030, all variants: docs/design/mark-buttons.html). The arrow M of the brand mark
   (Shared/_MarkArrow) is never rotated or reshaped; on hover/focus it is redrawn (effect of variant A) and ends as the logo shape. */
.thanos-mark-arrow { width: 22px; height: 22px; flex-shrink: 0; }
.thanos-mark-arrow path {
    fill: none; stroke: currentColor; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 150; stroke-dashoffset: 0;
}
.thanos-mark-btn:hover .thanos-mark-arrow path,
.thanos-mark-btn:focus-visible .thanos-mark-arrow path { animation: thanos-mark-draw .7s ease-out; }
@keyframes thanos-mark-draw { from { stroke-dashoffset: 150; } to { stroke-dashoffset: 0; } }
/* B · line: label first, the orange line arrow after it. On the orange primary button the arrow is white. */
.thanos-mark-btn--line { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; }
.thanos-mark-btn--line .thanos-mark-arrow { width: 20px; height: 20px; color: var(--sm-brand); }
.thanos-mark-btn--line.btn-lg .thanos-mark-arrow { width: 22px; height: 22px; }
.thanos-mark-btn--line.btn-sm { gap: .4rem; }
.thanos-mark-btn--line.btn-sm .thanos-mark-arrow { width: 15px; height: 15px; }
.thanos-mark-btn--line.btn-secondary .thanos-mark-arrow { color: #fff; }
/* C · split: the mark is the orange left cap of a thin-bordered secondary button. */
.thanos-mark-btn--split {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: 0 1.1rem 0 0;
    min-height: 42px;
    border: 1px solid var(--sm-input-border);
    overflow: hidden;
}
.thanos-mark-btn--split .thanos-mark-btn-cap {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    background: var(--sm-brand);
    color: #fff;
}
.thanos-mark-btn--split:hover { border-color: var(--sm-text); }
.thanos-mark-btn--split.on-dark { border-color: rgba(255, 255, 255, .35); }
.thanos-mark-btn--split.on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
@media (prefers-reduced-motion: reduce) {
    .thanos-mark-btn:hover .thanos-mark-arrow path, .thanos-mark-btn:focus-visible .thanos-mark-arrow path { animation: none; }
}
.btn-outline-primary { color: var(--sm-text); border-color: var(--sm-input-border); }
.btn-outline-primary:hover,
.btn-outline-primary.active,
.btn-outline-primary:active { background-color: var(--sm-text) !important; border-color: var(--sm-text) !important; color: #fff !important; }

/* ---------------------------------------------------------------- inputs */
.form-control,
.single-page .wrapper input,
.select2-container--default .select2-selection--single {
    border: 1px solid var(--sm-input-border);
    border-radius: var(--sm-radius-control) !important;
    color: var(--sm-text);
}
.form-control:focus,
.single-page .wrapper input:focus {
    border-color: var(--sm-brand);
    box-shadow: 0 0 0 1px var(--sm-brand);
}
/* Drop-downs: the theme paints the chosen value pale grey (#a7b4c9), so it read like a placeholder; it now has the text colour,
   size and border of the text boxes. Only real placeholders stay muted. */
.form-select { border: 1px solid var(--sm-input-border); color: var(--sm-text); }
.form-select:not(.form-select-sm):not(.form-select-lg) { font-size: .9375rem; height: 39px; }
.form-select:focus { border-color: var(--sm-brand); box-shadow: 0 0 0 1px var(--sm-brand); }
.form-control:focus, .form-select:focus { color: var(--sm-text); }
.form-control::placeholder { color: var(--sm-muted); opacity: .8; }
.input-group > .form-control:not(:last-child) { border-start-end-radius: 0 !important; border-end-end-radius: 0 !important; }
.input-group > .btn:last-child,
.input-group > .input-group-text:last-child { border-radius: var(--sm-radius-control); border-start-start-radius: 0; border-end-start-radius: 0; }
.form-range::-webkit-slider-thumb { background: var(--sm-brand) !important; }
.form-range::-moz-range-thumb { background: var(--sm-brand) !important; }

/* Focus ring: always visible, 2 px orange 500 with 2 px offset */
:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
    outline: 2px solid var(--sm-brand) !important;
    outline-offset: 2px;
}

/* ---------------------------------------------------------------- cards (16 px, 1 px border instead of shadow) */
.card {
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-card);
    box-shadow: none;
}
.card .card-footer { border-radius: 0 0 var(--sm-radius-card) var(--sm-radius-card); }
.single-page .wrapper,
.single-page .wrapper.wrapper2 { border-radius: var(--sm-radius-panel); box-shadow: none; border: 1px solid var(--sm-border); }
.modal-content { border-radius: var(--sm-radius-panel); border: 0; }
.dropdown-menu { border-radius: var(--sm-radius-control); border-color: var(--sm-border); }

/* Brand icon tiles: orange 500 on a soft orange tint */
.thanos-icon-brand { background: var(--sm-brand-soft) !important; color: var(--sm-brand) !important; }
.thanos-text-brand,
.thanos-text-brand i { color: var(--sm-brand) !important; }
.thanos-step-icon { border-radius: var(--sm-radius-card); }
.category-svg svg,
.category-svg svg g { fill: var(--sm-brand) !important; }
.cat-item:hover .cat-desc h5 { color: var(--secondary-color); }

/* ---------------------------------------------------------------- surfaces */
.bg-white { background-color: #fff !important; }
/* Template purple footer → graphite */
.bg-dark-purple { background-color: var(--sm-text) !important; }
footer .footer-main h6 { color: #fff; }
footer a,
footer .footer-links .btn-link { color: rgba(255, 255, 255, .78) !important; }
footer a:hover,
footer .footer-links .btn-link:hover { color: #fff !important; }
/* Footer categories (D-107): a centred band of plain links, no boxes, on desktop and phones alike. */
.footer-categories { padding: 1.75rem 0; }
/* One heading style for every footer section (About, Contact, Categories). */
footer .footer-title { margin-bottom: 1rem; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact li { margin-bottom: .35rem; }
/* Phones and tablets: the stacked columns are centred like the categories band, so the footer reads as one block. */
@media (max-width: 991.98px) {
    .footer-columns { text-align: center; }
    .footer-columns p { max-width: 34rem; margin-left: auto; margin-right: auto; }
    .footer-contact .me-3 { margin-inline-end: .5rem !important; }
}
.footer-categories-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.footer-categories-list a { font-size: 14px; line-height: 1.5; text-decoration: none; transition: color .15s ease; }
footer .footer-categories-list a:hover,
footer .footer-categories-list a:focus-visible { color: var(--sm-brand) !important; }
@media (max-width: 575.98px) {
    .footer-categories { padding: 1.5rem 0; }
    .footer-categories-list { gap: .5rem 1.1rem; }
}
footer .text-secondary { color: var(--sm-brand) !important; }
.social-icons li a { border-radius: var(--sm-radius-control); }
/* Header nav and top bar */
.horizontal-main.bg-dark-transparent { background-color: var(--sm-text) !important; }
.horizontalMenu > .horizontalMenu-list > li > a.active,
.horizontalMenu > .horizontalMenu-list > li:hover > a { color: var(--sm-brand) !important; background: transparent !important; }
.top-bar { background: #fff; border-bottom: 1px solid var(--sm-border); }
@media (min-width: 992px) {
    /* Sticky header: the logo bar and the graphite menu stay on top together. The template wraps the
       body in an overflow:hidden container (that breaks position:sticky) and pins only the menu with
       jquery.sticky; clip keeps the off-canvas clipping, and the menu rides along inside the header. */
    .horizontalMenucontainer { overflow: clip; }
    .header-main { position: sticky; top: 0; z-index: 1020; }
    .header-main .horizontal-main { position: relative !important; top: auto !important; width: auto !important; }
}
/* Header actions: language box + account links (desktop top bar and the mobile header row) */
.thanos-header-actions { display: flex; align-items: center; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.thanos-header-actions > li { display: flex; align-items: center; }
.thanos-header-actions > li > a { display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; line-height: 1.4; }
.thanos-header-actions i { color: var(--sm-brand) !important; }
.thanos-header-actions .fa-caret-down { color: var(--sm-muted) !important; }
/* Company switcher (D-064): the active company in the top bar; its drop-down lists the user's profiles. */
.thanos-company-switch-name { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.thanos-company-menu { min-width: 15rem; }
.thanos-company-item { display: flex; align-items: center; width: 100%; border: 0; background: none; text-align: start; }
.thanos-company-item-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thanos-company-item.is-active { font-weight: 600; color: var(--secondary-color); }
.thanos-company-item:not(.is-active) .dropdown-icon { color: var(--sm-muted) !important; }
.thanos-company-item-role { margin-inline-start: auto; padding-inline-start: .75rem; color: var(--sm-muted); font-size: 11px; font-weight: 500; white-space: nowrap; }
.thanos-header-actions.is-compact .dropdown-menu { max-width: calc(100vw - 4rem); } /* the menu opens from the account icon, not the screen edge */
.thanos-header-actions.is-compact .thanos-company-menu { min-width: 0; }
.thanos-lang { position: relative; }
.thanos-lang .fa-globe { position: absolute; inset-inline-start: .6rem; pointer-events: none; }
.thanos-lang-select {
    appearance: none;
    padding: .3rem 1.9rem .3rem 1.85rem;
    border: 1px solid var(--sm-input-border);
    border-radius: var(--sm-radius-control);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236B7280' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .65rem center;
    color: var(--sm-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}
.thanos-lang-select:hover { border-color: var(--sm-text); }
.thanos-lang-select:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: 2px; }
/* Compact (mobile row): language code and icons only */
.thanos-header-actions.is-compact { gap: .9rem; }
.thanos-header-actions.is-compact > li > a { font-size: 18px; }
.thanos-header-actions.is-compact .thanos-lang-select { padding: .25rem 1.55rem .25rem 1.7rem; background-position: right .5rem center; }

/* Mobile header (< lg): toggle and logo on the left, actions and call button on the right, one row */
@media (max-width: 991.98px) {
    .thanos-mobile-header { display: flex; align-items: center; gap: .75rem; height: 100%; }
    .thanos-mobile-header .animated-arrow { position: relative; flex: none; margin: 0 0 0 4px; padding: 16px 22px 16px 0; }
    .thanos-mobile-header .smllogo { flex: none; margin: 0 auto 0 0; }
    .thanos-mobile-header .callusbtn { position: static; flex: none; padding: 0 4px; color: var(--sm-brand); }
    .thanos-mobile-header .callusbtn .fa { margin-top: 0; vertical-align: middle; }
}
/* Very narrow phones: tighter gaps and a smaller logo keep the row on one line */
@media (max-width: 374.98px) {
    .thanos-mobile-header { gap: .5rem; }
    .thanos-mobile-header .smllogo img { width: auto; height: 22px; }
    .thanos-header-actions.is-compact { gap: .6rem; }
}
#myBar { background-color: var(--sm-brand) !important; }
#back-to-top { background: var(--secondary-color) !important; border-radius: var(--sm-radius-control); }
/* Back to top (D-040): the brand mark's arrow M in white, centred, no animation (it is not a .thanos-mark-btn). */
#back-to-top .thanos-mark-arrow { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); color: #fff; }
#back-to-top:hover, #back-to-top:focus-visible { background: var(--secondary-hover) !important; border: 0; }
#global-loader { background: #fff; }
#global-loader .loader-img { width: 64px; height: 64px; }

/* ---------------------------------------------------------------- status colours */
.alert { border-radius: var(--sm-radius-control); border-width: 1px; }
.alert-success { background: #ECFDF3; border-color: #ABEFC6; color: #067647; }
.alert-danger { background: #FEF3F2; border-color: #FECDCA; color: #B42318; }
.alert-info { background: var(--sm-surface); border-color: var(--sm-border); color: var(--sm-text); }
.alert-info .fa { color: var(--sm-brand); }
.alert-warning { background: #FFF8E1; border-color: #F5B800; color: var(--sm-text); }
.text-danger { color: #B42318 !important; }
.text-warning { color: #F5B800 !important; }
/* The template sets banner headings to a light weight; brand headings are 800. */
.header-text h1, .bannerimg h1, .banner-1 h1 { font-weight: 800 !important; letter-spacing: -.03em; }
/* Template styles every footer image as an 80 px framed thumbnail; the logo keeps its own proportions. */
.thanos-logo img { border: 0 !important; padding: 0 !important; border-radius: 0 !important; background: none !important; }
footer .thanos-logo img { width: auto !important; height: 32px !important; }
/* Menu links on the graphite bar (also when sticky) */
.horizontalMenu > .horizontalMenu-list > li > a { color: rgba(255, 255, 255, .86) !important; }
@media (max-width: 991.98px) {
    /* Off-canvas mobile menu is white */
    .horizontalMenu > .horizontalMenu-list > li > a { color: var(--sm-text) !important; }
    .horizontalMenu > .horizontalMenu-list { background: #fff; }
}

/* About page story photo: panel radius, no frame (brand: soft square forms, no shadows) */
.thanos-about-photo { border-radius: var(--sm-radius-panel); width: 100%; max-width: 520px; aspect-ratio: 4 / 5; object-fit: cover; }

/* Stroke-drawn category icons (plastics, chemicals): colour follows the brand like the filled ones */
.category-svg svg .sm-stroke { stroke: var(--sm-brand); }

/* ---------------------------------------------------------------- category page (template "Sub Categories") */
.thanos-category-filter .form-control,
.thanos-category-filter .input-group-text { height: 48px; }
.thanos-category-card { scroll-margin-top: 110px; }
@media (min-width: 992px) { .thanos-category-card { scroll-margin-top: 160px; } } /* clears the sticky logo bar + menu */
.thanos-category-card .card-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--sm-border);
    background: #fff;
    border-radius: var(--sm-radius-card) var(--sm-radius-card) 0 0;
}
.thanos-category-card .card-title { font-size: 1rem; font-weight: 700; line-height: 1.35; }
.thanos-category-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--sm-radius-control);
    background: var(--sm-brand-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.thanos-category-card-icon svg { width: 26px; height: 26px; margin: 0; }
.thanos-count-badge {
    background: var(--sm-surface);
    color: var(--sm-muted);
    border: 1px solid var(--sm-border);
    border-radius: 999px;
    font-weight: 600;
    padding: .35em .7em;
}
.thanos-subcategory-list li {
    padding: .6rem 1.25rem;
    border-bottom: 1px solid var(--sm-border);
    font-size: 14px;
}
.thanos-subcategory-list li:last-child { border-bottom: 0; }
.thanos-subcategory-list li a:hover { color: var(--secondary-color) !important; }
.thanos-subcategory-list li[hidden] { display: none !important; }
.thanos-category-card--focus { border-color: var(--sm-brand); box-shadow: 0 0 0 1px var(--sm-brand); }
[data-category-card][hidden] { display: none !important; }
/* Landing carousel: long sector names wrap under the icon */
.thanos-categories .cat-desc h5 { line-height: 1.35; min-height: 2.7em; display: flex; align-items: center; justify-content: center; }

/* ---------------------------------------------------------------- pricing page (template "Pricing Tables 2" + comparison) */
.thanos-billing-toggle {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    padding: 4px;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: 999px;
}
.thanos-billing-option {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: .55rem 1.25rem;
    font-weight: 600;
    color: var(--sm-muted);
}
.thanos-billing-option[aria-pressed="true"] { background: var(--sm-text); color: #fff; }
.thanos-billing-save {
    display: inline-block;
    margin-inline-start: .35rem;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: var(--sm-brand-soft);
    color: var(--secondary-hover);
    font-size: 12px;
    font-weight: 700;
}
.thanos-billing-option[aria-pressed="true"] .thanos-billing-save { background: rgba(255, 255, 255, .16); color: #fff; }

.thanos-plan { position: relative; }
.thanos-plan .card-body { padding: 2rem 1.75rem; }
.thanos-plan--featured { border: 2px solid var(--sm-brand); }
.thanos-plan-badge { position: absolute; top: 1.25rem; inset-inline-end: 1.25rem; }
.thanos-plan-name { font-size: 1.35rem; font-weight: 800; margin-bottom: .35rem; }
.thanos-plan-price { display: flex; align-items: baseline; gap: .35rem; }
.thanos-plan-amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--sm-text); line-height: 1.1; }
.thanos-plan-note { min-height: 1.2em; }
.thanos-plan-note.is-empty { visibility: hidden; }
.thanos-plan-features li { display: flex; gap: .6rem; align-items: baseline; padding: .4rem 0; font-size: 14px; color: var(--sm-text); }
.thanos-plan-features li i { width: 1rem; flex-shrink: 0; color: var(--sm-brand); }
.thanos-plan-features li.is-off { color: var(--sm-muted); opacity: .7; }
.thanos-plan-features li.is-off i { color: var(--sm-muted); }

.thanos-compare {
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-card);
    background: #fff;
}
.thanos-compare table { min-width: 640px; }
.thanos-compare th,
.thanos-compare td { padding: .9rem 1.25rem; border-color: var(--sm-border); vertical-align: middle; font-size: 14px; }
.thanos-compare thead th { font-weight: 800; color: var(--sm-text); border-bottom-width: 1px; }
.thanos-compare tbody th { font-weight: 600; color: var(--sm-text); }
.thanos-compare .is-featured { background: var(--sm-brand-soft); }
.thanos-compare tbody tr:last-child th,
.thanos-compare tbody tr:last-child td { border-bottom: 0; }
.thanos-compare tbody th::first-letter { text-transform: uppercase; }

/* ---------------------------------------------------------------- contact page */
.thanos-contact-panel {
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-panel);
    overflow: hidden;
    background: #fff;
}
.thanos-contact-aside {
    position: relative;
    overflow: hidden;
    background-color: var(--sm-text);
    /* hairline map grid */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E");
    color: rgba(255, 255, 255, .78);
}
.thanos-contact-aside-body { position: relative; z-index: 1; padding: 3rem 2.5rem; }
.thanos-eyebrow--dark { background: rgba(229, 84, 26, .16); color: #FF8A5C; }
.thanos-contact-aside-title { margin: 1rem 0 .75rem; font-size: 1.75rem; font-weight: 800; line-height: 1.25; color: #fff; }
.thanos-contact-aside-text { margin-bottom: 2rem; max-width: 380px; }
.thanos-contact-list { margin-bottom: 2rem; }
.thanos-contact-list li { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.thanos-contact-list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.thanos-contact-list-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sm-radius-control);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--sm-brand);
    font-size: 18px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.thanos-contact-list li:hover .thanos-contact-list-icon { background: var(--sm-brand); border-color: var(--sm-brand); color: #fff; }
.thanos-contact-list-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }
.thanos-contact-list-value { display: block; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
a.thanos-contact-list-value:hover { color: #FF8A5C; }
.thanos-contact-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    transition: background-color .2s ease, border-color .2s ease;
}
.thanos-contact-social a:hover { background: var(--sm-brand); border-color: var(--sm-brand); }

/* Radar: the search radius idea, pulsing in the panel corner. */
.thanos-radar {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    bottom: -150px;
    pointer-events: none;
}
.thanos-radar-ring,
.thanos-radar-dot,
.thanos-radar-blip { position: absolute; border-radius: 50%; }
.thanos-radar-ring {
    inset: 0;
    border: 1px solid var(--sm-brand);
    opacity: 0;
    animation: thanos-radar-pulse 4.5s ease-out infinite;
}
.thanos-radar-ring:nth-child(2) { animation-delay: 1.5s; }
.thanos-radar-ring:nth-child(3) { animation-delay: 3s; }
.thanos-radar-dot {
    width: 14px;
    height: 14px;
    left: calc(50% - 7px);
    top: calc(50% - 7px);
    background: var(--sm-brand);
    box-shadow: 0 0 0 6px rgba(229, 84, 26, .22);
}
.thanos-radar-sweep {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 50%;
    background: rgba(229, 84, 26, .55);
    transform-origin: 50% 100%;
    animation: thanos-radar-spin 6s linear infinite;
}
.thanos-radar-blip {
    width: 8px;
    height: 8px;
    left: var(--x);
    top: var(--y);
    background: #fff;
    opacity: 0;
    animation: thanos-radar-blip 6s ease-out infinite;
    animation-delay: var(--d, 0s);
}
@keyframes thanos-radar-pulse {
    0% { transform: scale(.08); opacity: .9; }
    100% { transform: scale(1); opacity: 0; }
}
@keyframes thanos-radar-spin { to { transform: rotate(360deg); } }
@keyframes thanos-radar-blip {
    0%, 100% { opacity: 0; transform: scale(.4); }
    8% { opacity: .9; transform: scale(1.2); }
    30% { opacity: .35; transform: scale(1); }
    60% { opacity: 0; }
}

.thanos-contact-form { padding: 3rem 2.5rem; }
.thanos-contact-form-title { font-size: 1.6rem; font-weight: 800; margin-bottom: .5rem; }
.thanos-contact-form .form-group { margin-bottom: 1.25rem; }
.thanos-contact-form .form-label { font-weight: 600; font-size: 14px; color: var(--sm-text); }
.thanos-contact-form .form-control { transition: border-color .2s ease, box-shadow .2s ease; }
.thanos-contact-form .form-control:focus { border-color: var(--sm-brand); box-shadow: 0 0 0 3px rgba(229, 84, 26, .15); }
.thanos-contact-form textarea { resize: vertical; min-height: 140px; }
.thanos-contact-submit i { transition: transform .25s ease; }
.thanos-contact-submit:hover i { transform: translate(4px, -3px); }
.thanos-contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.thanos-contact-map {
    position: relative;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-panel);
    overflow: hidden;
}
.thanos-contact-map-canvas { height: 420px; background: var(--sm-surface); z-index: 0; }
.thanos-contact-map-card {
    position: absolute;
    z-index: 500;
    inset-inline-start: 1.5rem;
    top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    max-width: 320px;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-card);
}
.thanos-contact-map-card .thanos-step-icon { width: 48px; height: 48px; font-size: 20px; flex-shrink: 0; }
.thanos-map-pin { position: relative; display: block; width: 22px; height: 22px; }
.thanos-map-pin::before,
.thanos-map-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.thanos-map-pin::after { background: var(--sm-brand); border: 3px solid #fff; }
.thanos-map-pin::before { background: var(--sm-brand); animation: thanos-pin-pulse 2s ease-out infinite; }
@keyframes thanos-pin-pulse {
    0% { transform: scale(1); opacity: .5; }
    100% { transform: scale(3.2); opacity: 0; }
}

/* Blocks fade up once they scroll into view (only when contact.js is running). */
.thanos-reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.thanos-reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
    .thanos-contact-aside-body,
    .thanos-contact-form { padding: 2.25rem 1.5rem; }
    .thanos-radar { width: 320px; height: 320px; right: -120px; bottom: auto; top: -120px; }
}
@media (max-width: 575.98px) {
    .thanos-contact-aside-title { font-size: 1.4rem; }
    .thanos-contact-map-canvas { height: 360px; }
    .thanos-contact-map-card { left: .75rem; right: .75rem; top: auto; bottom: .75rem; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    .thanos-radar-ring,
    .thanos-radar-sweep,
    .thanos-radar-blip,
    .thanos-map-pin::before { animation: none; }
    .thanos-radar-ring:nth-child(1) { opacity: .3; transform: scale(.45); }
    .thanos-radar-ring:nth-child(2) { opacity: .2; transform: scale(.75); }
    .thanos-radar-ring:nth-child(3) { opacity: .1; transform: scale(1); }
}

/* ---------------------------------------------------------------- search results page */
.thanos-recent-status { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
/* Badge with the result count and the time under it, all on one left edge (T-207): a centred block moved with its width from
   row to row ("Pending" vs "Completed · 60 results"), so the badges did not line up under the header. */
.thanos-recent-status-badge { display: inline-flex; flex-direction: column; align-items: flex-start; text-align: start; }
.thanos-recent-status-badge .thanos-status-badge { min-width: 7.5rem; justify-content: center; text-align: center; }
@media (min-width: 1200px) {
    .thanos-recent-status { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
}
/* Recent searches fit the table: a long search text (D-179) wraps and stops after two lines with "…", as does a failure's
   reason; the full text is on hover (title). */
@media (min-width: 768px) {
    .thanos-recent-searches .thanos-recent-name-cell { white-space: normal; min-width: 10rem; max-width: 22rem; }
}
.thanos-recent-name, .thanos-recent-status-reason {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; white-space: normal;
}
.thanos-recent-searches .thanos-recent-status-reason { max-width: 13rem; }
.thanos-results-query {
    padding: 1.5rem 2rem;
    border-radius: var(--sm-radius-card);
    background-color: var(--sm-text);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E");
    color: rgba(255, 255, 255, .78);
}
.thanos-results-query-place { margin: 0 0 .25rem; font-size: 1.75rem; font-weight: 800; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
/* Renaming the place (T-190): a pencil next to it opens a small form under it. */
.thanos-results-place-head { display: flex; align-items: flex-start; gap: .25rem; }
.thanos-results-query .btn.thanos-results-place-edit { padding: .25rem .4rem; color: rgba(255, 255, 255, .6) !important; line-height: 1; }
.thanos-results-query .btn.thanos-results-place-edit:hover, .thanos-results-query .btn.thanos-results-place-edit:focus-visible, .thanos-results-query .btn.thanos-results-place-edit[aria-expanded="true"] { color: #FF8A5C !important; }
.thanos-results-place-form { margin-bottom: .75rem; max-width: 26rem; }
.thanos-results-place-form .form-label { color: rgba(255, 255, 255, .78); }
.thanos-results-query-type { font-size: 1.05rem; font-weight: 600; color: #FF8A5C; }
.thanos-results-query-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: 13px; }
.thanos-results-query-meta i { color: var(--sm-brand); margin-inline-end: .25rem; }
/* The theme paints a closed .collapse white (style.css). An element that is a collapse only on phones and shown from a
   breakpoint up (collapse d-md-flex …) would keep that white box on wider screens and hide light text on dark cards. */
.collapse:not(.show)[class*=" d-sm-"], .collapse:not(.show)[class*=" d-md-"], .collapse:not(.show)[class*=" d-lg-"], .collapse:not(.show)[class*=" d-xl-"] { background: transparent; }
.thanos-results .thanos-metric-card { display: flex; flex-direction: column; justify-content: center; gap: .5rem; padding: 1rem 1.25rem; }
.thanos-results .thanos-metric-card .thanos-metric-icon { width: 38px; height: 38px; font-size: 16px; }
.thanos-results-card-value { font-size: 1.05rem; font-weight: 700; color: var(--sm-text); overflow-wrap: anywhere; }
/* "Is the company you are looking for not on this list?" under a business type search's results (T-197). */
.thanos-results-describe { margin-top: 1rem; padding: 1.1rem 1rem; border: 1px dashed var(--sm-border); border-radius: 12px; text-align: center; }
.thanos-results-describe p { margin: 0 auto .75rem; max-width: 640px; color: var(--sm-muted); }
.thanos-results-describe .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; border: 0; background: var(--secondary-color); color: #fff; font-weight: 600; border-radius: var(--sm-radius-control); }
.thanos-results-describe .btn:hover, .thanos-results-describe .btn:focus-visible { background: var(--secondary-hover); color: #fff; }
.thanos-results-demo {
    display: flex;
    gap: .5rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: .75rem 1rem;
    border: 1px dashed var(--sm-brand);
    border-radius: var(--sm-radius-control);
    background: var(--sm-brand-soft);
    color: var(--secondary-hover);
    font-size: 13px;
    font-weight: 600;
}
.thanos-results-table td { font-size: 14px; vertical-align: top; padding-top: 1rem; padding-bottom: 1rem; }
.thanos-results-table .thanos-results-namecell { min-width: 190px; }
/* Sortable column headers (D-036) on the graphite header row: dim sort icon, orange on the sorted column and on hover. */
.thanos-sort { color: inherit; text-decoration: none; }
.thanos-sort .fa { margin-inline-start: .4rem; font-size: .85em; color: rgba(255, 255, 255, .45); transition: color .2s ease; }
.thanos-sort:hover, .thanos-sort:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
/* The column the list is sorted by (T-207): a thick brand line under it, stronger than the hover underline. */
.thanos-sort.is-active { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--sm-brand); text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* Above a list (T-207): rows per page on the left, the sort on the right. */
.thanos-list-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .75rem; }
.thanos-page-size { display: inline-flex; align-items: center; gap: .5rem; font-size: 13px; color: var(--sm-muted); }
.thanos-page-size-choices { display: inline-flex; border: 1px solid var(--sm-border); border-radius: 999px; overflow: hidden; background: #fff; }
.thanos-page-size-choices > a, .thanos-page-size-choices > span { padding: 3px 12px; font-size: 13px; line-height: 1.5; color: var(--sm-text); text-decoration: none; }
.thanos-page-size-choices > a:hover, .thanos-page-size-choices > a:focus-visible { color: var(--sm-brand); background: var(--sm-brand-soft); }
.thanos-page-size-choices > .is-active { color: #fff; background: var(--sm-brand); font-weight: 600; }
.thanos-list-sort { font-size: 13px; color: var(--sm-muted); }
/* "Companies to list" on the search form (T-207): the same pill row; the radios stay reachable by keyboard. */
.thanos-lf-count-choices > label { margin: 0; padding: 4px 14px; font-size: 13px; cursor: pointer; color: var(--sm-text); }
.thanos-lf-count-choices > label:hover { color: var(--sm-brand); background: var(--sm-brand-soft); }
.thanos-lf-count-choices > input:checked + label { color: #fff; background: var(--sm-brand); font-weight: 600; }
.thanos-lf-count-choices > input:focus-visible + label { outline: 2px solid var(--sm-brand); outline-offset: -2px; }
.thanos-sort:hover .fa, .thanos-sort:focus-visible .fa, .thanos-sort.is-active .fa { color: var(--sm-brand); }
.thanos-results-name { display: block; font-weight: 700; color: var(--sm-text); }
a.thanos-results-name { text-decoration: none; }
a.thanos-results-name:hover, a.thanos-results-name:focus-visible { color: var(--sm-brand); text-decoration: underline; }
/* A name in another script (T-163): its Latin spelling first, the name as found under it, smaller. */
.thanos-name-original { display: block; font-size: .8em; font-weight: 400; color: var(--sm-muted); line-height: 1.3; }
.thanos-latin-name { cursor: help; }
.thanos-company-hero .thanos-name-original { color: rgba(255, 255, 255, .72); font-size: .55em; margin-top: .25rem; }
.thanos-results-rating { white-space: nowrap; display: inline-flex; gap: .3rem; align-items: center; margin-top: .25rem; font-size: 12px; font-weight: 600; color: var(--sm-text); }
.thanos-results-rating .fa-star { color: #F59E0B; }
.thanos-results-type {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: var(--sm-brand-soft);
    color: var(--secondary-hover);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}
.thanos-results-address { min-width: 200px; color: var(--sm-muted); }
.thanos-results-phone { font-weight: 600; color: var(--sm-text); }
/* Website as an icon so long urls do not push the table past the viewport; the url stays in the tooltip / label. */
.thanos-results-table .thanos-results-website { text-align: center; white-space: nowrap; }
.thanos-results-website-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--sm-brand-soft);
    color: var(--sm-brand);
    font-size: 14px;
    transition: background-color .2s ease, color .2s ease;
}
.thanos-results-website-link:hover,
.thanos-results-website-link:focus-visible { background: var(--sm-brand); color: #fff; }
@media (max-width: 767.98px) {
    .thanos-results-website-link { width: auto; height: auto; border-radius: 0; background: none !important; color: var(--sm-brand) !important; gap: .4rem; }
}
.thanos-results .pagination .page-link { border-color: var(--sm-border); color: var(--sm-text); min-width: 38px; text-align: center; }
.thanos-results .pagination .page-item.active .page-link { background: var(--sm-text); border-color: var(--sm-text); color: #fff; }
.thanos-results .pagination .page-item.disabled .page-link { color: var(--sm-muted); }
@media (max-width: 575.98px) {
    .thanos-results-query { padding: 1.5rem; }
    .thanos-results-query-place { font-size: 1.4rem; }
}

/* "View result" in the recent searches table: solid brand orange, no border. */
.btn.thanos-view-result {
    white-space: nowrap;
    border: 0;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    padding: .35rem .85rem;
    border-radius: var(--sm-radius-control);
}
.btn.thanos-view-result:hover,
.btn.thanos-view-result:focus-visible { background: var(--secondary-hover); color: #fff; }
.btn.thanos-view-result.disabled { background: var(--sm-brand-soft); color: var(--secondary-hover); opacity: .7; }

/* Result page: map, search box, selection */
.thanos-results-map {
    position: relative;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-panel);
    overflow: hidden;
}
.thanos-results-map-canvas { background: var(--sm-surface); z-index: 0; }
.thanos-results-map-legend {
    position: absolute;
    z-index: 500;
    inset-inline-start: 1rem;
    top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sm-text);
}
.thanos-results-map-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sm-brand); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--sm-brand); }
.thanos-results-map .leaflet-popup-content { font-size: 13px; line-height: 1.45; }
/* Maps on a touch screen (js/map-base.js): one finger scrolls the page, two move the map; a draggable pin still follows one
   finger, and a one-finger swipe over the map shows the hint for a moment. */
.leaflet-container .leaflet-marker-draggable { touch-action: none; }
/* The theme's "svg { touch-action: none }" (assets/css/style.css) also caught the layer Leaflet draws its circles in: a finger
   that landed on the search circle, which fills the map once a place is picked, could not scroll the page. */
.leaflet-container svg { touch-action: auto; }
.thanos-map-touch-hint {
    position: absolute; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center; padding: 1rem;
    background: rgba(17, 24, 39, .55); color: #fff; font-size: 15px; font-weight: 600; text-align: center;
    opacity: 0; pointer-events: none; transition: opacity .2s;
}
.thanos-map-touch-hint.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .thanos-map-touch-hint { transition: none; } }
/* Discovery map (D-044, D-045): age scale of the search circles in the legend (four steps, no gradient), empty state over the map,
   pointer on company nodes, tooltip with name + fit score, KPI notes. */
.thanos-discovery-legend { flex-wrap: wrap; gap: .4rem .9rem; }
.thanos-discovery-scale { display: inline-flex; align-items: center; gap: 3px; color: var(--sm-muted); font-size: 12px; }
.thanos-discovery-scale span:first-child { margin-inline-end: .3rem; }
.thanos-discovery-scale span:last-child { margin-inline-start: .3rem; }
.thanos-discovery-scale i { width: 14px; height: 10px; border-radius: 2px; }
.thanos-discovery-scale .is-1 { background: #9A330D; }
.thanos-discovery-scale .is-2 { background: #B85D38; }
.thanos-discovery-scale .is-3 { background: #D78664; }
.thanos-discovery-scale .is-4 { background: #F5B08F; }
/* Greyscale base map (D-045): only the searches and companies carry colour. */
.thanos-discovery .leaflet-tile-pane, .thanos-discovery .leaflet-gl-layer { filter: grayscale(1) contrast(.95) brightness(1.03); }
/* Search areas (D-046): a transparent wash multiplied onto the grey map, so labels stay readable and overlaps get darker. */
.thanos-discovery .thanos-discovery-area { mix-blend-mode: multiply; }
.thanos-discovery-empty {
    position: absolute;
    inset: 0;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, .78);
    color: var(--sm-text);
    font-weight: 600;
}
.thanos-discovery .thanos-result-pin { cursor: pointer; }
.thanos-discovery-tip { font-size: 13px; line-height: 1.45; }
.thanos-discovery-stats-title { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }
/* KPIs for the filter bar's selection (D-054): a chip next to the title; the cards fade while the new numbers load. */
.thanos-discovery-stats-filtered { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem; border-radius: 999px; background: var(--sm-brand-soft); color: var(--secondary-color); font-size: 13px; font-weight: 500; }
.thanos-discovery-stats .row { transition: opacity .15s ease; }
.thanos-discovery-stats.is-loading .row { opacity: .5; }
.thanos-metric-note { margin-top: .35rem; font-size: 13px; color: var(--sm-muted); }
/* Discovery KPIs: label and value on the same line in every card, the note at the bottom (cards have different notes). */
.thanos-discovery .thanos-metric-card { justify-content: flex-start; }
.thanos-discovery .thanos-metric-note { margin-top: auto; padding-top: .35rem; }
/* Discovery map filter bar (D-051): "Business type" and "Country" buttons, each opening a multi-select list. The bar stays
   one row however many types or countries there are, so the map never moves down. */
.thanos-discovery-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.thanos-discovery-filter { position: relative; }
.thanos-discovery-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    max-width: 22rem;
    padding: .45rem 1rem;
    border: 1px solid var(--sm-input-border);
    border-radius: 999px;
    background: #fff;
    color: var(--sm-text);
    font-size: 14px;
    line-height: 1.4;
}
.thanos-discovery-filter-toggle:hover, .thanos-discovery-filter-toggle:focus-visible,
.thanos-discovery-filter-toggle.is-active { border-color: var(--secondary-color); }
.thanos-discovery-filter-toggle.is-active { color: var(--secondary-color); }
.thanos-discovery-filter-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thanos-discovery-filter-toggle .fa-angle-down { transition: transform .15s ease; }
.thanos-discovery-filter-toggle[aria-expanded="true"] .fa-angle-down { transform: rotate(180deg); }
.thanos-discovery-filter-menu {
    position: absolute;
    top: calc(100% + .4rem);
    inset-inline-start: 0;
    z-index: 1100;
    width: 23rem;
    padding: .5rem;
    border: 1px solid var(--sm-input-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 22, 31, .12);
}
.thanos-discovery-filter-search { margin-bottom: .4rem; }
.thanos-discovery-filter-list { max-height: 18rem; overflow-y: auto; }
.thanos-discovery-filter-item { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .4rem .5rem; border-radius: 8px; font-size: 14px; cursor: pointer; }
.thanos-discovery-filter-item:hover { background: var(--sm-brand-soft); }
/* The template (style.css) positions .form-check-input absolutely; here it sits in the row. */
.thanos-discovery-filter-item .form-check-input { position: static; flex: 0 0 auto; width: 1rem; height: 1rem; margin: 0; }
.thanos-discovery-filter-item .form-check-input:checked { background-color: var(--secondary-color); border-color: var(--secondary-color); }
.thanos-discovery-filter-name { flex: 1 1 auto; }
.thanos-discovery-filter-count { min-width: 1.4rem; padding: 0 .4rem; border-radius: 999px; background: var(--sm-brand-soft); color: var(--secondary-color); font-size: 12px; text-align: center; }
.thanos-discovery-filter-item.is-disabled { opacity: .45; cursor: default; }
.thanos-discovery-filter-item.is-disabled:hover { background: none; }
.thanos-discovery-filter-clear { padding: .45rem .25rem; border: 0; background: none; color: var(--secondary-color); font-size: 14px; }
.thanos-discovery-filter-clear:hover { text-decoration: underline; }
/* Phones: the list opens under the whole bar at full width instead of under its button. */
@media (max-width: 767.98px) {
    .thanos-discovery-filters { position: relative; }
    .thanos-discovery-filter { position: static; }
    .thanos-discovery-filter-toggle { max-width: 100%; }
    .thanos-discovery-filter-menu { inset-inline-end: 0; width: auto; }
}
@media (max-width: 767.98px) { .thanos-discovery .thanos-results-map-canvas { max-height: 60vh; } }

.thanos-results #companies { scroll-margin-top: 150px; }
@media (min-width: 992px) { .thanos-results #companies { scroll-margin-top: 160px; } }
.thanos-results-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    margin-bottom: 1rem;
}
/* Sort list for phones, where the table has no header (T-126); the headers sort on wider screens. */
.thanos-results-sort { display: flex; align-items: center; gap: .5rem; flex: 1 1 100%; }
.thanos-results-sort label { margin: 0; font-size: 13px; color: #6B7280; white-space: nowrap; }
.thanos-results-sort .form-select { width: auto; min-width: 0; flex: 1 1 auto; }
/* The sort list is for screens without the sortable distance / "started by" headers: phones and tablets (T-140). */
@media (min-width: 1200px) { .thanos-results-sort { display: none; } }
@media (min-width: 768px) and (max-width: 1199.98px) {
    .thanos-results-sort { flex: 0 0 auto; }
    .thanos-results-sort .form-select { flex: 0 0 auto; }
}
.thanos-results-search {
    position: relative;
    display: flex;
    flex: 1 1 360px;
    max-width: 560px;
    gap: .5rem;
}
.thanos-results-search-field { position: relative; flex: 1 1 auto; min-width: 0; }
.thanos-results-search-field > .fa-search {
    position: absolute;
    inset-inline-start: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sm-muted);
    pointer-events: none;
}
.thanos-results-search .form-control { padding-inline-start: 2.4rem; padding-inline-end: 2.2rem; }
.thanos-results-search .form-control:focus { border-color: var(--sm-brand); box-shadow: 0 0 0 3px rgba(229, 84, 26, .15); }
.thanos-results-search-clear {
    position: absolute;
    inset-inline-end: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sm-muted);
}
.thanos-results-search .btn { flex-shrink: 0; min-width: 84px; }
.thanos-results-selection {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: var(--sm-text);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.thanos-results-selection[hidden] { display: none; }
.thanos-results-selection .btn.btn-link { color: #FF8A5C !important; font-size: 13px; font-weight: 600; text-decoration: none; }
.thanos-results-selection .btn.btn-link:hover { color: #fff !important; }
.thanos-results-table .thanos-results-check { width: 48px; min-width: 48px; padding-inline: 1rem .25rem; text-align: center; }
.thanos-results-table thead .thanos-results-check { vertical-align: middle; }
.thanos-results-table thead .thanos-results-check .form-check-input { margin-top: 0; }
.thanos-results-table td.thanos-results-check { vertical-align: top; }
.thanos-results-check .form-check-input { position: static; display: block; width: 1.1rem; height: 1.1rem; margin: .15rem auto 0; cursor: pointer; border-color: var(--sm-input-border); }
.thanos-results-check .form-check-input:checked,
.thanos-results-check .form-check-input:indeterminate { background-color: var(--sm-brand); border-color: var(--sm-brand); }
.thanos-results-table thead .form-check-input { border-color: rgba(255, 255, 255, .6); background-color: transparent; }
.thanos-results-table thead .form-check-input:checked,
.thanos-results-table thead .form-check-input:indeterminate { background-color: var(--sm-brand); border-color: var(--sm-brand); }

/* Detailed analysis: button next to the selection pill (same row as the search box), status column with a spinner / green flag */
.thanos-results-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .75rem; margin-inline-start: auto; }
.thanos-results-analysis-form { margin: 0; }
.thanos-results-analysis-form .btn { white-space: nowrap; }
.thanos-results-analysis-form .btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: auto; }
.thanos-results-analysis-form .btn[aria-busy="true"] { cursor: progress; }
.thanos-results-analysis-message { margin: -.25rem 0 1rem; padding: .6rem .9rem; border-radius: var(--sm-radius-control); font-size: 13px; font-weight: 600; }
.thanos-results-analysis-message[hidden] { display: none; }
.thanos-results-analysis-message.is-success { color: #166534; background: #DCFCE7; }
.thanos-results-analysis-message.is-info { color: var(--sm-text); background: var(--sm-surface); }
/* The message sits in the actions box (T-127): a full-width line under the buttons. */
.thanos-results-actions .thanos-results-analysis-message { flex-basis: 100%; margin: 0; }

/* Sticky toolbar and table head (T-127): from 992 px the toolbar sticks under the sticky site header and, while the table
   fits (js/search-results.js sets .is-sticky-head and the two offsets), the dark head under the toolbar. */
@media (min-width: 992px) {
    .thanos-results-toolbar {
        position: sticky;
        top: var(--thanos-results-sticky-top, 0px);
        z-index: 1010;
        margin-bottom: .25rem;
        padding-block: .75rem;
        background: #fff;
    }
    .thanos-results-table.is-sticky-head,
    .thanos-results-table.is-sticky-head .table-responsive { overflow: visible; }
    .thanos-results-table.is-sticky-head thead th {
        position: sticky;
        top: calc(var(--thanos-results-sticky-top, 0px) + var(--thanos-results-toolbar-h, 0px));
        z-index: 2;
    }
    /* overflow:hidden used to round the head's corners */
    .thanos-results-table.is-sticky-head thead th:first-child { border-start-start-radius: var(--sm-radius-card); }
    .thanos-results-table.is-sticky-head thead th:last-child { border-start-end-radius: var(--sm-radius-card); }
}
/* Below 992 px (no sticky header): with rows selected, the selection and the actions dock at the bottom of the screen. */
@media (max-width: 991.98px) {
    .thanos-results.has-selection .thanos-results-actions {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 1030;
        justify-content: center;
        margin: 0;
        padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid var(--sm-border);
        box-shadow: 0 -6px 18px rgba(20, 20, 20, .08);
    }
    .thanos-results.has-selection { padding-bottom: 9rem; }
    body:has(.thanos-results.has-selection) #back-to-top { bottom: 8rem; }
}
.thanos-results-analysis-message.is-error { color: #991B1B; background: #FEE2E2; }
/* Message line written by THANOS.showMessage (T-252, FABLE U-07): text and a close button; errors stay until closed. */
.thanos-message:not([hidden]) { display: flex; align-items: flex-start; gap: .6rem; }
.thanos-message-text { flex: 1 1 auto; min-width: 0; }
.thanos-message-close { flex: 0 0 auto; width: .6rem; height: .6rem; padding: .35rem; margin: -.1rem -.2rem 0 0; background-size: .6rem; opacity: .6; }
.thanos-message-close:hover, .thanos-message-close:focus-visible { opacity: 1; }
.thanos-analysis {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.thanos-analysis--notstarted { color: var(--sm-muted); background: var(--sm-surface); }
/* "Score" column: brand score of a completed analysis, 0–10. */
.thanos-results-score { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--sm-text); white-space: nowrap; }
.thanos-results-score .fa-star { color: #F59E0B; font-size: 12px; }
.thanos-results-score-pending { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--sm-muted); }
.thanos-results-score-pending .thanos-analysis-spinner { width: 11px; height: 11px; }
.thanos-results-score-max { font-size: 12px; font-weight: 500; color: var(--sm-muted); }
/* The company's relationship to the seller under the score (D-159): a competitor in brand colors, a supplier to the same customers muted. */
.thanos-results-relation { display: block; margin-top: .2rem; font-size: 11px; font-weight: 700; color: var(--sm-muted); white-space: nowrap; }
.thanos-results-relation.is-competitor,
.thanos-results-relation.is-partial-competitor { color: var(--sm-brand); }
.thanos-analysis--pending { color: var(--sm-text); background: var(--sm-surface); border: 1px solid var(--sm-input-border); }
.thanos-analysis--inprogress { color: #9A3412; background: #FFEDD5; }
.thanos-analysis--failed { color: #991B1B; background: #FEE2E2; cursor: help; }
/* Why it failed (T-128): the badge's title on hover; a tap / Enter shows it under the badge. */
.thanos-analysis-reason { display: block; max-width: 240px; margin-top: 4px; color: #6B7280; font-size: 12px; line-height: 1.4; white-space: normal; }
a.thanos-analysis--completed { color: #166534; background: #DCFCE7; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
a.thanos-analysis--completed:hover, a.thanos-analysis--completed:focus-visible { color: #fff; background: #16A34A; }
/* One-row start under "Not started" (D-038, D-039): "Analyze" + the mark arrow in a small secondary button,
   same look and hover as the mark buttons (1 px grey, orange 600 on hover, arrow redrawn). */
.thanos-analysis-go {
    display: flex;
    align-items: center;
    gap: .4rem;
    height: 30px;
    margin-top: .4rem;
    padding: 0 .65rem;
    border: 1px solid var(--sm-input-border);
    border-radius: var(--sm-radius-control);
    background: transparent;
    color: var(--sm-text);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color .2s ease, color .2s ease;
}
.thanos-analysis-go .thanos-mark-arrow { width: 14px; height: 14px; color: var(--sm-brand); }
.thanos-analysis-go:hover, .thanos-analysis-go:focus-visible { border-color: var(--secondary-color); color: var(--secondary-color); }
.thanos-analysis-go:disabled { opacity: .5; cursor: progress; }
.thanos-analysis-spinner {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: thanos-analysis-spin .8s linear infinite;
}
/* Queued: slower and fainter than a running analysis */
.thanos-analysis--pending .thanos-analysis-spinner { opacity: .55; animation-duration: 1.8s; }
@keyframes thanos-analysis-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- company detail page (reference "Company Detail") */
/* General info card: details on the left; the "My target companies" button below them, bottom right on desktop */
.thanos-company-hero { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 1.5rem 2rem; }
.thanos-company-hero-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.thanos-company-hero .thanos-results-query-type { font-weight: 800; }
.thanos-company-hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0; }
/* Beside the button the flag takes the button's shape (height, corners, padding, type), so the row keeps the button's height. */
.thanos-company-hero-action .thanos-target-flag {
    align-self: stretch; margin-top: 0; padding: .8rem 1.6rem; border: 1px solid transparent; border-radius: 10px; font-size: 1rem; line-height: 1.5;
}
/* Social accounts of the company (D-096): round icon links on the graphite card */
.thanos-company-social { margin-top: .75rem; }
.thanos-company-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 15px;
    transition: background-color .2s ease, border-color .2s ease;
}
.thanos-company-social a:hover, .thanos-company-social a:focus-visible { background: var(--sm-brand); border-color: var(--sm-brand); color: #fff; }
.thanos-icon-x { width: 14px; height: 14px; fill: currentColor; }
@media (min-width: 992px) {
    .thanos-company-hero { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .thanos-company-hero-info { align-self: center; }
    .thanos-company-hero-action { flex-shrink: 0; }
}
/* "My target companies": add / remove button on the company hero, flag under the name, list page */
.thanos-target-btn { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.thanos-target-btn.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; font-weight: 700; }
.thanos-target-btn .fa { font-size: 1.15em; }
.thanos-target-btn.is-active .fa { color: #FF8A5C; }
.thanos-target-flag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .75rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: var(--sm-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.thanos-target-flag .fa { font-size: 1.1em; }
.thanos-targets-icon { color: var(--sm-brand); margin-inline-end: .35rem; }
/* Tabs of the pages in one menu group (D-043, Shared/_MenuTabs), e.g. My Radar: Tracked Companies · Discovery Map.
   Orange underline on the current page; pages not built yet are faded and not linked. */
.thanos-menu-tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--sm-border); }
.thanos-menu-tab {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1rem;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    color: var(--sm-muted);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}
a.thanos-menu-tab:hover, a.thanos-menu-tab:focus-visible { color: var(--secondary-color); }
.thanos-menu-tab.is-active { color: var(--sm-text); border-bottom-color: var(--sm-brand); }
.thanos-menu-tab.is-active .fa { color: var(--sm-brand); }
.thanos-menu-tab.is-disabled { opacity: .55; cursor: default; }
.thanos-targets-more { flex-shrink: 0; }
@media (max-width: 767.98px) {
    /* Phones (D-058): the title gets the whole width, the button moves under it (centred, on one line) and the filters
       below get some air. */
    .thanos-section-head:has(.thanos-targets-more) { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
    .thanos-section-head .thanos-targets-more { align-self: center; }
}
.thanos-targets-name { color: var(--sm-text); }
.thanos-targets-name:hover { color: var(--sm-brand); }
.thanos-targets-search { display: block; margin-top: .2rem; font-size: 12px; color: var(--sm-muted); }
/* "Stop tracking" (D-058): a small text button, red on hover; the dialog asks first. */
.thanos-targets-remove {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .75rem;
    border: 1px solid var(--sm-input-border);
    border-radius: 8px;
    background: #fff;
    color: var(--sm-muted);
    font-size: 13px;
    white-space: nowrap;
}
.thanos-targets-remove:hover, .thanos-targets-remove:focus-visible { color: #991B1B; border-color: #FCA5A5; background: #FEE2E2; }
.thanos-targets-table .thanos-results-address { min-width: 14rem; }
.thanos-targets-dialog .modal-body { padding: 1.75rem 1.75rem 1rem; text-align: center; }
.thanos-targets-dialog .modal-footer { justify-content: center; gap: .5rem; padding: 0 1.75rem 1.75rem; border-top: 0; }
.thanos-targets-dialog-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: .85rem; border-radius: 50%; background: #FEE2E2; color: #991B1B; font-size: 1.2rem; }
@media (max-width: 767.98px) {
    /* Phone card: the button stays visible under the name, left aligned (D-058). */
    .thanos-targets-table .thanos-mtable [data-m="sub"].thanos-targets-action { grid-row: 3; margin-top: .6rem; text-align: start; }
}
.thanos-company-score { justify-content: center; gap: .5rem; padding: 1rem 1.25rem; }
.thanos-company-score .thanos-metric-value { font-size: 1.75rem; }
.thanos-company-score-max { font-size: .9rem; font-weight: 600; color: var(--sm-muted); }
.thanos-company-stars { display: inline-flex; gap: 2px; color: var(--sm-brand); font-size: 14px; }
/* Fit score breakdown (D-128) */
.thanos-company-fit-flags { display: flex; flex-wrap: wrap; gap: .35rem; }
.thanos-company-fit-flag {
    padding: .15rem .55rem;
    font-size: 12px;
    font-weight: 700;
    color: var(--sm-muted);
    background: var(--sm-surface);
    border: 1px solid var(--sm-border);
    border-radius: 999px;
}
.thanos-company-fit-flag.is-competitor,
.thanos-company-fit-flag.is-partial-competitor { color: var(--sm-brand); background: var(--sm-brand-soft); border-color: transparent; }
.thanos-company-fit-note { font-size: 14px; color: var(--sm-text); }
.thanos-company-fit { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem 1.5rem; }
.thanos-company-fit-head { display: flex; justify-content: space-between; gap: .75rem; margin-bottom: .4rem; font-size: 14px; }
.thanos-company-fit-name { font-weight: 700; color: var(--sm-text); }
.thanos-company-fit-value { font-weight: 700; color: var(--sm-text); white-space: nowrap; }
.thanos-company-fit-row.is-empty .thanos-company-fit-name,
.thanos-company-fit-row.is-empty .thanos-company-fit-value { font-weight: 600; color: var(--sm-muted); }
.thanos-company-fit-evidence { margin: .45rem 0 0; font-size: 13px; line-height: 1.6; color: var(--sm-muted); }
.thanos-company-meta {
    display: flex;
    align-items: center;
    gap: .9rem;
    height: 100%;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-card);
}
.thanos-company-meta-body { min-width: 0; }
.thanos-company-meta-label { margin: 0 0 .15rem; font-size: 12px; font-weight: 600; color: var(--sm-muted); }
.thanos-company-meta-value { display: block; font-size: 14px; font-weight: 700; color: var(--sm-text); overflow-wrap: anywhere; }
a.thanos-company-meta-value:hover { color: var(--sm-brand); }
/* Report tabs (T-154): a row of buttons that scrolls sideways on phones. */
.thanos-company-tabs { display: flex; gap: .25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--sm-border); overflow-x: auto; scrollbar-width: none; }
.thanos-company-tabs::-webkit-scrollbar { display: none; }
.thanos-company-tab { display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto; padding: .7rem 1rem; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--sm-muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.thanos-company-tab:hover { color: var(--sm-text); }
.thanos-company-tab.is-active { color: var(--sm-text); border-bottom-color: var(--sm-brand); }
.thanos-company-tab:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: -2px; }
.thanos-company-tab .fa { color: var(--sm-brand); }
.thanos-company-tabpanel[hidden] { display: none; }
.thanos-company-panel {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-card);
}
.thanos-company-panel-title {
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--sm-border);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sm-text);
}
.thanos-company-text { font-size: 14px; line-height: 1.7; color: var(--sm-muted); }
/* "Start analysis" on a company without a report (T-253): the button, its cost beside it, an error under both. */
.thanos-company-analysis-start { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.thanos-company-analysis-start [data-company-analysis-message] { flex: 1 1 100%; }
.thanos-company-label { display: block; margin-bottom: .35rem; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--sm-muted); }
.thanos-company-brands + .thanos-company-brands { margin-top: 1.25rem; }
.thanos-company-list { display: flex; flex-direction: column; gap: .9rem; font-size: 14px; color: var(--sm-text); }
.thanos-company-list li { display: flex; gap: .75rem; align-items: flex-start; }
.thanos-company-list li > .fa { width: 16px; margin-top: .2rem; text-align: center; color: var(--sm-brand); }
.thanos-company-list .thanos-company-label { margin-bottom: .1rem; }
.thanos-company-contacts td { font-size: 14px; }
.thanos-company-linkedin { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.thanos-company-keywords { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.thanos-company-keyword {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-card);
    background: var(--sm-surface);
}
.thanos-company-keyword-label { font-size: 15px; font-weight: 700; color: var(--sm-text); overflow-wrap: anywhere; }
.thanos-company-keyword-state { display: inline-flex; align-items: center; gap: .35rem; font-size: 12px; font-weight: 600; color: var(--sm-muted); }
.thanos-company-keyword.is-matched { background: #fff; border-color: #86EFAC; }
.thanos-company-keyword.is-matched .thanos-company-keyword-state { color: #166534; }
.thanos-company-news { margin-top: 1.5rem; }
.thanos-company-news-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.thanos-company-news-source { margin: 0; font-size: 1rem; font-weight: 800; color: var(--sm-text); }
.thanos-company-news-head .thanos-nav-btn[hidden] { display: none; }
.thanos-company-news-head .thanos-nav-btn:disabled { opacity: .4; cursor: default; }
.thanos-company-news-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2rem) / 3);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.thanos-company-news-row::-webkit-scrollbar { display: none; }
.thanos-company-news-row:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: 4px; }
@media (max-width: 991.98px) { .thanos-company-news-row { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 575.98px) { .thanos-company-news-row { grid-auto-columns: 85%; } }
.thanos-company-news-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius-card);
    background: #fff;
}
.thanos-company-news-date { font-size: 12px; font-weight: 600; color: var(--sm-muted); }
.thanos-company-news-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--sm-text); }
.thanos-company-news-title a { color: inherit; }
.thanos-company-news-title a:hover { color: var(--sm-brand); }
.thanos-company-news-summary { font-size: 13px; line-height: 1.6; color: var(--sm-muted); }
@media (prefers-reduced-motion: reduce) {
    .thanos-analysis-spinner { animation-duration: 3s; }
}
.thanos-results-table tbody tr { transition: background-color .2s ease; }
.thanos-results-table tbody tr:hover { background: var(--sm-surface); }
.thanos-results-table tbody tr.is-selected { background: var(--sm-brand-soft); }
.thanos-results-table tbody tr.is-flash { animation: thanos-row-flash 1.6s ease; }
@keyframes thanos-row-flash {
    0%, 40% { background: rgba(229, 84, 26, .22); }
    100% { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
    .thanos-results-table tbody tr.is-flash { animation: none; }
}

/* Result map pins: brand dot with a radar pulse (selected = graphite, hovered row = larger). */
.thanos-result-pin { background: none; border: 0; }
.thanos-result-pin-dot,
.thanos-result-pin-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.thanos-result-pin-dot {
    inset: 2px;
    background: var(--sm-brand);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(20, 22, 31, .15);
    transition: transform .2s ease, background-color .2s ease;
}
.thanos-result-pin-pulse {
    border: 2px solid var(--sm-brand);
    background: rgba(229, 84, 26, .18);
    opacity: 0;
    animation: thanos-result-pulse 3s ease-out infinite;
}
/* Pin by analysis status (D-037; js sets data-status): Completed = the orange pulsing dot above; InProgress = white dot
   with an orange spinning dashed ring; NotStarted and Pending = faded white dot with an orange ring; Failed = faded grey.
   Only completed pins pulse. A selected pin is green (success #067647), whatever its status. */
.thanos-result-pin-ring {
    inset: -1px;
    position: absolute;
    border-radius: 50%;
    border: 2px dashed var(--sm-brand);
    display: none;
    animation: thanos-result-spin 2.4s linear infinite;
}
.thanos-result-pin:not([data-status="Completed"]) .thanos-result-pin-pulse { display: none; }
.thanos-result-pin[data-status="InProgress"] .thanos-result-pin-ring { display: block; }
.thanos-result-pin[data-status="InProgress"] .thanos-result-pin-dot,
.thanos-result-pin[data-status="NotStarted"] .thanos-result-pin-dot,
.thanos-result-pin[data-status="Pending"] .thanos-result-pin-dot { inset: 4px; background: #fff; border-color: var(--sm-brand); }
.thanos-result-pin[data-status="NotStarted"] .thanos-result-pin-dot,
.thanos-result-pin[data-status="Pending"] .thanos-result-pin-dot { opacity: .7; }
.thanos-result-pin[data-status="Failed"] .thanos-result-pin-dot { background: #B3B6BF; opacity: .6; }
.thanos-result-pin.is-selected .thanos-result-pin-dot { inset: 2px; background: #067647; border-color: #fff; opacity: 1; }
.thanos-result-pin.is-selected .thanos-result-pin-pulse { border-color: #067647; background: rgba(6, 118, 71, .15); }
.thanos-result-pin.is-selected .thanos-result-pin-ring { border-color: #067647; }
.thanos-result-pin.is-active .thanos-result-pin-dot { transform: scale(1.45); opacity: 1; }
.thanos-result-pin.is-active .thanos-result-pin-pulse { animation-duration: 1.2s; }
@keyframes thanos-result-pulse {
    0% { transform: scale(.6); opacity: .9; }
    70% { opacity: .15; }
    100% { transform: scale(2.8); opacity: 0; }
}
@keyframes thanos-result-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .thanos-result-pin-pulse, .thanos-result-pin-ring { animation: none; }
}

/* ---------------------------------------------------------------- tables on phones (js/mobile-table.js, D-026)
   Below 768 px a table.thanos-mtable row is a compact line: check · main (+ sub) · status · arrow; the other cells
   open under it as "label: value" lines. Without the script (no .is-collapsible) the details simply stay open. */
.thanos-mtable [data-m="toggle"], .thanos-mtable-only { display: none; }
@media (max-width: 767.98px) {
    .thanos-mtable { min-width: 0 !important; }
    .thanos-mtable, .thanos-mtable tbody, .thanos-mtable thead { display: block; width: 100%; }
    .thanos-mtable thead tr { display: none; }
    /* A select-all checkbox in the header stays reachable as a small bar. */
    .thanos-mtable thead tr:has([data-m="check"]) { display: flex; align-items: center; padding: .7rem 1rem; background: var(--sm-text); color: #fff; }
    .thanos-mtable thead tr:has([data-m="check"]) > :not([data-m="check"]) { display: none; }
    .thanos-mtable thead [data-m="check"] { display: flex; align-items: center; gap: .75rem; width: auto; min-width: 0; padding: 0 !important; border: 0; background: transparent; }
    .thanos-mtable-only { display: inline; font-size: 13px; font-weight: 600; }
    .thanos-mtable tbody tr {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        align-items: center;
        padding: .85rem 1rem;
        border-bottom: 1px solid var(--sm-border);
    }
    .thanos-mtable tbody tr:last-child { border-bottom: 0; }
    .thanos-mtable tbody tr > * {
        display: block;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;   /* the desktop caps (type, address, name) would leave a value a few letters wide (T-135) */
        padding: 0 !important;
        border: 0 !important;
        background: transparent;
        text-align: start !important;
        white-space: normal !important;
        font-size: 14px;
    }
    .thanos-mtable [data-m="check"] { grid-column: 1; grid-row: 1 / span 2; margin-inline-end: .75rem; }
    .thanos-mtable [data-m="main"] { grid-column: 2; grid-row: 1; font-weight: 700; }
    .thanos-mtable [data-m="sub"] { grid-column: 2; grid-row: 2; margin-top: .15rem; font-size: 12px; font-weight: 400; color: var(--sm-muted); }
    .thanos-mtable [data-m="status"] { grid-column: 3; grid-row: 1 / span 2; margin-inline-start: .6rem; }
    .thanos-mtable [data-m="toggle"] { display: block; grid-column: 4; grid-row: 1 / span 2; margin-inline-start: .35rem; }
    .thanos-mtable [data-m="detail"] {
        grid-column: 2 / -1;
        display: flex;
        gap: .75rem;
        margin-top: .5rem;
        font-size: 13px;
        overflow-wrap: anywhere;
    }
    .thanos-mtable [data-m="detail"]::before {
        content: attr(data-label);
        flex: 0 0 6.5rem;
        font-size: 12px;
        font-weight: 600;
        color: var(--sm-muted);
    }
    .thanos-mtable.is-collapsible tr:not(.is-open) > [data-m="detail"] { display: none; }
    .thanos-mtable tr.is-open > [data-m="detail"]:last-of-type { margin-bottom: .25rem; }
    .thanos-mtable.is-collapsible [data-m="main"] { cursor: pointer; }
    .thanos-mtable-btn {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: var(--sm-text);
        background: #fff;
        border: 1px solid var(--sm-border);
        border-radius: 50%;
        font-size: 11px;
        line-height: 1;
    }
    .thanos-mtable-btn .fa { transition: transform .2s ease; }
    .thanos-mtable tr.is-open .thanos-mtable-btn { border-color: var(--sm-brand); color: var(--sm-brand); }
    .thanos-mtable tr.is-open .thanos-mtable-btn .fa { transform: rotate(180deg); }
    /* Keep the compact line readable: badges and status blocks shrink a little. */
    .thanos-mtable [data-m="status"] .thanos-analysis,
    .thanos-mtable [data-m="status"] .thanos-status-badge { font-size: 11px; padding: 2px 8px; }
    .thanos-mtable [data-m="status"] .thanos-recent-status { align-items: flex-end; gap: .35rem; }
    /* A long text in the status block (a failed search's reason) wraps inside a capped width, so the name keeps its room. */
    .thanos-mtable [data-m="status"] { max-width: 11rem; }
    .thanos-mtable [data-m="status"] .thanos-recent-status-badge { align-items: flex-end; text-align: end; }
    .thanos-mtable [data-m="status"] .thanos-recent-status-badge .thanos-status-badge { min-width: 0; }
    .thanos-mtable [data-m="status"] .thanos-recent-status-reason { font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
    /* The "Analyze" button stays in the compact (closed) row, under its badge (D-039). */
    .thanos-results-table .thanos-mtable [data-m="status"] { display: flex; flex-direction: column; align-items: flex-end; }
    .thanos-results-table .thanos-mtable [data-m="status"] .thanos-analysis-go { display: flex; height: 28px; margin-top: .35rem; padding: 0 .55rem; font-size: 11px; }
}

/* Notifications page (D-052): what is running, then a timeline by day. Results of what the user started have a filled icon
   (finished = brand, failed = grey); what the user did has an outlined one. */
.thanos-activity-heading { margin: 1.75rem 0 .75rem; color: var(--sm-muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.thanos-activity-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
/* The filters and "Mark all as read" (T-055) on one row; the button wraps under the filters on a phone. */
.thanos-activity-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem; }
.thanos-activity-toolbar form .btn { white-space: nowrap; }
.thanos-activity-filter a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem 1rem;
    border: 1px solid var(--sm-input-border);
    border-radius: 999px;
    color: var(--sm-text);
    font-size: 14px;
}
.thanos-activity-filter a:hover, .thanos-activity-filter a:focus-visible { border-color: var(--secondary-color); color: var(--secondary-color); }
.thanos-activity-filter a[aria-current="page"] { background: var(--sm-text); border-color: var(--sm-text); color: #fff; }
.thanos-activity-count { min-width: 1.4rem; padding: 0 .4rem; border-radius: 999px; background: var(--sm-brand-soft); color: var(--secondary-color); font-size: 12px; text-align: center; }
.thanos-activity-filter a[aria-current="page"] .thanos-activity-count { background: rgba(255, 255, 255, .18); color: #fff; }
.thanos-activity-list, .thanos-activity-running { margin: 0; padding: 0; list-style: none; border: 1px solid var(--sm-border); border-radius: 12px; }
.thanos-activity-list > li, .thanos-activity-running > li { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; }
.thanos-activity-list > li + li, .thanos-activity-running > li + li { border-top: 1px solid var(--sm-border); }
.thanos-activity-running { background: var(--sm-brand-soft); border-color: transparent; }
.thanos-activity-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--sm-input-border);
    border-radius: 50%;
    color: var(--sm-muted);
    font-size: 14px;
}
.thanos-activity-item.is-done .thanos-activity-icon { background: var(--sm-brand); border-color: var(--sm-brand); color: #fff; }
.thanos-activity-item.is-failed .thanos-activity-icon { background: #EDEEF1; border-color: #EDEEF1; color: var(--sm-muted); }
.thanos-activity-spinner {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border: 3px solid rgba(229, 84, 26, .2);
    border-top-color: var(--sm-brand);
    border-radius: 50%;
    animation: thanos-activity-spin 1s linear infinite;
}
@keyframes thanos-activity-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .thanos-activity-spinner { animation: none; } }
.thanos-activity-body { flex: 1 1 auto; min-width: 0; }
.thanos-activity-title { margin: 0; color: var(--sm-text); font-weight: 500; }
.thanos-activity-item.is-action .thanos-activity-title { font-weight: 400; }
.thanos-activity-meta { margin: .1rem 0 0; color: var(--sm-muted); font-size: 13px; }
.thanos-activity-side { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: .15rem; font-size: 13px; }
.thanos-activity-side time { color: var(--sm-muted); }
.thanos-activity-link { color: var(--secondary-color); font-size: 13px; white-space: nowrap; }
.thanos-activity-link:hover { text-decoration: underline; }
@media (max-width: 575.98px) {
    .thanos-activity-list > li, .thanos-activity-running > li { flex-wrap: wrap; gap: .75rem; padding: .8rem .9rem; }
    .thanos-activity-body { flex-basis: calc(100% - 3rem); }
    .thanos-activity-side { flex-direction: row; justify-content: space-between; width: 100%; padding-inline-start: 3rem; }
}
/* Unread notifications (D-053): count badge next to "My Radar" and "Notifications", a dot on the phone menu toggle and a
   "New" label on the lines that came in since the last visit. */
.thanos-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-inline-start: .35rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: var(--sm-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
}
.dropdown-item .thanos-nav-badge { margin-inline-start: .5rem; }
#horizontal-navtoggle.has-unread { position: relative; }
#horizontal-navtoggle.has-unread::after {
    content: "";
    position: absolute;
    top: -4px;
    inset-inline-end: -6px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--sm-brand);
}
.thanos-activity-new {
    display: inline-block;
    margin-inline-end: .5rem;
    padding: .05rem .45rem;
    border-radius: 999px;
    background: var(--sm-brand-soft);
    color: var(--secondary-color);
    font-size: 11px;
    font-weight: 600;
    vertical-align: 1px;
}
.thanos-activity-item.is-new { background: rgba(229, 84, 26, .04); }
/* Phone side menu: the "My Radar" section at the bottom (D-053). */
.thanos-mobile-group { margin-top: .75rem; border-top: 1px solid var(--sm-border); }
.thanos-mobile-group-title {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: 1rem 17px .35rem;
    color: var(--sm-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-align: start;
    text-transform: uppercase;
}
.thanos-mobile-group-soon { display: block; padding: 12px 17px; opacity: .5; }
.thanos-mobile-group-title i, .thanos-mobile-group-item i { width: 1.25em; color: var(--sm-brand) !important; text-align: center; }
.thanos-mobile-group-title .me-1 { margin: 0 !important; }

/* Company profiles (D-060): cards on the list page, the form with its row lists and "Fill from website". */
.thanos-profiles-empty { max-width: 34rem; }
.thanos-profile-card { border: 1px solid var(--sm-border); transition: border-color .15s ease; }
.thanos-profile-card:hover { border-color: var(--sm-input-border); }
.thanos-profile-card.is-default { border-color: var(--sm-brand); }
.thanos-profile-card-head { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: .85rem; }
.thanos-profile-card-logo { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--sm-text); color: #fff; font-size: 1.25rem; font-weight: 800; }
.thanos-profile-card-title { flex: 1 1 auto; min-width: 0; }
.thanos-profile-card-title a { color: var(--sm-text); }
.thanos-profile-card-title h3 a:hover { color: var(--sm-brand); }
.thanos-profile-card-site { display: inline-block; color: var(--sm-muted) !important; font-size: 13px; overflow-wrap: anywhere; }
.thanos-profile-card-site:hover { color: var(--sm-brand) !important; }
.thanos-profile-default { flex: 0 0 auto; padding: .2rem .65rem; border-radius: 999px; background: var(--sm-brand-soft); color: var(--secondary-color); font-size: 12px; font-weight: 600; white-space: nowrap; }
.thanos-profile-card-text { display: -webkit-box; margin-bottom: .85rem; overflow: hidden; color: var(--sm-muted); font-size: 14px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.thanos-profile-card-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0; padding: 0; list-style: none; color: var(--sm-muted); font-size: 13px; }
.thanos-profile-card-meta .fa { margin-inline-end: .3rem; color: var(--sm-brand); }
.thanos-profile-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; background: transparent; }

.thanos-profile-edit .card-title { font-size: 1.05rem; font-weight: 700; }
.thanos-profile-start { border-top: 3px solid var(--sm-brand); }
.thanos-profile-autofill, .thanos-target-action { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--sm-input-border); }
.thanos-profile-autofill .btn, .thanos-target-action .btn { flex: 0 0 auto; white-space: nowrap; }
.thanos-profile-autofill .btn:disabled, .thanos-target-action .btn:disabled { opacity: .7; }
.thanos-profile-autofill .thanos-profile-autofill-status, .thanos-target-action .thanos-profile-autofill-status { margin: 0; flex: 1 1 14rem; }
.thanos-target-result { margin-top: 1.25rem; padding: 1.25rem; border: 1px solid #FED7AA; border-radius: 12px; background: #FFFAF5; }
.thanos-target-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: .35rem; }
.thanos-target-head h4 { font-size: 17px; }
.thanos-target-group { margin-bottom: 1rem; }
.thanos-target-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
@media (max-width: 767.98px) { .thanos-target-grid { grid-template-columns: minmax(0, 1fr); } }
.thanos-target-label { display: block; margin-bottom: .45rem; font-size: 13px; font-weight: 600; color: var(--sm-muted); }
.thanos-target-label .fa { width: 1rem; color: var(--sm-brand); }
.thanos-target-tags { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 1.9rem; }
/* Adding a tag by hand (T-123): the box under each group. */
.thanos-target-add { display: flex; gap: .4rem; margin-top: .4rem; max-width: 360px; }
.thanos-target-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .5rem; }
.thanos-target-suggest[hidden] { display: none; }
.thanos-target-suggest-label { font-size: 12px; color: var(--sm-muted); }
.thanos-target-suggestion { padding: .2rem .7rem; border: 1px dashed var(--sm-input-border); border-radius: 999px; background: none; font-size: 13px; line-height: 1.3; color: inherit; }
.thanos-target-suggestion:hover, .thanos-target-suggestion:focus-visible { border-style: solid; border-color: var(--sm-brand); }
.thanos-target-add .form-control, .thanos-target-add .form-select { flex: 1 1 auto; min-width: 0; }
.thanos-target-tags:not(:has([data-tag]))::before { content: "—"; color: var(--sm-muted); line-height: 1.9rem; }
.thanos-target-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .3rem .25rem .7rem; border: 1px solid var(--sm-input-border); border-radius: 999px; background: #fff; font-size: 13px; line-height: 1.3; }
.thanos-target-tag button { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--sm-muted); font-size: 15px; line-height: 1; }
.thanos-target-tag button:hover, .thanos-target-tag button:focus-visible { background: #FEE2E2; color: #991B1B; }
.thanos-profile-autofill-status { margin: .5rem 0 0; font-size: 13px; }
.thanos-profile-autofill-status.is-working { color: var(--sm-muted); }
.thanos-profile-autofill-status.is-success { color: #067647; }
.thanos-profile-autofill-status.is-info { color: var(--sm-muted); }
.thanos-profile-autofill-status.is-error { color: #B42318; }
.thanos-profile-edit .is-filled { border-color: #ABEFC6; background-color: #F6FEF9; }
.thanos-repeater-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-bottom: .5rem; }
.thanos-repeater [data-fill-rows] .thanos-repeater-row,
.thanos-repeater-row:has(.thanos-repeater-title) { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) auto; }
.thanos-repeater-row--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto !important; }
/* Address rows carry the head office mark (T-137). */
.thanos-repeater-row:has(.thanos-repeater-flag) { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) auto auto; }
.thanos-repeater-flag { display: inline-flex; align-items: center; gap: .35rem; margin: 0; font-size: 13px; color: var(--sm-muted); white-space: nowrap; cursor: pointer; }
/* The theme places checkboxes absolutely (custom check styles); here it sits in the line. */
.thanos-repeater-flag .form-check-input { position: static; flex: 0 0 auto; width: 1rem; height: 1rem; margin: 0; opacity: 1; }
.thanos-repeater-flag:has(:checked) { color: var(--sm-text); font-weight: 600; }
.thanos-repeater-remove { width: 2.4rem; padding: 0; border: 1px solid var(--sm-input-border); border-radius: 8px; background: #fff; color: var(--sm-muted); }
.thanos-repeater-remove:hover, .thanos-repeater-remove:focus-visible { color: #991B1B; border-color: #FCA5A5; background: #FEE2E2; }
.thanos-repeater-add { padding: .3rem .1rem; border: 0; background: none; color: var(--secondary-color); font-size: 14px; font-weight: 600; }
.thanos-repeater-add:hover { text-decoration: underline; }
.thanos-repeater-add:focus-visible { outline: 2px solid var(--secondary-color); outline-offset: 2px; text-decoration: underline; }
.thanos-profile-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.thanos-profile-default-check { display: inline-flex; align-items: center; gap: .55rem; margin: 0; cursor: pointer; }
.thanos-profile-default-check .form-check-input { position: static; margin: 0; }
.thanos-profile-default-check .form-check-input:checked { background-color: var(--secondary-color); border-color: var(--secondary-color); }
/* Inactive (archived) profiles (D-064) and the company line on the search page. */
.thanos-profile-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; } /* read-only form for members without "edit company" (D-065) */
.thanos-profiles-archived { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sm-border); }
.thanos-profiles-archived-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--sm-border); border-radius: 12px; }
.thanos-profiles-archived-list li { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; padding: .75rem 1rem; }
.thanos-profiles-archived-list li + li { border-top: 1px solid var(--sm-border); }
.thanos-profiles-archived-name { font-weight: 600; color: var(--sm-text); }
/* Search page title line (D-115): the company and plan as small chips instead of sentences and a full-width demo box. */
.thanos-search-head { margin-bottom: 1.5rem; }
@media (min-width: 992px) { .thanos-search.sptb { padding-top: 7rem; } } /* no page banner (D-115): clear the menu bar that the template lays over the page top */
.thanos-search-context { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; } /* one line: the company name gives way */
.thanos-chip { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; padding: .3rem .8rem; border: 1px solid var(--sm-input-border); border-radius: 999px; background: #fff; color: var(--sm-text); font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap; cursor: pointer; transition: border-color .15s ease; }
.thanos-chip:hover, .thanos-chip:focus-visible, .thanos-chip[aria-expanded="true"] { border-color: var(--sm-brand); color: var(--sm-text); }
.thanos-chip .fa, .thanos-chip [class^="icon"] { color: var(--sm-muted); }
.thanos-chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.thanos-chip .thanos-chip-action { color: var(--sm-brand); }
.thanos-chip.is-plan { border-color: transparent; background: var(--sm-surface); }
.thanos-chip.is-urgent { border-color: transparent; background: var(--sm-brand-soft); color: var(--sm-brand); }
.thanos-chip.is-urgent .fa { color: var(--sm-brand); }
.thanos-search-context > .thanos-chip { min-width: 0; max-width: 22rem; }
.thanos-plan-chip { flex-shrink: 0; }
.thanos-plan-chip-menu { width: 17rem; padding: .9rem 1rem; text-align: start; white-space: normal; font-size: 13px; }
.thanos-plan-chip-menu, .thanos-plan-chip-menu p { text-align: start; }
.thanos-plan-chip-menu strong { color: var(--sm-text); }
.thanos-plan-chip-menu p { color: var(--sm-muted); font-size: 13px; line-height: 1.5; }
.thanos-profile-actions-buttons { display: flex; gap: .5rem; }
@media (min-width: 992px) { .card.thanos-profile-aside { position: sticky !important; top: 9.5rem; } } /* the template sets .card { position: relative !important } */
@media (max-width: 767.98px) {
    .thanos-profile-autofill, .thanos-target-action { flex-direction: column; align-items: stretch; }
    .thanos-profile-autofill .btn, .thanos-target-action .btn { white-space: normal; }
    .thanos-target-result { padding: 1rem; }
    .thanos-repeater-row:has(.thanos-repeater-title),
    .thanos-repeater-row--3 { grid-template-columns: minmax(0, 1fr) auto !important; }
    .thanos-repeater-row:has(.thanos-repeater-title) > :nth-child(2),
    .thanos-repeater-row--3 > :nth-child(2), .thanos-repeater-row--3 > :nth-child(3) { grid-column: 1; }
    .thanos-repeater-row > .thanos-repeater-remove { grid-column: 2; grid-row: 1; }
    .thanos-repeater-row:has(.thanos-repeater-flag) { grid-template-columns: minmax(0, 1fr) auto !important; }
    .thanos-repeater-row > .thanos-repeater-flag { grid-column: 1; }
    .thanos-profile-actions, .thanos-profile-actions-buttons { width: 100%; }
    .thanos-profile-actions-buttons .btn { flex: 1 1 0; }
}

/* Team (/company/team) and invitation page (D-065). */
.thanos-team-invite-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 12rem) auto; align-items: end; gap: .75rem; }
.thanos-team-link { margin-top: 1rem; padding: .9rem 1rem; border: 1px dashed var(--sm-brand); border-radius: 10px; background: var(--sm-brand-soft); }
.thanos-team-link-row { display: flex; gap: .5rem; }
.thanos-team-link-row .form-control { flex: 1 1 auto; font-size: 13px; background: #fff; }
.thanos-team-name { font-weight: 600; color: var(--sm-text); }
.thanos-team-you { margin-inline-start: .4rem; padding: .1rem .5rem; border-radius: 999px; background: var(--sm-surface); color: var(--sm-muted); font-size: 11px; }
.thanos-team-email { color: var(--sm-muted); overflow-wrap: anywhere; }
.thanos-team-role { min-width: 10rem; }
/* The same size as the other drop-downs (results sort, sales pipeline bar): 14 px text, 36 px high. */
.thanos-team-role.form-select-sm { height: 36px; font-size: 14px; }
.thanos-team-actions form + form { margin-inline-start: .35rem; }
.thanos-team-badge { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--sm-surface); color: var(--sm-text); }
.thanos-team-badge.is-owner { background: var(--sm-brand-soft); color: var(--secondary-color); }
.thanos-team-badge.is-admin { background: #EEF4FF; color: #3538CD; }
.thanos-team-badge.is-member { background: #ECFDF3; color: #067647; }
.thanos-team-badge.is-viewer { background: var(--sm-surface); color: var(--sm-muted); }
.thanos-team-status { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.thanos-team-status.is-pending { background: var(--sm-surface); color: var(--sm-text); }
.thanos-team-status.is-account { background: #FFFAEB; color: #B54708; }
.thanos-team-status.is-expired { background: #FEF3F2; color: #B42318; }
.thanos-team-by { display: block; color: var(--sm-muted); font-size: 12px; }
.thanos-team-role-list { margin: 0; padding: 0; list-style: none; }
.thanos-team-role-list li + li { margin-top: .9rem; }
.thanos-team-role-list .thanos-team-badge { margin-bottom: .3rem; }
@media (min-width: 992px) { .card.thanos-team-roles { position: sticky !important; top: 9.5rem; } }
.thanos-invitation { max-width: 34rem; }
.thanos-invitation-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (max-width: 767.98px) {
    .thanos-team-invite-form { grid-template-columns: minmax(0, 1fr); }
    .thanos-team-link-row { flex-direction: column; }
}

/* Team credits (D-068): listing and analysis credits of the period; notices when they are used up. */
.thanos-credits-row { margin-bottom: .9rem; }
.thanos-credits-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; font-size: 14px; }
.thanos-credits-head .is-out { color: #B42318; }
.thanos-credits-out a { font-weight: 600; }
.thanos-credits-out-note { font-size: 13px; color: #B54708; }
.thanos-credits-out-note a { margin-inline-start: .35rem; font-weight: 600; }
.thanos-credit-usage .card-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.thanos-credit-usage-total th, .thanos-credit-usage-total td { font-weight: 600; background: var(--sm-surface); }
.thanos-credits-hint { margin: -.5rem 0 1rem; color: var(--sm-muted); font-size: 12px; }
/* Credit usage (D-070): team total and this company's share above the people table; companies for the team owner. */
.thanos-credit-usage-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--sm-border); }
.thanos-credit-usage-summary > div { display: flex; flex-direction: column; gap: .2rem; }
.thanos-credit-usage-label { color: var(--sm-muted); font-size: 12px; }
.thanos-credit-usage tr.is-current td { background: var(--sm-brand-soft); }
.thanos-credit-usage-people summary { cursor: pointer; }
.thanos-credit-usage-people ul { margin: .5rem 0 0; padding-inline-start: 1.1rem; font-size: 13px; }
@media (max-width: 767.98px) { .thanos-credit-usage-summary { grid-template-columns: minmax(0, 1fr); } }
/* Phones (layout A, product owner 2026-11-15): one card, the team's two credits as bars, then companies / people rows with the two
   credits each used. The tables above stay on larger screens; the package card then leaves its bars to this card. */
.thanos-credit-usage-m { font-size: 13px; color: var(--sm-text); }
.thanos-cum-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; margin-bottom: .85rem; }
.thanos-cum-switch { position: relative; } /* the hidden radios sit by the tabs, so choosing one does not scroll the page */
.thanos-cum-tabs { display: flex; gap: 4px; margin: .35rem 0 .35rem; padding: 3px; border-radius: 10px; background: var(--sm-surface); }
.thanos-cum-tabs label { flex: 1; margin: 0; padding: .4rem .5rem; border-radius: 8px; color: var(--sm-muted); font-weight: 600; text-align: center; cursor: pointer; }
#credit-usage-companies:checked ~ .thanos-cum-tabs label[for="credit-usage-companies"],
#credit-usage-people:checked ~ .thanos-cum-tabs label[for="credit-usage-people"] { background: #fff; color: var(--sm-text); box-shadow: 0 1px 2px rgba(16, 24, 40, .1); }
#credit-usage-companies:focus-visible ~ .thanos-cum-tabs label[for="credit-usage-companies"],
#credit-usage-people:focus-visible ~ .thanos-cum-tabs label[for="credit-usage-people"] { outline: 2px solid var(--sm-brand); outline-offset: 1px; }
.thanos-cum-panel.is-people, #credit-usage-people:checked ~ .is-companies { display: none; }
#credit-usage-people:checked ~ .is-people { display: block; }
.thanos-cum-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-top: 1px solid var(--sm-border); }
.thanos-cum-panel > .thanos-cum-row:first-child, .thanos-cum-note + .thanos-cum-row { border-top: 0; }
.thanos-cum-row.is-current { margin: 0 -1.5rem; padding-inline: 1.5rem; background: var(--sm-brand-soft); }
.thanos-cum-name { display: flex; flex-direction: column; min-width: 0; }
.thanos-cum-name .thanos-team-name { overflow-wrap: anywhere; }
.thanos-cum-sub { color: var(--sm-muted); font-size: 12px; overflow-wrap: anywhere; }
.thanos-cum-nums { display: inline-flex; flex: 0 0 auto; gap: .7rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thanos-cum-nums .fa { margin-inline-end: .15rem; color: var(--sm-brand); font-size: 11px; }
.thanos-cum-nums .is-zero { color: var(--sm-muted); font-weight: 400; }
.thanos-cum-nums .is-zero .fa { color: var(--sm-muted); }
.thanos-cum-note { margin: .5rem 0 .25rem; color: var(--sm-muted); font-size: 12px; }
@media (max-width: 767.98px) {
    .thanos-team:has(.thanos-credit-usage-m) .thanos-credits .thanos-credits-row { display: none; }
}

/* Demo and contract (D-072): days left on the demo, a contract ending soon or ended; invitations locked by the package. */
.thanos-plan-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.thanos-plan-notice .btn { flex-shrink: 0; }
.thanos-plan-lines { margin: 0 0 .75rem; padding: 0; list-style: none; font-size: 13px; color: var(--sm-muted); }
.thanos-plan-lines li + li { margin-top: .2rem; }
.thanos-team-locked { display: flex; gap: .75rem; align-items: flex-start; }
.thanos-team-locked .fa { margin-top: .2rem; color: var(--sm-muted); }

/* Package request (D-072): package cards with monthly / yearly prices, a summary that follows the page, the open request's steps. */
.thanos-request-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .35rem; }
.thanos-request-cycle { display: inline-flex; padding: 3px; border: 1px solid var(--sm-border); border-radius: 999px; background: var(--sm-surface); }
.thanos-request-cycle .btn { border: 0; border-radius: 999px; padding: .3rem .9rem; font-weight: 600; color: var(--sm-muted); }
.thanos-request-cycle .btn-check:checked + .btn { background: var(--sm-brand); color: #fff; }
.thanos-request-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.thanos-request-package { position: relative; display: block; margin: 0; cursor: pointer; }
.thanos-request-package input { position: absolute; opacity: 0; pointer-events: none; }
.thanos-request-package-body { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1rem; border: 1px solid var(--sm-border); border-radius: var(--sm-radius-card); transition: border-color .15s, box-shadow .15s; }
.thanos-request-package:hover .thanos-request-package-body { border-color: var(--sm-brand); }
.thanos-request-package input:checked + .thanos-request-package-body { border-color: var(--sm-brand); box-shadow: 0 0 0 2px var(--sm-brand-soft); }
.thanos-request-package input:focus-visible + .thanos-request-package-body { outline: 2px solid var(--sm-brand); outline-offset: 2px; }
.thanos-request-package-name { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-weight: 700; font-size: 16px; }
.thanos-request-current { padding: .1rem .5rem; border-radius: 999px; background: var(--sm-surface); color: var(--sm-muted); font-size: 11px; font-weight: 600; }
.thanos-request-price { font-size: 18px; font-weight: 700; color: var(--sm-brand); }
.thanos-request-features { display: flex; flex-direction: column; gap: .2rem; margin-top: .25rem; font-size: 13px; }
.thanos-request-features .fa-check { color: #12B76A; }
.thanos-request-features .is-off { color: var(--sm-muted); }
@media (min-width: 992px) { .thanos-request-aside { position: sticky; top: 9.5rem; } }
.thanos-request-summary-list { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0 0 1rem; font-size: 14px; }
.thanos-request-summary-list dt { font-weight: 400; color: var(--sm-muted); }
.thanos-request-summary-list dd { margin: 0; font-weight: 600; text-align: end; }
.thanos-request-next-list { margin: 0; padding-inline-start: 1.1rem; font-size: 14px; }
.thanos-request-next-list li + li { margin-top: .5rem; }
.thanos-request-badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sm-surface); }
.thanos-request-badge.is-new { background: #FEF0C7; color: #93370D; }
.thanos-request-badge.is-approved { background: #D1E9FF; color: #194185; }
.thanos-request-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: step; }
.thanos-request-steps li { position: relative; padding-top: 2.25rem; font-size: 13px; color: var(--sm-muted); counter-increment: step; }
.thanos-request-steps li::before { content: counter(step); position: absolute; top: 0; inset-inline-start: 0; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--sm-border); background: #fff; font-weight: 700; }
.thanos-request-steps li strong { display: block; color: var(--sm-text, #101828); }
.thanos-request-steps li.is-done::before { content: "\f00c"; font-family: FontAwesome; background: #12B76A; border-color: #12B76A; color: #fff; }
.thanos-request-steps li.is-current::before { border-color: var(--sm-brand); color: var(--sm-brand); box-shadow: 0 0 0 3px var(--sm-brand-soft); }
@media (max-width: 575.98px) { .thanos-request-steps { grid-template-columns: minmax(0, 1fr); } }

/* Lead Finder: earlier searches of the chosen business type on the map (D-075). */
.thanos-lf-past { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.thanos-lf-past[hidden] { display: none; }
.thanos-lf-past-toggle { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; font-weight: 600; }

/* When and by whom (D-077): date and time, the person under it; the company page's record line. */
.thanos-stamp { display: inline-flex; flex-direction: column; line-height: 1.35; }
.thanos-stamp time { white-space: nowrap; }
.thanos-stamp .thanos-team-by .fa { margin-inline-end: .2rem; font-size: 11px; }
.thanos-stamp-label { color: var(--sm-muted); font-size: 12px; }
/* Company page "On social media" (D-124): one row per post, newest first. */
.thanos-company-post { display: flex; gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--sm-border); }
.thanos-company-post:first-child { border-top: 0; padding-top: .25rem; }
.thanos-company-post-icon { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--sm-brand-soft); color: var(--sm-brand); }
.thanos-company-post-body { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.thanos-company-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: 12px; color: var(--sm-muted); }
.thanos-company-post-kind { padding: 0 .5rem; border-radius: 999px; background: var(--sm-surface); color: var(--sm-text); font-weight: 600; }
.thanos-company-post-title { font-weight: 600; color: var(--sm-text); }
.thanos-company-post-summary { font-size: 14px; color: var(--sm-muted); }
/* Company page record line (D-117): one quiet line under the company instead of a card. */
.thanos-company-trail { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: .75rem 0 0; padding: 0; list-style: none; color: var(--sm-muted); font-size: 13px; line-height: 1.5; }
.thanos-company-trail li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 .35rem; }
.thanos-company-trail .icon, .thanos-company-trail [class*="fa-"] { color: var(--sm-brand); font-size: 13px; }
.thanos-company-trail a { color: var(--secondary-color); font-weight: 600; }
.thanos-company-trail time { white-space: nowrap; }
.thanos-company-trail-sep { opacity: .6; }
[data-analysis-cell] .thanos-stamp { margin-top: .3rem; font-size: 12px; color: var(--sm-muted); }

/* Search "Overview": customer reference cards; landing "Recently analyzed companies": fit score out of 10 (D-078). */
a.thanos-customer-card { display: block; color: inherit; text-decoration: none; transition: border-color .15s; }
a.thanos-customer-card:hover, a.thanos-customer-card:focus-visible { border-color: var(--sm-brand); color: inherit; }
/* Recently analyzed companies (D-078): plain white cards on a soft band, no frame or brand stripe, a light neutral shadow that
   deepens a little on hover (the orange stays in the radar mark and the region chip). */
.thanos-analyzed-section { background: var(--sm-surface); }
/* Landing totals (T-105): three counts and the countries with enough data, no business or customer. */
.thanos-pool-stats { background: var(--sm-surface); }
.thanos-pool-stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 0 auto; }
/* Light brand-tinted cards, each with a large, faint, tilted copy of its icon in the bottom corner (D-197, exception to D-112). */
.thanos-pool-stat {
    position: relative; overflow: hidden; isolation: isolate;
    background: color-mix(in srgb, var(--sm-brand) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--sm-brand) 20%, #fff);
    border-radius: var(--sm-radius-card); padding: 22px 18px; text-align: center;
}
.thanos-pool-stat-mark {
    position: absolute; z-index: -1; inset-inline-end: -14px; bottom: -26px;
    font-size: 108px; line-height: 1; color: var(--sm-brand); opacity: .13;
    transform: rotate(-14deg); pointer-events: none; user-select: none;
}
.thanos-pool-stat-value { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; color: var(--sm-text); }
.thanos-pool-stat-label { display: block; margin-top: 6px; color: var(--sm-muted); font-size: 15px; }
.thanos-pool-countries-title { text-align: center; margin: 28px 0 10px; font-weight: 600; color: var(--sm-text); }
.thanos-pool-countries { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; }
.thanos-pool-countries li { background: #fff; border: 1px solid var(--sm-border); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.thanos-pool-countries li span { color: var(--sm-muted); }
@media (max-width: 575.98px) {
    .thanos-pool-stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .thanos-pool-stat { padding: 14px; }
    .thanos-pool-stat-mark { font-size: 84px; bottom: -20px; }
    .thanos-pool-stat-value { font-size: 32px; }
}
.thanos-analyzed .owl-stage-outer { padding: 10px 6px 22px; margin: -10px -6px -22px; }
.thanos-analyzed .owl-stage { display: flex; }
.thanos-analyzed .owl-item { display: flex; }
.thanos-analyzed .item { display: flex; width: 100%; }
.thanos-analyzed-card { position: relative; width: 100%; overflow: hidden; border: 0; border-radius: 14px; background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05); transition: transform .2s ease, box-shadow .2s ease; }
.thanos-analyzed-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 24, 40, .05), 0 12px 28px rgba(16, 24, 40, .09); }
.thanos-analyzed-card .card-body { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.05rem 1rem; }
.thanos-analyzed-top { display: flex; align-items: center; gap: .65rem; margin-bottom: .15rem; }
/* The brand's radar in place of the fit score (D-111): the arrow M on an orange tile, the search circle pulsing out. */
.thanos-analyzed-radar { position: relative; display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
    background: radial-gradient(circle, var(--sm-brand-soft) 0 44%, transparent 45%), radial-gradient(circle, transparent 0 63%, var(--sm-brand-soft) 64% 66%, transparent 67%); }
.thanos-analyzed-radar-ring { position: absolute; inset: 0; border: 1.5px solid var(--sm-brand); border-radius: 50%; opacity: 0;
    animation: thanos-analyzed-radar 3.6s ease-out infinite; }
.thanos-analyzed-radar-ring + .thanos-analyzed-radar-ring { animation-delay: 1.8s; }
@keyframes thanos-analyzed-radar { 0% { transform: scale(.45); opacity: .7; } 100% { transform: scale(1); opacity: 0; } }
.thanos-analyzed-radar-mark { position: relative; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
    background: var(--sm-brand); color: #fff; box-shadow: 0 6px 16px rgba(229, 84, 26, .3); }
.thanos-analyzed-radar-mark .thanos-mark-arrow { width: 16px; height: 16px; }
.thanos-analyzed-card:hover .thanos-analyzed-radar-ring { animation-duration: 2.4s; }
.thanos-analyzed-kicker { display: block; font-size: 10px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; color: var(--sm-brand); }
.thanos-analyzed-type { display: block; margin-top: .1rem; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: var(--sm-muted); }
.thanos-analyzed-name { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--sm-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.thanos-analyzed-region { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; max-width: 100%; margin-top: .15rem;
    padding: .2rem .55rem; border-radius: 999px; background: var(--sm-brand-soft); color: var(--sm-brand); font-size: 11px; font-weight: 600; }
/* The region sits right above the report line in every card (with or without the website line), so the cards line up. */
.thanos-analyzed-card .thanos-analyzed-region { margin-top: auto; }
.thanos-analyzed-card .thanos-analyzed-region + .thanos-analyzed-report { margin-top: .35rem; }
/* What the report holds (D-111), at the foot of the card. */
.thanos-analyzed-report { display: flex; flex-wrap: wrap; gap: .25rem .65rem; margin: auto 0 0; padding-top: .6rem; border-top: 1px solid var(--sm-border);
    font-size: 12px; font-weight: 600; color: var(--sm-text); }
.thanos-analyzed-report .fa { margin-inline-end: .3rem; color: var(--sm-brand); }
@media (prefers-reduced-motion: reduce) {
    .thanos-analyzed-card { transition: none; } .thanos-analyzed-card:hover { transform: none; }
    .thanos-analyzed-radar-ring { animation: none; opacity: .35; transform: scale(.8); }
}

/* Right-to-left (Arabic, D-118). The template's .rtl rules and Bootstrap's RTL build mirror the layout; our own rules use
   logical properties (inset-inline-*, padding-inline-*). What is left: backgrounds placed by side, and arrows that point
   "forward" (next, go, more), which point the other way in a right-to-left page. The brand mark keeps its direction. */
[dir="rtl"] .thanos-lang-select { padding: .3rem 1.85rem .3rem 1.9rem; background-position: left .65rem center; }
[dir="rtl"] .thanos-header-actions.is-compact .thanos-lang-select { padding: .25rem 1.7rem .25rem 1.55rem; background-position: left .5rem center; }
[dir="rtl"] .fa-angle-right, [dir="rtl"] .fa-angle-left, [dir="rtl"] .fa-chevron-right, [dir="rtl"] .fa-chevron-left,
[dir="rtl"] .fa-arrow-right, [dir="rtl"] .fa-arrow-left, [dir="rtl"] .fa-long-arrow-right, [dir="rtl"] .fa-long-arrow-left,
[dir="rtl"] .fa-angle-double-right, [dir="rtl"] .fa-angle-double-left { transform: scaleX(-1); }
/* The logo band slides the same way in every language (logos only, no text). */
[dir="rtl"] .thanos-logo-marquee { direction: ltr; }
/* Phone numbers, e-mail and web addresses are written left to right inside Arabic text and fields. */
[dir="rtl"] .thanos-results-phone, [dir="rtl"] .thanos-ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"] { direction: ltr; text-align: right; }

/* ------------------------------------------------------------------ Get contacts (D-126) */
/* Result table: one button per analysed row, the request's state after it. */
.thanos-contacts-state { display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; font-weight: 600; }
.thanos-contacts-state.is-found { color: var(--secondary-color); text-decoration: none; }
.thanos-contacts-state.is-found:hover { text-decoration: underline; }
.thanos-contacts-state.is-none, .thanos-contacts-state.is-running { color: var(--sm-muted); font-weight: 500; }
.thanos-contacts-state.is-failed { color: #b42318; font-weight: 500; }
.thanos-contacts-go {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    height: 30px;
    padding: 0 .65rem;
    border: 1px solid var(--sm-input-border);
    border-radius: var(--sm-radius-control);
    background: transparent;
    color: var(--sm-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.thanos-contacts-go .fa { color: var(--sm-brand); }
.thanos-contacts-go:hover, .thanos-contacts-go:focus-visible { border-color: var(--secondary-color); color: var(--secondary-color); }
/* "Ask again with other titles": a small icon next to the state. */
.thanos-contacts-go.is-again { width: 26px; height: 26px; padding: 0; justify-content: center; margin-inline-start: .4rem; }
.thanos-contacts-go.is-again .fa { color: var(--sm-muted); }
.thanos-contacts-bulk { display: inline-flex; align-items: center; }
.thanos-contacts-bulk-count {
    min-width: 20px; height: 20px; margin-inline-start: .4rem; padding: 0 6px; border-radius: 999px;
    background: var(--sm-brand); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}
.thanos-results-actions { flex-wrap: wrap; }

/* Job title picker: tags + autocomplete. */
.thanos-contacts-dialog .modal-header { align-items: flex-start; border-bottom: 0; padding-bottom: 0; }
.thanos-contacts-dialog .modal-footer { border-top: 1px solid var(--sm-border); }
.thanos-tagbox {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px;
    border: 1px solid var(--sm-input-border); border-radius: var(--sm-radius-control); background: #fff; cursor: text;
}
.thanos-tagbox:focus-within { border-color: var(--sm-brand); box-shadow: 0 0 0 3px rgba(229, 84, 26, .15); }
.thanos-tagbox.is-invalid { border-color: #b42318; }
.thanos-tagbox-tags { display: contents; list-style: none; margin: 0; padding: 0; }
.thanos-tagbox-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px;
    background: rgba(229, 84, 26, .1); color: #9a3412; font-size: 13px; font-weight: 600;
}
.thanos-tagbox-tag button {
    display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 15px; line-height: 1; cursor: pointer;
}
.thanos-tagbox-tag button:hover, .thanos-tagbox-tag button:focus-visible { background: rgba(229, 84, 26, .2); }
.thanos-tagbox-input { flex: 1; min-width: 160px; height: 30px; border: 0; outline: 0; background: transparent; font-size: 14px; }
.thanos-tagbox-list {
    list-style: none; margin: 4px 0 0; padding: 4px; max-height: 240px; overflow-y: auto;
    border: 1px solid var(--sm-border); border-radius: var(--sm-radius-control); background: #fff;
    box-shadow: 0 8px 24px rgba(20, 22, 31, .08);
}
.thanos-tagbox-list li { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: 7px 10px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.thanos-tagbox-list li small { color: var(--sm-muted); font-size: 12px; }
.thanos-tagbox-list li.is-active, .thanos-tagbox-list li:hover { background: var(--sm-surface); }
.thanos-tagbox-list li mark { padding: 0; background: transparent; color: var(--sm-brand); font-weight: 700; }
.thanos-tagbox-list .thanos-tagbox-empty { color: var(--sm-muted); cursor: default; }
.thanos-tagbox-error { min-height: 0; margin: 6px 0 0; color: #b42318; font-size: 13px; }
.thanos-tagbox-error:empty { display: none; }
.thanos-contacts-quick { margin-top: .9rem; }
.thanos-contacts-quick-label { display: block; margin-bottom: .4rem; color: var(--sm-muted); font-size: 12px; font-weight: 600; }
.thanos-contacts-quick-list { display: flex; flex-wrap: wrap; gap: 6px; }
.thanos-contacts-quick-btn {
    padding: 4px 10px; border: 1px dashed var(--sm-input-border); border-radius: 999px; background: transparent;
    color: var(--sm-text); font-size: 13px; cursor: pointer;
}
.thanos-contacts-quick-btn:hover, .thanos-contacts-quick-btn:focus-visible { border-color: var(--sm-brand); border-style: solid; color: var(--sm-brand); }
.thanos-contacts-quick-btn:disabled { opacity: .45; cursor: not-allowed; }
.thanos-contacts-hint { margin: .9rem 0 0; color: var(--sm-muted); font-size: 12px; }
.thanos-contacts-cost { color: var(--sm-muted); font-size: 13px; }
.thanos-contacts-cost.is-short { color: #b42318; }

/* Company page: related contacts grouped by where they were found. */
.thanos-company-people-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.thanos-company-people-head .thanos-company-panel-title { margin-inline-end: auto; }
.thanos-company-people-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.thanos-company-people-filter button {
    padding: 4px 12px; border: 1px solid var(--sm-border); border-radius: 999px; background: transparent;
    color: var(--sm-text); font-size: 13px; cursor: pointer;
}
.thanos-company-people-filter button span { margin-inline-start: .25rem; color: var(--sm-muted); }
.thanos-company-people-filter button.is-active { border-color: var(--sm-text); background: var(--sm-text); color: #fff; }
.thanos-company-people-filter button.is-active span { color: rgba(255, 255, 255, .75); }
.thanos-company-people-role {
    display: inline-block; margin-inline-start: .35rem; padding: 1px 8px; border-radius: 999px;
    background: var(--sm-surface); color: var(--sm-muted); font-size: 11px; font-weight: 600; vertical-align: middle;
}
/* Works there in a title that was not asked for (D-137): set apart from the asked titles. */
.thanos-company-people-role.is-other { background: transparent; border: 1px dashed var(--sm-border); }
/* Senior management outside the asked titles (UX-092): its level instead of "Other title". */
.thanos-company-people-role.is-senior { background: var(--sm-brand-soft); color: var(--sm-text); }
.thanos-people-source { display: inline-flex; align-items: center; gap: .3rem; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.thanos-people-source.is-website { background: var(--sm-surface); color: var(--sm-text); }
.thanos-people-source.is-linkedin { background: #e8f1fb; color: #0a4b8c; }
.thanos-people-source.is-google { background: #eaf4ee; color: #1f6b3a; }
.thanos-company-people-last { margin: .85rem 0 0; color: var(--sm-muted); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
/* Analysis and "Get contacts" in one cell (D-126), the button under the status (T-184) so the keywords column fits beside it. */
.thanos-results-status { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.thanos-results-status [data-analysis-badge] { white-space: nowrap; }
.thanos-results-contacts { display: inline-flex; align-items: center; white-space: nowrap; }
.thanos-results-contacts:empty { display: none; }
.thanos-results-contacts .thanos-contacts-go:not(.is-again) { height: 26px; padding: 0 .5rem; font-size: 12px; }
.thanos-people-source.is-contacts { background: rgba(229, 84, 26, .1); color: #9a3412; }
/* Added by hand by the team (T-155): who and when on hover / focus. */
.thanos-people-source.is-team { position: relative; background: #f1ecfb; color: #5b3a9a; cursor: default; }
.thanos-people-source.is-team:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: 2px; }
.thanos-people-source.is-team[data-tip]::after {
    content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 5;
    padding: 4px 8px; border-radius: 6px; background: #1d1f27; color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap;
    pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.thanos-people-source.is-team[data-tip]:hover::after, .thanos-people-source.is-team[data-tip]:focus::after { opacity: 1; visibility: visible; }

/* "Keywords" column (T-184): one numbered circle per keyword of the search, in the brand colour when found, grey and hollow when
   not; from three keywords on two centred lines (3 + 2, 2 + 2, 2 + 1) so the column stays narrow. The keyword shows on hover or
   focus (a tap on touch screens). */
.thanos-results-table .thanos-results-kw-col { text-align: center; }
.thanos-kw { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; vertical-align: middle; }
.thanos-kw-line { display: flex; justify-content: center; gap: 4px; }
.thanos-kw-dot {
    position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 600; line-height: 1; cursor: default;
    border: 1px dashed #b4b2a9; color: var(--sm-muted); background: transparent;
}
.thanos-kw-dot.is-found { border: 1px solid var(--sm-brand); background: var(--sm-brand); color: #fff; }
.thanos-kw-dot:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: 2px; }
.thanos-kw-dot::after {
    content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 5;
    padding: 4px 8px; border-radius: 6px; background: #1d1f27; color: #fff; font-size: 12px; font-weight: 500; white-space: nowrap;
    pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.thanos-kw-dot:hover::after, .thanos-kw-dot:focus::after { opacity: 1; visibility: visible; }

/* "Keywords" column as tags (T-207): found ones first in the brand colour, the others empty; as many as fit on two lines, the rest
   under "+N" (js/search-results.js); a long keyword is cut with "…" and shows in full on hover. */
.thanos-results-table .thanos-results-kw-col { text-align: start; min-width: 9rem; }
.thanos-kw-chips { display: flex; flex-wrap: wrap; gap: 4px; max-width: 15rem; }
.thanos-kw-chip {
    display: inline-block; max-width: 8.5rem; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 16px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid #c9c7be; color: var(--sm-muted); background: transparent;
}
.thanos-kw-chip.is-found { border-color: var(--sm-brand); background: var(--sm-brand); color: #fff; }
.thanos-kw-chip[hidden] { display: none; }
.thanos-kw-chips.is-open .thanos-kw-chip { max-width: none; }
.thanos-kw-more { padding: 1px 4px; border: 0; background: none; font-size: 11px; font-weight: 700; line-height: 16px; color: var(--sm-brand); cursor: pointer; }
.thanos-kw-more:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: 2px; border-radius: 4px; }
.thanos-col-filter-sub { margin: .5rem 0 .25rem; font-size: 12px; color: var(--sm-muted); }
.thanos-kw-pick { display: inline-block; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* Result table fits the screen (D-127): a wider page, tighter cells, long text wraps; between 768 and 1199 px the distance and
   "started by" columns step aside and their values sit as small lines under the address and the analysis status (T-140). */
@media (min-width: 1200px) { .thanos-results > .container { max-width: 1480px; } }
.thanos-results-table th, .thanos-results-table td { padding-inline: .55rem; }
.thanos-results-table td { font-size: 13px; padding-top: .8rem; padding-bottom: .8rem; }
.thanos-results-table .thanos-results-namecell { min-width: 150px; max-width: 240px; }
.thanos-results-address { min-width: 140px; max-width: 240px; }
.thanos-results-type { white-space: normal; }
.thanos-results-table td:has(.thanos-results-type) { min-width: 110px; max-width: 170px; }
.thanos-results-stamp .thanos-stamp { font-size: 12px; white-space: nowrap; }
/* Export menu (T-027): formats, "only the selection" and a short note on what is in the file. */
.thanos-results-export-menu { min-width: 260px; max-width: 320px; padding: .75rem; }
.thanos-results-export-menu .dropdown-item { border-radius: 6px; padding: .45rem .6rem; font-size: 14px; }
.thanos-results-export-selected { margin: 0 0 .5rem; padding-inline-start: 1.6em; font-size: 13px; }
.thanos-results-export-hint { margin: .5rem 0 0; font-size: 12px; line-height: 1.4; color: var(--sm-muted); white-space: normal; }
.thanos-results-tablet-only { display: none; }
@media (min-width: 768px) and (max-width: 1199.98px) {
    .thanos-results-table .thanos-col-wide { display: none; }
    .thanos-results-table .thanos-results-tablet-only { display: block; margin-top: .25rem; font-size: 12px; color: var(--sm-muted); }
}
/* Phones: analysis and "Get contacts" stacked, so the company name keeps its width (D-127). */
@media (max-width: 767.98px) {
    .thanos-results-table .thanos-results-status { flex-direction: column; flex-wrap: nowrap; align-items: flex-end; gap: .4rem; }
    .thanos-results-table .thanos-results-status .thanos-analysis-go { margin-top: .3rem; }
}

/* Text in another language than the page (report text in the report language, T-111) follows its own direction; the theme
   aligns body text to the left, which would leave right-to-left text on the wrong side. */
:not(html)[dir] { text-align: start; }

/* Column filters of the result table (T-147): a filter button next to the sort link; on phones (no table header) one "Filter" button. */
.thanos-th { display: inline-flex; align-items: center; gap: .35rem; }
.thanos-col-filter { display: inline-block; }
.thanos-col-filter-toggle {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: 0 .15rem; border: 0; background: none; line-height: 1;
    color: rgba(255, 255, 255, .45); transition: color .2s ease;
}
.thanos-col-filter-toggle:hover, .thanos-col-filter-toggle:focus-visible, .thanos-col-filter-toggle.is-active { color: var(--sm-brand); }
.thanos-col-filter-menu {
    min-width: 240px; max-width: 320px; padding: .75rem 1rem;
    font-size: 13px; font-weight: 400; color: var(--sm-text); text-transform: none; letter-spacing: normal; white-space: normal;
}
.thanos-col-filter-menu .form-check { margin-bottom: .35rem; }
.thanos-col-filter-list { max-height: 260px; overflow-y: auto; margin-top: .35rem; padding-top: .5rem; border-top: 1px solid var(--sm-input-border); }
.thanos-col-filter-list .is-unrelated .form-check-label { color: var(--sm-muted); }
.thanos-col-filter-title { margin: .6rem 0 .35rem; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--sm-muted); }
.thanos-col-filter-actions { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; }
.thanos-results-filter-all { display: none; }
@media (max-width: 767.98px) {
    .thanos-results-filter-all { display: block; flex: 0 0 auto; }
    .thanos-results-filter-all .thanos-col-filter-toggle {
        padding: .375rem .75rem; border: 1px solid var(--sm-input-border); border-radius: .375rem; color: var(--sm-text); font-size: 14px;
    }
    .thanos-results-filter-all .thanos-col-filter-toggle.is-active { border-color: var(--sm-brand); color: var(--sm-brand); }
    .thanos-results-filter-all .thanos-col-filter-menu { max-height: 70vh; overflow-y: auto; }
}
/* Search results on phones (layout A): the summary card first (place, type and radius chips, the result count, dates folded
   under "Show details"), then the map, then the companies with search, filter, sort and the bulk actions in one box.
   Tablets and desktops keep their layout; everything here stays under 768 px. */
.thanos-results-query-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .35rem 0 .75rem; }
.thanos-results-query-chips span {
    padding: .15rem .6rem; border-radius: 999px; background: rgba(255, 138, 92, .16); color: #FF8A5C; font-size: 13px; font-weight: 600;
}
.thanos-results-query-stat { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: 13px; }
.thanos-results-query-stat b { margin-inline-start: .25rem; font-size: 1.35rem; font-weight: 800; color: #fff; vertical-align: -.1rem; }
.thanos-results-query .btn.thanos-results-query-more { padding: 0; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7) !important; text-decoration: none; }
.thanos-results-query-more .fa { margin-inline-start: .2rem; font-size: 11px; transition: transform .2s; }
.thanos-results-query-more[aria-expanded="true"] .fa { transform: rotate(180deg); }
@media (max-width: 767.98px) {
    .thanos-results > .container { display: flex; flex-direction: column; }
    .thanos-results-summary { order: -1; margin-bottom: 1.25rem !important; }
    .thanos-results-query { padding: 1.1rem 1.25rem; }
    .thanos-results-query-place { font-size: 1.2rem; }
    .thanos-results-query-meta { padding-top: .75rem; margin-top: .75rem; border-top: 1px solid rgba(255, 255, 255, .12); }
    .thanos-results-map { margin-bottom: 1.5rem !important; }

    .thanos-results-toolbar {
        justify-content: flex-start; gap: .6rem; padding: .75rem;
        border: 1px solid var(--sm-border); border-radius: var(--sm-radius-card); background: #fff;
    }
    .thanos-results-search { order: 1; flex: 1 1 100%; max-width: none; }
    .thanos-results-search .btn { min-width: 0; }
    .thanos-results-filter-all { order: 2; }
    .thanos-results-sort { order: 3; flex: 1 1 auto; }
    .thanos-results-filter-all .thanos-col-filter-toggle, .thanos-results-sort .form-select { height: 36px; }
    .thanos-results-sort .form-select { font-size: 14px; } /* the same size as the "Filter" button next to it */
    .thanos-results-actions .btn { padding: .375rem .6rem; font-size: 14px; }
    /* The two bulk actions are the same kind of button: side by side, half the width each (wrapping onto two lines if long). */
    .thanos-results-analysis-form, .thanos-results-actions .thanos-contacts-bulk { flex: 1 1 calc(50% - .3rem); min-width: 0; } /* half of the .6rem toolbar gap */
    .thanos-results-analysis-form .btn, .thanos-results-actions .thanos-contacts-bulk { width: 100%; white-space: normal; line-height: 1.2; }
    .thanos-results-analysis-form .btn { height: 100%; } /* the form stretches with the row; the contacts button stretches itself */
    /* Nothing selected: the actions box dissolves into the toolbar, so the export icon joins the filter / sort row. The two bulk
       actions only work on a selection and come up in the bottom bar once rows are picked, so they are left out here. */
    .thanos-results:not(.has-selection) .thanos-results-actions { display: contents; }
    .thanos-results:not(.has-selection) .thanos-results-export { order: 4; margin-inline-start: auto; }
    .thanos-results:not(.has-selection) .thanos-results-analysis-form,
    .thanos-results:not(.has-selection) .thanos-contacts-bulk { display: none; }
    .thanos-results:not(.has-selection) .thanos-credits-out-note { order: 5; flex: 1 1 100%; }
    .thanos-results:not(.has-selection) .thanos-results-analysis-message { order: 6; }
    /* Rows selected (bar docked at the bottom): the two actions on top, the selection pill and the export icon under them. */
    .thanos-results.has-selection .thanos-results-actions { justify-content: flex-start; align-items: stretch; gap: .5rem; }
    .thanos-results.has-selection .thanos-results-analysis-form { order: 1; }
    .thanos-results.has-selection .thanos-contacts-bulk { order: 2; }
    .thanos-results.has-selection .thanos-results-selection { order: 3; align-self: center; }
    .thanos-results.has-selection .thanos-results-export { order: 4; margin-inline-start: auto; }
    .thanos-results.has-selection .thanos-results-analysis-message { order: 5; }
    .thanos-results-export .btn > .fa { margin: 0 !important; }
    .thanos-results-export-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    /* The sort list in the box already says what the list is sorted by. */
    .thanos-list-sort { display: none; }
}
/* Notes under a result: merged Maps listings, "perhaps the same company", a type unrelated to the search (UX-082, UX-083). */
.thanos-results-note { display: block; margin-top: .2rem; font-size: 11px; color: var(--sm-muted); }
/* Why the company fits the search (T-226): one muted line under the name, on phones too (font-weight resets the bold card line). */
.thanos-results-reason {
    display: block; max-width: 28rem; margin-top: .15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 12px; font-weight: 400; color: var(--sm-muted);
}
@media (max-width: 767.98px) { .thanos-results-reason { max-width: none; white-space: normal; } }
a.thanos-results-note.is-warning { color: #B45309; text-decoration: none; }
a.thanos-results-note.is-warning:hover, a.thanos-results-note.is-warning:focus-visible { text-decoration: underline; }
/* A grouped company's other listings (T-194): "+N branches" badge in the name cell, opening a row under it. */
.thanos-results-branches-toggle {
    display: flex; width: fit-content; align-items: center; gap: .3rem; margin-top: .3rem; padding: 1px 8px;
    border: 1px solid var(--sm-border); border-radius: 999px; background: #fff;
    font-size: 11px; font-weight: 600; line-height: 1.6; color: var(--sm-text); cursor: pointer;
}
.thanos-results-branches-toggle:hover, .thanos-results-branches-toggle:focus-visible { border-color: var(--sm-brand); color: var(--sm-brand); }
.thanos-results-branches-toggle .fa { font-size: 9px; transition: transform .2s ease; }
.thanos-results-branches-toggle[aria-expanded="true"] { border-color: var(--sm-brand); color: var(--sm-brand); }
.thanos-results-branches-toggle[aria-expanded="true"] .fa { transform: rotate(180deg); }
.thanos-results-table tbody tr.thanos-results-branches,
.thanos-results-table tbody tr.thanos-results-branches:hover { background: var(--sm-surface); }
.thanos-results-table tbody tr.thanos-results-branches[hidden] { display: none; }
.thanos-results-branches > td { padding-top: .5rem; padding-bottom: .75rem; padding-inline-start: 2.75rem; }
.thanos-results-branch-list { display: grid; gap: .4rem; font-size: 13px; }
.thanos-results-branch-list li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .75rem; row-gap: .1rem; }
.thanos-results-branch-list .fa-map-marker { color: var(--sm-brand); }
.thanos-results-branch-name { font-weight: 600; }
.thanos-results-branch-address, .thanos-results-branch-distance { color: var(--sm-muted); }
.thanos-result-pin.is-branch .thanos-result-pin-dot { inset: 4px; }
@media (max-width: 767.98px) {
    .thanos-mtable tbody tr.thanos-results-branches { display: block; padding: .5rem 1rem .85rem; }
    .thanos-mtable tbody tr.thanos-results-branches[hidden] { display: none; }
    .thanos-mtable tbody tr.thanos-results-branches > td { display: block; font-size: 13px; }
    .thanos-results-branch-list li { flex-direction: column; }
}
/* The filter menus sit inside the dark table header: their choices look like any form's. */
.thanos-results-table thead .thanos-col-filter-menu .form-check-input { border-color: var(--sm-input-border); background-color: #fff; }
.thanos-results-table thead .thanos-col-filter-menu .form-check-input:checked { background-color: var(--sm-brand); border-color: var(--sm-brand); }

/* ---- People tracking and sales tracking (T-155, D-174) ---- */
/* Company page: who is in charge, the "Tracked" mark, the manual add form. */
.thanos-people-tracking { margin: -.25rem 0 1rem; color: var(--sm-muted); font-size: 13px; }
.thanos-people-tracking .fa { color: var(--sm-brand); margin-inline-end: .25rem; }
/* "Track the company address" (product owner 2026-11-15): nobody (or nobody with an e-mail) found, the company's general address. */
.thanos-company-contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem .85rem; margin: 0 0 1rem; padding: .75rem .9rem;
    border-radius: 12px; background: var(--sm-brand-soft); }
.thanos-company-contact-icon { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: #fff;
    color: var(--secondary-color); font-size: 18px; }
.thanos-company-contact-text { display: flex; flex: 1 1 220px; flex-direction: column; gap: .1rem; min-width: 0; }
.thanos-company-contact-text strong { color: var(--sm-text); font-size: 14px; }
.thanos-company-contact-text span { color: var(--sm-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.thanos-company-contact-done { color: #047857; font-size: 13px; font-weight: 600; }
/* The tracked general address on the company-wide row and the list's company-wide row. */
.thanos-crm-company-email { color: var(--sm-text); font-size: 13px; overflow-wrap: anywhere; }
.thanos-crm-company-email .fa, .thanos-crm-company-contact .fa { color: var(--secondary-color); }
/* A tracked person's name opens their details on the sales tracking page. */
.thanos-people-name-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(229, 84, 26, .35); text-underline-offset: 3px; }
.thanos-people-name-link:hover, .thanos-people-name-link:focus-visible { color: var(--sm-brand); text-decoration-color: currentColor; }
/* The actions on ticked people sit in one box: part of the head row on wider screens, a bottom bar on phones. */
.thanos-people-bulk { display: contents; }
/* People tab on phones (layout A): the title with the count and one "Find people" menu (another job title / add by hand),
   the sales tracking note as a strip, the source filter on one scrolling row; the actions on ticked people come up in a bar
   at the bottom once someone is ticked. Wider screens keep their layout. */
@media (max-width: 767.98px) {
    .thanos-company-people-head { gap: .6rem; }
    .thanos-company-people-head .thanos-company-panel-title { flex: 1 1 auto; }
    .thanos-people-count { color: var(--sm-muted); font-weight: 600; }
    .thanos-company-people-head .thanos-people-tracking {
        flex: 1 1 100%; margin: 0; padding: .45rem .7rem; border-radius: var(--sm-radius-control); background: var(--sm-brand-soft); color: var(--sm-text);
    }
    .thanos-company-people-filter { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    .thanos-company-people-filter::-webkit-scrollbar { display: none; }
    .thanos-company-people-filter button { flex: none; white-space: nowrap; }
    .thanos-people-menu .dropdown-item { padding: .6rem 1rem; font-size: 14px; }

    /* The panel's hover lift (a transform, which stays on after a tap) would pin the fixed bottom bar inside the panel. */
    .thanos-company-panel.thanos-company-people { transform: none !important; }
    .thanos-people-bulk { display: none; }
    .thanos-company-people:has(input[data-people-track-row]:checked, input[data-email-pick]:checked) .thanos-people-bulk {
        position: fixed; inset-inline: 0; bottom: 0; z-index: 1031;
        display: flex; flex-wrap: wrap; align-items: stretch; gap: .5rem;
        padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
        background: #fff; border-top: 1px solid var(--sm-border); box-shadow: 0 -6px 18px rgba(20, 20, 20, .08);
    }
    .thanos-people-bulk > .btn, .thanos-people-bulk > form { flex: 1 1 calc(50% - .25rem); min-width: 0; }
    .thanos-people-bulk .btn { width: 100%; height: 100%; min-height: 44px; font-size: 14px; white-space: normal; line-height: 1.2; }
    .thanos-people-bulk-meta { flex: 1 1 100%; display: flex; align-items: center; gap: .75rem; font-size: 13px; font-weight: 600; color: var(--sm-text); }
    .thanos-people-bulk-meta .btn.btn-link { width: auto; height: auto; min-height: 0; color: var(--sm-brand) !important; font-size: 13px; font-weight: 600; text-decoration: none; }
    /* The bar says how many are ticked, so the buttons drop their own count and fit on two lines. */
    .thanos-people-bulk [data-company-emails-count], .thanos-people-bulk [data-people-track-count] { display: none; }
    .thanos-company:has(.thanos-company-people input[data-people-track-row]:checked, .thanos-company-people input[data-email-pick]:checked) { padding-bottom: 9rem; }
    /* The floating buttons (feedback, credits, back to top) move above the bar while it shows. */
    body:has(.thanos-company-people input[data-people-track-row]:checked, .thanos-company-people input[data-email-pick]:checked) #back-to-top,
    body:has(.thanos-company-people input[data-people-track-row]:checked, .thanos-company-people input[data-email-pick]:checked) .thanos-feedback-btn { bottom: 128px; }
}
.thanos-people-tracked {
    display: inline-flex; align-items: center; gap: .25rem; margin-inline-start: .4rem; padding: 1px 8px; border-radius: 999px;
    background: var(--sm-brand-soft); color: var(--sm-text); font-size: 11px; font-weight: 600; vertical-align: middle;
}
a.thanos-people-tracked { text-decoration: none; }
a.thanos-people-tracked:hover { color: var(--sm-brand); }
/* The per-person column: a light outline "+ Track" and, once tracked, a quiet "✓ Tracked" in the brand colour. */
.thanos-people-track-one {
    display: inline-flex; align-items: center; gap: .35rem; height: 28px; padding: 0 .7rem;
    border: 1px solid var(--sm-border); border-radius: 999px; background: transparent;
    color: var(--sm-text); font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer;
    transition: border-color .15s, color .15s, background-color .15s;
}
.thanos-people-track-one .fa { font-size: 10px; color: var(--sm-brand); }
.thanos-people-track-one:hover, .thanos-people-track-one:focus-visible { border-color: var(--sm-brand); color: var(--sm-brand); background: var(--sm-brand-soft); }
.thanos-people-track-one:disabled { opacity: .6; cursor: progress; }
.thanos-company-contacts [data-m="action"] .thanos-people-tracked {
    margin-inline-start: 0; padding: 0; background: transparent; color: var(--sm-brand); font-size: 12px; font-weight: 600;
}
.thanos-company-contacts [data-m="action"] .thanos-people-tracked .fa { font-size: 11px; }
.thanos-company-contacts [data-m="action"] .thanos-people-tracked.is-new { animation: thanos-tracked-in .35s ease-out; }
@keyframes thanos-tracked-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .thanos-company-contacts [data-m="action"] .thanos-people-tracked.is-new { animation: none; } }
@media (max-width: 767.98px) {
    /* Phones: the per-person "Track" button / "Tracked" mark on its own line under the name, always visible. */
    .thanos-mtable [data-m="action"] { grid-column: 2 / -1; margin-top: .5rem; }
}
.thanos-people-manual { margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--sm-border); border-radius: 12px; }
/* List page filters: links as chips, the stage as a small select. */
.thanos-crm-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.thanos-crm-filters > a {
    display: inline-flex; align-items: center; padding: .3rem .8rem; border: 1px solid var(--sm-border); border-radius: 999px;
    color: var(--sm-text); font-size: 13px; text-decoration: none;
}
.thanos-crm-filters > a:hover { border-color: var(--sm-brand); }
.thanos-crm-filters > a.is-active { border-color: var(--sm-brand); background: var(--sm-brand-soft); font-weight: 600; }
.thanos-crm-filters-sep { width: 1px; height: 1.4rem; background: var(--sm-border); }
/* Stage chip: closed stages set apart (won in brand colour, lost muted). */
.thanos-crm-stage { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--sm-surface); font-size: 12px; font-weight: 600; white-space: nowrap; }
.thanos-crm-stage.is-won { background: var(--sm-brand); color: #fff; }
.thanos-crm-stage.is-lost { background: transparent; border: 1px dashed var(--sm-border); color: var(--sm-muted); }
/* Next step dates: today in brand colour, overdue in red. */
.thanos-crm-next { font-weight: 600; white-space: nowrap; }
.thanos-crm-next.is-today { color: var(--sm-brand); }
.thanos-crm-next.is-overdue { color: #c0392b; }
.thanos-crm input.is-due { border-color: #c0392b; }
/* Opportunity page: notes keep their line breaks. */
.thanos-crm-note { white-space: pre-line; overflow-wrap: anywhere; }
.thanos-crm-archive summary { cursor: pointer; color: var(--sm-muted); font-size: 13px; }
/* Opportunity page: the company bar (in charge + stage) and the people list; a row opens its pane right under itself (parent-
   child) with the tabs inside. Every text that is not a placeholder uses the text colour; labels and meta lines stay readable.
   On phones the list rows stack as cards and the opened pane hangs under its card. */
.thanos-crm-bar { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; padding: .75rem 1rem; border: 1px solid var(--sm-border); border-radius: 12px; background: var(--sm-surface); }
.thanos-crm-bar-item { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; min-width: 0; }
.thanos-crm-bar-label { color: var(--sm-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
/* The owner / stage fields at the size of the other lists (sort, filter): 14 px type, 36 px high. */
.thanos-crm-bar .form-select-sm, .thanos-crm-bar .form-control-sm, .thanos-crm-bar .btn-sm { height: 36px; font-size: 14px; }
.thanos-crm-bar .btn-sm { display: inline-flex; align-items: center; }
/* Owner / stage buttons: words on wider screens, a square icon on phones (layout A, below). */
.thanos-crm-btn-icon { display: none; }
@media (max-width: 767.98px) {
    /* The two items dissolve into one grid: labels on the first row, fields on the second, the "since" / lost reason line
       under both (one line instead of two in a narrow column). The owner column is a little wider for names. */
    .thanos-crm-bar {
        display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        grid-template-areas: "olabel slabel" "ofield sfield" "since since";
        align-items: center; gap: .3rem .75rem; padding: .65rem .75rem;
    }
    .thanos-crm-bar-item { display: contents; }
    .thanos-crm-bar-item:first-child > .thanos-crm-bar-label { grid-area: olabel; }
    .thanos-crm-bar-item:first-child > :not(.thanos-crm-bar-label) { grid-area: ofield; min-width: 0; }
    .thanos-crm-bar-item:last-child > .thanos-crm-bar-label { grid-area: slabel; }
    .thanos-crm-bar-item:last-child > :nth-child(2) { grid-area: sfield; min-width: 0; }
    .thanos-crm-bar-item:last-child > :nth-child(n + 3) { grid-area: since; }
    .thanos-crm-bar-label { font-size: 11px; }
    .thanos-crm-bar select.form-select-sm { padding-inline: .6rem 1.75rem; background-position: right .5rem center; }
    [dir="rtl"] .thanos-crm-bar select.form-select-sm { background-position: left .5rem center; }
    .thanos-crm-bar-item form, .thanos-crm-stage-form > div { flex-wrap: wrap !important; gap: .35rem !important; margin: 0; }
    .thanos-crm-bar select.form-select { flex: 1 1 0; min-width: 0; width: auto !important; }
    .thanos-crm-bar [data-lost-reason] { flex: 1 1 100%; order: 3; min-width: 0; }
    .thanos-crm-bar [data-lost-reason] .form-control { width: 100%; }
    .thanos-crm-bar .btn-sm { flex: none; width: 36px; padding: 0; justify-content: center; }
    .thanos-crm-btn-icon { display: inline; }
    .thanos-crm-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .thanos-crm-since { font-size: 11px; }
}
/* The company page button keeps its label: the title shrinks and wraps instead, and on narrow screens the button goes under it. */
.thanos-crm-opportunity .thanos-section-head { flex-wrap: wrap; }
.thanos-crm-opportunity .thanos-section-head > div { flex: 1 1 260px; min-width: 0; }
.thanos-crm-opportunity .thanos-section-head > .btn { flex: none; white-space: nowrap; }
.thanos-crm-stage-form [data-lost-reason] input { min-width: 14rem; }
.thanos-crm-opportunity .form-label { color: var(--sm-text); font-size: 13px; font-weight: 600; margin-bottom: .3rem; }
.thanos-crm-opportunity .form-text { color: var(--sm-muted); font-size: 12px; }
.thanos-crm-people { font-size: 14px; color: var(--sm-text); }
.thanos-crm-people th { color: var(--sm-muted); font-size: 12px; font-weight: 600; white-space: nowrap; border-bottom-width: 1px; }
.thanos-crm-people td { vertical-align: top; color: var(--sm-text); }
.thanos-crm-row { cursor: pointer; }
.thanos-crm-row > td { transition: background-color .15s; }
.thanos-crm-row:hover > td { background: var(--sm-surface); }
.thanos-crm-row.is-open > td { background: var(--sm-brand-soft); border-bottom-color: transparent; }
.thanos-crm-row.is-open > td:first-child { box-shadow: inset 3px 0 0 var(--sm-brand); }
[dir="rtl"] .thanos-crm-row.is-open > td:first-child { box-shadow: inset -3px 0 0 var(--sm-brand); }
.thanos-crm-row-name { font-weight: 600; color: var(--sm-text); }
/* The company-wide row stands apart from the people: brand colour, tinted background and a brand edge. */
.thanos-crm-row.is-company > td { background: var(--sm-brand-soft); border-bottom-color: var(--sm-brand); }
.thanos-crm-row.is-company > td:first-child { box-shadow: inset 3px 0 0 var(--sm-brand); }
[dir="rtl"] .thanos-crm-row.is-company > td:first-child { box-shadow: inset -3px 0 0 var(--sm-brand); }
.thanos-crm-row.is-company .thanos-crm-row-name,
.thanos-crm-row.is-company .thanos-crm-row-name .fa { color: var(--sm-brand); }
.thanos-crm-row.is-company .thanos-crm-row-name:hover { color: var(--sm-brand-hover, var(--sm-brand)); text-decoration: underline; }
.thanos-crm-row-name:hover { color: var(--sm-brand); }
.thanos-crm-caret { display: inline-block; width: 1em; margin-inline-end: .35rem; color: var(--sm-muted); transition: transform .15s; }
[dir="rtl"] .thanos-crm-caret { transform: scaleX(-1); }
.is-open > td .thanos-crm-caret, .thanos-crm-row.is-open .thanos-crm-caret { transform: rotate(90deg); color: var(--sm-brand); }
.thanos-crm-row-title { margin-inline-start: 1.35rem; font-size: 13px; color: var(--sm-text); }
.thanos-crm-soon { display: block; margin-top: 4px; font-size: 12px; color: var(--sm-muted); }
.thanos-crm-row-link { margin-inline-start: .35rem; color: var(--sm-muted); }
.thanos-crm-row-link:hover { color: var(--sm-brand); }
.thanos-crm-pane-row > td { padding: 0 0 .75rem; background: var(--sm-brand-soft); border-bottom: 1px solid var(--sm-border); }
.thanos-crm-pane { margin: 0 .75rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--sm-border); border-radius: 10px; font-size: 14px; color: var(--sm-text); }
.thanos-crm-pane .thanos-company-tabs { margin-top: -.25rem; margin-bottom: 1rem; }
.thanos-crm-pane a.thanos-company-tab { text-decoration: none; }
.thanos-crm-archived + .thanos-crm-archived { margin-top: .25rem; }
div.thanos-crm-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .35rem .5rem; border-radius: 8px; }
div.thanos-crm-row.is-open { background: var(--sm-brand-soft); }
.thanos-crm-archived > .thanos-crm-pane { margin: .35rem 0 .5rem; }
#people [id^="crm-row-"] { scroll-margin-top: 90px; }
.thanos-crm-history .thanos-activity-item.is-event .thanos-activity-title { font-weight: 400; }
.thanos-crm-facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; }
.thanos-crm-facts dt { color: var(--sm-muted); font-weight: 600; font-size: 13px; }
.thanos-crm-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
  .thanos-crm-bar { flex-direction: column; align-items: stretch; }
  .thanos-crm-people thead { display: none; }
  .thanos-crm-people, .thanos-crm-people tbody, .thanos-crm-people tr, .thanos-crm-people td { display: block; width: 100%; }
  .thanos-crm-people tr[hidden] { display: none; }
  .thanos-crm-people tr.thanos-crm-row, .thanos-crm-people tr:not(.thanos-crm-pane-row) { border: 1px solid var(--sm-border); border-radius: 10px; margin-bottom: .5rem; overflow: hidden; }
  .thanos-crm-people tr.thanos-crm-row.is-open { border-color: var(--sm-brand); border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
  .thanos-crm-people td { border: 0; padding: .3rem .75rem; }
  .thanos-crm-people td:first-child { padding-top: .6rem; }
  .thanos-crm-people td:last-child { padding-bottom: .6rem; }
  .thanos-crm-people td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; color: var(--sm-muted); font-size: 11px; font-weight: 600; }
  .thanos-crm-row.is-open > td:first-child, .thanos-crm-row.is-company > td:first-child { box-shadow: none; }
  .thanos-crm-people tr.thanos-crm-row.is-company { border-color: var(--sm-brand); }
  .thanos-crm-pane-row { margin-bottom: .5rem; }
  .thanos-crm-pane-row > td { padding: 0 !important; background: transparent; border: 0; }
  .thanos-crm-pane { margin: 0; padding: .85rem; border-color: var(--sm-brand); border-top: 0; border-radius: 0 0 10px 10px; }
  .thanos-crm-facts { grid-template-columns: 1fr; gap: .1rem; }
  .thanos-crm-facts dd { margin-bottom: .5rem; }
}
/* Sales tracking people on phones: compact rows (only the facts there are, each with a small icon instead of a label) and the
   company-wide row set apart (grey, dashed). A person opens their own page there (below); the company-wide row opens in place. */
@media (max-width: 767.98px) {
  .thanos-crm-people td.is-empty { display: none !important; }
  .thanos-crm-people tr.thanos-crm-row:not(.is-company) > td:not(:first-child) { display: flex; align-items: baseline; gap: .5rem; padding: .1rem .75rem; font-size: 13px; }
  .thanos-crm-people tr.thanos-crm-row:not(.is-company) > td:not(:first-child)::before {
    content: ""; display: inline-block; flex: none; width: 1rem; text-align: center; font: normal normal normal 13px/1 FontAwesome; color: var(--sm-muted);
  }
  .thanos-crm-people tr.thanos-crm-row:not(.is-company) > td:nth-child(2)::before { content: "\f003"; }
  .thanos-crm-people tr.thanos-crm-row:not(.is-company) > td:nth-child(3)::before { content: "\f095"; }
  .thanos-crm-people tr.thanos-crm-row:not(.is-company) > td:nth-child(4)::before { content: "\f073"; }
  .thanos-crm-people tr.thanos-crm-row:not(.is-company) > td:nth-child(5)::before { content: "\f017"; }
  /* One line each: the title and a long e-mail address are cut with an ellipsis (the full text is in the opened view). */
  .thanos-crm-people tr.thanos-crm-row .thanos-crm-row-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .thanos-crm-people tr.thanos-crm-row > td:nth-child(2) > a { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .thanos-crm-people tr.thanos-crm-row > td:nth-child(4) > div { display: inline; margin-inline-start: .25rem; }
  .thanos-crm-people tr.thanos-crm-row:not(.is-company) > td:last-child, .thanos-crm-people tr.thanos-crm-row:not(.is-company) > td:not(.is-empty):last-of-type { padding-bottom: .6rem; }
  .thanos-crm-people tr.thanos-crm-row.is-open { border-color: var(--sm-border); border-radius: 10px; margin-bottom: .5rem; }
  .thanos-crm-people tr.thanos-crm-row.is-open > td { background: transparent; }
  /* The company-wide row: notes that belong to no one person, grey and dashed so it does not read as a person. */
  .thanos-crm-people tr.thanos-crm-row.is-company { border: 1px dashed var(--sm-input-border, #C9CDD3); background: var(--sm-surface); margin-bottom: 1rem; }
  .thanos-crm-people tr.thanos-crm-row.is-company > td { background: transparent; }
  .thanos-crm-row.is-company .thanos-crm-row-name, .thanos-crm-row.is-company .thanos-crm-row-name .fa { color: var(--sm-text); }
}
/* Page banner breadcrumb on phones: whole items centred on even lines (a long one, e.g. a company name, is cut with an ellipsis),
   the "/" after an item instead of before the next so no line starts with it, and a menu group without a page ("My Radar")
   left out to keep the path short. */
@media (max-width: 767.98px) {
    .bannerimg .breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; row-gap: .2rem; }
    .bannerimg .breadcrumb-item { display: inline-flex; align-items: baseline; max-width: 100%; min-width: 0; padding-inline-start: 0 !important; white-space: nowrap; }
    /* The name is cut, not the "/" after it; the current page (plain text, last) is cut as a whole. */
    .bannerimg .breadcrumb-item > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    .bannerimg .breadcrumb-item.active { display: inline-block; overflow: hidden; text-overflow: ellipsis; }
    .bannerimg .breadcrumb-item + .breadcrumb-item::before { content: none !important; display: none; }
    .bannerimg .breadcrumb-item:not(:last-child)::after { content: "/"; padding-inline: .45rem; color: rgba(255, 255, 255, .45); }
    .bannerimg .breadcrumb-item:has(> .text-white-50) { display: none; }
}
/* A tracked person's own page ("/tracked-people/{id}/person/{personId}"): whose page it is (badge, name, title, company), then
   the same tabs as under a row of the list. */
.thanos-crm-person-card { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.25rem; }
.thanos-crm-badge {
    flex: none; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
    background: var(--sm-brand-soft); color: var(--sm-brand); font-size: 16px; font-weight: 700;
}
.thanos-crm-person-card-text { min-width: 0; }
.thanos-crm-person-card-name { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.25; color: var(--sm-text); }
.thanos-crm-person-card-title { margin: .15rem 0 .3rem; font-size: 14px; color: var(--sm-muted); }
.thanos-crm-person-card-company { font-size: 13px; font-weight: 600; color: var(--sm-brand); }
.thanos-crm-person-page .thanos-crm-pane { margin: 0; }
@media (max-width: 767.98px) {
    .thanos-crm-person-page .thanos-crm-pane { padding: .85rem; border: 1px solid var(--sm-border); border-radius: 10px; }
    .thanos-crm-person-page .thanos-company-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .thanos-crm-badge { width: 42px; height: 42px; font-size: 15px; }
    .thanos-crm-person-card-name { font-size: 1.15rem; }
}
/* Notifications: due next steps (overdue ones in red). */
.thanos-activity-due .thanos-activity-icon.is-failed { border-color: #c0392b; color: #c0392b; }
.thanos-activity-due .thanos-activity-icon.is-action { border-color: var(--sm-brand); color: var(--sm-brand); }
/* The name as found, under its Latin spelling (T-163), one line. */
.thanos-analyzed-original { margin-top: .15rem; font-size: 12px; }
.thanos-analyzed-name:has(+ .thanos-analyzed-original) { min-height: 0; }

/* ---------------------------------------------------------------- first-contact e-mail drafts (T-178, D-180) */
.thanos-draft { border: 1px solid var(--sm-border); border-radius: var(--sm-radius-card); padding: 1rem; margin-bottom: 1rem; background: #fff; }
.thanos-draft-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.thanos-draft-lang { background: var(--sm-brand-soft); color: var(--sm-brand); font-weight: 600; }
.thanos-draft-field + .thanos-draft-field { margin-top: .75rem; }
/* A draft's two tabs (e-mail / LinkedIn), each panel with its send action on top: full width, underlined, the open one in brand
   orange, so it is clear which message is shown. */
.thanos-draft-tabs { display: flex; margin: 0 0 1rem; border-bottom: 2px solid var(--sm-border); }
.thanos-draft-tab {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    margin-bottom: -2px; padding: .6rem .75rem; border: 0; border-bottom: 3px solid transparent; background: transparent;
    color: var(--sm-muted); font-size: 15px; font-weight: 700;
}
.thanos-draft-tab .fa { font-size: 1.1em; }
.thanos-draft-tab:hover { color: var(--sm-text); background: var(--sm-surface); }
.thanos-draft-tab.is-active { border-bottom-color: var(--sm-brand); color: var(--sm-brand); background: var(--sm-brand-soft); }
.thanos-draft-tab:focus-visible { outline: 2px solid var(--sm-brand); outline-offset: -2px; }
.thanos-draft-panel[hidden] { display: none; }
.thanos-draft-panel > .thanos-draft-send { margin-top: 0; }
.thanos-draft-label { display: flex; align-items: center; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--sm-muted); margin-bottom: .25rem; }
.thanos-draft-subject { font-weight: 700; overflow-wrap: anywhere; }
.thanos-draft-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.thanos-draft-reader { margin-top: .85rem; padding-top: .75rem; border-top: 1px dashed var(--sm-border); }
.thanos-draft-reader summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--sm-brand); margin-bottom: .5rem; }
.thanos-draft-reader .thanos-draft-body, .thanos-draft-reader .thanos-draft-subject { color: var(--sm-muted); }
/* What the draft drew on (the overlaps found): not part of the message, so a box of its own with a light tint and an icon. */
.thanos-draft-points { margin-top: 1rem; padding: .75rem .9rem; border: 1px dashed var(--sm-border); border-radius: var(--sm-radius-control, 8px); background: var(--sm-surface); font-size: 13px; }
.thanos-draft-points .thanos-draft-label { gap: .4rem; color: var(--sm-text); }
.thanos-draft-points .thanos-draft-label .fa { color: var(--sm-brand); font-size: 14px; }
.thanos-draft-points-hint { margin: 0 0 .4rem; color: var(--sm-muted); font-size: 12px; }
.thanos-draft-points ul { padding-inline-start: 1.1rem; list-style: disc; } /* the template takes list bullets off */
.thanos-draft-points li + li { margin-top: .2rem; }
[data-find-email].is-busy, [data-draft-submit].is-busy { opacity: .7; cursor: progress; }
/* Tracked people list: "Find e-mails of the selected" (T-178). */
.thanos-crm-emailbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .75rem; }
.thanos-crm-contact { min-width: 0; overflow-wrap: anywhere; }
/* A person whose e-mail waits in the lookup queue (T-188): spinner and "Queued, searching…". */
.thanos-email-pending { display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; color: var(--sm-muted); }

/* ---------------------------------------------------------------- feedback (T-195) */
/* A small, quiet icon in the bottom corner opposite "back to top"; the window it opens sends to the team's work tracker. */
.thanos-feedback-btn {
    position: fixed;
    bottom: 20px;
    inset-inline-start: 20px;
    z-index: 98;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--sm-border);
    border-radius: 50%;
    background: #fff;
    color: var(--sm-muted);
    box-shadow: 0 4px 14px rgba(20, 22, 31, .10);
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.thanos-feedback-btn:hover, .thanos-feedback-btn:focus-visible { color: var(--sm-brand); border-color: var(--sm-brand); background: #fff; outline: none; }
.thanos-feedback-btn:focus-visible { box-shadow: 0 0 0 3px var(--sm-brand-soft); }
.thanos-feedback-dialog { max-width: 520px; }
.thanos-feedback-kinds { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .85rem; }
.thanos-feedback-kinds .btn { border: 1px solid var(--sm-input-border); border-radius: 999px; padding: .3rem .9rem; font-size: 14px; color: var(--sm-text); background: #fff; }
.thanos-feedback-kinds .btn-check:checked + .btn { border-color: var(--sm-brand); background: var(--sm-brand-soft); color: var(--sm-text); }
.thanos-feedback-kinds .btn-check:focus-visible + .btn { box-shadow: 0 0 0 3px var(--sm-brand-soft); }
.thanos-feedback-note { margin: .85rem 0 0; font-size: 12.5px; line-height: 1.55; color: var(--sm-muted); }
.thanos-feedback-result { margin: .85rem 0 0; padding: .6rem .8rem; border-radius: var(--sm-radius-control); font-size: 14px; }
.thanos-feedback-result.is-success { background: #ECFDF3; color: #067647; }
.thanos-feedback-result.is-error { background: #FEF3F2; color: #B42318; }
@media (max-width: 767.98px) {
    .thanos-feedback-btn { width: 38px; height: 38px; bottom: 16px; inset-inline-start: 14px; }
    /* Results with a selection have an action bar at the bottom on phones: rise above it, like "back to top". */
    body:has(.thanos-results.has-selection) .thanos-feedback-btn { bottom: 8rem; }
}
@media print { .thanos-feedback-btn { display: none; } }

/* ---------------------------------------------------------------- error pages (T-196, design B · Radar) */
.thanos-error { padding: 4.5rem 0; background: var(--sm-surface, #F6F4F1); }
.thanos-error.is-plain { min-height: 100vh; display: flex; align-items: center; padding: 3rem 16px; }
.thanos-error-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem; align-items: center; max-width: 780px; margin: 0 auto; }
.thanos-error-radar { position: relative; width: 260px; height: 260px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, #1E2130 0%, #14161F 70%); box-shadow: 0 10px 30px rgba(20, 22, 31, .18); }
.thanos-error-ring { position: absolute; inset: 0; margin: auto; border: 1px solid rgba(229, 84, 26, .28); border-radius: 50%; }
.thanos-error-ring.is-1 { width: 33%; height: 33%; }
.thanos-error-ring.is-2 { width: 66%; height: 66%; }
.thanos-error-ring.is-3 { width: 96%; height: 96%; }
.thanos-error-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(229, 84, 26, .55), rgba(229, 84, 26, 0) 70deg, transparent 360deg); animation: thanos-error-spin 3.2s linear infinite; }
.thanos-error-blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.thanos-error-blip.is-a { left: 23%; top: 27%; }
.thanos-error-blip.is-b { left: 73%; top: 42%; }
.thanos-error-blip.is-c { left: 42%; top: 77%; }
.thanos-error-code { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 40px; letter-spacing: -1px; font-variant-numeric: tabular-nums; direction: ltr; }
.thanos-error-title { font-size: 28px; font-weight: 800; margin: 0 0 .65rem; color: var(--sm-text, #14161F); }
.thanos-error-text { color: var(--sm-muted, #4D505C); margin: 0; line-height: 1.6; font-size: 16px; }
.thanos-error-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.thanos-error-note { margin: 1.1rem 0 0; font-size: 13px; color: var(--sm-muted, #4D505C); }
.thanos-error-note a { color: var(--sm-brand, #E5541A); text-decoration: underline; }
.thanos-error-id { margin: .4rem 0 0; font-size: 12px; color: var(--sm-muted, #4D505C); overflow-wrap: anywhere; }
@keyframes thanos-error-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .thanos-error-sweep { animation: none; transform: rotate(40deg); } }
@media (max-width: 767.98px) {
    .thanos-error { padding: 2.5rem 0; }
    .thanos-error-inner { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; justify-items: center; text-align: center; }
    .thanos-error-radar { width: 200px; height: 200px; }
    .thanos-error-title { font-size: 23px; }
    .thanos-error-actions { justify-content: center; }
}

/* ---------------------------------------------------------------- credits in the account menu (T-208) */
/* The listing and analysis credits left, at the top of the account menu on desktop, tablet and phone (product owner 2026-11-15:
   no pill in the header row). Red under 10 %; then the account icon carries a small red dot so it is not missed. */
.thanos-account-menu.dropdown-menu { min-width: 270px; }
.thanos-cw { padding: .55rem 1rem .85rem; margin-bottom: .35rem; border-bottom: 1px solid var(--sm-border); color: var(--sm-text); font-size: 13px; white-space: normal; }
.thanos-cw-head { margin-bottom: .55rem; font-size: 13.5px; }
.thanos-cw-row { margin-bottom: .6rem; }
.thanos-cw-row-head { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .3rem; color: var(--sm-muted); }
.thanos-cw-row-head .fa { color: var(--sm-brand); }
.thanos-cw-row-head strong { color: var(--sm-text); font-variant-numeric: tabular-nums; }
.thanos-cw-bar { position: relative; display: block; height: 6px; border-radius: 999px; background: #EEF0F3; overflow: hidden; }
.thanos-cw-bar > span { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: inherit; background: var(--sm-brand); }
.thanos-cw-row.is-low .thanos-cw-bar > span { background: #D92D20; }
.thanos-cw-row.is-low strong, .thanos-cw-row.is-low .thanos-cw-row-head .fa { color: #B42318; }
.thanos-cw-line { margin: .15rem 0 .65rem; font-size: 12.5px; color: var(--sm-muted); }
.thanos-account > a { position: relative; }
.thanos-account:has(.thanos-cw.is-low) > a .fa-user-circle { position: relative; }
.thanos-account:has(.thanos-cw.is-low) > a .fa-user-circle::after { content: ""; position: absolute; top: -1px; inset-inline-end: -2px; width: 8px; height: 8px;
    border: 1.5px solid #fff; border-radius: 50%; background: #D92D20; }
@media print { .thanos-cw { display: none; } }

/* ---------------------------------------------------------------- AI jobs and unsaved changes on the company profile (T-209) */
.btn.is-busy { display: inline-flex; align-items: center; gap: .45rem; }
.btn.is-busy:disabled { opacity: 1; cursor: progress; }
.thanos-busy-time { font-size: .85em; font-weight: 500; opacity: .85; font-variant-numeric: tabular-nums; }
.thanos-unsaved-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 18px;
    z-index: 1031;
    width: min(520px, calc(100% - 32px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .6rem .7rem .6rem 1rem;
    border: 1px solid var(--sm-border);
    border-inline-start: 4px solid var(--sm-brand);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 22, 31, .16);
    font-size: 14px;
    font-weight: 600;
    color: var(--sm-text);
}
.thanos-unsaved-bar[hidden] { display: none; }
.thanos-unsaved-choices { flex-wrap: wrap; gap: .5rem; }
@media (max-width: 767.98px) {
    .thanos-unsaved-bar { bottom: 12px; }
    /* On phones the bar spans the screen: "back to top" makes room above it. */
    body.has-unsaved #back-to-top { bottom: 72px; }
}

/* ---------------------------------------------------------------- drafts: send from the user's own account; company address (T-209) */
.thanos-draft-send { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .25rem 0 .9rem; }
.thanos-draft-send-hint { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--sm-muted); }
.thanos-draft-send-hint[hidden] { display: none; }
/* "Add our website link" (product owner 2026-11-15): a box under the send buttons; the address after the label. */
.thanos-draft-website { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin: 0 0 .85rem; padding: .5rem .7rem;
    border: 1px solid var(--sm-border); border-radius: var(--sm-radius-control, 8px); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--sm-text); cursor: pointer; }
.thanos-draft-website .form-check-input { position: static; float: none; flex: 0 0 auto; width: 16px; height: 16px; margin: 0; }
.thanos-draft-website .form-check-input:checked { border-color: var(--sm-brand); background-color: var(--sm-brand); }
.thanos-draft-website-url { min-width: 0; color: var(--sm-muted); font-weight: 400; overflow-wrap: anywhere; }
.thanos-draft-website-none { margin: 0 0 .85rem; font-size: 12.5px; color: var(--sm-muted); }
.thanos-draft-website-none a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.thanos-company-email { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .4rem; }
.thanos-company-email-tag {
    display: inline-block;
    padding: .1rem .5rem;
    border: 1px solid var(--sm-border);
    border-radius: 999px;
    background: #F6F7F9;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--sm-muted);
    white-space: nowrap;
}
.thanos-company-email-x {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sm-muted);
    font-size: 12px;
}
.thanos-company-email-x:hover, .thanos-company-email-x:focus-visible { background: var(--sm-brand-soft); color: var(--sm-text); outline: none; }
.thanos-company-email .d-block { flex-basis: 100%; }

/* ---------------------------------------------------------------- search form, shorter (T-212) */
/* Fields closer together, hints behind "?" (shown under the field only when something is wrong), one-line free-text box. */
.thanos-lf-body .form-group { margin-bottom: .85rem; }
.thanos-lf-body .form-label { margin-bottom: .3rem; }
.thanos-lf-tabs { margin-bottom: .9rem; }
.thanos-lf-query { min-height: 40px; resize: none; overflow-y: auto; line-height: 1.45; }
/* Both tabs in one grid cell: the hidden one keeps its room (invisible), so switching does not move the fields below. */
.thanos-lf-panels { display: grid; }
.thanos-lf-panels > [data-lf-panel] { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; }
.thanos-lf-panels > [data-lf-panel][hidden] { display: flex !important; visibility: hidden; pointer-events: none; }
.thanos-lf-panels > [data-lf-panel="text"] > .form-group { flex: 1 1 auto; display: flex; flex-direction: column; }
.thanos-lf-panels > [data-lf-panel="text"] .thanos-lf-query { flex: 1 1 auto; }
.thanos-lf-tip.text-muted { display: none; }
.thanos-lf-tip-icon { margin-inline-start: .25rem; font-size: 13px; font-weight: 400; color: var(--sm-muted); cursor: help; }
.thanos-lf-compact-row .form-select { height: 40px; }

/* ---------------------------------------------------------------- legal pages (T-173) */
.thanos-legal { color: var(--sm-text); line-height: 1.7; }
.thanos-legal h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.thanos-legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.thanos-legal h4 { font-size: 1rem; margin: 1.25rem 0 .5rem; }
.thanos-legal ul, .thanos-legal ol { padding-inline-start: 1.5rem; margin-bottom: 1rem; }
.thanos-legal a { color: var(--sm-brand); text-decoration: underline; }
.thanos-legal-history li { padding: .2rem 0; }
.thanos-legal-imprint { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: .6rem 1.5rem; }
.thanos-legal-imprint dt { font-weight: 600; }
.thanos-legal-imprint dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .thanos-legal-imprint { grid-template-columns: 1fr; } .thanos-legal-imprint dd { margin-bottom: .5rem; } }
.thanos-legal-accept-item { padding: .9rem 0; border-bottom: 1px solid var(--sm-border); }
.thanos-legal-accept-item:first-child { padding-top: 0; }
.thanos-legal-summary { white-space: pre-line; }

/* Side by side, a label that wraps to two lines (narrow phones, longer languages) must not push its box down: labels stay at the
   top, both boxes share the bottom line. */
.thanos-lf-compact-row > [class*="col"] { display: flex; }
.thanos-lf-compact-row > [class*="col"] > .form-group { display: flex; flex-direction: column; width: 100%; }
.thanos-lf-compact-row > [class*="col"] > .form-group > .form-label { flex: 1 0 auto; }

/* ---------------------------------------------------------------- phones and tablets: side menu hover */
/* The template paints an orange square behind a hovered item's icon and turns the icon white. In the side menu the icon stays
   orange and switches to its filled form instead (Font Awesome 4's outline "-o" icons and their solid twins), for the item under
   the finger / pointer and for the open page (product owner, 2026-11-15). Icons without a filled form only stay orange. */
@media (max-width: 991.98px) {
    .horizontalMenu > .horizontalMenu-list > li:hover > a .fa,
    .horizontalMenu > .horizontalMenu-list > li > a:hover .fa { background: transparent !important; color: var(--sm-brand) !important; }
    .horizontalMenu > .horizontalMenu-list > li:is(:hover, :focus-within) > a .fa-building-o::before,
    .horizontalMenu > .horizontalMenu-list > li > a.active .fa-building-o::before { content: "\f1ad"; }
    .horizontalMenu > .horizontalMenu-list > li:is(:hover, :focus-within) > a .fa-address-book-o::before,
    .horizontalMenu > .horizontalMenu-list > li > a.active .fa-address-book-o::before { content: "\f2b9"; }
    .horizontalMenu > .horizontalMenu-list > li:is(:hover, :focus-within) > a .fa-map-o::before,
    .horizontalMenu > .horizontalMenu-list > li > a.active .fa-map-o::before { content: "\f279"; }
    .horizontalMenu > .horizontalMenu-list > li:is(:hover, :focus-within) > a .fa-bell-o::before,
    .horizontalMenu > .horizontalMenu-list > li > a.active .fa-bell-o::before { content: "\f0f3"; }
    .horizontalMenu > .horizontalMenu-list > li:is(:hover, :focus-within) > a .fa-envelope-o::before,
    .horizontalMenu > .horizontalMenu-list > li > a.active .fa-envelope-o::before { content: "\f0e0"; }
    .horizontalMenu > .horizontalMenu-list > li:is(:hover, :focus-within) > a .fa-user-o::before,
    .horizontalMenu > .horizontalMenu-list > li > a.active .fa-user-o::before { content: "\f007"; }
}

/* ---------------------------------------------------------------- tablets: side menu */
/* The theme's side menu is 240 px whatever the screen; on tablets (600–991 px, e.g. a tablet held upright) it is wider with larger
   text and rows, and the toggle carries the word "Menu" (the top bar shortcuts were taken out, product owner 2026-11-15).
   Phones and desktops are unchanged. */
.thanos-menu-word { display: none; }
@media (min-width: 600px) and (max-width: 991.98px) {
    .horizontalMenu > .horizontalMenu-list { width: 360px; margin-left: -360px; }
    .active .horizontalMenu > .horizontalMenu-list { margin-left: 0; }
    .overlapblackbg { width: calc(100% - 360px); }
    .active .horizontalMenucontainer { margin-left: 360px; }
    .rtl .horizontalMenu > .horizontalMenu-list { margin-left: auto; margin-right: -360px; }
    .rtl.active .horizontalMenu > .horizontalMenu-list { margin-right: 0; }
    .rtl.active .horizontalMenucontainer { margin-left: 0; margin-right: 360px; }
    .horizontalMenu > .horizontalMenu-list > li > a { padding: 16px 24px !important; font-size: 17px !important; }
    .horizontalMenu > .horizontalMenu-list > li > a .fa, .thanos-mobile-group-item i { font-size: 18px; }
    .thanos-mobile-group-title { padding: 1.25rem 24px .5rem; font-size: 13px; }
    .thanos-mobile-group-soon { padding: 16px 24px; font-size: 17px; }

    /* The toggle's three bars are drawn absolutely (23 px wide): the box keeps that room so the word does not sit on them. */
    .thanos-mobile-header .animated-arrow { padding-inline-end: 24px; }
    .thanos-menu-word {
        display: inline-block; flex: none; margin-inline-start: -6px; padding: .35rem .25rem; border: 0; background: none;
        color: var(--sm-text); font-size: 15px; font-weight: 600; cursor: pointer;
    }
}

/* Notifications page header: "Notification preferences" next to "Start a search" (T-055); they wrap on phones. */
.thanos-activity-head-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
/* "My account" ("/account/settings", T-055): one card per section. */
.thanos-account-section { border: 1px solid var(--sm-border, #e8ebf3); border-radius: 8px; }
.thanos-account-legend { font-size: 15px; font-weight: 600; margin-bottom: .75rem; }

/* ---------------------------------------------------------------- company page on phones (T-223, UX-041, UX-043) */
/* Addresses open the map; the link keeps the text colour so the list reads as before. */
.thanos-company-map-link { color: inherit; text-decoration: underline; text-decoration-color: var(--sm-input-border); text-underline-offset: 3px; }
.thanos-company-map-link:hover, .thanos-company-map-link:focus-visible { color: var(--sm-brand); text-decoration-color: currentColor; }
/* "Call" and "Directions" at the bottom of the screen, phones only. */
.thanos-company-phonebar { display: none; }
@media (max-width: 767.98px) {
    .thanos-company-phonebar {
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 1030;
        display: flex;
        gap: .5rem;
        padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid var(--sm-border);
        box-shadow: 0 -6px 18px rgba(20, 20, 20, .08);
    }
    .thanos-company .thanos-company-phonebar .btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; font-weight: 600; }
    .thanos-company:has(.thanos-company-phonebar) { padding-bottom: 6rem; }
    /* The corner buttons make room above the bar. */
    body:has(.thanos-company-phonebar) #back-to-top { bottom: 84px; }
    body:has(.thanos-company-phonebar) .thanos-feedback-btn { bottom: 84px; }
    /* Touch targets of at least 44 px (UX-043): buttons, tabs, phone, address and social links of the company page. */
    .thanos-company .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .thanos-company .btn-close { min-width: 44px; min-height: 44px; }
    .thanos-company-tab { min-height: 44px; }
    .thanos-company-social a { min-width: 44px; min-height: 44px; }
    .thanos-company .thanos-results-phone,
    .thanos-company .thanos-company-map-link,
    .thanos-company .thanos-company-meta-value[href] { display: inline-flex; align-items: center; min-height: 44px; }
    .thanos-company .form-check-input { width: 1.4em; height: 1.4em; }
}

/* ---------------------------------------------------------------- status message toast (T-223, UX-016) */
/* Below the site header (js/thanos.js sets the top), centred, above the page; the alert keeps its colours and close button. */
.thanos-toast-region {
    position: fixed;
    top: var(--thanos-toast-top, 1rem);
    inset-inline: 0;
    z-index: 1040;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    pointer-events: none;
}
.thanos-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    width: min(40rem, 100%);
    margin: 0;
    box-shadow: 0 10px 30px rgba(20, 20, 20, .14);
    border-radius: var(--sm-radius-card);
}
.thanos-toast-icon { margin-top: .2rem; font-size: 1.1em; }
.thanos-toast-text { flex: 1 1 auto; }
.thanos-toast-region[hidden] { display: none; }
/* "Your session has ended" (T-237): the sign-in link on its own line on a phone, as a link everywhere. */
.thanos-session-expired-link { display: inline-block; margin-inline-start: .35rem; font-weight: 600; text-decoration: underline; }

/* ---------------------------------------------------------------- credit cost before spending (T-236, FABLE U-03, U-04) */
/* Under "Companies to list": the listing credits set aside and those left, always in sight (the tooltip was mouse only). */
.thanos-lf-cost { margin: -.5rem 0 .85rem; font-size: 12px; line-height: 1.4; color: var(--sm-muted); }
/* "Start detailed analysis?" dialog: the figures as label / value rows, the shortfall as a warning. */
.thanos-analysis-confirm-figures { margin: 0 0 .75rem; }
.thanos-analysis-confirm-figures > div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--sm-border, #e9ebf2); }
.thanos-analysis-confirm-figures dt { font-weight: 400; color: var(--sm-muted); }
.thanos-analysis-confirm-figures dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.thanos-analysis-confirm-note { margin: 0 0 .5rem; font-size: 13px; color: var(--sm-muted); }
.thanos-analysis-confirm-short { margin: 0; padding: .5rem .75rem; font-size: 13px; border-radius: var(--sm-radius-card); color: #7a4b00; background: #fff4e0; }
/* "Ask the company owner" in place of a package request link (T-223, D-203). */
.dropdown-menu .thanos-ask-owner { display: block; padding: .35rem 1rem; }
