.atscr-account {
	--atscr-navy: #082553;
	--atscr-blue: #1257a6;
	--atscr-sky: #eaf3ff;
	--atscr-border: #dbe5f0;
	--atscr-muted: #607086;
	--atscr-surface: #f7faff;
	--atscr-success: #087a52;
	display: grid;
	gap: 30px;
	color: #17263a;
}

.atscr-account * { box-sizing: border-box; }

.atscr-account__header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	overflow: hidden;
	padding: 26px 28px;
	border: 1px solid #d8e6f7;
	border-radius: 18px;
	background: linear-gradient(135deg, #f8fbff 0%, #edf5ff 100%);
}

.atscr-account__header:after {
	position: absolute;
	top: -55px;
	right: -35px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: rgba(18,87,166,.08);
	content: "";
}

.atscr-account__header > * { position: relative; z-index: 1; }
.atscr-account__header h2 { margin: 0 0 6px; color: var(--atscr-navy); font-size: clamp(25px, 3vw, 34px); line-height: 1.15; }
.atscr-account__header p { max-width: 580px; margin: 0; color: var(--atscr-muted); font-size: 15px; }
.atscr-account__header .button { flex: 0 0 auto; border-radius: 999px; padding-inline: 20px; }

.atscr-summary h3,
.atscr-history h3 {
	position: relative;
	margin: 0 0 18px;
	padding-left: 15px;
	color: var(--atscr-navy);
	font-size: clamp(20px, 2.3vw, 26px);
}

.atscr-summary h3:before,
.atscr-history h3:before {
	position: absolute;
	top: 12%;
	bottom: 12%;
	left: 0;
	width: 4px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--atscr-blue), #4c9bf0);
	content: "";
}

.atscr-summary__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.atscr-summary__card {
	position: relative;
	overflow: hidden;
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--atscr-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(8,37,83,.07);
}

.atscr-summary__card:before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--atscr-navy), #2f80d5);
	content: "";
}

.atscr-kicker {
	display: block;
	margin-bottom: 5px;
	color: var(--atscr-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.atscr-summary__title { display: block; margin-bottom: 18px; color: var(--atscr-navy); font-size: 18px; line-height: 1.35; }
.atscr-summary__card dl { margin: 0; }
.atscr-summary__card dl div { display: grid; gap: 8px; grid-template-columns: minmax(85px,.7fr) minmax(0,1.3fr); align-items: start; padding: 11px 0; border-top: 1px solid #edf1f6; }
.atscr-summary__card dt { color: var(--atscr-muted); font-size: 13px; font-weight: 600; }
.atscr-summary__card dd { min-width: 0; margin: 0; color: #26384f; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; text-align: right; }
.atscr-version { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 11px !important; }

.atscr-status {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	width: fit-content;
	padding: 5px 10px;
	border-radius: 999px;
	background: #e9f8f2;
	color: var(--atscr-success) !important;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
}

.atscr-status:before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.atscr-summary__card dd .atscr-status { margin-left: auto; }

.atscr-history__list { display: grid; gap: 10px; }
.atscr-history__row {
	display: grid;
	grid-template-columns: minmax(145px,.9fr) minmax(170px,1.25fr) minmax(170px,1.35fr) auto;
	align-items: center;
	gap: 18px;
	min-width: 0;
	padding: 17px 19px;
	border: 1px solid var(--atscr-border);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(8,37,83,.04);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.atscr-history__row:hover { transform: translateY(-1px); border-color: #b9cee4; box-shadow: 0 8px 20px rgba(8,37,83,.07); }
.atscr-history__row time { color: var(--atscr-muted); font-size: 12px; font-weight: 700; line-height: 1.45; }
.atscr-history__row strong { display: block; margin-bottom: 7px; color: var(--atscr-navy); font-size: 14px; }
.atscr-history__row span { overflow-wrap: anywhere; }
.atscr-history__integrity { justify-self: end; color: var(--atscr-success); font-size: 12px; font-weight: 700; }
.atscr-history__integrity:before { margin-right: 5px; content: "✓"; }

.atscr-pagination { display: flex; gap: 12px; justify-content: space-between; margin-top: 18px; }
.atscr-pagination .button { border-radius: 999px; }
.atscr-account__links { margin: 0; padding-top: 4px; color: var(--atscr-muted); font-size: 13px; }
.atscr-account__links a { font-weight: 700; }

@media (max-width: 900px) {
	.atscr-history__row { grid-template-columns: 1fr 1fr; }
	.atscr-history__integrity { justify-self: start; }
}

@media (max-width: 640px) {
	.atscr-account { gap: 24px; }
	.atscr-account__header { align-items: flex-start; flex-direction: column; padding: 22px; }
	.atscr-account__header .button { width: 100%; text-align: center; }
	.atscr-summary__card { padding: 19px; }
	.atscr-summary__card dl div { grid-template-columns: 1fr; }
	.atscr-summary__card dd { text-align: left; }
	.atscr-summary__card dd .atscr-status { margin-left: 0; }
	.atscr-history__row { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
	.atscr-pagination { align-items: stretch; flex-direction: column; }
	.atscr-pagination .button { text-align: center; }
}
