/* 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 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%;
    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); }
@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; }
.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; }
.thanos-lead-finder .select2-container .select2-selection--single { height: 38px; }

/* ---------------------------------------------------------------- search page: keywords + recent searches */
.thanos-lf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thanos-lf-tags:empty { display: none; }
.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; }
.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; }

/* ---------------------------------------------------------------- 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; }
}
/* Card watermark (js/card-watermark.js): a large, faint, tilted copy of the card's icon in the bottom right corner,
   behind the content (same look as the Upgrade band). The layer clips itself, so badges sticking out of a card stay visible. */
.has-watermark { position: relative; isolation: isolate; }
.thanos-card-watermark { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.thanos-card-watermark > * {
    position: absolute;
    right: -.75rem;
    bottom: -1.5rem;
    width: auto;
    height: auto;
    margin: 0;
    font-size: 6.5rem;
    line-height: 1;
    color: var(--sm-brand);
    opacity: .07;
    transform: rotate(-14deg);
}
.thanos-card-watermark > svg { width: 6.5rem; height: 6.5rem; fill: var(--sm-brand); }
.thanos-card-watermark > svg .sm-stroke { stroke: var(--sm-brand); }
/* Small cards get a smaller mark; graphite cards a white one. */
.thanos-company-meta > .thanos-card-watermark > *,
.thanos-company-keyword > .thanos-card-watermark > * { font-size: 4.25rem; right: -.5rem; bottom: -1.1rem; }
.thanos-results-query > .thanos-card-watermark > * { color: #fff; opacity: .06; }
.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; }

.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; }
}
/* 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; }
}
.thanos-partners { gap: 2.5rem; }
.thanos-partner img { max-height: 48px; filter: grayscale(1); opacity: .7; transition: all .2s; }
.thanos-partner:hover img { filter: none; opacity: 1; }

/* ---------------------------------------------------------------- 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; }

/* ---------------------------------------------------------------- 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);
}
.input-group > .form-control:not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.input-group > .btn:last-child,
.input-group > .input-group-text:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; border-radius: 0 var(--sm-radius-control) var(--sm-radius-control) 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-btn-outline { border-color: rgba(255, 255, 255, .25) !important; color: rgba(255, 255, 255, .85) !important; }
.footer-btn-outline:hover { background: var(--sm-brand) !important; border-color: var(--sm-brand) !important; color: #fff !important; }
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; left: .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-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;
    left: 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 centred under it. */
.thanos-recent-status-badge { display: inline-flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 1200px) {
    .thanos-recent-status { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
}
.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; }
.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; }
.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; }
.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; }
.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); }
.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;
    left: 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; }
/* 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);
    left: 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 { right: 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;
}
.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;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sm-muted);
    pointer-events: none;
}
.thanos-results-search .form-control { padding-left: 2.4rem; padding-right: 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;
    right: .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-left: 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); }
.thanos-results-analysis-message.is-error { color: #991B1B; background: #FEE2E2; }
.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-max { font-size: 12px; font-weight: 500; color: var(--sm-muted); }
.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; }
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 { margin: 0; }
@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; }
.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); }
.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); }
.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;
        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; }
    /* 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; }
.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;
    right: -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: left;
    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; }
.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; }
.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); }
.thanos-search-for { margin: .5rem 0 0; color: var(--sm-muted); font-size: 14px; }
.thanos-search-for .fa { color: var(--sm-brand); }
.thanos-search-for a { color: var(--secondary-color); font-weight: 600; }
.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-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; }
.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); } }

/* 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; left: 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; }
