.statlilate-dashboard {
	--sl-ink: #102a43;
	--sl-muted: #62788d;
	--sl-line: #dfe9f0;
	--sl-teal: #10a38f;
	--sl-gold: #e3aa45;
	--sl-blue: #258bc1;
	background: #f5f9fc;
	border: 1px solid #dce8ef;
	border-radius: 24px;
	box-shadow: 0 24px 70px rgba(16,42,67,.1);
	color: var(--sl-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	isolation: isolate;
	margin: 32px auto;
	max-width: 1180px;
	overflow: hidden;
	padding: clamp(22px, 4vw, 52px);
	position: relative;
}

.statlilate-dashboard * { box-sizing: border-box; }
.statlilate-dashboard__glow { background: radial-gradient(circle, rgba(37,139,193,.14), transparent 67%); height: 420px; pointer-events: none; position: absolute; right: -170px; top: -240px; width: 520px; z-index: -1; }
.statlilate-hero { align-items: flex-end; display: flex; gap: 30px; justify-content: space-between; margin-bottom: 32px; }
.statlilate-kicker { align-items: center; color: #28749e; display: inline-flex; font-size: 11px; font-weight: 800; gap: 8px; letter-spacing: .14em; text-transform: uppercase; }
.statlilate-kicker > span { background: var(--sl-teal); border-radius: 99px; box-shadow: 0 0 0 5px rgba(16,163,143,.12); height: 7px; width: 7px; }
.statlilate-hero h2 { color: var(--sl-ink); font-size: clamp(29px, 4vw, 46px); letter-spacing: -.035em; line-height: 1.05; margin: 12px 0 10px; }
.statlilate-hero__copy > p { color: var(--sl-muted); font-size: 15px; margin: 0; }
.statlilate-period { background: rgba(255,255,255,.82); border: 1px solid var(--sl-line); border-radius: 14px; flex: 0 0 auto; min-width: 260px; padding: 15px 18px; }
.statlilate-period span, .statlilate-period small { color: var(--sl-muted); display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.statlilate-period strong { display: block; font-size: 13px; margin: 5px 0; }

.statlilate-volume { align-items: stretch; display: grid; gap: 12px; grid-template-columns: 1fr auto 1fr auto 1fr; margin-bottom: 18px; }
.statlilate-volume-card { align-items: center; background: linear-gradient(145deg, #fff, #f9fcfe); border: 1px solid var(--sl-line); border-radius: 16px; display: flex; gap: 15px; min-width: 0; padding: 20px; }
.statlilate-volume-card__icon { align-items: center; background: #eaf5fa; border-radius: 12px; display: flex; flex: 0 0 44px; height: 44px; justify-content: center; position: relative; width: 44px; }
.statlilate-volume-card__icon::before { border: 2px solid #3985aa; border-radius: 50%; content: ""; height: 14px; position: absolute; top: 9px; width: 14px; }
.statlilate-volume-card__icon::after { border: 2px solid #3985aa; border-bottom: 0; border-radius: 12px 12px 0 0; bottom: 8px; content: ""; height: 10px; position: absolute; width: 22px; }
.statlilate-icon--test::before { border-radius: 2px; height: 21px; top: 9px; width: 17px; }
.statlilate-icon--test::after { border: 0; border-bottom: 2px solid #3985aa; border-left: 2px solid #3985aa; bottom: 14px; height: 5px; transform: rotate(-45deg); width: 9px; }
.statlilate-icon--award::before { border-color: #b98424; }
.statlilate-icon--award::after { border: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 13px solid #b98424; bottom: 6px; height: 0; width: 0; }
.statlilate-volume-card span:not(.statlilate-volume-card__icon) { color: var(--sl-muted); display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.statlilate-volume-card strong { display: block; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; line-height: 1; margin: 4px 0 5px; }
.statlilate-volume-card small { color: var(--sl-muted); display: block; font-size: 11px; }
.statlilate-volume__arrow { align-self: center; color: #9fb2c1; font-size: 24px; }

.statlilate-content { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); }
.statlilate-panel { background: #fff; border: 1px solid var(--sl-line); border-radius: 18px; padding: clamp(20px, 3vw, 30px); }
.statlilate-panel__heading { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 23px; }
.statlilate-panel__heading span:not(.statlilate-panel__mark) { color: #3e82a5; display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; margin-bottom: 5px; text-transform: uppercase; }
.statlilate-panel__heading h3 { color: var(--sl-ink); font-size: 20px; letter-spacing: -.02em; margin: 0; }
.statlilate-panel__mark { align-items: center; background: #edf6fa; border-radius: 9px; color: #307b9f; display: flex; font-size: 11px; font-weight: 800; height: 36px; justify-content: center; min-width: 36px; padding: 0 8px; }
.statlilate-panel__lead { color: var(--sl-muted); font-size: 13px; margin: -10px 0 24px; }
.statlilate-average-level { align-items: center; background: linear-gradient(135deg, #edf6fa, #f8fbfd); border: 1px solid #d9e9f1; border-radius: 12px; display: flex; justify-content: space-between; margin: -7px 0 24px; padding: 12px 15px; }
.statlilate-average-level span { color: var(--sl-muted); font-size: 12px; font-weight: 700; }
.statlilate-average-level strong { color: #246f95; font-size: 22px; }
.statlilate-metric + .statlilate-metric { border-top: 1px solid #edf2f5; margin-top: 20px; padding-top: 20px; }
.statlilate-metric__top { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 11px; }
.statlilate-metric__top strong { display: block; font-size: 14px; }
.statlilate-metric__top small { color: var(--sl-muted); display: block; font-size: 11px; margin-top: 4px; }
.statlilate-metric__top > span { color: var(--sl-teal); font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.statlilate-metric--gold .statlilate-metric__top > span { color: #b77a10; }
.statlilate-track { background: #e8eff3; border-radius: 99px; height: 9px; overflow: hidden; position: relative; }
.statlilate-track > span { background: linear-gradient(90deg, #0b8f7e, #22b8a2); border-radius: inherit; box-shadow: 0 0 18px rgba(16,163,143,.25); display: block; height: 100%; transform-origin: left; width: 0; }
.statlilate-dashboard.is-visible .statlilate-track > span { transition: width 1s cubic-bezier(.2,.75,.2,1); width: var(--statlilate-value); }
.statlilate-metric--gold .statlilate-track > span { background: linear-gradient(90deg, #c68b25, #edbd62); }

.statlilate-level + .statlilate-level { margin-top: 18px; }
.statlilate-level__label { align-items: baseline; display: grid; gap: 8px; grid-template-columns: 36px 1fr auto; margin-bottom: 7px; }
.statlilate-level__label strong { align-items: center; background: #edf4f8; border-radius: 7px; color: #276d91; display: flex; font-size: 11px; height: 26px; justify-content: center; }
.statlilate-level__label span { color: var(--sl-muted); font-size: 12px; }
.statlilate-level__label b { font-size: 12px; }
.statlilate-level .statlilate-track { height: 7px; }
.statlilate-level .statlilate-track > span { background: linear-gradient(90deg, #257eaa, #62b3d1); }

.statlilate-panel--monthly { margin-top: 18px; }
.statlilate-monthly { align-items: end; display: grid; gap: 8px; grid-template-columns: repeat(12, minmax(20px, 1fr)); height: 210px; list-style: none; margin: 0; padding: 20px 0 0; }
.statlilate-monthly li { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; min-width: 0; }
.statlilate-monthly__value { color: var(--sl-muted); font-size: 10px; margin-bottom: 5px; opacity: 0; transform: translateY(4px); transition: .2s ease; }
.statlilate-monthly li:hover .statlilate-monthly__value, .statlilate-monthly li:focus-within .statlilate-monthly__value { opacity: 1; transform: translateY(0); }
.statlilate-monthly__bar { align-items: flex-end; background: #edf3f6; border-radius: 6px 6px 2px 2px; display: flex; height: 155px; overflow: hidden; width: min(32px, 75%); }
.statlilate-monthly__bar i { background: linear-gradient(180deg, #2ba3c7, #176b96); border-radius: inherit; display: block; height: 0; width: 100%; }
.statlilate-dashboard.is-visible .statlilate-monthly__bar i { height: var(--statlilate-height); transition: height .9s cubic-bezier(.2,.75,.2,1); }
.statlilate-monthly small { color: var(--sl-muted); font-size: 9px; margin-top: 7px; overflow: hidden; text-transform: uppercase; }

.statlilate-method { background: #fff; border: 1px solid var(--sl-line); border-radius: 14px; margin-top: 18px; }
.statlilate-method summary { align-items: center; cursor: pointer; display: grid; gap: 13px; grid-template-columns: auto 1fr auto; list-style: none; padding: 17px 20px; }
.statlilate-method summary::-webkit-details-marker { display: none; }
.statlilate-method__icon { align-items: center; background: #eaf5fa; border-radius: 50%; color: #2b7599; display: flex; font-family: Georgia, serif; font-weight: 700; height: 30px; justify-content: center; width: 30px; }
.statlilate-method summary strong { display: block; font-size: 13px; }
.statlilate-method summary small { color: var(--sl-muted); display: block; font-size: 11px; margin-top: 2px; }
.statlilate-method__chevron { border-bottom: 2px solid #678095; border-right: 2px solid #678095; height: 8px; transform: rotate(45deg); transition: transform .2s ease; width: 8px; }
.statlilate-method[open] .statlilate-method__chevron { transform: rotate(225deg); }
.statlilate-method__content { border-top: 1px solid var(--sl-line); display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); padding: 22px; }
.statlilate-method__content strong { font-size: 12px; }
.statlilate-method__content p { color: var(--sl-muted); font-size: 11px; line-height: 1.55; margin: 5px 0 0; }
.statlilate-method__note { background: #fff8e9; border-radius: 9px; grid-column: 1 / -1; padding: 13px; }
.statlilate-admin-placeholder { background: #fff7d6; border: 1px solid #e4c95e; border-radius: 6px; padding: 12px; }

@media (max-width: 900px) {
	.statlilate-hero { align-items: flex-start; flex-direction: column; }
	.statlilate-period { width: 100%; }
	.statlilate-volume { grid-template-columns: 1fr; }
	.statlilate-volume__arrow { display: none; }
	.statlilate-content { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.statlilate-dashboard { border-radius: 14px; padding: 20px 14px; }
	.statlilate-volume-card { padding: 16px; }
	.statlilate-method__content { grid-template-columns: 1fr; }
	.statlilate-monthly { gap: 3px; }
	.statlilate-monthly__bar { width: 75%; }
	.statlilate-monthly__value { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.statlilate-dashboard .statlilate-track > span { transition: none; width: var(--statlilate-value); }
	.statlilate-dashboard .statlilate-monthly__bar i { height: var(--statlilate-height); transition: none; }
}
