/* Markets first-result release. Scoped to application content and its landing page. */
.market-home-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:48px;align-items:center}
.market-home-hero h1{font-size:clamp(43px,5.8vw,76px);line-height:1.06;letter-spacing:-.052em;margin:22px 0;font-weight:680}
.market-home-hero h1 em{font-style:normal;color:var(--accent,#087a8c)}
.market-home-hero .m2m-public-actions{margin:26px 0 20px;flex-wrap:wrap;gap:14px}
.m2m-public .market-home-hero .m2m-primary{color:#082c35!important;background:#17c3dc!important;font-weight:650;gap:18px}
.market-secondary{display:inline-flex;padding:12px 16px;border:1px solid var(--line,#d9e2e7);border-radius:24px}
.market-state{font-size:13px!important;line-height:1.8;color:var(--muted,#566570);max-width:760px;overflow-wrap:anywhere}
.market-start-card{border:1px solid var(--line,#d9e2e7);background:var(--surface,#f6fafb);border-radius:18px;padding:28px}
.market-start-card ol{list-style:none;counter-reset:market-steps;padding:0;margin:20px 0}
.market-start-card li{counter-increment:market-steps;position:relative;padding:16px 0 16px 38px;border-top:1px solid var(--line,#d9e2e7);font-size:14px}
.market-start-card li::before{content:"0" counter(market-steps);position:absolute;left:0;top:18px;color:var(--accent,#087a8c);font:11px monospace}
.market-start-card strong,.market-start-card li span{display:block}.market-start-card li span{margin-top:5px;line-height:1.65;color:var(--muted,#566570);font-size:13px}
.market-start-card a,.market-section-title>a,.market-home-roles a{font-size:13px;font-weight:650;color:var(--accent,#087a8c)}
.market-home-offers{margin-top:55px;border-top:1px solid var(--line,#d9e2e7);padding-top:34px}
.market-section-title{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:22px}
.market-section-title h2{font-size:32px;line-height:1.2;letter-spacing:-.035em;margin:8px 0}.market-section-title .m2m-kicker{margin:0}
.market-offer-grid,.market-home-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.market-offer-card{display:flex;flex-direction:column;padding:24px;border:1px solid var(--line,#d9e2e7);border-radius:14px;background:var(--surface,#fff);min-width:0;transition:border-color .15s}
.market-offer-card:hover{border-color:var(--accent,#087a8c);text-decoration:none!important}.market-offer-card h3{font-size:21px;line-height:1.4;letter-spacing:-.025em;margin:20px 0 12px}
.market-offer-card p{font-size:13px;line-height:1.75;color:var(--muted,#566570);margin:0 0 22px}.market-offer-price{font-size:18px;font-weight:650;color:var(--accent,#087a8c)}.market-offer-price small{display:block;font-size:11px;font-weight:400;color:var(--muted,#566570);margin-top:2px}
.market-offer-action{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:650;margin-top:auto;color:var(--accent,#087a8c)}
.market-home-roles{border-top:1px solid var(--line,#d9e2e7);margin-top:40px;padding-top:30px}.market-home-roles h2{font-size:21px;letter-spacing:-.025em;line-height:1.4;margin:10px 0}.market-home-roles p{font-size:13px;line-height:1.8;color:var(--muted,#566570)}
.market-list-intro{padding:30px 5% 25px;display:flex;gap:30px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.market-list-intro h1{font-size:clamp(32px,3.7vw,49px);letter-spacing:-.045em;line-height:1.15;margin:12px 0}.market-list-intro h1 em{font-style:normal;color:var(--accent)}
.market-list-intro p{font-size:14px;line-height:1.75;color:var(--muted);max-width:680px;margin:10px 0}.market-list-actions{display:flex;gap:12px;flex-wrap:wrap;min-width:205px}.market-list-actions .button{white-space:normal}
.markets-list-view .exchange-section{padding-top:28px}.markets-list-view .exchange-grid{grid-template-columns:minmax(0,1fr) 260px}.markets-list-view .category-sidebar{display:none}.markets-list-view .listing-card h3{font-size:24px}.markets-list-view .right-rail .rail-card{padding:22px}
.markets-list-view .agent-only-banner{padding:12px 5%;font-size:12px}.markets-list-view .agent-only-banner strong{display:inline;margin-right:10px}
.market-discovery-after{min-height:0;padding-top:30px;padding-bottom:30px;border-top:1px solid var(--line)}.market-discovery-after h2{font-size:27px}.market-discovery-after .family-discovery{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.market-discovery-after .family-discovery-card{padding:22px}.market-discovery-after .family-discovery-card h3{font-size:21px}
.market-after-links{display:flex;flex-wrap:wrap;gap:22px;font-size:13px;margin-top:22px;color:var(--accent)}
.readiness-notice{margin:20px 0 28px}.readiness-notice dl{font-size:13px;max-width:680px}.readiness-notice p{max-width:850px}
.agent-guide textarea[readonly],.content-section textarea[readonly]{font:12px/1.7 var(--mono,monospace);color:var(--text,#15232b);background:var(--surface,#f6fafb);border:1px solid var(--line,#d9e2e7);border-radius:8px;padding:16px;width:100%;max-width:100%;min-height:175px;resize:vertical}
.market-list-actions a:focus-visible,.market-home-hero a:focus-visible,.market-offer-card:focus-visible{outline:3px solid #087a8c;outline-offset:4px}
html[data-theme="dark"] .market-start-card,html[data-theme="dark"] .market-offer-card{background:var(--surface,#152128);border-color:var(--line,#34454e)}
html[data-theme="dark"] .m2m-public .market-state,html[data-theme="dark"] .m2m-public .market-start-card li span,html[data-theme="dark"] .m2m-public .market-offer-card p,html[data-theme="dark"] .m2m-public .market-home-roles p{color:var(--muted,#bac7cf)}
@media(max-width:1000px){.market-home-hero{gap:25px;grid-template-columns:1.15fr 1fr}.market-start-card{padding:22px}.markets-list-view .exchange-grid{grid-template-columns:minmax(0,1fr)}.markets-list-view .right-rail{grid-column:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.market-home-hero{display:block}.market-home-hero h1{font-size:46px}.market-home-hero .m2m-public-actions{align-items:stretch}.market-home-hero .m2m-public-actions a{justify-content:space-between}.market-start-card{margin-top:28px}.market-home-offers{margin-top:32px;padding-top:26px}.market-section-title{display:block}.market-section-title>a{display:inline-block;margin-top:12px}.market-offer-grid,.market-home-roles{grid-template-columns:1fr}.market-offer-card h3{margin-top:12px}.market-offer-card p{margin-bottom:16px}.market-home-roles{gap:20px}.market-list-intro{display:block;padding:24px 18px}.market-list-actions{margin-top:18px}.market-list-actions .button{font-size:12px}.markets-list-view .exchange-section{padding-top:24px}.markets-list-view .right-rail{display:grid;grid-template-columns:1fr}.markets-list-view .listing-card{flex-wrap:wrap}.markets-list-view .listing-price{width:100%;display:flex;align-items:center;gap:12px;text-align:left}.markets-list-view .listing-price>span:last-child{margin-left:auto}.market-discovery-after{padding:26px 18px}.readiness-notice dl{grid-template-columns:1fr 1fr}.market-home-hero .m2m-intro{font-size:16px}}
