/* Scoped screen 3 from the approved HTML: cream panels, pill navigation and rounded cards. */
body.discovery-open{background:#fff8ee;padding-bottom:0}body.discovery-open>.validated-home,body.discovery-open>main{display:none}#businessDiscovery[hidden]{display:none!important}#businessDiscovery{color:#352116;background:#fff8ee;min-height:100dvh}.discovery-frame{max-width:960px;margin:auto;padding:18px 24px 40px}.discovery-header{display:flex;align-items:center;gap:20px;margin-bottom:30px}.discovery-header>img{width:140px;height:auto}.discovery-header>div{margin-left:auto;display:flex;gap:8px}.discovery-header button{background:none;padding:8px;min-width:42px;min-height:42px;font-size:25px}.discovery-header .icon{width:22px;height:22px}
#businessDiscovery h1{font-size:clamp(27px,4vw,36px);letter-spacing:-1.1px;line-height:1.08;margin:0 0 22px;color:#291b12}#businessDiscovery .pillnav{display:flex;gap:4px;margin:16px 0 20px;padding:4px;background:#f4eee7;border-radius:30px}#businessDiscovery .pillnav button{flex:1;background:transparent;border:0;padding:11px 12px;border-radius:30px;font-size:14px;white-space:nowrap;min-height:42px}#businessDiscovery .pillnav button.active{background:#547c36;color:white;font-weight:750}
.match-filters{display:flex;align-items:end;gap:18px;margin:0 0 16px}.match-filters>label:first-child{flex:1;margin:0}.match-filters label>span{font-size:12px;display:block;margin-bottom:5px}.match-filters select{width:100%;border:1px solid #e3d8ca;border-radius:14px;background:#fffdf8;font-size:16px;padding:10px;color:#352116}.match-check{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.45;margin:10px 0}.match-check input{accent-color:#547c36;width:18px;height:18px;flex:0 0 18px}.match-preferences{font-size:13px;margin:0 0 20px;color:#65584b}.match-preferences summary{cursor:pointer;min-height:30px}.match-notice{background:#f0f4e8;border-radius:16px;padding:15px;font-size:13px;line-height:1.5}.matchList{display:grid;gap:14px}.matchcard{display:flex;align-items:flex-start;position:relative;gap:16px;padding:20px 40px 20px 18px;border:1px solid #eadfce;background:#fffdf9;border-radius:22px;box-shadow:0 5px 14px #765a3710}.match-avatar{width:88px;height:88px;flex:0 0 88px;border-radius:50%;object-fit:cover}.match-avatar.initials{display:grid;place-items:center;background:#e4ead8;color:#52703c;font-weight:750;font-size:25px}.match-copy{flex:1;min-width:0}.matchcard h3{font-size:18px;line-height:1.2;margin:0 0 5px;color:#291b12;overflow-wrap:anywhere}.matchcard p{margin:4px 0;color:#665f57;font-size:13px;line-height:1.45}.match-tags{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0}.match-tags span{display:inline-block;background:#f7efe3;border-radius:20px;padding:5px 8px;font-size:11px;overflow-wrap:anywhere}.match-actions{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0 0}.match-outline,.match-green{border:1px solid #628b43;background:#fffdf9;color:#3c6128;border-radius:26px;padding:10px 17px;font-size:14px;min-height:42px;line-height:1.2}.match-green{background:#547c36;color:#fff;font-weight:700}.match-actions button{flex:1}.match-green:disabled{opacity:.55;cursor:not-allowed}.match-heart{position:absolute;top:12px;right:10px;border:0;background:#fffdf5e8;width:32px;height:32px;min-height:32px;padding:0;border-radius:50%;font-size:25px;color:#493023;display:grid;place-items:center}.match-heart[aria-pressed=true]{color:#d96643}.match-reason{background:#f1f5eb;border-radius:10px;padding:8px;color:#466338!important;font-size:12px!important}.match-opportunities{margin-top:27px}.match-section-heading{display:flex;align-items:center;justify-content:space-between;font-size:20px;line-height:1.25;margin:24px 0 14px;color:#291b12}.match-section-heading button{background:none;font-size:22px;padding:8px}
#businessDiscovery .opportunities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#businessDiscovery .oppCard{overflow:hidden;border:1px solid #eadfce;background:#fffdf9;border-radius:22px;box-shadow:0 5px 14px #765a3710;padding:0}.opp-photo{position:relative}.opp-photo>button:not(.match-heart){display:block;width:100%;padding:0;border:0;background:none}.oppCard img{display:block;height:180px;width:100%;object-fit:cover}.oppCard .oppText{padding:14px}.oppCard h3{margin:0;font-size:16px;line-height:1.25;overflow-wrap:anywhere}.oppCard h3 button{padding:0;border:0;background:none;font:inherit;text-align:left}.oppCard p{font-size:13px;margin:7px 0 0;color:#665f57}.opp-no-photo{height:150px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:#efe8dc;color:#8a7965;font-size:12px}.opp-no-photo .icon{width:35px;height:35px}.match-empty{background:#fffcf6;border:1px solid #eadfce;padding:25px;border-radius:22px;text-align:center}.match-empty>span{font-size:28px;color:#668548}.match-empty h3{font-size:18px;margin:10px 0}.match-empty p{font-size:14px;line-height:1.5;margin:0;color:#73695e}.match-muted{font-size:12px;color:#73695e}.match-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px;padding-top:20px;border-top:1px solid #e7dccd}.match-footer button{background:#f5eee3;border-radius:25px;font-size:13px;min-height:44px}.match-profile-detail{background:#fffaf2;color:#352116;border-radius:24px;padding:20px}.match-profile-detail h2{font-size:27px}.match-profile-detail h3{font-size:17px}.match-detail-text{white-space:pre-wrap;overflow-wrap:anywhere}.match-profile-detail .match-avatar{display:grid;margin-bottom:15px}#matchError{font-size:14px;color:#a34427}#businessDiscovery :focus-visible{outline:2px solid #bf6748;outline-offset:3px}
@media(min-width:850px){.matchList{grid-template-columns:1fr 1fr}.matchcard{gap:12px}.matchcard .match-avatar{width:64px;height:64px;flex-basis:64px}.match-actions button{padding:10px 12px}.match-opportunities .opportunities{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.discovery-frame{padding:16px 16px 30px}.discovery-header{margin-bottom:24px;gap:12px}.discovery-header>img{width:125px}#businessDiscovery h1{font-size:27px}#businessDiscovery .pillnav button{font-size:12px;padding:9px 4px}.matchcard{gap:11px;padding:17px 31px 17px 13px}.match-avatar{width:64px;height:64px;flex-basis:64px}.matchcard h3{font-size:16px}.matchcard p{font-size:12px}.match-actions{gap:6px}.match-actions button{padding:9px 10px;font-size:12px}.match-heart{right:5px;top:9px;width:27px;height:29px;font-size:23px}.match-section-heading{font-size:18px}.oppCard img{height:132px}.oppCard .oppText{padding:12px}.oppCard h3{font-size:14px}.match-filters{gap:10px}.match-filters .match-check{max-width:110px}.match-profile-detail{padding:12px}}
@media(prefers-reduced-motion:reduce){#businessDiscovery *{scroll-behavior:auto!important}}
