/* IdeaRadar — a quiet, useful interface for evaluating product ideas. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f6f8fa;
  --text: #0e131d;
  --muted: #748094;
  --border: #e4e9ef;
  --accent: #008f73;
  --accent-bright: #04b58b;
  --accent-soft: #eaf7f3;
  --potential: #386eff;
  --potential-soft: #edf2ff;
  --warning: #e6a000;
  --warning-soft: #fff7e5;
  --danger: #ef4666;
  --danger-soft: #fff0f3;
  --shadow: 0 3px 14px rgb(18 31 48 / 3%);
  --overlay: rgb(13 20 30 / 35%);
  --segment-empty: #e5e9ee;
  --radius: 12px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101315;
  --surface: #191d21;
  --surface-alt: #22282f;
  --text: #f3f5f8;
  --muted: #a5b0bf;
  --border: #30373f;
  --accent: #58e1b8;
  --accent-bright: #37d7ac;
  --accent-soft: #15382f;
  --potential: #6890ff;
  --potential-soft: #202e4a;
  --warning: #ffc34f;
  --warning-soft: #3a301b;
  --danger: #ff6a83;
  --danger-soft: #3c2029;
  --shadow: 0 3px 14px rgb(0 0 0 / 8%);
  --overlay: rgb(0 0 0 / 60%);
  --segment-empty: #3a424c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body.has-overlay, body.modal-open, body.panel-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }
button { appearance: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, a, input, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--potential) 65%, transparent); outline-offset: 3px; }
button, input, select, textarea { border-radius: 8px; }
button { background: none; border: 0; }
input, textarea, select { color: var(--text); border: 1px solid var(--border); background: var(--surface); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .9; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
h1, h2, h3, h4 { line-height: 1.25; margin-top: 0; }
h1, h2 { letter-spacing: -.035em; }
p { margin: 0 0 14px; }
svg { display: block; flex-shrink: 0; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-header { height: 66px; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(12px); }
.header-inner { max-width: 1376px; height: 100%; margin: auto; padding: 0 40px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { color: var(--accent); display: flex; align-items: center; justify-content: center; }
.brand-mark svg, .brand-mark .icon { width: 30px; height: 30px; }
.brand-name { font-weight: 750; font-size: 23px; line-height: 1; letter-spacing: -.04em; }
.main-nav { align-self: stretch; display: flex; align-items: stretch; gap: 28px; }
.nav-link { display: flex; align-items: center; position: relative; color: var(--muted); font-weight: 500; font-size: 14px; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active:after { content: ""; position: absolute; height: 2px; background: var(--accent); left: 0; right: 0; bottom: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.locale-selector { display:flex; align-items:center; gap:5px; position:relative; color:var(--muted); min-width:0; }
.locale-selector > .icon { width:17px; height:17px; flex-shrink:0; pointer-events:none; }
.locale-selector select { min-height:36px; max-width:112px; padding:5px 3px; color:var(--text); background:var(--surface); border:1px solid var(--border); border-radius:7px; font:inherit; font-size:12px; cursor:pointer; }
.locale-selector select:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@media(max-width:600px) {
 .locale-selector > .icon { display:none; }
 .locale-selector select { width:45px; max-width:45px; min-height:35px; font-size:11px; }
 .header-actions .pro-button { display:none; }
}
.icon-btn, .save-btn, .modal-close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 8px; color: var(--muted); flex-shrink: 0; transition: background .15s, color .15s; }
.icon-btn:hover, .save-btn:hover, .modal-close:hover { color: var(--text); background: var(--surface-alt); }
.icon-btn.is-active, .save-btn.is-saved { color: var(--accent); background: var(--accent-soft); }
.save-btn.is-saved .icon { fill: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-weight: 550; font-size: 14px; line-height: 1.25; text-align: center; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.button .icon { width: 17px; height: 17px; }
.button.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.button.primary:hover { opacity: .88; }
.button.secondary { border-color: var(--border); background: var(--surface); color: var(--text); }
.button.secondary:hover { background: var(--surface-alt); border-color: color-mix(in srgb, var(--muted) 45%, var(--border)); }
.button.small { min-height: 36px; padding: 8px 13px; font-size: 13px; }
.button.full { width: 100%; }
.mobile-menu-btn, .mobile-nav { display: none; }
.page { max-width: 1376px; margin: auto; padding: 46px 40px 40px; min-height: calc(100dvh - 160px); }
.eyebrow { color: var(--accent); font-size: 11px; line-height: 1.5; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px; }
.hero-title { font-size: clamp(30px, 3.1vw, 42px); font-weight: 770; line-height: 1.13; margin: 0 0 10px; letter-spacing: -.045em; }
.hero-subtitle { color: var(--muted); font-size: 18px; line-height: 1.55; margin: 0; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.search-field { min-width: 220px; flex: 1 1 320px; position: relative; }
.search-field > .icon, .search-field > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.search-field input { width: 100%; height: 44px; padding: 11px 14px 11px 42px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 1px 2px rgb(16 24 40 / 2%); }
.filter-chips { display: flex; gap: 8px; align-items: center; min-width: 0; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 15px; border: 1px solid var(--border); color: var(--muted); border-radius: 8px; white-space: nowrap; background: var(--surface); font-size: 13px; transition: border-color .15s, color .15s, background .15s; }
.chip .icon { width: 15px; height: 15px; }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-active { color: var(--accent); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 25%, var(--border)); font-weight: 650; }
.select-field { min-height: 40px; padding: 8px 30px 8px 12px; max-width: 100%; font-size: 13px; color: var(--text); background: var(--surface); border: 1px solid var(--border); }
.view-switch { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); flex-shrink: 0; }
.view-switch button { min-height: 34px; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; padding: 6px 10px; color: var(--muted); font-size: 13px; }
.view-switch button .icon { width: 18px; height: 18px; }
.view-switch button:hover { color: var(--text); }
.view-switch button.is-active { background: var(--accent-soft); color: var(--accent); }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.section-title { font-size: 23px; font-weight: 750; line-height: 1.3; margin: 0; letter-spacing: -.035em; }
.section-meta { display: flex; align-items: center; gap: 14px; }
.section-meta p { margin: 0; }
.results-count, .saved-count { font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.sort-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.sort-control select { font-size: 12px; min-height: 36px; padding: 7px 30px 7px 12px; }
.clear-filters { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.filters-extra { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.mobile-filter-toggle { display: none; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 0; box-shadow: 0 1px 3px rgb(13 24 39 / 1%); transition: border-color .16s, box-shadow .16s; }
.product-card:hover { border-color: color-mix(in srgb, var(--muted) 38%, var(--border)); box-shadow: var(--shadow); }
.product-card.is-selected { border-color: var(--accent); }
.product-card-header { display: flex; align-items: center; gap: 12px; min-height: 54px; }
.product-card-header > :nth-child(2) { min-width: 0; flex: 1; }
.app-icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 13px; color: #fff; background: var(--app-color, #079b80); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%); flex-shrink: 0; overflow: hidden; }
.app-icon svg, .app-icon .icon { width: 31px; height: 31px; stroke-width: 2; }
.app-icon[data-product="mailpilot"] { background: linear-gradient(140deg, #04b59a, #008a75); }
.app-icon[data-product="formnest"] { background: linear-gradient(140deg, #7947ff, #5935e6); }
.app-icon[data-product="rankleaf"] { background: linear-gradient(140deg, #afe28b, #80cc68); color: #067e50; }
.app-icon[data-product="clipflow"] { background: linear-gradient(140deg, #ff6e7f, #fa425f); }
.app-icon[data-product="invoicefox"] { background: linear-gradient(140deg, #ff993b, #ff681b); }
.app-icon[data-product="reviewloop"] { background: linear-gradient(140deg, #6792ff, #3464f0); }
.product-name { font-size: 17px; font-weight: 750; line-height: 1.35; margin: 0 0 3px; letter-spacing: -.025em; }
.product-name a:hover { color: var(--accent); }
.product-description { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.4; }
.category-badge { display: inline-flex; align-items: center; justify-content: center; font-size: 10px; padding: 5px 10px; border-radius: 24px; white-space: nowrap; line-height: 1.4; background: var(--accent-soft); color: var(--accent); }
.product-card-header .category-badge { margin-left: auto; }
.product-card-header .save-btn { width: 26px; height: 32px; }
.product-card-header .save-btn .icon { width: 17px; height: 17px; }
.revenue { border-top: 1px solid var(--border); margin-top: 15px; padding-top: 12px; margin-bottom: 10px; }
.revenue-label { color: var(--muted); font-size: 12px; line-height: 1.4; margin-bottom: 2px; }
.revenue-value { color: var(--text); font-size: 30px; font-weight: 760; letter-spacing: -.04em; line-height: 1.1; }
.revenue-period { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; margin-left: 3px; }
.score-row { display: grid; grid-template-columns: 19px 66px minmax(25px, 1fr) 34px; gap: 7px; align-items: center; min-height: 31px; font-size: 12px; }
.score-icon { color: var(--accent); }
.score-icon .icon { width: 17px; height: 17px; }
.score-label { color: var(--muted); }
.score-value { text-align: right; white-space: nowrap; color: var(--text); font-variant-numeric: tabular-nums; font-size: 12px; }
.segments { display: flex; width: 100%; min-width: 0; gap: 2px; align-items: stretch; height: 8px; }
.segments i { min-width: 0; flex: 1; background: var(--segment-empty); border-radius: 2px; }
.segments i.filled { background: var(--accent-bright); }
[data-kind="potential"] .score-icon { color: var(--potential); }
[data-kind="potential"] .segments i.filled, .segments[data-kind="potential"] i.filled { background: var(--potential); }
.card-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); margin-top: 12px; padding: 12px 0; }
.mini-stat { display: flex; align-items: center; min-width: 0; gap: 8px; padding: 0 10px; border-right: 1px solid var(--border); }
.mini-stat:first-child { padding-left: 0; }
.mini-stat:last-child { border-right: 0; padding-right: 0; }
.mini-stat > .icon { width: 18px; height: 18px; color: var(--text); }
.stat-label { display: block; color: var(--muted); font-size: 10px; line-height: 1.4; white-space: nowrap; }
.stat-value { display: block; color: var(--text); font-size: 12px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.risk-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 24px; font-size: 12px; font-weight: 650; }
.risk-badge[data-risk="Bajo"], [data-risk="Bajo"] .stat-value { color: var(--accent); }
.risk-badge[data-risk="Medio"], [data-risk="Medio"] .stat-value { color: var(--warning); }
.risk-badge[data-risk="Alto"], [data-risk="Alto"] .stat-value { color: var(--danger); }
.risk-badge .icon { width: 17px; height: 17px; }
.card-footer { border-top: 1px solid var(--border); min-height: 43px; display: flex; align-items: center; gap: 9px; margin: 0 -1px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: none; padding: 5px 0; white-space: nowrap; }
.text-link .icon { width: 14px; height: 14px; }
.text-link:hover { color: var(--accent); }
.card-footer > .text-link { flex: 1; justify-content: center; }
.card-footer > .text-link:first-child { justify-content: flex-start; color: var(--accent); font-weight: 550; }
.card-footer > .text-link + .text-link { border-left: 1px solid var(--border); }
.card-quick { width: 28px; height: 28px; color: var(--muted); display: grid; place-items: center; border-radius: 5px; }
.card-quick:hover { color: var(--accent); background: var(--accent-soft); }
.card-quick .icon { width: 15px; height: 15px; }
.empty-state { border: 1px dashed var(--border); border-radius: 14px; text-align: center; padding: 70px 24px; color: var(--muted); grid-column: 1 / -1; }
.empty-state > .icon { width: 36px; height: 36px; margin: 0 auto 15px; color: var(--accent); }
.empty-state h2, .empty-state h3 { color: var(--text); margin-bottom: 8px; }
.empty-state p { max-width: 420px; margin: 0 auto 20px; }
.list-header, .list-summary { display: grid; grid-template-columns: minmax(180px, 1.9fr) minmax(88px, .85fr) minmax(95px, 1fr) minmax(95px, 1fr) minmax(70px, .75fr) minmax(60px, .6fr) minmax(85px, .85fr) 65px; align-items: center; gap: 16px; }
.list-header { color: var(--muted); background: var(--surface-alt); border: 1px solid var(--border); border-radius: 8px; padding: 11px 16px; font-size: 11px; margin-bottom: 8px; }
.product-list { display: flex; flex-direction: column; gap: 8px; }
.list-row { border: 1px solid var(--border); border-radius: 9px; background: var(--surface); overflow: hidden; }
.list-row.is-expanded { border-color: color-mix(in srgb, var(--muted) 35%, var(--border)); }
.list-summary { width: 100%; text-align: left; padding: 14px 16px; }
.list-product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.list-product .app-icon { width: 43px; height: 43px; border-radius: 10px; }
.list-product .app-icon .icon { width: 25px; height: 25px; }
.list-product .product-name { font-size: 15px; }
.list-description { margin: 2px 0 0; font-size: 11px; color: var(--muted); line-height: 1.3; }
.list-summary .revenue { margin: 0; padding: 0; border: 0; }
.list-summary .revenue-value { font-size: 20px; }
.list-summary .revenue-period { display: block; margin: 4px 0 0; font-size: 11px; }
.list-score { min-width: 0; font-size: 12px; }
.list-score .score-row { grid-template-columns: 18px minmax(35px, 1fr); gap: 6px; min-height: 20px; }
.list-score .score-label { display: none; }
.list-score .score-value { grid-column: 2; text-align: left; color: var(--muted); font-size: 11px; }
.list-score .score-icon { grid-row: 1; }
.list-score .segments { grid-column: 2; grid-row: 1; height: 7px; }
.list-summary .mini-stat { border: 0; padding: 0; gap: 7px; font-size: 12px; }
.list-summary .mini-stat .stat-label { display: none; }
.list-summary .risk-badge { padding: 4px 9px; background: var(--accent-soft); }
.list-summary .risk-badge[data-risk="Medio"] { background: var(--warning-soft); }
.list-summary .risk-badge[data-risk="Alto"] { background: var(--danger-soft); }
.list-summary > :last-child { display: flex; align-items: center; justify-content: flex-end; gap: 1px; }
.list-details { display: none; padding: 0 12px 12px; }
.list-details.is-open { display: block; }
.expanded-analysis { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; padding: 20px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 9px; }
.expanded-analysis h3 { margin: 0 0 14px; font-size: 16px; }
.check-list, .task-list, .risk-list, .plan-features { list-style: none; padding: 0; margin: 0; }
.check-list li, .task-list li, .plan-features li { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; }
.check-list .icon, .task-list .icon, .plan-features .icon { color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.check-list strong { display: block; font-size: 13px; margin-bottom: 2px; }
.check-list p, .check-list span { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.metric-tile { border: 1px solid var(--border); border-radius: 8px; padding: 14px; background: var(--surface); min-width: 0; }
.metric-tile .metric-value { font-size: 23px; }
.directory-layout.has-preview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); gap: 22px; align-items: start; }
.directory-layout.has-preview .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel-backdrop { position: fixed; inset: 0; z-index: 70; background: var(--overlay); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.panel-backdrop.is-open { opacity: 1; visibility: visible; }
.panel { position: fixed; top: 0; bottom: 0; right: 0; width: min(500px, 100%); background: var(--surface); border-left: 1px solid var(--border); z-index: 80; display: flex; flex-direction: column; transform: translateX(102%); visibility: hidden; box-shadow: -12px 0 50px rgb(0 0 0 / 8%); transition: transform .24s ease, visibility .24s; }
.panel.is-open { transform: translateX(0); visibility: visible; }
.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 19px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.panel-header h2, .panel-header h3 { margin: 0; font-size: 17px; }
.panel-body { padding: 24px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.panel-body > .detail-identity { margin-bottom: 22px; }
.panel-body .revenue { border: 0; margin: 0 0 20px; padding: 0; }
.panel-body .revenue-value { font-size: 38px; }
.panel-body .surface { padding: 18px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.panel-body .surface-title { font-size: 16px; }
.panel-body .metric-grid { margin-bottom: 18px; }
.panel-body .surface p { font-size: 13px; }
.panel-footer { padding: 16px 24px 20px; border-top: 1px solid var(--border); background: var(--surface); display: grid; gap: 9px; flex-shrink: 0; }
.panel-footer > div { display: flex; gap: 9px; }
.panel-footer > div > * { flex: 1; }
.panel-handle { display: none; }
.detail-back { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; }
.detail-back .icon { width: 16px; height: 16px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.breadcrumbs .detail-back { padding-right: 16px; margin-right: 3px; border-right: 1px solid var(--border); }
.detail-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.detail-identity { display: flex; align-items: center; min-width: 0; gap: 18px; }
.detail-identity .app-icon { width: 76px; height: 76px; border-radius: 16px; }
.detail-identity .app-icon .icon { width: 45px; height: 45px; }
.detail-title { font-size: 37px; line-height: 1.2; font-weight: 760; letter-spacing: -.04em; margin: 0; }
.detail-identity p { font-size: 14px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
.detail-identity .category-badge { vertical-align: middle; margin-left: 12px; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.detail-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.metrics-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.metrics-strip.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric-card { border: 1px solid var(--border); border-radius: 9px; background: var(--surface); padding: 18px; min-width: 0; }
.metric-card > .icon { width: 27px; height: 27px; margin-bottom: 9px; color: var(--accent); }
.metric-label { color: var(--muted); font-size: 11px; line-height: 1.4; margin-bottom: 5px; }
.metric-value { font-size: 25px; line-height: 1.2; font-weight: 740; letter-spacing: -.035em; }
.metric-value .revenue-period { font-size: 12px; }
.metric-card .score-row { grid-template-columns: 19px minmax(0, 1fr) 32px; gap: 5px; margin-top: 9px; }
.metric-card .score-row .score-label { display: none; }
.metric-card .score-row .segments { grid-column: 2; }
.metric-card .score-row .score-value { font-size: 11px; }
.tabs { display: flex; align-items: stretch; border-bottom: 1px solid var(--border); margin: 26px 0 22px; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: flex; align-items: center; justify-content: center; white-space: nowrap; padding: 13px 17px; border-radius: 0; border-bottom: 3px solid transparent; color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: -1px; }
.tab:hover { color: var(--text); background: var(--surface-alt); }
.tab.is-active { border-bottom-color: var(--accent); color: var(--accent); font-weight: 650; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(300px, 1.05fr); gap: 18px; align-items: start; }
.detail-main, .detail-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.surface { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.surface-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 17px; }
.surface-header .icon, .section-icon { width: 25px; height: 25px; color: var(--text); flex-shrink: 0; }
.surface-title { font-size: 19px; font-weight: 730; margin: 0; line-height: 1.3; letter-spacing: -.025em; }
.surface-subtitle { font-size: 12px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.surface p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.surface > p:last-child { margin-bottom: 0; }
.surface > hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-item { min-width: 0; }
.feature-item > .icon, .feature-item .feature-icon { width: 42px; height: 42px; padding: 10px; color: var(--accent); background: var(--accent-soft); border-radius: 10px; margin-bottom: 12px; }
.feature-item:nth-child(2) > .icon { color: var(--potential); background: var(--potential-soft); }
.feature-item h3, .feature-item h4 { font-size: 13px; margin: 0 0 6px; letter-spacing: -.01em; }
.feature-item p { font-size: 12px; margin: 0; line-height: 1.55; }
.week-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.week-card { padding: 16px; border: 1px solid var(--border); border-radius: 9px; }
.week-card h3 { font-size: 14px; margin-bottom: 4px; }
.week-card p { font-size: 12px; margin-bottom: 10px; }
.step-number { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.week-card > .step-number { margin-bottom: 12px; }
.task-list { font-size: 12px; color: var(--muted); }
.task-list li { gap: 7px; margin-bottom: 8px; }
.task-list li:last-child { margin-bottom: 0; }
.task-list .icon { width: 16px; height: 16px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
.cost-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); }
.cost-table tr:nth-child(odd) td { background: var(--surface-alt); }
.cost-table td:first-child { color: var(--muted); border-radius: 5px 0 0 5px; }
.cost-table td:last-child { text-align: right; font-weight: 600; border-radius: 0 5px 5px 0; white-space: nowrap; }
.cost-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; margin-top: 8px; font-weight: 650; }
.cost-total strong { font-size: 25px; letter-spacing: -.04em; white-space: nowrap; }
.risk-list { display: flex; flex-direction: column; gap: 17px; }
.risk-list li { display: flex; align-items: flex-start; gap: 10px; }
.risk-list .icon { width: 21px; height: 21px; color: var(--warning); margin-top: 1px; }
.risk-list strong { display: block; font-size: 12px; margin-bottom: 3px; }
.risk-list p { margin: 0; font-size: 11px; line-height: 1.5; }
.opportunity-callout { border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); border-radius: 10px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 13px; }
.opportunity-callout > .icon { width: 25px; height: 25px; color: var(--accent); margin-top: 1px; }
.opportunity-callout h3 { font-size: 16px; margin: 0 0 5px; }
.opportunity-callout p { margin: 0; color: var(--muted); font-size: 12px; }
.source-card { min-width: 0; }
.source-person { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; }
.source-person strong { display: block; }
.source-person span { color: var(--muted); font-size: 11px; }
.source-avatar { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-alt); color: var(--muted); display: flex; align-items: center; justify-content: center; }
.source-avatar .icon { width: 22px; height: 22px; }
.quote { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 12px 0; }
.source-card .text-link { color: var(--potential); }
.detail-footer-note { font-size: 10px; color: var(--muted); margin-top: 22px; }
.plan-grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 16px; align-items: stretch; }
.plan-grid > .surface { padding: 22px; }
.timeline { margin-top: 24px; }
.timeline-step { position: relative; padding: 0 0 28px 51px; }
.timeline-step:before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 3px; width: 1px; background: var(--border); }
.timeline-step:last-child:before { display: none; }
.timeline-step > .step-number { position: absolute; left: 0; top: 0; }
.timeline-content > p, .timeline-content > span { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.timeline-content h3 { font-size: 15px; margin: 0 0 13px; }
.deferred { border-top: 1px solid var(--border); padding-top: 18px; }
.deferred h3 { font-size: 13px; display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.deferred h3 .icon { width: 18px; height: 18px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; color: var(--muted); background: var(--surface-alt); border-radius: 22px; font-size: 11px; padding: 7px 11px; margin: 0 4px 6px 0; }
.opportunity-list { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-direction: column; gap: 19px; }
.opportunity-list li { display: flex; gap: 12px; align-items: flex-start; }
.opportunity-list .step-number { width: 30px; height: 30px; background: var(--potential-soft); color: var(--potential); font-size: 13px; }
.opportunity-list strong { font-size: 13px; display: block; margin-bottom: 4px; }
.opportunity-list p { font-size: 12px; margin: 0; line-height: 1.5; }
.plan-grid .opportunity-callout { padding: 12px; margin-top: 18px; gap: 8px; }
.plan-grid .opportunity-callout p { color: var(--accent); }
.plan-grid .opportunity-callout > .icon { width: 19px; height: 19px; }
.plan-source { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.plan-source .quote { margin: 0; }
.preview-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr); gap: 20px; align-items: start; }
.product-preview { border: 1px solid var(--border); border-radius: 12px; padding: 10px; background: var(--surface); overflow: hidden; }
.preview-window { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: 8px; min-height: 360px; overflow: hidden; background: var(--surface-alt); }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 11px; }
.preview-sidebar { width: 142px; flex-shrink: 0; background: var(--surface-alt); padding: 18px 12px; font-size: 11px; border-right: 1px solid var(--border); }
.preview-sidebar > div, .preview-sidebar > a, .preview-sidebar > button { display: flex; align-items: center; gap: 7px; padding: 8px 7px; margin-bottom: 6px; border-radius: 5px; }
.preview-sidebar > :first-child { font-weight: 700; margin-bottom: 18px; }
.preview-sidebar .is-active { background: var(--accent-soft); color: var(--accent); }
.preview-sidebar .icon { width: 14px; height: 14px; }
.preview-editor { flex: 1; min-width: 0; background: var(--surface); padding: 18px; }
.preview-email { background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 25px 20px; text-align: center; max-width: 360px; margin: 0 auto; min-height: 250px; box-shadow: var(--shadow); }
.preview-email .app-icon { width: 35px; height: 35px; margin: 0 auto 16px; border-radius: 8px; }
.preview-email .app-icon .icon { width: 21px; height: 21px; }
.preview-email h3 { font-size: 21px; margin: 0 0 15px; }
.preview-email p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.preview-email .button { font-size: 12px; min-height: 34px; background: var(--accent); color: var(--surface); margin-top: 4px; }
.product-preview > p { font-size: 10px; color: var(--muted); margin: 8px 2px 0; }
.evaluation-card { position: sticky; top: 86px; }
.evaluation-card .revenue { margin: 15px 0 18px; padding-top: 16px; }
.evaluation-card .revenue-value { font-size: 39px; }
.evaluation-card .score-row { margin: 12px 0; }
.evaluation-card .metric-grid { margin: 18px 0; }
.evaluation-card .metric-value { font-size: 20px; }
.evaluation-card .surface-header { margin-top: 20px; }
.evaluation-card .surface-title { font-size: 15px; }
.source-page { max-width: 900px; }
.source-hero { padding: 40px; text-align: center; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.source-hero .app-icon { margin: 0 auto 20px; }
.source-hero h1 { font-size: 35px; }
.source-hero .quote { font-size: 23px; max-width: 600px; margin: 25px auto; color: var(--text); }
.pricing-page > .hero-title, .pricing-page > .hero-subtitle { text-align: center; }
.pricing-page > .eyebrow { text-align: center; }
.billing-toggle { display: flex; justify-content: center; gap: 6px; margin: 25px auto 0; width: fit-content; padding: 4px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-alt); }
.billing-toggle button { padding: 9px 15px; border-radius: 6px; font-size: 13px; color: var(--muted); }
.billing-toggle button.is-active { color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1080px; margin: 36px auto 28px; align-items: stretch; }
.plan-card { border: 1px solid var(--border); border-radius: 14px; padding: 28px; background: var(--surface); position: relative; display: flex; flex-direction: column; }
.plan-card.featured { border: 2px solid var(--accent); padding: 27px; box-shadow: 0 5px 25px color-mix(in srgb, var(--accent) 7%, transparent); }
.plan-card h2 { font-size: 23px; margin: 0 0 8px; }
.plan-card > p { font-size: 13px; color: var(--muted); }
.plan-price { margin: 24px 0; font-size: 46px; font-weight: 740; letter-spacing: -.05em; line-height: 1.1; }
.plan-price span, .plan-price small { font-weight: 400; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.plan-features { font-size: 13px; color: var(--muted); margin: 6px 0 25px; flex: 1; }
.plan-features li { margin-bottom: 15px; }
.demo-note { color: var(--muted); background: var(--surface-alt); padding: 12px 16px; border: 1px solid var(--border); border-radius: 9px; font-size: 12px; line-height: 1.6; }
.pricing-page > .demo-note { max-width: 1080px; margin: 0 auto; text-align: center; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: var(--overlay); display: grid; place-items: center; padding: 24px; backdrop-filter: blur(3px); }
.modal-card { max-width: 560px; width: 100%; max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 24px 80px rgb(0 0 0 / 15%); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; border-bottom: 1px solid var(--border); }
.modal-header h2 { font-size: 21px; margin: 0; }
.modal-body { padding: 24px; }
.modal-body > p { color: var(--muted); }
.modal-footer { padding: 16px 24px 24px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.field { display: block; margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea { display: block; width: 100%; min-height: 44px; padding: 11px 13px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.toast-region { position: fixed; z-index: 120; right: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 360px; background: var(--text); color: var(--bg); border-radius: 10px; padding: 13px 17px; box-shadow: 0 8px 25px rgb(0 0 0 / 12%); font-size: 13px; animation: toast-in .2s ease both; }
.toast .icon { width: 18px; height: 18px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; }
.footer-inner { max-width: 1376px; padding: 22px 40px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-note { margin: 0; }
.footer-inner a { text-underline-offset: 3px; }
.loading-state { padding: 60px; color: var(--muted); text-align: center; }
.skeleton { height: 300px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 12px; animation: skeleton-pulse 1.2s ease-in-out infinite alternate; }
@keyframes skeleton-pulse { to { opacity: .5; } }
details { border-top: 1px solid var(--border); }
details summary { cursor: pointer; padding: 15px 0; font-weight: 600; font-size: 13px; }
details[open] summary { margin-bottom: 5px; }
@media (min-width: 1550px) { .page { padding-top: 52px; } }
@media (max-width: 1200px) {
  .header-inner, .page, .footer-inner { padding-left: 28px; padding-right: 28px; }
  .header-inner { gap: 32px; }
  .toolbar { gap: 10px; }
  .search-field { flex-basis: 100%; }
  .filter-chips { flex: 1; }
  .product-grid { gap: 15px; }
  .product-card { padding-left: 15px; padding-right: 15px; }
  .product-card-header { gap: 10px; flex-wrap: wrap; }
  .product-card-header .category-badge { font-size: 9px; padding: 4px 8px; }
  .app-icon { width: 46px; height: 46px; border-radius: 11px; }
  .product-name { font-size: 16px; }
  .product-description { font-size: 11px; }
  .mini-stat { gap: 5px; padding-left: 7px; padding-right: 7px; }
  .mini-stat > .icon { width: 16px; height: 16px; }
  .stat-value { font-size: 11px; }
  .card-footer { gap: 6px; }
  .card-footer .text-link { font-size: 11px; }
  .list-header, .list-summary { grid-template-columns: minmax(160px, 1.7fr) 80px minmax(70px, 1fr) minmax(70px, 1fr) 65px 55px 75px 60px; gap: 10px; padding-left: 13px; padding-right: 13px; }
  .metrics-strip { gap: 8px; }
  .metric-card { padding: 15px 12px; }
  .metric-value { font-size: 22px; }
  .detail-header { padding: 20px; }
  .detail-title { font-size: 32px; }
  .detail-identity .app-icon { width: 65px; height: 65px; }
  .plan-grid { gap: 12px; }
  .plan-grid > .surface { padding: 18px; }
  .surface-title { font-size: 17px; }
  .preview-sidebar { width: 110px; padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 1000px) {
  .main-nav { gap: 20px; }
  .header-inner { gap: 26px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .product-card { padding-left: 18px; padding-right: 18px; }
  .product-card-header { flex-wrap: nowrap; }
  .product-card-header .category-badge { font-size: 10px; }
  .product-description { font-size: 12px; }
  .score-row { font-size: 12px; }
  .card-footer .text-link { font-size: 12px; }
  .list-header { display: none; }
  .list-summary { grid-template-columns: minmax(0, 1.7fr) 90px 1fr 1fr 70px; gap: 12px; padding: 16px; }
  .list-summary > :nth-child(5), .list-summary > :nth-child(6), .list-summary > :nth-child(7) { display: none; }
  .list-product .app-icon { width: 40px; height: 40px; }
  .detail-header { flex-wrap: wrap; }
  .detail-actions { margin-left: auto; }
  .metrics-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .metrics-strip.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 14px; }
  .surface { padding: 18px; }
  .feature-grid { gap: 15px; }
  .feature-item h3 { font-size: 12px; }
  .feature-item p { font-size: 11px; }
  .week-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plan-grid > :last-child { grid-column: 1 / -1; }
  .plan-grid > :last-child .opportunity-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preview-layout { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 15px; }
  .preview-sidebar { display: none; }
  .preview-editor { padding: 14px; }
  .directory-layout.has-preview { display: block; }
  .plans-grid { gap: 12px; }
  .plan-card { padding: 22px; }
  .plan-card.featured { padding: 21px; }
}
@media (max-width: 740px) {
  .site-header { height: 62px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 21px; }
  .brand-mark .icon, .brand-mark svg { width: 29px; height: 29px; }
  .main-nav { display: none; }
  .header-actions { gap: 4px; }
  .header-actions .button { padding-left: 11px; padding-right: 11px; min-height: 35px; font-size: 12px; }
  .header-actions > .text-link { display: none; }
  .header-actions .icon-btn { width: 33px; height: 35px; }
  .header-actions .icon-btn .icon { width: 18px; height: 18px; }
  .mobile-menu-btn { display: inline-flex; }
  .mobile-nav { position: absolute; top: 61px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 16px 18px; box-shadow: 0 12px 25px rgb(0 0 0 / 5%); gap: 3px; }
  .mobile-nav.is-open { display: flex; flex-direction: column; }
  .mobile-nav a, .mobile-nav button { padding: 12px; text-align: left; font-size: 14px; border-radius: 7px; }
  .mobile-nav a:hover, .mobile-nav button:hover { background: var(--surface-alt); }
  .page { padding: 28px 16px 28px; min-height: calc(100dvh - 160px); }
  .eyebrow { font-size: 10px; margin-bottom: 12px; letter-spacing: .08em; }
  .hero-title { font-size: clamp(29px, 8vw, 38px); line-height: 1.12; letter-spacing: -.045em; max-width: 620px; }
  .hero-subtitle { font-size: 15px; line-height: 1.5; margin-top: 10px; }
  .toolbar { margin-top: 24px; gap: 10px; }
  .search-field { min-width: 0; flex-basis: 100%; }
  .search-field input { height: 44px; font-size: 13px; }
  .filter-chips { flex: 1 1 100%; width: 100%; overflow-x: auto; padding-bottom: 3px; gap: 8px; scrollbar-width: none; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .chip { height: 38px; min-height: 38px; padding: 0 12px; font-size: 12px; flex-shrink: 0; }
  .filters-extra { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .filters-extra .select-field { min-width: 125px; flex: 1; font-size: 12px; }
  .view-switch { margin-left: auto; }
  .view-switch button { min-height: 33px; padding: 6px 9px; font-size: 12px; }
  .view-switch button .icon { width: 17px; height: 17px; }
  .section-heading { margin: 23px 0 16px; gap: 12px; }
  .section-title { font-size: 21px; }
  .section-meta { gap: 9px; flex-wrap: wrap; }
  .results-count { font-size: 11px; }
  .sort-control { font-size: 11px; }
  .sort-control > span { display: none; }
  .sort-control select { max-width: 155px; min-height: 34px; font-size: 11px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { padding: 17px 17px 0; border-radius: 12px; }
  .product-card-header { gap: 11px; }
  .app-icon { width: 49px; height: 49px; border-radius: 11px; }
  .app-icon .icon, .app-icon svg { width: 28px; height: 28px; }
  .product-name { font-size: 18px; }
  .product-description { font-size: 12px; }
  .product-card-header .category-badge { font-size: 9px; padding: 4px 8px; }
  .product-card-header .save-btn { width: 25px; height: 33px; }
  .product-card-header .save-btn .icon { width: 18px; height: 18px; }
  .revenue { margin-top: 15px; padding-top: 12px; }
  .revenue-label { font-size: 11px; }
  .revenue-value { font-size: 32px; }
  .score-row { grid-template-columns: 18px 60px minmax(0, 1fr) 31px; gap: 6px; min-height: 33px; font-size: 12px; }
  .score-value { font-size: 12px; }
  .segments { height: 8px; gap: 2px; }
  .card-stats { padding: 12px 0; margin-top: 11px; }
  .mini-stat { gap: 7px; padding: 0 9px; }
  .mini-stat > .icon { width: 18px; height: 18px; }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: 12px; }
  .card-footer { min-height: 47px; gap: 8px; }
  .card-footer .text-link { font-size: 11px; }
  .card-footer .text-link .icon { width: 13px; height: 13px; }
  .card-quick { width: 25px; height: 32px; }
  .list-summary { display: grid; grid-template-columns: minmax(0, 1fr) 83px 58px; gap: 12px; padding: 15px; }
  .list-summary .list-product { grid-column: 1; min-width: 0; gap: 10px; }
  .list-product .app-icon { width: 40px; height: 40px; border-radius: 9px; }
  .list-product .product-name { font-size: 15px; }
  .list-description { font-size: 10px; line-height: 1.3; }
  .list-summary .revenue { grid-column: 2; grid-row: 1; }
  .list-summary .revenue-value { font-size: 20px; }
  .list-summary > :last-child { grid-column: 3; grid-row: 1; }
  .list-summary > .list-score { display: block; grid-row: 2; }
  .list-summary > .list-score:nth-child(3) { grid-column: 1; }
  .list-summary > .list-score:nth-child(4) { grid-column: 2 / 4; }
  .list-score .score-row { grid-template-columns: 18px minmax(40px, 1fr) 30px; gap: 5px; }
  .list-score .segments { height: 7px; }
  .list-score .score-value { grid-column: 3; grid-row: 1; font-size: 11px; text-align: right; }
  .list-details { padding: 0 10px 10px; }
  .expanded-analysis { grid-template-columns: 1fr; gap: 17px; padding: 16px; }
  .expanded-analysis .metric-grid { gap: 8px; }
  .metric-tile { padding: 12px; }
  .check-list strong { font-size: 13px; }
  .check-list p, .check-list span { font-size: 12px; }
  .panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-height: 92dvh; border-left: 0; border-top: 1px solid var(--border); border-radius: 19px 19px 0 0; transform: translateY(102%); box-shadow: 0 -10px 35px rgb(0 0 0 / 10%); }
  .panel.is-open { transform: translateY(0); }
  .panel-handle { display: block; width: 42px; height: 4px; background: var(--muted); opacity: .45; border-radius: 5px; margin: 9px auto 1px; flex-shrink: 0; }
  .panel-header { padding: 9px 18px 12px; }
  .panel-header h2 { font-size: 15px; }
  .panel-body { padding: 20px; }
  .panel-body .detail-title { font-size: 27px; }
  .panel-body .detail-identity .app-icon { width: 58px; height: 58px; }
  .panel-footer { padding: 13px 20px max(15px, env(safe-area-inset-bottom)); }
  .panel-footer .button { min-height: 43px; font-size: 13px; }
  .detail-page { padding-top: 23px; }
  .breadcrumbs { gap: 8px; margin-bottom: 17px; font-size: 11px; }
  .breadcrumbs .detail-back { border: 0; padding-right: 0; font-size: 12px; flex-basis: 100%; margin-bottom: 2px; }
  .detail-header { padding: 17px; gap: 16px; border-radius: 11px; }
  .detail-identity { gap: 13px; align-items: flex-start; width: 100%; }
  .detail-identity .app-icon { width: 60px; height: 60px; border-radius: 13px; }
  .detail-identity .app-icon .icon { width: 35px; height: 35px; }
  .detail-title { font-size: 28px; line-height: 1.2; }
  .detail-identity .category-badge { margin-left: 6px; font-size: 9px; padding: 4px 8px; }
  .detail-identity p { font-size: 12px; line-height: 1.5; margin-top: 5px; }
  .detail-actions { width: 100%; margin-left: 0; gap: 8px; }
  .detail-actions .button { flex: 1; min-height: 41px; font-size: 12px; padding-left: 10px; padding-right: 10px; }
  .metrics-strip, .metrics-strip.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .metric-card { padding: 15px; border-radius: 9px; }
  .metric-card > .icon { width: 24px; height: 24px; margin-bottom: 7px; }
  .metric-label { font-size: 11px; margin-bottom: 5px; }
  .metric-value { font-size: 24px; }
  .metric-card .score-row { margin-top: 8px; min-height: 20px; }
  .metric-card .score-row .score-icon { display: none; }
  .metric-card .score-row { grid-template-columns: minmax(0, 1fr) 29px; }
  .metric-card .score-row .segments { grid-column: 1; }
  .metric-card .score-row .score-value { grid-column: 2; }
  .tabs { gap: 2px; margin: 20px 0 18px; }
  .tab { padding: 12px 13px; font-size: 12px; }
  .detail-layout, .preview-layout, .plan-grid { grid-template-columns: 1fr; gap: 14px; }
  .detail-main, .detail-aside { gap: 14px; }
  .surface, .plan-grid > .surface { padding: 18px; border-radius: 11px; }
  .surface-header { gap: 10px; margin-bottom: 16px; }
  .surface-header .icon, .section-icon { width: 23px; height: 23px; }
  .surface-title { font-size: 18px; }
  .surface-subtitle { font-size: 12px; }
  .surface p { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-item { display: grid; grid-template-columns: 37px 1fr; column-gap: 11px; align-items: start; }
  .feature-item > .icon, .feature-item .feature-icon { grid-row: 1 / 3; width: 37px; height: 37px; margin: 0; padding: 9px; border-radius: 8px; }
  .feature-item h3 { font-size: 13px; margin-bottom: 3px; }
  .feature-item p { font-size: 12px; }
  .week-grid { grid-template-columns: 1fr; gap: 10px; }
  .week-card { padding: 15px; }
  .task-list { font-size: 12px; }
  .cost-table { font-size: 12px; }
  .cost-table td { padding: 9px; }
  .cost-total strong { font-size: 25px; }
  .risk-list strong { font-size: 13px; }
  .risk-list p { font-size: 12px; }
  .opportunity-callout { padding: 16px; gap: 11px; }
  .opportunity-callout h3 { font-size: 16px; }
  .opportunity-callout p { font-size: 12px; }
  .plan-grid > :last-child { grid-column: auto; }
  .plan-grid > :last-child .opportunity-list { display: flex; flex-direction: column; }
  .timeline { margin-top: 20px; }
  .timeline-step { padding-left: 48px; padding-bottom: 25px; }
  .timeline-content h3 { font-size: 15px; }
  .timeline-content > p, .timeline-content > span { font-size: 12px; }
  .plan-source { flex-direction: column; align-items: stretch; gap: 14px; }
  .plan-source > .button { width: 100%; }
  .evaluation-card { position: static; }
  .preview-window { min-height: 310px; }
  .preview-editor { padding: 13px; }
  .preview-email { max-width: none; padding: 23px 16px; }
  .preview-email h3 { font-size: 21px; }
  .source-hero { padding: 28px 19px; }
  .source-hero h1 { font-size: 28px; }
  .source-hero .quote { font-size: 19px; }
  .plans-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .plan-card, .plan-card.featured { padding: 25px; }
  .plan-price { margin: 20px 0; font-size: 45px; }
  .plan-features { margin-bottom: 18px; }
  .modal-backdrop { padding: 16px; }
  .modal-card { max-height: calc(100dvh - 32px); border-radius: 14px; }
  .modal-header { padding: 18px 20px; }
  .modal-header h2 { font-size: 19px; }
  .modal-body { padding: 20px; }
  .modal-footer { padding: 14px 20px 20px; }
  .toast-region { bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; right: 16px; align-items: stretch; }
  .toast { max-width: none; width: 100%; font-size: 12px; padding: 12px 15px; }
  .footer-inner { padding: 19px 16px; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 10px; }
  .detail-footer-note { font-size: 10px; line-height: 1.5; }
  .loading-state { padding: 60px 20px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 19px; }
  .brand-mark .icon, .brand-mark svg { width: 26px; height: 26px; }
  .header-actions { gap: 2px; }
  .header-actions .icon-btn { width: 28px; }
  .header-actions .button { padding: 7px 9px; font-size: 11px; }
  .product-card-header { gap: 8px; }
  .product-card-header .category-badge { display: none; }
  .score-row { grid-template-columns: 17px 54px minmax(0, 1fr) 29px; gap: 5px; font-size: 11px; }
  .mini-stat { gap: 5px; padding-left: 7px; padding-right: 7px; }
  .mini-stat > .icon { width: 16px; height: 16px; }
  .stat-label { font-size: 9px; }
  .stat-value { font-size: 11px; }
  .card-footer { gap: 5px; }
  .card-footer .text-link { font-size: 10px; }
  .card-quick { width: 22px; }
  .detail-title { font-size: 25px; }
  .detail-identity .category-badge { display: block; width: fit-content; margin: 5px 0 0; }
  .metric-card { padding: 13px; }
  .metric-value { font-size: 21px; }
  .tab { padding-left: 10px; padding-right: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Component details shared with the buildless application markup. */
.product-heading { flex: 1; min-width: 0; }
.product-heading > .product-name { display: block; }
.app-link { display: block; flex-shrink: 0; }
.app-icon.small { width: 43px; height: 43px; border-radius: 10px; }
.app-icon.small .icon { width: 25px; height: 25px; }
.nav-link .saved-count { margin-left: 7px; padding: 1px 6px; min-width: 18px; text-align: center; background: var(--surface-alt); border-radius: 20px; font-size: 10px; }
.filter-secondary { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 10px; }
.filter-secondary .clear-filters { margin-left: auto; }
.select-field { display: inline-flex; border: 0; padding: 0; min-height: 0; background: transparent; }
.select-field select { height: 36px; max-width: 100%; padding: 7px 30px 7px 11px; font-size: 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
.card-scores { margin-top: 1px; }
.score-row > .score-icon { width: 17px; height: 17px; }
.product-card .category-badge[data-category="Productividad"] { background: #f0ecff; color: #7652d5; }
.product-card .category-badge[data-category="SEO"] { background: #eaf2ff; color: #326dca; }
.product-card .category-badge[data-category="Video e IA"] { background: #fff0f3; color: #cf4167; }
.product-card .category-badge[data-category="Finanzas"] { background: #fff1e5; color: #b16a2d; }
[data-theme="dark"] .product-card .category-badge[data-category="Productividad"] { background: #302644; color: #c8adff; }
[data-theme="dark"] .product-card .category-badge[data-category="SEO"] { background: #233449; color: #99c2ff; }
[data-theme="dark"] .product-card .category-badge[data-category="Video e IA"] { background: #422731; color: #ffb0bf; }
[data-theme="dark"] .product-card .category-badge[data-category="Finanzas"] { background: #3f3024; color: #ffc894; }
.list-revenue strong { display: block; font-size: 20px; font-weight: 750; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.list-revenue > span { color: var(--muted); font-size: 11px; }
.list-score { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 5px 7px; align-items: center; }
.list-score > .score-icon { width: 18px; height: 18px; grid-column: 1; grid-row: 1; }
.list-score > .segments { grid-column: 2; grid-row: 1; height: 7px; }
.list-score > .score-value { grid-column: 2; grid-row: 2; text-align: left; color: var(--muted); font-size: 11px; line-height: 1.1; }
.list-risk, .list-mvp, .list-cost { display: flex; align-items: center; gap: 7px; font-size: 12px; white-space: nowrap; }
.list-risk > .icon, .list-mvp > .icon, .list-cost > .icon { width: 18px; height: 18px; }
.list-risk .icon { color: var(--accent); }
.list-row:has(.risk-badge[data-risk="Medio"]) .list-risk > .icon { color: var(--warning); }
.list-row:has(.risk-badge[data-risk="Alto"]) .list-risk > .icon { color: var(--danger); }
.list-actions { display: flex; align-items: center; gap: 1px; }
.list-actions .icon-btn { width: 30px; height: 32px; }
.list-row.is-expanded .list-actions [data-action="expand"] .icon { transform: rotate(180deg); }
.metric-tile { display: flex; align-items: center; gap: 12px; }
.metric-tile > .icon { width: 25px; height: 25px; color: var(--accent); }
.metric-tile[data-kind="potential"] > .icon { color: var(--potential); }
.metric-label, .metric-value { display: block; }
.metric-tile .metric-value { font-size: 23px; }
.expanded-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.expanded-actions .button { flex: 1 1 100%; }
.expanded-actions .text-link { font-size: 11px; }
.panel-header { gap: 12px; }
.panel-header > div { flex: 1; min-width: 0; }
.panel-header .app-icon { width: 47px; height: 47px; border-radius: 11px; }
.panel-header .app-icon .icon { width: 28px; height: 28px; }
.panel-header h2 { font-size: 20px; margin-bottom: 5px; }
.panel-header .category-badge { padding: 3px 8px; font-size: 10px; }
.panel-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.panel-bars { margin: 13px 0; }
.panel-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 13px 0; margin: 12px 0 2px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.panel-status .mini-stat { padding: 0 14px; }
.panel-status .mini-stat:first-child { padding-left: 0; }
.panel-section { padding: 20px 0; border-bottom: 1px solid var(--border); }
.panel-section h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; letter-spacing: -.025em; margin: 0 0 12px; }
.panel-section h3 .icon { width: 22px; height: 22px; }
.panel-section p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.panel-cost { font-weight: 600; color: var(--text) !important; margin-bottom: 8px !important; }
.panel-warning { display: flex; align-items: center; gap: 8px; }
.panel-warning .icon { width: 18px; height: 18px; color: var(--warning); }
.panel-body > .opportunity-callout { margin-top: 18px; padding: 15px; }
.panel-body > .demo-note { margin: 15px 0 0; font-size: 10px; padding: 8px 10px; }
.panel-links { display: flex; gap: 8px; }
.detail-back { margin-bottom: 22px; }
.detail-back > .text-link { color: var(--muted); font-size: 12px; }
.detail-back > .breadcrumbs { margin: 0 0 0 13px; padding-left: 17px; border-left: 1px solid var(--border); font-size: 11px; }
.detail-title-line { display: flex; align-items: center; gap: 12px; }
.detail-title-line .category-badge { margin-left: 0; }
.detail-actions .save-btn { width: auto; height: auto; color: var(--text); }
.detail-actions .save-btn.is-saved { color: var(--accent); }
.detail-header .detail-identity { width: auto; }
.detail-header .hero-subtitle { font-size: 13px; max-width: 640px; }
.metric-card { display: flex; align-items: flex-start; gap: 11px; min-height: 94px; }
.metric-card > .icon { width: 25px; height: 25px; margin: 3px 0 0; }
.metric-card[data-kind="potential"] > .icon { color: var(--potential); }
.metric-card .metric-content { flex: 1; min-width: 0; }
.metric-card .metric-content > .segments { margin-top: 8px; height: 7px; }
.metric-card .metric-value { font-size: 23px; }
.metric-card .metric-value small { font-size: 10px; color: var(--muted); font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.metric-value .risk-badge { font-size: inherit; line-height: inherit; font-weight: inherit; letter-spacing: inherit; }
.surface-divider { height: 1px; background: var(--border); margin: 23px 0; }
.surface-subtitle + .week-grid { margin-top: 18px; }
.week-card { display: flex; align-items: flex-start; gap: 13px; }
.week-card > .step-number { margin: 0; width: 33px; height: 33px; font-size: 14px; }
.week-card > div { min-width: 0; flex: 1; }
.feature-item > div { min-width: 0; }
.feature-item > div h3 { font-size: 13px; margin-bottom: 5px; }
.cost-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.cost-row:nth-child(odd) { background: var(--surface-alt); border-radius: 5px; }
.cost-row > span { color: var(--muted); }
.cost-row > strong { font-size: 12px; font-weight: 550; white-space: nowrap; }
.cost-table > .cost-total > strong:first-child { font-size: 14px; letter-spacing: -.015em; }
.source-card { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.source-card .surface-header { align-items: center; gap: 9px; margin-bottom: 16px; }
.source-card .surface-title { flex: 1; font-size: 16px; }
.source-status { padding: 4px 7px; border-radius: 6px; color: var(--muted); background: var(--surface-alt); font-size: 9px; white-space: nowrap; }
.x-mark { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 5px; background: #111418; color: #fff; font-size: 19px; line-height: 1; flex-shrink: 0; }
.source-card .quote { margin: 12px 0; padding: 0; }
.source-content { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.source-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.source-disclosure { display: flex; align-items: flex-start; gap: 10px; padding: 15px; border: 1px solid var(--border); background: var(--surface-alt); border-radius: 8px; }
.source-disclosure .icon { color: var(--potential); width: 20px; height: 20px; margin-top: 2px; }
.source-disclosure p { margin: 0; }
.plan-source { display: block; }
.plan-source > .source-card { width: 100%; }
.large-cost { color: var(--text) !important; font-size: 34px !important; line-height: 1.2 !important; font-weight: 750; letter-spacing: -.04em; margin: 0 0 8px; }
.large-cost > span { font-size: 21px; }
.subsection-title { font-size: 15px; letter-spacing: -.02em; margin-bottom: 15px; }
.opportunity-list h3 { font-size: 13px; margin: 0 0 5px; }
.opportunity-callout.compact { align-items: center; }
.opportunity-callout.compact p { margin: 0; }
.evaluation-card > h2 { font-size: 22px; line-height: 1.25; margin-bottom: 0; }
.evaluation-card .source-card { padding: 14px; margin: 22px 0 14px; }
.evaluation-card .source-card .surface-title { font-size: 13px; }
.evaluation-card .source-status { display: none; }
.preview-brand { gap: 6px !important; padding-left: 0 !important; }
.preview-brand .app-icon { width: 24px; height: 24px; border-radius: 5px; }
.preview-brand .app-icon .icon { width: 15px; height: 15px; }
.preview-brand strong { font-size: 11px; }
.preview-topbar { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 14px; }
.preview-topbar strong { font-size: 12px; }
.preview-topbar .pill { font-size: 9px; padding: 4px 7px; margin: 0; }
.preview-editor > .preview-toolbar { border: 1px solid var(--border); border-radius: 6px 6px 0 0; background: var(--surface-alt); padding: 9px 12px; justify-content: flex-start; gap: 15px; margin: 0 0 14px; font-size: 11px; }
.preview-mini-logo { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; margin-bottom: 18px; }
.preview-mini-logo .app-icon { margin: 0; width: 25px; height: 25px; border-radius: 6px; }
.preview-mini-logo .app-icon .icon { width: 16px; height: 16px; }
.preview-cta { display: inline-flex; justify-content: center; align-items: center; background: #008f73; color: #fff; font-size: 11px; border-radius: 5px; padding: 10px 13px; margin: 5px 0 0; }
.preview-illustration { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; height: 104px; color: var(--accent); background: var(--accent-soft); margin: 20px -5px -10px; border-radius: 6px; font-size: 10px; }
.preview-illustration .icon { width: 31px; height: 31px; }
.preview-fake-input { padding: 10px 12px; text-align: left; font-size: 10px; color: var(--muted); border: 1px solid var(--border); border-radius: 5px; margin: 9px 0; }
.preview-stat-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0; }
.preview-stat-cards > div { border: 1px solid var(--border); padding: 12px; border-radius: 6px; }
.preview-stat-cards strong { display: block; font-size: 23px; color: var(--accent); }
.preview-stat-cards span { color: var(--muted); font-size: 9px; }
.preview-chart { height: 120px; padding: 10px; display: flex; align-items: flex-end; gap: 5px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.preview-chart i { flex: 1; border-radius: 3px 3px 0 0; background: var(--accent); opacity: .75; }
.preview-video { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #242c36; color: #fff; border-radius: 7px; margin-bottom: 18px; font-size: 11px; }
.preview-video .icon { width: 38px; height: 38px; }
.preview-invoice-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 9px; color: var(--muted); margin-bottom: 20px; }
.preview-invoice-top .app-icon { margin: 0; width: 32px; height: 32px; }
.preview-stars { color: var(--warning); font-size: 25px; letter-spacing: .12em; margin: 22px 0 17px; }
.product-preview > .demo-note { padding: 3px 2px; border: 0; background: transparent; margin: 9px 0 0; font-size: 10px; }
.preview-layout .evaluation-card .score-row { grid-template-columns: 18px 57px minmax(0, 1fr) 31px; gap: 5px; font-size: 11px; }
.related-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 36px 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.related-card { display: flex; align-items: center; gap: 11px; min-width: 0; border: 1px solid var(--border); background: var(--surface); border-radius: 10px; padding: 16px; transition: border-color .15s; }
.related-card:hover { border-color: var(--accent); }
.related-card > div { min-width: 0; flex: 1; }
.related-card > div > strong { display: block; font-size: 13px; }
.related-card > div > span { display: block; font-size: 10px; line-height: 1.4; margin-top: 4px; color: var(--muted); }
.related-card > strong { font-size: 15px; letter-spacing: -.025em; white-space: nowrap; }
.related-card > .icon { width: 16px; height: 16px; color: var(--muted); }
.pricing-hero { text-align: center; }
.plan-popular { position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--bg); border-radius: 6px; padding: 5px 9px; font-size: 10px; font-weight: 600; }
.plan-subtitle { min-height: 39px; font-size: 13px; }
.billing-caption { font-size: 11px !important; margin-bottom: 20px; }
.plan-card .plan-features { margin-top: 24px; }
.pricing-demo-note { display: flex; align-items: flex-start; gap: 10px; max-width: 1080px; margin: 25px auto; padding: 15px 18px; color: var(--muted); border: 1px solid var(--border); border-radius: 10px; background: var(--surface-alt); font-size: 12px; }
.pricing-demo-note > .icon { color: var(--accent); margin-top: 2px; width: 18px; height: 18px; }
.pricing-demo-note p { margin: 0; }
.pricing-faq { max-width: 1080px; margin: 44px auto 0; }
.pricing-faq > h2 { font-size: 25px; margin-bottom: 20px; }
.faq-item { margin-bottom: 10px; padding: 0 20px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; list-style: none; padding: 17px 0; font-size: 13px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 16px; height: 16px; color: var(--muted); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item p { padding-bottom: 6px; }
.account-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.account-summary .mini-stat { padding: 15px; border: 1px solid var(--border); border-radius: 8px; }
.account-summary .stat-label { font-size: 11px; }
.account-summary .stat-value { font-size: 17px; margin-top: 3px; }
.field > span { display: block; font-size: 13px; font-weight: 550; margin-bottom: 8px; }
.methodology-content h3 { font-size: 16px; margin: 23px 0 8px; }
.methodology-content p, .methodology-content li { font-size: 13px; color: var(--muted); line-height: 1.7; }
.footer-links { display: flex; align-items: center; gap: 19px; font-size: 10px; }
.footer-links .text-link { font-size: 10px; padding: 0; }
@media (max-width: 1200px) {
  .metric-card { gap: 8px; }
  .metric-card > .icon { width: 21px; height: 21px; }
  .metric-card .metric-value { font-size: 21px; }
  .related-card { gap: 8px; padding: 13px; }
  .related-card .app-icon { width: 34px; height: 34px; border-radius: 8px; }
  .related-card .app-icon .icon { width: 21px; height: 21px; }
  .related-card > .icon { display: none; }
}
@media (max-width: 1000px) {
  .list-revenue strong { font-size: 19px; }
  .detail-header .detail-identity { flex: 1 1 100%; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid > :last-child { display: none; }
  .evaluation-card .card-stats .mini-stat { gap: 5px; padding-left: 5px; padding-right: 5px; }
  .evaluation-card .card-stats .mini-stat > .icon { display: none; }
  .preview-layout .evaluation-card .score-row { grid-template-columns: 18px 48px minmax(0, 1fr) 29px; }
}
@media (max-width: 740px) {
  .header-actions .account-button { display: none; }
  .header-actions .pro-button { padding-left: 12px; padding-right: 12px; }
  .filter-secondary { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; gap: 8px; margin-top: 8px; }
  .filter-secondary .select-field { flex: 1 0 auto; }
  .filter-secondary .select-field select { min-width: 112px; font-size: 11px; height: 35px; }
  .filter-secondary .clear-filters { flex-shrink: 0; font-size: 11px; }
  .list-summary { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 8px; }
  .list-summary > .list-product { grid-column: 1 / 4; grid-row: 1; }
  .list-summary > .list-revenue { grid-column: 4 / 6; grid-row: 1; text-align: right; }
  .list-summary > .list-actions { grid-column: 6 / 7; grid-row: 1; gap: 0; justify-content: flex-end; }
  .list-summary .list-actions .icon-btn { width: 25px; height: 30px; }
  .list-summary .list-actions .icon-btn .icon { width: 16px; height: 16px; }
  .list-summary > .list-score { display: grid; grid-template-columns: 17px minmax(0, 1fr) 29px; gap: 5px; }
  .list-summary > .list-score:nth-child(3) { grid-column: 1 / 4; grid-row: 2; }
  .list-summary > .list-score:nth-child(4) { grid-column: 4 / 7; grid-row: 2; }
  .list-summary > .list-score > .score-value { grid-column: 3; grid-row: 1; text-align: right; }
  .list-summary > .list-risk { display: flex; grid-column: 1 / 3; grid-row: 3; justify-content: flex-start; }
  .list-summary > .list-mvp { display: flex; grid-column: 3 / 5; grid-row: 3; justify-content: center; }
  .list-summary > .list-cost { display: flex; grid-column: 5 / 7; grid-row: 3; justify-content: flex-end; }
  .list-risk, .list-mvp, .list-cost { font-size: 10px; gap: 5px; }
  .list-risk > .icon, .list-mvp > .icon, .list-cost > .icon { width: 15px; height: 15px; }
  .list-summary .risk-badge { padding: 2px 6px; font-size: 10px; }
  .list-revenue strong { font-size: 19px; }
  .metric-card { gap: 10px; min-height: 95px; }
  .metric-card > .icon { width: 24px; height: 24px; }
  .metric-card .metric-value { font-size: 23px; }
  .metric-card .metric-value small { display: block; margin-top: 3px; }
  .metric-card .metric-label { font-size: 10px; }
  .detail-back { margin-bottom: 16px; gap: 5px; flex-wrap: wrap; }
  .detail-back > .breadcrumbs { display: none; }
  .detail-title-line { gap: 8px; flex-wrap: wrap; }
  .detail-identity .category-badge { margin: 0; }
  .detail-header .hero-subtitle { font-size: 12px; }
  .detail-actions { flex-wrap: nowrap; }
  .detail-actions > .icon-btn { width: 32px; height: 40px; }
  .detail-actions > .save-btn { width: auto; }
  .detail-actions .button { min-width: 0; }
  .feature-item > div { grid-column: 2; }
  .feature-item > div h3 { margin: 0 0 4px; }
  .source-card { padding: 17px; }
  .source-card .surface-title { font-size: 15px; }
  .source-status { font-size: 8px; padding: 4px 6px; }
  .source-card .surface-header { gap: 7px; }
  .plan-source .source-card { padding: 17px; }
  .large-cost { font-size: 33px !important; }
  .large-cost > span { font-size: 22px; }
  .opportunity-list h3 { font-size: 14px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .related-grid > :last-child { display: flex; }
  .related-card { padding: 15px; gap: 12px; }
  .related-card .app-icon { width: 40px; height: 40px; }
  .related-card > .icon { display: block; }
  .related-card > div > strong { font-size: 14px; }
  .related-card > div > span { font-size: 11px; }
  .related-heading .section-title { font-size: 19px; }
  .related-heading .text-link { font-size: 11px; }
  .preview-topbar strong { font-size: 11px; }
  .preview-editor > .preview-toolbar { gap: 17px; }
  .preview-email { padding: 25px 18px; }
  .preview-email p { font-size: 12px; }
  .preview-illustration { height: 110px; }
  .evaluation-card .card-stats .mini-stat > .icon { display: block; }
  .evaluation-card .card-stats .mini-stat { gap: 7px; padding-left: 8px; padding-right: 8px; }
  .preview-layout .evaluation-card .score-row { grid-template-columns: 18px 58px minmax(0, 1fr) 31px; font-size: 12px; }
  .pricing-faq { margin-top: 35px; }
  .pricing-faq > h2 { font-size: 23px; }
  .plan-subtitle { min-height: 0; }
  .pricing-demo-note { padding: 13px 15px; font-size: 12px; }
  .footer-links { flex-wrap: wrap; gap: 15px; }
  .footer-links > span { flex-basis: 100%; margin-top: 2px; }
  .source-actions .button { flex: 1; min-width: 0; font-size: 12px; }
}

/* Final QA: keyboard entry point and fully visible mobile filters. */
.skip-link { position: fixed; z-index: 200; left: 16px; top: 8px; padding: 10px 15px; border-radius: 7px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; box-shadow: 0 4px 18px rgb(0 0 0 / 15%); transform: translateY(-150%); transition: transform .15s ease; }
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); color: var(--bg); }
.select-field { position: relative; }
.select-field select { appearance: none; -webkit-appearance: none; width: 100%; padding-right: 33px; }
.select-field > svg, .select-field > .icon { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
@media (max-width: 740px) {
  .filter-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; overflow: visible; padding-bottom: 0; }
  .filter-secondary > .select-field { display: inline-flex; min-width: 0; width: 100%; margin: 0; }
  .filter-secondary > .select-field select { min-width: 0; width: 100%; height: 37px; font-size: 11px; padding-right: 30px; }
  .filter-secondary > .clear-filters { margin-left: 0; justify-self: start; min-height: 37px; font-size: 11px; padding: 6px 3px; }
}

/* Semantic indicator colors */
.surface-header > .icon[data-icon="coins"], .surface-header > .icon[data-icon="warning"], .metric-card > .icon[data-icon="coins"] { color: var(--warning); }
.metric-card:has(.risk-badge[data-risk="Alto"]) > .icon { color: var(--danger); }
.metric-card:has(.risk-badge[data-risk="Medio"]) > .icon { color: var(--warning); }

.card-footer button.card-quick { display:inline-flex; flex-direction:row; align-items:center; justify-content:center; gap:5px; white-space:nowrap; line-height:1.4; }
.card-footer button.card-quick > .icon { display:inline-block; flex:0 0 14px; width:14px; height:14px; }

/* Product platforms and suggested technology stack */
.product-types{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px;min-width:0}
.type-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:650;line-height:1.4;color:var(--type-color);background:color-mix(in srgb,var(--type-color) 9%,var(--surface));border:1px solid color-mix(in srgb,var(--type-color) 18%,var(--border));white-space:nowrap}
.type-badge>.icon{width:14px;height:14px;flex-shrink:0}
[data-theme="dark"] .type-badge{color:color-mix(in srgb,var(--type-color) 60%,white);background:color-mix(in srgb,var(--type-color) 12%,var(--surface))}
.stack-summary{width:100%;display:flex;align-items:center;gap:10px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--muted);padding:12px 0;cursor:pointer;text-align:left;font:inherit}
.stack-summary:hover{color:var(--text)}
.stack-summary-label{font-size:11px;white-space:nowrap;margin-right:auto}
.tech-icons{display:flex;align-items:center;gap:5px}
.tech-mark{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;border-radius:7px;background:color-mix(in srgb,var(--tech-color) 9%,var(--surface));color:var(--tech-color);border:1px solid color-mix(in srgb,var(--tech-color) 13%,var(--border))}
.tech-mark>.icon{width:19px;height:19px}
[data-theme="dark"] .tech-mark{color:color-mix(in srgb,var(--tech-color) 60%,white);background:color-mix(in srgb,var(--tech-color) 14%,var(--surface))}
.tech-more{font-size:11px;font-weight:700;padding:4px}
.stack-summary>.icon{width:13px;height:13px}
.stack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.tech-card{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--border);border-radius:9px;min-width:0}
.tech-card .tech-mark{width:38px;height:38px}
.tech-card .tech-mark>.icon{width:24px;height:24px}
.tech-card strong{display:block;font-size:14px;line-height:1.4}
.tech-card span:not(.tech-mark){display:block;color:var(--muted);font-size:12px;line-height:1.5}
.list-product .product-types{margin:5px 0 0;gap:4px}
.list-product .type-badge{font-size:10px;padding:2px 5px}
.list-product .type-badge .icon{width:12px;height:12px}
.list-summary{min-height:105px}
.detail-identity .product-types{margin-bottom:0}
.panel-body>.product-types{margin-top:0}
.panel-body .stack-grid{grid-template-columns:1fr}
.plan-source>.stack-section{margin-bottom:20px}
.modal-body .stack-section{border:0;padding:0;box-shadow:none}
.modal-body .product-types{margin-top:0}
@media(max-width:600px){
.product-types{gap:5px}
.type-badge{font-size:11px}
.stack-grid{grid-template-columns:1fr}
.stack-summary{gap:5px}
.tech-icons{gap:4px}
.tech-mark{width:25px;height:25px}
.tech-mark>.icon{width:17px;height:17px}
.stack-summary-label{font-size:11px}
.list-product .product-types{gap:4px;max-width:100%}
.list-product .type-badge{font-size:10px}
}

.unified-detail{margin-top:24px}.unified-detail .audience-block{margin-top:18px;padding:14px 16px;border-radius:9px;background:var(--surface-alt)}.audience-block h3{font-size:13px;margin:0 0 6px}.audience-block p{font-size:13px;color:var(--muted);line-height:1.65;margin:0}.source-date{display:block;font-size:12px;color:var(--muted);margin:10px 0}.unified-detail .product-preview{border:0;box-shadow:none;margin-top:14px}.unified-detail .opportunity-list{margin-bottom:0}

.unified-detail .detail-aside .stack-grid{grid-template-columns:1fr}

/* Evidence and public-reference catalog */
.revenue-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:5px}
.proof-badge,.list-revenue .proof-badge{display:inline-flex;align-items:center;gap:4px;border-radius:5px;padding:3px 6px;font-size:10px;line-height:1.4;font-weight:650;white-space:nowrap;background:var(--potential-soft);color:var(--potential);border:1px solid color-mix(in srgb,var(--potential) 20%,var(--border))}
.proof-badge>.icon{width:12px;height:12px;flex-shrink:0}
.proof-badge[data-proof="verified"]{background:var(--accent-soft);color:var(--accent);border-color:color-mix(in srgb,var(--accent) 25%,var(--border))}
.proof-badge[data-proof="pending"]{background:var(--warning-soft);color:color-mix(in srgb,var(--warning) 60%,#725000);border-color:color-mix(in srgb,var(--warning) 30%,var(--border))}
[data-theme="dark"] .proof-badge[data-proof="pending"]{color:var(--warning)}
.identity-status{display:inline-flex;color:var(--muted);font-size:11px;margin-top:5px}
.detail-identity>div>.proof-badge{margin-top:10px}
.product-heading{min-width:0}
.product-name{overflow-wrap:anywhere}
.product-card-header .category-badge{max-width:130px;white-space:normal;text-align:center}
.filter-secondary{flex-wrap:wrap;row-gap:10px}
.filter-secondary .select-field{min-width:130px;max-width:220px}
.filter-context{color:var(--muted);font-size:11px;line-height:1.6;margin:10px 0 0}
.list-revenue strong{overflow-wrap:anywhere;line-height:1.3}
.list-revenue .proof-badge{font-size:9px;margin-top:5px;width:max-content;max-width:100%}
.list-revenue .proof-badge .icon{width:10px;height:10px}
.metrics-strip .metric-card:first-child .metric-value{font-size:clamp(18px,1.65vw,26px);overflow-wrap:anywhere}
.source-summary{color:var(--text);font-size:13px;line-height:1.7;margin:14px 0}
.source-card-links,.quality-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.quality-facts{margin:16px 0}
.quality-facts>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--border);font-size:13px}
.quality-facts dt{color:var(--muted)}
.quality-facts dd{margin:0;text-align:right;font-weight:550;max-width:60%;overflow-wrap:anywhere}
.review-notes{padding-left:18px;font-size:13px;color:var(--muted);line-height:1.75}
.review-notes li+li{margin-top:10px}
.evidence-note{border:1px solid var(--border);border-left:3px solid var(--warning);background:var(--surface-alt);padding:12px 14px;border-radius:7px;color:var(--muted);font-size:12px;line-height:1.7;margin:14px 0}
.evidence-note strong{color:var(--text);display:block;margin-bottom:4px}
.evidence-note p{margin:4px 0 0}
.reference-price{font-size:23px;font-weight:750;line-height:1.4;margin:14px 0;letter-spacing:-.5px}
.product-reference{padding:18px;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt);margin-top:14px}
.reference-identity{display:flex;align-items:center;gap:14px}
.reference-identity h3{font-size:20px;margin:0}
.reference-identity p{color:var(--muted);margin:4px 0 0;font-size:13px}
.reference-domain{display:block;color:var(--accent);font-size:13px;margin-bottom:14px;overflow-wrap:anywhere}
.reference-actions{display:flex;flex-wrap:wrap;gap:10px}
.unavailable-link{opacity:.7;cursor:default;white-space:normal;text-align:center}
.tech-card>div{min-width:0}
.tech-card strong,.tech-card span{overflow-wrap:anywhere}
.source-card .surface-header{flex-wrap:wrap}
.history-chart{display:flex;align-items:flex-end;gap:16px;overflow-x:auto;padding:15px 0}
.history-point{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:80px;font-size:11px;color:var(--muted)}
.history-point i{display:block;width:28px;border-radius:4px 4px 0 0;background:var(--potential)}
@media(max-width:600px){
.filter-secondary .select-field{min-width:0;max-width:none;width:100%}
.product-card-header .category-badge{max-width:90px}
.metrics-strip .metric-card:first-child .metric-value{font-size:20px}
.quality-facts>div{font-size:12px}
.reference-actions>.button{flex:1 1 100%}
}

/* One-column-at-a-time list sorting */
.sort-header{min-width:0}
.sort-column{display:flex;align-items:center;gap:7px;width:100%;min-height:32px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;white-space:nowrap}
.sort-indicator{font-size:14px;color:var(--muted);opacity:.65}
.sort-header.is-active .sort-column,.sort-header.is-active .sort-indicator{color:var(--accent);opacity:1;font-weight:650}
.sort-column:hover{color:var(--accent)}
@media(max-width:900px){
.product-list>.list-header{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:10px;scrollbar-width:thin}
.product-list>.list-header>span:first-child,.product-list>.list-header>span:last-child{display:none}
.sort-header{flex:0 0 auto}
.sort-column{border:1px solid var(--border);border-radius:6px;padding:5px 9px;background:var(--surface);font-size:12px}
.sort-header.is-active .sort-column{background:var(--accent-soft);border-color:var(--accent)}
}

/* Compact search with three filters in a single disclosure */
.compact-directory-tools{position:relative}
.compact-directory-tools>.toolbar{display:flex;flex-wrap:nowrap;gap:12px;align-items:center}
.search-shell{position:relative;flex:1 1 auto;min-width:0}
.search-shell>.search-field{width:100%;max-width:none;min-width:0;margin:0}
.search-shell .search-field input{padding-right:46px;min-width:0}
.search-filter-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px}
.search-filter-toggle.has-filters{background:var(--accent-soft);color:var(--accent)}
.filter-count{position:absolute;right:-2px;top:-3px;min-width:15px;height:15px;padding:0 3px;border-radius:20px;font-size:9px;line-height:15px;background:var(--accent);color:var(--surface);font-weight:700}
.search-filter-panel{position:absolute;right:104px;top:54px;width:350px;max-width:100%;z-index:65;display:grid;gap:16px;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 14px 40px rgb(0 0 0 / 16%)}
.search-filter-panel[hidden]{display:none}
.search-filter-header{display:flex;align-items:center;justify-content:space-between}
.search-filter-header h3{font-size:16px;margin:0}
.search-filter-header>.icon-btn{width:28px;height:28px}
.filter-field{display:grid;gap:7px;min-width:0}
.filter-field>span{font-size:12px;font-weight:600;color:var(--muted)}
.search-filter-panel .select-field{width:100%;max-width:none;min-width:0}
.search-filter-panel .select-field select{width:100%;min-height:42px}
.search-filter-footer{border-top:1px solid var(--border);padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.search-filter-footer .demo-note{font-size:10px;margin:0}
.compact-directory-tools .view-switch{flex:0 0 auto;margin:0}
@media(max-width:600px){
.compact-directory-tools>.toolbar{gap:8px}
.search-filter-panel{right:0;top:56px;width:100%;max-width:100%;padding:16px}
.search-filter-toggle{right:4px;width:32px;height:32px}
.search-shell .search-field{padding-left:10px}
.search-shell .search-field input{font-size:12px;padding-right:37px}
}

/* Mobile: prioritize visible products over introductory chrome. */
@media(max-width:600px){
.directory-page{padding-top:18px}
.directory-hero{margin-bottom:16px}
.directory-hero .eyebrow,.directory-hero .hero-subtitle,.directory-page .filter-context{display:none}
.directory-hero .hero-title{font-size:26px;line-height:1.18;letter-spacing:-.8px;margin:0;max-width:none}
.directory-page .section-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}
.directory-page .section-heading .section-title{display:none}
.directory-page .section-heading .section-meta{font-size:12px;white-space:nowrap}
.directory-page .section-heading>.select-field{width:170px;max-width:60%;margin:0}
.directory-page .section-heading select{min-height:40px;font-size:12px}
.product-list>.list-header{display:none}
.product-list .list-summary>.list-product{grid-column:1 / 6;grid-row:1}
.product-list .list-summary>.list-actions{grid-column:6 / 7;grid-row:1;align-self:start}
.product-list .list-summary>.list-revenue{grid-column:1 / 7;grid-row:2;display:flex;align-items:baseline;justify-content:flex-start;gap:8px;text-align:left;flex-wrap:wrap}
.product-list .list-summary>.list-score:nth-child(3),.product-list .list-summary>.list-score:nth-child(4){grid-row:3}
.product-list .list-summary>.list-risk,.product-list .list-summary>.list-mvp,.product-list .list-summary>.list-cost{grid-row:4}
.product-list .list-product{align-items:flex-start}
.product-list .list-product .product-name{word-break:normal;overflow-wrap:normal}
.product-list .list-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
}

/* Tablet and mobile use the sort dropdown, without duplicate chips. */
@media(max-width:1100px){.product-list>.list-header{display:none}}

/* HotIDX v1 — five heat tiers, color plus icon and number. */
[data-heat="ice"]{--heat:#2563eb}[data-heat="cold"]{--heat:#07859b}[data-heat="warm"]{--heat:#a86f00}[data-heat="hot"]{--heat:#d45a0b}[data-heat="fire"]{--heat:#d82c43}[data-heat="unknown"]{--heat:var(--muted)}
[data-theme="dark"] [data-heat="ice"]{--heat:#83b2ff}[data-theme="dark"] [data-heat="cold"]{--heat:#5cdae5}[data-theme="dark"] [data-heat="warm"]{--heat:#f2ca55}[data-theme="dark"] [data-heat="hot"]{--heat:#ffad59}[data-theme="dark"] [data-heat="fire"]{--heat:#ff737d}
.hotidx-badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:34px;padding:5px 7px;border:1px solid color-mix(in srgb,var(--heat) 25%,var(--border));border-radius:8px;background:color-mix(in srgb,var(--heat) 9%,var(--surface));color:var(--heat);font-size:10px;line-height:1.2;white-space:nowrap;cursor:pointer}
.hotidx-badge>.icon{width:18px;height:18px;flex-shrink:0}
.hotidx-badge strong{font-size:18px;letter-spacing:-.7px}
.hotidx-badge small{font-size:9px;opacity:.8}
.hotidx-label{font-weight:650}
.hotidx-badge:hover{background:color-mix(in srgb,var(--heat) 16%,var(--surface))}
.card-indices{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.card-indices .product-types{margin:0}
.detail-indices{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.list-hotidx{min-width:0}
.list-hotidx .hotidx-badge{width:100%}
.list-hotidx .hotidx-label{font-size:9px}
.list-hotidx .hotidx-badge small{display:none}
.panel-body>.hotidx-badge{margin:0 0 14px}
.hotidx-result{display:flex;align-items:center;gap:12px;color:var(--heat);margin:10px 0 18px}
.hotidx-result>.icon{width:32px;height:32px}
.hotidx-result strong{font-size:32px}
.hotidx-formula{background:var(--surface-alt);border:1px solid var(--border);border-radius:8px;padding:12px;font-size:13px;line-height:1.65}
.hotidx-components{margin:16px 0}
.hotidx-components>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--border);font-size:13px}
.hotidx-components dd{margin:0;font-weight:600;white-space:nowrap}
.hotidx-explanation>h3{font-size:15px}
.hotidx-legend{display:flex;gap:8px;flex-wrap:wrap}
.hotidx-legend>span{display:flex;gap:5px;align-items:center;color:var(--heat);font-size:11px;padding:5px;border:1px solid var(--border);border-radius:6px}
.hotidx-legend .icon{width:16px;height:16px}
@media(min-width:1101px){
.product-list>.list-header,.product-list .list-summary{grid-template-columns:minmax(160px,1.7fr) minmax(90px,.9fr) minmax(95px,1fr) minmax(95px,1fr) minmax(58px,.6fr) minmax(50px,.5fr) minmax(80px,.8fr) 104px 54px;gap:10px}
}
@media(min-width:601px) and (max-width:1100px){
.product-list .list-summary>.list-hotidx{grid-column:1 / 7;grid-row:4;justify-self:start}
}
@media(max-width:600px){
.product-list .list-summary>.list-revenue{grid-column:1 / 4}
.product-list .list-summary>.list-hotidx{grid-column:4 / 7;grid-row:2;justify-self:end;align-self:center}
.list-hotidx .hotidx-badge{width:auto}
.hotidx-badge{gap:3px;padding:5px 6px}
.hotidx-components>div{font-size:12px}
}

/* Cards share content tracks so variable text never shifts peer metrics. */
.product-card-header{display:grid;grid-template-columns:54px minmax(0,1fr) auto 26px;align-items:start;gap:10px}
.product-card-header>.app-link{align-self:start}
.product-card-header>.product-heading{align-self:start}
.product-card-header>.category-badge{align-self:start;max-width:100px;margin:3px 0 0}
.product-card-header>.save-btn{align-self:start}
.card-indices{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}
.card-indices>.product-types{align-self:start;min-width:0}
.card-indices>.hotidx-badge{justify-self:end;align-self:start}
.product-card>.card-footer{align-self:stretch}
@supports(grid-template-rows:subgrid){
.product-grid>.product-card{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0}
}
@media(max-width:600px){
.product-card-header{grid-template-columns:48px minmax(0,1fr) auto 25px;gap:8px}
.product-card-header .app-icon{width:48px;height:48px}
.product-card-header>.category-badge{max-width:80px}
}

.detail-labels{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.detail-labels>.product-types{margin:0;align-items:center}.detail-labels>.hotidx-badge{margin:0}

/* Language names and translated navigation need the compact header on tablets. */
@media(max-width:1100px){
 .main-nav{display:none}
 .mobile-menu-btn{display:inline-flex}
 .header-actions .account-button{display:none}
 .mobile-nav{position:absolute;top:100%;left:0;right:0;background:var(--surface);border-bottom:1px solid var(--border);padding:12px 16px 18px;box-shadow:0 12px 25px rgb(0 0 0 / 5%);gap:3px}
 .mobile-nav.is-open{display:flex;flex-direction:column}
 .mobile-nav a,.mobile-nav button{padding:12px;text-align:left;font-size:14px;border-radius:7px}
 .mobile-nav a:hover,.mobile-nav button:hover{background:var(--surface-alt)}
}

/* Keep operating amounts and translated periods inside narrow metric cards. */
.metric-money{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 4px;max-width:100%}
.metric-money .metric-amount{min-width:0;overflow-wrap:anywhere}
@media(max-width:740px){
 .metric-money .metric-period{flex-basis:100%;margin-top:0}
}

.seo-overview{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:32px}.seo-overview .surface{min-width:0}.seo-overview .faq-item{padding:14px 0;border-bottom:1px solid var(--border)}.seo-overview summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:650;cursor:pointer}.seo-overview details p{color:var(--muted);margin:12px 0 0}.methodology-page>.surface{margin-top:24px}.methodology-page>.hero-title{margin-top:24px}@media(max-width:740px){.seo-overview{grid-template-columns:1fr}}

.footer-links{flex-wrap:wrap}.locale-links{display:flex;flex-wrap:wrap;gap:12px}.footer-inner{flex-wrap:wrap;gap:16px}.footer-links .locale-links a{font-size:12px}

/* Desktop list sorting lives in the sticky column headings. */
@media(min-width:1101px){
 .directory-page[data-view="list"]>.section-heading>.select-field{display:none}
 .product-list>.list-header{position:sticky;top:66px;z-index:30;background:var(--surface-alt);box-shadow:0 4px 10px rgb(0 0 0 / 8%)}
}

/* Expanded list metrics must fit inside narrow mobile tiles. */
.expanded-analysis .metric-tile{min-width:0}
.expanded-analysis .metric-tile>span{min-width:0;flex:1}
.expanded-analysis .metric-value{overflow-wrap:anywhere}
.expanded-analysis .metric-period{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}
@media(max-width:600px){
 .expanded-analysis .metric-tile{flex-direction:column;align-items:flex-start;gap:8px}
 .expanded-analysis .metric-tile .metric-value{font-size:20px}
 .expanded-analysis .metric-money .metric-period{flex-basis:100%}
}
/* Official product icons, hosted locally; the existing symbol remains a fallback. */
.app-icon.has-product-logo { position: relative; overflow: hidden; background: #fff !important; }
.app-icon.has-product-logo > .icon { visibility: hidden; }
.app-icon .product-logo { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
