:root {
  --ink: #10203b;
  --muted: #60708c;
  --line: #dbe3ef;
  --surface: #ffffff;
  --canvas: #f4f7fb;
  --blue: #225bdb;
  --blue-dark: #1746b1;
  --blue-soft: #eaf1ff;
  --green: #17884f;
  --green-soft: #e7f8ef;
  --amber: #9b6500;
  --amber-soft: #fff4d8;
  --red: #ad2735;
  --red-soft: #ffedf0;
  --shadow: 0 18px 55px rgba(35, 58, 98, .09);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
.site-header { height: 72px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: white; font-size: 13px; letter-spacing: .02em; }
.test-badge { padding: 7px 11px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; }
footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.03; letter-spacing: -.055em; margin-bottom: 22px; }
h2 { font-size: 25px; line-height: 1.15; letter-spacing: -.035em; margin-bottom: 12px; }
.eyebrow, .small-label { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.lead { max-width: 690px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.muted { color: var(--muted); }
.centered-page main { min-height: calc(100vh - 190px); display: grid; place-items: center; }
.auth-card, .success-card, .home-card { width: min(560px, 100%); padding: clamp(30px, 5vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1, .success-card h1, .home-card h1 { margin-top: 9px; font-size: clamp(34px, 5vw, 52px); }
.auth-card form { display: grid; gap: 17px; margin-top: 28px; }
.success-card { text-align: center; }
.success-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: var(--green-soft); color: var(--green); font-size: 28px; font-weight: 900; }
.home-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 750; }
input, select { min-height: 52px; width: 100%; padding: 0 15px; color: var(--ink); background: #fbfcff; border: 1px solid #cbd6e6; border-radius: 12px; outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34,91,219,.12); }
.button { min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 800; transition: .16s ease; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 8px 22px rgba(34,91,219,.2); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--ink); background: white; border-color: var(--line); }
.button-danger { color: var(--red); background: white; border-color: #efcbd1; box-shadow: none; }
.button-danger:hover { background: var(--red-soft); }
.button-small { min-height: 34px; padding: 0 11px; border-radius: 9px; font-size: 12px; }
.button-whatsapp { color: white; background: #159447; box-shadow: 0 8px 22px rgba(21,148,71,.2); }
.button-whatsapp:hover { color: white; background: #0f7f3b; }
.button-quiet { min-height: 40px; color: var(--muted); background: transparent; }
.button-large { width: 100%; min-height: 56px; font-size: 17px; }
.flash { max-width: 720px; margin: 0 auto 20px; padding: 14px 17px; border-radius: 12px; font-weight: 700; }
.flash-error { color: var(--red); background: var(--red-soft); }
.flash-success { color: var(--green); background: var(--green-soft); }
.landing-hero { padding: clamp(24px, 6vw, 72px) 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: clamp(44px, 8vw, 110px); align-items: center; }
.hero-copy h1 { margin-top: 12px; }
.benefits { padding: 0; margin: 34px 0 0; list-style: none; display: grid; gap: 14px; }
.benefits li { position: relative; padding-left: 30px; font-weight: 700; }
.benefits li:before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.signup-card { padding: clamp(28px, 4vw, 42px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.signup-card h2 { margin-top: 8px; font-size: 32px; }
.signup-card > p, .signup-card small { color: var(--muted); }
.signup-card form { display: grid; gap: 15px; margin-top: 26px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 18px 34px; padding: 22px 28px; border: 1px solid var(--line); background: rgba(255,255,255,.7); border-radius: 16px; color: var(--muted); font-size: 14px; font-weight: 750; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
.page-heading h1 { margin: 7px 0 10px; font-size: clamp(38px, 5vw, 58px); }
.page-heading p { color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.metric-grid article { min-height: 154px; padding: 24px; border: 1px solid var(--line); background: var(--surface); border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 9px 30px rgba(35,58,98,.05); }
.metric-grid article > span { color: var(--muted); font-size: 13px; font-weight: 750; }
.metric-grid strong { display: block; margin: 10px 0 0; font-size: 42px; line-height: 1; letter-spacing: -.05em; }
.metric-grid small { color: var(--muted); }
.metric-grid .metric-primary { background: var(--ink); color: white; border-color: var(--ink); }
.metric-grid .metric-primary span, .metric-grid .metric-primary small { color: #bdc9dc; }
.share-card { margin-bottom: 20px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: var(--blue-soft); border: 1px solid #ceddff; display: grid; grid-template-columns: 1fr minmax(360px, .8fr); align-items: center; gap: 36px; }
.share-card p { margin-bottom: 0; color: var(--muted); }
.copy-box { padding: 8px; display: flex; align-items: center; gap: 10px; background: white; border: 1px solid #cbd9f7; border-radius: 14px; }
.copy-box code { min-width: 0; padding: 0 10px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
.panel { padding: 26px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); box-shadow: 0 9px 30px rgba(35,58,98,.05); }
.panel form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px 16px; }
.panel-heading h2 { margin-bottom: 4px; }
.panel-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.table-panel { padding: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px 22px; border-top: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); background: #f8faff; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
td { font-size: 14px; }
.empty { padding: 42px 24px; text-align: center; color: var(--muted); }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-confirmed, .status-ok { background: var(--green-soft); color: var(--green); }
.status-pending, .status-warn { background: var(--amber-soft); color: var(--amber); }
.status-existing, .status-duplicate, .status-self, .status-rejected, .status-bounced, .status-complained, .status-unsubscribed { background: #eef1f6; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; margin-bottom: 20px; }
.integration dl { margin: 0; }
.integration dl div { padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.integration dl div:last-child { border-bottom: 0; }
.integration dt { color: var(--muted); }
.integration dd { margin: 0; font-weight: 800; }
.share-hub { width: min(620px, 100%); padding: clamp(32px, 6vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.share-hub h1 { margin: 10px 0 18px; font-size: clamp(38px, 6vw, 58px); }
.share-hub > p { color: var(--muted); }
.share-actions { display: grid; gap: 12px; margin: 30px 0 22px; }
.share-note { margin-bottom: 0; font-size: 13px; }
.share-note code { display: block; max-width: 100%; margin-top: 8px; padding: 9px 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: 10px; background: var(--canvas); color: var(--muted); }
.heading-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; }
.heading-actions form { display: inline-flex; }
.admin-tabs { padding: 4px; display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 9px 30px rgba(35,58,98,.05); }
.admin-tab { min-height: 40px; padding: 0 15px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; font-weight: 800; }
.admin-tab:hover { color: var(--ink); background: var(--canvas); text-decoration: none; }
.admin-tab.active { color: white; background: var(--blue); box-shadow: 0 7px 18px rgba(34,91,219,.2); }
.growth-shell { width: min(1500px, 100%); margin: 0 auto; }
.growth-filter { margin-bottom: 16px; padding: 14px; display: grid; grid-template-columns: minmax(220px, 1fr) 190px 190px auto auto; align-items: end; gap: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 9px 30px rgba(35,58,98,.05); }
.growth-filter > div { padding: 2px 8px; display: flex; flex-direction: column; justify-content: center; }
.growth-filter > div strong { font-size: 14px; }
.growth-filter > div span { color: var(--muted); font-size: 13px; }
.growth-filter label span { color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.growth-filter input { min-height: 44px; }
.growth-filter .button { min-height: 44px; white-space: nowrap; }
.growth-metrics article { min-height: 142px; }
.growth-metrics strong { font-size: clamp(30px, 3.2vw, 46px); }
.growth-metrics .negative-value { color: var(--red); }
.renewal-panel { margin-bottom: 20px; padding: 24px 26px 22px; }
.renewal-panel .section-title { margin-bottom: 16px; }
.renewal-period { padding: 7px 10px; border-radius: 999px; color: var(--muted); background: var(--canvas); font-size: 12px; font-weight: 800; white-space: nowrap; }
.renewal-summary { margin-bottom: 20px; display: grid; grid-template-columns: .65fr .65fr .65fr 1.55fr; gap: 10px; }
.renewal-summary article { min-height: 94px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; justify-content: center; background: #fbfcff; }
.renewal-summary article > span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.renewal-summary article > strong { margin-top: 4px; font-size: 27px; line-height: 1; }
.renewal-summary article > small { margin-top: 6px; color: var(--muted); font-size: 11px; }
.renewal-summary .renewal-primary { border-color: #b9cdfc; background: var(--blue-soft); }
.renewal-summary .renewal-primary > strong { color: var(--blue); }
.renewal-summary .negative-value { color: var(--red); }
.audience-age { padding-top: 17px; border-top: 1px solid var(--line); }
.audience-age-heading { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.audience-age-heading strong { font-size: 14px; }
.audience-age-heading span { color: var(--muted); font-size: 12px; }
.audience-age-bar { height: 13px; overflow: hidden; display: flex; border-radius: 999px; background: #eef1f6; }
.audience-age-bar span { height: 100%; display: block; }
.age-new { background: var(--blue); }
.age-recent { background: #638df0; }
.age-established { background: var(--green); }
.age-veteran { background: #6d7a91; }
.age-unknown { background: #c5ccd8; }
.audience-age-legend { margin-top: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.audience-age-legend > div { min-width: 0; display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.audience-age-legend i { width: 8px; height: 8px; border-radius: 3px; }
.audience-age-legend span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.audience-age-legend strong { font-size: 12px; }
.audience-age-legend small { grid-column: 2 / 4; color: var(--muted); font-size: 10px; }
.referral-funnel, .member-referral-funnel { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.referral-funnel article { position: relative; }
.referral-funnel article:not(:last-child):after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -14px; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transform: translateY(-50%); background: var(--surface); color: var(--blue); font-weight: 900; }
.acquisition-panel { margin-bottom: 20px; padding: 24px 26px 20px; }
.acquisition-panel .section-title { margin-bottom: 14px; }
.acquisition-panel .section-title small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.acquisition-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; color: var(--muted); font-size: 12px; font-weight: 750; }
.acquisition-legend span { display: inline-flex; align-items: center; gap: 6px; }
.acquisition-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.legend-referral, .acquisition-referral { background: var(--green); }
.legend-direct, .acquisition-direct { background: var(--blue); }
.acquisition-chart { height: 184px; padding-top: 8px; display: flex; align-items: stretch; gap: clamp(3px, .55vw, 9px); border-bottom: 1px solid var(--line); }
.acquisition-column { min-width: 0; flex: 1; display: grid; grid-template-rows: 18px 1fr 24px; align-items: end; text-align: center; }
.acquisition-value { color: var(--muted); font-size: 10px; line-height: 1; }
.acquisition-track { height: 126px; display: flex; align-items: flex-end; justify-content: center; }
.acquisition-stack { width: min(100%, 24px); min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 5px 5px 2px 2px; background: var(--blue-soft); }
.acquisition-stack span { width: 100%; display: block; }
.acquisition-direct { min-height: 1px; flex: 1; }
.acquisition-column small { padding-top: 7px; overflow: hidden; color: var(--muted); font-size: 9px; white-space: nowrap; }
.growth-table table { min-width: 900px; }
.growth-table td:nth-child(3), .growth-table td:nth-child(4), .growth-table td:nth-child(5), .growth-table td:nth-child(6) { font-variant-numeric: tabular-nums; }
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.row-delete-form { display: inline-flex !important; }
.commerce-shell { width: min(1500px, 100%); margin: 0 auto; }
.commerce-metrics strong { font-size: clamp(27px, 3vw, 42px); }
.source-overview { margin-bottom: 20px; padding: 24px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 9px 30px rgba(35,58,98,.05); }
.section-title { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-title h2 { margin-bottom: 5px; }
.section-title p { margin: 0; color: var(--muted); font-size: 14px; }
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.source-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcff; }
.source-card > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.source-card p { margin: 15px 0 3px; color: var(--muted); }
.source-card p b { color: var(--ink); }
.source-card small { color: var(--muted); }
.commerce-table-heading { align-items: stretch; flex-direction: column; }
.commerce-table-heading > div { min-width: 260px; }
.filter-form { width: 100%; display: grid !important; grid-template-columns: minmax(210px, 1.4fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(125px, .75fr) minmax(165px, 1fr) 82px auto auto !important; gap: 8px !important; align-items: center !important; }
.filter-form input, .filter-form select { min-height: 44px; padding: 0 12px; font-size: 13px; }
.filter-form .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.date-filter { min-height: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.date-filter span { padding-left: 11px; color: var(--muted); font-size: 11px; font-weight: 800; }
.date-filter input { min-width: 0; padding-left: 7px; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.filter-reset { white-space: nowrap; }
.commerce-table table { min-width: 1250px; }
.cell-note { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.store-list { display: flex; flex-wrap: wrap; gap: 5px; }
.store-chip { display: inline-flex; padding: 4px 7px; border-radius: 8px; color: var(--blue-dark); background: var(--blue-soft); font-size: 11px; font-weight: 800; }
.tree-shell { width: min(1500px, 100%); margin: 0 auto; }
.tree-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tree-metrics strong { font-size: clamp(26px, 3vw, 42px); }
.tree-panel { overflow: hidden; }
.tree-legend { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 0 26px 18px; color: var(--muted); font-size: 13px; }
.tree-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.legend-green { background: var(--green); }
.legend-amber { background: var(--amber); }
.legend-gray { background: #a8b2c2; }
.tree-wrap { padding: 0 26px 28px; overflow-x: auto; }
.referral-tree, .tree-children { margin: 0; padding: 0; list-style: none; }
.referral-tree { min-width: 760px; display: grid; gap: 14px; }
.tree-children { position: relative; margin: 10px 0 0 28px; padding-left: 27px; display: grid; gap: 10px; border-left: 2px solid var(--line); }
.tree-item { position: relative; }
.tree-children > .tree-item:before { content: ""; position: absolute; top: 29px; left: -27px; width: 25px; border-top: 2px solid var(--line); }
.tree-branch > details > summary { list-style: none; cursor: pointer; }
.tree-branch > details > summary::-webkit-details-marker { display: none; }
.tree-branch > details > summary:before { content: "+"; position: absolute; z-index: 2; top: 18px; left: 13px; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; background: white; color: var(--blue); font-weight: 900; }
.tree-branch > details[open] > summary:before { content: "−"; }
.tree-node-main { min-height: 62px; padding: 10px 14px 10px 50px; border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: center; gap: 14px; background: white; }
.tree-leaf > .tree-node-main { padding-left: 16px; }
.tree-person, .tree-purchase { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tree-person strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-person span, .tree-purchase small { color: var(--muted); font-size: 12px; }
.tree-person code { color: var(--ink); }
.tree-state { display: flex; align-items: center; }
.tree-purchase { align-items: flex-start; }
.tree-direct-count { position: absolute; top: 21px; right: 14px; color: var(--muted); font-size: 12px; font-weight: 800; }
.tree-branch > details > summary .tree-node-main { padding-right: 96px; }
.purchase { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 850; }
.purchase-yes { color: var(--green); background: var(--green-soft); }
.purchase-existing { color: var(--amber); background: var(--amber-soft); }
.purchase-no { color: var(--muted); background: #eef1f6; }
.status-root { color: var(--blue); background: var(--blue-soft); }
.tree-empty { padding: 46px 20px; text-align: center; color: var(--muted); }

@media (max-width: 900px) {
  .landing-hero, .share-card, .admin-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .copy-box { min-width: 0; }
  .tree-metrics { grid-template-columns: repeat(2, 1fr); }
  .source-grid { grid-template-columns: 1fr; }
  .renewal-summary { grid-template-columns: 1fr 1fr; }
  .audience-age-legend { grid-template-columns: 1fr 1fr; }
  .growth-filter { grid-template-columns: 1fr 1fr; }
  .growth-filter > div { grid-column: 1 / -1; }
  .referral-funnel article:after { display: none !important; }
  .filter-form { grid-template-columns: 1fr 1fr 1fr 1fr !important; }
}

@media (max-width: 620px) {
  main { width: min(100% - 24px, 1240px); padding-top: 28px; }
  footer { width: min(100% - 24px, 1240px); flex-direction: column; }
  .site-header { height: 64px; padding: 0 14px; }
  .landing-hero { padding-top: 18px; gap: 30px; }
  .signup-card { padding: 25px 20px; }
  .trust-strip { flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-grid article { min-height: 132px; padding: 18px; }
  .metric-grid strong { font-size: 34px; }
  .share-card { padding: 24px 18px; }
  .copy-box { align-items: stretch; flex-direction: column; }
  .panel form { grid-template-columns: 1fr; }
  .page-heading { flex-direction: column; }
  .heading-actions { width: 100%; justify-content: stretch; }
  .admin-tabs { width: 100%; }
  .admin-tab { min-width: 0; padding: 0 9px; flex: 1; }
  .heading-actions .button { flex: 1; }
  .heading-actions form { flex: 1; }
  .heading-actions form .button { width: 100%; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .renewal-panel { padding: 20px 16px; }
  .renewal-summary { grid-template-columns: 1fr 1fr; }
  .renewal-summary .renewal-primary { grid-column: 1 / -1; }
  .audience-age-legend { grid-template-columns: 1fr; }
  .acquisition-panel { padding: 20px 16px 16px; }
  .acquisition-chart { gap: 2px; }
  .acquisition-value { display: none; }
  .acquisition-column { grid-template-rows: 1fr 24px; }
  .growth-filter { grid-template-columns: 1fr; }
  .growth-filter > div { grid-column: auto; }
  .filter-form { grid-template-columns: 1fr !important; }
  th, td { padding: 14px 16px; }
}
