.sidebar-content {
    width: 132px;
}

.charinfo {
	text-wrap: auto;
}

/*
 * A shared inline-flex layout keeps links, inputs, and native buttons aligned
 * without changing the navigation or submission semantics of those elements.
 * Theme stylesheets remain responsible for each skin's typography, colors,
 * and imagery, avoiding source-order conflicts with their `.button` rules.
 */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	max-width: 100%;
	min-height: 1.75rem;
	padding: 2px 8px;
	border-radius: 3px;
	line-height: 1.25;
	text-align: center;
	vertical-align: middle;
	white-space: normal;
	text-decoration: none;
	cursor: pointer;
}

.button:hover:not(:disabled):not([disabled]):not([aria-disabled="true"]) {
	filter: brightness(1.15);
}

.button:active:not(:disabled):not([disabled]):not([aria-disabled="true"]) {
	transform: translateY(1px);
	filter: brightness(0.9);
}

.button:focus-visible {
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
}

.button:disabled,
.button[disabled],
.button[aria-disabled="true"] {
	filter: grayscale(0.45);
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

/* Non-native disabled controls must not regain a hover or pressed state. */
.button[aria-disabled="true"] {
	pointer-events: none;
}

/* Separate wrapped action rows while retaining compact spacing on each row. */
.action-bar,
.mail-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 8px;
	row-gap: 4px;
	margin-bottom: 4px;
}
