/* Base ------------------------------------------------------------------- */

* {
	box-sizing: border-box;
}

html {
	touch-action: manipulation;
}

body {
	-webkit-font-smoothing: antialiased;
	background: var(--am-surface);
	color: var(--am-text);
	font-family: var(--am-font-sans);
	font-size: 1rem;
	line-height: var(--am-leading-normal);
	margin: 0;
	text-rendering: optimizelegibility;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: var(--am-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover {
	color: var(--am-orange-text);
}

a,
button {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid var(--am-focus);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.am-skip-link {
	background: var(--am-white);
	border: 2px solid var(--am-focus);
	border-radius: var(--am-radius-control);
	color: var(--am-navy-950);
	font-weight: 700;
	left: var(--am-space-4);
	padding: var(--am-space-3) var(--am-space-4);
	position: fixed;
	top: var(--am-space-4);
	transform: translateY(-200%);
	z-index: var(--am-z-skip);
}

.am-skip-link:focus {
	transform: translateY(0);
}

/* Icons ------------------------------------------------------------------ */

.am-icon {
	display: inline-block;
	fill: none;
	flex: none;
	height: 1.25rem;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
	vertical-align: -0.3em;
	width: 1.25rem;
}

.am-icon--sm {
	height: 1rem;
	width: 1rem;
}

.am-icon--lg {
	height: 1.5rem;
	width: 1.5rem;
}

.am-icon--xl {
	height: 2rem;
	stroke-width: 1.5;
	width: 2rem;
}

.am-icon-button {
	align-items: center;
	background: transparent;
	border: 1px solid var(--am-border-strong);
	border-radius: var(--am-radius-control);
	color: var(--am-navy-900);
	cursor: pointer;
	display: inline-flex;
	height: 2.75rem;
	justify-content: center;
	min-width: 2.75rem;
	padding: 0;
}

.am-icon-button:hover {
	background: var(--am-surface-2);
}

/* Shell layout ------------------------------------------------------------ */

.am-portal-shell {
	display: grid;
	grid-template-columns: var(--am-sidebar-width) minmax(0, 1fr);
	min-height: 100vh;
}

.am-sidebar {
	background: linear-gradient(180deg, var(--am-navy-900) 0%, var(--am-navy-950) 100%);
	color: var(--am-white);
	display: flex;
	flex-direction: column;
	height: 100vh;
	left: 0;
	overflow-y: auto;
	padding: 0 var(--am-space-3) var(--am-space-5);
	position: sticky;
	top: 0;
	z-index: var(--am-z-drawer);
}

/* Brand band: a deliberate white plate for the approved raster identity. */
.am-sidebar__header {
	background: var(--am-white);
	border-bottom: 3px solid var(--am-brand);
	display: flex;
	justify-content: space-between;
	margin-inline: calc(var(--am-space-3) * -1);
	padding: var(--am-space-4) var(--am-space-4) var(--am-space-3);
	position: relative;
}

.am-brand {
	color: inherit;
	display: grid;
	flex: 1 1 auto;
	gap: var(--am-space-2);
	min-width: 0;
	width: 100%;
	text-decoration: none;
}

.am-brand:focus-visible {
	outline: 2px solid var(--am-brand);
	outline-offset: 3px;
}

/*
 * The owner-approved PNG (1909x824) carries generous padding. Measured artwork
 * bounds: x 135–1865, y 215–590. The frame keeps the artwork's own aspect ratio
 * and the image is scaled/offset so only the artwork shows. Nothing is redrawn.
 */
.am-brand__logo-frame {
	aspect-ratio: 4.6 / 1;
	display: block;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.am-brand__logo {
	height: auto;
	left: -7.8%;
	max-width: none;
	position: absolute;
	top: -57%;
	width: 110.4%;
}

.am-brand__portal-label {
	color: var(--am-navy-700);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.am-sidebar .am-brand__portal-label {
	display: none;
}

.am-topbar__partner-brand,
.am-topbar__staff-brand,
.am-mobile-navigation {
	display: none;
}

.am-sidebar__close,
.am-menu-button {
	display: none;
}

/* Navigation -------------------------------------------------------------- */

.am-navigation {
	margin-top: var(--am-space-5);
}

.am-navigation ul {
	display: grid;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.am-navigation__link {
	align-items: center;
	border-left: 3px solid transparent;
	border-radius: var(--am-radius-control);
	color: var(--am-sidebar-text);
	display: flex;
	font-size: var(--am-text-sm);
	font-weight: 500;
	gap: var(--am-space-3);
	min-height: 2.75rem;
	padding: var(--am-space-2) var(--am-space-3);
	text-decoration: none;
	transition: background-color var(--am-duration) var(--am-ease);
}

.am-navigation__link:hover,
.am-navigation__link:focus-visible {
	background: var(--am-sidebar-hover-bg);
	color: var(--am-white);
}

.am-navigation__link.is-active {
	background: var(--am-sidebar-active-bg);
	border-left-color: var(--am-brand-bright);
	color: var(--am-white);
	font-weight: 700;
}

.am-navigation__icon {
	color: var(--am-sidebar-icon);
}

.am-navigation__link.is-active .am-navigation__icon {
	color: var(--am-brand-bright);
}

.am-navigation__index {
	color: var(--am-sidebar-index);
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
}

.am-sidebar__utility {
	border-top: 1px solid var(--am-sidebar-divider);
	display: grid;
	gap: var(--am-space-1);
	margin-top: auto;
	padding: var(--am-space-4) var(--am-space-2) 0;
}

.am-partner-services + .am-sidebar__utility {
	margin-top: 0;
}

.am-sidebar__utility strong {
	font-size: var(--am-text-sm);
	overflow-wrap: anywhere;
}

.am-sidebar__utility span {
	color: var(--am-sidebar-text-muted);
	font-size: var(--am-text-xs);
}

.am-sidebar__sign-out {
	border: 1px solid var(--am-sidebar-control-border);
	border-radius: var(--am-radius-control);
	color: var(--am-white);
	font-size: var(--am-text-sm);
	font-weight: 600;
	justify-self: start;
	margin-top: var(--am-space-3);
	padding: var(--am-space-1) var(--am-space-3);
	text-decoration: none;
}

.am-sidebar__sign-out:hover {
	background: var(--am-sidebar-control-hover-bg);
	color: var(--am-white);
}

.am-partner-services {
	align-items: center;
	background: rgb(255 255 255 / 0.06);
	border: 1px solid var(--am-sidebar-control-border);
	border-radius: 0.625rem;
	color: var(--am-white);
	display: flex;
	gap: 0.625rem;
	margin: auto 0 var(--am-space-4);
	min-width: 0;
	font: inherit;
	padding: 0.625rem 0.75rem;
	cursor: pointer;
	text-align: left;
	width: 100%;
	text-decoration: none;
	transition:
		background-color var(--am-duration) var(--am-ease),
		box-shadow var(--am-duration) var(--am-ease),
		transform var(--am-duration) var(--am-ease);
}

.am-partner-services:hover,
.am-partner-services:focus-visible {
	background: var(--am-brand);
	box-shadow: 0 0.5rem 1.5rem rgb(252 96 24 / 0.28);
	color: var(--am-navy-950);
	transform: translateY(-1px);
}

.am-partner-services__icon {
	background: var(--am-brand);
	border-radius: var(--am-radius-control);
	display: grid;
	flex: none;
	height: 2rem;
	place-items: center;
	transition:
		background-color var(--am-duration) var(--am-ease),
		transform var(--am-duration) var(--am-ease);
	width: 2rem;
}

.am-partner-services:hover .am-partner-services__icon,
.am-partner-services:focus-visible .am-partner-services__icon {
	background: var(--am-navy-900);
	transform: scale(1.06);
}

.am-partner-services > span:last-child,
.am-more-sheet__services span:last-child {
	display: grid;
	line-height: 1.2;
	min-width: 0;
}

.am-partner-services strong,
.am-partner-services small {
	color: inherit;
	display: block;
	overflow-wrap: anywhere;
}

.am-partner-services strong {
	font-size: 0.8125rem;
}

.am-partner-services small {
	color: var(--am-sidebar-text-muted);
	font-size: 0.71875rem;
}

.am-partner-services:hover small,
.am-partner-services:focus-visible small {
	color: var(--am-navy-950);
}

/* Top bar ------------------------------------------------------------------ */

.am-shell-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Wraps intrinsically so it also reflows under browser/CSS zoom, where media queries do not change. */
.am-topbar {
	align-items: center;
	backdrop-filter: blur(8px);
	background: var(--am-topbar-glass);
	border-bottom: 1px solid var(--am-border);
	display: flex;
	flex-wrap: wrap;
	gap: var(--am-space-3) var(--am-space-4);
	justify-content: space-between;
	min-height: var(--am-topbar-height);
	padding: var(--am-space-3) var(--am-space-8);
	position: sticky;
	top: 0;
	z-index: var(--am-z-topbar);
}

.am-topbar__context {
	align-items: center;
	display: flex;
	flex: 1 1 12rem;
	gap: var(--am-space-3);
	min-width: 0;
}

.am-topbar__context p {
	display: grid;
	line-height: 1.25;
	margin: 0;
	min-width: 0;
}

.am-topbar__context p span {
	color: var(--am-text-subtle);
	font-size: var(--am-text-xs);
}

.am-topbar__context p strong {
	font-size: var(--am-text-md);
	overflow-wrap: anywhere;
}

.am-topbar__actions {
	align-items: center;
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: var(--am-space-3);
	justify-content: flex-end;
	min-width: 0;
}

.am-topbar__icon-link {
	align-items: center;
	background: var(--am-white);
	border: 1px solid var(--am-border-strong);
	border-radius: var(--am-radius-control);
	color: var(--am-navy-900);
	display: inline-flex;
	font-size: var(--am-text-sm);
	font-weight: 600;
	gap: var(--am-space-2);
	min-height: 2.75rem;
	padding: 0 var(--am-space-3);
	text-decoration: none;
	transition: background-color var(--am-duration) var(--am-ease);
}

.am-topbar__icon-link:hover {
	background: var(--am-surface-2);
	color: var(--am-navy-900);
}

.am-topbar__icon-link.is-active {
	border-color: var(--am-navy-900);
}

.am-topbar__cart-count {
	background: var(--am-navy-900);
	border-radius: var(--am-radius-pill);
	color: var(--am-white);
	font-size: var(--am-text-xs);
	font-variant-numeric: var(--am-tnum);
	line-height: 1.25rem;
	min-width: 1.25rem;
	padding: 0 0.4rem;
	text-align: center;
}

.am-topbar__actions .am-topbar__mobile-mode {
	display: none;
}

.am-topbar__staff-internal {
	display: none;
}

.am-workspace-identity {
	align-items: center;
	background: var(--am-white);
	border: 1px solid var(--am-border);
	border-radius: var(--am-radius-control);
	display: flex;
	gap: var(--am-space-3);
	min-height: 2.75rem;
	padding: var(--am-space-1) var(--am-space-3) var(--am-space-1) var(--am-space-2);
}

.am-workspace-identity__symbol {
	background: var(--am-navy-900);
	border-radius: 50%;
	color: var(--am-white);
	display: grid;
	flex: none;
	height: 2rem;
	place-items: center;
	width: 2rem;
}

.am-workspace-identity__label {
	display: grid;
	line-height: 1.2;
	min-width: 0;
	overflow-wrap: anywhere;
}

.am-workspace-identity__label strong {
	font-size: var(--am-text-sm);
}

.am-workspace-identity small {
	color: var(--am-text-subtle);
	font-size: var(--am-text-xs);
}

.am-workspace-identity__badges {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--am-space-2);
}

/* Main canvas -------------------------------------------------------------- */

.am-main {
	flex: 1;
	overflow: hidden;
	padding: var(--am-space-8) var(--am-space-10) var(--am-space-10);
	position: relative;
}

/* Amino-acid chain motif: low-contrast nodes and bonds with two orange nodes. */
.am-molecular-motif {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 680 300'%3E%3Cg fill='none' stroke='%23aeb7c2' stroke-width='3' stroke-linecap='round' stroke-opacity='0.55'%3E%3Cpath d='M40 230 110 170 180 210 250 140 320 180 390 110 460 150 530 80 600 120 660 60'/%3E%3Cpath d='M180 210 200 272M320 180 298 246M460 150 486 84M600 120 626 186M110 170 84 106'/%3E%3C/g%3E%3Cg fill='%23d7dde4'%3E%3Ccircle cx='40' cy='230' r='7'/%3E%3Ccircle cx='110' cy='170' r='7'/%3E%3Ccircle cx='180' cy='210' r='7'/%3E%3Ccircle cx='320' cy='180' r='7'/%3E%3Ccircle cx='390' cy='110' r='7'/%3E%3Ccircle cx='460' cy='150' r='7'/%3E%3Ccircle cx='600' cy='120' r='7'/%3E%3Ccircle cx='660' cy='60' r='7'/%3E%3Ccircle cx='200' cy='272' r='5'/%3E%3Ccircle cx='298' cy='246' r='5'/%3E%3Ccircle cx='486' cy='84' r='5'/%3E%3Ccircle cx='626' cy='186' r='5'/%3E%3Ccircle cx='84' cy='106' r='5'/%3E%3C/g%3E%3Cg fill='%23fc6018' fill-opacity='0.8'%3E%3Ccircle cx='250' cy='140' r='8'/%3E%3Ccircle cx='530' cy='80' r='8'/%3E%3C/g%3E%3C/svg%3E");
	background-position: right top;
	background-repeat: no-repeat;
	background-size: 40rem auto;
	height: 15rem;
	inset: 0 0 auto 0;
	mask-composite: intersect;
	mask-image:
		linear-gradient(to left, var(--am-mask-opaque) 20%, transparent 70%),
		linear-gradient(to bottom, var(--am-mask-opaque) 35%, transparent 100%);
	opacity: 0.55;
	pointer-events: none;
	position: absolute;
}

.am-footer {
	border-top: 1px solid var(--am-border);
	color: var(--am-text-subtle);
	font-size: var(--am-text-xs);
	padding: var(--am-space-5) var(--am-space-8);
	text-align: center;
}

.am-footer p {
	margin: 0;
}

.am-fallback {
	margin: 10vh auto;
	max-width: 44rem;
	padding: var(--am-space-8);
}

.am-drawer-backdrop {
	background: var(--am-drawer-scrim);
	border: 0;
	inset: 0;
	position: fixed;
	z-index: var(--am-z-backdrop);
}

/* Responsive shell --------------------------------------------------------- */

@media (max-width: 64rem) {
	:root {
		--am-sidebar-width: 15rem;
	}

	.am-main {
		padding: var(--am-space-6) var(--am-space-6) var(--am-space-8);
	}

	.am-topbar {
		padding-inline: var(--am-space-6);
	}

	/* Collapse to icons; keep the label as the link's accessible name. */
	.am-topbar__icon-link > span:not(.am-topbar__cart-count) {
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		position: absolute;
		width: 1px;
	}

	.am-topbar__icon-link {
		position: relative;
	}
}

@media (max-width: 50rem) {
	html {
		scroll-padding-bottom: calc(4.25rem + var(--am-space-4));
	}

	.am-portal-shell {
		display: block;
	}

	.am-sidebar {
		box-shadow: var(--am-shadow-drawer);
		max-width: calc(100vw - 3rem);
		position: fixed;
		transform: translateX(-110%);
		transition: transform 180ms ease;
		width: 20rem;
	}

	.am-sidebar.is-open {
		transform: translateX(0);
	}

	.am-sidebar__close,
	.am-menu-button {
		display: inline-flex;
	}

	.am-sidebar__close {
		flex: none;
		height: 2.5rem;
		margin-left: var(--am-space-3);
		min-width: 2.5rem;
	}

	.am-menu-button {
		border-color: var(--am-border-strong);
		color: var(--am-navy-950);
	}

	.am-menu-button__lines,
	.am-menu-button__lines::before,
	.am-menu-button__lines::after {
		background: currentcolor;
		border-radius: 1px;
		content: "";
		display: block;
		height: 2px;
		width: 1.25rem;
	}

	.am-menu-button__lines::before {
		transform: translateY(-0.4rem);
	}

	.am-menu-button__lines::after {
		transform: translateY(0.3rem);
	}

	.am-main {
		padding: var(--am-space-6);
	}

	.am-molecular-motif {
		background-size: 30rem auto;
		height: 12rem;
	}

	body.am-drawer-open {
		overflow: hidden;
	}

	.am-portal-shell--partner .am-sidebar,
	.am-portal-shell--partner .am-drawer-backdrop,
	.am-portal-shell--staff .am-sidebar,
	.am-portal-shell--staff .am-drawer-backdrop,
	.am-portal-shell--staff .am-menu-button {
		display: none;
	}

	.am-portal-shell--partner .am-topbar,
	.am-portal-shell--staff .am-topbar {
		background: var(--am-white);
		border-bottom: 3px solid var(--am-brand);
		flex-wrap: nowrap;
		height: 4rem;
		min-height: 4rem;
		overflow: hidden;
		padding: 0 var(--am-space-3) 0 var(--am-space-4);
		position: sticky;
	}

	.am-portal-shell--partner .am-topbar::after,
	.am-portal-shell--staff .am-topbar::after {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 132'%3E%3Cg fill='none' stroke='%23e5e9ee' stroke-width='2'%3E%3Cpath d='M12 102 62 60 112 90 162 45 212 78 282 20'/%3E%3Cpath d='M112 90 128 122M212 78 228 116'/%3E%3C/g%3E%3Cg fill='%23e5e9ee'%3E%3Ccircle cx='12' cy='102' r='5'/%3E%3Ccircle cx='62' cy='60' r='5'/%3E%3Ccircle cx='112' cy='90' r='5'/%3E%3Ccircle cx='162' cy='45' r='5'/%3E%3Ccircle cx='212' cy='78' r='5'/%3E%3Ccircle cx='282' cy='20' r='5'/%3E%3C/g%3E%3Cg fill='%23fc6018'%3E%3Ccircle cx='162' cy='45' r='6'/%3E%3Ccircle cx='282' cy='20' r='6'/%3E%3C/g%3E%3C/svg%3E");
		background-position: right center;
		background-repeat: no-repeat;
		background-size: auto 7rem;
		content: "";
		inset: 0 0 0 auto;
		opacity: 0.9;
		pointer-events: none;
		position: absolute;
		width: min(70%, 20rem);
	}

	.am-portal-shell--partner .am-topbar__context,
	.am-portal-shell--partner .am-topbar__actions,
	.am-portal-shell--staff .am-topbar__context,
	.am-portal-shell--staff .am-topbar__actions {
		position: relative;
		z-index: 1;
	}

	.am-portal-shell--partner .am-topbar__context,
	.am-portal-shell--staff .am-topbar__context {
		flex: 1 1 auto;
		overflow: hidden;
	}

	.am-portal-shell--partner .am-topbar__actions,
	.am-portal-shell--staff .am-topbar__actions {
		flex: 0 0 auto;
		flex-wrap: nowrap;
	}

	.am-topbar__partner-title,
	.am-topbar__staff-title {
		display: none !important;
	}

	.am-topbar__partner-brand,
	.am-topbar__staff-brand {
		display: block;
		width: 10.5rem;
	}

	.am-topbar__partner-brand .am-brand,
	.am-topbar__staff-brand .am-brand {
		gap: 0;
	}

	.am-topbar__partner-brand .am-brand__logo-frame,
	.am-topbar__staff-brand .am-brand__logo-frame {
		height: 2rem;
		width: 10.5rem;
	}

	.am-topbar__partner-brand .am-brand__portal-label,
	.am-topbar__staff-brand .am-brand__portal-label {
		font-size: 0.47rem;
		letter-spacing: 0.2em;
		padding-left: 0.1rem;
	}

	.am-portal-shell--partner .am-topbar__activity,
	.am-portal-shell--partner .am-workspace-identity,
	.am-portal-shell--staff .am-workspace-identity {
		display: none;
	}

	.am-portal-shell--partner .am-topbar__mobile-mode {
		display: inline-flex;
	}

	.am-portal-shell--staff .am-topbar__staff-internal {
		display: inline-flex;
	}

	.am-portal-shell--partner .am-topbar__cart {
		border-color: var(--am-brand);
		color: var(--am-orange-text);
		min-height: 2.75rem;
		white-space: nowrap;
	}

	.am-portal-shell--partner .am-topbar__cart > span:not(.am-topbar__cart-count) {
		clip: auto;
		clip-path: none;
		height: auto;
		margin: 0;
		overflow: visible;
		position: static;
		width: auto;
	}

	.am-portal-shell--partner .am-topbar__cart .am-icon {
		display: none;
	}

	.am-portal-shell--partner .am-topbar__cart-count {
		background: var(--am-brand);
		color: var(--am-navy-950);
	}

	.am-portal-shell--partner .am-main,
	.am-portal-shell--staff .am-main {
		padding-bottom: calc(var(--am-space-8) + 4.25rem);
		scroll-padding-bottom: calc(4.25rem + var(--am-space-4));
	}

	.am-portal-shell--partner .am-main :is(a, button, input, select, textarea):focus,
	.am-portal-shell--staff .am-main :is(a, button, input, select, textarea):focus {
		scroll-margin-bottom: calc(4.25rem + var(--am-space-4));
	}

	.am-portal-shell--partner .am-molecular-motif,
	.am-portal-shell--staff .am-molecular-motif {
		display: none;
	}

	.am-portal-shell--partner .am-footer,
	.am-portal-shell--staff .am-footer {
		padding-bottom: calc(var(--am-space-5) + 4.25rem);
	}

	.am-mobile-navigation {
		display: block;
	}

	.am-mobile-tabs {
		background: var(--am-navy-900);
		border-top: 1px solid var(--am-sidebar-divider);
		bottom: 0;
		display: grid;
		grid-template-columns: repeat(var(--am-mobile-tab-count, 5), minmax(0, 1fr));
		height: 4.25rem;
		inset-inline: 0;
		position: fixed;
		z-index: var(--am-z-mobile-nav);
	}

	.am-mobile-tabs__item {
		align-items: center;
		background: transparent;
		border: 0;
		border-top: 3px solid transparent;
		color: var(--am-sidebar-icon);
		cursor: pointer;
		display: flex;
		flex-direction: column;
		font-size: 0.68rem;
		font-weight: 700;
		gap: 0.2rem;
		justify-content: center;
		min-width: 0;
		padding: 0.2rem;
		text-decoration: none;
	}

	.am-mobile-tabs__item:hover,
	.am-mobile-tabs__item:focus-visible,
	.am-mobile-tabs__item.is-active:not(.is-obscured-by-sheet),
	.am-mobile-tabs__item.is-sheet-open {
		background: rgb(255 255 255 / 0.1);
		border-top-color: var(--am-brand);
		color: var(--am-white);
	}

	.am-mobile-navigation__backdrop {
		background: var(--am-drawer-scrim);
		border: 0;
		inset: 0 0 4.25rem;
		position: fixed;
		z-index: var(--am-z-backdrop);
	}

	.am-more-sheet {
		animation: am-sheet-up 240ms var(--am-ease);
		background: var(--am-white);
		border-radius: var(--am-radius-lg) var(--am-radius-lg) 0 0;
		bottom: 4.25rem;
		box-shadow: 0 -0.75rem 2.5rem rgb(7 26 53 / 0.25);
		inset-inline: 0;
		margin-inline: auto;
		max-height: calc(100vh - 5.25rem);
		max-width: none;
		overflow-y: auto;
		padding: 0 0 var(--am-space-4);
		position: fixed;
		touch-action: pan-y pinch-zoom;
		transition: transform 160ms var(--am-ease);
		z-index: var(--am-z-drawer);
	}

	.am-more-sheet__handle {
		background: transparent;
		border: 0;
		cursor: pointer;
		display: flex;
		justify-content: center;
		min-height: 2rem;
		padding: 0.65rem 0 0.35rem;
		width: 100%;
		touch-action: none;
	}

	.am-more-sheet__handle span {
		background: var(--am-silver-300);
		border-radius: var(--am-radius-pill);
		height: 0.3rem;
		width: 2.75rem;
	}

	.am-more-sheet__heading {
		align-items: center;
		display: flex;
		justify-content: space-between;
		padding: var(--am-space-2) var(--am-space-4) var(--am-space-3);
	}

	.am-more-sheet__heading h2,
	.am-more-sheet__heading p {
		margin: 0;
	}

	.am-more-sheet__links {
		border-block: 1px solid var(--am-border);
		display: grid;
	}

	.am-more-sheet__links a {
		align-items: center;
		border-left: 3px solid transparent;
		color: var(--am-navy-950);
		display: grid;
		font-weight: 700;
		gap: var(--am-space-3);
		grid-template-columns: auto 1fr auto;
		min-height: 3rem;
		padding: var(--am-space-2) var(--am-space-4);
		text-decoration: none;
	}

	.am-more-sheet__links a:focus-visible,
	.am-more-sheet__links a[aria-current="page"] {
		background: var(--am-orange-50);
		border-left-color: var(--am-brand);
		color: var(--am-navy-950);
	}

	.am-more-sheet__services {
		padding: var(--am-space-4);
	}

	.am-more-sheet__services > button,
	.am-more-sheet__services > a,
	.am-more-sheet__services > div {
		align-items: center;
		background: var(--am-navy-900);
		border: 1px solid var(--am-navy-700);
		border-radius: var(--am-radius-control);
		color: var(--am-white);
		display: flex;
		gap: var(--am-space-3);
		font: inherit;
		padding: var(--am-space-3);
		text-align: left;
		text-decoration: none;
		width: 100%;
	}

	.am-more-sheet__services > button {
		cursor: pointer;
	}

	.am-more-sheet__services small {
		color: var(--am-sidebar-text-muted);
	}

	.am-more-sheet__identity {
		align-items: start;
		border-top: 1px solid var(--am-border);
		display: grid;
		gap: var(--am-space-3);
		margin-inline: var(--am-space-4);
		padding-top: var(--am-space-4);
	}

	.am-more-sheet__identity p {
		display: grid;
		margin: 0;
	}

	.am-more-sheet__identity > p > span {
		color: var(--am-text-subtle);
		font-size: var(--am-text-sm);
	}

	.am-more-sheet__identity-badges {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		gap: var(--am-space-2);
		justify-content: flex-start;
	}

	.am-more-sheet__identity a {
		align-items: center;
		display: inline-flex;
		font-weight: 700;
		min-height: 2.75rem;
	}

	body.am-more-open {
		overflow: hidden;
	}
}

@keyframes am-sheet-up {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0);
	}
}

@media (max-width: 30rem) {
	.am-topbar {
		padding-inline: var(--am-space-4);
	}

	.am-topbar__context p span,
	.am-workspace-identity__symbol,
	.am-workspace-identity small,
	.am-workspace-identity .am-badge {
		display: none;
	}

	.am-workspace-identity {
		display: none;
	}

	.am-workspace-identity strong {
		font-size: 0.82rem;
	}

	.am-topbar__actions {
		gap: var(--am-space-2);
	}

	.am-main {
		padding: var(--am-space-5) var(--am-space-4);
	}

	.am-footer {
		padding-inline: var(--am-space-4);
	}

	.am-topbar__partner-brand,
	.am-topbar__staff-brand {
		width: 9.25rem;
	}

	.am-topbar__partner-brand .am-brand__logo-frame,
	.am-topbar__staff-brand .am-brand__logo-frame {
		width: 9.25rem;
	}
}

@media (max-width: 22rem) {
	.am-main {
		padding-inline: var(--am-space-3);
	}

	.am-topbar__partner-brand,
	.am-topbar__partner-brand .am-brand__logo-frame,
	.am-topbar__staff-brand,
	.am-topbar__staff-brand .am-brand__logo-frame {
		width: 7.5rem;
	}

	.am-portal-shell--partner .am-topbar__cart {
		min-width: 2.75rem;
		padding-inline: var(--am-space-2);
	}

	.am-portal-shell--partner .am-topbar__cart .am-icon {
		display: block;
	}

	.am-portal-shell--partner .am-topbar__cart > span:not(.am-topbar__cart-count) {
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.am-sidebar {
		max-width: calc(100vw - 2.5rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
