/* Handoff's look for the traffic engine's pages (its markup uses the sa- classes): cream cards on the night gradient, like billing. */
.sa-tabs, .sa-ranges { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.sa-tab, .sa-range { padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(225, 242, 235, .18); color: #b6c9c6; font: 500 12px 'DM Sans', sans-serif; text-decoration: none; min-height: 38px; display: inline-flex; align-items: center; }
.sa-tab:hover, .sa-range:hover { background: rgba(235, 245, 240, .08); }
.sa-tab.active, .sa-range.active { background: #e3e9e1; color: #23403a; border-color: #e3e9e1; }
.sa-tab:focus-visible, .sa-range:focus-visible { outline: 2px solid #72a99c; outline-offset: 2px; }
.sa-section { margin: 38px 0 6px; font: 400 22px 'Newsreader', Georgia, serif; color: #cfe0d6; letter-spacing: -.02em; }
.sa-note, .sa-empty { margin: 4px 0 12px; font-size: 13px; line-height: 1.6; color: #9dbaae; max-width: 70ch; }
.sa-note a { color: #bdd4c6; }
.sa-note code { color: #cfe0d6; }

.sa-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.sa-stat { flex: 1 1 140px; background: #f8f7f1; color: #202c32; border-radius: 14px; padding: 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.sa-stat-label { font: 9px 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #7f8a8b; }
.sa-stat-value { font: 400 30px/1 'Newsreader', Georgia, serif; letter-spacing: -.02em; }
.sa-stat-value.sa-small { font: 500 14px/1.3 'DM Sans', sans-serif; letter-spacing: 0; }

.sa-table-wrap { background: #f8f7f1; color: #202c32; border-radius: 14px; padding: 6px 12px; overflow-x: auto; margin-top: 10px; }
.sa-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sa-table th, .sa-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #e9e8e1; vertical-align: top; font-weight: 400; }
.sa-table thead th { font: 9px 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #7f8a8b; }
.sa-table tbody tr:last-child th, .sa-table tbody tr:last-child td { border-bottom: 0; }
.sa-table tbody th { font-weight: 500; }
.sa-table small { color: #7f8a8b; }
.sa-table a { color: #35574a; }
.sa-table code { font: 12px 'DM Mono', monospace; color: #35574a; overflow-wrap: anywhere; }
.sa-num { text-align: right !important; font-variant-numeric: tabular-nums; }

.sa-funnel, .sa-days { list-style: none; margin: 12px 0 0; padding: 16px 20px; background: #f8f7f1; color: #202c32; border-radius: 14px; display: flex; flex-direction: column; gap: 9px; }
.sa-funnel li { display: grid; grid-template-columns: 15rem 1fr 7.5rem; gap: 14px; align-items: center; font-size: 13px; }
.sa-days li { display: grid; grid-template-columns: 4.5rem 1fr 2.5rem; gap: 14px; align-items: center; font: 12px 'DM Mono', monospace; color: #5f6f6c; }
.sa-funnel-count, .sa-count { text-align: right; font-variant-numeric: tabular-nums; }
.sa-funnel-count small { color: #7f8a8b; }
.sa-bar { width: 100%; height: 12px; border: 0; border-radius: 99px; background: #e9ede6; overflow: hidden; accent-color: #72a99c; }
.sa-bar::-webkit-meter-bar { background: #e9ede6; border: 0; border-radius: 99px; height: 12px; }
.sa-bar::-webkit-meter-optimum-value, .sa-bar::-webkit-meter-suboptimum-value, .sa-bar::-webkit-meter-even-less-good-value { background: #72a99c; border-radius: 99px; }
.sa-bar::-moz-meter-bar { background: #72a99c; border-radius: 99px; }
.sa-trail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sa-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 28px; }
.sa-header { display: none; }
@media (max-width: 640px) { .sa-funnel li { grid-template-columns: 1fr; gap: 4px; } }
