:root {
	--portal-primary: #e6b70f;
	--portal-secondary: #4d34a0;
	--bbp-ink: #1f2d29;
	--bbp-muted: #65736e;
	--bbp-border: #dce5e1;
	--bbp-surface: #ffffff;
	--bbp-soft: #f5f8f7;
	--bbp-green: #27734f;
	--bbp-green-soft: #e9f6ef;
	--bbp-yellow: #8b6500;
	--bbp-yellow-soft: #fff6cf;
	--bbp-red: #a53a3a;
	--bbp-red-soft: #fdeaea;
	--bbp-purple: #6d4a93;
	--bbp-purple-soft: #f1eafa;
	--bbp-radius: 18px;
	--bbp-shadow: 0 10px 32px rgba(31, 45, 41, 0.08);
}

.bbp-portal-page .um-header,
.bbp-portal-page .um-profile-header,
.bbp-portal-page .um-profile-photo,
.bbp-portal-page .um-name,
.bbp-portal-page .um-profile-bio {
	display: none !important;
}

.bbp-portal-shell,
.bbp-portal-shell *,
.cbd-admin,
.cbd-admin * {
	box-sizing: border-box;
}

.bbp-portal-shell {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	color: var(--bbp-ink);
	font-size: 16px;
	line-height: 1.55;
}

.bbp-portal-shell h1,
.bbp-portal-shell h2,
.bbp-portal-shell h3,
.bbp-portal-shell h4,
.bbp-portal-shell h5,
.cbd-admin h1,
.cbd-admin h2,
.cbd-admin h3 {
	margin-top: 0;
	color: var(--bbp-ink);
	line-height: 1.2;
}

.bbp-portal-shell p:last-child,
.cbd-admin-panel > :last-child {
	margin-bottom: 0;
}

.bbp-app-header {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px 20px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--portal-primary) 12%, white), #fff);
	border: 1px solid var(--bbp-border);
	border-radius: var(--bbp-radius) var(--bbp-radius) 0 0;
}

.bbp-app-header h1 {
	margin: 4px 0 4px;
	font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.bbp-app-header p {
	margin: 0;
	color: var(--bbp-muted);
}

.bbp-eyebrow {
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--portal-primary);
}

.bbp-dog-switcher {
	display: grid;
	gap: 6px;
	min-width: min(100%, 260px);
	font-weight: 700;
}

.bbp-dog-switcher span {
	font-size: 0.8rem;
	color: var(--bbp-muted);
}

.bbp-dog-switcher select,
.bbp-field input,
.bbp-field select,
.bbp-field textarea,
.cbd-field input,
.cbd-field select,
.cbd-field textarea,
.cbd-admin-filters select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #b9c9c3;
	border-radius: 10px;
	background: #fff;
	color: var(--bbp-ink);
	font: inherit;
}

.bbp-field textarea,
.cbd-field textarea {
	min-height: 100px;
	resize: vertical;
}

.bbp-dog-switcher select:focus,
.bbp-field input:focus,
.bbp-field select:focus,
.bbp-field textarea:focus,
.cbd-field input:focus,
.cbd-field select:focus,
.cbd-field textarea:focus {
	outline: 3px solid color-mix(in srgb, var(--portal-primary) 22%, transparent);
	border-color: var(--portal-primary);
}

.bbp-main-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: var(--bbp-surface);
	border: 1px solid var(--bbp-border);
	box-shadow: 0 8px 18px rgba(31, 45, 41, 0.05);
}

.admin-bar .bbp-main-nav {
	top: 46px;
}

.bbp-main-nav__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 62px;
	padding: 10px 8px;
	border-bottom: 3px solid transparent;
	color: var(--bbp-muted);
	text-align: center;
	text-decoration: none !important;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.bbp-main-nav__item:hover,
.bbp-main-nav__item:focus,
.bbp-main-nav__item.is-active {
	background: color-mix(in srgb, var(--portal-primary) 7%, white);
	border-bottom-color: var(--portal-primary);
	color: var(--portal-primary);
}

.bbp-nav-icon {
	font-size: 1.5rem;
	line-height: 1;
}

.bbp-nav-label {
	display: none;
}

.bbp-view-container {
	min-height: 420px;
	padding: 24px 0 60px;
}

.bbp-view-heading,
.bbp-panel,
.bbp-card,
.bbp-onboarding-card,
.bbp-empty-state,
.bbp-login-required,
.cbd-report,
.cbd-maintenance-report {
	background: var(--bbp-surface);
	border: 1px solid var(--bbp-border);
	border-radius: var(--bbp-radius);
	box-shadow: var(--bbp-shadow);
}

.bbp-view-heading {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
	padding: 24px;
}

.bbp-view-heading h2 {
	margin: 5px 0 8px;
	font-size: clamp(1.55rem, 4vw, 2.2rem);
}

.bbp-view-heading p,
.bbp-panel-heading p {
	margin: 0;
	color: var(--bbp-muted);
}

.bbp-dashboard-grid,
.bbp-dog-profile-grid,
.bbp-resource-grid,
.bbp-maintenance-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.bbp-card,
.bbp-panel,
.bbp-onboarding-card,
.bbp-empty-state,
.bbp-login-required {
	padding: 22px;
}

.bbp-card-heading,
.bbp-panel-heading,
.bbp-report-heading,
.bbp-maintenance-result__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.bbp-card-heading h3,
.bbp-panel-heading h3,
.bbp-panel-heading h4 {
	margin: 0;
}

.bbp-card-heading a,
.bbp-panel-heading a {
	font-weight: 700;
	color: var(--portal-primary);
}

.bbp-onboarding-card {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	background: color-mix(in srgb, var(--portal-primary) 7%, white);
}

.bbp-onboarding-icon,
.bbp-tip-icon {
	font-size: 2.2rem;
}

.bbp-button,
a.bbp-button,
.cbd-button,
a.cbd-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 17px;
	border: 1px solid var(--portal-primary);
	border-radius: 8px;
	background: var(--portal-primary);
	color: #fff !important;
	font: inherit;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.bbp-button:hover,
.bbp-button:focus,
.cbd-button:hover,
.cbd-button:focus {
	filter: brightness(0.94);
	box-shadow: 0 5px 16px color-mix(in srgb, var(--portal-primary) 22%, transparent);
	transform: translateY(-1px);
}

.bbp-button--secondary,
.cbd-button-secondary {
	border-color: var(--portal-secondary);
	background: var(--portal-secondary);
}

.bbp-button--ghost {
	background: transparent;
	color: var(--portal-primary) !important;
}

.bbp-button--small,
.cbd-button-small {
	min-height: 36px;
	padding: 7px 12px;
	font-size: 0.86rem;
}

.bbp-dog-summary {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 18px;
}

.bbp-dog-avatar,
.bbp-dog-profile-card img,
.cbd-dog-photo {
	width: 92px;
	height: 92px;
	border-radius: 14px;
	object-fit: cover;
	object-position: center;
	background: var(--bbp-soft);
}

.bbp-dog-avatar--fallback,
.bbp-dog-profile-placeholder {
	display: grid;
	place-items: center;
	font-size: 2.3rem;
}

.bbp-dog-summary h4 {
	margin: 0;
	font-size: 1.35rem;
}

.bbp-dog-summary p {
	margin: 2px 0 12px;
	color: var(--bbp-muted);
}

.bbp-compact-details {
	display: grid;
	gap: 6px;
	margin: 0;
}

.bbp-compact-details > div {
	display: grid;
	grid-template-columns: minmax(90px, 0.45fr) 1fr;
	gap: 10px;
}

.bbp-compact-details dt {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--bbp-muted);
}

.bbp-compact-details dd {
	margin: 0;
}

.bbp-badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 13px;
}

.bbp-badge,
.bbp-protocol-badge,
.bbp-event-category,
.bbp-zone-label,
.bbp-maintenance-status {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--bbp-soft);
	font-size: 0.75rem;
	font-weight: 800;
}

.bbp-snapshot-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.bbp-snapshot {
	display: grid;
	gap: 4px;
	padding: 16px;
	border-radius: 14px;
	background: var(--bbp-soft);
}

.bbp-snapshot span {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--bbp-muted);
}

.bbp-snapshot strong {
	font-size: 1.8rem;
}

.bbp-snapshot small {
	color: var(--bbp-muted);
}

.bbp-zone-green,
.bbp-status-green,
.cbd-pill-green {
	background: var(--bbp-green-soft) !important;
	color: var(--bbp-green) !important;
}

.bbp-zone-yellow,
.bbp-status-yellow,
.cbd-pill-yellow {
	background: var(--bbp-yellow-soft) !important;
	color: var(--bbp-yellow) !important;
}

.bbp-zone-red,
.bbp-status-red,
.cbd-pill-red {
	background: var(--bbp-red-soft) !important;
	color: var(--bbp-red) !important;
}

.bbp-status-purple,
.cbd-pill-purple {
	background: var(--bbp-purple-soft) !important;
	color: var(--bbp-purple) !important;
}

.bbp-launcher-list,
.bbp-activity-list,
.bbp-event-list,
.bbp-log-list {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bbp-launcher {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--bbp-border);
	border-radius: 13px;
	color: var(--bbp-ink) !important;
	text-decoration: none !important;
}

.bbp-launcher:hover,
.bbp-launcher:focus {
	border-color: var(--portal-primary);
	background: color-mix(in srgb, var(--portal-primary) 5%, white);
}

.bbp-launcher span:first-child {
	display: grid;
	gap: 2px;
}

.bbp-launcher small,
.bbp-activity-list small {
	color: var(--bbp-muted);
}

.bbp-cal-embed {
	min-height: 540px;
	overflow: hidden;
	border: 1px solid var(--bbp-border);
	border-radius: 14px;
	background: var(--bbp-soft);
}

.bbp-cal-placeholder {
	display: grid;
	min-height: 220px;
	place-items: center;
	color: var(--bbp-muted);
}

.bbp-activity-list li {
	display: grid;
	grid-template-columns: 12px 1fr;
	align-items: start;
	gap: 10px;
}

.bbp-activity-list li > div {
	display: grid;
	gap: 2px;
}

.bbp-activity-dot {
	width: 10px;
	height: 10px;
	margin-top: 7px;
	border-radius: 50%;
	background: var(--portal-secondary);
}

.bbp-tip-card {
	background: linear-gradient(145deg, color-mix(in srgb, var(--portal-secondary) 9%, white), #fff);
}

.bbp-subnav {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	margin: -4px 0 20px;
	padding: 4px 2px 10px;
	scrollbar-width: thin;
}

.bbp-subnav a {
	flex: 0 0 auto;
	padding: 10px 14px;
	border: 2px solid var(--portal-secondary);
	border-radius: 8px;
	background: #fff;
	color: var(--portal-secondary);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
}

.bbp-subnav a.is-active,
.bbp-subnav a:hover,
.bbp-subnav a:focus {
	border-color: var(--portal-secondary);
	background: var(--bb-secondary-soft);
	color: var(--portal-secondary);
}

.bbp-panel {
	margin-bottom: 20px;
}

.bbp-form-grid,
.cbd-form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.bbp-field,
.cbd-field {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.bbp-field > span,
.cbd-field > span {
	font-size: 0.87rem;
}

.bbp-field small,
.cbd-field small {
	font-weight: 400;
	color: var(--bbp-muted);
}

.bbp-fieldset,
.cbd-fieldset {
	margin: 20px 0;
	padding: 16px;
	border: 1px solid var(--bbp-border);
	border-radius: 14px;
}

.bbp-form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.bbp-progress-shell {
	position: sticky;
	top: 66px;
	z-index: 10;
	margin: 0 0 16px;
	padding: 13px 15px;
	border: 1px solid var(--bbp-border);
	border-radius: 14px;
	background: rgba(255,255,255,0.96);
	box-shadow: 0 5px 18px rgba(31,45,41,.08);
	backdrop-filter: blur(10px);
}

.admin-bar .bbp-progress-shell {
	top: 112px;
}

.bbp-progress-shell > div:first-child {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.84rem;
}

.bbp-progress-track {
	height: 8px;
	margin-top: 9px;
	overflow: hidden;
	border-radius: 999px;
	background: #e7edeb;
}

.bbp-progress-track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--portal-primary);
	transition: width 180ms ease;
}

.bbp-survey-group {
	margin-bottom: 13px;
	border: 1px solid var(--bbp-border);
	border-radius: 14px;
	background: #fff;
}

.bbp-survey-group > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px;
	cursor: pointer;
	list-style: none;
}

.bbp-survey-group > summary::-webkit-details-marker {
	display: none;
}

.bbp-survey-group > summary span:first-child {
	display: grid;
	gap: 2px;
}

.bbp-survey-group > summary small {
	color: var(--bbp-muted);
}

.bbp-survey-items {
	display: grid;
	gap: 12px;
	padding: 0 14px 14px;
}

.bbp-behaviour-card {
	padding: 15px;
	border: 1px solid var(--bbp-border);
	border-radius: 13px;
	background: var(--bbp-soft);
}

.bbp-behaviour-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.bbp-behaviour-heading h4 {
	margin: 0;
	font-size: 1rem;
}

.bbp-info-toggle {
	flex: 0 0 auto;
	padding: 6px 9px;
	border: 1px solid var(--bbp-border);
	border-radius: 999px;
	background: #fff;
	color: var(--portal-primary);
	font-weight: 700;
	cursor: pointer;
}

.bbp-behaviour-info {
	margin: 10px 0;
	padding: 10px 12px;
	border-left: 3px solid var(--portal-secondary);
	background: #fff;
	color: var(--bbp-muted);
}

.bbp-rating-fieldset,
.bbp-status-pills,
.bbp-trend-pills {
	margin: 13px 0 0;
	padding: 0;
	border: 0;
}

.bbp-rating-pills,
.bbp-status-pills,
.bbp-trend-pills,
.cbd-rating-chips,
.cbd-status-pills,
.cbd-chip-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bbp-rating-pills input,
.bbp-status-pills input,
.bbp-trend-pills input,
.cbd-rating-chips input,
.cbd-status-pills input,
.cbd-chip-group input {
	position: absolute;
	op: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.bbp-rating-pills label,
.bbp-trend-pills label,
.cbd-rating-chips label,
.cbd-trend label {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 40px;
	padding: 8px 11px;
	border: 1px solid #b9c9c3;
	border-radius: 999px;
	background: #fff;
	font-size: 0.82rem;
	cursor: pointer;
}

.bbp-rating-pills label strong {
	font-size: 1rem;
}

.bbp-rating-pills input:checked + label,
.bbp-trend-pills input:checked + label,
.cbd-rating-chips input:checked + label,
.cbd-trend input:checked + label {
	border-color: var(--portal-primary);
	background: var(--portal-primary);
	color: #fff;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--portal-primary) 15%, transparent);
}

.bbp-rating-pills input:focus-visible + label,
.bbp-status-pills input:focus-visible + label,
.bbp-trend-pills input:focus-visible + label {
	outline: 3px solid color-mix(in srgb, var(--portal-primary) 28%, transparent);
	outline-offset: 2px;
}

.bbp-sticky-submit {
	position: sticky;
	bottom: 10px;
	z-index: 8;
	display: flex;
	justify-content: flex-end;
	margin-top: 18px;
	padding: 12px;
	border: 1px solid var(--bbp-border);
	border-radius: 14px;
	background: rgba(255,255,255,.95);
	box-shadow: 0 -5px 20px rgba(31,45,41,.08);
	backdrop-filter: blur(8px);
}

.bbp-maintenance-group {
	margin-top: 24px;
}

.bbp-maintenance-group > h4 {
	margin-bottom: 12px;
}

.bbp-maintenance-card {
	padding: 17px;
	border: 1px solid var(--bbp-border);
	border-radius: 15px;
	background: var(--bbp-soft);
}

.bbp-maintenance-card__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.bbp-maintenance-card__heading h5 {
	margin: 0 0 4px;
	font-size: 1.05rem;
}

.bbp-maintenance-card__heading p {
	margin: 0;
	color: var(--bbp-muted);
}

.bbp-status-pills legend,
.bbp-trend-pills legend {
	margin-bottom: 7px;
	font-size: 0.85rem;
	font-weight: 800;
}

.bbp-status-pills label,
.cbd-status-pills label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 7px;
	width: 100%;
	padding: 12px;
	border: 2px solid transparent;
	border-radius: 13px;
	cursor: pointer;
}

.bbp-status-pills label small,
.cbd-status-pills label small {
	grid-column: 2;
	color: inherit;
	opacity: .85;
}

.bbp-status-pills input:checked + label,
.cbd-status-pills input:checked + label {
	border-color: currentColor;
	box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}

.bbp-previous-value {
	margin: 11px 0;
	font-size: .85rem;
	color: var(--bbp-muted);
}

.bbp-disclaimer,
.cbd-disclaimer {
	margin-top: 18px;
	padding: 13px 15px;
	border-left: 4px solid var(--portal-secondary);
	border-radius: 9px;
	background: #fff9ed;
	color: #624b20;
}

.bbp-table-scroll,
.cbd-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.bbp-table,
.cbd-table,
.cbd-active-list table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
}

.bbp-table th,
.bbp-table td,
.cbd-table th,
.cbd-table td,
.cbd-active-list th,
.cbd-active-list td {
	padding: 11px 10px;
	border-bottom: 1px solid var(--bbp-border);
	text-align: left;
	vertical-align: top;
}

.bbp-table th,
.cbd-table th,
.cbd-active-list th {
	background: var(--bbp-soft);
	font-size: .78rem;
	letter-spacing: .02em;
}

.bbp-inline-report {
	margin-top: 16px;
}

.bbp-session-log,
.bbp-resource-card,
.bbp-event-item,
.bbp-dog-profile-card {
	padding: 17px;
	border: 1px solid var(--bbp-border);
	border-radius: 14px;
	background: var(--bbp-soft);
}

.bbp-session-log h4,
.bbp-resource-card h4,
.bbp-event-item h4 {
	margin: 3px 0 9px;
}

.bbp-session-log section h5 {
	margin-bottom: 4px;
}

.bbp-legs-summary {
	margin-top: 14px;
	padding: 12px;
	border: 1px solid var(--bbp-border);
	border-radius: 12px;
	background: #fff;
}

.bbp-legs-summary summary {
	font-weight: 800;
	cursor: pointer;
}

.bbp-legs-grid {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.bbp-legs-grid > div {
	padding: 10px;
	border-radius: 10px;
	background: var(--bbp-soft);
}

.bbp-resource-card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 13px;
}

.bbp-resource-icon {
	font-size: 1.8rem;
}

.bbp-practitioner-note,
.cbd-practitioner-note {
	margin: 12px 0;
	padding: 12px;
	border-left: 3px solid var(--portal-secondary);
	background: #fff;
}

.bbp-chart-shell,
.cbd-chart-wrap {
	position: relative;
	min-height: 380px;
	width: 100%;
}

.bbp-progress-chart {
	width: 100% !important;
	height: 430px !important;
}

.bbp-chart-event-tooltip {
	position: absolute;
	z-index: 5;
	max-width: 280px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(31,45,41,.96);
	color: #fff;
	font-size: .8rem;
	pointer-events: none;
	box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.bbp-event-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.bbp-event-item p {
	margin: 0;
	color: var(--bbp-muted);
}

.bbp-dog-profile-card {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 15px;
}

.bbp-dog-profile-card.is-active {
	border-color: var(--portal-primary);
	box-shadow: inset 0 0 0 1px var(--portal-primary);
}

.bbp-dog-profile-card img,
.bbp-dog-profile-placeholder {
	width: 82px;
	height: 82px;
	border-radius: 14px;
	object-fit: cover;
	object-position: center;
	background: #fff;
}

.bbp-loading-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(255,255,255,.82);
	color: var(--bbp-ink);
	font-weight: 800;
	backdrop-filter: blur(3px);
}

.bbp-loading-overlay[hidden] {
	display: none;
}

.bbp-spinner {
	width: 26px;
	height: 26px;
	border: 3px solid #d7e1dd;
	border-top-color: var(--portal-primary);
	border-radius: 50%;
	animation: bbp-spin .8s linear infinite;
}

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

.bbp-notice,
.cbd-notice {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--bbp-green-soft);
	color: var(--bbp-green);
	font-weight: 700;
}

.bbp-notice.is-error,
.cbd-notice-error {
	background: var(--bbp-red-soft);
	color: var(--bbp-red);
}

.cbd-report,
.cbd-maintenance-report {
	margin: 20px 0;
	padding: 20px;
}

.cbd-report-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.cbd-report-heading h3 {
	margin-bottom: 4px;
}

.cbd-context-note,
.bbp-context-note {
	color: var(--bbp-muted);
}

.cbd-metric-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 10px;
	margin: 16px 0 22px;
}

.cbd-metric-grid > div {
	display: grid;
	gap: 3px;
	padding: 13px;
	border-radius: 12px;
	background: var(--bbp-soft);
}

.cbd-metric-grid strong {
	font-size: 1.45rem;
}

.cbd-metric-grid span {
	font-size: .78rem;
	color: var(--bbp-muted);
}

.cbd-pie-chart {
	width: 100% !important;
	height: 360px !important;
}

.cbd-pdf-source-wrap {
	position: fixed;
	left: -10000px;
	top: 0;
	width: 900px;
	background: #fff;
}

.cbd-maintenance-report {
	box-shadow: none;
}

.bbp-maintenance-matrix,
.cbd-maintenance-matrix {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.bbp-maintenance-result,
.cbd-maintenance-card {
	padding: 13px;
	border: 1px solid var(--bbp-border);
	border-radius: 12px;
	background: var(--bbp-soft);
}

.bbp-maintenance-result__top {
	margin-bottom: 6px;
}

.bbp-maintenance-result h4 {
	margin: 0;
}

.bbp-trend-label {
	font-size: .8rem;
	font-weight: 800;
}

.bbp-item-note {
	margin: 8px 0 0;
}

/* Administrator screens */
.cbd-admin {
	max-width: 1300px;
}

.cbd-admin-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-top: 18px;
}

.cbd-admin-panel {
	margin: 18px 0;
	padding: 20px;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(0,0,0,.04);
}

.cbd-admin-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	margin: 15px 0;
	padding: 14px;
	border: 1px solid #dcdcde;
	background: #fff;
}

.cbd-admin-filters label {
	display: grid;
	gap: 5px;
	font-weight: 700;
}

.cbd-inline-form {
	display: inline;
}

.cbd-admin-note {
	margin: 12px 0;
	padding: 13px;
	border-left: 4px solid var(--portal-secondary);
	background: var(--bbp-soft);
}

.bbp-media-setting {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.bbp-media-preview img {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	object-fit: cover;
}

.bbp-behaviour-repeater__rows {
	display: grid;
	gap: 10px;
}

.bbp-behaviour-admin-row {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 10px;
	align-items: start;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #f8f8f8;
}

.bbp-behaviour-number {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--portal-primary);
	color: #fff;
	font-weight: 800;
}

.bbp-behaviour-admin-row label {
	display: grid;
	gap: 4px;
}

.bbp-behaviour-admin-row input,
.bbp-behaviour-admin-row textarea {
	width: 100%;
}

.bbp-behaviour-description {
	grid-column: 2;
}

.cbd-repeatable-rows,
.cbd-batch-rows {
	display: grid;
	gap: 10px;
}

.cbd-repeatable-row,
.cbd-batch-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
	padding: 12px;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	background: #f8f8f8;
}

.cbd-batch-row label {
	display: grid;
	gap: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (min-width: 600px) {
	.bbp-form-grid,
	.cbd-form-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.bbp-field--wide,
	.cbd-field-wide {
		grid-column: 1 / -1;
	}
	.bbp-maintenance-matrix,
	.cbd-maintenance-matrix,
	.bbp-legs-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.cbd-repeatable-row {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media (min-width: 768px) {
	.admin-bar .bbp-main-nav { top: 32px; }
	.bbp-app-header {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 30px;
	}
	.bbp-main-nav__item {
		gap: 9px;
		padding: 12px 14px;
	}
	.bbp-nav-icon { font-size: 1.15rem; }
	.bbp-nav-label { display: inline; font-weight: 750; font-size: .88rem; }
	.bbp-view-container { padding-top: 30px; }
	.bbp-dashboard-grid,
	.bbp-dog-profile-grid,
	.bbp-resource-grid,
	.bbp-maintenance-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.bbp-booking-card { grid-column: 1 / -1; }
	.bbp-status-pills label { width: calc(50% - 4px); }
	.bbp-behaviour-card { padding: 18px; }
	.bbp-rating-pills label { padding: 8px 13px; }
	.bbp-maintenance-matrix,
	.cbd-maintenance-matrix { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.cbd-metric-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
	.cbd-admin-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.bbp-behaviour-admin-row { grid-template-columns: 42px minmax(150px,.7fr) minmax(200px,1fr) minmax(260px,1.4fr) auto; }
	.bbp-behaviour-description { grid-column: auto; }
	.cbd-batch-row { grid-template-columns: repeat(4,minmax(130px,1fr)); }
}

@media (min-width: 1024px) {
	.bbp-dashboard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.bbp-panel,
	.bbp-card { padding: 25px; }
	.bbp-chart-shell { min-height: 470px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media print {
	.bbp-main-nav,
	.bbp-app-header,
	.bbp-subnav,
	.bbp-button,
	.cbd-download-pdf,
	.bbp-timeline-form,
	.bbp-loading-overlay {
		display: none !important;
	}
	.bbp-panel,
	.cbd-report,
	.cbd-maintenance-report {
		box-shadow: none;
		border-color: #bbb;
		break-inside: avoid;
	}
}

/* Client and administrator experience refinements for v0.10.0. */
:root {
	--bbp-button-radius: 8px;
	--bbp-control-radius: 8px;
}

.bbp-button,
a.bbp-button,
.cbd-button,
a.cbd-button,
.bbp-login-card input[type="submit"] {
	border-radius: var(--bbp-button-radius);
}

.bbp-nav-icon {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	font-size: 0;
}

.bbp-nav-icon svg,
.bbp-onboarding-icon svg {
	display: block;
	width: 23px;
	height: 23px;
	fill: currentColor;
}

.bbp-tip-heading {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 12px;
}

.bbp-tip-heading h3 {
	margin: 0;
}

.bbp-tip-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	font-size: 1.25rem;
	line-height: 1;
}

.bbp-booking-card {
	align-self: start;
}

.bbp-booking-card .bbp-card-heading {
	margin-bottom: 8px;
}

.bbp-booking-card > p {
	margin: 0 0 16px;
	color: var(--bbp-muted);
}

.bbp-empty-state {
	position: relative;
	padding: 22px 22px 22px 25px;
	border-color: color-mix(in srgb, var(--portal-primary) 28%, var(--bbp-border));
	box-shadow: none;
	background: color-mix(in srgb, var(--portal-primary) 5%, white);
}

.bbp-empty-state::before {
	position: absolute;
	top: 18px;
	bottom: 18px;
	left: 0;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: var(--portal-primary);
	content: "";
}

.bbp-empty-state--compact {
	padding: 17px 18px 17px 21px;
}

.bbp-empty-state h3,
.bbp-empty-state h4 {
	margin: 0 0 5px;
}

.bbp-empty-state p {
	margin: 0;
	color: var(--bbp-muted);
}

.bbp-rating-scale-help {
	margin: 18px 0;
	padding: 16px;
	border: 1px solid var(--bbp-border);
	border-radius: 12px;
	background: var(--bbp-soft);
}

.bbp-rating-scale-help h4 {
	margin: 0 0 10px;
}

.bbp-rating-scale-help ul,
.bbp-rating-scale-help ol {
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px 18px;
	margin: 0;
	padding-left: 20px;
}

.bbp-survey-meta {
	margin-bottom: 25px;
}

.bbp-survey-group:first-of-type,
.bbp-maintenance-group:first-of-type {
	margin-top: 8px;
}

.bbp-behaviour-info {
	display: block !important;
	margin: 10px 0 14px;
}

.bbp-info-toggle {
	display: none !important;
}

.bbp-survey-submit {
	justify-content: center;
	margin-top: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.bbp-maintenance-card {
	display: flex;
	flex-direction: column;
}

.bbp-trend-pills {
	margin-top: 22px;
}

.bbp-maintenance-notes {
	margin-top: 20px;
}

.bbp-previous-value {
	margin: 16px 0 0;
}

.bbp-advisory-banner {
	margin-top: 24px;
	padding: 15px 17px;
	border: 1px solid #dfd2aa;
	border-left: 4px solid var(--portal-secondary);
	border-radius: 8px;
	background: #fffaf0;
	color: #5c4c28;
}

.bbp-log-list {
	gap: 18px;
}

.bbp-session-log {
	padding: 20px;
}

.bbp-log-section + .bbp-log-section,
.bbp-session-log section + section {
	margin-top: 18px;
	padding-top: 17px;
	border-top: 1px solid var(--bbp-border);
}

.bbp-log-section h5,
.bbp-session-log section h5 {
	margin: 0 0 7px;
}

.bbp-baseline-status-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 18px 0 22px;
	padding: 13px 16px;
	border: 1px solid var(--bbp-border);
	border-radius: 8px;
}

.bbp-baseline-status-header strong,
.bbp-baseline-status-header span {
	display: inline-block;
}

.bbp-baseline-stable,
.bbp-baseline-label.bbp-baseline-stable {
	background: var(--bbp-green-soft);
	color: var(--bbp-green);
}

.bbp-baseline-monitor,
.bbp-baseline-shifted,
.bbp-baseline-label.bbp-baseline-monitor,
.bbp-baseline-label.bbp-baseline-shifted {
	background: var(--bbp-yellow-soft);
	color: var(--bbp-yellow);
}

.bbp-baseline-attention,
.bbp-baseline-label.bbp-baseline-attention {
	background: var(--bbp-red-soft);
	color: var(--bbp-red);
}

.bbp-baseline-neutral,
.bbp-baseline-label.bbp-baseline-neutral {
	background: var(--bbp-soft);
	color: var(--bbp-muted);
}

.bbp-baseline-label {
	display: inline-flex;
	align-items: center;
	padding: 5px 9px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 800;
}

.bbp-maintenance-report,
.bbp-complete-report,
.cbd-report {
	margin-top: 20px;
	padding: 22px;
}

.bbp-maintenance-matrix {
	gap: 15px;
}

.bbp-maintenance-result {
	padding: 17px;
	border: 1px solid var(--bbp-border);
	border-left-width: 5px;
	border-radius: 10px;
	background: #fff;
}

.bbp-maintenance-result.bbp-status-green { border-left-color: var(--bbp-green); }
.bbp-maintenance-result.bbp-status-yellow { border-left-color: var(--bbp-yellow); }
.bbp-maintenance-result.bbp-status-purple { border-left-color: var(--bbp-purple); }
.bbp-maintenance-result.bbp-status-red { border-left-color: var(--bbp-red); }

.bbp-maintenance-result__top {
	align-items: center;
	margin-bottom: 10px;
}

.bbp-maintenance-result__top h4 {
	margin: 0;
}

.bbp-maintenance-result__top > span {
	padding: 4px 8px;
	border-radius: 999px;
	background: rgba(255,255,255,.72);
	font-size: .75rem;
	font-weight: 800;
}

.bbp-result-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 10px;
	margin-top: 13px;
}

.bbp-trend-label,
.bbp-flag-label {
	display: inline-flex;
	align-items: center;
	padding: 5px 8px;
	border-radius: 999px;
	background: var(--bbp-soft);
	font-size: .75rem;
	font-weight: 800;
}

.bbp-flag-label--attention { background: var(--bbp-red-soft); color: var(--bbp-red); }
.bbp-flag-label--monitor,
.bbp-flag-label--shifted { background: var(--bbp-yellow-soft); color: var(--bbp-yellow); }
.bbp-flag-label--stable { background: var(--bbp-green-soft); color: var(--bbp-green); }

.bbp-item-note {
	margin: 13px 0 0;
	padding-top: 12px;
	border-top: 1px solid rgba(0,0,0,.08);
}

.bbp-chart-shell {
	position: relative;
	min-height: 390px;
}

.bbp-timeline-form + .bbp-event-list {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--bbp-border);
}

.bbp-event-list {
	gap: 14px;
}

.bbp-event-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.bbp-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-left: -9px;
}

.bbp-event-source {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 999px;
	background: #fff;
	font-size: .73rem;
	font-weight: 700;
	color: var(--bbp-muted);
}

.bbp-cancel-event-edit[hidden] {
	display: none !important;
}

.bbp-dog-edit-form,
.cbd-form-card {
	margin-top: 24px;
	padding: 22px;
	border: 1px solid var(--bbp-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--bbp-shadow);
}

.cbd-repeatable {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--bbp-border);
}

.cbd-repeatable + .cbd-repeatable {
	margin-top: 34px;
}

.cbd-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.cbd-section-heading h2,
.cbd-section-heading h3,
.cbd-section-heading h4 {
	margin: 0;
}

.cbd-repeatable-rows {
	gap: 16px;
}

.cbd-repeatable-row {
	position: relative;
	padding: 17px;
	border-radius: 10px;
	background: var(--bbp-soft);
}

.cbd-repeatable-row label,
.cbd-row-dates label {
	display: grid;
	gap: 5px;
	font-weight: 700;
}

.cbd-row-dates {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.cbd-row-name,
.cbd-row-dates,
.cbd-row-notes {
	grid-column: 1 / -1;
}

.cbd-remove-row {
	justify-self: start;
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid #c97171;
	border-radius: 8px;
	background: #fff;
	color: #983434;
	font-weight: 700;
	cursor: pointer;
}

.cbd-add-row {
	margin: 0;
}

.bbp-dog-form-actions {
	justify-content: flex-start;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--bbp-border);
}

.cbd-delete-form {
	margin-top: 18px;
}


.cbd-checkbox-field {
	align-content: start;
	justify-items: start;
}

.cbd-checkbox-control {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 9px;
	width: auto;
	min-height: 20px;
	font-weight: 650;
}

.cbd-checkbox-field .cbd-checkbox-control input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	min-height: 20px;
	margin: 0;
	padding: 0;
}

.cbd-checkbox-field > small {
	margin: 15px 0;
}

.cbd-weight-inputs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

.cbd-weight-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	width: 100%;
}

@media (min-width: 600px) {
	.cbd-weight-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cbd-repeatable-row input[type="text"],
.cbd-repeatable-row input[type="date"] {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #b9c9c3;
	border-radius: 10px;
	background: #fff;
	color: var(--bbp-ink);
	font: inherit;
}

.cbd-repeatable-row input[type="text"]:focus,
.cbd-repeatable-row input[type="date"]:focus {
	outline: 3px solid color-mix(in srgb, var(--portal-primary) 22%, transparent);
	border-color: var(--portal-primary);
}

.cbd-remove-row,
.cbd-link-danger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid #c97171;
	border-radius: 8px;
	background: #fff;
	color: #983434;
	font: inherit;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.cbd-remove-row:hover,
.cbd-remove-row:focus-visible,
.cbd-link-danger:hover,
.cbd-link-danger:focus-visible {
	border-color: #983434;
	background: #fff3f3;
	color: #7b2424;
}

.bbp-login-page .site-main,
.bbp-login-page main {
	min-height: 65vh;
}

.bbp-login-card {
	max-width: 520px;
	margin: 40px auto;
	padding: 30px;
	border: 1px solid var(--bbp-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--bbp-shadow);
}

.bbp-login-card__heading {
	margin-bottom: 22px;
}

.bbp-login-card label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
}

.bbp-login-card input[type="text"],
.bbp-login-card input[type="password"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #b9c9c3;
	border-radius: 8px;
}

.bbp-login-card .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.bbp-login-card .login-submit {
	margin-top: 18px;
}

.bbp-login-card input[type="submit"] {
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--portal-primary);
	background: var(--portal-primary);
	color: #fff;
	font-weight: 750;
	cursor: pointer;
}

.bbp-login-help {
	margin-top: 18px;
}

.bbp-complete-report__section + .bbp-complete-report__section,
.bbp-report-section + .bbp-report-section {
	margin-top: 25px;
	padding-top: 22px;
	border-top: 1px solid var(--bbp-border);
}

.cbd-admin-filters input[type="search"] {
	min-width: 240px;
}

.cbd-admin-dog-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbd-admin-dog-list a {
	display: inline-flex;
	padding: 7px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	background: #fff;
	text-decoration: none;
}

.cbd-admin-dog-list a.is-active {
	border-color: var(--portal-primary);
	background: var(--portal-primary);
	color: #fff;
}

.cbd-admin-dog-summary dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 20px;
}

.cbd-admin-dog-summary dt {
	font-weight: 700;
	color: var(--bbp-muted);
}

.cbd-admin-dog-summary dd {
	margin: 2px 0 0;
}

.cbd-quick-options,
.cbd-quick-tag-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cbd-quick-options label,
.cbd-quick-tag-grid label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

@media (min-width: 768px) {
	.bbp-booking-card {
		grid-column: auto;
		max-width: none;
	}

	.bbp-rating-scale-help ul,
	.bbp-rating-scale-help ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbd-repeatable-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbd-row-name,
	.cbd-row-notes {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.bbp-main-nav__item {
		min-height: 58px;
		padding: 9px 6px;
	}

	.bbp-nav-icon,
	.bbp-nav-icon svg {
		width: 25px;
		height: 25px;
	}

	.bbp-event-item,
	.cbd-section-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.cbd-row-dates,
	.cbd-admin-dog-summary dl {
		grid-template-columns: 1fr;
	}

	.bbp-snapshot-grid {
		grid-template-columns: 1fr;
	}
}

@media print {
	body.bbp-printing-target * {
		visibility: hidden !important;
	}

	body.bbp-printing-target .bbp-print-target,
	body.bbp-printing-target .bbp-print-target * {
		visibility: visible !important;
	}

	body.bbp-printing-target .bbp-print-target {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	body.bbp-printing-target .bbp-print-target .bbp-button,
	body.bbp-printing-target .bbp-print-target .cbd-button,
	body.bbp-printing-target .bbp-print-target button {
		display: none !important;
	}

	.bbp-maintenance-result,
	.bbp-session-log,
	.bbp-report-section,
	.bbp-complete-report__section {
		break-inside: avoid;
	}
}

/* Ultimate Member-style portal navigation icons. */
.bbp-nav-icon i,
.bbp-onboarding-icon i {
	display: inline-block;
	font-size: 24px;
	font-style: normal;
	line-height: 1;
}

.bbp-nav-icon svg,
.bbp-onboarding-icon svg {
	display: none;
}

.cbd-profile-summary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 20px;
	margin: 0;
}

.cbd-profile-summary-grid div {
	min-width: 0;
}

.cbd-profile-summary-grid dt {
	color: #666;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.cbd-profile-summary-grid dd {
	margin: 4px 0 0;
}

.cbd-radio-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 10px;
}

@media (max-width: 767px) {
	.cbd-profile-summary-grid {
		grid-template-columns: 1fr;
	}
}

/* Dashboard and navigation refinements for v0.10.2. */
.bbp-main-nav {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bbp-snapshot {
	grid-template-rows: auto minmax(54px, 1fr) auto;
	align-items: start;
}

.bbp-snapshot-value {
	display: flex;
	align-items: flex-start;
	min-height: 54px;
}

.bbp-snapshot-value > strong:not(.bbp-baseline-summary) {
	align-self: center;
}

.bbp-baseline-summary {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 0.84rem !important;
	font-weight: 800;
	line-height: 1.35;
}

.bbp-health-summary {
	margin: 14px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--bbp-border);
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--bbp-muted);
}

.bbp-health-summary strong {
	color: var(--bbp-ink);
}

.bbp-activity-link {
	display: grid;
	gap: 2px;
	color: var(--bbp-ink) !important;
	text-decoration: none !important;
}

.bbp-activity-link:hover strong,
.bbp-activity-link:focus strong {
	color: var(--portal-secondary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.bbp-main-nav {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}


/* Dashboard, Check-ins, and navigation refinements for v0.10.3. */
.bbp-main-nav {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bbp-badge {
	border-radius: 8px;
}


.bbp-snapshot {
	grid-template-rows: auto 72px auto;
}

.bbp-snapshot-value {
	height: 72px;
	min-height: 72px;
	box-sizing: border-box;
}

.bbp-baseline-panel {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 54px;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 8px;
}

.bbp-baseline-panel.bbp-baseline-stable {
	border-color: color-mix(in srgb, var(--bbp-green) 25%, transparent);
}

.bbp-baseline-panel.bbp-baseline-monitor,
.bbp-baseline-panel.bbp-baseline-shifted {
	border-color: color-mix(in srgb, var(--bbp-yellow) 25%, transparent);
}

.bbp-baseline-panel.bbp-baseline-attention {
	border-color: color-mix(in srgb, var(--bbp-red) 25%, transparent);
}

.bbp-baseline-panel.bbp-baseline-neutral {
	border-color: var(--bbp-border);
}

.bbp-baseline-summary {
	display: block;
	width: auto;
	padding: 0;
	background: transparent !important;
	font-size: 0.9rem !important;
	line-height: 1.4;
}

.bbp-activity-list {
	gap: 7px;
}

.bbp-activity-list li {
	align-items: center;
}

.bbp-activity-dot {
	margin-top: 0;
}

.bbp-activity-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 8px;
	color: var(--bbp-ink) !important;
	text-decoration: none !important;
}

.bbp-activity-copy {
	display: grid;
	min-width: 0;
	gap: 5px;
}

.bbp-activity-copy strong,
.bbp-activity-copy small {
	display: block;
}

.bbp-activity-copy small {
	font-size: 0.78rem;
	line-height: 1.35;
}

.bbp-activity-arrow {
	flex: 0 0 auto;
	color: var(--bbp-muted);
	font-size: 1rem;
}

.bbp-activity-link:hover,
.bbp-activity-link:focus {
	border-color: var(--bbp-border);
	background: var(--bbp-soft);
	outline: none;
}

.bbp-activity-link:hover strong,
.bbp-activity-link:focus strong {
	color: var(--portal-secondary);
	text-decoration: none;
}

.bbp-subnav a {
	border-radius: 8px;
}

.bbp-rating-scale-help {
	margin: 18px 0 22px;
	padding: 18px;
	border: 1px solid var(--bbp-border);
	border-radius: 8px;
	background: var(--bbp-soft);
}

.bbp-rating-scale-help h4 {
	margin: 0 0 14px;
}

.bbp-rating-scale-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.bbp-rating-scale-item {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	align-items: start;
	gap: 11px;
	padding: 11px 12px;
	border: 1px solid color-mix(in srgb, var(--bbp-border) 80%, transparent);
	border-radius: 8px;
	background: #fff;
}

.bbp-rating-scale-number {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 8px;
	background: var(--portal-primary);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
}

.bbp-rating-scale-item > div {
	display: grid;
	gap: 3px;
}

.bbp-rating-scale-item strong,
.bbp-rating-scale-item small {
	display: block;
}

.bbp-rating-scale-item small {
	color: var(--bbp-muted);
	line-height: 1.4;
}

.bbp-status-pills label,
.cbd-status-pills label {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

.bbp-status-pills label small,
.cbd-status-pills label small {
	grid-column: auto;
	display: block;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.bbp-rating-scale-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bbp-main-nav__item {
		padding-inline: 8px;
	}

	.bbp-nav-label {
		font-size: 0.82rem;
	}
}

@media (max-width: 767px) {
	.bbp-main-nav {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}


.bbp-main-nav__item {
	min-width: 0;
}

.bbp-nav-label {
	line-height: 1.2;
}


/* Reports, timeline access, and baseline refinements for v0.10.5. */
.bbp-status-pills label,
.cbd-status-pills label {
	min-height: 0;
	justify-content: flex-start;
}

@media (min-width: 768px) {
	.bbp-status-pills label,
	.cbd-status-pills label {
		min-height: 130px;
	}
}

.bbp-chart-help {
	margin: -4px 0 14px;
	color: var(--bbp-muted);
	font-size: .88rem;
}

.bbp-progress-chart {
	touch-action: pan-y;
}

.bbp-timeline-data {
	margin-top: 18px;
	border: 1px solid var(--bbp-border);
	border-radius: 8px;
	background: var(--bbp-soft);
}

.bbp-timeline-data summary {
	padding: 12px 14px;
	cursor: pointer;
	font-weight: 800;
}

.bbp-timeline-data[open] summary {
	border-bottom: 1px solid var(--bbp-border);
}

.bbp-timeline-data .bbp-table-scroll {
	padding: 0 14px 14px;
}

.bbp-table tr.is-viewing,
.cbd-table tr.is-viewing {
	background: color-mix(in srgb, var(--portal-secondary) 7%, white);
}


.cbd-pie-wrap {
	width: min(100%, 540px);
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}

.cbd-pie-chart {
	width: 100% !important;
	height: 100% !important;
}


.bbp-complete-report .bbp-maintenance-report {
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.bbp-report-document-header {
	margin-bottom: 24px;
	padding-bottom: 18px;
	border-bottom: 2px solid var(--bbp-border);
}

.bbp-report-document-header h2,
.bbp-report-document-header p {
	margin: 0;
}

.bbp-report-document-header p {
	margin-top: 6px;
	color: var(--bbp-muted);
}

.bbp-report-section + .bbp-report-section {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--bbp-border);
}

.bbp-report-section > h3 {
	margin: 0 0 14px;
}

.bbp-report-metadata-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.bbp-report-metadata-grid > div {
	min-width: 0;
	padding: 13px 14px;
	border: 1px solid var(--bbp-border);
	border-radius: 8px;
	background: var(--bbp-soft);
}

.bbp-report-metadata-grid dt {
	margin: 0;
	color: var(--bbp-muted);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.bbp-report-metadata-grid dd {
	margin: 7px 0 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.bbp-report-context {
	display: grid;
	gap: 5px;
	margin: 14px 0 0;
	padding: 12px 14px;
	border-left: 4px solid var(--portal-secondary);
	background: var(--bbp-soft);
}

.bbp-report-advisory {
	margin-top: 26px;
	padding: 13px 15px;
	border-left: 4px solid var(--portal-secondary);
	border-radius: 8px;
	background: #fff9ed;
	color: #624b20;
}

.bbp-report-source-footer {
	margin-top: 28px;
	padding-top: 14px;
	border-top: 1px solid var(--bbp-border);
	color: var(--bbp-muted);
	font-size: .72rem;
	line-height: 1.45;
}

.bbp-report-source-footer p {
	margin: 2px 0;
}

.bbp-print-chart-image {
	display: block;
	width: min(100%, 520px);
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	object-fit: contain;
}

.bbp-print-root,
.cbd-pdf-export {
	position: fixed;
	top: 0;
	left: -12000px;
	width: 794px;
	padding: 0;
	background: #fff;
	color: #222;
}

.cbd-pdf-export .cbd-report,
.cbd-pdf-export .bbp-maintenance-report,
.cbd-pdf-export .bbp-complete-report {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	break-inside: auto;
}

@media (max-width: 767px) {
	.bbp-report-metadata-grid {
		grid-template-columns: 1fr;
	}
}

@media print {
	@page {
		size: auto;
		margin: 16mm 15mm 18mm;
	}

	html,
	body.bbp-printing-target {
		width: auto !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
	}

	body.bbp-printing-target > *:not(.bbp-print-root) {
		display: none !important;
	}

	body.bbp-printing-target .bbp-print-root,
	body.bbp-printing-target .bbp-print-root * {
		visibility: visible !important;
	}

	body.bbp-printing-target .bbp-print-root {
		display: block !important;
		position: static !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
	}

	body.bbp-printing-target .bbp-print-document,
	body.bbp-printing-target .bbp-print-document.cbd-report,
	body.bbp-printing-target .bbp-print-document.bbp-maintenance-report,
	body.bbp-printing-target .bbp-print-document.bbp-complete-report {
		position: static !important;
		width: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
		break-inside: auto !important;
		overflow: visible !important;
		transform: none !important;
	}

	body.bbp-printing-target .cbd-pie-wrap {
		width: 125mm !important;
		height: 125mm !important;
		margin: 0 auto !important;
	}

	body.bbp-printing-target .bbp-print-chart-image {
		width: 125mm !important;
		max-width: 100% !important;
		height: 125mm !important;
	}

	body.bbp-printing-target .bbp-report-source-footer {
		break-inside: avoid;
	}

	body.bbp-printing-target .bbp-maintenance-result,
	body.bbp-printing-target .bbp-report-metadata-grid > div,
	body.bbp-printing-target .bbp-report-session,
	body.bbp-printing-target tr {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	body.bbp-printing-target thead {
		display: table-header-group;
	}

	body.bbp-printing-target tfoot {
		display: table-footer-group;
	}
}


/* Report headers, resources, and complete-report refinements for v0.10.5. */
.cbd-report-heading h3,
.cbd-report-heading p {
	margin-top: 0;
}

.cbd-report-meta {
	margin: 5px 0 0;
	color: var(--bbp-muted);
	font-size: .92rem;
	font-weight: 650;
}

.cbd-context-note {
	margin: 8px 0 0;
}

.bbp-resource-card {
	display: block;
}

.bbp-resource-metadata {
	display: grid;
	gap: 8px;
	margin: 14px 0;
}

.bbp-resource-metadata > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.bbp-resource-metadata dt {
	color: var(--bbp-muted);
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.bbp-resource-metadata dd {
	margin: 0;
	overflow-wrap: anywhere;
	font-size: .9rem;
	font-weight: 650;
}

.bbp-report-section-heading {
	display: grid;
	gap: 5px;
	margin-bottom: 14px;
}

.bbp-report-section-heading h3,
.bbp-report-section-heading p {
	margin: 0;
}

.bbp-report-section-heading p {
	color: var(--bbp-muted);
	font-size: .92rem;
}

.bbp-report-subheading {
	margin: 20px 0 10px !important;
}

.bbp-report-comparison,
.bbp-report-interpretation {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: var(--bbp-soft);
	line-height: 1.5;
}

.bbp-report-interpretation {
	border-left: 4px solid var(--portal-secondary);
}

.cbd-history-section .cbd-button-secondary,
.bbp-table .bbp-button--secondary {
	border-color: var(--portal-secondary);
	background: var(--portal-secondary);
	color: #fff !important;
}

@media (max-width: 767px) {
	.cbd-report-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.cbd-report-heading .bbp-button,
	.cbd-report-heading .cbd-button {
		align-self: flex-start;
	}
}




.bbp-viewing-status {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 10px;
	border: 0;
	border-radius: 8px;
	background: var(--bb-secondary-soft);
	color: var(--portal-secondary);
	font-size: .82rem;
	font-weight: 800;
}


/* Ultimate Member integration and report refinements for v0.10.7. */
.um-account .um-field.um-field-um_show_last_login,
.um-account-main .um-field.um-field-um_show_last_login {
	display: none !important;
}

.bbp-account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bbp-account-privacy-note {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-left: 4px solid var(--portal-secondary);
	background: var(--bbp-soft);
	font-size: .9rem;
	line-height: 1.5;
}

.cbd-checkbox-control > span {
	font-weight: 500;
}

@media (min-width: 768px) {
	.cbd-checkbox-field .cbd-checkbox-control {
		margin-top: 7px;
	}
}

.cbd-pie-wrap {
	width: min(100%, 720px);
}

.bbp-timeline-panel {
	scroll-margin-top: 24px;
}

.bbp-print-only {
	display: none;
}

@media print {
	body.bbp-printing-target .bbp-screen-only {
		display: none !important;
	}

	body.bbp-printing-target .bbp-print-only {
		display: block !important;
	}

	body.bbp-printing-target .bbp-report-section {
		break-inside: auto !important;
		page-break-inside: auto !important;
	}

	body.bbp-printing-target .bbp-report-section-heading,
	body.bbp-printing-target .bbp-report-section > h3,
	body.bbp-printing-target .bbp-report-subheading {
		break-after: avoid-page;
		page-break-after: avoid;
	}

	body.bbp-printing-target .bbp-profile-report-section .bbp-report-metadata-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 3mm 6mm !important;
	}

	body.bbp-printing-target .bbp-profile-report-section .bbp-report-metadata-grid > div {
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	body.bbp-printing-target .bbp-profile-report-section .bbp-report-metadata-grid dt {
		font-size: 7.5pt !important;
	}

	body.bbp-printing-target .bbp-profile-report-section .bbp-report-metadata-grid dd {
		margin-top: 1mm !important;
		font-size: 9.5pt !important;
	}

	body.bbp-printing-target .bbp-report-table {
		font-size: 8.5pt;
	}

	body.bbp-printing-target .bbp-report-table th,
	body.bbp-printing-target .bbp-report-table td {
		padding: 4px 6px !important;
	}

	body.bbp-printing-target .bbp-compact-baseline-table tr,
	body.bbp-printing-target .bbp-regular-behaviours-table tr {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	body.bbp-printing-target .bbp-complete-baseline-section .bbp-report-section-heading {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	body.bbp-printing-target .cbd-pie-wrap {
		width: 125mm !important;
	}
}


/* Check-ins, report, and profile refinements for v0.10.8. */
.cbd-pie-wrap {
	width: min(100%, 760px);
	aspect-ratio: 1 / 1;
	margin: 0 auto;
}

.bbp-snapshot-value.bbp-baseline-panel {
	width: fit-content;
	height: auto;
	min-height: 0;
	padding: 5px 9px;
	align-self: center;
}

.bbp-snapshot-value .bbp-baseline-summary {
	font-size: .78rem !important;
	line-height: 1.25;
}

.bbp-report-table thead th,
.cbd-table thead th,
.bbp-table thead th {
	border-top: 2px solid var(--bbp-border) !important;
}

.bbp-report-compact-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 14px 0 18px;
}

.bbp-report-compact-metrics > div {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.bbp-report-compact-metrics dt {
	font-size: .82rem;
	font-weight: 700;
	color: var(--bbp-muted);
}

.bbp-report-compact-metrics dd {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--bbp-ink);
}

.bbp-account-privacy-note {
	display: none;
}

@media print {
	body.bbp-printing-target .cbd-pie-wrap {
		width: 125mm !important;
		height: 125mm !important;
	}
}


@media (min-width: 768px) {
	.cbd-checkbox-field .cbd-checkbox-control {
		margin-top: 12px;
	}
}


/* Ultimate Member account layout, scoped to the account page. */
.um.um-account .um-account-side,
.um.um-account .um-account-main {
	float: none;
	width: 100%;
	margin-left: 0;
	padding: 0;
}

.um.um-account .um-account-side {
	margin-bottom: 24px;
}

.um.um-account .um-account-side ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	border: 0;
}

.um.um-account .um-account-side ul li {
	margin: 0 !important;
}

.um.um-account .um-account-side ul li a {
	display: flex;
	align-items: center;
	min-height: 44px;
	border-radius: 8px;
}

.um.um-account .um-account-side ul a.current {
	background: rgba(0, 0, 0, .07);
}

.um.um-account .um-account-side .um-account-icontip {
	width: auto;
	padding: 0 10px;
}

.um.um-account .um-account-side .um-account-title {
	padding-right: 16px;
}

.um.um-account .um-account-side .um-account-arrow {
	display: none;
}

.um-account .um-field-um_show_last_login,
.um-account .um-field[data-key="um_show_last_login"],
.um-account [data-key="um_show_last_login"],
.um-account [data-field="um_show_last_login"] {
	display: none !important;
}

@media (max-width: 600px) {
	.um.um-account .um-account-side ul li {
		flex: 1 1 100%;
	}

	.um.um-account .um-account-side ul li a {
		width: 100%;
	}
}


.cbd-weight-row{align-items:start}
.cbd-weight-row-help{grid-column:1/-1;margin:-5px 0 0;color:var(--bbp-muted);font-size:.88rem}
.bbp-action-link{display:inline-flex;align-items:center;min-height:44px;color:var(--portal-primary);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.bbp-action-link:hover,.bbp-action-link:focus-visible{text-decoration-thickness:2px}

/* 0.10.15 case-history defaults, timeline guidance and weight controls */
.bbp-case-report-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}
.bbp-case-report-filter label{min-width:0}
.bbp-case-report-filter select{width:100%}
.bbp-complete-report-controls .bbp-panel-heading{align-items:center}
.bbp-complete-report-controls .bbp-panel-heading .bbp-print-report{flex:0 0 auto}
.bbp-case-report-filter .bbp-form-actions{grid-column:1/-1;justify-content:flex-end;margin-top:0}
.cbd-weight-history{margin-top:28px;padding-top:24px;border-top:1px solid #e5e2e7}
.cbd-weight-history .cbd-section-heading p,.cbd-vaccination-repeatable .cbd-section-heading p{margin:4px 0 0;color:#605d66;font-size:.92rem}
.cbd-weight-history-list{display:grid;gap:10px}
.cbd-weight-history-entry{display:flex;gap:12px;align-items:end;padding:17px;border:0;border-radius:10px;background:var(--bbp-soft)}
.cbd-weight-entry-form{display:grid;grid-template-columns:minmax(170px,1fr) minmax(110px,140px) 88px auto;gap:10px;align-items:end;flex:1}
.cbd-weight-entry-form label{display:grid;gap:5px;font-weight:600}
.cbd-weight-history-amount,.cbd-weight-history-unit{min-width:0}
.cbd-weight-history-entry .cbd-inline-form{display:flex;align-items:flex-end;padding:0}
.cbd-weight-history-action{min-height:44px;padding:10px 14px;white-space:nowrap}
.cbd-weight-history-entry input[type="date"],.cbd-weight-history-entry input[type="number"],.cbd-weight-history-entry select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #b9c9c3;border-radius:10px;background:#fff;color:var(--bbp-ink);font:inherit}
.cbd-weight-history-entry input:focus,.cbd-weight-history-entry select:focus{outline:3px solid color-mix(in srgb,var(--portal-primary) 22%,transparent);border-color:var(--portal-primary)}
.cbd-vaccination-row{grid-template-columns:minmax(220px,1.2fr) minmax(280px,1fr);align-items:end}
.bbp-physical-signs{margin-top:24px;padding:20px;border:1px solid #ded9e4;border-radius:14px;background:#faf8fb}
.bbp-physical-signs h4{margin:0 0 6px}.bbp-physical-signs h4 span{font-weight:500;color:#6a6670;font-size:.9em}
.bbp-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:16px 0}
.bbp-checkbox-grid label{display:flex;gap:9px;align-items:flex-start}
.bbp-physical-signs-result{margin-top:18px;padding:14px 16px;border-radius:10px;background:#f5f1f8}
.bbp-physical-signs-result p{margin:4px 0 0}
.bbp-weight-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.bbp-weight-summary small{display:block;margin-top:3px;color:#6b6670}
.bbp-case-events-table th:first-child{width:18%}.bbp-case-events-table th:nth-child(2){width:20%}
@media (max-width:900px){.bbp-complete-report-controls .bbp-panel-heading{align-items:flex-start;flex-direction:column}.bbp-case-report-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.cbd-weight-history-entry{align-items:flex-start;flex-direction:column}.cbd-weight-entry-form{grid-template-columns:1fr;width:100%}.cbd-weight-history-entry .cbd-inline-form{width:100%}.cbd-weight-history-action{width:100%}.cbd-vaccination-row{grid-template-columns:1fr}.bbp-weight-summary{grid-template-columns:1fr}.bbp-checkbox-grid{grid-template-columns:1fr}}
@media print{.bbp-complete-report-controls{display:none!important}.bbp-case-events-table{font-size:9pt}.bbp-physical-signs-print td{border-top:2px solid #333}.bbp-weight-summary{grid-template-columns:repeat(3,1fr)}}


/* Belle & Bark brand controls and Ultimate Member integration for v0.10.20. */
:root {
	--bb-black: #09080d;
	--bb-white: #ffffff;
	--bb-primary-hover: #c79a00;
	--bb-secondary-soft: #f1eafa;
	--bb-secondary-hover: #3b277d;
}

.bbp-button,
a.bbp-button,
.cbd-button,
a.cbd-button,
.bbp-login-card input[type="submit"] {
	min-height: 44px;
	padding: 10px 14px;
	border: 2px solid var(--portal-primary);
	border-radius: 8px;
	background: var(--portal-primary);
	color: var(--bb-black) !important;
	font-family: "Poppins", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: none;
	transform: none;
	filter: none;
}

.bbp-button:hover,
.bbp-button:active,
.bbp-button.is-selected,
.bbp-button[aria-pressed="true"],
.cbd-button:hover,
.cbd-button:active,
.cbd-button.is-selected,
.cbd-button[aria-pressed="true"],
.bbp-login-card input[type="submit"]:hover,
.bbp-login-card input[type="submit"]:active {
	border-color: var(--bb-primary-hover);
	background: var(--bb-primary-hover);
	color: var(--bb-black) !important;
	box-shadow: none;
	transform: none;
	filter: none;
}

.bbp-button.bbp-button--secondary,
a.bbp-button.bbp-button--secondary,
.bbp-button.bbp-button--ghost,
a.bbp-button.bbp-button--ghost,
.cbd-button.cbd-button-secondary,
a.cbd-button.cbd-button-secondary,
.cbd-history-section .cbd-button.cbd-button-secondary,
.bbp-table .bbp-button.bbp-button--secondary,
.bbp-table a.bbp-button.bbp-button--secondary {
	border-color: var(--portal-secondary);
	background: transparent;
	color: var(--portal-secondary) !important;
}

.bbp-button.bbp-button--secondary:hover,
a.bbp-button.bbp-button--secondary:hover,
.bbp-button.bbp-button--secondary:active,
a.bbp-button.bbp-button--secondary:active,
.bbp-button.bbp-button--secondary.is-selected,
.bbp-button.bbp-button--secondary[aria-pressed="true"],
.bbp-button.bbp-button--ghost:hover,
a.bbp-button.bbp-button--ghost:hover,
.bbp-button.bbp-button--ghost:active,
a.bbp-button.bbp-button--ghost:active,
.bbp-button.bbp-button--ghost.is-selected,
.bbp-button.bbp-button--ghost[aria-pressed="true"],
.cbd-button.cbd-button-secondary:hover,
a.cbd-button.cbd-button-secondary:hover,
.cbd-button.cbd-button-secondary:active,
a.cbd-button.cbd-button-secondary:active,
.cbd-button.cbd-button-secondary.is-selected,
.cbd-button.cbd-button-secondary[aria-pressed="true"],
.cbd-history-section .cbd-button.cbd-button-secondary:hover,
.bbp-table .bbp-button.bbp-button--secondary:hover,
.bbp-table a.bbp-button.bbp-button--secondary:hover {
	border-color: var(--portal-secondary);
	background: var(--bb-secondary-soft);
	color: var(--portal-secondary) !important;
}

.bbp-button--small,
.cbd-button-small,
.cbd-admin .bbp-button,
.cbd-admin a.bbp-button,
.cbd-admin .cbd-button,
.cbd-admin a.cbd-button,
.cbd-weight-history-action {
	min-height: 44px;
	padding: 10px 14px;
	font-size: .9rem;
}

.bbp-action-link,
a.um-link-alt {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--portal-secondary) !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-decoration-color: currentColor !important;
	text-underline-offset: .18em;
}

.bbp-card-heading a,
.bbp-panel-heading a,
.bbp-action-link,
a.um-link-alt {
	color: var(--portal-secondary) !important;
}

.bbp-card-heading a,
.bbp-panel-heading a {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: currentColor;
	text-underline-offset: .18em;
}

.bbp-card-heading a:hover,
.bbp-card-heading a:focus-visible,
.bbp-panel-heading a:hover,
.bbp-panel-heading a:focus-visible,
.bbp-action-link:hover,
.bbp-action-link:active,
.bbp-action-link.is-selected,
a.um-link-alt:hover,
a.um-link-alt:active {
	color: var(--bb-secondary-hover) !important;
	text-decoration-thickness: 2px !important;
}

.bbp-button:focus-visible,
.cbd-button:focus-visible,
.bbp-action-link:focus-visible,
.bbp-login-card input[type="submit"]:focus-visible,
.um .um-button:focus-visible,
.um a.um-button:focus-visible,
.um a.um-link-alt:focus-visible {
	outline: 3px solid var(--portal-secondary) !important;
	outline-offset: 3px;
}

.um .um-button,
.um input[type="submit"].um-button,
.um a.um-button {
	min-height: 44px !important;
	padding: 10px 14px !important;
	border: 2px solid var(--portal-primary) !important;
	border-radius: 8px !important;
	background: var(--portal-primary) !important;
	color: var(--bb-black) !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
}

.um .um-button:hover,
.um .um-button:active,
.um input[type="submit"].um-button:hover,
.um input[type="submit"].um-button:active,
.um a.um-button:hover,
.um a.um-button:active {
	border-color: var(--bb-primary-hover) !important;
	background: var(--bb-primary-hover) !important;
	color: var(--bb-black) !important;
}

.um .um-button.um-alt,
.um a.um-button.um-alt {
	border-color: var(--portal-secondary) !important;
	background: transparent !important;
	color: var(--portal-secondary) !important;
	box-shadow: none !important;
}

.um .um-button.um-alt:hover,
.um .um-button.um-alt:active,
.um a.um-button.um-alt:hover,
.um a.um-button.um-alt:active {
	border-color: var(--portal-secondary) !important;
	background: var(--bb-secondary-soft) !important;
	color: var(--portal-secondary) !important;
}

.um.um-account .um-account-side ul li a {
	color: var(--portal-secondary);
}

.um.um-account .um-account-side ul li a:hover,
.um.um-account .um-account-side ul a.current {
	background: var(--bb-secondary-soft);
	color: var(--portal-secondary);
}

.um-profile-nav-item-posts,
.um-profile-nav-item-comments,
.um-page-user .um-header,
.um-page-user .um-profile-header,
.um-page-user .um-profile-photo,
.um-page-user .um-name,
.um-page-user .um-profile-bio,
.um-page-user .entry-title {
	display: none !important;
}

.um-page-user .entry-content {
	padding-top: 80px;
}

