/* The homepage hero rhythm, over a softly receding Audience table. */
#main-content{padding-top:64px}
#main-content .audience-hero{max-width:1440px;border:0;padding:0;margin:auto}
#main-content .audience-surface{height:max(680px,calc(100svh - 64px));min-height:0;overflow:hidden;border:0}
#main-content .audience-table{inset:40px 24px 0;opacity:.44;filter:grayscale(1);mask-image:linear-gradient(to bottom,transparent,#000 15%,#000 75%,transparent)}
#main-content .audience-table table{font-size:12px;animation-duration:60s}
#main-content .audience-table td{height:56px;background:#fafafa;border-color:rgba(0,0,0,.09)}
#main-content .audience-white-sheet{background:radial-gradient(ellipse 60% 48% at 50% 35%,#fff 15%,rgba(255,255,255,.96) 42%,rgba(255,255,255,.7) 72%,rgba(255,255,255,.16) 100%)}
#main-content .audience-hero-copy.product-hero-message{position:absolute;left:50%;top:84px;transform:translateX(-50%);width:calc(100% - 48px);max-width:850px;height:auto;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;text-align:center}
#main-content .audience-hero-copy .audience-pill{margin:0;padding:8px 14px;font:400 13px/20px Inter,sans-serif;border:1px solid rgba(0,0,0,.08);border-radius:999px;background:#fff;color:#111}
#main-content .audience-hero-copy.product-hero-message h1{font:450 60px/1.1 Inter,sans-serif;letter-spacing:-.01em;margin:32px 0 0;max-width:100%;text-wrap:balance;color:#111}
#main-content .audience-hero-copy.product-hero-message>p{font:400 18px/1.625 Inter,sans-serif;color:#171717;margin:20px 0 0;max-width:680px}
#main-content .audience-hero-copy.product-hero-message .product-actions{display:flex;justify-content:center;gap:12px;margin-top:36px}
#main-content .audience-hero-copy .product-actions a{padding:12px 20px;min-height:44px;border:0;border-radius:999px;font:500 14px/20px Inter,sans-serif;box-shadow:none}
#main-content .audience-hero-copy .btn-primary{background:#111;color:#fff}
#main-content .audience-hero-copy .btn-secondary{background:#f2f2f2;color:#111}
@media(max-width:1000px) and (min-width:769px){#main-content .audience-hero-copy.product-hero-message h1{font-size:48px}}
@media(max-width:768px){#main-content{padding-top:120px}#main-content .audience-hero-copy.product-hero-message{top:32px}#main-content .audience-hero-copy.product-hero-message h1{font-size:36px}#main-content .audience-surface{height:max(620px,calc(100svh - 120px))}#main-content .audience-table{inset:20px -320px 0}#main-content .audience-white-sheet{background:radial-gradient(ellipse at 50% 35%,#fff 10%,rgba(255,255,255,.94) 40%,rgba(255,255,255,.25) 100%)}}
/* A contained product surface behind the copy, like the homepage globe. */
#main-content .audience-table{inset:auto;top:76px;left:50%;transform:translateX(-50%);width:calc(100% - 112px);max-width:1120px;height:440px;border:1px solid rgba(0,0,0,.16);border-radius:18px;background:#fafafa;opacity:.5;box-shadow:0 8px 40px rgba(0,0,0,.025);mask-image:linear-gradient(to bottom,#000 0%,#000 72%,transparent 100%)}
#main-content .audience-white-sheet{background:radial-gradient(ellipse 48% 42% at 50% 32%,#fff 12%,rgba(255,255,255,.97) 44%,rgba(255,255,255,.68) 72%,rgba(255,255,255,.1) 100%)}
@media(max-width:768px){#main-content .audience-table{top:56px;width:calc(100% - 32px);height:440px;border-radius:14px}#main-content .audience-white-sheet{background:radial-gradient(ellipse at 50% 30%,#fff 8%,rgba(255,255,255,.94) 40%,rgba(255,255,255,.25) 100%)}}
#main-content .audience-table table{table-layout:auto;min-width:1120px}
#main-content .audience-table th{height:40px;font-size:11px}
#main-content .audience-table .staging-brand,#main-content .audience-table .staging-person{display:inline-flex;align-items:center;gap:8px}
#main-content .audience-table a{color:inherit;text-decoration:none;pointer-events:none}

/* Let the audience surface peek in beneath the centred hero copy. */
#main-content .audience-surface{height:auto;min-height:0;display:flex;flex-direction:column;align-items:center;padding-top:84px}
#main-content .audience-hero-copy.product-hero-message{position:relative;top:auto;left:auto;transform:none;order:0;flex-shrink:0}
#main-content .audience-table{position:relative;inset:auto;transform:none;order:1;flex-shrink:0;margin-top:64px;width:calc(100% - 48px);max-width:1232px;height:280px;opacity:.7;filter:grayscale(1);box-shadow:none;mask-image:linear-gradient(to bottom,#000 0%,#000 45%,transparent 100%)}
#main-content .audience-table table{animation:none;transform:none}
#main-content .audience-white-sheet{display:none}
@media(max-width:768px){#main-content .audience-surface{padding-top:32px}#main-content .audience-table{width:calc(100% - 32px);margin-top:48px;height:240px}}
/* Keep the table preview fully visible beneath the hero. */
#main-content .audience-table{opacity:1;filter:none;-webkit-mask-image:none;mask-image:none}

/* Full-size product table: content determines height, not the viewport. */
#main-content .audience-table{height:auto;max-height:none;background:#fff;overflow-x:auto;margin-bottom:64px}
#main-content .audience-table table{height:auto;font-size:14px;background:#fff;will-change:auto}
#main-content .audience-table th{height:48px;font-size:12px;background:#fff}
#main-content .audience-table td{height:56px;background:#fff}

/* Compact, app-native table treatment with quiet field icons and a focused row. */
#main-content .audience-table{border:1px solid #e3e5e8;border-radius:12px;box-shadow:0 0 0 3px rgba(0,0,0,.018);color:#42464d}
#main-content .audience-table table{border-collapse:separate;border-spacing:0;font:400 14px/20px Inter,sans-serif}
#main-content .audience-table th,#main-content .audience-table td{padding:10px 14px;height:44px;border-right:1px solid #f0f1f3;border-bottom:1px solid #eef0f2;vertical-align:middle}
#main-content .audience-table th{height:42px;font-size:13px;font-weight:500;color:#34373d;padding-block:10px}
#main-content .audience-table th:last-child,#main-content .audience-table td:last-child{border-right:0}
#main-content .audience-table tr:last-child td{border-bottom:0}
.audience-field-heading,#main-content .audience-table .staging-agent-heading{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.audience-field-heading svg,#main-content .audience-table .staging-agent-heading svg{flex-shrink:0;color:#93979e}
#main-content .audience-table td img{width:17px;height:17px;margin-right:0;border-radius:4px}
#main-content .audience-table .staging-brand,#main-content .audience-table .staging-person{gap:8px}
#main-content .audience-table .staging-person-avatar{width:20px;height:20px;flex-shrink:0}
#main-content .audience-table td:nth-child(2){font-weight:500;color:#30343a}
#main-content .audience-table td:last-child{color:#8a8e95;font-size:12px}

/* Match the homepage's 80px gap from hero actions to product content. */
@media(min-width:901px){#main-content .audience-table{margin-top:80px}}
@media(min-width:901px) and (max-width:1023px){#main-content .audience-hero-copy.product-hero-message h1{font-size:48px}}

/* Read-only spreadsheet selection and opportunity attributes. */
#main-content .audience-table table{min-width:1200px;outline:none;touch-action:pan-x pan-y}
#main-content .audience-table th:first-child,#main-content .audience-table td:first-child{width:185px}
#main-content .audience-table th:nth-child(2){width:145px}
#main-content .audience-table th:nth-child(3){width:165px}
#main-content .audience-table th:nth-child(4){width:175px}
#main-content .audience-table th:nth-child(5){width:185px}
#main-content .audience-table th:nth-child(6){width:150px}
#main-content .audience-table td{cursor:cell;user-select:none}
#main-content .audience-table td:last-child{font-size:12px;color:#555}
#main-content .audience-table .audience-domain{color:#5279c7}
#main-content .audience-table td.is-selected{background:#eef3fc}
#main-content .audience-table td.is-active{box-shadow:inset 0 0 0 1.5px #88a4da;background:#eef3fc}
#main-content .audience-table td:focus{outline:none}
.opportunity-pill{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border-radius:5px;font:500 11px/16px Inter,sans-serif;white-space:nowrap;background:#f1f2f4;color:#626975}
.opportunity-pill i{width:5px;height:5px;border-radius:50%;background:currentColor}
.opportunity-discovery,.opportunity-booked{color:#5279c7;background:#edf2fc}
.opportunity-qualified,.opportunity-won{color:#3d9271;background:#edf7f1}
.opportunity-proposal,.opportunity-negotiation{color:#997532;background:#faf4e7}
.opportunity-nurture{color:#8568a5;background:#f3eff8}
.opportunity-lost{color:#a36a6a;background:#f9eeee}
