/* The tester and partner portals: the site's type and header on paper, so they're clearly the back room. */

* {
	box-sizing: border-box;
}

html {
	background: #f4f2eb;
}

body {
	margin: 0;
	background: #f4f2eb;
	font: 400 16px/1.5 Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #161916;
}

a {
	color: #1f5f2a;
}

.bud-p-wrap {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding-inline: clamp(1rem, 3vw, 2rem);
}

.bud-p-top {
	background: #0d0f0e;
	border-bottom: 3px solid #3ef06e;
}

.bud-p-top .bud-p-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 1.5rem;
	padding-block: 1rem;
}

.bud-p-brand {
	display: block;
	line-height: 0;
}

.bud-p-brand img {
	display: block;
	width: auto;
	height: 30px;
}

.bud-p-top nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.4rem;
}

.bud-p-top nav a {
	padding-block: 0.15rem;
	border-bottom: 2px solid transparent;
	font-size: 0.95rem;
	font-weight: 600;
	color: #c8cdc6;
	text-decoration: none;
}

.bud-p-top nav a:hover,
.bud-p-top nav a:focus-visible {
	color: #fff;
}

.bud-p-top nav a[aria-current="page"] {
	border-bottom-color: #3ef06e;
	color: #fff;
}

.bud-p-main {
	padding-block: clamp(1.75rem, 4vw, 3rem) 4rem;
}

.bud-p-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.5rem;
}

h1,
h2 {
	font-family: "League Gothic", "Arial Narrow", Impact, sans-serif;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: #0d0f0e;
}

h1 {
	margin: 0;
	font-size: clamp(3rem, 7vw, 4.5rem);
}

h2 {
	margin: 0 0 0.75rem;
	font-size: 1.9rem;
}

.bud-p-button {
	display: inline-block;
	padding: 0.65rem 1.15rem;
	border: 1.5px solid #0d0f0e;
	border-radius: 8px;
	background: none;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0d0f0e;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bud-p-button:hover,
.bud-p-button:focus-visible {
	background: #0d0f0e;
	color: #fff;
}

.bud-p-button.is-main {
	border-color: #0d0f0e;
	background: #0d0f0e;
	color: #fff;
}

.bud-p-button.is-main:hover,
.bud-p-button.is-main:focus-visible {
	border-color: #1f5f2a;
	background: #1f5f2a;
}

.bud-p-empty {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-radius: 14px;
	background: #fff;
}

.bud-p-empty p {
	max-width: 40rem;
	margin: 0;
}

.bud-p-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1.1rem;
}

.bud-p-filter a {
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: #e6e3d7;
	font-size: 0.9rem;
	font-weight: 600;
	color: #161916;
	text-decoration: none;
}

.bud-p-filter a:hover,
.bud-p-filter a:focus-visible {
	background: #d9d6c8;
}

.bud-p-filter a[aria-current="page"] {
	background: #0d0f0e;
	color: #fff;
}

.bud-p-filter span {
	margin-left: 0.2rem;
	font-weight: 400;
	opacity: 0.75;
}

.bud-p-tickets {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bud-p-tickets li {
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border-radius: 14px;
	background: #fff;
}

.bud-p-ticket-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.65rem;
	margin-bottom: 0.6rem;
}

.bud-p-tag,
.bud-p-status {
	padding: 0.1rem 0.55rem;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 700;
}

.bud-p-tag {
	background: #efece2;
	color: #3a3e39;
}

.bud-p-status {
	margin-left: auto;
	background: #fdf0c8;
	color: #5e4700;
}

.bud-p-status.is-progress {
	background: #dcebfb;
	color: #123f6d;
}

.bud-p-status.is-fixed {
	background: #d8f3de;
	color: #14532a;
}

.bud-p-status.is-closed {
	background: #e6e3d7;
	color: #3a3e39;
}

.bud-p-note {
	margin: 0 0 0.75rem;
	overflow-wrap: anywhere;
}

.bud-p-shots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.bud-p-shots img {
	display: block;
	width: 112px;
	height: 80px;
	border: 1px solid #d9d6c8;
	border-radius: 6px;
	object-fit: cover;
}

.bud-p-meta {
	margin: 0;
	font-size: 0.85rem;
	color: #5b605a;
	overflow-wrap: anywhere;
}

.bud-p-saved,
.bud-p-problem {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-left: 3px solid #1f5f2a;
	border-radius: 4px;
	background: #d8f3de;
}

.bud-p-problem {
	border-left-color: #c53c3c;
	background: #fbe9e9;
}

.bud-p-problem p {
	margin: 0;
}

.bud-p-problem p + p {
	margin-top: 0.3rem;
}

.bud-p-form {
	max-width: 34rem;
}

.bud-p-form section {
	margin-bottom: 0.75rem;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border-radius: 14px;
	background: #fff;
}

.bud-p-form section p {
	margin: -0.35rem 0 0.85rem;
	font-size: 0.92rem;
	color: #5b605a;
}

.bud-p-form label {
	display: block;
	margin-bottom: 0.85rem;
}

.bud-p-form label:last-child {
	margin-bottom: 0;
}

.bud-p-form label span {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.92rem;
	font-weight: 600;
}

.bud-p-form input {
	display: block;
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	color: #161916;
}

.bud-p-form input:focus {
	border-color: #0d0f0e;
	outline: 1px solid #0d0f0e;
}

.bud-p-form .bud-p-button {
	margin-top: 0.5rem;
}

/* The partner portal ------------------------------------------------------- */

/* Top bar: the pages, then messages and the account menu at the far end */
.is-partner .bud-p-top .bud-p-wrap {
	flex-wrap: nowrap;
}

.is-partner .bud-p-top nav {
	margin-left: auto;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.bud-p-tools {
	display: flex;
	flex: none;
	align-items: center;
	gap: 0.5rem;
	margin-left: 0.75rem;
	padding-left: 1rem;
	border-left: 1px solid #2a302c;
}

.bud-p-icon-link {
	position: relative;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #c8cdc6;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bud-p-icon-link:hover,
.bud-p-icon-link:focus-visible,
.bud-p-icon-link[aria-current="page"] {
	background: #1b201c;
	color: #fff;
}

.bud-p-icon-link .bud-p-count {
	position: absolute;
	top: 2px;
	right: 0;
	margin: 0;
}

.bud-p-menu {
	position: relative;
}

.bud-p-menu summary {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.25rem 0.5rem 0.25rem 0.25rem;
	border-radius: 999px;
	color: #c8cdc6;
	cursor: pointer;
	list-style: none;
	transition: background-color 0.15s ease;
}

.bud-p-menu summary::-webkit-details-marker {
	display: none;
}

.bud-p-menu summary:hover,
.bud-p-menu[open] summary {
	background: #1b201c;
	color: #fff;
}

.bud-p-avatar {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #3ef06e;
	font-weight: 700;
	color: #0d0f0e;
}

.bud-p-menu-name {
	font-size: 0.92rem;
	font-weight: 600;
}

.bud-p-menu-list {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	z-index: 20;
	display: grid;
	min-width: 230px;
	padding: 0.4rem;
	border: 1px solid #e0ddd1;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.bud-p-menu-list p {
	display: grid;
	margin: 0 0 0.3rem;
	padding: 0.6rem 0.7rem;
	border-bottom: 1px solid #ebe8dd;
	font-size: 0.9rem;
	color: #161916;
}

.bud-p-menu-list p span {
	font-size: 0.82rem;
	color: #5b605a;
	overflow-wrap: anywhere;
}

.bud-p-menu-list a {
	padding: 0.55rem 0.7rem;
	border-radius: 8px;
	font-size: 0.92rem;
	font-weight: 600;
	color: #161916;
	text-decoration: none;
}

.bud-p-menu-list a:hover,
.bud-p-menu-list a:focus-visible {
	background: #f4f2eb;
}

.bud-p-menu-list .is-out {
	margin-top: 0.3rem;
	border-top: 1px solid #ebe8dd;
	border-radius: 0 0 8px 8px;
	color: #a33434;
}

.bud-p-new {
	padding: 0.05rem 0.4rem;
	border-radius: 4px;
	background: #1f7a35;
	font-size: 0.75rem;
	color: #fff;
}

@media (max-width: 980px) {
	.is-partner .bud-p-top .bud-p-wrap {
		flex-wrap: wrap;
	}

	.is-partner .bud-p-top nav {
		order: 3;
		width: 100%;
		margin-left: 0;
		overflow-x: auto;
		flex-wrap: nowrap;
		scrollbar-width: none;
	}

	.bud-p-tools {
		margin-left: auto;
		border-left: 0;
	}
}

@media (max-width: 560px) {
	.bud-p-menu-name {
		display: none;
	}
}

.bud-p-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.is-partner .bud-p-wrap {
	max-width: 1120px;
}

.bud-p-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.bud-p-brand span {
	padding: 0.2rem 0.55rem;
	border: 1.5px solid #3ef06e;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #3ef06e;
}

.bud-p-count {
	display: inline-grid;
	place-items: center;
	min-width: 1.3rem;
	height: 1.3rem;
	margin-left: 0.25rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: #3ef06e;
	font-size: 0.75rem;
	color: #0d0f0e;
}

.bud-p-dot {
	display: inline-block;
	flex: none;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: #1f7a35;
}

.bud-p-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1f5f2a;
}

.bud-p-muted {
	color: #5b605a;
	font-size: 0.9rem;
}

.bud-p-back {
	margin: 0 0 0.75rem;
	font-size: 0.92rem;
}

.bud-p-head-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}

.bud-p-head-actions form {
	margin: 0;
}

.bud-p-note-box {
	margin: 0 0 1rem;
	padding: 0.8rem 1rem;
	border-left: 4px solid #2a6db5;
	border-radius: 6px;
	background: #dcebfb;
	font-size: 0.95rem;
}

.bud-p-card {
	display: block;
	margin-bottom: 0.75rem;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border-radius: 14px;
	background: #fff;
	color: inherit;
}

.bud-p-card.is-alert {
	background: #fdf0c8;
}

.bud-p-card > p:last-child {
	margin-bottom: 0;
}

.bud-p-card h3 {
	margin: 1.5rem 0 0.5rem;
	font-size: 1rem;
}

.bud-p-card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.75rem;
}

.bud-p-card-head h2 {
	margin: 0;
}

.bud-p-two {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.bud-p-two .bud-p-card {
	margin: 0;
}

.bud-p-tile {
	display: grid;
	gap: 0.2rem;
	text-decoration: none;
	transition: box-shadow 0.15s ease;
}

.bud-p-tile:hover,
.bud-p-tile:focus-visible {
	box-shadow: 0 0 0 2px #0d0f0e;
}

.bud-p-tile strong {
	font-size: 1.05rem;
}

.bud-p-tile span {
	font-size: 0.92rem;
	color: #5b605a;
}

/* Numbers */
.bud-p-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.75rem;
	margin: 0 0 1rem;
}

.bud-p-stats div {
	padding: 0.9rem 1rem;
	border-radius: 12px;
	background: #f4f2eb;
}

.bud-p-stats dt {
	font-size: 0.85rem;
	font-weight: 600;
	color: #5b605a;
}

.bud-p-stats dd {
	margin: 0.15rem 0 0;
	font-family: "League Gothic", "Arial Narrow", Impact, sans-serif;
	font-size: 2.5rem;
	line-height: 1;
}

.bud-p-chart {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	align-items: end;
	gap: 3px;
	height: 120px;
	padding: 0 0 2px;
	border-bottom: 1.5px solid #d9d6c8;
}

.bud-p-chart span {
	height: max(2px, var(--h, 2px));
	border-radius: 3px 3px 0 0;
	background: #1f7a35;
	transition: background-color 0.1s ease;
}

.bud-p-chart .bud-h-0 { height: 2px; }
.bud-p-chart .bud-h-5 { height: 5%; }
.bud-p-chart .bud-h-10 { height: 10%; }
.bud-p-chart .bud-h-15 { height: 15%; }
.bud-p-chart .bud-h-20 { height: 20%; }
.bud-p-chart .bud-h-25 { height: 25%; }
.bud-p-chart .bud-h-30 { height: 30%; }
.bud-p-chart .bud-h-35 { height: 35%; }
.bud-p-chart .bud-h-40 { height: 40%; }
.bud-p-chart .bud-h-45 { height: 45%; }
.bud-p-chart .bud-h-50 { height: 50%; }
.bud-p-chart .bud-h-55 { height: 55%; }
.bud-p-chart .bud-h-60 { height: 60%; }
.bud-p-chart .bud-h-65 { height: 65%; }
.bud-p-chart .bud-h-70 { height: 70%; }
.bud-p-chart .bud-h-75 { height: 75%; }
.bud-p-chart .bud-h-80 { height: 80%; }
.bud-p-chart .bud-h-85 { height: 85%; }
.bud-p-chart .bud-h-90 { height: 90%; }
.bud-p-chart .bud-h-95 { height: 95%; }
.bud-p-chart .bud-h-100 { height: 100%; }

.bud-p-chart span:hover {
	background: #0d0f0e;
}

.bud-p-chart-axis {
	display: flex;
	justify-content: space-between;
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	color: #5b605a;
}

/* Lists and steps */
.bud-p-list,
.bud-p-steps,
.bud-p-spots {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bud-p-list li {
	display: grid;
	gap: 0.15rem;
	padding: 0.65rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bud-p-list li:first-child {
	padding-top: 0;
	border-top: 0;
}

.bud-p-list a {
	font-weight: 700;
}

.bud-p-list span {
	font-size: 0.92rem;
	color: #5b605a;
}

.bud-p-steps {
	counter-reset: step;
	display: grid;
	gap: 0.75rem;
}

.bud-p-steps li {
	position: relative;
	padding-left: 2.6rem;
	counter-increment: step;
}

.bud-p-steps li::before {
	content: counter(step);
	position: absolute;
	top: -0.1rem;
	left: 0;
	display: grid;
	place-items: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	background: #0d0f0e;
	font-size: 0.9rem;
	font-weight: 700;
	color: #3ef06e;
}

.bud-p-spots {
	display: grid;
	gap: 0.3rem;
	margin: 0.75rem 0;
}

.bud-p-spots li {
	position: relative;
	padding-left: 1.2rem;
	font-size: 0.95rem;
}

.bud-p-spots li::before {
	content: "";
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 2px;
	background: #3ef06e;
}

/* Statuses */
.bud-p-status {
	white-space: nowrap;
}

.bud-p-status.is-ad-running {
	background: #d8f3de;
	color: #14532a;
}

.bud-p-status.is-ad-review,
.bud-p-status.is-ad-scheduled {
	background: #dcebfb;
	color: #123f6d;
}

.bud-p-status.is-ad-changes,
.bud-p-status.is-ad-waiting {
	background: #fdf0c8;
	color: #5e4700;
}

.bud-p-status.is-ad-paused {
	background: #ece4fb;
	color: #43246f;
}

.bud-p-status.is-ad-declined {
	background: #fbe9e9;
	color: #7a1f1f;
}

.bud-p-status.is-ad-ended,
.bud-p-status.is-ad-finished,
.bud-p-status.is-ad-removed {
	background: #e6e3d7;
	color: #3a3e39;
}

.bud-p-head .bud-p-status {
	margin-left: 0;
	padding: 0.35rem 0.75rem;
	font-size: 0.9rem;
}

/* The ads table. Positioned, so the hidden column label stays inside its scrolling box. */
.bud-p-table-wrap {
	position: relative;
	margin-bottom: 0.75rem;
	overflow-x: auto;
	border-radius: 14px;
	background: #fff;
}

.bud-p-card .bud-p-table-wrap {
	border-radius: 0;
}

.bud-p-table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.bud-p-table.is-compact {
	min-width: 0;
}

.bud-p-table th,
.bud-p-table td {
	padding: 0.75rem 0.9rem;
	border-bottom: 1px solid #ebe8dd;
	text-align: left;
	vertical-align: middle;
}

.bud-p-table.is-compact th,
.bud-p-table.is-compact td {
	padding: 0.5rem;
}

.bud-p-table thead th {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5b605a;
}

.bud-p-table tbody tr:last-child td {
	border-bottom: 0;
}

.bud-p-table tfoot th,
.bud-p-table tfoot td {
	border-top: 1.5px solid #d9d6c8;
	border-bottom: 0;
}

.bud-p-table .is-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.bud-p-table .is-small {
	font-size: 0.85rem;
	color: #5b605a;
}

.bud-p-table-ad {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #161916;
	text-decoration: none;
}

.bud-p-table-ad:hover strong {
	text-decoration: underline;
}

.bud-p-table-ad strong,
.bud-p-table-ad small {
	display: block;
}

.bud-p-table-ad small {
	font-size: 0.8rem;
	color: #5b605a;
}

.bud-p-ad-thumb {
	display: grid;
	flex: none;
	place-items: center;
	width: 72px;
	height: 48px;
	overflow: hidden;
	border-radius: 6px;
	background: #efece2;
}

.bud-p-ad-thumb img {
	display: block;
	max-width: 100%;
	max-height: 100%;
}

.bud-p-row-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.3rem 0.8rem;
	margin: 0;
}

.bud-p-row-actions a,
.bud-p-row-actions button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: #1f5f2a;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.bud-p-row-actions .is-danger {
	color: #a33434;
}

/* One ad */
.bud-p-ad-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
	gap: 0.75rem;
	align-items: start;
}

.bud-p-preview {
	text-align: center;
	background: #0d0f0e;
}

.bud-p-preview img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.bud-p-preview img.is-rectangle {
	width: 300px;
}

.bud-p-preview .bud-p-ad-label {
	margin: 0 0 0.4rem;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8f998f;
}

.bud-p-code {
	margin: 0.5rem 0 0;
	font-size: 0.85rem;
	color: #dfe4df;
}

.bud-p-code b {
	padding: 0.1rem 0.45rem;
	border: 1px dashed #3ef06e;
	border-radius: 4px;
	font-family: ui-monospace, Consolas, monospace;
	color: #3ef06e;
}

.bud-p-facts {
	margin: 0 0 0.75rem;
	padding: 0.3rem 1.1rem;
	border-radius: 14px;
	background: #fff;
}

.bud-p-facts div {
	display: grid;
	gap: 0.1rem;
	padding: 0.6rem 0;
	border-top: 1px solid #ebe8dd;
}

.bud-p-facts div:first-child {
	border-top: 0;
}

.bud-p-facts dt {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5b605a;
}

.bud-p-facts dd {
	margin: 0;
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}

.bud-p-withdraw button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.9rem;
	color: #a33434;
	text-decoration: underline;
	cursor: pointer;
}

.bud-p-edit {
	margin-top: 0.75rem;
}

.bud-p-edit > summary {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.65rem 1.15rem;
	border: 1.5px solid #0d0f0e;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.bud-p-edit > summary::-webkit-details-marker {
	display: none;
}

.bud-p-edit[open] > summary {
	background: #0d0f0e;
	color: #fff;
}

/* Messages */
.bud-p-thread {
	display: grid;
	gap: 0.6rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.bud-p-thread li {
	max-width: 46rem;
	padding: 0.75rem 0.95rem;
	border-radius: 12px;
	background: #f4f2eb;
}

.bud-p-thread li.is-partner {
	justify-self: end;
	background: #e3f4e6;
}

.bud-p-thread p {
	margin: 0;
	overflow-wrap: anywhere;
}

.bud-p-thread .bud-p-thread-who {
	margin-bottom: 0.2rem;
	font-size: 0.85rem;
}

.bud-p-thread-who span {
	color: #5b605a;
}

.bud-p-reply {
	display: grid;
	gap: 0.5rem;
}

.bud-p-reply textarea,
.bud-p-form select {
	display: block;
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	color: #161916;
}

.bud-p-reply textarea {
	resize: vertical;
}

.bud-p-reply .bud-p-button {
	justify-self: start;
}

.bud-p-tickets .bud-p-ticket-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: calc(-1 * clamp(1rem, 2.5vw, 1.5rem));
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border-radius: 14px;
	color: #161916;
	text-decoration: none;
}

.bud-p-ticket-link:hover strong {
	text-decoration: underline;
}

.bud-p-ticket-link strong,
.bud-p-ticket-link small {
	display: block;
}

.bud-p-ticket-link small {
	margin-top: 0.15rem;
	font-size: 0.85rem;
	color: #5b605a;
}

.bud-p-ticket-link .bud-p-status {
	margin-left: 0;
}

/* Forms: wider fields, dates side by side, sizes and types as choices */
.bud-p-form.is-wide {
	max-width: 46rem;
}

.bud-p-form small {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.85rem;
	color: #5b605a;
}

.bud-p-form label span i {
	font-style: normal;
	font-weight: 400;
	color: #5b605a;
}

.bud-p-form textarea {
	display: block;
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	color: #161916;
	resize: vertical;
}

.bud-p-form textarea:focus,
.bud-p-form select:focus,
.bud-p-reply textarea:focus {
	border-color: #0d0f0e;
	outline: 1px solid #0d0f0e;
}

.bud-p-form input[type="file"] {
	padding: 0.55rem;
	background: #faf9f5;
}

.bud-p-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	gap: 0 0.75rem;
}

.bud-p-row label {
	margin-bottom: 0;
}

.bud-p-sizes,
.bud-p-choices {
	display: grid;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	padding: 0;
	border: 0;
}

.bud-p-sizes {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.bud-p-sizes legend,
.bud-p-choices legend {
	margin-bottom: 0.3rem;
	padding: 0;
	font-size: 0.92rem;
	font-weight: 600;
}

.bud-p-form .bud-p-sizes label,
.bud-p-form .bud-p-choices label {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.bud-p-form .bud-p-sizes input,
.bud-p-form .bud-p-choices input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.bud-p-form .bud-p-sizes label > span,
.bud-p-form .bud-p-choices label > span {
	display: grid;
	justify-items: start;
	gap: 0.1rem;
	height: 100%;
	margin: 0;
	padding: 0.8rem 1rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 400;
	color: #5b605a;
}

.bud-p-form .bud-p-choices label > span {
	display: block;
}

.bud-p-sizes strong,
.bud-p-choices strong {
	font-size: 1rem;
	color: #161916;
}

.bud-p-sizes i {
	display: block;
	margin-bottom: 0.45rem;
	border: 1.5px solid currentColor;
	border-radius: 3px;
	background: #efece2;
}

.bud-p-sizes i.is-rectangle {
	width: 48px;
	height: 40px;
}

.bud-p-sizes i.is-banner {
	width: 116px;
	height: 15px;
	margin-block: 12px 0.45rem;
}

.bud-p-form .bud-p-sizes input:checked + span,
.bud-p-form .bud-p-choices input:checked + span {
	border-color: #0d0f0e;
	box-shadow: inset 0 0 0 1px #0d0f0e;
	color: #161916;
}

.bud-p-form .bud-p-sizes input:checked + span i {
	background: #3ef06e;
}

.bud-p-form .bud-p-sizes input:focus-visible + span,
.bud-p-form .bud-p-choices input:focus-visible + span {
	outline: 2px solid #1f5f2a;
	outline-offset: 2px;
}

/* The promo code only matters for promo code campaigns. */
.bud-p-form:not(:has(input[name="cmp_type"][value="promo"]:checked)) .bud-p-promo {
	display: none;
}

/* Campaign & review statuses */
.bud-p-status.is-cmp-active,
.bud-p-status.is-rv-published {
	background: #d8f3de;
	color: #14532a;
}

.bud-p-status.is-cmp-review,
.bud-p-status.is-cmp-scheduled,
.bud-p-status.is-cr-review,
.bud-p-status.is-rv-submitted {
	background: #dcebfb;
	color: #123f6d;
}

.bud-p-status.is-cmp-changes,
.bud-p-status.is-cmp-waiting,
.bud-p-status.is-cmp-queued,
.bud-p-status.is-cmp-draft,
.bud-p-status.is-cr-changes,
.bud-p-status.is-bill-due,
.bud-p-status.is-rv-changes,
.bud-p-status.is-rv-draft {
	background: #fdf0c8;
	color: #5e4700;
}

.bud-p-status.is-cmp-paused,
.bud-p-status.is-cmp-ending {
	background: #ece4fb;
	color: #43246f;
}

.bud-p-status.is-cmp-declined,
.bud-p-status.is-cr-declined {
	background: #fbe9e9;
	color: #7a1f1f;
}

.bud-p-status.is-cr-approved,
.bud-p-status.is-bill-paid {
	background: #d8f3de;
	color: #14532a;
}

.bud-p-status.is-cmp-completed,
.bud-p-status.is-cmp-removed,
.bud-p-status.is-bill-waived,
.bud-p-status.is-cr-replaced,
.bud-p-status.is-cr-removed {
	background: #e6e3d7;
	color: #3a3e39;
}

.bud-p-stats dd.is-small {
	padding-top: 0.55rem;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 700;
}

.bud-p-stats .is-alert {
	background: #fdf0c8;
}

/* Little pictures of a campaign's creatives in the table */
.bud-p-thumbs {
	display: flex;
	flex: none;
	gap: 0.3rem;
	align-items: center;
}

.bud-p-thumb {
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 4px;
	background: #efece2;
}

.bud-p-thumb.is-rectangle {
	width: 42px;
	height: 35px;
}

.bud-p-thumb.is-banner {
	width: 84px;
	height: 12px;
}

.bud-p-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bud-p-thumb.is-empty {
	border: 1.5px dashed #c9c5b6;
	background: none;
}

.bud-p-thumb.is-waiting img {
	opacity: 0.45;
}

/* A campaign's creatives */
.bud-p-creatives {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 1rem;
}

.bud-p-creative {
	padding: 0.9rem;
	border-radius: 12px;
	background: #f4f2eb;
}

.bud-p-creative h3 {
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
}

.bud-p-creative figure {
	margin: 0 0 0.5rem;
	padding: 0.5rem;
	border-radius: 8px;
	background: #0d0f0e;
}

.bud-p-creative figure img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.bud-p-creative p {
	margin: 0 0 0.4rem;
	font-size: 0.88rem;
}

.bud-p-replacement {
	margin: 0.6rem 0;
	padding-top: 0.6rem;
	border-top: 1px dashed #d9d6c8;
}

.bud-p-review-note {
	padding: 0.5rem 0.65rem;
	border-left: 3px solid #b88a00;
	border-radius: 4px;
	background: #fff;
}

.bud-p-replacement.is-declined .bud-p-review-note {
	border-left-color: #c53c3c;
}

.bud-p-link {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: #1f5f2a;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.bud-p-link.is-danger {
	color: #a33434;
}

/* Each size's own upload, inside its card */
.bud-p-creative-upload {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.5rem;
	margin: 0.6rem 0 0.5rem;
}

.bud-p-creative-upload label.bud-p-button {
	margin: 0;
	background: #fff;
	cursor: pointer;
}

.bud-p-creative-upload.is-focus label.bud-p-button {
	outline: 2px solid #0d0f0e;
	outline-offset: 2px;
}

.bud-p-creative-upload.is-chosen label.bud-p-button {
	font-weight: 600;
}

.bud-p-creative-upload .bud-p-button[hidden] {
	display: none;
}

.bud-p-upload-name {
	overflow: hidden;
	max-width: 12rem;
	font-size: 0.82rem;
	color: #3c403b;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bud-p-upload-name:empty {
	display: none;
}

.bud-p-creative-upload .bud-p-upload-check {
	flex-basis: 100%;
}

.bud-p-creative-upload .bud-p-upload-check:empty {
	display: none;
}

.bud-p-creative-rules {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
}

.bud-p-uploads {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.bud-p-form .bud-p-upload {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	padding: 0.8rem;
	border: 1.5px dashed #c9c5b6;
	border-radius: 10px;
	background: #faf9f5;
}

.bud-p-upload i {
	display: block;
	border: 1.5px solid #5b605a;
	border-radius: 3px;
	background: #efece2;
}

.bud-p-upload i.is-rectangle {
	width: 48px;
	height: 40px;
}

.bud-p-upload i.is-banner {
	width: 116px;
	height: 15px;
}

.bud-p-form .bud-p-upload span {
	margin: 0;
	font-weight: 400;
}

.bud-p-form .bud-p-upload input {
	padding: 0.4rem;
	border-style: solid;
	font-size: 0.85rem;
}

.bud-p-price {
	margin: 0 0 0.75rem;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	background: #0d0f0e;
	color: #c8cdc6;
}

.bud-p-price strong {
	display: block;
	font-family: "League Gothic", "Arial Narrow", Impact, sans-serif;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.1;
	color: #3ef06e;
}

.bud-p-optional {
	font-family: Archivo, system-ui, sans-serif;
	font-size: 0.9rem;
	font-style: normal;
	text-transform: none;
	color: #5b605a;
}

/* Tracking: a tick box and its help */
.bud-p-form .bud-p-check {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.bud-p-form .bud-p-check input {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0;
	accent-color: #1f7a35;
}

.bud-p-form .bud-p-check span {
	margin: 0;
	font-weight: 600;
}

.bud-p-help {
	margin: 0 0 0.9rem;
	padding: 0.7rem 0.9rem;
	border-radius: 10px;
	background: #f4f2eb;
	font-size: 0.9rem;
}

.bud-p-help summary {
	font-weight: 600;
	cursor: pointer;
}

.bud-p-form .bud-p-help p {
	margin: 0.6rem 0 0;
	color: #3a3e39;
}

.bud-p-help code {
	padding: 0.05rem 0.3rem;
	border-radius: 4px;
	background: #fff;
	font-size: 0.85em;
	overflow-wrap: anywhere;
}

/* Setting up a campaign: the form, with the preview following beside it */
.bud-p-setup {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
	gap: 1.25rem;
	align-items: start;
}

.bud-p-setup .bud-p-live {
	position: sticky;
	top: 1rem;
}

/* The live preview */
.bud-p-live {
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 14px;
	background: #fff;
}

.bud-p-setup .bud-p-live {
	margin-top: 0;
}

.bud-p-live-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.bud-p-live-head h2 {
	margin: 0;
	font-size: 1.6rem;
}

.bud-p-live-views {
	display: flex;
	padding: 3px;
	border-radius: 999px;
	background: #efece2;
}

.bud-p-live-views button {
	padding: 0.35rem 0.8rem;
	border: 0;
	border-radius: 999px;
	background: none;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	color: #5b605a;
	cursor: pointer;
}

.bud-p-live-views [aria-pressed="true"] {
	background: #0d0f0e;
	color: #fff;
}

.bud-p-live-frame {
	overflow: hidden;
	margin: 0 auto;
	border: 1px solid #2a302c;
	border-radius: 12px;
	background: #0d0f0e;
	transition: max-width 0.3s ease;
}

.bud-p-live-frame.is-phone {
	max-width: 250px;
	border-radius: 22px;
}

.bud-p-live-bar {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.5rem 0.65rem;
	border-bottom: 1px solid #2a302c;
	background: #141815;
}

.bud-p-live-bar i {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: #39413b;
}

.bud-p-live-bar span {
	overflow: hidden;
	margin-left: 0.5rem;
	font-size: 0.65rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #6f776f;
}

.bud-p-live-frame.is-phone .bud-p-live-bar i {
	display: none;
}

.bud-p-live-page {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 0.85rem;
	padding: 0.85rem;
}

.bud-p-live-frame.is-phone .bud-p-live-page {
	grid-template-columns: minmax(0, 1fr);
}

.bud-p-live-main,
.bud-p-live-rail {
	display: grid;
	align-content: start;
	gap: 0.4rem;
	min-width: 0;
}

.bud-p-live-page b {
	display: block;
	height: 0.4rem;
	border-radius: 3px;
	background: #232925;
}

.bud-p-live-page b.is-title {
	width: 70%;
	height: 0.8rem;
	margin-bottom: 0.2rem;
	background: #343b36;
}

.bud-p-live-page b.is-short {
	width: 55%;
}

.bud-p-live-slot {
	display: grid;
	gap: 0.2rem;
	margin-block: 0.3rem;
}

.bud-p-live-slot small {
	font-size: 0.48rem;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
	color: #6f776f;
}

.bud-p-live-ad {
	display: grid;
	place-items: center;
	overflow: hidden;
	min-width: 0;
	min-height: 0;
	border-radius: 4px;
	outline: 1.5px dashed rgba(62, 240, 110, 0.55);
	outline-offset: -1.5px;
}

.bud-p-live-slot.is-banner .bud-p-live-ad {
	aspect-ratio: 728 / 90;
}

.bud-p-live-slot.is-rectangle .bud-p-live-ad {
	aspect-ratio: 300 / 250;
}

.bud-p-live-ad img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	object-fit: cover;
}

.bud-p-live-ad img[hidden],
.bud-p-live-empty[hidden],
.bud-p-live-code[hidden] {
	display: none;
}

.bud-p-live-empty {
	padding: 0 0.4rem;
	font-size: 0.6rem;
	line-height: 1.2;
	white-space: nowrap;
	text-align: center;
	color: #8f998f;
}

.bud-p-live-code {
	margin: 0.15rem 0 0;
	font-size: 0.6rem;
	text-align: center;
	color: #dfe4df;
}

.bud-p-live-code b {
	display: inline;
	height: auto;
	padding: 0 0.3rem;
	border: 1px dashed #3ef06e;
	border-radius: 3px;
	background: none;
	font-family: ui-monospace, Consolas, monospace;
	color: #3ef06e;
}

.bud-p-live > .bud-p-muted {
	margin: 0.75rem 0 0;
	font-size: 0.82rem;
}

.bud-p-upload-check {
	font-size: 0.82rem;
	font-style: normal;
}

.bud-p-upload-check.is-ok {
	color: #1f7a35;
}

.bud-p-upload-check.is-wrong {
	color: #a33434;
}

@media (max-width: 980px) {
	.bud-p-setup {
		grid-template-columns: minmax(0, 1fr);
	}

	.bud-p-setup .bud-p-live {
		position: static;
	}
}

/* Choosing a report's dates */
.bud-p-range {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.6rem;
	margin: 0 0 1rem;
}

.bud-p-range nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-right: auto;
}

.bud-p-range nav a {
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #efece2;
	font-size: 0.88rem;
	font-weight: 600;
	color: #161916;
	text-decoration: none;
}

.bud-p-range nav a[aria-current="page"] {
	background: #0d0f0e;
	color: #fff;
}

.bud-p-range input[type="date"] {
	padding: 0.4rem 0.5rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 0.88rem;
}

.bud-p-range .bud-p-button {
	padding: 0.4rem 0.8rem;
	font-size: 0.88rem;
}

.bud-p-export {
	font-size: 0.88rem;
	font-weight: 600;
}

.bud-p-facts.is-plain {
	margin: 0 0 0.75rem;
	padding: 0;
	background: none;
}

.bud-p-billing-box form {
	margin: 0;
}

@media (max-width: 700px) {
	.bud-p-creatives {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Placements */
.bud-p-placement {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: 1.5rem;
	align-items: center;
}

/* The portal's own login page */
.is-login,
html:has(.is-login) {
	background: #0d0f0e;
}

.bud-pl {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 100vh;
}

.bud-pl-brand {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(1.5rem, 5vw, 4rem);
	background: radial-gradient(120% 80% at 0% 100%, rgba(62, 240, 110, 0.18), transparent 60%), #0d0f0e;
	color: #c8cdc6;
}

.bud-pl-brand h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(3.5rem, 8vw, 6rem);
	color: #fff;
}

.bud-pl-brand p {
	max-width: 26rem;
	margin: 0;
	font-size: 1.1rem;
}

.bud-pl-brand .bud-pl-foot {
	font-size: 0.85rem;
	color: #6f776f;
}

.bud-pl-form {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 1.5rem;
	padding: clamp(1.5rem, 5vw, 4rem);
	background: #f4f2eb;
}

.bud-pl-form form,
.bud-pl-apply {
	width: 100%;
	max-width: 24rem;
}

.bud-pl-form h2 {
	font-size: 2.5rem;
}

.bud-pl-form label {
	display: block;
	margin-bottom: 0.9rem;
}

.bud-pl-form label span {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.92rem;
	font-weight: 600;
}

.bud-pl-form input[type="text"],
.bud-pl-form input[type="password"] {
	display: block;
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	color: #161916;
}

.bud-pl-form input:focus {
	border-color: #0d0f0e;
	outline: 1px solid #0d0f0e;
}

.bud-pl-form .bud-pl-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.92rem;
}

.bud-pl-form .bud-p-button {
	width: 100%;
	padding-block: 0.85rem;
	font-size: 1rem;
}

.bud-pl-apply .bud-p-button {
	width: auto;
}

.bud-pl-forgot {
	margin: 0.9rem 0 0;
	font-size: 0.9rem;
	text-align: center;
}

.bud-pl-apply {
	padding: 1.1rem 1.25rem;
	border-radius: 14px;
	background: #fff;
}

.bud-pl-apply p {
	margin: 0.25rem 0 0.75rem;
	font-size: 0.92rem;
	color: #5b605a;
}

@media (max-width: 900px) {
	.bud-p-ad-layout,
	.bud-p-placement {
		grid-template-columns: minmax(0, 1fr);
	}

	.bud-p-ad-layout > aside {
		order: -1;
	}
}

@media (max-width: 760px) {
	.bud-pl {
		grid-template-columns: minmax(0, 1fr);
	}

	.bud-pl-brand {
		gap: 1.5rem;
	}

	.bud-pl-brand .bud-pl-foot {
		display: none;
	}

	.bud-pl-form {
		align-content: start;
	}
}

@media (max-width: 560px) {
	.bud-p-stats dd {
		font-size: 2rem;
	}

	.bud-p-chart {
		height: 90px;
		gap: 2px;
	}
}

/* Partner account: cards side by side, then the site tag ----------------- */
.bud-p-account-head {
	justify-content: flex-start;
	gap: 1rem;
}

.bud-p-account-head h1 {
	margin: 0;
}

.bud-p-account-head .bud-p-muted {
	margin: 0.2rem 0 0;
}

.bud-p-avatar.is-big {
	width: 64px;
	height: 64px;
	font-size: 1.8rem;
}

.bud-p-form.bud-p-account {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	max-width: none;
	margin-bottom: 0.75rem;
}

.bud-p-account section {
	margin: 0;
}

.bud-p-account section.is-company {
	grid-column: 1 / -1;
}

.bud-p-account h2 {
	margin-bottom: 0.5rem;
}

.bud-p-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 0.85rem 1rem;
}

.bud-p-fields label,
.bud-p-fields label:last-child {
	margin: 0;
}

.bud-p-fields .is-full {
	grid-column: 1 / -1;
}

.bud-p-account-save {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-end;
}

.bud-p-account-save .bud-p-button {
	margin: 0;
}

.bud-p-tag-lead {
	max-width: 62ch;
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.55;
	color: #3c403b;
}

.bud-p-sitetag code,
.bud-p-tag-steps code {
	padding: 0.05rem 0.35rem;
	border-radius: 4px;
	background: #f4f2eb;
	font-size: 0.88em;
}

.bud-p-tag-steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	counter-reset: bud-step;
}

.bud-p-tag-steps li {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 1rem;
	border: 1.5px solid #ebe8dd;
	border-radius: 12px;
	counter-increment: bud-step;
}

.bud-p-step-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.bud-p-step-head h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 1rem;
}

.bud-p-step-head h3::before {
	content: counter(bud-step);
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: #0d0f0e;
	font-size: 0.8rem;
	color: #3ef06e;
}

.bud-p-tag-steps p {
	font-weight: 400;
	margin: 0.5rem 0 0.75rem;
	font-size: 0.88rem;
	color: #5b605a;
}

.bud-p-snippet {
	flex: 1;
	overflow-x: auto;
	margin: 0;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: #0d0f0e;
	font-family: ui-monospace, Consolas, monospace;
	font-size: 0.78rem;
	line-height: 1.55;
	color: #dfe4df;
	white-space: pre;
}

.bud-p-button.is-small {
	padding: 0.35rem 0.8rem;
	font-size: 0.85rem;
}

.bud-p-sitetag .bud-p-help ol {
	margin: 0.6rem 0 0.2rem;
	padding-left: 1.2rem;
	font-size: 0.92rem;
}

.bud-p-sitetag .bud-p-help li + li {
	margin-top: 0.4rem;
}

.bud-p-sitetag .bud-p-help p {
	margin: 0.6rem 0 0;
	font-size: 0.92rem;
}

.bud-p-tag-setting {
	margin: 0.75rem 0 0;
	padding-top: 0.9rem;
	border-top: 1px solid #ebe8dd;
}

.bud-p-tag-setting .bud-p-check {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.92rem;
	font-weight: 600;
}

.bud-p-tag-setting .bud-p-check input {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
	accent-color: #1f7a35;
}

.bud-p-stats .bud-p-stat-note {
	margin-top: 0.3rem;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1f7a35;
}

.bud-p-stats dd.is-small a {
	color: #14532a;
}

@media (max-width: 760px) {
	.bud-p-form.bud-p-account,
	.bud-p-tag-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.bud-p-avatar.is-big {
		width: 48px;
		height: 48px;
		font-size: 1.35rem;
	}
}

/* Testing the site tag */
.bud-p-tag-test {
	margin: 1rem 0 0;
	padding: 1rem;
	border: 1.5px solid #ebe8dd;
	border-radius: 12px;
}

.bud-p-tag-test h3 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.bud-p-tag-test > p {
	max-width: 70ch;
	margin: 0 0 0.85rem;
	font-size: 0.9rem;
	font-weight: 400;
	color: #3c403b;
}

.bud-p-tag-test-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bud-p-tag-test-form input[type="url"] {
	flex: 1 1 16rem;
	min-width: 0;
	padding: 0.6rem 0.8rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 8px;
	font: inherit;
}

.bud-p-tag-test-form input[type="url"]:focus {
	border-color: #0d0f0e;
	outline: 1px solid #0d0f0e;
}

.bud-p-tag-test-form .bud-p-button {
	margin: 0;
}

.bud-p-tag-check {
	margin: 0.85rem 0 0;
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	background: #f4f2eb;
}

.bud-p-tag-check-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.6rem;
	margin: 0 0 0.4rem;
	font-size: 0.9rem;
}

.bud-p-tag-check-head span {
	overflow-wrap: anywhere;
	font-size: 0.82rem;
}

.bud-p-tag-check ul,
.bud-p-tag-events {
	display: grid;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
}

.bud-p-tag-check li,
.bud-p-tag-events li {
	position: relative;
	padding-left: 1.6rem;
}

.bud-p-tag-check li::before,
.bud-p-tag-events li::before {
	position: absolute;
	top: 0.05rem;
	left: 0;
	display: grid;
	place-items: center;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	font-size: 0.72rem;
	font-weight: 700;
}

.bud-p-tag-check .is-good::before,
.bud-p-tag-events li::before {
	content: "\2713";
	background: #d8f3de;
	color: #14532a;
}

.bud-p-tag-check .is-bad::before {
	content: "!";
	background: #fbe0e0;
	color: #a33434;
}

.bud-p-tag-check .is-note::before {
	content: "i";
	background: #fdf0c8;
	color: #5e4700;
}

.bud-p-tag-log {
	margin: 0.85rem 0 0;
}

.bud-p-tag-log > .bud-p-muted {
	margin: 0;
	font-size: 0.88rem;
}

.bud-p-tag-events span {
	display: block;
	overflow-wrap: anywhere;
	font-size: 0.82rem;
	color: #5b605a;
}

.bud-p-tag-events .is-conversion strong {
	color: #14532a;
}

/* Choosing from media, in upload boxes */
.bud-p-form .bud-p-upload label {
	margin: 0;
	font-size: 0.92rem;
}

.bud-p-upload [data-pick] {
	justify-self: start;
}

.bud-p-button.is-quiet {
	border-color: transparent;
	background: transparent;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bud-p-button.is-quiet:hover {
	background: #efece2;
}

.bud-p-button[hidden] {
	display: none;
}

/* The media picker */
.bud-p-picker {
	width: min(860px, calc(100vw - 2rem));
	max-height: min(80vh, 720px);
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: #161916;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.bud-p-picker::backdrop {
	background: rgba(13, 15, 14, 0.6);
}

.bud-p-picker-head {
	position: sticky;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #ebe8dd;
	background: #fff;
}

.bud-p-picker-head h2 {
	margin: 0;
	font-size: 1.6rem;
}

.bud-p-picker-head h2 span {
	color: #5b605a;
}

.bud-p-picker-close {
	width: 2.2rem;
	height: 2.2rem;
	border: 0;
	border-radius: 50%;
	background: #f4f2eb;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.bud-p-picker-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
	padding: 1.25rem;
}

.bud-p-picker-item {
	display: grid;
	gap: 0.25rem;
	align-content: start;
	padding: 0.5rem;
	border: 2px solid #ebe8dd;
	border-radius: 12px;
	background: #fff;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.bud-p-picker-item[hidden] {
	display: none;
}

.bud-p-picker-item:hover,
.bud-p-picker-item:focus-visible {
	border-color: #0d0f0e;
	outline: none;
}

.bud-p-picker-item[aria-pressed="true"] {
	border-color: #1f7a35;
	box-shadow: 0 0 0 3px #d8f3de;
}

.bud-p-picker-img,
.bud-p-media-img {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	background: #0d0f0e;
}

.bud-p-picker-img img,
.bud-p-media-img img {
	position: absolute;
	inset: 0.5rem;
	width: calc(100% - 1rem);
	height: calc(100% - 1rem);
	object-fit: contain;
}

.bud-p-picker-name,
.bud-p-media-name {
	overflow: hidden;
	font-size: 0.9rem;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bud-p-picker-meta {
	font-size: 0.8rem;
	color: #5b605a;
}

.bud-p-picker-foot {
	margin: 0;
	padding: 0 1.25rem 1.25rem;
	font-size: 0.85rem;
	color: #5b605a;
}

/* The media page */
.bud-p-media-upload {
	margin: 0;
}

.bud-p-media-upload label.bud-p-button {
	margin: 0;
	cursor: pointer;
}

.bud-p-media-upload:focus-within label.bud-p-button {
	outline: 2px solid #0d0f0e;
	outline-offset: 2px;
}

.bud-p-media-lead {
	max-width: 70ch;
	margin: 0 0 1rem;
	color: #3c403b;
}

.bud-p-media-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1rem;
}

.bud-p-media-filter a {
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: #e6e3d7;
	font-size: 0.9rem;
	font-weight: 600;
	color: #161916;
	text-decoration: none;
}

.bud-p-media-filter a span {
	margin-left: 0.2rem;
	font-weight: 400;
	color: #5b605a;
}

.bud-p-media-filter a[aria-current="page"] {
	background: #0d0f0e;
	color: #fff;
}

.bud-p-media-filter a[aria-current="page"] span {
	color: #b9c0b9;
}

.bud-p-media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bud-p-media-item {
	display: grid;
	align-content: start;
	gap: 0.6rem;
	padding: 0.6rem;
	border-radius: 14px;
	background: #fff;
}

.bud-p-media-info {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
	padding: 0 0.2rem 0.2rem;
}

.bud-p-media-info p {
	margin: 0;
	font-size: 0.82rem;
}

.bud-p-media-info .bud-p-media-name {
	font-size: 0.92rem;
}

.bud-p-media-uses {
	color: #14532a;
}

.bud-p-media-uses span {
	color: #5b605a;
}

.bud-p-media-info form {
	margin: 0.2rem 0 0;
}

@media (max-width: 560px) {
	.bud-p-media-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6rem;
	}

	.bud-p-media-item {
		padding: 0.45rem;
	}

	.bud-p-picker-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0.85rem;
	}

	.bud-p-picker-head {
		padding: 0.85rem;
	}
}

/* A campaign's page: its name smaller than page headings, its state and what's next */
.bud-p-head.is-campaign {
	align-items: flex-start;
}

.bud-p-record-name {
	max-width: 32ch;
	font-size: clamp(1.9rem, 3.2vw, 2.5rem);
	line-height: 1.02;
	overflow-wrap: anywhere;
}

.bud-p-next {
	max-width: 70ch;
	margin: 0.65rem 0 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #3c403b;
}

.bud-p-head .bud-p-next .bud-p-status {
	display: inline-block;
	margin-right: 0.45rem;
	padding: 0.1rem 0.55rem;
	font-size: 0.8rem;
	vertical-align: 0.05em;
}

.bud-p-billing-note {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
}

/* Overview: campaigns pending review, ahead of the numbers */
.bud-p-in-review {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	border-left: 4px solid #e8b931;
}

.bud-p-in-review > div {
	flex: 1;
	min-width: 0;
}

.bud-p-in-review h2 {
	margin-bottom: 0.3rem;
}

.bud-p-in-review p {
	margin: 0 0 0.75rem;
	color: #3c403b;
}

.bud-p-in-review-icon,
.bud-p-tile-icon,
.bud-p-compose-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: #f4f2eb;
	color: #0d0f0e;
}

.bud-p-in-review-icon {
	background: #fdf0c8;
	color: #5e4700;
}

.bud-p-quiet-note {
	margin: 0;
	padding: 1rem;
	border-radius: 10px;
	background: #f4f2eb;
}

/* Tiles with an icon */
.bud-p-tile.has-icon {
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 0.85rem;
	align-items: center;
}

.bud-p-tile.has-icon .bud-p-tile-icon {
	grid-row: span 2;
	background: #d8f3de;
	color: #14532a;
}

.bud-p-tile.has-icon strong {
	align-self: end;
}

.bud-p-tile.has-icon > span:last-child {
	align-self: start;
}

/* Messages: write first, then past conversations */
.bud-p-compose {
	display: grid;
	gap: 0.75rem;
}

.bud-p-compose-head {
	display: flex;
	gap: 0.85rem;
	align-items: center;
}

.bud-p-compose-icon {
	background: #d8f3de;
	color: #14532a;
}

.bud-p-compose-head h2 {
	margin: 0 0 0.15rem;
}

.bud-p-compose-head p {
	margin: 0;
	font-size: 0.92rem;
	color: #5b605a;
}

.bud-p-compose textarea {
	display: block;
	width: 100%;
	min-height: 7rem;
	padding: 0.8rem 0.9rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 10px;
	font: inherit;
	resize: vertical;
}

.bud-p-compose textarea:focus,
.bud-p-compose select:focus {
	border-color: #0d0f0e;
	outline: 1px solid #0d0f0e;
}

.bud-p-compose-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 1rem;
}

.bud-p-compose-foot label {
	display: flex;
	flex: 1 1 16rem;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	font-size: 0.92rem;
	font-weight: 600;
}

.bud-p-compose-foot select {
	flex: 1;
	min-width: 0;
	max-width: 22rem;
	padding: 0.5rem 0.7rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-weight: 400;
}

.bud-p-compose-foot .bud-p-button {
	margin: 0 0 0 auto;
}

.bud-p-section-title {
	margin: 1.75rem 0 0.75rem;
	font-size: 1.6rem;
}

.bud-p-compose-empty {
	margin: 1rem 0 0;
}

/* Reviewer portal: simple WYSIWYG write-up editor */
.bud-p-wysiwyg {
	display: grid;
	gap: 0;
}

.bud-p-wysiwyg-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.6rem;
	border: 1.5px solid #d9d6c8;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	background: #f4f2eb;
}

.bud-p-wysiwyg-bar[hidden],
.bud-p-wysiwyg-linkbar[hidden],
.bud-p-wysiwyg-editor[hidden],
.bud-p-wysiwyg-btn[hidden] {
	display: none;
}

.bud-p-wysiwyg-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
}

.bud-p-wysiwyg-sep {
	width: 1px;
	height: 1.25rem;
	margin: 0 0.2rem;
	background: #d9d6c8;
}

.bud-p-wysiwyg-btn {
	padding: 0.3rem 0.65rem;
	border: 1px solid transparent;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.25;
	color: #161916;
	cursor: pointer;
}

.bud-p-wysiwyg-btn.is-bold {
	font-weight: 700;
}

.bud-p-wysiwyg-btn.is-italic {
	font-style: italic;
	font-family: Georgia, serif;
}

.bud-p-wysiwyg-btn:hover {
	border-color: #c9c5b6;
	background: #faf9f5;
}

.bud-p-wysiwyg-btn[aria-pressed="true"] {
	border-color: #0d0f0e;
	background: #0d0f0e;
	color: #fff;
}

.bud-p-wysiwyg-linkbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.6rem;
	border-inline: 1.5px solid #d9d6c8;
	border-top: 1px solid #ebe8dd;
	background: #faf9f5;
}

.bud-p-wysiwyg-linkbar input {
	flex: 1 1 14rem;
	min-width: 0;
	padding: 0.4rem 0.65rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	font-size: 0.9rem;
}

.bud-p-wysiwyg-editor {
	min-height: 22rem;
	max-height: 40rem;
	overflow-y: auto;
	padding: 0.9rem 1rem;
	border: 1.5px solid #d9d6c8;
	border-radius: 0 0 8px 8px;
	background: #fff;
	font-size: 1rem;
	line-height: 1.65;
	color: #161916;
	outline: none;
}

.bud-p-wysiwyg-editor:focus {
	border-color: #0d0f0e;
	box-shadow: inset 0 0 0 1px #0d0f0e;
}

.bud-p-wysiwyg-editor p {
	margin: 0 0 0.9rem;
}

.bud-p-wysiwyg-editor h2 {
	margin: 1.4rem 0 0.5rem;
	font-family: "League Gothic", "Arial Narrow", Impact, sans-serif;
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.bud-p-wysiwyg-editor h3 {
	margin: 1.15rem 0 0.4rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
}

.bud-p-wysiwyg-editor a {
	color: #1f5f2a;
	text-decoration: underline;
}

.bud-p-wysiwyg-fallback {
	margin: 0;
}

.bud-p-wysiwyg-fallback textarea[hidden] {
	display: none;
}

/* Rejection Warnings & Badges */
.bud-p-campaign-warning-banner {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
	background: #fff8e6;
	border: 1px solid #e8b931;
	border-left: 5px solid #d97706;
	border-radius: 8px;
}

.bud-p-warn-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #d97706;
	color: #fff;
	font-weight: 700;
	font-size: 1.1rem;
}

.bud-p-campaign-warning-banner strong {
	display: block;
	font-size: 1.05rem;
	color: #92400e;
	margin-bottom: 0.35rem;
}

.bud-p-warn-reason {
	margin: 0 0 0.4rem;
	font-size: 0.95rem;
	color: #78350f;
}

.bud-p-warn-note {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	color: #161916;
}

.bud-p-resubmit-tip {
	margin: 0;
	font-size: 0.85rem;
	color: #92400e;
}

.bud-p-creative-warning {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.75rem 1rem;
	margin-top: 0.75rem;
	background: #fff8e6;
	border: 1px solid #f59e0b;
	border-radius: 6px;
	font-size: 0.85rem;
	color: #92400e;
}

.bud-p-creative-warning .bud-p-badge {
	align-self: flex-start;
}

/* Campaign Settings Card */
.bud-p-settings-card {
	background: #fff;
	border: 1px solid #e3e0d3;
	border-radius: 10px;
	padding: 1.5rem 1.75rem;
	margin-top: 1.5rem;
}

.bud-p-settings-card h3 {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	font-weight: 700;
}

/* Floating Save Action Bar */
.bud-p-floating-save {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background: rgba(13, 15, 14, 0.95);
	backdrop-filter: blur(8px);
	border-top: 1px solid #2b302a;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
	padding: 0.85rem 1.5rem;
}

.bud-p-floating-save-inner {
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.bud-p-floating-save p {
	margin: 0;
	font-size: 0.9rem;
	color: #c8cdc6;
}

.bud-p-floating-save .bud-p-btn {
	background: #3ef06e;
	color: #0d0f0e;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 0.65rem 1.5rem;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(62, 240, 110, 0.3);
}

.bud-p-floating-save .bud-p-btn:hover {
	background: #35cc5e;
}

/* Full-Width Performance Container */
.bud-p-card-performance {
	background: #fff;
	border: 1px solid #e3e0d3;
	border-radius: 10px;
	padding: 1.5rem 1.75rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.bud-p-card-performance .bud-p-card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.bud-p-export-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1f5f2a;
	background: #eef8f1;
	border: 1px solid #c7e8cf;
	padding: 0.4rem 0.85rem;
	border-radius: 6px;
	text-decoration: none;
}

.bud-p-export-btn:hover {
	background: #d8f3de;
	color: #14532a;
}

.bud-p-splits-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #ebe8dd;
}

/* Messaging Center & History Timeline */
.bud-p-messaging-center {
	background: #fff;
	border: 1px solid #e3e0d3;
	border-radius: 10px;
	overflow: hidden;
	margin-top: 2rem;
	margin-bottom: 4.5rem; /* clearance for floating save bar */
}

.bud-p-tab-bar {
	display: flex;
	align-items: center;
	gap: 0;
	background: #0d0f0e;
	border-bottom: 2px solid #3ef06e;
	padding: 0 1rem;
}

.bud-p-tab-nav {
	background: transparent;
	border: none;
	color: #c8cdc6;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	padding: 1rem 1.5rem;
	cursor: pointer;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	transition: color 0.15s, border-color 0.15s;
}

.bud-p-tab-nav:hover {
	color: #fff;
}

.bud-p-tab-nav.is-active {
	color: #3ef06e;
	border-bottom-color: #3ef06e;
}

.bud-p-tab-pane {
	padding: 1.75rem;
}

.bud-p-tab-pane.is-hidden {
	display: none;
}

/* Timeline */
.bud-p-timeline {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0 0 1rem;
	position: relative;
}

.bud-p-timeline::before {
	content: "";
	position: absolute;
	top: 1rem;
	bottom: 1rem;
	left: 1.35rem;
	width: 2px;
	background: #e3e0d3;
}

.bud-p-timeline-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	margin-bottom: 1.75rem;
}

.bud-p-timeline-item:last-child {
	margin-bottom: 0;
}

.bud-p-timeline-dot {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid #1f5f2a;
	margin-top: 0.35rem;
	z-index: 1;
}

.bud-p-timeline-item.is-created .bud-p-timeline-dot {
	border-color: #5b605a;
}

.bud-p-timeline-item.is-approved .bud-p-timeline-dot,
.bud-p-timeline-item.is-active .bud-p-timeline-dot {
	border-color: #3ef06e;
	background: #0d0f0e;
}

.bud-p-timeline-item.is-rejected .bud-p-timeline-dot {
	border-color: #d97706;
}

.bud-p-timeline-item.is-invoice .bud-p-timeline-dot {
	border-color: #2563eb;
}

.bud-p-timeline-content {
	flex: 1;
	background: #fbfaf6;
	border: 1px solid #ebe8dd;
	border-radius: 8px;
	padding: 0.85rem 1.15rem;
}

.bud-p-timeline-time {
	font-size: 0.8rem;
	font-weight: 700;
	color: #5b605a;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.25rem;
}

.bud-p-timeline-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #161916;
	margin-bottom: 0.25rem;
}

.bud-p-timeline-meta {
	font-size: 0.85rem;
	color: #5b605a;
}

/* Invoices List in Billing aside */
.bud-p-invoices-list {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.bud-p-invoices-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.85rem;
	padding: 0.5rem 0.65rem;
	background: #fbfaf6;
	border: 1px solid #ebe8dd;
	border-radius: 6px;
}

.bud-p-invoices-list a {
	font-weight: 600;
	text-decoration: underline;
}

/* Dedicated Invoice Sheet View */
.bud-p-invoice-wrap {
	max-width: 800px;
	margin: 2rem auto 4rem;
}

.bud-p-invoice-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.bud-p-invoice-sheet {
	background: #fff;
	border: 1px solid #e3e0d3;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
	padding: 3rem;
}

.bud-p-invoice-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
	padding-bottom: 2rem;
	border-bottom: 2px solid #0d0f0e;
}

.bud-p-invoice-brand h2 {
	margin: 0 0 0.25rem;
	font-family: "League Gothic", "Arial Narrow", Impact, sans-serif;
	font-size: 2.2rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #0d0f0e;
}

.bud-p-invoice-meta {
	text-align: right;
}

.bud-p-invoice-meta h3 {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	color: #161916;
}

.bud-p-invoice-parties {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin: 2rem 0;
	padding-bottom: 2rem;
	border-bottom: 1px solid #ebe8dd;
}

.bud-p-invoice-table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
}

.bud-p-invoice-table th,
.bud-p-invoice-table td {
	padding: 0.85rem 1rem;
	text-align: left;
	border-bottom: 1px solid #ebe8dd;
}

.bud-p-invoice-table .is-num {
	text-align: right;
}

.bud-p-invoice-table tfoot th,
.bud-p-invoice-table tfoot td {
	border-bottom: none;
	padding: 0.5rem 1rem;
}

.bud-p-invoice-table .bud-p-inv-total-row th,
.bud-p-invoice-table .bud-p-inv-total-row td {
	padding-top: 1rem;
	font-size: 1.25rem;
	border-top: 2px solid #0d0f0e;
}

.bud-p-inv-paid-note {
	color: #15803d;
	background: #dcfce7;
	padding: 0.6rem 0.85rem;
	border-radius: 6px;
}

@media print {
	.bud-p-top,
	.bud-p-invoice-actions,
	.bud-p-floating-save {
		display: none !important;
	}

	.bud-p-invoice-sheet {
		border: none;
		box-shadow: none;
		padding: 0;
	}
}

@media (max-width: 768px) {
	.bud-p-splits-row {
		grid-template-columns: 1fr;
	}

	.bud-p-invoice-sheet {
		padding: 1.5rem;
	}

	.bud-p-invoice-parties {
		grid-template-columns: 1fr;
	}
}

/* Ready to Start Banner */
.bud-p-campaign-ready-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem 1.75rem;
	margin-bottom: 2rem;
	background: #ecfdf5;
	border: 1px solid #10b981;
	border-left: 6px solid #059669;
	border-radius: 10px;
}

.bud-p-ready-content h3 {
	margin: 0 0 0.35rem;
	font-size: 1.25rem;
	color: #065f46;
	font-weight: 700;
}

.bud-p-ready-content p {
	margin: 0;
	font-size: 0.95rem;
	color: #047857;
}

.bud-p-btn-start {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.bud-p-campaign-ready-banner {
		flex-direction: column;
		align-items: stretch;
	}
}

/* The sizes added in 3.9.12: each size's icon keeps its shape. */
.bud-p-sizes i.is-small,
.bud-p-upload i.is-small {
	width: 48px;
	height: 32px;
}

.bud-p-sizes i.is-halfpage,
.bud-p-upload i.is-halfpage {
	width: 30px;
	height: 60px;
}

.bud-p-sizes i.is-skyscraper,
.bud-p-upload i.is-skyscraper {
	width: 20px;
	height: 75px;
}

.bud-p-sizes i.is-square,
.bud-p-upload i.is-square {
	width: 44px;
	height: 44px;
}

.bud-p-sizes i.is-billboard,
.bud-p-upload i.is-billboard {
	width: 116px;
	height: 30px;
}

.bud-p-thumb.is-small {
	width: 42px;
	height: 28px;
}

.bud-p-thumb.is-halfpage {
	width: 18px;
	height: 36px;
}

.bud-p-thumb.is-skyscraper {
	width: 12px;
	height: 45px;
}

.bud-p-thumb.is-square {
	width: 34px;
	height: 34px;
}

.bud-p-thumb.is-billboard {
	width: 84px;
	height: 22px;
}

.bud-p-preview img.is-small,
.bud-p-preview img.is-halfpage,
.bud-p-preview img.is-square {
	width: 300px;
}

.bud-p-preview img.is-skyscraper {
	width: 160px;
}
/* 3.9.13: campaigns table ---------------------------------------------------------- */

/* Renewal and paid-to dates sit under the price, smaller. */
.bud-p-table .bud-p-when {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.75rem;
	color: #7a7f78;
	white-space: nowrap;
}

/* A campaign's artwork in the table: one square tile, with how many sizes it has. */
.bud-p-art {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #efece2;
}

.bud-p-art img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	object-fit: cover;
}

.bud-p-art.is-waiting img {
	opacity: 0.45;
}

.bud-p-art.is-empty {
	border: 1.5px dashed #c9c5b6;
	background: none;
}

.bud-p-art b {
	position: absolute;
	right: -6px;
	bottom: -6px;
	min-width: 1.2rem;
	padding: 0 0.25rem;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #0d0f0e;
	font-size: 0.68rem;
	line-height: 1.05rem;
	text-align: center;
	color: #fff;
}

.bud-p-row-actions .is-danger {
	color: #a33434;
}

/* 3.9.13: one campaign ------------------------------------------------------------- */

/* The section bar stays at the top while scrolling. */
.bud-p-section-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	gap: 0.25rem;
	overflow-x: auto;
	margin: 0 0 0.9rem;
	padding: 0.4rem;
	border-radius: 999px;
	background: rgba(13, 15, 14, 0.94);
	backdrop-filter: blur(8px);
	box-shadow: 0 6px 18px rgba(13, 15, 14, 0.12);
	scrollbar-width: none;
}

.bud-p-section-nav::-webkit-scrollbar {
	display: none;
}

.bud-p-section-nav a {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.95rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #c8cdc6;
	text-decoration: none;
}

.bud-p-section-nav a:hover {
	color: #fff;
}

.bud-p-section-nav a[aria-current] {
	background: #3ef06e;
	color: #0d0f0e;
}

.bud-p-nav-badge {
	display: inline-grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #3ef06e;
	color: #0d0f0e;
}

.bud-p-section-nav a[aria-current] .bud-p-nav-badge {
	background: #0d0f0e;
	color: #3ef06e;
}

.bud-p-nav-badge svg {
	width: 0.85rem;
	height: 0.85rem;
}

/* Sections land below the bar, not under it. */
.bud-p-ad-layout ~ section[id],
#creatives,
#settings {
	scroll-margin-top: 4.5rem;
}

/* Artwork: every size in use gets a card; the rest fold away. */
.bud-p-creatives {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.bud-p-more-sizes {
	margin-top: 0.9rem;
	border-top: 1px solid #ebe8dd;
	padding-top: 0.9rem;
}

.bud-p-more-sizes > summary {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0.9rem;
	border: 1.5px dashed #b9b5a5;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.bud-p-more-sizes > summary::-webkit-details-marker {
	display: none;
}

.bud-p-more-sizes > summary::before {
	content: "+";
	font-size: 1.1rem;
	line-height: 1;
}

.bud-p-more-sizes[open] > summary::before {
	content: "−";
}

.bud-p-more-sizes > p {
	margin: 0.7rem 0;
}

.bud-p-creatives.is-more .bud-p-creative {
	padding: 0.75rem;
	background: #faf9f5;
	border: 1px dashed #d8d4c5;
}

.bud-p-creatives.is-more .bud-p-creative h3 {
	font-size: 0.88rem;
}

/* Settings in the sidebar: a summary, edited in place. */
.bud-p-settings-card .bud-p-facts {
	padding: 0;
}

.bud-p-settings-card .bud-p-facts dd {
	overflow-wrap: anywhere;
}

.bud-p-settings-edit > summary {
	display: inline-flex;
	list-style: none;
	cursor: pointer;
}

.bud-p-settings-edit > summary::-webkit-details-marker {
	display: none;
}

.bud-p-settings-edit[open] > summary {
	margin-bottom: 0.9rem;
}

/* The sidebar is narrow: fields one under another. */
.bud-p-settings-edit .bud-p-row,
.bud-p-settings-edit .bud-p-choices {
	grid-template-columns: minmax(0, 1fr);
}

.bud-p-settings-edit .bud-p-form input,
.bud-p-settings-edit .bud-p-form select,
.bud-p-settings-edit .bud-p-form textarea {
	max-width: 100%;
}

/* Tabs (bud_partner_tabs()): a segmented control over its panels. */
.bud-p-tabs-list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin: 0 0 0.9rem;
	padding: 0.25rem;
	border-radius: 999px;
	background: #efece2;
}

.bud-p-tabs-list[hidden] {
	display: none;
}

.bud-p-tabs-list [role="tab"] {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.95rem;
	border: 0;
	border-radius: 999px;
	background: none;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: #5b605a;
	cursor: pointer;
}

.bud-p-tabs-list [role="tab"]:hover {
	color: #161916;
}

.bud-p-tabs-list [role="tab"][aria-selected="true"] {
	background: #0d0f0e;
	color: #fff;
}

.bud-p-tabs-list [role="tab"] span {
	font-size: 0.75rem;
	opacity: 0.7;
}

.bud-p-tab-panel + .bud-p-tab-panel {
	margin-top: 1rem;
}

.bud-p-splits {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #ebe8dd;
}

/* History as a table. */
.bud-p-history td:first-child {
	width: 9rem;
	white-space: nowrap;
	vertical-align: top;
}

.bud-p-history td strong,
.bud-p-history td small {
	display: block;
}

.bud-p-history td small {
	margin-top: 0.15rem;
	font-size: 0.8rem;
	color: #5b605a;
}

.bud-p-history-card {
	margin-bottom: 4.5rem;
}

.bud-p-button.is-danger {
	background: #a33434;
	border-color: #a33434;
	color: #fff;
}
/* The page column counts its padding in its width, so it never runs past the window.
   Every portal (partners, testers, reviewers) gets 1120px of content: 960 felt cramped. */
.bud-p-wrap,
.is-partner .bud-p-wrap {
	box-sizing: border-box;
	max-width: calc(1120px + 2 * clamp(1rem, 3vw, 2rem));
}
/* A long account name shortens rather than pushing the bar past the window. */
.bud-p-menu-name {
	max-width: 9rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.bud-p-menu-name {
		max-width: 6.5rem;
	}
}
/* In the sidebar the settings card matches the Billing card above it. */
.bud-p-layout-aside .bud-p-settings-card {
	margin-top: 0;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border: 0;
	border-radius: 14px;
}
/* Mailing address and T-shirt size (inc/shipping-details.php), on the tester and reviewer
   Account pages: one field a row, except State and ZIP side by side. */
.bud-ship-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1rem;
}

.bud-ship-grid > label {
	grid-column: 1 / -1;
	margin: 0;
}

.bud-ship-grid > .is-state,
.bud-ship-grid > .is-zip {
	grid-column: auto;
}

.bud-ship-optional {
	font-style: normal;
	font-weight: 400;
	color: #7a7f78;
}

/* 3.9.16: artwork for many sizes at once -------------------------------------------- */
.bud-p-bulk {
	display: grid;
	gap: 0.6rem;
	margin: 0.5rem 0 0.75rem;
}

.bud-p-bulk .bud-p-drop {
	display: grid;
	justify-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 1.4rem 1rem;
	border: 1.5px dashed #c9c5b6;
	border-radius: 12px;
	background: #faf9f5;
	color: #3c403b;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}

.bud-p-bulk .bud-p-drop:hover,
.bud-p-bulk.is-over .bud-p-drop {
	border-color: #0d0f0e;
	background: #f3f1e8;
}

.bud-p-bulk.is-focus .bud-p-drop {
	outline: 2px solid #0d0f0e;
	outline-offset: 2px;
}

.bud-p-bulk .bud-p-drop strong {
	font-size: 1rem;
	color: #161916;
}

.bud-p-form .bud-p-bulk .bud-p-drop span,
.bud-p-bulk .bud-p-drop span {
	display: block;
	margin: 0;
	font-size: 0.85rem;
	font-weight: 400;
}

.bud-p-bulk .bud-p-drop u {
	font-weight: 600;
	color: #161916;
}

.bud-p-bulk .bud-p-drop .bud-p-drop-icon {
	position: relative;
	width: 34px;
	height: 26px;
	margin-bottom: 0.2rem;
	border: 1.5px solid #5b605a;
	border-radius: 4px;
	background: #efece2;
}

.bud-p-bulk .bud-p-drop .bud-p-drop-icon::after {
	content: "";
	position: absolute;
	right: -9px;
	bottom: -9px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #0d0f0e linear-gradient(#fff, #fff) center / 8px 2px no-repeat;
}

.bud-p-bulk .bud-p-drop .bud-p-drop-icon::before {
	content: "";
	position: absolute;
	z-index: 1;
	right: -1px;
	bottom: -4px;
	width: 2px;
	height: 8px;
	background: #fff;
}

.bud-p-bulk > [data-pick] {
	justify-self: start;
}

.bud-p-bulk-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #e3e0d5;
	border-radius: 10px;
	list-style: none;
	background: #fff;
}

.bud-p-bulk-row {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: center;
	padding: 0.65rem 0.85rem;
	border-top: 1px solid #ece9df;
}

.bud-p-bulk-row:first-child {
	border-top: 0;
}

.bud-p-bulk-thumb {
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 3.25rem;
	overflow: hidden;
	border-radius: 6px;
	background: #f3f1e8;
}

.bud-p-bulk-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.bud-p-bulk-thumb.is-none {
	background: #f7e9e9;
}

.bud-p-bulk-what {
	display: grid;
	gap: 0.1rem;
	min-width: 0;
	font-size: 0.85rem;
}

.bud-p-bulk-what strong {
	font-size: 0.95rem;
	color: #161916;
}

.bud-p-bulk-row.is-wrong .bud-p-bulk-what strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bud-p-bulk-dims {
	color: #3c403b;
}

.bud-p-bulk-file {
	overflow: hidden;
	color: #7a7f78;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bud-p-bulk-note {
	color: #5b605a;
	font-size: 0.8rem;
}

.bud-p-bulk-row.is-ok .bud-p-bulk-dims::before {
	content: "\2713\00a0";
	font-weight: 700;
	color: #1f7a35;
}

.bud-p-bulk-row.is-wrong .bud-p-bulk-note {
	color: #a33434;
}

.bud-p-bulk-sizes ul {
	display: grid;
	gap: 0.4rem;
	margin: 0.5rem 0;
	padding: 0;
	list-style: none;
}

.bud-p-bulk-sizes li {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 0.6rem;
	align-items: center;
	font-size: 0.85rem;
}

.bud-p-bulk-sizes i {
	display: block;
	justify-self: center;
	border: 1.5px solid #5b605a;
	border-radius: 2px;
	background: #efece2;
}

.bud-p-bulk-sizes i.is-rectangle { width: 24px; height: 20px; }
.bud-p-bulk-sizes i.is-banner { width: 58px; height: 8px; }
.bud-p-bulk-sizes i.is-small { width: 24px; height: 16px; }
.bud-p-bulk-sizes i.is-halfpage { width: 15px; height: 30px; }
.bud-p-bulk-sizes i.is-skyscraper { width: 10px; height: 36px; }
.bud-p-bulk-sizes i.is-square { width: 22px; height: 22px; }
.bud-p-bulk-sizes i.is-billboard { width: 58px; height: 15px; }

.bud-p-bulk-form {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #ece9df;
}

.bud-p-bulk-form [data-bulk-send] {
	margin-top: 0.25rem;
}

@media (max-width: 520px) {
	.bud-p-bulk-row {
		grid-template-columns: 3.5rem minmax(0, 1fr);
	}

	.bud-p-bulk-thumb {
		width: 3.5rem;
		height: 2.75rem;
	}

	.bud-p-bulk-row > .bud-p-link {
		grid-column: 2;
		justify-self: start;
	}
}


/* 3.9.16: the preview shows every size at its real shape ----------------------------- */
.bud-p-live-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin: 0 0 0.6rem;
}

.bud-p-live-sizes button {
	padding: 0.25rem 0.6rem;
	border: 1px solid #dcd8cb;
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 0.78rem;
	color: #5b605a;
	cursor: pointer;
}

.bud-p-live-sizes button.has-art::before {
	content: "";
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	margin-right: 0.35rem;
	border-radius: 50%;
	background: #1f7a35;
	vertical-align: 0.05em;
}

.bud-p-live-sizes button[aria-pressed="true"] {
	border-color: #0d0f0e;
	background: #0d0f0e;
	color: #fff;
}

.bud-p-live-sizes button[aria-pressed="true"].has-art::before {
	background: #3ef06e;
}

.bud-p-live-slot[hidden] {
	display: none;
}

.bud-p-live .bud-p-live-slot .bud-p-live-ad {
	justify-self: center;
	width: var(--ad-w, 100%);
	aspect-ratio: var(--ad-r, 300 / 250);
}

.bud-p-live .bud-p-live-slot .bud-p-live-ad img {
	object-fit: contain;
}

.bud-p-live .bud-p-live-slot .bud-p-live-empty {
	white-space: normal;
}

/* Sortable tables: the heading is a button. */
.bud-p-table th[data-sort] {
	padding: 0;
}

.bud-p-sort {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 0;
	background: none;
	font: inherit;
	letter-spacing: inherit;
	text-align: inherit;
	text-transform: inherit;
	color: inherit;
	cursor: pointer;
}

.is-num > .bud-p-sort {
	justify-content: flex-end;
}

.bud-p-sort:hover,
th[aria-sort] > .bud-p-sort {
	color: #161916;
}

.bud-p-sort i {
	width: 0;
	height: 0;
	border-inline: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: 0.25;
}

th[aria-sort] > .bud-p-sort i {
	opacity: 1;
}

th[aria-sort="ascending"] > .bud-p-sort i {
	border-top: 0;
	border-bottom: 5px solid currentColor;
}


/* 3.9.16: Help, and a link's approval -------------------------------------------------- */
.bud-p-faq {
	display: grid;
	gap: 1rem;
	max-width: 52rem;
}

.bud-p-faq .bud-p-card h2 {
	margin: 0 0 0.5rem;
}

.bud-p-faq-item {
	border-top: 1px solid #ece9df;
}

.bud-p-faq-item:first-of-type {
	border-top: 0;
}

.bud-p-faq-item summary {
	position: relative;
	padding: 0.85rem 2rem 0.85rem 0;
	font-weight: 600;
	color: #161916;
	list-style: none;
	cursor: pointer;
}

.bud-p-faq-item summary::-webkit-details-marker {
	display: none;
}

.bud-p-faq-item summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 0.25rem;
	font-size: 1.3rem;
	font-weight: 400;
	line-height: 1;
	color: #5b605a;
	transform: translateY(-50%);
}

.bud-p-faq-item[open] summary::after {
	content: "\2212";
}

.bud-p-faq-item > div {
	padding: 0 0 1rem;
	color: #3c403b;
	line-height: 1.6;
}

.bud-p-faq-item > div p {
	margin: 0 0 0.6rem;
}

.bud-p-faq-item > div ul {
	margin: 0 0 0.6rem;
	padding-left: 1.2rem;
}

.bud-p-faq-item > div li {
	margin-bottom: 0.35rem;
}

.bud-p-link-state {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	background: #fdf3d8;
	color: #7a5a00;
}

.bud-p-link-state.is-declined {
	background: #f7e3e3;
	color: #a33434;
}


/* Tester account: the short cards stacked on the left, the address beside them. */
@media (min-width: 761px) {
	.bud-p-account.is-tester .bud-ship {
		grid-column: 2;
		grid-row: 1 / span 3;
	}
}


/* Reviewer forms use the whole column: the review form's fields sit two across. */
.is-reviewer .bud-p-form.is-wide {
	max-width: none;
}


/* Drafts: saved by the partner, not sent ---------------------------------------------- */
.bud-p-campaign-ready-banner.is-draft {
	background: #fbfaf6;
	border-color: #d8d4c5;
	border-left-color: #5b605a;
}

.bud-p-campaign-ready-banner.is-draft h3 {
	color: #161916;
}

.bud-p-campaign-ready-banner.is-draft p {
	color: #3c403b;
}

.bud-p-ready-content .bud-p-draft-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.65rem;
}

.bud-p-draft-checks span {
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	background: #f1e5c4;
	font-size: 0.8rem;
	font-weight: 600;
	color: #6b4e00;
}

.bud-p-draft-checks span.is-done {
	background: #d8f3de;
	color: #14532a;
}

.bud-p-draft-checks span.is-done::before {
	content: "\2713\00a0";
}

.bud-p-form-actions.is-split {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 0.75rem;
}

.bud-p-form-actions.is-split small {
	flex-basis: 100%;
	margin: 0;
}

.bud-p-status.is-cmp-unsent,
.bud-p-status.is-cr-draft {
	background: #ece9df;
	color: #3c403b;
}


/* Good news, reviews in progress, and the history with icons ------------------------------ */
.bud-p-good-news {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
	border-left: 4px solid #1f9d4c;
	background: #f1fbf3;
}

.bud-p-good-news > div {
	flex: 1;
	min-width: 0;
}

.bud-p-good-news h2 {
	margin-bottom: 0.4rem;
	color: #14532a;
}

.bud-p-good-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: #d8f3de;
	color: #14532a;
}

.bud-p-review-list {
	display: grid;
	gap: 0.5rem;
}

.bud-p-review-item {
	border: 1px solid #e6e2d6;
	border-radius: 10px;
	background: #fff;
}

.bud-p-review-item summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 0.25rem 1rem;
	align-items: center;
	padding: 0.7rem 2.4rem 0.7rem 0.9rem;
	position: relative;
	list-style: none;
	cursor: pointer;
}

.bud-p-review-item summary::-webkit-details-marker {
	display: none;
}

.bud-p-review-item summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.95rem;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid #5b605a;
	border-bottom: 2px solid #5b605a;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.15s;
}

.bud-p-review-item[open] summary::after {
	transform: translateY(-30%) rotate(225deg);
}

.bud-p-review-item summary strong {
	overflow: hidden;
	color: #161916;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bud-p-review-item summary span {
	font-size: 0.85rem;
	color: #5b605a;
	white-space: nowrap;
}

.bud-p-review-item .bud-p-review-eta {
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	background: #dcebfb;
	color: #123f6d;
	font-weight: 600;
}

.bud-p-review-item ul {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0.2rem 0.9rem 0.6rem;
	list-style: none;
}

.bud-p-review-item li {
	display: flex;
	gap: 0.7rem;
	align-items: center;
	min-width: 0;
	font-size: 0.88rem;
}

.bud-p-review-item li img {
	flex: none;
	width: 4rem;
	height: 2.6rem;
	border-radius: 4px;
	background: #f3f1e8;
	object-fit: contain;
}

.bud-p-review-item li span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bud-p-review-item > a {
	display: inline-block;
	margin: 0 0.9rem 0.8rem;
	font-size: 0.88rem;
	font-weight: 600;
}

@media (max-width: 640px) {
	.bud-p-review-item summary {
		grid-template-columns: minmax(0, 1fr);
	}
}

ol.bud-p-history {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

ol.bud-p-history li {
	display: grid;
	grid-template-columns: 2.1rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	padding: 0.7rem 0;
	border-top: 1px solid #ece9df;
}

ol.bud-p-history li:first-child {
	border-top: 0;
}

ol.bud-p-history p {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.6rem;
	align-items: baseline;
	margin: 0;
}

ol.bud-p-history time {
	font-size: 0.8rem;
	color: #7a7f78;
}

ol.bud-p-history small {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.85rem;
	color: #3c403b;
}

.bud-p-history-icon {
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: #f1efe7;
	color: #3c403b;
}

.bud-p-history-icon svg {
	width: 18px;
	height: 18px;
}

ol.bud-p-history .is-approved .bud-p-history-icon,
ol.bud-p-history .is-live .bud-p-history-icon {
	background: #d8f3de;
	color: #14532a;
}

ol.bud-p-history .is-not_approved .bud-p-history-icon {
	background: #fbe3e3;
	color: #a33434;
}

ol.bud-p-history .is-submitted .bud-p-history-icon {
	background: #dcebfb;
	color: #123f6d;
}

ol.bud-p-history .is-due .bud-p-history-icon {
	background: #fdf0c8;
	color: #6b4e00;
}

ol.bud-p-history .is-renew .bud-p-history-icon {
	background: #ece4fb;
	color: #43246f;
}

.bud-p-renew-icon {
	display: inline-grid;
	vertical-align: -0.3em;
	margin-right: 0.15rem;
	color: #43246f;
}

.bud-p-renew-icon svg {
	width: 18px;
	height: 18px;
}
