.design-preview .stats-shell{max-width:1276px;margin:0 auto;padding:28px 48px 48px}
.stats-owner-tabs{display:flex;gap:28px;border-bottom:1px solid #dcd8e6;margin:0 0 28px;font-size:16px;line-height:24px}.stats-owner-tabs a{display:flex;align-items:center;min-height:48px;color:#686475;text-decoration:none;border-bottom:2px solid transparent}.stats-owner-tabs a[aria-current]{color:#7654a5;border-color:#7654a5}.stats-owner-tabs a:hover{color:#7654a5}.blog-owner .stats-owner-tabs{margin-top:24px}
.stats-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 24px}.design-preview .stats-heading h1{font-size:clamp(28px,3vw,40px);line-height:1.2;margin:0 0 10px}.stats-heading p{margin:0;color:#686475;font-size:16px;line-height:1.5}.stats-quick{display:flex;flex-wrap:wrap;gap:8px}.stats-quick a{padding:10px 14px;min-height:44px;border:1px solid #dcd8e6;border-radius:10px;color:#686475;text-decoration:none;font-size:14px;line-height:22px;white-space:nowrap}.stats-quick a[aria-current]{background:#e9e4f0;color:#65438f;border-color:#c7b7dc}.stats-custom>summary,.stats-explanation>summary{cursor:pointer;color:#7654a5;font-size:14px;line-height:24px;min-height:44px;padding:10px 0}.stats-period{display:flex;align-items:end;gap:12px;margin:8px 0 20px}.stats-period>div{min-width:0}.stats-period label{display:block;margin:0 0 6px;font-size:14px}.stats-period input{font:inherit;width:180px;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #d8d3e3;border-radius:10px;background:#fff;color:#322d40;box-sizing:border-box}.design-preview .stats-period .button{min-height:44px;padding:10px 24px;font-size:16px;line-height:24px;margin:0}
.stats-range{color:#686475;font-size:14px;margin:8px 0 16px}.stats-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid #dcd8e6;padding:24px 0}.stats-total{display:flex;flex-direction:column;padding:0 24px;gap:8px;border-left:1px solid #dcd8e6}.stats-total:first-child{padding-left:0;border:0}.stats-total span{font-size:16px;line-height:24px}.stats-total strong{font-size:36px;line-height:1.2;font-variant-numeric:tabular-nums}.stats-total small,.stats-note{color:#686475;font-size:13px;line-height:1.6}.stats-note{margin:14px 0;max-width:84ch}
.stats-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;margin-top:32px}.design-preview .stats-section h2{font-size:22px;line-height:1.3;margin:0 0 18px}.stats-table-wrap{overflow:auto;max-height:420px;border-top:1px solid #dcd8e6}.stats-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.stats-table th,.stats-table td{padding:12px 10px;text-align:right;border-bottom:1px solid #ded9e7}.stats-table th:first-child{text-align:left;padding-left:0}.stats-table thead th{position:sticky;top:0;background:#f7f5fa;font-weight:500;color:#686475;z-index:1}.stats-table tbody th{font-weight:400}/* A shared table header keeps both counters aligned across article rows. */
.stats-articles{border-top:1px solid #ded9e7;max-height:420px;overflow:auto;scrollbar-gutter:stable}
.stats-articles-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.stats-articles-table .stats-period-col{width:84px}.stats-articles-table .stats-total-col{width:64px}
.stats-articles-table th,.stats-articles-table td{padding:12px 8px;border-bottom:1px solid #ded9e7;vertical-align:middle}
.stats-articles-table thead th{position:sticky;top:0;z-index:1;background:#f7f5fa;color:#686475;font-size:12px;line-height:18px;font-weight:500;text-align:right;white-space:nowrap}
.stats-articles-table th:first-child{padding-left:0;text-align:left}
.stats-articles-table tbody th{font-weight:400;min-width:0}
.stats-articles-table td{text-align:right;color:#322d40;font-size:18px;line-height:24px;font-weight:600;overflow-wrap:anywhere}
.stats-article-link{display:flex;align-items:center;gap:12px;min-width:0;color:#65438f;text-decoration:none}
.stats-article-link:hover .stats-article-title{text-decoration:underline;text-underline-offset:3px}
.stats-article-link:focus-visible{outline:2px solid #7654a5;outline-offset:4px;border-radius:6px}
.stats-article-link img,.stats-article-placeholder{display:block;width:56px;height:40px;flex:0 0 56px;object-fit:cover;border-radius:6px;background:#e9e4f0}
.stats-article-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:20px}
.stats-explanation{margin-top:24px;border-top:1px solid #ded9e7}.stats-explanation p{font-size:14px;line-height:1.6;color:#686475;max-width:90ch}
.design-preview .stats-cover-views{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;padding:3px 8px;background:#faf8faf0;border-radius:4px;font-size:.8125rem;line-height:1.4;color:#554b63;font-variant-numeric:tabular-nums}.stats-cover-views svg{width:16px;height:16px;flex-shrink:0}
@media(max-width:1000px){.stats-heading{align-items:start;flex-direction:column;gap:16px}.stats-columns{grid-template-columns:1fr;gap:28px}.stats-articles{max-height:none}}
@media(max-width:760px){.design-preview .stats-shell{padding:20px 16px 32px}.stats-owner-tabs{margin-bottom:24px;gap:24px}.stats-heading{margin-bottom:14px}.stats-totals{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 0;gap:20px 16px}.stats-total{padding:0;gap:6px;border:0}.stats-total span{font-size:15px;line-height:22px;min-height:0}.stats-total strong{font-size:26px}.stats-total small{font-size:13px;line-height:20px}.stats-note{font-size:14px;line-height:22px}.stats-columns{margin-top:24px}.stats-period{flex-wrap:wrap}.stats-period>div{flex:1 1 130px}.stats-period input{width:100%}.stats-table th,.stats-table td{padding:10px 8px}.stats-table{font-size:14px}.stats-quick{gap:6px}.stats-quick a{padding-inline:12px}}
@media(max-width:359px){.stats-totals{grid-template-columns:1fr;padding:0;gap:0}.stats-total,.stats-total:first-child{padding:14px 0;border-left:0;border-bottom:1px solid #dcd8e6;display:grid;grid-template-columns:1fr auto;gap:4px 12px}.stats-total:last-child{border-bottom:0}.stats-total strong{grid-column:2;grid-row:1/3;align-self:center}.stats-total small{font-size:12px}.stats-total span{min-height:0}}

.stats-untracked{color:#817b8d;font-size:12px}

@media(max-width:480px){
 .stats-articles{max-height:none;overflow:visible;scrollbar-gutter:auto}
 .stats-articles-table colgroup{display:none}
 .stats-articles-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .stats-articles-table tbody{display:block}
 .stats-articles-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;padding:14px 0;border-bottom:1px solid #ded9e7}
 .stats-articles-table tbody th{grid-column:1/-1;padding:0;border:0}
 .stats-articles-table td{display:flex;align-items:baseline;justify-content:space-between;gap:8px;border:0;padding:0;font-size:17px;line-height:24px}
 .stats-articles-table td::before{content:attr(data-label);font-size:12px;line-height:18px;font-weight:400;color:#686475;white-space:nowrap}
 .stats-article-link{gap:10px;min-height:40px}
}

.stats-identity-note{font-size:14px;line-height:1.6;max-width:100ch}

@media(min-width:761px) and (max-width:1000px){.stats-totals{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}.stats-total{padding:0;border:0}}
