/* Reports share Seed's blue controls, white cards and document-page layout. */
.seed-document-page .journey-reports{width:100%;min-height:100dvh;padding:36px 28px 48px;color:var(--text);line-height:1.6}
.journey-reports>header,.journey-reports>section{max-width:1100px;margin-inline:auto}
.journey-reports .resource-header{align-items:center;margin-bottom:28px;gap:20px}
.journey-reports .resource-header .eyebrow{color:var(--accent);font-weight:700;letter-spacing:.04em;margin-bottom:5px}
.journey-reports .resource-header h1{font-size:28px;line-height:1.25;letter-spacing:-.02em;margin:0 0 8px}
.journey-reports .resource-header p.muted{margin:0;line-height:1.7;color:#647187}
.journey-reports .resource-header>.secondary-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;background:#fff;border:1px solid #dbe1ec;border-radius:10px;flex-shrink:0}
.journey-reports .resource-card{border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 5px 22px #1c315207}
.journey-reports .report-filters{padding:24px;margin-bottom:22px}
.journey-reports .report-filter-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto;gap:16px;align-items:end}
.journey-reports .report-filter-fields label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px;font-weight:650;color:#526078}
.journey-reports .report-filter-fields input[type=date]{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #dbe1ec;border-radius:10px;background:#fff;font:inherit;font-size:14px;color:#24354d;direction:ltr;text-align:start}
.journey-reports .report-filter-fields input[type=submit]{min-height:46px;justify-self:stretch;padding:10px 22px;border-radius:10px;font-size:13px;box-shadow:0 3px 7px #315efb16}
.journey-reports .report-filter-fields>.secondary-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 15px;border:1px solid #dbe1ec;border-radius:10px;background:#f7f9fd;text-align:center}
.journey-reports .report-quick-periods{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px;padding-top:18px;border-top:1px solid #edf0f5}
.journey-reports .report-quick-periods .secondary-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #dfe6f4;border-radius:9px;background:#f5f8ff;color:#46649d;font-size:12px;text-decoration:none}
.journey-reports .secondary-link:hover{background:#edf2ff;border-color:#bdcbee}
.journey-reports :is(a,input):focus-visible{outline:3px solid #93adff;outline-offset:3px}
.journey-reports .report-help{font-size:12px;line-height:1.85;margin:12px 0 0;color:#647187}
.journey-reports .report-error{color:#a52828;background:#fff0ee;border:1px solid #f4d6d2;padding:12px 15px;border-radius:10px;margin-bottom:0}
.journey-reports .telegram-message-report{position:relative;margin-bottom:22px;padding:26px 28px;border-color:#d8e6e1;background:linear-gradient(120deg,#f3fbf7 0%,#fff 75%)}
.journey-reports .telegram-report-heading{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center}
.journey-reports .telegram-report-heading>div{min-width:0}
.journey-reports .telegram-report-heading .eyebrow{color:#5b796d;font-size:11px;font-weight:650;margin-bottom:6px}
.journey-reports .telegram-report-heading h2{margin:0;font-size:20px;line-height:1.5;letter-spacing:-.015em;color:#254b3b}
.journey-reports .telegram-report-period{font-size:12px;direction:ltr;unicode-bidi:isolate;white-space:nowrap;background:#fff;border:1px solid #e0ebe5;border-radius:8px;padding:8px 12px;margin:0;color:#536e61;font-variant-numeric:tabular-nums}
.journey-reports .telegram-report-total{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin:26px 0 22px;padding-bottom:22px;border-bottom:1px solid #dfebe5;color:#216347}
.journey-reports .telegram-report-total strong{font-size:clamp(42px,6vw,64px);line-height:1.1;font-weight:750;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.journey-reports .telegram-report-total span{font-size:14px;line-height:1.8;color:#526c5f}
.journey-reports .telegram-report-history{font-size:12px;line-height:1.85;margin:18px 0 0;padding:13px 16px;border:1px solid #e4e9ed;border-radius:10px;background:#f6f8fa;color:#647187}
.journey-reports .stage-report{padding:26px 28px}
.journey-reports .stage-report h2{font-size:19px;margin:0 0 6px;letter-spacing:-.015em}
.journey-reports .stage-report>p.muted{margin-top:0}
.journey-reports .report-period-total{font-size:13px;line-height:1.8;margin:20px 0;background:#f3f6ff;border:1px solid #e1e8fa;border-radius:10px;padding:12px 16px;color:#4c6089}
.journey-reports .report-period-total strong{font-size:22px;color:#315efb;font-variant-numeric:tabular-nums;margin-inline-end:6px}
.journey-reports .report-table-scroll{width:100%;overflow-x:auto;border:1px solid #e7ecf4;border-radius:11px;margin:18px 0 20px;overscroll-behavior-x:contain}
.journey-reports .journey-report-table{width:100%;border-collapse:collapse;margin:0;text-align:start}
.journey-reports .journey-report-table th,.journey-reports .journey-report-table td{padding:16px 18px;border-bottom:1px solid #edf0f5;text-align:start;line-height:1.6}
.journey-reports .journey-report-table thead{background:#f6f8fc;color:#61718c}
.journey-reports .journey-report-table thead th{font-size:11px;font-weight:650;width:33.333%}
.journey-reports .journey-report-table tbody th{font-size:13px;font-weight:550;color:#35445e}
.journey-reports .journey-report-table tbody tr:last-child>*{border-bottom:0}
.journey-reports .journey-report-table tbody tr:hover{background:#fafbfe}
.journey-reports .journey-report-table td{font-size:23px;font-weight:650;font-variant-numeric:tabular-nums;color:#315efb}
.journey-reports .journey-report-table td.stage-current-count{color:#526078}
.journey-reports .journey-report-table small{font-size:10px;font-weight:400;color:#7a879b}
.journey-reports .report-empty{padding:14px 16px;background:#f6f8fb;border:1px dashed #dce4ee;border-radius:10px;color:#647187;font-size:13px}
.journey-reports .report-overview-heading{font-size:18px;margin:30px 0 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.journey-reports .report-overview-heading small{font-size:10px;font-weight:500;color:#66758b;padding:3px 8px;background:#eaf0f8;border-radius:6px;margin:0}
.seed-document-page .journey-reports .metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:0}
.journey-reports .metric-card{position:relative;min-width:0;border:1px solid #e2e8f2;border-radius:14px;padding:20px;background:#fff;box-shadow:0 4px 16px #1c315204}
.journey-reports .metric-card::before{content:"";display:block;width:24px;height:4px;border-radius:3px;background:#8099ed;margin-bottom:16px}
.journey-reports .metric-card:nth-child(2)::before{background:#5ca888}
.journey-reports .metric-card:nth-child(3)::before{background:#aa8ccc}
.journey-reports .metric-card:nth-child(4)::before{background:#c1a067}
.journey-reports .metric-card span{font-size:12px;line-height:1.7;color:#647187}
.journey-reports .metric-card strong{font-size:30px;line-height:1.3;margin-top:10px;font-variant-numeric:tabular-nums;color:#263c62}
@media(max-width:850px){
 .journey-reports .report-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .seed-document-page .journey-reports .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .seed-document-page .journey-reports{padding:24px 16px 36px}
 .journey-reports .resource-header{gap:16px;align-items:flex-start;margin-bottom:22px}
 .journey-reports .resource-header h1{font-size:25px}
 .journey-reports .resource-header>.secondary-link{font-size:12px;min-height:44px;padding:10px 12px}
 .journey-reports .report-filters,.journey-reports .stage-report,.journey-reports .telegram-message-report{padding:20px 16px;border-radius:14px}
 .journey-reports .report-filter-fields{gap:14px 10px}
 .journey-reports .report-filter-fields input[type=submit]{width:100%;padding:10px;font-size:12px}
 .journey-reports .report-filter-fields>.secondary-link{font-size:12px;padding:10px}
 .journey-reports .report-quick-periods{gap:8px;margin-top:16px;padding-top:16px}
 .journey-reports .report-quick-periods .secondary-link{flex:1 1 auto;padding:8px 10px;min-height:44px}
 .journey-reports .telegram-report-heading h2{font-size:19px}
 .journey-reports .telegram-report-period{font-size:11px;padding:7px 9px}
 .journey-reports .telegram-report-total{align-items:flex-start;flex-direction:column;margin:22px 0 18px;padding-bottom:18px;gap:10px}
 .journey-reports .telegram-report-total span{font-size:13px}
 .journey-reports .telegram-report-history{padding:12px;line-height:1.9}
 .journey-reports .journey-report-table th,.journey-reports .journey-report-table td{padding:12px 9px}
 .journey-reports .journey-report-table thead th{font-size:10px}
 .journey-reports .journey-report-table tbody th{font-size:12px}
 .journey-reports .journey-report-table td{font-size:20px}
 .seed-document-page .journey-reports .metric-grid{gap:10px}
 .journey-reports .metric-card{padding:16px 13px}
 .journey-reports .metric-card strong{font-size:27px}
 .journey-reports .metric-card span{font-size:11px}
}

html[dir="rtl"] .journey-reports .stage-report>p.muted{direction:ltr;text-align:right;unicode-bidi:isolate}
