/* SOCEO materials reused from brand-platform, app-demo-frame and hero-copilot. */
html.mix-data-sources-route,
.mix-data-sources-route body { background: #f6f2ed; }
.mix-data-sources-route .lp-franquias-root { display: none !important; }
.ds-page {
  --ds-ink: #151517;
  --ds-purple: #7839ee;
  --ds-scene-purple: #6728d4;
  --ds-deep: #16033a;
  --ds-paper: #fdfdfb;
  --ds-cream: #f6f2ed;
  --ds-line: #d9d1e5;
  --ds-muted: #665a76;
  color: var(--ds-ink);
  background: var(--ds-cream);
  font-family: Inter, Arial, sans-serif;
  padding: 88px 0 0;
}
.ds-page *, .ds-page *::before, .ds-page *::after { box-sizing: border-box; }
.ds-page ::selection { color: #fff; background: var(--ds-purple); }
.ds-page button, .ds-page input { font: inherit; }
.ds-page button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ds-page :is(button, a, input):focus-visible { outline: 3px solid var(--ds-purple); outline-offset: 5px; }
.ds-hero, .ds-directory { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.ds-hero { margin-bottom: 44px; text-align: left; }
.ds-eyebrow { margin: 0 0 18px; color: var(--ds-purple); font: 650 12px/1.5 Inter, Arial, sans-serif; letter-spacing: .12em; }
.ds-hero h1 { max-width: 1000px; margin: 0; font: 650 clamp(34px, 4vw, 58px)/1.1 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -.03em; text-wrap: balance; }
.ds-hero h1 span { color: var(--ds-purple); }
.ds-intro { max-width: 60ch; margin: 24px 0 0; color: var(--ds-muted); font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.ds-directory { padding-bottom: 8px; }

/* The original SOCEO artwork that frames the app windows on the home. */
.ds-tools { padding: 18px; border-radius: 20px; background: #6728d4 url('/assets/hero/soceo-glass/background-1600.webp') center / cover no-repeat; }
.ds-search { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border: 1px solid #ffffff94; border-radius: 12px; background: #fff; }
.ds-search:focus-within { outline: 3px solid #ebe6fb; outline-offset: 3px; }
.ds-search > svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--ds-scene-purple); }
.ds-search input { width: 100%; min-width: 0; height: 54px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ds-ink); caret-color: var(--ds-purple); font-size: 16px; outline: none !important; }
.ds-search input::-webkit-search-cancel-button { display: none; }
.ds-search input::placeholder { color: var(--ds-muted); opacity: 1; }
.ds-search-clear { flex: 0 0 32px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; color: var(--ds-scene-purple); background: #ebe6fb; font-size: 24px !important; }
.ds-search-clear[hidden] { display: none; }
.ds-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; scrollbar-color: #ffffff94 #16033a; scrollbar-width: thin; }
.ds-filters button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 8px; min-height: 40px; padding: 9px 12px; border: 1px solid #ffffff40; border-radius: 6px; color: #fff; background: linear-gradient(135deg, #ffffff33, #ffffff0d), #16033ab3; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 12px; font-weight: 500; line-height: 1.4; transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.ds-filters button span { color: #ebe6fb; font-size: 11px; font-variant-numeric: tabular-nums; }
.ds-filters button:hover { border-color: #ffffff94; background-color: var(--ds-deep); }
.ds-filters button[aria-pressed="true"] { color: var(--ds-scene-purple); border-color: #fff; background: #fff; }
.ds-filters button[aria-pressed="true"] span { color: var(--ds-scene-purple); }
.ds-tools button:focus-visible { outline-color: #fff; outline-offset: 3px; }
.ds-results { min-height: 18px; margin: 22px 0 32px; color: var(--ds-muted); font-size: 12px; }

.ds-group { margin: 0 0 40px; scroll-margin-top: 112px; }
.ds-group__heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 16px; }
.ds-group__heading h2 { margin: 0; font: 600 26px/1.15 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -.03em; }
.ds-group__heading > span { color: var(--ds-muted); font-size: 12px; }
.ds-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ds-card { display: flex; align-items: center; min-width: 0; min-height: 78px; gap: 12px; padding: 14px; border: 1px solid var(--ds-line); border-radius: 12px; background: var(--ds-paper); color: var(--ds-ink); text-align: left; transition: border-color 180ms ease-out, background-color 180ms ease-out; }
.ds-card:hover, .ds-card[aria-expanded="true"] { border-color: var(--ds-purple); background: #fff; }
.ds-logo { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 8px; background: #fff; overflow: hidden; }
.ds-logo > span { color: var(--ds-muted); font: 600 12px/1 Inter, sans-serif; }
.ds-logo img { position: absolute; width: 28px; height: 28px; object-fit: contain; background: #fff; }
/* The official Ticto mark is white on transparent. */
.ds-logo img[src="/assets/data-sources/ticto.png"] { background: #17102f; border-radius: 5px; padding: 3px; }
.ds-card__name { flex: 1; font-size: 14px; font-weight: 550; line-height: 1.45; }
.ds-card > svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--ds-scene-purple); opacity: 0; transition: opacity 160ms ease-out, transform 160ms ease-out; }
.ds-card:hover > svg, .ds-card:focus-visible > svg, .ds-card[aria-expanded="true"] > svg { opacity: 1; transform: translateX(2px); }
.ds-detail { padding: 28px; margin-top: 12px; border: 1px solid var(--ds-purple); border-radius: 16px; background: var(--ds-paper); }
.ds-detail__head { display: flex; align-items: center; gap: 12px; }
.ds-detail__head h3 { margin: 0; font: 600 26px/1.15 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -.03em; }
.ds-detail-close { margin-left: auto; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; color: var(--ds-scene-purple); background: #ebe6fb; font-size: 26px !important; }
.ds-detail > p { max-width: 65ch; color: var(--ds-muted); margin: 18px 0 24px; font-size: 16px; line-height: 1.65; }
.ds-detail dl { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 0 0 24px; }
.ds-detail dt { color: var(--ds-muted); font: 650 11px/1.5 Inter, sans-serif; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; }
.ds-detail dd { margin: 0; font-size: 14px; }
.ds-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ds-detail__actions a, .ds-detail__actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0; color: var(--ds-scene-purple); border: 0; background: transparent; text-decoration: none; font-size: 14px; font-weight: 550; }
.ds-detail__actions button { padding-inline: 16px; border-radius: 6px; color: #fff; background: var(--ds-purple); }
.ds-detail__actions button:hover { background: var(--ds-scene-purple); }
.ds-detail__actions svg { width: 18px; height: 18px; }
.ds-empty { padding: 56px 24px 64px; text-align: center; border: 1px solid var(--ds-line); border-radius: 16px; background: var(--ds-paper); }
.ds-empty h2 { margin: 0 0 14px; font: 650 34px/1.1 "Bricolage Grotesque", Inter, sans-serif; letter-spacing: -.03em; }
.ds-empty p { color: var(--ds-muted); font-size: 16px; line-height: 1.65; }
.ds-empty button { min-height: 44px; margin-top: 10px; padding: 10px 18px; border: 0; border-radius: 6px; color: #fff; background: var(--ds-purple); font-size: 14px; }
.mix-data-sources-route .source-request { max-width: 1180px; margin-top: 64px; }

@media (max-width: 1050px) { .ds-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .ds-tools { padding: 12px; border-radius: 16px; background-image: url('/assets/hero/soceo-glass/background-800.webp'); } }
@media (max-width: 760px) {
  .ds-page { padding-top: 56px; }
  .ds-hero, .ds-directory { width: calc(100% - 40px); }
  .ds-hero { margin-bottom: 32px; }
  .ds-hero h1 { font-size: 40px; }
  .ds-intro { max-width: 50ch; margin-top: 22px; font-size: 16px; }
  .ds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ds-results { margin-bottom: 28px; }
  .ds-filters { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-top: 10px; padding: 5px 3px 9px; }
  .ds-filters button { min-height: 44px; }
  .ds-search-clear, .ds-detail-close { width: 44px; height: 44px; flex-basis: 44px; }
}
@media (max-width: 480px) {
  .ds-page { padding-top: 44px; }
  .ds-hero h1 { font-size: 36px; }
  .ds-eyebrow { margin-bottom: 16px; }
  .ds-search { min-height: 52px; padding-inline: 12px; gap: 8px; border-radius: 10px; }
  .ds-search input { height: 50px; }
  .ds-group { margin-bottom: 32px; }
  .ds-group__heading h2 { font-size: 24px; }
  .ds-group__heading > span { font-size: 11px; }
  .ds-card { gap: 9px; padding: 11px; min-height: 76px; }
  .ds-card__name { font-size: 13px; }
  .ds-card > svg { display: none; }
  .ds-logo { flex-basis: 32px; width: 32px; height: 32px; }
  .ds-logo img { width: 25px; height: 25px; }
  .ds-detail { padding: 20px; }
  .ds-detail__head h3 { font-size: 24px; }
  .ds-detail > p { font-size: 14px; }
  .ds-empty h2 { font-size: 30px; }
}
@media (max-width: 350px) { .ds-grid { grid-template-columns: 1fr; } .ds-hero h1 { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .ds-page * { transition: none !important; scroll-behavior: auto !important; } }
