.nt-auth-page {
	background: var(--nt-color-page);
	color: var(--nt-color-ink);
}

.nt-auth-page .nt-site-header,
.nt-auth-page .nt-site-footer,
.nt-auth-page .nt-scroll-progress {
	display: none;
}

.nt-auth-page .nt-site-main {
	margin: 0 auto;
	max-width: none;
	padding-block: 0;
	width: min(100%, 760px);
}

.nt-auth-brand {
	padding: clamp(82px, 15vh, 160px) 20px 20px;
	text-align: center;
}

.nt-auth-brand img {
	display: inline-block;
	height: auto;
	max-width: min(220px, 72vw);
	width: 220px;
}

.nt-auth-page .nt-application-page__content {
	background: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
	padding: 42px 20px 56px;
}

.nt-auth-page .nt-application-page__header,
.nt-auth-page .nt-application-page__intro {
	display: none;
}

.nt-auth-login {
	display: block;
	margin: 0 auto;
	max-width: 340px;
	position: relative;
}

.nt-auth-login__intro {
	display: none;
}

.nt-auth-login::before {
	background: var(--nt-color-brand);
	border-radius: 13px;
	content: '';
	height: 110px;
	left: -16px;
	position: absolute;
	right: -16px;
	top: -18px;
}

.nt-account-section h2,
.nt-dashboard h2 {
	font-size: clamp(20px, 3vw, 28px);
	margin: 0 0 10px;
}

.nt-auth-login__intro > p,
.nt-auth-login__intro li,
.nt-account-section > p,
.nt-dashboard p {
	color: var(--nt-color-muted);
}

.nt-auth-login__intro ul {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
}

.nt-auth-login__intro li {
	align-items: flex-start;
	display: flex;
	gap: 8px;
}

.nt-auth-login__intro li .nf-icon {
	color: var(--nt-color-brand);
	flex: 0 0 auto;
	margin-top: 2px;
}

.nt-auth-login__form-panel,
.nt-account-section,
.nt-dashboard-panel,
.nt-dashboard-section,
.nt-dashboard-welcome {
	background: rgb(7 9 12 / 52%);
	border: 1px solid var(--nt-color-line);
	border-radius: var(--nt-radius-card);
	padding: clamp(18px, 3vw, 28px);
	box-shadow: 0 18px 42px rgb(0 0 0 / 14%);
}

.nt-auth-login__form-panel {
	background: var(--nt-color-card);
	border: 1px solid var(--nt-color-line);
	border-radius: 14px;
	box-shadow: 0 18px 45px rgb(0 0 0 / 9%);
	color: var(--nt-color-ink);
	padding: 28px 22px 22px;
	position: relative;
	z-index: 1;
}

.nt-auth-card-heading {
	margin-block-end: 22px;
	text-align: center;
}

.nt-auth-card-heading h2 {
	color: var(--nt-color-ink);
	font-size: 23px;
	margin: 0 0 10px;
}

.nt-auth-card-heading p,
.nt-auth-terms {
	color: var(--nt-color-muted);
	font-size: 14px;
	line-height: 2;
	margin: 0;
	text-align: center;
}

.nt-auth-code-heading {
	align-items: center;
	display: flex;
	justify-content: center;
	margin-block-end: 14px;
	position: relative;
}

.nt-auth-code-heading h2 {
	color: var(--nt-color-ink);
	font-size: 21px;
	margin: 0;
}

.nt-auth-back {
	background: transparent;
	border: 0;
	color: var(--nt-color-muted);
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	padding: 4px;
	position: absolute;
	right: 0;
}

.nt-auth-change-phone-button {
	background: transparent;
	border: 0;
	color: var(--nt-color-muted);
	cursor: pointer;
	display: block;
	font: inherit;
	font-size: 14px;
	margin: 12px auto 0;
	padding: 4px 8px;
}

.nt-auth-change-phone-button:hover,
.nt-auth-change-phone-button:focus-visible {
	color: var(--nt-color-ink);
}

.nt-auth-password-options {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 14px;
}

.nt-auth-password-link {
	background: transparent;
	border: 0;
	color: var(--nt-color-cobalt-high);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	padding: 4px;
}

.nt-auth-password-link:hover,
.nt-auth-password-link:focus-visible {
	color: var(--nt-color-ink);
}

.nt-auth-code-inputs {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-block: 22px 26px;
}

.nt-auth-code-inputs input {
	min-height: 50px;
	padding: 8px 2px;
	text-align: center;
}

.nt-auth-terms {
	font-size: 12px;
	margin: 24px 0 0;
}

.nt-auth-terms a:hover,
.nt-auth-terms a:focus-visible,
.nt-auth-terms a {
	text-decoration: none;
}

.nt-auth-terms a {
	color: var(--nt-color-cobalt-high);
	font-weight: 600;
	text-decoration: none;
}

.nt-auth-terms a:hover,
.nt-auth-terms a:focus-visible {
	color: var(--nt-color-cobalt-high);
	text-decoration: none;
}

.nt-auth-sent {
	align-items: baseline;
	direction: rtl;
	display: flex;
	flex-wrap: wrap;
	gap: .35em;
	justify-content: center;
	text-align: center;
}

.nt-auth-code-panel,
.nt-auth-profile-panel {
	text-align: center;
}

.nt-auth-code-panel .nt-auth-actions {
	grid-template-columns: 1fr;
}

.nt-auth-sent strong {
	direction: ltr;
	display: inline-block;
	unicode-bidi: isolate;
}

.nt-auth-form label {
	color: var(--nt-color-ink-soft);
	font-size: 13px;
}

.nt-auth-form input {
	background: var(--nt-color-card-alt);
	border-color: var(--nt-color-line);
	color: var(--nt-color-ink);
	font-size: 14px;
	min-height: 48px;
}

.nt-auth-form input:focus {
	border-color: var(--nt-color-line);
	box-shadow: none;
}

.nt-auth-form input:focus,
.nt-auth-form input:focus-visible {
	border-color: var(--nt-color-line) !important;
	box-shadow: none !important;
	outline: none !important;
}

.nt-auth-form .nt-button--primary {
	background: var(--nt-color-cobalt);
	border: 0 !important;
	box-shadow: 0 12px 24px rgb(21 71 215 / 18%);
	color: #fff;
	font-size: 13px;
}

.nt-auth-password-panel .nt-button--primary {
	margin-top: 14px;
}

.nt-auth-form .nt-button--primary:hover,
.nt-auth-form .nt-button--primary:focus-visible {
	background: var(--nt-color-cobalt-high);
}

.nt-auth-form .nt-button:focus,
.nt-auth-form .nt-button:focus-visible {
	box-shadow: none;
	outline: none !important;
}

.nt-auth-form .nt-button--ghost {
	border-color: var(--nt-color-line);
	color: var(--nt-color-ink-soft);
}

.nt-auth-form small {
	color: var(--nt-color-muted);
	display: block;
	font-size: 11px;
	line-height: 1.9;
	margin-top: 6px;
}

.nt-auth-profile-fields {
	border-bottom: 1px solid var(--nt-color-line-soft);
	margin-block-end: 18px;
	padding-block-end: 14px;
}

.nt-auth-profile-hint {
	color: var(--nt-color-ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 2;
	margin: 0 0 20px;
}

.nt-auth-profile-panel .nt-form__field {
	text-align: right;
}

.nt-auth-profile-panel .nt-form__field + .nt-form__field {
	margin-top: 16px;
}

.nt-auth-profile-grid + .nt-form__field {
	margin-top: 16px;
}

.nt-auth-profile-panel input[name="email"] {
	text-align: left;
}

.nt-auth-profile-grid {
	align-items: end;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr);
}

.nt-auth-profile-grid .nt-form__field {
	min-width: 0;
}

.nt-auth-profile-grid input {
	box-sizing: border-box;
	width: 100%;
}

.nt-auth-form .nt-button {
	width: 100%;
}

.nt-auth-actions {
	display: grid;
	gap: 10px;
}

.nt-auth-resend {
	background: transparent;
	border: 0;
	color: var(--nt-color-brand);
	min-height: 44px;
	padding: 8px;
}

.nt-auth-resend:disabled {
	color: var(--nt-color-muted);
	cursor: not-allowed;
}

.nt-auth-spam-notice {
	background: rgb(234 179 8 / 8%);
	border: 1px solid rgb(234 179 8 / 72%);
	border-radius: var(--nt-radius-sm);
	color: #b8b8b8;
	font-size: .88rem;
	line-height: 1.8;
	margin: 12px 0 4px;
	padding: 10px 12px;
	text-align: justify;
}

.nt-auth-dev-code {
	background: var(--nt-color-cobalt-soft);
	border: 1px dashed var(--nt-color-cobalt-high);
	border-radius: var(--nt-radius-sm);
	color: var(--nt-color-ink-soft);
	font-family: var(--nt-font-mono);
	padding: 10px 12px;
	text-align: center;
}

.nt-form__message.is-error {
	background: rgb(127 29 29 / 18%);
	border-color: #ef4444;
	color: #fecaca;
}

.nt-form__message.is-success {
	background: rgb(22 163 74 / 16%);
	border-color: #22c55e;
	color: #bbf7d0;
}

.nt-form__message.is-warning {
	background: rgb(234 179 8 / 14%);
	border-color: #eab308;
	color: #fef08a;
}

.nt-form__message.is-loading::before {
	animation: nt-auth-spin 0.85s linear infinite;
	border: 2px solid currentColor;
	border-left-color: transparent;
	border-radius: 50%;
	content: '';
	display: inline-block;
	height: 0.9em;
	margin-inline-end: 8px;
	vertical-align: -0.12em;
	width: 0.9em;
}

@keyframes nt-auth-spin {
	to { transform: rotate(360deg); }
}

.nt-account-layout {
	display: grid;
	gap: 22px;
}

.nt-account-nav {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-block-end: 6px;
	scrollbar-width: thin;
}

.nt-account-nav a {
	background: var(--nt-color-card-alt);
	border: 1px solid var(--nt-color-line);
	border-radius: 999px;
	flex: 0 0 auto;
	font-size: 11px;
	min-height: 40px;
	padding: 9px 14px;
	transition: background-color .2s var(--nt-ease), border-color .2s var(--nt-ease), color .2s var(--nt-ease);
}

.nt-account-nav a:hover,
.nt-account-nav a:focus-visible,
.nt-account-nav a[aria-current="page"] {
	border-color: var(--nt-color-brand-deep);
	color: var(--nt-color-brand);
}

.nt-account-content,
.nt-dashboard {
	display: grid;
	gap: 22px;
}

.nt-account-stats,
.nt-account-fields,
.nt-dashboard-grid,
.nt-dashboard-cards {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr);
}

.nt-account-stats > div {
	background: var(--nt-color-card-alt);
	border: 1px solid var(--nt-color-line-soft);
	border-radius: var(--nt-radius-md);
	display: grid;
	gap: 6px;
	min-width: 0;
	padding: 16px;
}

.nt-account-stats span {
	color: var(--nt-color-muted);
	font-size: 10px;
}

.nt-account-stats strong {
	overflow-wrap: anywhere;
}

.nt-account-fields label {
	display: grid;
	gap: 7px;
}

.nt-dashboard-welcome {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
}

.nt-dashboard-welcome > div {
	min-width: min(100%, 260px);
}

.nt-dashboard-panel a,
.nt-dashboard-section > a {
	color: var(--nt-color-brand);
}

.nt-dashboard-cards > * {
	min-width: 0;
}

.nt-dashboard-cards > * {
	box-shadow: 0 14px 34px rgb(0 0 0 / 10%);
}

@media (min-width: 651px) {
	.nt-auth-login {
		max-width: 350px;
	}

	.nt-auth-actions,
	.nt-auth-profile-grid,
	.nt-account-fields,
	.nt-dashboard-grid,
	.nt-dashboard-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nt-account-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1001px) {
	.nt-account-layout {
		align-items: start;
		grid-template-columns: 190px minmax(0, 1fr);
	}

	.nt-account-nav {
	display: grid;
		position: sticky;
		top: 110px;
	}

	.nt-account-nav a {
		border-radius: var(--nt-radius-sm);
	}

	.nt-account-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.nt-dashboard-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.nt-auth-page * {
		scroll-behavior: auto !important;
	}
}

/* Account workspace: compact sidebar and dashboard-style content area. */
.nt-account-layout {
	align-items: start;
	grid-template-columns: minmax(0, 1fr);
}

.nt-application-page--account,
.nt-application-page--dashboard {
	margin-inline: auto;
	max-width: 1458px !important;
	width: calc(100% - 40px) !important;
}

main.nt-site-main.nt-application-main {
	max-width: 1458px !important;
	width: calc(100% - 40px) !important;
}

.nt-application-page--account .nt-application-page__header,
.nt-application-page--dashboard .nt-application-page__header {
	display: none;
}

.nt-account-nav {
	background: var(--nt-color-card);
	border: 1px solid var(--nt-color-line);
	border-radius: var(--nt-radius-card);
	display: grid;
	gap: 4px;
	padding: 18px;
}

.nt-account-sidebar__brand {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 2px 4px 14px;
}

.nt-account-sidebar__brand img {
	display: block;
	height: auto;
	max-width: 178px;
	width: 100%;
}

.nt-account-sidebar__brand small {
	color: var(--nt-color-muted);
	font-size: 11px;
}

.nt-account-sidebar__identity {
	border-block: 1px solid var(--nt-color-line-soft);
	display: grid;
	gap: 5px;
	margin-bottom: 2px;
	padding: 12px 4px;
}

.nt-account-sidebar__identity strong {
	color: var(--nt-color-ink);
	font-family: var(--nt-font-sans);
	font-size: 18px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.nt-account-sidebar__identity span {
	color: var(--nt-color-muted);
	font-size: 11px;
}

.nt-account-nav__label {
	border-top: 1px solid var(--nt-color-line-soft);
	color: var(--nt-color-muted);
	font-size: 11px;
	margin-top: 2px;
	padding: 16px 8px 6px;
}

.nt-account-nav a {
	background: transparent;
	border: 0;
	border-radius: var(--nt-radius-sm);
	color: var(--nt-color-ink-soft);
	font-size: 13px;
	min-height: 44px;
	padding: 12px 14px;
	text-align: right;
}

.nt-account-nav a:hover,
.nt-account-nav a:focus-visible,
.nt-account-nav a[aria-current="page"] {
	background: var(--nt-color-card-alt);
	border: 0;
	color: var(--nt-color-brand);
}

.nt-account-nav .nt-account-nav__logout {
	background: rgb(127 29 29 / 16%);
	border: 1px solid rgb(239 68 68 / 35%);
	border-radius: var(--nt-radius-sm);
	color: #fca5a5;
	margin-top: 12px;
	text-align: center;
}

.nt-account-nav__logout-form {
	margin-top: 12px;
}

.nt-account-nav__logout-form .nt-account-nav__logout {
	margin-top: 0;
	width: 100%;
}

.nt-account-inline-logout {
	display: inline-block;
}

.nt-account-nav .nt-account-nav__logout:hover,
.nt-account-nav .nt-account-nav__logout:focus-visible {
	background: rgb(127 29 29 / 28%);
	color: #fecaca;
}

.nt-account-content {
	min-width: 0;
}

.nt-account-mobile-links {
	display: none;
}

.nt-account-toolbar {
	align-items: center;
	background: var(--nt-color-card);
	border: 1px solid var(--nt-color-line);
	border-radius: var(--nt-radius-card);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 20px 24px;
}

.nt-account-toolbar__search {
	align-items: center;
	background: var(--nt-color-card-alt);
	border-radius: var(--nt-radius-sm);
	color: var(--nt-color-muted);
	display: flex;
	font-size: 12px;
	gap: 12px;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 16px;
	width: min(370px, 42%);
}

.nt-account-toolbar__search .nf-icon {
	color: var(--nt-color-muted);
	flex: 0 0 auto;
}

.nt-account-toolbar__actions {
	align-items: center;
	color: var(--nt-color-ink-soft);
	display: flex;
	gap: 26px;
	margin-inline: auto;
}

.nt-account-toolbar__meta {
	color: var(--nt-color-muted);
	display: grid;
	font-size: 11px;
	gap: 4px;
	text-align: left;
}

.nt-account-toolbar__meta strong {
	color: var(--nt-color-ink-soft);
	font-size: 13px;
}

.nt-account-quick-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 16px;
}

.nt-account-quick-grid a {
	background: var(--nt-color-card);
	border: 1px solid var(--nt-color-line);
	border-radius: var(--nt-radius-md);
	display: grid;
	gap: 4px;
	padding: 16px;
	text-align: right;
}

.nt-account-quick-grid a > span {
	color: var(--nt-color-brand);
	margin-bottom: 4px;
}

.nt-account-quick-grid strong {
	font-size: 20px;
}

.nt-account-quick-grid small {
	color: var(--nt-color-muted);
	font-size: 11px;
}

.nt-account-quick-grid a:hover,
.nt-account-quick-grid a:focus-visible {
	border-color: var(--nt-color-brand-deep);
	color: var(--nt-color-brand);
}

.nt-account-section {
	background: var(--nt-color-card);
}

@media (min-width: 651px) {
	.nt-account-quick-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1001px) {
	.nt-account-layout {
		grid-template-columns: 270px minmax(0, 1fr);
	}

	.nt-account-nav {
		position: sticky;
		top: 110px;
	}
}

@media (max-width: 650px) {
	.nt-application-page--account,
	.nt-application-page--dashboard {
		width: calc(100% - 24px);
	}

	.nt-account-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.nt-account-toolbar__search {
		width: 100%;
	}

	.nt-account-toolbar__actions {
		margin-inline: 0;
	}

	.nt-account-toolbar__meta {
		text-align: right;
	}
}

/* Simplified account toolbar: navigation beside search, date only on the left. */
.nt-account-toolbar__brand {
	flex: 0 0 auto;
}

.nt-account-toolbar__brand nav {
	gap: 24px;
	margin: 0;
}

.nt-account-toolbar__brand nav a {
	color: var(--nt-color-ink-soft);
	font-size: 13px;
	font-weight: 600;
	padding: 10px 4px;
}

.nt-account-toolbar__brand nav a:hover {
	color: var(--nt-color-brand);
}

.nt-account-toolbar__search {
	flex-basis: 420px;
	min-height: 48px;
}

.nt-account-toolbar__search:focus-within {
	border-color: #1b2d3a !important;
	box-shadow: none !important;
}

.nt-account-toolbar__meta {
	font-size: 12px;
	min-width: 150px;
	text-align: left;
}

@media (max-width: 1200px) {
	.nt-account-toolbar__brand nav {
		display: flex;
		gap: 14px;
	}
}

@media (max-width: 650px) {
	.nt-account-toolbar__brand nav {
		gap: 8px;
	}

	.nt-account-toolbar__brand nav a {
		font-size: 11px;
	}

	.nt-account-toolbar__meta {
		font-size: 10px;
		min-width: auto;
	}
}

/* Final account navigation overrides. Keep these rules last so legacy rules cannot override them. */
.nt-account-nav > a {
	font-size: 16px !important;
	height: 54px !important;
	min-height: 54px !important;
	padding: 13px 15px !important;
	background: transparent !important;
}

.nt-account-nav > a .nf-icon {
	height: 27px !important;
	width: 27px !important;
}

.nt-account-nav > a:first-of-type {
	margin-top: 28px !important;
}

.nt-account-nav > a[aria-current="page"] {
	background: transparent !important;
	border-color: transparent !important;
	color: var(--nt-color-brand) !important;
}

.nt-account-nav > a[aria-current="page"]::after {
	background: var(--nt-color-brand) !important;
	border-radius: 3px 0 0 3px !important;
	content: "" !important;
	display: block !important;
	height: 34px !important;
	left: 0 !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 3px !important;
}

/* Keep the mobile dashboard compact after all legacy account overrides. */
@media (max-width: 650px) {
	.nt-application-page--account,
	.nt-application-page--account .nt-application-page__content,
	.nt-account-content,
	.nt-account-layout,
	.nt-account-quick-grid a,
	.nt-account-section,
	.nt-account-mobile-links a {
		background: #0d141b !important;
	}

	.nt-account-layout {
		margin-inline: auto !important;
		max-width: 390px !important;
		width: calc(100% - 24px) !important;
	}
}

/* Keep the mobile dashboard compact after all legacy account overrides. */
@media (max-width: 650px) {
	.nt-application-page--account,
	.nt-application-page--account .nt-application-page__content,
	.nt-account-content,
	.nt-account-layout,
	.nt-account-quick-grid a,
	.nt-account-section,
	.nt-account-mobile-links a {
		background: #0d141b !important;
	}

	.nt-account-layout {
		margin-inline: auto !important;
		max-width: 390px !important;
		width: calc(100% - 24px) !important;
	}
}

/* Final mobile-only account menu sizing. */
@media (max-width: 650px) {
	.nt-account-nav {
		align-content: start !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 12px !important;
	}

	.nt-account-nav__toggle {
		display: flex !important;
		flex: 0 0 48px !important;
		height: 48px !important;
		min-height: 48px !important;
	}

	.nt-account-nav__panel {
		display: grid !important;
	}

	.nt-account-nav.is-open .nt-account-nav__panel {
		display: grid !important;
		gap: 4px;
	}
}

/* Final mobile-only account menu sizing. */
@media (max-width: 650px) {
	.nt-account-nav {
		align-content: start !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 12px !important;
	}

	.nt-account-nav__toggle {
		display: flex !important;
		flex: 0 0 48px !important;
		height: 48px !important;
		min-height: 48px !important;
	}

	.nt-account-nav__panel {
		display: grid !important;
	}

	.nt-account-nav.is-open .nt-account-nav__panel {
		display: grid !important;
		gap: 4px;
	}
}

/* Final mobile-only account menu sizing. */
@media (max-width: 650px) {
	.nt-account-nav {
		align-content: start !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 12px !important;
	}

	.nt-account-nav__toggle {
		display: flex !important;
		flex: 0 0 48px !important;
		height: 48px !important;
		min-height: 48px !important;
	}

	.nt-account-nav__panel {
		display: grid !important;
	}

	.nt-account-nav.is-open .nt-account-nav__panel {
		display: grid !important;
		gap: 4px;
	}
}

/* Mobile account navigation: keep the sidebar compact and expandable. */
.nt-account-nav__toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: var(--nt-radius-sm);
	color: var(--nt-color-ink);
	cursor: pointer;
	display: none;
	font: inherit;
	justify-content: center;
	min-height: 48px;
	padding: 0;
	position: relative;
	text-align: right;
	width: 100%;
}

.nt-account-nav__toggle > span {
	display: none;
}

.nt-account-nav__toggle > .nf-icon {
	position: absolute;
	right: 14px;
}

.nt-account-nav__toggle:hover,
.nt-account-nav__toggle:focus-visible {
	border-color: var(--nt-color-brand-deep);
	color: var(--nt-color-brand);
	outline: 0;
}

.nt-account-nav__panel {
	display: contents;
}

.nt-account-nav__panel > a {
	font-size: 16px !important;
	height: 54px !important;
	min-height: 54px !important;
	padding: 13px 15px !important;
}

.nt-account-nav__panel > a .nf-icon {
	height: 27px !important;
	width: 27px !important;
}

.nt-account-nav__panel > a:first-of-type {
	margin-top: 28px !important;
}

.nt-account-nav__panel > a[aria-current="page"] {
	background: transparent !important;
	border-color: transparent !important;
	color: var(--nt-color-brand) !important;
	position: relative;
}

.nt-account-nav__panel > a[aria-current="page"]::after {
	background: var(--nt-color-brand) !important;
	border-radius: 3px 0 0 3px !important;
	content: "" !important;
	display: block !important;
	height: 34px !important;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
}

@media (max-width: 650px) {
	.nt-account-nav {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		align-content: start;
		gap: 10px;
		height: auto !important;
		min-height: 0 !important;
		padding: 0 !important;
		position: relative;
		z-index: 1002;
	}

	.nt-account-toolbar {
		display: none !important;
	}

	.nt-account-mobile-links {
		display: grid;
		gap: 8px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin: 0 0 16px;
	}

	.nt-application-page--account {
		background: #0d141b;
		border-radius: 18px;
		padding-block: 16px !important;
	}

	.nt-account-layout {
		margin-inline: auto !important;
		width: calc(100% - 24px) !important;
	}

	.nt-account-mobile-links a {
		align-items: center;
		background: var(--nt-color-card);
		border: 1px solid var(--nt-color-line);
		border-radius: 10px;
		color: var(--nt-color-ink-soft);
		display: flex;
		font-size: 12px;
		justify-content: center;
		min-height: 44px;
		padding: 8px 5px;
		text-align: center;
	}

	.nt-account-mobile-links a:hover,
	.nt-account-mobile-links a:focus-visible {
		border-color: var(--nt-color-brand-deep);
		color: var(--nt-color-brand);
	}

	main.nt-site-main.nt-application-main,
	.nt-application-page--account,
	.nt-application-page--account .nt-application-page__content,
	.nt-account-layout,
	.nt-account-content {
		margin-inline: 0 !important;
		max-width: none !important;
		padding-inline: 0 !important;
		width: 100% !important;
	}

	.nt-account-nav__toggle {
		display: flex;
		flex: 0 0 48px;
		height: 48px !important;
		min-height: 48px !important;
		margin-inline-end: auto;
		width: 48px;
	}

	.nt-account-nav__panel {
		background: linear-gradient(180deg, #101820 0%, #0d141b 100%);
		border: 1px solid var(--nt-color-line);
		border-radius: 16px 0 0 16px;
		bottom: 0;
		box-shadow: -16px 0 34px rgb(0 0 0 / 28%);
		display: grid !important;
		gap: 4px;
		max-width: 280px;
		overflow-y: auto;
		padding: 18px;
		position: fixed;
		right: -100%;
		top: 0;
		transition: right .25s ease;
		width: min(74vw, 280px);
		z-index: 1003;
	}

	.nt-account-nav.is-open .nt-account-nav__panel {
		right: 0;
	}

	.nt-account-nav.is-open::after {
		background: rgb(0 0 0 / 58%);
		content: "";
		inset: 0;
		position: fixed;
		z-index: 1002;
	}

	.nt-account-nav__panel > a[aria-current="page"]::after {
		left: auto !important;
		right: 0 !important;
	}

	.nt-account-nav__panel > a[aria-current="page"] {
		color: var(--nt-color-ink-soft) !important;
	}

	.nt-account-nav__panel > a:first-of-type {
		margin-top: 8px !important;
	}
}

/* Account orders: compact transaction table matching the dark account cards. */
.nt-account-orders-section h2 {
	margin-bottom: 22px;
}

.nt-account-orders-table {
	display: grid;
	gap: 10px;
	overflow: visible;
	width: 100%;
}

.nt-account-orders-table__head,
.nt-account-orders-table__row {
	align-items: center;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(145px, 1.1fr) minmax(220px, 2fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(110px, .8fr);
	min-width: 0;
	text-align: right;
}

.nt-account-orders-table__head {
	color: var(--nt-color-ink);
	font-size: 14px;
	font-weight: 700;
	padding: 0 18px 8px;
}

.nt-account-orders-table__row {
	background: #151d25;
	border: 1px solid rgb(255 255 255 / 5%);
	border-radius: 10px;
	color: var(--nt-color-ink) !important;
	font-size: 14px;
	min-height: 68px;
	padding: 12px 18px;
	transition: border-color .2s ease, background-color .2s ease;
}

.nt-account-orders-table__row:hover,
.nt-account-orders-table__row:focus-visible {
	background: #18242e;
	border-color: rgb(255 255 255 / 5%);
}

.nt-account-orders-table__row > strong {
	font-size: 14px;
}

.nt-account-orders-table__row > span,
.nt-account-orders-table__row > time {
	color: var(--nt-color-ink);
	line-height: 1.8;
}

.nt-account-order-status {
	border-radius: 7px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	justify-content: center;
	padding: 8px 10px;
	white-space: nowrap;
}

.nt-account-order-status.is-success {
	background: rgb(34 197 94 / 16%);
	color: #4ade80;
}

.nt-account-order-status.is-danger {
	background: rgb(239 68 68 / 16%);
	color: #f87171;
}

.nt-account-order-status.is-pending {
	background: rgb(234 179 8 / 16%);
	color: #facc15;
}

.nt-account-order-status-wrap {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.nt-account-order-pay {
	display: inline-flex;
	margin: 0;
	order: -1;
}

.nt-account-order-pay .nt-button {
	background: var(--nt-color-cobalt);
	border-color: var(--nt-color-cobalt);
	box-shadow: 0 6px 16px rgb(21 71 215 / 22%);
	font-size: 12px;
	min-height: 36px;
	min-width: 72px;
	padding: 7px 14px;
	white-space: nowrap;
}

.nt-account-order-pay .nt-button:hover,
.nt-account-order-pay .nt-button:focus-visible {
	background: var(--nt-color-cobalt-high);
	border-color: var(--nt-color-cobalt-high);
}

.nt-account-orders-table__head,
.nt-account-orders-table__row {
	grid-template-columns: minmax(145px, 1.1fr) minmax(220px, 2fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(205px, 1.25fr);
}

.nt-account-order-status-wrap {
	flex-wrap: nowrap;
	white-space: nowrap;
}

.nt-account-order-pay .nt-button {
	color: #fff !important;
}

.nt-account-order-delete {
	align-items: center;
	background: transparent;
	border: 1px solid rgb(239 68 68 / 28%);
	border-radius: 8px;
	color: #f87171;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	justify-content: center;
	min-height: 36px;
	min-width: 36px;
	padding: 6px;
	transition: background-color .2s ease, border-color .2s ease;
}

.nt-account-order-delete:hover,
.nt-account-order-delete:focus-visible {
	background: rgb(239 68 68 / 14%);
	border-color: #f87171;
}

.nt-account-order-pay .nt-button svg {
	flex: 0 0 auto;
}

@media (max-width: 900px) {
	.nt-account-orders-table__head,
	.nt-account-orders-table__row {
		grid-template-columns: minmax(130px, 1fr) minmax(190px, 1.5fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(100px, .8fr);
	}
}

.nt-account-order {
	display: grid;
	gap: 8px;
}

.nt-account-order-description {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 15px;
	line-height: 2;
}

.nt-account-order-details {
	background: transparent;
	border: 1px solid rgb(48 101 224 / 65%);
	border-radius: 7px;
	color: var(--nt-color-brand);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	padding: 7px 10px;
}

.nt-account-order-details:hover,
.nt-account-order-details:focus-visible {
	background: transparent;
	border-color: rgb(48 101 224 / 80%);
}

.nt-account-order-detail {
	background: #101820;
	border: 1px solid rgb(48 101 224 / 48%);
	border-radius: 10px;
	font-size: 14px;
	line-height: 2;
	padding: 14px;
	overflow: visible;
}

.nt-account-quick-grid a:hover,
.nt-account-quick-grid a:focus-visible {
	border-color: rgb(48 101 224 / 72%) !important;
	color: #8eafff !important;
}

.nt-account-order-courses {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.nt-account-order-course {
	margin: 0;
}

.nt-account-order-course a {
	align-items: stretch;
	background: #151f28;
	border: 1px solid rgb(255 255 255 / 7%);
	border-radius: 9px;
	color: var(--nt-color-ink) !important;
	display: flex;
	gap: 12px;
	min-height: 72px;
	overflow: hidden;
	padding: 0;
}

.nt-account-order-course a:hover,
.nt-account-order-course a:focus-visible {
	border-color: rgb(255 255 255 / 7%);
}

.nt-account-order-course img {
	background: #0b151d;
	height: 72px;
	object-fit: contain;
	width: 128px;
}

.nt-account-order-course a > span {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: flex-start;
	padding: 9px 10px 9px 0;
}

.nt-account-order-course strong {
	font-size: 14px;
}

.nt-account-order-tools .nt-account-order-course span {
	align-items: flex-start;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
}

.nt-account-order-tools .nt-account-order-course small {
	color: var(--nt-color-brand);
	font-size: 11px;
}

.nt-account-order-detail__empty {
	color: var(--nt-color-muted);
	margin: 0;
}

@media (max-width: 650px) {
	.nt-account-orders-table__head {
		display: none;
	}

	.nt-account-orders-table__row {
		align-items: center;
		display: flex;
		gap: 8px;
		padding: 12px;
		display: grid;
		grid-template-areas: "id actions" "description actions";
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: 4px;
	}

	.nt-account-orders-table__row > strong {
		flex: 1 1 auto;
		min-width: 0;
		text-align: right;
		grid-area: id;
		color: var(--nt-color-muted) !important;
		font-weight: 600;
	}

	.nt-account-orders-table__row > .nt-account-order-description {
		grid-area: description;
		color: var(--nt-color-ink) !important;
		font-weight: 800;
		min-width: 0;
		overflow-wrap: anywhere;
		text-align: right;
		white-space: normal;
	}

	.nt-account-orders-table__row > .nt-account-order-description {
		align-items: center;
		flex: 0 0 auto;
		justify-content: space-between;
		min-width: 0;
		width: auto;
	}

	.nt-account-order-description .nt-account-order-details {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.nt-account-orders-table__row > time {
		display: none;
	}

	.nt-account-orders-table__row > span:not(.nt-account-order-description) {
		display: none;
	}

	.nt-account-orders-table__row > .nt-account-order-status {
		display: none;
	}

	.nt-account-orders-table__row > .nt-account-order-status-wrap {
		display: flex !important;
		flex: 0 0 auto;
		flex-wrap: nowrap;
		grid-area: actions;
		align-self: end;
		margin-block-end: 0;
	}

	.nt-account-order-status-wrap .nt-account-order-status {
		display: inline-flex;
	}

	.nt-account-order-status-wrap .nt-account-order-status {
		block-size: 34px;
		align-items: center;
		box-sizing: border-box;
		font-size: 0;
		inline-size: 34px;
		padding: 0;
		line-height: 1;
	}

	.nt-account-order-status-wrap .nt-account-order-status::before {
		align-items: center;
		display: inline-flex;
		font-size: 19px;
		font-weight: 800;
		justify-content: center;
		line-height: 1;
	}

	.nt-account-order-pay .nt-button {
		align-items: center;
		gap: 0;
		justify-content: center;
		min-height: 34px;
		min-width: 34px;
		padding: 7px;
	}

	.nt-account-order-pay .nt-button span {
		display: none;
	}

	.nt-account-order-delete {
		border-radius: 6px;
		min-height: 30px;
		min-width: 30px;
		padding: 4px;
	}

	.nt-account-order-delete {
		min-height: 34px;
		min-width: 34px;
		padding: 7px;
	}

	.nt-account-order-delete svg {
		height: 16px;
		width: 16px;
	}

	.nt-account-order-status-wrap .nt-account-order-status.is-success::before {
		content: "✓";
	}

	.nt-account-order-status-wrap .nt-account-order-status.is-pending::before {
		content: "×";
	}
}

/* Account navigation final overrides. */
.nt-account-nav > a {
	font-size: 16px !important;
	height: 54px !important;
	min-height: 54px !important;
	padding: 13px 15px !important;
}

.nt-account-nav > a .nf-icon {
	height: 27px !important;
	width: 27px !important;
}

.nt-account-nav > a:first-of-type {
	margin-top: 20px !important;
}

.nt-account-nav > a[aria-current="page"] {
	background: transparent !important;
	color: var(--nt-color-brand) !important;
}

.nt-account-nav > a[aria-current="page"]::after {
	background: var(--nt-color-brand) !important;
	content: '';
	display: block;
	height: 26px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
}

/* Final account sidebar refinements. */
.nt-account-nav .nt-account-sidebar__brand {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 2px 4px 14px;
	text-align: center;
}

.nt-account-nav .nt-account-sidebar__brand img {
	display: block;
	height: auto;
	max-width: 178px;
	width: 100%;
}

.nt-account-nav .nt-account-sidebar__brand small {
	color: var(--nt-color-brand);
	display: block;
	font-size: 13px;
	font-weight: 700;
}

.nt-account-nav .nt-account-sidebar__identity {
	background: rgb(255 255 255 / 2%);
	border: 1px solid var(--nt-color-line-soft);
	border-radius: 12px;
	display: grid;
	gap: 0;
	margin-top: 12px;
	min-height: 0;
	padding: 10px 14px;
	text-align: right;
}

.nt-account-nav .nt-account-sidebar__contact-row {
	align-items: center;
	display: flex;
	gap: 8px;
	direction: ltr;
	justify-content: space-between;
	width: 100%;
}

.nt-account-nav .nt-account-sidebar__contact-row > span {
	color: var(--nt-color-muted);
	display: block;
	font-size: 11px;
	order: 2;
	text-align: right;
}

.nt-account-nav .nt-account-sidebar__contact-row strong {
	color: var(--nt-color-ink);
	display: block;
	font-family: var(--nt-font-sans);
	font-size: 14px;
	letter-spacing: 0;
	margin-top: 0;
	font-weight: 600;
	overflow: visible;
	order: 1;
	text-align: left;
	white-space: normal;
}


.nt-account-nav > a {
	font-size: 16px;
	height: 54px;
	min-height: 54px;
	padding: 13px 15px;
}

.nt-account-nav > a .nf-icon {
	height: 27px;
	width: 27px;
}

.nt-account-nav > a:first-of-type {
	margin-top: 20px;
}

.nt-account-nav > a[aria-current="page"]::after {
	background: var(--nt-color-brand);
	border-radius: 2px 0 0 2px;
	content: '';
	height: 26px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
}

.nt-account-nav > a[aria-current="page"] {
	background: transparent !important;
	color: var(--nt-color-brand) !important;
}

.nt-account-nav .nt-account-nav__logout {
	border-radius: var(--nt-radius-sm);
}

/* Final toolbar placement: keep the search at the far left and stable on focus. */
.nt-account-toolbar {
	position: relative !important;
}

.nt-account-toolbar__search {
	flex: 0 0 auto !important;
	cursor: text !important;
	left: 20px !important;
	margin: 0 !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 300px !important;
}

.nt-account-toolbar__search input {
	cursor: text !important;
	flex: 1 1 auto !important;
	width: auto !important;
}

.nt-account-toolbar__search:focus-within,
.nt-account-toolbar__search input:focus {
	border-color: #1b2d3a !important;
	box-shadow: none !important;
	outline: 0 !important;
}

@media (max-width: 650px) {
	.nt-account-toolbar__search {
		left: auto !important;
		position: static !important;
		top: auto !important;
		transform: none !important;
		width: 100% !important;
	}
}

/* Keep the account search fixed at the left side without changing its style on focus. */
.nt-account-toolbar {
	position: relative;
}

.nt-account-toolbar__search {
	flex: 0 0 auto !important;
	left: 20px;
	margin: 0 !important;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: min(420px, 34%);
}

.nt-account-toolbar__search:focus-within,
.nt-account-toolbar__search input:focus {
	border-color: #1b2d3a !important;
	box-shadow: none !important;
	outline: 0 !important;
}

@media (max-width: 650px) {
	.nt-account-toolbar__search {
		left: auto;
		position: static;
		top: auto;
		transform: none;
		width: 100%;
	}
}

/* Final compact account controls. */
.nt-account-toolbar__brand nav {
	gap: 32px;
}

.nt-account-toolbar__brand nav a {
	font-size: 15px;
	padding: 12px 7px;
}

.nt-account-toolbar__search:focus-within {
	border-color: #1b2d3a;
	box-shadow: none;
}

.nt-account-quick-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-account-quick-grid a {
	display: block;
	min-height: 126px;
	padding: 18px;
}

.nt-account-quick-grid a > span {
	left: 18px;
	margin: 0;
	position: absolute;
	top: 17px;
}

.nt-account-quick-grid small {
	right: 18px;
	text-align: right;
	top: 19px;
}

.nt-account-quick-grid strong {
	bottom: 17px;
	font-size: 21px;
	right: 18px;
	top: auto;
}

@media (max-width: 650px) {
	.nt-account-quick-grid {
		grid-template-columns: 1fr;
	}

	.nt-account-toolbar__brand nav {
		gap: 12px;
	}

	.nt-account-toolbar__brand nav a {
		font-size: 12px;
	}
}

/* Last visual overrides for the requested compact account header and cards. */
.nt-account-toolbar__brand nav {
	gap: 32px;
}

.nt-account-toolbar__brand nav a {
	font-size: 15px;
	padding: 12px 7px;
}

.nt-account-toolbar__search:focus-within {
	border-color: #1b2d3a;
	box-shadow: none;
}

.nt-account-quick-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-account-quick-grid a {
	display: block;
	min-height: 126px;
	padding: 18px;
}

.nt-account-quick-grid a > span {
	left: 18px;
	margin: 0;
	position: absolute;
	top: 17px;
}

.nt-account-quick-grid small {
	right: 18px;
	text-align: right;
	top: 19px;
}

.nt-account-quick-grid strong {
	bottom: 17px;
	font-size: 21px;
	right: 18px;
	top: auto;
}

@media (max-width: 650px) {
	.nt-account-quick-grid {
		grid-template-columns: 1fr;
	}

	.nt-account-toolbar__brand nav {
		gap: 12px;
	}

	.nt-account-toolbar__brand nav a {
		font-size: 12px;
	}
}

/* Final compact toolbar and three-card summary adjustments. */
.nt-account-toolbar__brand nav {
	gap: 32px;
}

.nt-account-toolbar__brand nav a {
	font-size: 15px;
	padding: 12px 7px;
}

.nt-account-toolbar__search:focus-within {
	border-color: #1b2d3a;
	box-shadow: none;
}

.nt-account-toolbar__search input:focus {
	box-shadow: none;
	outline: 0;
}

.nt-account-welcome .hello {
	font-size: 18px;
	margin-bottom: 12px;
}

.nt-account-welcome p {
	display: none;
}

.nt-account-quick-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-account-quick-grid a {
	display: block;
	min-height: 126px;
	padding: 18px;
}

.nt-account-quick-grid a > span {
	left: 18px;
	margin: 0;
	position: absolute;
	top: 17px;
}

.nt-account-quick-grid small {
	right: 18px;
	text-align: right;
	top: 19px;
}

.nt-account-quick-grid strong {
	bottom: 17px;
	font-size: 21px;
	right: 18px;
	top: auto;
}

@media (max-width: 650px) {
	.nt-account-quick-grid {
		grid-template-columns: 1fr;
	}

	.nt-account-toolbar__brand nav {
		gap: 12px;
	}

	.nt-account-toolbar__brand nav a {
		font-size: 12px;
	}
}

/* Exact dashboard composition from the supplied reference image. */
.nt-account-toolbar {
	background: rgb(5 10 14 / 96%);
	border-bottom: 1px solid #14222d;
	border-radius: 0;
	box-shadow: none;
	direction: rtl;
	gap: 22px;
	min-height: 78px;
	padding: 14px 20px;
}

.nt-account-toolbar__brand {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.nt-account-toolbar__brand > span {
	align-items: center;
	background: linear-gradient(145deg, #c1ff37, #83e20c);
	border-radius: 8px;
	color: #071006;
	display: inline-flex;
	font-size: 14px;
	font-weight: 900;
	height: 32px;
	justify-content: center;
	letter-spacing: -1px;
	width: 32px;
}

.nt-account-toolbar__brand strong {
	font-size: 13px;
	letter-spacing: -.2px;
}

.nt-account-toolbar__brand nav {
	align-items: center;
	display: flex;
	gap: 17px;
	margin-inline-start: 20px;
}

.nt-account-toolbar__brand nav a {
	color: var(--nt-color-muted);
	font-size: 10px;
	text-decoration: none;
}

.nt-account-toolbar__brand nav a:hover {
	color: var(--nt-color-brand);
}

.nt-account-toolbar__search {
	background: linear-gradient(180deg, #0d1720, #0a1219);
	border: 1px solid #1b2d3a;
	border-radius: 8px;
	flex: 1 1 350px;
	max-width: 430px;
	min-height: 42px;
}

.nt-account-toolbar__actions {
	align-items: center;
	color: #bdc8d2;
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.nt-account-toolbar__actions .nf-icon {
	background: #091018;
	border: 1px solid #172833;
	border-radius: 12px;
	height: 38px;
	padding: 8px;
	width: 38px;
}

.nt-account-toolbar__meta {
	color: #8f9eab;
	font-size: 10px;
	line-height: 1.8;
	min-width: 118px;
	text-align: right;
}

.nt-account-sidebar__brand {
	display: none;
}

.nt-account-sidebar__identity {
	background: linear-gradient(145deg, #0b151d, #0a1218);
	border: 1px solid #1c2d38;
	border-radius: 12px;
	box-shadow: inset 0 1px rgb(255 255 255 / 2%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 176px;
	padding: 20px 18px;
	text-align: center;
}

.nt-account-sidebar__identity > div:last-child {
	text-align: center;
}

.nt-account-sidebar__avatar {
	height: 58px;
	margin-inline: auto;
	width: 58px;
}

.nt-account-sidebar__identity strong {
	display: block;
	font-size: 15px;
	margin-top: 7px;
}

.nt-account-nav__label {
	border-top: 0;
	font-size: 10px;
	padding: 14px 8px 5px;
}

.nt-account-nav a {
	font-size: 11px;
	height: 39px;
	min-height: 39px;
	padding: 8px 12px;
}

.nt-account-nav a[href="#account-overview"] {
	background: linear-gradient(90deg, rgb(89 137 19 / 9%), rgb(144 225 23 / 13%));
	border-color: #20382a;
}

.nt-account-summary-layout {
	align-items: center;
	direction: ltr;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(240px, 1fr) minmax(0, 1.85fr);
	position: relative;
}

.nt-account-summary-layout > * {
	direction: rtl;
}

.nt-account-identity-card {
	align-items: center;
	display: flex;
	gap: 16px;
	min-width: 0;
}

.nt-account-identity-avatar {
	align-items: center;
	background: #0c151d;
	border: 1px solid #203440;
	border-radius: 20px;
	color: var(--nt-color-brand);
	display: inline-flex;
	flex: 0 0 82px;
	height: 82px;
	justify-content: center;
	position: relative;
	width: 82px;
}

.nt-account-identity-avatar::after {
	border: 2px solid rgb(169 244 29 / 60%);
	border-radius: 22px;
	content: '';
	inset: -5px;
	position: absolute;
}

.nt-account-identity-card h3 {
	font-size: 20px;
	margin: 0;
}

.nt-account-identity-card p {
	color: #9aa8b4;
	font-size: 11px;
	margin: 4px 0 8px;
}

.nt-account-identity-card small {
	color: #667886;
	display: block;
	font-size: 9px;
	line-height: 1.8;
	margin-bottom: 8px;
}

.nt-account-identity-edit {
	align-items: center;
	border: 1px solid #2c414e;
	border-radius: 7px;
	color: #c4cfd8;
	display: inline-flex;
	font-size: 10px;
	gap: 6px;
	padding: 6px 10px;
	text-decoration: none;
}

.nt-account-identity-edit:hover {
	border-color: var(--nt-color-brand);
	color: var(--nt-color-brand);
}

.nt-account-summary-layout .nt-account-stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nt-account-summary-layout .nt-account-stats > div {
	min-height: 72px;
	padding: 12px;
}

@media (max-width: 1200px) {
	.nt-account-toolbar__brand nav {
		display: none;
	}

	.nt-account-summary-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 650px) {
	.nt-account-toolbar__brand strong {
		display: none;
	}

	.nt-account-toolbar__meta {
		min-width: 0;
	}

	.nt-account-summary-layout .nt-account-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Final reference fit: align the dashboard as one wide workspace. */
.nt-application-page--account,
.nt-application-page--dashboard,
main.nt-site-main.nt-application-main {
	max-width: 1480px !important;
	width: min(calc(100% - 48px), 1480px) !important;
}

.nt-account-layout {
	align-items: start;
	background:
		radial-gradient(circle at 76% 0%, rgb(35 92 111 / 10%), transparent 28%),
		linear-gradient(180deg, rgb(7 14 21 / 30%), transparent 35%);
	grid-template-columns: minmax(0, 1fr);
	padding-block: 2px 36px;
}

.nt-account-content {
	gap: 18px;
}

.nt-account-toolbar {
	border-radius: 15px;
	margin-bottom: 0;
	padding: 16px 20px;
}

.nt-account-toolbar__search {
	flex: 0 1 430px;
	width: auto;
}

.nt-account-toolbar__meta {
	font-size: 12px;
	min-width: 130px;
}

.nt-account-quick-grid {
	margin-bottom: 0;
}

.nt-account-quick-grid a {
	border-radius: 15px;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	min-height: 112px;
	padding: 17px;
}

.nt-account-quick-grid a > span {
	grid-row: 1 / span 2;
	margin: 0 0 0 8px;
}

.nt-account-quick-grid strong,
.nt-account-quick-grid small {
	align-self: end;
}

.nt-account-quick-grid small {
	align-self: start;
}

.nt-account-section {
	border-radius: 16px;
}

#account-overview {
	background:
		radial-gradient(circle at 8% 18%, rgb(155 217 31 / 9%), transparent 25%),
		linear-gradient(145deg, #111e29, #0c151d 72%);
	min-height: 214px;
}

#account-overview > h2 {
	font-size: clamp(25px, 3vw, 34px);
	margin-bottom: 16px;
}

.nt-account-overview-head {
	border-bottom: 0;
	margin-bottom: 6px;
	padding-bottom: 0;
}

.nt-account-overview-head .nt-kicker {
	color: var(--nt-color-brand);
	font-size: 10px;
	letter-spacing: .08em;
}

.nt-account-overview-head strong {
	font-size: 15px;
	font-weight: 500;
	opacity: .9;
}

.nt-account-overview-head p {
	display: none;
}

.nt-account-overview-icon {
	background: rgb(155 217 31 / 12%);
	border-radius: 50%;
	height: 48px;
	width: 48px;
}

.nt-account-stats {
	gap: 10px;
}

.nt-account-stats > div {
	min-height: 84px;
	padding: 14px;
}

.nt-account-stats > div strong {
	font-size: 15px;
}

@media (min-width: 1001px) {
	.nt-account-layout {
		grid-template-columns: minmax(0, 1fr) 276px;
	}

	.nt-account-nav {
		grid-column: 2;
		grid-row: 1;
		top: 24px;
	}

	.nt-account-content {
		grid-column: 1;
		grid-row: 1;
	}
}

@media (max-width: 650px) {
	.nt-application-page--account,
	.nt-application-page--dashboard,
	main.nt-site-main.nt-application-main {
		margin-inline: 0 !important;
		max-width: none !important;
		padding-inline: 0 !important;
		width: 100% !important;
	}

	.nt-account-quick-grid a {
		grid-template-columns: auto 1fr;
	}

	#account-overview {
		min-height: 0;
	}
}

/* Account dashboard visual language: structured like the reference, branded for Nettarfand. */
.nt-account-layout {
	column-gap: 24px;
}

.nt-account-nav {
	background: linear-gradient(180deg, #101820 0%, #0d141b 100%);
	box-shadow: 0 16px 34px rgb(0 0 0 / 18%);
	min-height: 620px;
}

.nt-account-sidebar__brand {
	align-items: center;
	border-bottom: 1px solid var(--nt-color-line-soft);
	display: flex;
	gap: 10px;
	padding: 2px 4px 17px;
}

.nt-account-sidebar__brand > span {
	align-items: center;
	background: var(--nt-color-brand);
	border-radius: 12px;
	color: #10150a;
	display: inline-flex;
	font-family: var(--nt-font-sans);
	font-size: 14px;
	font-weight: 900;
	height: 38px;
	justify-content: center;
	letter-spacing: -1px;
	width: 38px;
}

.nt-account-sidebar__brand div {
	display: grid;
	gap: 2px;
}

.nt-account-sidebar__brand strong {
	font-size: 14px;
}

.nt-account-sidebar__brand small {
	color: var(--nt-color-muted);
	font-size: 10px;
}

.nt-account-sidebar__identity {
	background: rgb(255 255 255 / 2%);
	border-radius: 14px;
	margin-top: 12px;
	padding: 12px;
}

.nt-account-sidebar__avatar {
	background: rgb(155 217 31 / 10%);
	border-color: rgb(155 217 31 / 28%);
}

.nt-account-nav a {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: flex-start;
	position: relative;
}

.nt-account-nav a .nf-icon {
	color: var(--nt-color-muted);
	flex: 0 0 auto;
}

.nt-account-nav a:hover .nf-icon,
.nt-account-nav a:focus-visible .nf-icon,
.nt-account-nav a[aria-current="page"] .nf-icon {
	color: var(--nt-color-brand);
}

.nt-account-nav a[href="#account-overview"] {
	background: rgb(155 217 31 / 9%);
	color: var(--nt-color-brand);
}

.nt-account-nav a[href="#account-overview"]::before {
	background: var(--nt-color-brand);
	border-radius: 3px;
	content: '';
	height: 24px;
	position: absolute;
	right: -1px;
	top: 7px;
	width: 3px;
}

.nt-account-toolbar {
	background: linear-gradient(135deg, #111b25 0%, #0d151d 100%);
	box-shadow: 0 14px 30px rgb(0 0 0 / 15%);
	min-height: 96px;
}

.nt-account-toolbar__search {
	border: 1px solid #263747;
	max-width: 430px;
}

.nt-account-toolbar__actions {
	gap: 10px;
}

.nt-account-toolbar__actions .nf-icon {
	background: #121e29;
	border: 1px solid #2a3b4b;
	border-radius: 50%;
	padding: 8px;
}

.nt-account-quick-grid {
	gap: 14px;
}

.nt-account-quick-grid a {
	background: linear-gradient(145deg, #121e29, #10171f);
	border-color: #273a4a;
	box-shadow: 0 12px 24px rgb(0 0 0 / 13%);
	min-height: 124px;
	position: relative;
}

.nt-account-quick-grid a > span {
	align-items: center;
	background: rgb(155 217 31 / 10%);
	border: 1px solid rgb(155 217 31 / 25%);
	border-radius: 11px;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.nt-account-quick-grid a:nth-child(2) > span,
.nt-account-quick-grid a:nth-child(3) > span {
	background: rgb(48 101 224 / 12%);
	border-color: rgb(48 101 224 / 30%);
	color: #8eafff;
}

.nt-account-quick-grid strong {
	font-size: 24px;
}

.nt-account-section {
	background: linear-gradient(145deg, #101923 0%, #0d141b 100%);
	box-shadow: 0 16px 34px rgb(0 0 0 / 13%);
	padding: clamp(22px, 3vw, 32px);
}

.nt-account-overview-head {
	align-items: center;
	border-bottom: 1px solid var(--nt-color-line-soft);
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 22px;
	padding-bottom: 18px;
}

.nt-account-overview-head > div:first-child {
	display: grid;
	gap: 5px;
}

.nt-account-overview-head strong {
	font-size: clamp(22px, 3vw, 30px);
}

.nt-account-overview-head p {
	color: var(--nt-color-muted);
	font-size: 12px;
	margin: 0;
}

.nt-account-overview-icon {
	align-items: center;
	background: rgb(155 217 31 / 10%);
	border: 1px solid rgb(155 217 31 / 30%);
	border-radius: 16px;
	color: var(--nt-color-brand);
	display: inline-flex;
	flex: 0 0 56px;
	height: 56px;
	justify-content: center;
	width: 56px;
}

.nt-account-stats > div {
	background: #131e28;
	border: 1px solid #263847;
	border-radius: 13px;
	min-height: 100px;
	padding: 16px;
}

.nt-account-stats > div strong {
	font-size: 16px;
}

.nt-account-fields input {
	background: #121e28;
	border-color: #2a3b4a;
}

.nt-account-profile .nt-button--primary,
.nt-profile-form .nt-button--primary {
	min-width: 180px;
}

@media (max-width: 650px) {
	.nt-account-overview-head {
		align-items: flex-start;
	}

	.nt-account-overview-head strong {
		font-size: 21px;
	}

	.nt-account-overview-icon {
		flex-basis: 48px;
		height: 48px;
		width: 48px;
	}
}

/* Keep the reference-fit rules last so the base account rules cannot override them. */
.nt-account-layout {
	background:
		radial-gradient(circle at 76% 0%, rgb(35 92 111 / 10%), transparent 28%),
		linear-gradient(180deg, rgb(7 14 21 / 30%), transparent 35%);
	grid-template-columns: minmax(0, 1fr);
	padding-block: 2px 36px;
}

.nt-account-content {
	gap: 18px;
}

.nt-account-toolbar {
	border-radius: 15px;
	margin-bottom: 0;
	min-height: 96px;
	padding: 16px 20px;
}

.nt-account-toolbar__search {
	flex: 0 1 430px;
	max-width: 430px;
	width: auto;
}

.nt-account-toolbar__actions {
	gap: 10px;
}

.nt-account-toolbar__meta {
	font-size: 12px;
	min-width: 130px;
}

.nt-account-quick-grid {
	gap: 14px;
	margin-bottom: 0;
}

.nt-account-quick-grid a {
	border-radius: 15px;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	min-height: 112px;
	padding: 17px;
}

.nt-account-quick-grid a > span {
	grid-row: 1 / span 2;
	margin: 0 0 0 8px;
}

.nt-account-section {
	border-radius: 16px;
}

#account-overview {
	background:
		radial-gradient(circle at 8% 18%, rgb(155 217 31 / 9%), transparent 25%),
		linear-gradient(145deg, #111e29, #0c151d 72%);
	min-height: 214px;
}

#account-overview > h2 {
	font-size: clamp(25px, 3vw, 34px);
	margin-bottom: 16px;
}

.nt-account-overview-head {
	border-bottom: 0;
	margin-bottom: 6px;
	padding-bottom: 0;
}

.nt-account-overview-head .nt-kicker {
	color: var(--nt-color-brand);
	font-size: 10px;
	letter-spacing: .08em;
}

.nt-account-overview-head strong {
	font-size: 15px;
	font-weight: 500;
	opacity: .9;
}

.nt-account-overview-head p {
	display: none;
}

.nt-account-overview-icon {
	background: rgb(155 217 31 / 12%);
	border-radius: 50%;
	height: 48px;
	width: 48px;
}

.nt-account-stats {
	gap: 10px;
}

.nt-account-stats > div {
	min-height: 84px;
	padding: 14px;
}

@media (min-width: 1001px) {
	.nt-account-layout {
		grid-template-columns: minmax(0, 1fr) 276px;
	}

	.nt-account-nav {
		grid-column: 2;
		grid-row: 1;
		top: 24px;
	}

	.nt-account-content {
		grid-column: 1;
		grid-row: 1;
	}
}

@media (max-width: 650px) {
	.nt-account-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.nt-account-quick-grid a {
		grid-template-columns: auto 1fr;
	}

	#account-overview {
		min-height: 0;
	}
}

.nt-account-toolbar__search {
	align-items: center;
	direction: rtl;
	display: flex;
	gap: 10px;
}

.nt-account-toolbar__search input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--nt-color-ink);
	font: inherit;
	min-height: 42px;
	min-width: 0;
	outline: 0;
	padding: 0;
	width: 100%;
}

.nt-account-toolbar__search input::placeholder {
	color: var(--nt-color-muted);
	opacity: 1;
}

.nt-account-toolbar__search:focus-within {
	border-color: var(--nt-color-brand-deep);
	box-shadow: 0 0 0 3px rgb(155 217 31 / 9%);
}

.nt-account-search-status {
	background: rgb(48 101 224 / 8%);
	border: 1px solid rgb(48 101 224 / 24%);
	border-radius: 10px;
	color: var(--nt-color-muted);
	font-size: 12px;
	margin: -4px 0 0;
	padding: 9px 12px;
}

.nt-account-toolbar__meta {
	direction: rtl;
	line-height: 1.9;
	text-align: left;
	white-space: nowrap;
}

/* Dashboard kit adapted from nettarfand-dashboard-html.zip and connected to live account data. */
.nt-account-welcome {
	align-items: flex-start;
	display: flex;
	justify-content: space-between;
	min-height: 126px;
	padding: 16px 28px 4px;
}

@media (min-width: 1001px) {
	.nt-account-layout {
		direction: ltr;
	}

	.nt-account-nav,
	.nt-account-content {
		direction: rtl;
	}

	.nt-account-nav {
		grid-column: 2;
	}

	.nt-account-content {
		grid-column: 1;
	}
}

.nt-account-welcome .welcome-copy {
	text-align: right;
}

.nt-account-welcome .hello {
	color: var(--nt-color-brand);
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 9px;
}

.nt-account-welcome h1 {
	font-size: clamp(24px, 3vw, 32px);
	letter-spacing: -.5px;
	line-height: 1.35;
	margin: 0 0 8px;
}

.nt-account-welcome p {
	color: var(--nt-color-muted);
	font-size: 12px;
	margin: 0;
}

.nt-account-welcome .quote-box {
	direction: rtl;
	margin-top: 9px;
	position: relative;
	text-align: left;
	width: 290px;
}

.nt-account-welcome .mini-line {
	background: var(--nt-color-brand);
	border-radius: 3px;
	display: block;
	height: 3px;
	margin-left: 0;
	width: 24px;
}

.nt-account-welcome .quote-box p {
	color: var(--nt-color-ink-soft);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.65;
	margin: 8px 0 0;
}

.nt-account-welcome .dots {
	background-image: radial-gradient(var(--nt-color-cobalt-high) 1.2px, transparent 1.2px);
	background-size: 9px 9px;
	height: 54px;
	opacity: .6;
	position: absolute;
	right: -58px;
	top: 12px;
	width: 46px;
}

.nt-account-quick-grid a {
	background: linear-gradient(145deg, #0d1923, #0a131b);
	border-color: #243c4c;
	box-shadow: inset 0 1px rgb(255 255 255 / 2%), 0 14px 28px rgb(0 0 0 / 14%);
	min-height: 144px;
	padding: 24px;
}

.nt-account-quick-grid a::after {
	background: radial-gradient(ellipse, rgb(31 66 75 / 14%), transparent 67%);
	content: '';
	height: 120px;
	position: absolute;
	right: 15%;
	bottom: -70%;
	width: 120%;
}

.nt-account-quick-grid a > span {
	background: linear-gradient(145deg, rgb(155 217 31 / 14%), rgb(48 95 20 / 8%));
	border-color: rgb(155 217 31 / 30%);
	height: 42px;
	position: relative;
	width: 42px;
	z-index: 1;
}

.nt-account-quick-grid a:nth-child(2) > span,
.nt-account-quick-grid a:nth-child(3) > span {
	background: rgb(19 110 207 / 12%);
	border-color: rgb(19 110 207 / 34%);
	color: #8ab7ff;
}

.nt-account-quick-grid strong,
.nt-account-quick-grid small {
	position: relative;
	z-index: 1;
}

.nt-account-quick-grid strong {
	font-size: 27px;
}

.nt-account-quick-grid small {
	font-size: 12px;
}

#account-overview {
	background: linear-gradient(145deg, rgb(11 25 34 / 98%), rgb(7 15 22 / 98%));
	min-height: 252px;
	padding: 30px;
}

#account-overview::before {
	background: radial-gradient(circle, rgb(18 75 123 / 9%), transparent 70%);
	content: '';
	height: 220px;
	left: 7%;
	position: absolute;
	top: -90px;
	width: 300px;
}

#account-overview > h2 {
	font-size: 22px;
	margin: 0 0 17px;
	position: relative;
}

.nt-account-overview-head {
	margin-bottom: 10px;
	position: relative;
}

.nt-account-overview-head strong,
.nt-account-overview-head p {
	display: none;
}

.nt-account-overview-icon {
	background: rgb(155 217 31 / 10%);
	border-color: rgb(155 217 31 / 34%);
	border-radius: 23px;
	height: 58px;
	width: 58px;
}

.nt-account-stats {
	position: relative;
}

.nt-account-stats > div {
	background: rgb(12 21 29 / 78%);
	border-color: #1a2c38;
	border-radius: 9px;
	min-height: 76px;
}

#account-profile {
	background: linear-gradient(145deg, rgb(11 20 28 / 98%), rgb(7 14 20 / 96%));
}

.nt-password-change-form {
	background: rgb(12 21 29 / 78%);
	border: 1px solid #1a2c38;
	border-radius: 13px;
	margin-top: 18px;
	padding: 18px;
}

.nt-password-change-form h3 {
	font-size: 19px;
	margin: 0 0 18px;
}

.nt-password-change-form .nt-button--primary {
	background: linear-gradient(90deg, #9be916, #c1ff39);
	border-color: var(--nt-color-brand);
	box-shadow: 0 0 18px rgb(168 241 28 / 12%);
	color: #0d1606;
	min-width: 180px;
}

#account-profile h2 {
	margin-bottom: 24px;
}

.nt-profile-form .nt-button--primary {
	background: linear-gradient(90deg, #9be916, #c1ff39);
	border-color: var(--nt-color-brand);
	box-shadow: 0 0 18px rgb(168 241 28 / 12%);
	color: #0d1606;
}

@media (max-width: 1200px) {
	.nt-account-welcome .quote-box {
		display: none;
	}
}

@media (max-width: 650px) {
	.nt-account-welcome {
		min-height: 0;
		padding: 8px 4px 0;
	}

	.nt-account-welcome h1 {
		font-size: 23px;
	}

	.nt-account-quick-grid a {
		min-height: 118px;
		padding: 17px;
	}
}

/* Final toolbar override: only navigation, search and today's Persian date. */
.nt-account-toolbar__brand {
	flex: 0 0 auto;
}

.nt-account-toolbar__brand nav {
	display: flex;
	gap: 32px !important;
	margin: 0;
}

.nt-account-toolbar__brand nav a {
	color: var(--nt-color-ink-soft);
	font-size: 15px !important;
	font-weight: 600;
	padding: 12px 7px !important;
}

.nt-account-toolbar__search {
	flex-basis: 420px;
	min-height: 48px;
}

.nt-account-toolbar__meta {
	font-size: 12px !important;
	min-width: 150px;
	text-align: left;
}

.nt-account-date__weekday,
.nt-account-date__value {
	display: block;
	white-space: nowrap;
}

.nt-account-date__weekday {
	color: var(--nt-color-ink-soft);
	font-size: 12px;
	margin-bottom: 3px;
}

.nt-account-date__value {
	color: var(--nt-color-muted);
	font-size: 12px;
}

.nt-account-toolbar__meta span {
	display: inline !important;
	white-space: nowrap;
}

.nt-account-toolbar__search:focus-within {
	border-color: #1b2d3a !important;
	box-shadow: none !important;
}

.nt-account-quick-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.nt-account-quick-grid a {
	display: block !important;
	min-height: 126px !important;
	padding: 18px !important;
}

.nt-account-quick-grid a > span {
	left: 18px;
	margin: 0;
	position: absolute;
	top: 17px;
}

.nt-account-quick-grid small {
	right: 18px;
	text-align: right;
	top: 19px;
}

.nt-account-quick-grid strong {
	bottom: 17px;
	font-size: 21px !important;
	right: 18px;
	top: auto;
}

.nt-account-welcome .hello {
	font-size: 22px !important;
}

.nt-account-quick-grid a > span {
	left: auto !important;
	right: 18px !important;
}

.nt-account-quick-grid small {
	right: 70px !important;
	top: 27px !important;
}

.nt-account-quick-grid strong {
	bottom: 17px !important;
	right: 18px !important;
	top: auto !important;
}

@media (max-width: 1200px) {
	.nt-account-toolbar__brand nav {
		gap: 14px;
	}
}

/* Final toolbar placement: keep the search at the far left and stable on focus. */
.nt-account-toolbar {
	position: relative !important;
}

.nt-account-toolbar__search {
	flex: 0 0 auto !important;
	left: 20px !important;
	margin: 0 !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: min(420px, 34%) !important;
}

.nt-account-toolbar__search:focus-within,
.nt-account-toolbar__search input:focus {
	border-color: #1b2d3a !important;
	box-shadow: none !important;
	outline: 0 !important;
}

@media (max-width: 650px) {
	.nt-account-toolbar__search {
		left: auto !important;
		position: static !important;
		top: auto !important;
		transform: none !important;
		width: 100% !important;
	}
}

/* Final search sizing and hit area. */
.nt-account-content {
	display: flex !important;
	flex-direction: column !important;
}

.nt-account-content > .nt-account-section[hidden] {
	display: none !important;
}

.nt-account-layout.is-section-view .nt-account-quick-grid {
	display: none !important;
}

.nt-account-library-section {
	padding: 28px !important;
}

.nt-account-library-heading {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.nt-account-library-heading h2 {
	font-size: 24px !important;
	margin: 0 !important;
}

.nt-account-library-heading > a {
	color: var(--nt-color-brand) !important;
	font-size: 13px;
	font-weight: 700;
}

.nt-account-library-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nt-account-library-card {
	background: var(--nt-color-card-alt);
	border: 1px solid var(--nt-color-line);
	border-radius: 14px;
	cursor: pointer;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nt-account-library-card:hover,
.nt-account-library-card:focus-within,
.nt-account-library-card:focus-visible {
	border-color: #273a4a !important;
	box-shadow: none;
	transform: none;
}

.nt-account-library-card__cover {
	background: linear-gradient(135deg, #132b3b, #0b151d);
	display: block;
	height: auto;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.nt-account-library-card__cover img {
	background: #0b151d;
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.nt-account-library-card__cover > span {
	align-items: center;
	color: var(--nt-color-brand);
	display: flex;
	height: 100%;
	justify-content: center;
	letter-spacing: .12em;
}

.nt-account-library-card__body {
	min-height: 146px;
	padding: 14px;
	position: relative;
}

.nt-account-library-card__body h3 {
	font-size: 17px;
	line-height: 1.75;
	margin: 0 0 6px;
}

.nt-account-library-card__body h3 a {
	color: var(--nt-color-ink) !important;
}

.nt-account-library-card__body small {
	color: var(--nt-color-muted);
	font-size: 11px;
}

.nt-account-library-card__body p {
	color: var(--nt-color-muted);
	font-size: 13px;
	line-height: 1.9;
	margin: 4px 0 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nt-account-library-card__status {
	bottom: 13px;
	right: 14px;
	position: absolute;
}

.nt-account-library-card__action {
	bottom: 12px;
	background: none;
	border: 0;
	color: var(--nt-color-brand) !important;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	left: 14px;
	position: absolute;
}

.nt-license-modal {
	align-items: center;
	background: rgb(2 8 14 / 72%);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 20px;
	position: fixed;
	z-index: 1000;
}

.nt-license-modal__backdrop {
	inset: 0;
	position: absolute;
}

.nt-license-modal__dialog {
	background: linear-gradient(160deg, #151b24 0%, var(--nt-color-card-alt) 58%) padding-box,
		linear-gradient(135deg, var(--nt-color-brand), var(--nt-color-cobalt-high), var(--nt-color-brand)) border-box;
	border: 2px solid transparent;
	border-radius: 18px;
	box-shadow: 0 28px 90px rgb(0 0 0 / 52%), 0 0 0 1px rgb(52 104 242 / 8%);
	max-width: 460px;
	overflow: hidden;
	padding: 32px;
	position: relative;
	text-align: right;
	width: 100%;
}

.nt-license-modal__dialog::before {
	display: none;
}

.nt-license-modal__close {
	background: rgb(255 255 255 / 5%);
	border: 1px solid rgb(255 255 255 / 16%);
	border-radius: 9px;
	color: var(--nt-color-muted);
	cursor: pointer;
	font-size: 19px;
	height: 32px;
	line-height: 1;
	left: 22px;
	position: absolute;
	right: auto;
	top: 28px;
	width: 32px;
}

.nt-license-modal__close:hover,
.nt-license-modal__close:focus-visible {
	background: rgb(255 255 255 / 12%);
	border-color: var(--nt-color-brand);
	color: var(--nt-color-ink);
}

.nt-license-modal__eyebrow {
	color: var(--nt-color-brand);
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	margin-block-end: 12px;
	padding-inline-end: 46px;
}

.nt-license-modal__dialog h2 {
	color: var(--nt-color-ink);
	font-size: 24px;
	margin: 0 0 14px;
}

.nt-license-modal__dialog p {
	color: var(--nt-color-muted);
	font-size: 16px;
	line-height: 1.9;
	margin: 0 0 20px;
	overflow-wrap: normal;
	text-align: justify;
	text-align-last: right;
	word-break: keep-all;
}

.nt-license-modal__dialog label {
	color: var(--nt-color-ink);
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-block-end: 8px;
}

.nt-license-modal__dialog input {
	background: rgb(5 11 18 / 72%);
	border: 1px solid rgb(52 104 242 / 48%);
	border-radius: 10px;
	box-sizing: border-box;
	color: var(--nt-color-ink);
	direction: ltr;
	font-size: 16px;
	height: 52px;
	padding: 12px 16px;
	text-align: right;
	transition: border-color .2s ease, box-shadow .2s ease;
	width: 100%;
}

.nt-license-modal__dialog input::placeholder {
	text-align: right;
}

.nt-license-modal__dialog input:focus {
	border-color: var(--nt-color-cobalt-high);
	box-shadow: 0 0 0 3px rgb(52 104 242 / 16%);
	outline: none;
}

.nt-license-modal__dialog > small {
	color: var(--nt-color-muted);
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.8;
	margin: 10px 0 20px;
	text-align: center;
}

.nt-license-modal__dialog .nt-button {
	background: var(--nt-color-cobalt-high);
	border: 0;
	border-color: var(--nt-color-cobalt-high);
	box-shadow: 0 10px 25px rgb(52 104 242 / 22%) !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 500;
	width: 100%;
}

.nt-license-modal__dialog .nt-button:hover,
.nt-license-modal__dialog .nt-button:focus-visible {
	background: var(--nt-color-cobalt);
	border-color: var(--nt-color-cobalt);
	box-shadow: 0 10px 25px rgb(52 104 242 / 28%) !important;
	color: #fff !important;
}

.nt-license-modal__dialog .nt-button:disabled {
	background: var(--nt-color-cobalt-high);
	border-color: var(--nt-color-cobalt-high);
	box-shadow: 0 10px 25px rgb(52 104 242 / 18%) !important;
	color: #fff !important;
	cursor: not-allowed;
	opacity: .68;
}

.nt-license-modal__status {
	border-radius: 10px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.9;
	margin-top: 14px;
	padding: 10px 12px;
	text-align: center;
}

.nt-license-modal__status.is-success {
	background: rgb(35 82 43 / 32%);
	border: 1px solid rgb(105 176 81 / 52%);
	color: #fff;
}

.nt-license-modal__status.is-error {
	background: rgb(112 35 45 / 34%);
	border: 1px solid rgb(205 77 91 / 62%);
	color: #fff;
}

.nt-license-modal__support-link {
	align-items: center;
	background: var(--nt-color-cobalt-high);
	border-radius: 10px;
	box-shadow: 0 10px 25px rgb(52 104 242 / 22%);
	color: #fff !important;
	display: flex;
	font-size: 15px;
	font-weight: 600;
	gap: 9px;
	justify-content: center;
	line-height: 1.5;
	margin-top: 12px;
	min-height: 48px;
	padding: 10px 16px;
	text-decoration: none !important;
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nt-license-modal__support-link > span {
	display: inline-flex;
	line-height: 0;
}

.nt-license-modal__support-link:hover,
.nt-license-modal__support-link:focus-visible {
	background: var(--nt-color-cobalt);
	box-shadow: 0 10px 25px rgb(52 104 242 / 30%);
	color: #fff !important;
	transform: translateY(-1px);
}

body.nt-license-modal-open {
	overflow: hidden;
}

@media (max-width: 560px) {
	.nt-license-modal__dialog p {
		font-size: 16px;
		line-height: 2.05;
	}
}

@media (max-width: 900px) {
	.nt-account-library-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.nt-account-library-section {
		padding: 18px !important;
	}

	.nt-account-library-grid {
		grid-template-columns: 1fr;
	}
}

#account-overview {
	display: none !important;
}

/* Installment account cards: presentation-only until online payments are enabled. */
.nt-account-installment-groups {
	display: grid;
	gap: 18px;
}

.nt-account-installment-group {
	background: linear-gradient(145deg, rgb(21 31 42 / 92%), rgb(9 14 20 / 96%));
	border: 1px solid rgb(80 111 143 / 34%);
	border-radius: 18px;
	box-shadow: 0 18px 38px rgb(0 0 0 / 18%);
	overflow: hidden;
}

.nt-account-installment-group > header {
	align-items: flex-start;
	background: rgb(28 45 62 / 48%);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 18px 20px;
}

.nt-account-installment-group > header strong {
	display: block;
	font-size: 17px;
}

.nt-account-installment-group > header small {
	color: var(--nt-color-muted);
	display: block;
	font-size: 12px;
	margin-top: 7px;
}

.nt-account-installment-group > header > span {
	border: 1px solid rgb(143 220 0 / 48%);
	border-radius: 999px;
	color: #a7e632;
	font-size: 12px;
	padding: 6px 12px;
	white-space: nowrap;
}

.nt-account-installment-summary {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 16px 20px;
}

.nt-account-installment-summary > div {
	background: rgb(5 9 13 / 52%);
	border: 1px solid var(--nt-color-line-soft);
	border-radius: 12px;
	padding: 12px 14px;
}

.nt-account-installment-summary small {
	color: var(--nt-color-muted);
	display: block;
	font-size: 12px;
	margin-bottom: 7px;
}

.nt-account-installment-summary strong {
	font-size: 16px;
}

.nt-account-installment-group .nt-account-records {
	border-top: 1px solid var(--nt-color-line-soft);
	padding: 4px 20px 14px;
}

.nt-account-installment-group .nt-account-record {
	align-items: center;
	border-bottom: 1px solid rgb(80 111 143 / 20%);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr) minmax(126px, auto);
	min-height: 72px;
	padding: 14px 10px;
}

.nt-account-installment-group .nt-account-record:last-child {
	border-bottom: 0;
}

.nt-account-installment-group .nt-account-record small {
	color: var(--nt-color-muted);
	display: block;
	font-size: 12px;
	line-height: 1.8;
	margin-top: 6px;
}

.nt-account-installment-group .nt-account-record > span:last-child {
	min-width: 0;
	text-align: left;
	white-space: nowrap;
}

.nt-account-installment-group .nt-account-record > span:last-child:not(.nt-installment-payment-note) {
	font-size: 15px;
	font-weight: 700;
}

.nt-installment-payment-note {
	color: var(--nt-color-muted) !important;
	display: block !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 1.8;
	margin-top: 6px;
	white-space: normal;
}

@media (max-width: 650px) {
	.nt-account-installment-summary {
		grid-template-columns: 1fr;
	}

	.nt-account-installment-group > header,
	.nt-account-installment-group .nt-account-record {
		align-items: flex-start;
		flex-direction: column;
	}

	.nt-account-installment-group .nt-account-record {
		grid-template-columns: 1fr;
	}

	.nt-account-installment-group .nt-account-record > span:last-child {
		text-align: right;
		width: 100%;
	}
}

.nt-account-content > .nt-account-section {
	order: 100;
}

.nt-account-content > #account-courses {
	order: 10;
}

.nt-account-content > #account-tools {
	order: 20;
}

.nt-account-content > #account-profile {
	order: 30;
}

.nt-account-content > #account-orders,
.nt-account-content > #account-installments {
	order: 40;
}

/* Final mobile account sizing: keep the dashboard compact and visually unified. */
@media (max-width: 650px) {
	.nt-application-page--account,
	.nt-application-page--account .nt-application-page__content,
	.nt-account-content {
		background: #0d141b !important;
		padding-block-start: 0 !important;
	}

	main.nt-site-main.nt-application-main,
	.nt-application-page--account {
		background: #0d141b !important;
		border-radius: 0 !important;
		min-height: 100vh !important;
	}

	.nt-account-nav {
		gap: 0 !important;
		padding: 0 !important;
	}

	.nt-account-nav__toggle {
		height: 36px !important;
		min-height: 36px !important;
		margin-top: 10px !important;
	}

	.nt-account-nav__toggle,
	.nt-account-nav__toggle:hover,
	.nt-account-nav__toggle:focus,
	.nt-account-nav__toggle:focus-visible,
	.nt-account-nav__toggle:active {
		-webkit-tap-highlight-color: transparent !important;
		appearance: none !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		outline: 0 !important;
		position: relative;
		z-index: 1004;
	}

	.nt-account-nav__toggle > .nf-icon {
		background: transparent !important;
		box-shadow: none !important;
	}

	body.nt-account-panel-open {
		overflow: hidden !important;
		overflow-y: hidden !important;
		overscroll-behavior: none;
		touch-action: none;
	}

	.nt-account-nav.is-open .nt-account-nav__toggle {
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.nt-account-layout {
		background: #0d141b !important;
		margin-inline: auto !important;
		max-width: 390px !important;
		width: calc(100% - 24px) !important;
	}

	.nt-account-layout.is-section-view .nt-account-mobile-links {
		display: none !important;
	}

	.nt-account-quick-grid,
	.nt-account-mobile-links,
	.nt-account-section {
		max-width: 100%;
	}
}

.nt-account-toolbar {
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	min-height: 52px !important;
	height: 52px !important;
	padding: 8px 24px !important;
	width: 100% !important;
}

.nt-account-toolbar__search {
	cursor: text !important;
	width: 300px !important;
}

.nt-account-toolbar__search input {
	cursor: text !important;
	flex: 1 1 auto !important;
	width: auto !important;
}

@media (max-width: 650px) {
	.nt-account-toolbar__search {
		width: 100% !important;
	}
}

/* Compact summary cards: icon on the right, label beside it, value underneath. */
.nt-account-quick-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.nt-account-quick-grid a {
	min-height: 88px !important;
	position: relative !important;
	padding: 12px !important;
}

.nt-account-quick-grid a > span {
	align-items: center !important;
	display: flex !important;
	height: 38px !important;
	justify-content: center !important;
	position: absolute !important;
	right: 16px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 38px !important;
}

.nt-account-quick-grid a > small {
	color: #f4f7fb !important;
	font-size: 16px !important;
	position: absolute !important;
	right: 66px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.nt-account-quick-grid a > strong {
	bottom: auto !important;
	font-size: 24px !important;
	position: absolute !important;
	left: 18px !important;
	right: auto !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.nt-account-quick-grid a:first-child > span {
	background: rgb(37 99 235 / 18%) !important;
	border-color: rgb(59 130 246 / 70%) !important;
	color: #79a9ff !important;
}

.nt-account-quick-grid a > small,
.nt-account-quick-grid a > strong {
	color: #f4f7fb !important;
}

@media (max-width: 650px) {
	.nt-account-quick-grid {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 650px) {
	.nt-account-toolbar__brand nav {
		gap: 8px;
	}

	.nt-account-toolbar__brand nav a {
		font-size: 11px;
	}

	.nt-account-toolbar__meta {
		font-size: 10px;
		min-width: auto;
	}
}

/* Final account navigation overrides. Keep these rules last so legacy rules cannot override them. */
.nt-account-nav > a {
	font-size: 16px !important;
	height: 54px !important;
	min-height: 54px !important;
	padding: 13px 15px !important;
	background: transparent !important;
}

.nt-account-nav > a .nf-icon {
	height: 27px !important;
	width: 27px !important;
}

.nt-account-nav > a:first-of-type {
	margin-top: 28px !important;
}

.nt-account-nav > a[aria-current="page"] {
	background: transparent !important;
	border-color: transparent !important;
	color: var(--nt-color-brand) !important;
}

.nt-account-nav > a[aria-current="page"]::after {
	background: var(--nt-color-brand) !important;
	border-radius: 3px 0 0 3px !important;
	content: "" !important;
	display: block !important;
	height: 34px !important;
	left: 0 !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 3px !important;
}

/* Keep account-menu labels white on hover/focus; icons may retain the accent color. */
.nt-account-menu__links a:hover,
.nt-account-menu__links a:focus-visible,
.nt-account-nav__panel > a:hover,
.nt-account-nav__panel > a:focus-visible,
.nt-account-nav > a:hover,
.nt-account-nav > a:focus-visible {
	color: var(--nt-color-ink) !important;
}
