/* Icones SVG inline */
.rb-icon {
	display: inline-block;
	width: 1.15em;
	height: 1.15em;
	flex-shrink: 0;
	vertical-align: -0.15em;
}

.rb-heading-icon {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.rb-heading-icon--has-help {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.rb-heading-icon__main {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
}

.rb-heading-icon--has-help .rb-help-tip--heading {
	flex-shrink: 0;
	margin-left: 0.2rem;
}

.rb-heading-icon__icon {
	width: 1.35em;
	height: 1.35em;
	color: var(--rb-green, #2f6f4e);
}

.rb-heading-icon--sub .rb-heading-icon__icon {
	width: 1.15em;
	height: 1.15em;
}

.rb-heading-icon--nav .rb-heading-icon__icon {
	width: 1.05rem;
	height: 1.05rem;
}

.rb-stat-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.rb-stat-label .rb-icon {
	color: var(--rb-green, #2f6f4e);
}

.rb-shell__nav-link .rb-icon {
	width: 1.05rem;
	height: 1.05rem;
}

.rb-collection .button .rb-icon,
.rb-collection a.button .rb-icon {
	width: 1em;
	height: 1em;
	vertical-align: 0;
}

.rb-collection .button,
.rb-collection a.button,
.rb-collection button.button,
.rb-auth-gate .button,
.rb-auth-gate a.button,
.rb-auth-gate button.button,
.rb-admin-csv .button,
.rb-admin-csv a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}

.rb-btn-icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	vertical-align: 0;
}

.rb-filters__title {
	margin: 0 0 0.85rem;
}

.rb-home__subheading.rb-heading-icon,
.rb-account-settings .rb-heading-icon--sub,
.rb-account .rb-account__subsection-title {
	margin: 1.25rem 0 0.5rem;
}

.rb-auth-panel__title.rb-heading-icon {
	margin-top: 0;
}

.rb-admin-csv > .rb-heading-icon {
	margin-top: 0;
}

.rb-admin-csv h3.rb-heading-icon {
	margin: 1.25rem 0 0.5rem;
	font-size: 14px;
}

.rb-stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.rb-shell {
	--rb-green: #2f6f4e;
	--rb-green-dark: #1e4d36;
	--rb-surface: #ffffff;
	width: 100%;
	max-width: none;
	margin: 0 0 1.4rem;
}

.rb-shell__hero {
	width: 100%;
	min-height: 300px;
	border-radius: 0;
	background-color: var(--rb-green-dark);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	box-shadow: 0 8px 28px rgba(30, 77, 54, 0.14);
}

.rb-shell__hero--empty {
	background:
		linear-gradient(135deg, rgba(30, 77, 54, 0.95), rgba(47, 111, 78, 0.75)),
		linear-gradient(45deg, rgba(232, 185, 35, 0.2), transparent);
}

.rb-shell__nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.65rem;
	max-width: 1200px;
	margin: 0.85rem auto 0;
	padding: 0 1rem;
}

.rb-shell__nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 46px;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--rb-green);
	border-radius: 999px;
	background: var(--rb-surface);
	color: var(--rb-green-dark);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 3px 12px rgba(30, 77, 54, 0.08);
}

.rb-shell__nav-link:hover,
.rb-shell__nav-link:focus,
.rb-shell__nav-link--active {
	background: var(--rb-green);
	color: #fff;
}

@media (max-width: 720px) {
	.rb-shell__hero {
		min-height: 220px;
	}

	.rb-shell__nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Col·lecció: verd, blanc, groc */
.rb-collection {
	--rb-green: #2f6f4e;
	--rb-green-dark: #1e4d36;
	--rb-green-soft: #e8f2ec;
	--rb-yellow: #e8b923;
	--rb-yellow-bright: #f5d547;
	--rb-yellow-soft: #fdf8e4;
	--rb-surface: #ffffff;
	--rb-surface-muted: #f4faf6;
	--rb-border: #c5ddd0;
	--rb-text: #1a2e24;
}

.rb-collection__title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--rb-green-dark);
	letter-spacing: -0.02em;
}

@media (min-width: 783px) {
	.rb-collection__title {
		font-size: 2rem;
	}
}

.rb-collection .rb-notice {
	border-radius: 10px;
	border-color: var(--rb-border);
}

.rb-collection .rb-notice--error {
	border-color: #e0a0a0;
}

.rb-collection .rb-filters {
	background: var(--rb-surface);
	border: 1px solid var(--rb-border);
	border-radius: 14px;
	padding: 1.1rem 1.25rem 1.25rem;
	box-shadow: 0 4px 20px rgba(30, 77, 54, 0.07);
}

.rb-collection .rb-filters__actions .button,
.rb-collection .rb-collection__toolbar .button {
	background: var(--rb-green);
	border-color: var(--rb-green-dark);
	color: #fff;
	border-radius: 10px;
	padding: 0.45rem 1.1rem;
	font-weight: 600;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.rb-collection .rb-filters__actions .button:hover,
.rb-collection .rb-collection__toolbar .button:hover {
	background: var(--rb-green-dark);
	border-color: #163828;
	color: #fff;
}

.rb-collection .rb-filters__actions .button-secondary,
.rb-collection .rb-collection__toolbar .button-secondary {
	background: var(--rb-surface);
	color: var(--rb-green-dark);
	border: 2px solid var(--rb-green);
}

.rb-collection .rb-filters__actions .button-secondary:hover,
.rb-collection .rb-collection__toolbar .button-secondary:hover {
	background: var(--rb-yellow-soft);
	color: var(--rb-green-dark);
	border-color: var(--rb-yellow);
}

.rb-collection .rb-panel {
	border-radius: 14px;
	border-color: var(--rb-border);
	background: var(--rb-surface-muted);
	box-shadow: 0 2px 12px rgba(30, 77, 54, 0.05);
}

.rb-notice {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	background: #fff8e6;
	border: 1px solid #f0d090;
}

.rb-notice--error {
	background: #ffecec;
	border-color: #e0a0a0;
}

.rb-notice--info {
	background: var(--rb-green-soft, #e8f2ec);
	border-color: var(--rb-border, #c5ddd0);
	color: var(--rb-text, #1a2e24);
}

/* Avisos d'importació CSV (classes WP admin reutilitzades al frontend) */
.rb-home--settings .notice {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	margin: 0 0 1rem;
	border-left-width: 4px;
	border-left-style: solid;
}

.rb-home--settings .notice-success {
	background: var(--rb-green-soft, #e8f2ec);
	border-color: var(--rb-border, #c5ddd0);
}

.rb-home--settings .notice-warning {
	background: #fff8e6;
	border-color: #f0d090;
}

.rb-home--settings .notice-error {
	background: #ffecec;
	border-color: #e0a0a0;
}

.rb-admin-csv {
	margin-bottom: 1.5rem;
}

.rb-auth-gate__message,
.rb-auth-gate__hint {
	margin: 0;
	line-height: 1.5;
}

.rb-auth-gate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 0.75rem;
	margin: 0.75rem 0 0;
	align-items: center;
}

.rb-auth-gate__lost {
	margin: 0.75rem 0 0;
	font-size: 0.9rem;
}

.rb-auth-gate__hint {
	margin-top: 0.75rem;
	font-size: 0.88rem;
}

.rb-auth-panels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem 2rem;
	margin-top: 0.5rem;
	align-items: start;
}

.rb-auth-panel {
	position: relative;
	background: var(--rb-surface, #fff);
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 12px;
	padding: 1.1rem 1.2rem 1.25rem;
	box-shadow: 0 2px 12px rgba(30, 77, 54, 0.06);
}

.rb-auth-panel--disabled {
	opacity: 0.92;
}

.rb-auth-panel__title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-auth-form .rb-field {
	margin-bottom: 0.75rem;
}

.rb-auth-form .rb-field--checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-direction: row;
}

.rb-auth-form .rb-field--checkbox span {
	margin: 0;
}

.rb-auth-form .rb-field--checkbox input {
	width: auto;
}

.rb-auth-form__submit {
	margin: 0.5rem 0 0;
}

.rb-auth-google {
	margin-top: 0.25rem;
}

.rb-auth-google__divider {
	display: flex;
	align-items: center;
	margin: 0 0 0.85rem;
	color: var(--rb-muted, #5a6b62);
	font-size: 0.875rem;
	text-transform: lowercase;
}

.rb-auth-google__divider::before,
.rb-auth-google__divider::after {
	content: '';
	flex: 1;
	border-bottom: 1px solid var(--rb-border, #c5ddd0);
}

.rb-auth-google__divider span {
	padding: 0 0.65rem;
}

.rb-auth-google__button .googlesitekit-sign-in-with-google__frontend-output-button {
	display: flex;
	justify-content: center;
	margin: 0;
	width: 100%;
}

.rb-auth-captcha-hint,
.rb-auth-pass-hint {
	margin: -0.35rem 0 0.5rem;
	font-size: 0.82rem;
}

.rb-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rb-auth-login .rb-auth-panels {
	margin-top: 0;
}

.rb-filters__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem 1rem;
	align-items: end;
}

.rb-filters__field span,
.rb-field span {
	display: block;
	font-size: 0.85rem;
	margin-bottom: 0.25rem;
}

.rb-filters__field select,
.rb-filters__field input[type="text"],
.rb-field input[type="text"],
.rb-field input[type="email"],
.rb-field input[type="password"],
.rb-field input[type="url"],
.rb-field input[inputmode="url"],
.rb-field input[type="number"],
.rb-field input[type="file"],
.rb-field select,
.rb-field textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background: #fff;
}

.rb-filters__field--checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rb-filters__field--checkbox span {
	margin: 0;
}

.rb-field-row {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem 1rem;
}

.rb-field-row--checks {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.rb-field--radio-group {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.rb-field--radio-group legend {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--rb-green-dark, #1e4d36);
	margin-bottom: 0.35rem;
	padding: 0;
}

.rb-field__radios {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.25rem;
}

.rb-digital-fields.is-hidden {
	display: none;
}

.rb-functions-fields {
	margin-top: 0.5rem;
}

.rb-functions-fields__title {
	margin: 0 0 0.5rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-functions-fields__slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
	gap: 0.5rem 0.65rem;
	margin-bottom: 0.65rem;
}

.rb-functions-fields__slots .rb-field span {
	font-size: 0.8rem;
	font-weight: 700;
}

.rb-functions-fields__slots .rb-field input {
	min-width: 0;
}

.rb-field--block {
	grid-column: 1 / -1;
}

.rb-form-section {
	margin: 0;
	padding: 1rem 1.15rem;
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 12px;
	background: var(--rb-surface, #fff);
	box-shadow: 0 2px 12px rgba(30, 77, 54, 0.06);
}

.rb-form-section--photos {
	background: linear-gradient(180deg, #f8fdf9 0%, var(--rb-surface, #fff) 100%);
}

.rb-form-section--alt {
	background: var(--rb-surface-muted, #f4faf6);
}

.rb-form-section__title {
	margin: 0 0 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--rb-green, #2f6f4e);
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

.rb-item-editor__title {
	margin: 0;
}

.rb-item-editor .rb-form__actions {
	margin: 0;
}

.rb-gallery-social {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0.5rem 1rem 0.25rem;
}

.rb-gallery-like {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	color: var(--rb-text, #1a2e24);
	transition: transform 0.15s ease, color 0.15s ease;
}

.rb-gallery-like:hover,
.rb-gallery-like:focus-visible {
	background: var(--rb-green-soft, #e8f2ec);
	outline: none;
}

.rb-gallery-like:active {
	transform: scale(0.92);
}

.rb-gallery-like__icon {
	width: 1.75rem;
	height: 1.75rem;
	display: block;
}

.rb-gallery-like__icon path {
	fill: none;
	stroke: currentColor;
	transition: fill 0.15s ease, stroke 0.15s ease;
}

.rb-gallery-like--active {
	color: #ed4956;
}

.rb-gallery-like--active .rb-gallery-like__icon path {
	fill: #ed4956;
	stroke: #ed4956;
}

.rb-gallery-like--active:hover,
.rb-gallery-like--active:focus-visible {
	background: rgba(237, 73, 86, 0.12);
}

.rb-gallery-social__count {
	font-weight: 600;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-gallery-comments {
	margin-top: 0;
	border-top: 1px solid var(--rb-border, #c5ddd0);
	padding: 0.65rem 1rem 0.85rem;
}

.rb-gallery-comments__list {
	list-style: none;
	margin: 0 0 0.65rem;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

.rb-gallery-comments__item {
	display: flex;
	gap: 0.4rem;
	align-items: baseline;
}

.rb-gallery-comments__form {
	display: flex;
	gap: 0.45rem;
	align-items: stretch;
	width: 100%;
}

.rb-gallery-comments__form input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
}

.rb-gallery-comments__submit {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35rem;
	padding: 0.35rem 0.45rem;
	line-height: 1;
}

.rb-gallery-comments__submit-icon {
	width: 1.125rem;
	height: 1.125rem;
}

.rb-gallery__load-more {
	margin: 0.75rem 0 0;
	text-align: center;
}

.rb-gallery-activity__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.rb-gallery-activity__item {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	align-items: baseline;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 10px;
	background: var(--rb-surface, #fff);
}

.rb-gallery-activity__text {
	flex: 1 1 260px;
}

.rb-field--inline {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.rb-field--inline span {
	margin: 0;
}

.rb-panel {
	padding: 1rem 1.25rem;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	background: #fafafa;
}

.rb-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.rb-delete-form--single {
	margin-top: 0.65rem;
}

.rb-button-danger {
	background: #c83737 !important;
	border-color: #a42b2b !important;
	color: #fff !important;
}

.rb-table-wrap {
	overflow-x: auto;
	border-radius: 14px;
	border: 1px solid var(--rb-border, #c5ddd0);
	box-shadow: 0 6px 28px rgba(30, 77, 54, 0.09);
	background: var(--rb-surface, #fff);
}

.rb-collection-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	color: var(--rb-text, #1a2e24);
}

.rb-collection-table th,
.rb-collection-table td {
	border: 1px solid var(--rb-border, #c5ddd0);
	padding: 0.65rem 0.75rem;
	vertical-align: middle;
}

.rb-collection-table thead th {
	background: linear-gradient(165deg, var(--rb-green, #2f6f4e) 0%, var(--rb-green-dark, #1e4d36) 100%);
	color: #fff;
	font-weight: 600;
	border-color: rgba(255, 255, 255, 0.12);
	text-align: left;
}

.rb-collection-table tbody tr:nth-child(even) {
	background: var(--rb-surface-muted, #f4faf6);
}

.rb-collection-table tbody tr {
	transition: background 0.12s ease;
}

.rb-collection-table tbody tr:hover {
	background: var(--rb-yellow-soft, #fdf8e4);
}

.rb-col-sortable {
	white-space: nowrap;
}

.rb-sort-link {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	color: inherit;
	text-decoration: none;
	border-radius: 6px;
	margin: -0.2rem -0.35rem;
	padding: 0.2rem 0.35rem;
	transition: color 0.12s ease, background 0.12s ease;
}

.rb-sort-link:hover {
	color: var(--rb-yellow-bright, #f5d547);
	background: rgba(255, 255, 255, 0.1);
}

.rb-sort-link:focus-visible {
	outline: 2px solid var(--rb-yellow-bright, #f5d547);
	outline-offset: 2px;
}

.rb-sort-ind {
	font-size: 0.75em;
	opacity: 0.95;
}

.rb-item-title-link {
	color: var(--rb-green-dark, #1e4d36);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.12s ease;
}

.rb-item-title-link:hover {
	color: var(--rb-green, #2f6f4e);
	text-decoration: underline;
	text-decoration-color: var(--rb-yellow, #e8b923);
}

.rb-item-title-link:focus-visible {
	outline: 2px solid var(--rb-yellow, #e8b923);
	outline-offset: 2px;
	border-radius: 4px;
}

.rb-actions {
	white-space: nowrap;
}

.rb-actions .rb-inline-form {
	display: inline-block;
	margin: 0 0.25rem 0 0;
	vertical-align: middle;
}

.rb-actions .button-small,
.rb-actions .rb-btn-dup {
	padding: 0.28rem 0.65rem;
	font-size: 0.82rem;
	border-radius: 8px;
	font-weight: 600;
}

.rb-actions .button-small {
	background: var(--rb-green, #2f6f4e);
	border-color: var(--rb-green-dark, #1e4d36);
	color: #fff;
}

.rb-actions .button-small:hover {
	background: var(--rb-green-dark, #1e4d36);
	color: #fff;
	border-color: #163828;
}

.rb-actions .rb-btn-dup {
	background: var(--rb-surface, #fff);
	color: var(--rb-green-dark, #1e4d36);
	border: 2px solid var(--rb-border, #c5ddd0);
}

.rb-actions .rb-btn-dup:hover {
	background: var(--rb-yellow-soft, #fdf8e4);
	border-color: var(--rb-yellow, #e8b923);
	color: var(--rb-green-dark, #1e4d36);
}

/* Inventari: especificitat alta (.rb-collection-table …) per damunt de CSS antic en cache o del tema. */
.rb-collection-table .rb-col-thumb {
	width: 168px;
	box-sizing: border-box;
	vertical-align: middle;
}

.rb-collection-table .rb-inv-thumb-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
	color: inherit;
	border-radius: 6px;
	vertical-align: middle;
	transition: box-shadow 0.15s ease;
}

.rb-collection-table .rb-inv-thumb-link:hover .rb-inv-thumb {
	box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.55);
}

.rb-collection-table .rb-inv-thumb-link:focus-visible {
	outline: 3px solid var(--rb-yellow, #e8b923);
	outline-offset: 2px;
}

.rb-collection-table .rb-inv-thumb {
	display: inline-block;
	width: 150px;
	height: 84px;
	overflow: hidden;
	line-height: 0;
	vertical-align: middle;
	border-radius: 8px;
	background: var(--rb-green-soft, #e8f2ec);
	border: 1px solid var(--rb-border, #c5ddd0);
}

.rb-collection-table .rb-inv-thumb-img {
	width: 150px;
	height: 84px;
	max-width: none;
	object-fit: cover;
	display: block;
}

.rb-collection-table .rb-inv-thumb--empty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 84px;
	font-size: 0.9rem;
	color: #6a7a72;
}

@media (min-width: 783px) {
	.rb-collection-table .rb-inv-thumb {
		height: auto;
	}

	.rb-collection-table .rb-inv-thumb-img {
		width: 150px;
		height: auto;
		max-width: none;
		object-fit: unset;
	}

	.rb-collection-table .rb-inv-thumb--empty {
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

.rb-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 782px) {
	.rb-collection-table .rb-table-col--optional {
		display: none;
	}

	.rb-collection-table thead .rb-col-sortable,
	.rb-collection-table thead .rb-col-thumb {
		font-size: 0.82rem;
	}

	.rb-collection-table th,
	.rb-collection-table td {
		padding: 0.5rem 0.45rem;
	}

	.rb-collection-table .rb-col-thumb {
		width: 158px;
	}
}

.rb-gallery-field {
	margin-top: 0.5rem;
}

.rb-gallery-field__title {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.rb-gallery-field__hint {
	font-size: 0.85rem;
	margin: 0.35rem 0;
	color: #444;
}

.rb-item-hero-title {
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 0.5rem 0 1rem;
	text-align: center;
}

@media (min-width: 783px) {
	.rb-item-hero-title {
		font-size: 2.1rem;
		margin-bottom: 1.25rem;
	}
}

.rb-gallery-layout {
	margin: 0.75rem 0 0.5rem;
}

.rb-gallery-layout__primary {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.rb-gallery-layout__primary-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 100%;
}

.rb-gallery-layout__primary-btn {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	display: block;
	line-height: 0;
}

.rb-gallery-layout__primary-img {
	display: block;
	width: 100%;
	max-width: 400px;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	border: 1px solid #ccc;
}

@media (min-width: 783px) {
	.rb-gallery-layout__primary-img {
		max-width: 800px;
	}
}

.rb-gallery-layout__secondary {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1rem;
	align-items: start;
}

@media (min-width: 783px) {
	.rb-gallery-layout__secondary {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-start;
		gap: 0.5rem;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0.2rem 0 0.45rem;
		max-width: 100%;
		-webkit-overflow-scrolling: touch;
		scrollbar-gutter: stable;
	}

	.rb-gallery-layout__secondary-item {
		flex: 0 0 auto;
	}

	.rb-gallery-layout__secondary-img {
		width: auto;
		max-width: none;
		height: 84px;
		max-height: 84px;
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}
}

.rb-gallery-layout__secondary-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0;
}

.rb-gallery-layout__secondary-btn {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	display: block;
	line-height: 0;
}

.rb-gallery-layout__secondary-img {
	display: block;
	width: 100%;
	max-width: 200px;
	height: auto;
	object-fit: cover;
	border-radius: 3px;
	border: 1px solid #ccc;
}

.rb-gallery-primary-choice {
	display: flex;
	gap: 0.35rem;
	align-items: center;
	justify-content: center;
	margin-top: 0.35rem;
	font-size: 0.85rem;
}

.rb-gallery-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	margin: 0.5rem 0;
	padding: 0;
}

.rb-gallery-grid__item {
	margin: 0;
}

.rb-gallery-grid__thumb {
	display: block;
	width: 160px;
	height: 90px;
	object-fit: cover;
	border-radius: 3px;
	border: 1px solid #ccc;
}

.rb-gallery-grid__preview {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	display: block;
}

.rb-gallery-grid__remove-toggle {
	display: flex;
	gap: 0.35rem;
	align-items: center;
	margin-top: 0.35rem;
	font-size: 0.85rem;
}

.rb-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0;
	z-index: 99999;
}

.rb-lightbox.is-open {
	display: flex;
}

.rb-lightbox__img {
	width: 100vw;
	max-width: 100%;
	max-height: 100vh;
	object-fit: contain;
}

.rb-lightbox__close {
	position: absolute;
	right: 1rem;
	top: 1rem;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 4px;
	width: 2rem;
	height: 2rem;
	font-size: 1.4rem;
	line-height: 1.5rem;
	cursor: pointer;
}

.rb-delete-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 1rem;
}

.rb-delete-modal.is-open {
	display: flex;
}

.rb-delete-modal__panel {
	background: #fff;
	max-width: 460px;
	width: 100%;
	padding: 1rem 1.2rem;
	border-radius: 8px;
}

.rb-delete-modal__panel h3 {
	margin-top: 0;
	margin-bottom: 1rem;
}

.rb-delete-modal__actions {
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
}

/* Railmotif Base – Inici (escriptori) */
.rb-home .muted {
	color: #5a6b62;
	font-size: 0.9rem;
}

.rb-home__toolbar {
	margin: 0;
}

.rb-home__toolbar .button {
	margin-right: 0.5rem;
}

.rb-home__tagline {
	margin: 0.85rem 0 0;
	max-width: min(280px, 100%);
	font-size: 1rem;
	font-style: italic;
	line-height: 1.45;
	color: var(--rb-text, #1a2e24);
	text-align: center;
}

.rb-home__social-links {
	list-style: none;
	margin: 0.65rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	justify-content: center;
	max-width: min(280px, 100%);
}

.rb-home__social-links a {
	font-weight: 600;
	color: var(--rb-green-dark, #1e4d36);
	text-decoration: none;
	border-bottom: 2px solid var(--rb-yellow, #e8b923);
}

.rb-home__social-links a:hover {
	color: var(--rb-green, #2f6f4e);
}

.rb-account-settings__intro {
	margin-top: 0.35rem;
}

.rb-account .rb-panel {
	border-radius: 14px;
	border-color: var(--rb-border, #c5ddd0);
	background: var(--rb-surface-muted, #f4faf6);
	box-shadow: 0 2px 12px rgba(30, 77, 54, 0.05);
}

.rb-account__section-title {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-account__subsection-title {
	margin: 1.25rem 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-account__avatar-panel .rb-account__subsection-title {
	margin-top: 0;
}

.rb-account .rb-admin-csv {
	margin: 0 !important;
	padding: 1rem 1.25rem !important;
	max-width: none !important;
	background: var(--rb-surface-muted, #f4faf6) !important;
	border: 1px solid var(--rb-border, #c5ddd0) !important;
	border-left: 4px solid var(--rb-green, #2f6f4e) !important;
	border-radius: 14px !important;
	box-shadow: 0 2px 12px rgba(30, 77, 54, 0.05) !important;
}

.rb-account .rb-admin-csv > .rb-heading-icon {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-account .rb-admin-csv h3.rb-heading-icon {
	margin: 1.25rem 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-account-settings h4 {
	margin: 0;
}

.rb-account-settings .rb-field--row {
	display: grid;
	grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
	gap: 0.5rem 1rem;
	align-items: center;
	margin-bottom: 0.65rem;
}

.rb-account-settings .rb-field--row span {
	display: block;
	margin-bottom: 0;
	font-size: 0.85rem;
	line-height: 1.3;
}

.rb-account-settings .rb-field--row input,
.rb-account-settings .rb-field--row textarea {
	margin: 0;
}

.rb-account-settings .rb-field--row textarea {
	min-height: 2.4rem;
	resize: vertical;
}

.rb-account__remove-avatar-form {
	display: none;
}

.rb-account__avatar-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.35rem;
	align-items: center;
}

.rb-account__avatar-actions .button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.rb-account__profile-block {
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--rb-border, #c5ddd0);
}

.rb-account__profile-name {
	margin: 0 0 0.15rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--rb-green-dark, #1e4d36);
	word-break: break-word;
}

.rb-account__profile-login {
	margin: 0 0 0.85rem;
	font-size: 0.88rem;
	line-height: 1.35;
	word-break: break-word;
}

.rb-account__profile-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 1rem 1.25rem;
}

.rb-account__profile-row .rb-account__avatar {
	flex: 0 0 auto;
	width: 120px;
	max-width: 120px;
}

.rb-account__profile-row .rb-home__avatar-frame {
	width: 120px;
	height: 120px;
	min-width: 120px;
	min-height: 120px;
	max-width: 120px;
	max-height: 120px;
}

.rb-account__profile-row .rb-home__avatar-img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}

.rb-account__avatar-upload {
	flex: 1 1 0;
	min-width: 0;
}

.rb-account__avatar-upload .rb-field {
	margin-bottom: 0.5rem;
}

.rb-account__avatar-file input[type="file"] {
	max-width: 100%;
}

.rb-account__avatar-hint {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
}

@media (max-width: 640px) {
	.rb-account-settings .rb-field--row {
		grid-template-columns: 1fr;
		gap: 0.25rem;
		align-items: stretch;
	}

	.rb-account__profile-row {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0.75rem;
	}

	.rb-account__profile-row .rb-account__avatar,
	.rb-account__profile-row .rb-home__avatar-frame {
		width: 88px;
		max-width: 88px;
		min-width: 88px;
	}

	.rb-account__profile-row .rb-home__avatar-frame {
		height: 88px;
		min-height: 88px;
		max-height: 88px;
	}

	.rb-account__profile-row .rb-home__avatar-placeholder {
		font-size: 2rem;
	}
}

.rb-account-settings .rb-field--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	flex-direction: row;
}

.rb-account-settings .rb-field--checkbox span {
	margin: 0;
}

.rb-account-settings .rb-field--checkbox input {
	width: auto;
	margin-top: 0.15rem;
}

.rb-account__hero {
	display: block;
}

.rb-account__hero-grid {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"avatar identity"
		"panel panel";
	gap: 0.85rem 1.25rem;
	align-items: center;
	width: 100%;
}

.rb-account__hero-grid .rb-account__avatar {
	grid-area: avatar;
}

.rb-account__identity {
	grid-area: identity;
	min-width: 0;
	align-self: center;
}

.rb-account__identity .rb-home__display-name {
	margin: 0 0 0.15rem;
	font-size: 1.2rem;
	line-height: 1.25;
	word-break: break-word;
}

.rb-account__identity .rb-home__login {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.35;
	word-break: break-word;
}

.rb-account__identity .rb-home__tagline {
	margin: 0.35rem 0 0;
	font-size: 0.88rem;
	line-height: 1.35;
}

.rb-account__avatar-panel {
	grid-area: panel;
	min-width: 0;
	padding-top: 0.85rem;
	margin-top: 0.15rem;
	border-top: 1px solid var(--rb-border, #c5ddd0);
}

.rb-account__avatar-panel h4 {
	margin-top: 0;
}

.rb-account__avatar-hint {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
}

.rb-account__avatar-panel .rb-field:last-child {
	margin-bottom: 0;
}

@media (max-width: 640px) {
	.rb-account__hero-grid {
		grid-template-columns: 72px 1fr;
		gap: 0.65rem 0.85rem;
		align-items: center;
	}

	.rb-account__identity .rb-home__display-name {
		font-size: 1.05rem;
	}

	.rb-account__identity .rb-home__login {
		font-size: 0.8rem;
	}

	.rb-account__avatar-panel {
		padding-top: 0.75rem;
		margin-top: 0.35rem;
	}
}

.rb-home__hero {
	display: flex;
	flex-wrap: wrap;
	gap: 1.75rem 2rem;
	align-items: flex-start;
	padding: 1.25rem 1.35rem;
	background: var(--rb-surface-muted, #f4faf6);
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(30, 77, 54, 0.07);
}

.rb-home__hero--inici {
	align-items: center;
	margin-bottom: 0.25rem;
}

.rb-home__hero-aside {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
}

.rb-home__hero-main {
	flex: 1 1 280px;
	min-width: 0;
}

.rb-home__hero-main .rb-home__display-name {
	margin-top: 0;
}

.rb-home__hero-main .rb-home__login {
	margin-bottom: 0.85rem;
}

.rb-home__hero-main .rb-home__quick-links {
	margin: 1rem 0 0;
}

.rb-home__avatar-wrap {
	flex: 0 0 auto;
	max-width: 100%;
}

@media (max-width: 640px) {
	.rb-home__hero--inici {
		flex-direction: column;
		align-items: stretch;
		gap: 1.25rem;
	}

	.rb-home__hero-aside {
		align-items: center;
	}

	.rb-home__hero-main {
		text-align: center;
	}

	.rb-home__hero-main .rb-home__stats {
		width: 100%;
	}

	.rb-home__hero-main .rb-home__quick-links {
		justify-content: center;
	}
}

.rb-home__avatar-frame {
	width: min(200px, 40vw);
	height: min(200px, 40vw);
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid var(--rb-green, #2f6f4e);
	background: var(--rb-green-soft, #e8f2ec);
	box-shadow: 0 6px 24px rgba(30, 77, 54, 0.12);
}

.rb-account__hero-grid .rb-account__avatar .rb-home__avatar-frame {
	width: 120px;
	height: 120px;
}

@media (max-width: 640px) {
	.rb-account__hero-grid .rb-account__avatar .rb-home__avatar-frame {
		width: 72px;
		height: 72px;
	}
}

.rb-home__avatar-frame--empty {
	display: flex;
	align-items: center;
	justify-content: center;
}

.rb-home__avatar-placeholder {
	font-size: clamp(2.5rem, 10vw, 4rem);
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
	line-height: 1;
}

.rb-home__avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rb-home__profile {
	flex: 1 1 220px;
	min-width: 0;
}

.rb-home__display-name {
	margin: 0 0 0.25rem;
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.rb-home__login {
	margin: 0 0 1rem;
}

.rb-home__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 0.65rem;
	margin: 0;
	align-items: start;
}

@media (min-width: 783px) {
	.rb-home__stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.25rem 0.75rem;
	}
}

@media (max-width: 782px) {
	.rb-home__stat-icon-svg {
		width: 58px;
		height: 58px;
		min-width: 58px;
		min-height: 58px;
	}

	.rb-home__stat-label {
		margin-top: 0.55rem;
		font-size: 0.78rem;
		line-height: 1.3;
		max-width: none;
	}

	.rb-home__stat-value {
		font-size: 1.35rem;
	}

	.rb-home__stat--link {
		padding: 0.25rem 0.35rem;
	}
}

.rb-home__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 0;
}

.rb-home__stat--link {
	text-decoration: none;
	color: inherit;
	border-radius: 10px;
	padding: 0.35rem 0.5rem;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.rb-home__stat--link:hover,
.rb-home__stat--link:focus-visible {
	background-color: rgba(47, 111, 78, 0.08);
	box-shadow: 0 0 0 2px var(--rb-yellow, #e8b923);
	outline: none;
}

.rb-home__stat--link:hover .rb-home__stat-label,
.rb-home__stat--link:focus-visible .rb-home__stat-label {
	text-decoration: underline;
}

.rb-home__stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.rb-home__stat-icon-svg {
	width: 75px;
	height: 75px;
	min-width: 75px;
	min-height: 75px;
	color: var(--rb-green, #2f6f4e);
}

.rb-home__stat-label {
	margin: 0.85rem 0 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--rb-green-dark, #1e4d36);
	text-transform: none;
	letter-spacing: 0;
	max-width: 16rem;
}

.rb-home__stat-value {
	margin: 0;
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--rb-text, #1a2e24);
	line-height: 1.2;
}

.rb-home__stat-value--money {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.rb-help-tip {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.rb-help-tip__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 50%;
	background: var(--rb-surface, #fff);
	color: var(--rb-green-dark, #1e4d36);
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(30, 77, 54, 0.08);
}

.rb-help-tip__btn:hover,
.rb-help-tip__btn:focus {
	border-color: var(--rb-green, #2f6f4e);
	color: var(--rb-green, #2f6f4e);
	outline: none;
}

.rb-help-tip__btn:focus-visible {
	box-shadow: 0 0 0 2px var(--rb-yellow-bright, #f5d547);
}

.rb-help-tip__icon {
	width: 0.95rem;
	height: 0.95rem;
}

.rb-help-tip--heading .rb-help-tip__btn {
	width: 1.75rem;
	height: 1.75rem;
}

.rb-help-tip--heading .rb-help-tip__icon {
	width: 1.1rem;
	height: 1.1rem;
}

.rb-help-tip__panel {
	position: absolute;
	z-index: 30;
	left: 50%;
	bottom: calc(100% + 0.55rem);
	transform: translateX(-50%);
	width: min(280px, 78vw);
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 10px;
	background: var(--rb-surface, #fff);
	color: var(--rb-text, #1a2e24);
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
	box-shadow: 0 8px 28px rgba(30, 77, 54, 0.16);
}

.rb-help-tip__panel::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	transform: rotate(45deg);
	background: var(--rb-surface, #fff);
	border-right: 1px solid var(--rb-border, #c5ddd0);
	border-bottom: 1px solid var(--rb-border, #c5ddd0);
}

.rb-help-tip.is-open .rb-help-tip__panel {
	display: block;
}

.rb-help-tip__panel.is-positioned-fixed {
	position: fixed;
	z-index: 100010;
}

.rb-help-tip__panel.is-positioned-fixed::after {
	display: none;
}

.rb-help-tip--heading .rb-help-tip__panel {
	left: 50%;
	right: auto;
	bottom: auto;
	top: calc(100% + 0.55rem);
	transform: translateX(-50%);
	width: min(340px, 88vw);
}

.rb-help-tip--heading .rb-help-tip__panel::after {
	left: 50%;
	right: auto;
	bottom: auto;
	top: -6px;
	margin-left: -6px;
	border-right: none;
	border-bottom: none;
	border-left: 1px solid var(--rb-border, #c5ddd0);
	border-top: 1px solid var(--rb-border, #c5ddd0);
}

.rb-fields-title {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 0.65rem;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-fields-title__text {
	min-width: 0;
}

.rb-print-form__fields-title {
	margin: 0 0 0.65rem;
}

.rb-home__storage {
	margin-top: 1.35rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 12px;
	background: var(--rb-surface-muted, #f4faf6);
	box-shadow: 0 2px 12px rgba(30, 77, 54, 0.05);
}

.rb-home__storage-title {
	margin: 0 0 0.45rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-home__storage-meta {
	margin: 0 0 0.65rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--rb-text, #1a2e24);
}

.rb-account-storage .rb-home__storage-meta {
	margin-top: 0;
}

.rb-home__storage-actions {
	margin: 0 0 0.75rem;
}

.rb-home__storage-bar {
	display: block;
	width: 100%;
	height: 14px;
	border-radius: 999px;
	background: #d8e6dc;
	overflow: hidden;
}

.rb-home__storage-bar > span {
	display: block;
	height: 100%;
	background: var(--rb-green, #2f6f4e);
	border-radius: 999px;
	transition: width 0.25s ease;
}

.rb-home__storage-bar--warn > span {
	background: var(--rb-yellow, #e8b923);
}

.rb-home__storage-bar--full > span {
	background: #c0392b;
}

.rb-home__stats-note {
	margin: 0.75rem 0 0;
	line-height: 1.45;
}

.rb-icon--custom {
	flex-shrink: 0;
}

.rb-icon--custom path {
	stroke: currentColor;
}

.rb-icon--custom path[fill]:not([fill="none"]) {
	fill: currentColor;
}

.rb-home__relationships {
	margin-top: 1.25rem;
	margin-bottom: 1.5rem;
}

.rb-layouts {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rb-border, #c5ddd0);
}

.rb-home__social-intro {
	margin-top: 0;
	line-height: 1.5;
}

.rb-home__follow-row {
	margin: 1rem 0 1.25rem;
}

.rb-home__follow-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.65rem 1rem;
}

.rb-home__follow-field {
	flex: 1 1 200px;
	max-width: 100%;
	margin: 0;
}

.rb-home__subheading {
	margin: 1.25rem 0 0.5rem;
	font-size: 1.05rem;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-home__friends-list {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
}

.rb-home__friend-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 0.5rem 0.75rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--rb-border, #c5ddd0);
}

.rb-home__friend-link {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: 0.65rem 0.75rem;
	min-width: 0;
	color: inherit;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.15s ease;
}

.rb-home__friend-link:hover,
.rb-home__friend-link:focus-visible {
	background: var(--rb-green-soft, #e8f2ec);
	outline: none;
}

a.rb-home__friend-news {
	text-decoration: none;
	color: inherit;
}

a.rb-home__friend-news:hover,
a.rb-home__friend-news:focus-visible {
	filter: brightness(0.95);
}

.rb-home__friend-item:last-child {
	border-bottom: 0;
}

.rb-home__friend-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--rb-green-soft, #e8f2ec);
	flex-shrink: 0;
}

.rb-home__friend-avatar-img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	display: block;
}

.rb-home__friend-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-home__friend-name {
	font-weight: 600;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
	hyphens: none;
}

.rb-home__friend-news-slot {
	justify-self: end;
	min-width: 2.5rem;
	text-align: right;
}

.rb-home__friend-news {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.3;
	background: var(--rb-yellow, #e8b923);
	color: var(--rb-text, #1a2e24);
	white-space: nowrap;
}

.rb-home__friend-action {
	margin: 0;
	justify-self: end;
}

.rb-home__friend-action-select {
	max-width: 11rem;
	font-size: 0.9rem;
}

@media (max-width: 520px) {
	.rb-home__friend-item {
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
	}

	.rb-home__friend-link {
		grid-column: 1 / -1;
	}

	.rb-home__friend-news-slot {
		grid-column: 1;
		justify-self: start;
		text-align: left;
	}

	.rb-home__friend-action {
		grid-column: 1 / -1;
		justify-self: stretch;
	}

	.rb-home__friend-action-select {
		max-width: 100%;
		width: 100%;
	}
}

.rb-home__alerts {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
}

.rb-home__alert {
	padding: 0.75rem 1rem;
	margin-bottom: 0.5rem;
	border-radius: 10px;
	background: var(--rb-yellow-soft, #fdf8e4);
	border: 1px solid var(--rb-yellow, #e8b923);
	color: var(--rb-text, #1a2e24);
	line-height: 1.45;
}

.rb-home__alert:last-child {
	margin-bottom: 0;
}

.rb-home__alert-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.rb-home__alert-link:hover,
.rb-home__alert-link:focus-visible {
	text-decoration: underline;
	outline: none;
}

.rb-user-profile__shares {
	margin-top: 1.5rem;
}

.rb-user-profile__hero .rb-home__profile {
	flex: 1 1 280px;
	min-width: 0;
}

.rb-user-profile__tagline {
	margin: 0.45rem 0 0;
	max-width: 100%;
	text-align: left;
	font-size: 1.05rem;
}

.rb-user-profile__social-links {
	justify-content: flex-start;
	max-width: 100%;
	margin-top: 0.65rem;
}

.rb-user-profile__hero .rb-home__login {
	margin: 0.65rem 0 0;
}

@media (max-width: 640px) {
	.rb-user-profile__hero {
		flex-direction: column;
		align-items: center;
	}

	.rb-user-profile__hero .rb-home__profile {
		width: 100%;
		text-align: center;
	}

	.rb-user-profile__tagline {
		text-align: center;
	}

	.rb-user-profile__social-links {
		justify-content: center;
	}
}

.rb-gallery-feed__card--highlight {
	box-shadow: 0 0 0 3px var(--rb-yellow, #e8b923);
	transition: box-shadow 0.4s ease;
}

/* —— Galeria (feed i compartir) —— */
.rb-gallery__intro {
	margin: 0 0 1.25rem;
	line-height: 1.5;
}

.rb-gallery__relationships {
	margin-bottom: 1.5rem;
}

.rb-gallery__rel-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.65rem 1rem;
	margin: 1rem 0;
}

.rb-gallery__rel-field {
	flex: 1 1 160px;
	margin: 0;
}

.rb-gallery__rel-list {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
}

.rb-gallery__rel-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--rb-border, #c5ddd0);
}

.rb-gallery__rel-item:last-child {
	border-bottom: 0;
}

.rb-gallery__rel-name {
	font-weight: 600;
}

.rb-gallery__rel-badge {
	font-size: 0.8rem;
	padding: 0.15rem 0.5rem;
	border-radius: 6px;
	background: var(--rb-green-soft, #e8f4ec);
	color: var(--rb-green-dark, #1e4d36);
}

.rb-gallery__rel-badge--ignored {
	background: #f5e8e8;
	color: #6b2c2c;
}

.rb-gallery__section {
	margin: 2rem 0 0;
}

.rb-gallery--embedded > .rb-gallery__section:first-of-type,
.rb-gallery--unified > .rb-gallery__section:first-of-type {
	margin-top: 0;
}

.rb-gallery__section > h3 {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 1.2rem;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-gallery-feed {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.rb-gallery-feed__card {
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

.rb-gallery-feed__header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.75rem 1rem 0.5rem;
}

.rb-gallery-feed__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--rb-green-soft, #e8f4ec);
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
}

a.rb-gallery-feed__avatar-link {
	color: inherit;
	text-decoration: none;
}

a.rb-gallery-feed__avatar-link:hover,
a.rb-gallery-feed__avatar-link:focus-visible {
	opacity: 0.85;
	outline: none;
}

.rb-gallery-feed__avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rb-gallery-feed__meta {
	min-width: 0;
}

.rb-gallery-feed__author {
	display: block;
	font-size: 0.95rem;
}

.rb-gallery-feed__author-link {
	color: inherit;
	text-decoration: none;
	font-weight: 700;
}

.rb-gallery-feed__author-link:hover,
.rb-gallery-feed__author-link:focus-visible {
	text-decoration: underline;
	outline: none;
}

.rb-gallery-feed__date {
	font-size: 0.8rem;
}

.rb-gallery-feed__media {
	line-height: 0;
}

.rb-gallery-feed__zoom {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}

.rb-gallery-feed__img {
	width: 100%;
	height: auto;
	display: block;
}

.rb-gallery-feed--compact {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.75rem;
}

.rb-gallery-feed--compact .rb-gallery-feed__card {
	border-radius: 8px;
}

.rb-gallery-feed--compact .rb-gallery-feed__header {
	padding: 0.45rem 0.55rem 0.3rem;
	gap: 0.4rem;
}

.rb-gallery-feed--compact .rb-gallery-feed__avatar {
	width: 28px;
	height: 28px;
	font-size: 0.75rem;
}

.rb-gallery-feed--compact .rb-gallery-feed__author,
.rb-gallery-feed--compact .rb-gallery-feed__author-link {
	font-size: 0.78rem;
	line-height: 1.2;
}

.rb-gallery-feed--compact .rb-gallery-feed__date {
	font-size: 0.68rem;
}

.rb-gallery-feed--compact .rb-gallery-social,
.rb-gallery-feed--compact .rb-gallery-comments {
	display: none;
}

.rb-gallery-feed--compact .rb-gallery-feed__caption {
	font-size: 0.72rem;
	line-height: 1.3;
	padding: 0.35rem 0.5rem 0.45rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rb-gallery-feed--compact .rb-gallery-feed__source {
	font-size: 0.68rem;
	padding: 0 0.5rem 0.45rem;
	margin: 0;
}

@media (min-width: 640px) {
	.rb-gallery-feed--compact {
		grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	}
}

/* —— Hub col·lecció, comunitat, inici —— */
.rb-collection-hub__tabs {
	display: flex;
	gap: 0;
	margin: 0 0 1.25rem;
	border-bottom: 2px solid var(--rb-border, #c5ddd0);
	-webkit-overflow-scrolling: touch;
}

.rb-collection-hub__tab {
	flex: 1;
	min-width: 0;
	text-align: center;
	padding: 0.8rem 0.65rem;
	text-decoration: none;
	font-weight: 600;
	color: var(--rb-text, #1a2e24);
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	font-size: 0.95rem;
	line-height: 1.25;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.rb-collection-hub__tab:hover,
.rb-collection-hub__tab:focus-visible {
	color: var(--rb-green, #2f6f4e);
	background: var(--rb-green-soft, #e8f2ec);
	outline: none;
}

.rb-collection-hub__tab--active {
	color: var(--rb-green, #2f6f4e);
	border-bottom-color: var(--rb-green, #2f6f4e);
	background: transparent;
}

.rb-collection-hub__panel {
	min-width: 0;
}

.rb-collection-hub__divider {
	height: 1px;
	margin: 1.75rem 0;
	background: var(--rb-border, #c5ddd0);
}

.rb-collection-hub__heading {
	margin-top: 0;
}

.rb-collection-hub__section {
	margin-top: 0;
}

.rb-filters-panel {
	margin-bottom: 1rem;
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 14px;
	background: var(--rb-surface, #fff);
	box-shadow: 0 4px 20px rgba(30, 77, 54, 0.07);
}

.rb-filters-panel__summary {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.1rem;
	cursor: pointer;
	font-weight: 600;
	color: var(--rb-text, #1a2e24);
	list-style: none;
	user-select: none;
}

.rb-filters-panel__summary::-webkit-details-marker {
	display: none;
}

.rb-filters-panel__summary::marker {
	content: "";
}

.rb-filters-panel__summary::after {
	content: "";
	flex-shrink: 0;
	margin-left: auto;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	opacity: 0.7;
}

.rb-filters-panel__label {
	min-width: 0;
}

.rb-filters-panel__summary .rb-help-tip--summary {
	margin-left: 0.25rem;
	flex-shrink: 0;
}

.rb-filters-panel[open] .rb-filters-panel__summary::after {
	transform: rotate(-135deg);
	margin-top: 0.2rem;
}

.rb-filters-panel__icon {
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
}

.rb-filters-panel__body {
	padding: 0 1.1rem 1.1rem;
	border-top: 1px solid var(--rb-border, #c5ddd0);
}

.rb-filters-panel .rb-filters {
	margin-top: 0;
	border: 0;
	box-shadow: none;
	padding: 1rem 0 0;
	background: transparent;
}

@media (max-width: 480px) {
	.rb-collection-hub__tab {
		padding: 0.7rem 0.4rem;
		font-size: 0.82rem;
	}

	.rb-filters-panel__summary {
		padding: 0.65rem 0.9rem;
		font-size: 0.92rem;
	}

	.rb-filters-panel__body {
		padding: 0 0.9rem 0.9rem;
	}
}

.rb-community__filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.25rem;
}

.rb-community__filter-link {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--rb-border, #c5ddd0);
	text-decoration: none;
	color: var(--rb-text, #1a2e24);
	font-weight: 600;
	font-size: 0.9rem;
	background: #fff;
}

.rb-community__filter-link:hover,
.rb-community__filter-link:focus-visible {
	background: var(--rb-green-soft, #e8f2ec);
	outline: none;
}

.rb-community__filter-link--active {
	background: var(--rb-green, #2f6f4e);
	border-color: var(--rb-green, #2f6f4e);
	color: #fff;
}

.rb-gallery--embedded {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--rb-border, #c5ddd0);
}

.rb-gallery--embedded:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.rb-community__relationships {
	margin-top: 1.5rem;
}

.rb-home__alerts-primary {
	margin-bottom: 1.5rem;
}

.rb-home__alerts-title {
	margin-top: 0;
}

.rb-home__alerts-more {
	margin: 0.75rem 0 0;
}

.rb-home__quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

.rb-home__quick-links .button {
	margin: 0;
}

.rb-gallery-feed__caption {
	padding: 0.35rem 1rem 0.75rem;
	font-size: 0.95rem;
	line-height: 1.45;
}

.rb-gallery-feed__source {
	padding: 0 1rem 0.85rem;
	margin: 0;
	font-size: 0.85rem;
}

.rb-gallery__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.rb-gallery-share {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: 1px dashed var(--rb-border, #c5ddd0);
	font-size: 0.88rem;
}

.rb-gallery-share__status {
	margin: 0 0 0.35rem;
	color: var(--rb-green-dark, #1e4d36);
	font-weight: 600;
}

.rb-gallery-share__summary {
	cursor: pointer;
	color: var(--rb-green-dark, #1e4d36);
	font-weight: 600;
}

.rb-gallery-share__form {
	margin-top: 0.5rem;
}

.rb-gallery-share__form textarea {
	width: 100%;
	min-height: 4.5rem;
}

.rb-layouts__list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1rem;
}

.rb-layouts__item {
	margin: 0;
}

.rb-layouts__title {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
}

.rb-layouts__thumb {
	margin-bottom: 0.5rem;
	border-radius: 8px;
	overflow: hidden;
}

.rb-layouts__thumb-img {
	width: 100%;
	height: auto;
	display: block;
}

/* Community sections + private messaging */
.rb-community__sections {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
}

.rb-community__section-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--rb-border, #c5ddd0);
	text-decoration: none;
	color: inherit;
	font-weight: 600;
}

.rb-community__section-link:hover,
.rb-community__section-link:focus-visible {
	border-color: var(--rb-green, #2d6a4f);
	color: var(--rb-green-dark, #1e4d36);
}

.rb-community__section-link--active {
	background: var(--rb-green, #2d6a4f);
	border-color: var(--rb-green, #2d6a4f);
	color: #fff;
}

.rb-messages__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #c0392b;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
}

.rb-community__section-link--active .rb-messages__badge {
	background: #fff;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-messages__banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.rb-messages__banner-link {
	font-weight: 600;
}

.rb-messages__folders {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.rb-messages__folder-link {
	display: inline-flex;
	align-items: center;
	padding: 0.4rem 0.75rem;
	border-radius: 6px;
	border: 1px solid var(--rb-border, #c5ddd0);
	text-decoration: none;
	color: inherit;
}

.rb-messages__folder-link--active {
	background: var(--rb-green-pale, #e8f3ec);
	border-color: var(--rb-green, #2d6a4f);
	font-weight: 600;
}

.rb-messages__folder-link--compose {
	margin-left: auto;
}

.rb-messages__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rb-messages__item {
	border-bottom: 1px solid var(--rb-border, #c5ddd0);
}

.rb-messages__item--unread .rb-messages__item-label {
	font-weight: 700;
}

.rb-messages__item-link {
	display: grid;
	grid-template-columns: minmax(120px, 1fr) 2fr auto;
	gap: 0.75rem;
	padding: 0.75rem 0.25rem;
	text-decoration: none;
	color: inherit;
}

.rb-messages__item-link:hover,
.rb-messages__item-link:focus-visible {
	background: var(--rb-green-pale, #e8f3ec);
}

.rb-messages__body {
	white-space: pre-wrap;
	line-height: 1.55;
	margin: 1rem 0;
}

.rb-messages__compose-form textarea {
	width: 100%;
	min-height: 8rem;
}

.rb-messages__delete-form {
	margin-top: 1rem;
}

.rb-messages__pagination {
	margin-top: 1rem;
}

.rb-home__messages-alerts {
	margin-top: 0;
}

@media (max-width: 640px) {
	.rb-messages__item-link {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.rb-messages__folder-link--compose {
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}
}

/* Eines — impressió de col·lecció */
.rb-account-print__intro {
	margin: 0 0 1rem;
}

.rb-print-form__scope {
	border: 0;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.rb-print-form__scope legend {
	font-weight: 700;
	width: 100%;
	margin-bottom: 0.15rem;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-print-form__scope .rb-field--radio {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
}

.rb-print-form__scope .rb-field--radio input {
	width: auto;
	margin: 0;
}

.rb-print-form__fields-title {
	margin: 0 0 0.35rem;
	font-weight: 700;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-print-form__filters {
	margin-bottom: 1rem;
}

.rb-print-form__filters-grid {
	margin-bottom: 0.35rem;
}

.rb-print-form__fields-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
}

.rb-print-form__group {
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 10px;
	padding: 0.65rem 0.75rem;
	margin: 0 0 0.65rem;
}

.rb-print-form__group legend {
	font-size: 0.9rem;
	font-weight: 700;
	padding: 0 0.25rem;
	color: var(--rb-green-dark, #1e4d36);
}

.rb-print-form__checks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	gap: 0.35rem 0.75rem;
}

.rb-print-form__check {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	margin: 0;
}

.rb-print-form__check input {
	width: auto;
	margin-top: 0.15rem;
}

.rb-print-form__check span {
	font-size: 0.88rem;
	line-height: 1.3;
}

.rb-print-form__actions {
	margin-top: 1rem;
}

/* Vista prèvia / impressió A4 */
body.rb-print-preview-page .rb-shell,
body.rb-print-preview-page .rb-shell__nav {
	display: none !important;
}

.rb-print-document {
	max-width: 210mm;
	margin: 0 auto;
	padding: 1rem;
	color: #111;
	background: #fff;
}

.rb-print-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-bottom: 1rem;
	padding: 0.75rem;
	border: 1px solid var(--rb-border, #c5ddd0);
	border-radius: 10px;
	background: var(--rb-surface-muted, #f4faf6);
}

.rb-print-toolbar__hint {
	margin: 0;
	width: 100%;
	font-size: 0.85rem;
}

.rb-print-header {
	margin-bottom: 0.85rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #2f6f4e;
}

.rb-print-header__title {
	margin: 0 0 0.2rem;
	font-size: 1.35rem;
	line-height: 1.2;
	color: #1e4d36;
}

.rb-print-header__meta {
	margin: 0;
	font-size: 0.82rem;
	color: #444;
}

.rb-print-table-wrap {
	overflow-x: auto;
}

.rb-print-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.72rem;
	line-height: 1.35;
}

.rb-print-table th,
.rb-print-table td {
	border: 1px solid #bbb;
	padding: 0.28rem 0.35rem;
	vertical-align: top;
	text-align: left;
}

.rb-print-table thead th {
	background: #e8f2ec;
	color: #1e4d36;
	font-weight: 700;
}

.rb-print-table tbody tr:nth-child(even) {
	background: #f8faf9;
}

.rb-print-col-photo {
	width: 42px;
	text-align: center;
}

.rb-print-thumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	overflow: hidden;
	border-radius: 4px;
	border: 1px solid #ccc;
	background: #f4f4f4;
}

.rb-print-thumb-img {
	width: 100% !important;
	height: 100% !important;
	max-width: 36px;
	max-height: 36px;
	object-fit: cover;
	display: block;
}

.rb-print-thumb--empty {
	font-size: 0.75rem;
	color: #888;
	line-height: 36px;
}

@media print {
	@page {
		size: A4 portrait;
		margin: 12mm;
	}

	body.rb-print-preview-page .rb-print-toolbar,
	body.rb-print-preview-page .site-header,
	body.rb-print-preview-page .site-footer,
	body.rb-print-preview-page #masthead,
	body.rb-print-preview-page #colophon,
	body.rb-print-preview-page .ast-header-break-point,
	body.rb-print-preview-page .main-header-bar-wrap {
		display: none !important;
	}

	.rb-print-document {
		max-width: none;
		padding: 0;
	}

	.rb-print-table {
		font-size: 8pt;
	}

	.rb-print-table thead {
		display: table-header-group;
	}

	.rb-print-table tr {
		break-inside: avoid;
		page-break-inside: avoid;
	}
}
