/* Pokémon Portfolio Tracker — scoped frontend application. */
body.ppt-portfolio-page .ppt-page-shell {
	min-height: 100vh;
	padding-block: calc(var(--uth-header-h, 72px) + clamp(12px, 2vw, 24px)) 24px;
	background: var(--uth-ink, #0a0c12);
}

.ppt-root {
	--ppt-bg: var(--uth-ink, #0a0c12);
	--ppt-bg-deep: #07090e;
	--ppt-surface: var(--uth-graphite, #10131c);
	--ppt-panel: var(--uth-panel, #161a26);
	--ppt-raised: var(--uth-panel-2, #1c2130);
	--ppt-line: var(--uth-line-dark, rgba(255, 255, 255, .08));
	--ppt-line-strong: rgba(255, 255, 255, .17);
	--ppt-text: var(--uth-text-light, #eceef5);
	--ppt-muted: var(--uth-text-dim, #9aa3b8);
	--ppt-accent: var(--uth-gold, #ffc93d);
	--ppt-accent-2: var(--uth-ember, #ff7a1a);
	--ppt-positive: #27d39b;
	--ppt-positive-soft: rgba(39, 211, 155, .12);
	--ppt-negative: #ff6675;
	--ppt-negative-soft: rgba(255, 102, 117, .12);
	--ppt-warning: #f5b94c;
	--ppt-radius-lg: var(--uth-r-lg, 18px);
	--ppt-radius: var(--uth-r-md, 12px);
	--ppt-radius-sm: var(--uth-r-sm, 8px);
	--ppt-shadow: var(--uth-e3-dark, 0 30px 75px -24px rgba(0, 0, 0, .8));
	position: relative;
	width: min(1500px, calc(100vw - 24px));
	max-width: none;
	margin: 0 auto;
	overflow: clip;
	color: var(--ppt-text);
	color-scheme: dark;
	font-family: var(--uth-font-body, Inter, "Segoe UI", sans-serif);
	font-size: 15px;
	line-height: 1.5;
}

.ppt-root,
.ppt-root *,
.ppt-root *::before,
.ppt-root *::after {
	box-sizing: border-box;
}

.ppt-root [hidden] {
	display: none !important;
}

.ppt-root h1,
.ppt-root h2,
.ppt-root h3,
.ppt-root p,
.ppt-root ol,
.ppt-root ul,
.ppt-root figure {
	margin-top: 0;
}

.ppt-root h1,
.ppt-root h2,
.ppt-root h3,
.ppt-root button {
	font-family: var(--uth-font-display, "Space Grotesk", "Segoe UI", sans-serif);
}

.ppt-root button,
.ppt-root input,
.ppt-root select,
.ppt-root textarea {
	font: inherit;
}

.ppt-root button,
.ppt-root a,
.ppt-root input,
.ppt-root select,
.ppt-root textarea,
.ppt-root summary {
	-webkit-tap-highlight-color: transparent;
}

.ppt-root button:focus-visible,
.ppt-root a:focus-visible,
.ppt-root input:focus-visible,
.ppt-root select:focus-visible,
.ppt-root textarea:focus-visible,
.ppt-root summary:focus-visible,
.ppt-root [tabindex]:focus-visible {
	outline: 2px solid var(--ppt-accent);
	outline-offset: 3px;
}

.ppt-root svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ppt-shell {
	min-height: 720px;
	padding: clamp(14px, 2.5vw, 32px);
	border: 1px solid var(--ppt-line);
	border-radius: 26px;
	background:
		radial-gradient(circle at 8% -5%, rgba(255, 201, 61, .09), transparent 34rem),
		radial-gradient(circle at 92% 0%, rgba(39, 211, 155, .055), transparent 30rem),
		linear-gradient(180deg, #0e1118 0%, var(--ppt-bg) 30rem);
	box-shadow: var(--ppt-shadow);
}

.ppt-sr-only {
	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;
}

.ppt-skip-link {
	position: absolute;
	top: 8px;
	left: -9999px;
	z-index: 50;
	padding: 10px 14px;
	border-radius: var(--ppt-radius-sm);
	background: var(--ppt-accent);
	color: #111318;
	font-weight: 750;
}

.ppt-skip-link:focus {
	left: 8px;
}

.ppt-eyebrow {
	margin-bottom: 6px;
	color: var(--ppt-accent);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .17em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ppt-app-header {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(220px, .75fr) auto;
	align-items: center;
	gap: clamp(16px, 2vw, 30px);
	padding: 4px 0 clamp(24px, 3vw, 38px);
}

.ppt-app-header__identity {
	min-width: 0;
}

.ppt-app-header__identity h1,
.ppt-app-header__identity h2 {
	margin-bottom: 5px;
	color: #fff;
	font-size: clamp(1.65rem, 3vw, 2.55rem);
	font-weight: 680;
	letter-spacing: -.035em;
	line-height: 1;
}

.ppt-app-header__identity > p:last-child {
	max-width: 560px;
	margin-bottom: 0;
	color: var(--ppt-muted);
	font-size: .86rem;
}

.ppt-global-search {
	position: relative;
	min-width: 0;
	color: var(--ppt-muted);
}

.ppt-global-search svg {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 19px;
	height: 19px;
	transform: translateY(-50%);
	pointer-events: none;
}

.ppt-global-search input {
	width: 100%;
	height: 46px;
	padding: 0 16px 0 44px;
	border: 1px solid var(--ppt-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .035);
	color: var(--ppt-text);
}

.ppt-global-search input::placeholder {
	color: #707a8e;
}

.ppt-global-search input:focus {
	border-color: rgba(255, 201, 61, .52);
	background: rgba(255, 255, 255, .055);
}

.ppt-app-header__controls {
	display: flex;
	align-items: end;
	justify-content: flex-end;
	gap: 9px;
}

.ppt-compact-field {
	display: grid;
	gap: 4px;
	min-width: 112px;
	color: var(--ppt-muted);
	font-size: .61rem;
	font-weight: 750;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ppt-compact-field:first-child {
	min-width: 150px;
}

.ppt-compact-field select,
.ppt-assets-controls select {
	height: 44px;
	padding: 0 34px 0 12px;
	border: 1px solid var(--ppt-line);
	border-radius: 10px;
	background-color: rgba(255, 255, 255, .035);
	color: var(--ppt-text);
	cursor: pointer;
	text-transform: none;
}

.ppt-button,
.ppt-icon-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 11px;
	cursor: pointer;
	font-weight: 680;
	line-height: 1.1;
	text-decoration: none;
	transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.ppt-button {
	padding: 0 15px;
	font-size: .82rem;
}

.ppt-button svg {
	width: 18px;
	height: 18px;
}

.ppt-button:hover,
.ppt-icon-button:hover {
	transform: translateY(-1px);
}

.ppt-button:active,
.ppt-icon-button:active {
	transform: translateY(0);
}

.ppt-button:disabled,
.ppt-icon-button:disabled {
	opacity: .45;
	cursor: not-allowed;
	transform: none;
}

.ppt-button--primary {
	border-color: transparent;
	background: var(--uth-holo, linear-gradient(100deg, #ffc93d, #ff7a1a, #e6213c));
	color: #0b0d12;
	box-shadow: 0 10px 28px -12px rgba(255, 122, 26, .75);
}

.ppt-button--primary:hover {
	box-shadow: 0 14px 34px -12px rgba(255, 122, 26, .9);
	color: #0b0d12;
}

.ppt-button--secondary {
	border-color: var(--ppt-line-strong);
	background: rgba(255, 255, 255, .055);
	color: var(--ppt-text);
}

.ppt-button--secondary:hover,
.ppt-button--quiet:hover {
	border-color: rgba(255, 201, 61, .4);
	background: rgba(255, 201, 61, .075);
	color: #fff;
}

.ppt-button--quiet {
	border-color: var(--ppt-line);
	background: transparent;
	color: var(--ppt-muted);
}

.ppt-button--danger {
	border-color: rgba(255, 102, 117, .38);
	background: var(--ppt-negative-soft);
	color: #ffb0b9;
}

.ppt-button--danger:hover {
	border-color: var(--ppt-negative);
	background: rgba(255, 102, 117, .19);
	color: #fff;
}

.ppt-icon-button {
	width: 44px;
	flex: 0 0 44px;
	padding: 0;
	border-color: var(--ppt-line);
	background: rgba(255, 255, 255, .035);
	color: var(--ppt-muted);
}

.ppt-icon-button svg {
	width: 20px;
	height: 20px;
}

.ppt-live {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ppt-state {
	display: grid;
	min-height: 560px;
	place-items: center;
}

.ppt-state--loading {
	display: block;
	padding-top: 40px;
}

.ppt-state-card {
	width: min(100%, 560px);
	padding: clamp(28px, 5vw, 52px);
	border: 1px solid var(--ppt-line);
	border-radius: var(--ppt-radius-lg);
	background: rgba(255, 255, 255, .025);
	text-align: center;
	box-shadow: 0 20px 55px -30px rgba(0, 0, 0, .8);
}

.ppt-state-card__icon {
	display: inline-grid;
	width: 68px;
	height: 68px;
	margin-bottom: 19px;
	place-items: center;
	border: 1px solid rgba(255, 201, 61, .25);
	border-radius: 50%;
	background: rgba(255, 201, 61, .08);
	color: var(--ppt-accent);
}

.ppt-state-card__icon svg {
	width: 30px;
	height: 30px;
}

.ppt-state-card__icon--warning {
	border-color: rgba(245, 185, 76, .35);
	background: rgba(245, 185, 76, .09);
	color: var(--ppt-warning);
}

.ppt-state-card__icon--error {
	border-color: rgba(255, 102, 117, .35);
	background: var(--ppt-negative-soft);
	color: var(--ppt-negative);
}

.ppt-state-card h2 {
	margin-bottom: 10px;
	color: #fff;
	font-size: clamp(1.45rem, 3vw, 2rem);
}

.ppt-state-card > p:not(.ppt-eyebrow) {
	margin: 0 auto 22px;
	color: var(--ppt-muted);
}

.ppt-health-list {
	display: grid;
	gap: 8px;
	max-width: 380px;
	margin: 0 auto 22px;
	padding: 0;
	list-style: none;
	text-align: left;
}

.ppt-health-list li {
	display: flex;
	min-height: 40px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 12px;
	border: 1px solid var(--ppt-line);
	border-radius: 9px;
	color: var(--ppt-muted);
}

.ppt-health-list b {
	color: var(--ppt-negative);
	font-size: .72rem;
	text-transform: uppercase;
}

.ppt-loading-head {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.ppt-loading-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.ppt-skeleton {
	display: block;
	overflow: hidden;
	border-radius: var(--ppt-radius);
	background: #171c25;
}

.ppt-skeleton::after {
	display: block;
	width: 100%;
	height: 100%;
	content: "";
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .07), transparent);
	transform: translateX(-100%);
	animation: ppt-shimmer 1.35s infinite;
}

.ppt-skeleton--line {
	width: min(340px, 62%);
	height: 34px;
}

.ppt-skeleton--short {
	width: min(190px, 30%);
	height: 34px;
}

.ppt-skeleton--card {
	height: 138px;
}

@keyframes ppt-shimmer {
	to { transform: translateX(100%); }
}

.ppt-dashboard {
	min-width: 0;
}

.ppt-toolbar {
	position: sticky;
	top: calc(var(--uth-header-h, 72px) + 8px);
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 28px;
	padding: 8px;
	border: 1px solid var(--ppt-line);
	border-radius: 14px;
	background: rgba(13, 16, 23, .9);
	box-shadow: 0 13px 35px rgba(0, 0, 0, .32);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.ppt-toolbar__group {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 7px;
}

.ppt-toggle,
.ppt-check {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 9px;
	color: var(--ppt-muted);
	cursor: pointer;
	font-size: .77rem;
}

.ppt-toggle {
	padding: 0 11px;
}

.ppt-toggle input,
.ppt-check input,
.ppt-choice input {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	margin: 0;
	accent-color: var(--ppt-accent);
}

.ppt-freshness {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding-right: 9px;
	color: var(--ppt-muted);
	font-size: .73rem;
}

.ppt-freshness > span:first-child {
	width: 8px;
	height: 8px;
	flex: none;
	border-radius: 50%;
	background: var(--ppt-positive);
	box-shadow: 0 0 0 4px var(--ppt-positive-soft);
}

.ppt-freshness.is-stale > span:first-child {
	background: var(--ppt-warning);
	box-shadow: 0 0 0 4px rgba(245, 185, 76, .12);
}

.ppt-section-heading,
.ppt-panel__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px;
}

.ppt-section-heading {
	margin-bottom: 18px;
}

.ppt-section-heading h2,
.ppt-panel__header h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	letter-spacing: -.025em;
}

.ppt-disclosure {
	max-width: 620px;
	margin: 0;
	color: var(--ppt-muted);
	font-size: .72rem;
	text-align: right;
}

.ppt-summary-grid {
	display: grid;
	grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.ppt-summary-card {
	min-width: 0;
	padding: clamp(17px, 2vw, 23px);
	border: 1px solid var(--ppt-line);
	border-radius: var(--ppt-radius);
	background: rgba(255, 255, 255, .028);
	box-shadow: 0 9px 28px -22px rgba(0, 0, 0, .85);
}

.ppt-summary-card--hero {
	background:
		linear-gradient(135deg, rgba(255, 201, 61, .085), transparent 60%),
		rgba(255, 255, 255, .032);
}

.ppt-summary-card > span {
	display: block;
	margin-bottom: 9px;
	color: var(--ppt-muted);
	font-size: .62rem;
	font-weight: 750;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ppt-summary-card strong {
	display: block;
	overflow: hidden;
	color: #fff;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: clamp(1.2rem, 2.4vw, 1.78rem);
	font-variant-numeric: tabular-nums;
	font-weight: 690;
	letter-spacing: -.03em;
	line-height: 1.05;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ppt-summary-card--hero strong {
	font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.ppt-summary-card small {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 10px;
	color: var(--ppt-muted);
	font-size: .69rem;
}

/* Marks a figure computed from the priced cards only, so a partial total can
   never be mistaken for a complete one. */
.ppt-summary-card__partial {
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: .6rem;
	opacity: .85;
}

.ppt-coverage-note {
	margin: 12px 0 0;
	color: var(--ppt-muted);
	font-size: .8rem;
	line-height: 1.5;
}

.ppt-value--positive {
	color: var(--ppt-positive) !important;
}

.ppt-value--negative {
	color: var(--ppt-negative) !important;
}

.ppt-value--neutral {
	color: var(--ppt-muted) !important;
}

.ppt-panel {
	min-width: 0;
	padding: clamp(17px, 2vw, 25px);
	border: 1px solid var(--ppt-line);
	border-radius: var(--ppt-radius-lg);
	background: rgba(255, 255, 255, .024);
	box-shadow: 0 14px 45px -34px rgba(0, 0, 0, .9);
}

.ppt-panel__header {
	margin-bottom: 20px;
}

.ppt-panel__header p:not(.ppt-eyebrow) {
	margin: 5px 0 0;
	color: var(--ppt-muted);
	font-size: .76rem;
}

.ppt-chart-panel {
	margin-bottom: 18px;
}

.ppt-range-tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--ppt-line);
	border-radius: 11px;
	background: rgba(0, 0, 0, .16);
}

.ppt-range-tabs button {
	min-width: 44px;
	min-height: 44px;
	padding: 0 10px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: var(--ppt-muted);
	cursor: pointer;
	font-size: .7rem;
	font-weight: 750;
}

.ppt-range-tabs button:hover {
	color: #fff;
	background: rgba(255, 255, 255, .055);
}

.ppt-range-tabs button[aria-pressed="true"] {
	border-color: rgba(39, 211, 155, .28);
	background: var(--ppt-positive-soft);
	color: #9ff0d3;
}

.ppt-chart-wrap {
	position: relative;
	min-height: 260px;
}

.ppt-chart {
	display: block;
	width: 100%;
	height: clamp(235px, 30vw, 320px);
	overflow: visible;
}

.ppt-chart__grid-line {
	stroke: rgba(255, 255, 255, .075);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.ppt-chart__single-guide {
	stroke: rgba(255, 255, 255, .17);
	stroke-width: 1;
	stroke-dasharray: 3 5;
	vector-effect: non-scaling-stroke;
}

.ppt-chart__line,
.ppt-chart__cost {
	fill: none;
	vector-effect: non-scaling-stroke;
}

.ppt-chart__line {
	stroke: var(--ppt-positive);
	stroke-width: 3;
	filter: drop-shadow(0 5px 9px rgba(39, 211, 155, .28));
}

.ppt-chart__cost {
	stroke: rgba(255, 201, 61, .72);
	stroke-width: 1.75;
	stroke-dasharray: 7 6;
}

.ppt-chart__area {
	fill: url("#ppt-chart-gradient");
	fill: rgba(39, 211, 155, .09);
	stroke: none;
}

.ppt-chart__point {
	fill: var(--ppt-panel);
	stroke: var(--ppt-positive);
	stroke-width: 2;
	cursor: pointer;
	vector-effect: non-scaling-stroke;
}

.ppt-chart__cost-point {
	fill: var(--ppt-panel);
	stroke: var(--ppt-accent);
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.ppt-chart__point:focus {
	outline: none;
	stroke: var(--ppt-accent);
	stroke-width: 4;
}

.ppt-chart__axis-label {
	fill: var(--ppt-muted);
	font-family: var(--uth-font-body, Inter, sans-serif);
	font-size: 10px;
	font-variant-numeric: tabular-nums;
}

.ppt-chart-tooltip {
	position: absolute;
	z-index: 4;
	min-width: 165px;
	padding: 10px 12px;
	border: 1px solid var(--ppt-line-strong);
	border-radius: 10px;
	background: rgba(8, 10, 15, .96);
	color: var(--ppt-text);
	font-size: .69rem;
	box-shadow: 0 16px 45px rgba(0, 0, 0, .5);
	pointer-events: none;
}

.ppt-chart-tooltip strong,
.ppt-chart-tooltip span {
	display: block;
}

.ppt-chart-tooltip span {
	margin-top: 3px;
	color: var(--ppt-muted);
}

.ppt-chart-empty {
	position: absolute;
	inset: 0;
	display: grid;
	align-content: center;
	justify-items: center;
	padding: 20px;
	color: var(--ppt-muted);
	text-align: center;
}

.ppt-chart-empty strong {
	margin-bottom: 4px;
	color: var(--ppt-text);
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
}

.ppt-chart-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	color: var(--ppt-muted);
	font-size: .67rem;
}

.ppt-chart-legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.ppt-legend-line {
	width: 24px;
	height: 2px;
	background: var(--ppt-positive);
}

.ppt-legend-line--cost {
	height: 0;
	border-top: 2px dashed rgba(255, 201, 61, .72);
	background: none;
}

.ppt-data-table {
	margin-top: 14px;
	border-top: 1px solid var(--ppt-line);
}

.ppt-data-table summary {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--ppt-muted);
	cursor: pointer;
	font-size: .73rem;
}

.ppt-table-scroll {
	max-width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

.ppt-table-scroll:focus {
	outline-offset: -2px;
}

.ppt-root table {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.ppt-root th,
.ppt-root td {
	padding: 11px 12px;
	border-bottom: 1px solid var(--ppt-line);
	text-align: left;
}

.ppt-root th {
	color: var(--ppt-muted);
	font-size: .61rem;
	font-weight: 750;
	letter-spacing: .09em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ppt-root td {
	color: #d9dde6;
	font-size: .77rem;
}

.ppt-content-grid {
	display: block;
}

.ppt-panel__header--assets {
	align-items: center;
}

.ppt-assets-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ppt-assets-controls select {
	min-width: 145px;
}

.ppt-assets-table {
	min-width: 980px;
	border-collapse: separate;
	border-spacing: 0 8px;
}

.ppt-assets-table tbody tr {
	position: relative;
	background: rgba(255, 255, 255, .018);
	box-shadow: inset 0 0 0 1px var(--ppt-line);
	transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.ppt-assets-table tbody td {
	padding-top: 14px;
	padding-bottom: 14px;
}

.ppt-assets-table tbody td:first-child {
	padding-left: 12px;
	border-radius: 12px 0 0 12px;
}

.ppt-assets-table tbody td:last-child {
	padding-right: 12px;
	border-radius: 0 12px 12px 0;
}

.ppt-assets-table tbody tr:hover {
	background: rgba(255, 255, 255, .04);
	box-shadow: inset 0 0 0 1px var(--ppt-line-strong);
	transform: translateY(-1px);
}

.ppt-assets-table tbody tr.ppt-value--positive {
	box-shadow: inset 3px 0 0 rgba(39, 211, 155, .72), inset 0 0 0 1px var(--ppt-line);
}

.ppt-assets-table tbody tr.ppt-value--negative {
	box-shadow: inset 3px 0 0 rgba(255, 91, 119, .72), inset 0 0 0 1px var(--ppt-line);
}

.ppt-asset-cell {
	display: flex;
	min-width: 300px;
	align-items: center;
	gap: 14px;
}

.ppt-asset-cell img,
.ppt-card-placeholder {
	width: 68px;
	height: 94px;
	flex: none;
	object-fit: contain;
	border: 1px solid var(--ppt-line);
	border-radius: 7px;
	background: #0b0e14;
}

.ppt-card-placeholder {
	display: grid;
	place-items: center;
	color: #525c70;
}

.ppt-card-placeholder svg {
	width: 24px;
	height: 24px;
}

.ppt-asset-cell__copy {
	min-width: 0;
}

.ppt-asset-cell__copy strong,
.ppt-asset-cell__copy span,
.ppt-asset-cell__copy small {
	display: block;
}

.ppt-asset-cell__copy strong {
	overflow: hidden;
	max-width: 300px;
	color: #fff;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .98rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ppt-asset-cell__copy span {
	margin-top: 4px;
	color: var(--ppt-muted);
	font-size: .72rem;
}

.ppt-asset-cell__copy small {
	margin-top: 6px;
	color: #c0c6d2;
	font-size: .65rem;
	line-height: 1.45;
}

.ppt-value-stack,
.ppt-performance,
.ppt-allocation {
	display: grid;
	align-content: center;
	gap: 5px;
	min-width: 92px;
}

.ppt-value-stack > strong,
.ppt-performance > strong,
.ppt-allocation > strong {
	color: currentColor;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .88rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ppt-value-stack > small,
.ppt-performance > small {
	color: var(--ppt-muted);
	font-size: .61rem;
	white-space: nowrap;
}

.ppt-performance > small {
	color: currentColor;
}

.ppt-allocation > span {
	display: block;
	overflow: hidden;
	width: 86px;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
}

.ppt-allocation > span i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--ppt-accent), #ff885c);
}

.ppt-number {
	color: #fff;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-weight: 650;
	white-space: nowrap;
}

.ppt-number small {
	display: block;
	margin-top: 2px;
	color: var(--ppt-muted);
	font-family: var(--uth-font-body, Inter, sans-serif);
	font-size: .62rem;
	font-weight: 400;
}

.ppt-badge {
	display: inline-flex;
	min-height: 23px;
	align-items: center;
	padding: 2px 7px;
	border: 1px solid var(--ppt-line-strong);
	border-radius: 999px;
	color: var(--ppt-muted);
	font-size: .57rem;
	font-weight: 750;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ppt-badge--good {
	border-color: rgba(39, 211, 155, .32);
	background: var(--ppt-positive-soft);
	color: #8be8c5;
}

.ppt-badge--warning {
	border-color: rgba(245, 185, 76, .34);
	background: rgba(245, 185, 76, .09);
	color: #f5cf84;
}

.ppt-badge--manual {
	border-color: rgba(255, 201, 61, .32);
	background: rgba(255, 201, 61, .08);
	color: #ffe08e;
}

.ppt-row-action {
	display: inline-flex;
	width: auto;
	height: 44px;
	align-items: center;
	gap: 5px;
	padding: 0 11px 0 14px;
	border: 1px solid var(--ppt-line);
	border-radius: 9px;
	background: transparent;
	color: var(--ppt-muted);
	cursor: pointer;
}

.ppt-row-action:hover {
	border-color: var(--ppt-line);
	background: rgba(255, 255, 255, .045);
	color: #fff;
}

.ppt-row-action svg {
	width: 17px;
	height: 17px;
	margin: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}

.ppt-row-action span {
	font-size: .66rem;
	font-weight: 700;
}

.ppt-inline-empty {
	display: grid;
	min-height: 340px;
	align-content: center;
	justify-items: center;
	padding: 30px;
	text-align: center;
}

.ppt-inline-empty > span {
	display: grid;
	width: 62px;
	height: 62px;
	margin-bottom: 16px;
	place-items: center;
	border: 1px solid rgba(255, 201, 61, .25);
	border-radius: 50%;
	background: rgba(255, 201, 61, .07);
	color: var(--ppt-accent);
}

.ppt-inline-empty svg {
	width: 29px;
	height: 29px;
}

.ppt-inline-empty h3 {
	margin-bottom: 7px;
	color: #fff;
	font-size: 1.15rem;
}

.ppt-inline-empty p {
	max-width: 430px;
	margin-bottom: 18px;
	color: var(--ppt-muted);
	font-size: .79rem;
}

.ppt-inline-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.ppt-activity-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ppt-activity-item {
	display: block;
	padding: 0;
}

.ppt-activity-item button {
	display: grid;
	width: 100%;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	padding: 12px;
	border: 1px solid var(--ppt-line);
	border-radius: 11px;
	background: rgba(255, 255, 255, .018);
	color: inherit;
	text-align: left;
	cursor: pointer;
	transition: background .16s ease, border-color .16s ease;
}

.ppt-activity-item button:hover {
	border-color: var(--ppt-line-strong);
	background: rgba(255, 255, 255, .04);
}

.ppt-activity-item.is-voided {
	opacity: .56;
}

.ppt-activity-item__icon {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid var(--ppt-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, .035);
	color: var(--ppt-positive);
	font-weight: 800;
}

.ppt-activity-item__copy {
	min-width: 0;
}

.ppt-activity-item__copy strong,
.ppt-activity-item__copy span,
.ppt-activity-item__copy time {
	display: block;
}

.ppt-activity-item__copy strong {
	overflow: hidden;
	color: #fff;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .79rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ppt-activity-item__copy span,
.ppt-activity-item__copy time {
	color: var(--ppt-muted);
	font-size: .64rem;
}

.ppt-activity-item__copy time {
	margin-top: 2px;
}

.ppt-activity-item__impact {
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .71rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ppt-inline-note {
	margin: 0;
	color: var(--ppt-muted);
	font-size: .75rem;
}

.ppt-mobile-nav {
	display: none;
}

body.ppt-modal-open {
	overflow: hidden;
}

.ppt-modal {
	position: fixed;
	z-index: 1000001;
	inset: 0;
	display: grid;
	padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
	place-items: center;
}

.ppt-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 4, 8, .82);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
}

.ppt-modal__dialog {
	position: relative;
	display: flex;
	width: min(100%, 720px);
	max-height: min(900px, calc(100dvh - 36px));
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ppt-line-strong);
	border-radius: 20px;
	background:
		radial-gradient(circle at 10% -10%, rgba(255, 201, 61, .08), transparent 28rem),
		var(--ppt-surface);
	box-shadow: 0 40px 100px rgba(0, 0, 0, .7);
}

.ppt-modal__dialog--wide {
	width: min(100%, 1040px);
}

.ppt-modal__dialog:focus {
	outline: none;
}

.ppt-modal__header {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--ppt-line);
	background: rgba(9, 12, 18, .74);
}

.ppt-modal__header h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.ppt-modal__body {
	min-width: 0;
	padding: 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

form.ppt-modal__body {
	display: block;
}

.ppt-form-status {
	min-height: 0;
	margin-bottom: 0;
	color: var(--ppt-muted);
	font-size: .78rem;
}

.ppt-form-status:not(:empty) {
	min-height: 42px;
	margin-bottom: 15px;
	padding: 10px 12px;
	border: 1px solid var(--ppt-line);
	border-radius: 9px;
	background: rgba(255, 255, 255, .035);
}

.ppt-form-status.is-error {
	border-color: rgba(255, 102, 117, .35);
	background: var(--ppt-negative-soft);
	color: #ffc0c7;
}

.ppt-form-status.is-success {
	border-color: rgba(39, 211, 155, .32);
	background: var(--ppt-positive-soft);
	color: #a8efd5;
}

.ppt-form-section {
	padding: 0 0 22px;
}

.ppt-form-section + .ppt-form-section {
	padding-top: 22px;
	border-top: 1px solid var(--ppt-line);
}

.ppt-form-section__head {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 11px;
	margin-bottom: 16px;
}

.ppt-form-section__head > span {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 50%;
	background: var(--uth-holo, linear-gradient(100deg, #ffc93d, #ff7a1a));
	color: #111318;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .78rem;
	font-weight: 800;
}

.ppt-form-section__head h3 {
	margin: 0;
	color: #fff;
	font-size: 1rem;
}

.ppt-form-section__head p {
	margin: 3px 0 0;
	color: var(--ppt-muted);
	font-size: .7rem;
}

.ppt-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 13px;
}

.ppt-form-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ppt-form-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ppt-field--span-2 {
	grid-column: span 2;
}

.ppt-field {
	display: grid;
	min-width: 0;
	gap: 6px;
	color: var(--ppt-muted);
	font-size: .66rem;
	font-weight: 700;
}

.ppt-field small {
	font-weight: 450;
}

.ppt-field input,
.ppt-field select,
.ppt-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--ppt-line);
	border-radius: 10px;
	background: #0b0e14;
	color: var(--ppt-text);
	box-shadow: none;
}

.ppt-field textarea {
	min-height: 78px;
	resize: vertical;
}

.ppt-field input:focus,
.ppt-field select:focus,
.ppt-field textarea:focus {
	border-color: rgba(255, 201, 61, .56);
	background: #0d1118;
}

.ppt-field input:disabled,
.ppt-field select:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.ppt-field input[aria-invalid="true"],
.ppt-field select[aria-invalid="true"],
.ppt-field textarea[aria-invalid="true"] {
	border-color: var(--ppt-negative);
}

.ppt-card-search {
	display: flex;
	align-items: end;
	gap: 8px;
	margin-bottom: 11px;
}

.ppt-field--grow {
	flex: 1 1 auto;
}

.ppt-search-results {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
	max-height: 260px;
	margin-bottom: 12px;
	padding: 5px;
	overflow-y: auto;
	border: 1px solid var(--ppt-line);
	border-radius: 12px;
	background: rgba(0, 0, 0, .14);
}

.ppt-search-result {
	display: grid;
	min-height: 70px;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 8px;
	border: 1px solid transparent;
	border-radius: 9px;
	background: transparent;
	color: var(--ppt-text);
	cursor: pointer;
	text-align: left;
}

.ppt-search-result:hover,
.ppt-search-result[aria-pressed="true"] {
	border-color: rgba(255, 201, 61, .34);
	background: rgba(255, 201, 61, .065);
}

.ppt-search-result img,
.ppt-search-result__image {
	width: 44px;
	height: 56px;
	object-fit: contain;
	border-radius: 5px;
	background: #090c11;
}

.ppt-search-result strong,
.ppt-search-result span {
	display: block;
}

.ppt-search-result strong {
	font-size: .76rem;
}

.ppt-search-result span {
	margin-top: 2px;
	color: var(--ppt-muted);
	font-family: var(--uth-font-body, Inter, sans-serif);
	font-size: .62rem;
}

.ppt-selected-card {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	margin-bottom: 13px;
	padding: 11px;
	border: 1px solid rgba(39, 211, 155, .25);
	border-radius: 11px;
	background: var(--ppt-positive-soft);
}

.ppt-selected-card img,
.ppt-selected-card__image {
	width: 60px;
	height: 78px;
	object-fit: contain;
	border-radius: 6px;
	background: #090c11;
}

.ppt-selected-card strong,
.ppt-selected-card span {
	display: block;
}

.ppt-selected-card strong {
	color: #fff;
	font-size: .88rem;
}

.ppt-selected-card span {
	margin-top: 3px;
	color: #aeb9c8;
	font-size: .67rem;
}

.ppt-scan-confirmation {
	margin-bottom: 14px;
	padding: 13px 14px;
	border: 1px solid rgba(245, 185, 76, .34);
	border-radius: 11px;
	background: rgba(245, 185, 76, .085);
}

.ppt-scan-confirmation.is-low {
	border-color: rgba(255, 102, 117, .48);
	background: var(--ppt-negative-soft);
}

.ppt-scan-confirmation strong {
	color: #ffe2a4;
}

.ppt-scan-confirmation.is-low strong {
	color: #ffc0c7;
}

.ppt-scan-confirmation p {
	margin: 4px 0 6px;
	color: var(--ppt-muted);
	font-size: .7rem;
}

.ppt-check {
	align-items: flex-start;
}

.ppt-choice-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 13px;
}

.ppt-choice {
	display: grid;
	min-height: 82px;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
	padding: 13px;
	border: 1px solid var(--ppt-line);
	border-radius: 11px;
	background: rgba(255, 255, 255, .025);
	cursor: pointer;
}

.ppt-choice:has(input:checked) {
	border-color: rgba(255, 201, 61, .38);
	background: rgba(255, 201, 61, .07);
}

.ppt-choice strong,
.ppt-choice small {
	display: block;
}

.ppt-choice strong {
	color: #fff;
	font-size: .76rem;
}

.ppt-choice small {
	margin-top: 3px;
	color: var(--ppt-muted);
	font-size: .65rem;
}

.ppt-modal__footer {
	position: sticky;
	z-index: 3;
	bottom: -20px;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin: 22px -20px -20px;
	padding: 13px 20px max(13px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--ppt-line);
	background: rgba(11, 14, 20, .96);
	backdrop-filter: blur(12px);
}

.ppt-asset-detail {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
}

.ppt-asset-detail__media {
	margin: 0;
}

.ppt-asset-detail__media img,
.ppt-asset-detail__media .ppt-card-placeholder {
	width: 100%;
	height: 335px;
	object-fit: contain;
	border-radius: 12px;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.ppt-asset-detail__media figcaption {
	margin-top: 8px;
	color: var(--ppt-muted);
	font-size: .62rem;
	text-align: center;
}

.ppt-asset-detail__copy h3 {
	margin: 0 0 5px;
	color: #fff;
	font-size: 1.25rem;
}

.ppt-asset-detail__copy > p {
	margin-bottom: 12px;
	color: var(--ppt-muted);
	font-size: .76rem;
}

.ppt-detail-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 15px;
}

.ppt-detail-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.ppt-detail-metric {
	padding: 11px;
	border: 1px solid var(--ppt-line);
	border-radius: 10px;
	background: rgba(255, 255, 255, .028);
}

.ppt-detail-metric span,
.ppt-detail-metric strong,
.ppt-detail-metric small {
	display: block;
}

.ppt-detail-metric span {
	color: var(--ppt-muted);
	font-size: .58rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ppt-detail-metric strong {
	margin-top: 4px;
	color: #fff;
	font-size: .95rem;
	font-variant-numeric: tabular-nums;
}

.ppt-detail-metric strong.ppt-value--positive,
.ppt-detail-metric small.ppt-value--positive,
.ppt-detail-badges .ppt-value--positive {
	color: var(--ppt-positive);
}

.ppt-detail-metric strong.ppt-value--negative,
.ppt-detail-metric small.ppt-value--negative,
.ppt-detail-badges .ppt-value--negative {
	color: var(--ppt-negative);
}

.ppt-detail-metric small {
	margin-top: 3px;
	color: var(--ppt-muted);
	font-size: .59rem;
}

.ppt-detail-note {
	margin: 13px 0 0;
	padding: 11px 12px;
	border-left: 3px solid var(--ppt-accent);
	background: rgba(255, 201, 61, .055);
	color: var(--ppt-muted);
	font-size: .68rem;
}

.ppt-asset-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ppt-line);
}

.ppt-asset-chart,
.ppt-asset-ledger {
	margin-top: 18px;
	padding: 17px;
	border: 1px solid var(--ppt-line);
	border-radius: 13px;
	background: rgba(255, 255, 255, .018);
}

.ppt-asset-chart > header,
.ppt-asset-ledger > header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 13px;
}

.ppt-asset-chart h3,
.ppt-asset-ledger h3 {
	margin: 1px 0 0;
	color: #fff;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: 1rem;
}

.ppt-asset-chart > header > p,
.ppt-asset-ledger > header > p {
	max-width: 380px;
	margin: 0;
	color: var(--ppt-muted);
	font-size: .67rem;
	line-height: 1.5;
	text-align: right;
}

.ppt-asset-chart__plot {
	position: relative;
	min-height: 220px;
}

.ppt-asset-chart__plot svg {
	display: block;
	width: 100%;
	height: auto;
	min-height: 220px;
}

.ppt-asset-chart__plot [data-ppt-asset-chart-grid] line {
	stroke: rgba(255, 255, 255, .08);
	stroke-width: 1;
}

.ppt-asset-chart__plot [data-ppt-asset-chart-grid] text {
	fill: var(--ppt-muted);
	font-size: 10px;
}

.ppt-asset-chart__line,
.ppt-asset-chart__cost {
	fill: none;
	vector-effect: non-scaling-stroke;
}

.ppt-asset-chart__line {
	stroke: var(--ppt-positive);
	stroke-width: 3;
}

.ppt-asset-chart__cost {
	stroke: var(--ppt-accent);
	stroke-width: 2;
	stroke-dasharray: 7 6;
}

.ppt-asset-chart__point {
	fill: #0f131b;
	stroke: var(--ppt-positive);
	stroke-width: 3;
}

.ppt-asset-chart__cost-point {
	fill: #0f131b;
	stroke: var(--ppt-accent);
	stroke-width: 2;
}

.ppt-asset-chart__empty {
	position: absolute;
	inset: 0;
	display: grid;
	align-content: center;
	justify-items: center;
	border: 1px dashed var(--ppt-line);
	border-radius: 10px;
	background: rgba(7, 9, 13, .82);
	color: var(--ppt-muted);
	text-align: center;
}

.ppt-asset-chart__empty[hidden] {
	display: none;
}

.ppt-asset-chart__empty strong,
.ppt-asset-chart__empty span {
	display: block;
}

.ppt-asset-chart__empty strong {
	color: #fff;
	font-size: .82rem;
}

.ppt-asset-chart__empty span {
	margin-top: 4px;
	font-size: .66rem;
}

.ppt-inline-form {
	margin-top: 18px;
	padding: 16px;
	border: 1px solid var(--ppt-line);
	border-radius: 12px;
	background: rgba(0, 0, 0, .14);
}

.ppt-inline-form h3 {
	margin: 0 0 13px;
	color: #fff;
	font-size: 1rem;
}

.ppt-inline-form__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.ppt-transaction-list {
	display: grid;
	gap: 8px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ppt-transaction-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border: 1px solid var(--ppt-line);
	border-radius: 9px;
	color: var(--ppt-muted);
	font-size: .67rem;
}

.ppt-transaction-list strong {
	color: #fff;
}

.ppt-transaction.is-voided {
	opacity: .55;
}

.ppt-transaction__type {
	display: inline-grid;
	min-width: 45px;
	min-height: 28px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 7px;
	color: #fff;
	font-size: .58rem;
	font-weight: 800;
	letter-spacing: .08em;
}

.ppt-transaction__type--buy {
	border-color: rgba(255, 91, 119, .28);
	background: rgba(255, 91, 119, .07);
	color: #ff9aad;
}

.ppt-transaction__type--sell {
	border-color: rgba(39, 211, 155, .28);
	background: rgba(39, 211, 155, .07);
	color: #8be8c5;
}

.ppt-transaction__copy span,
.ppt-transaction__copy small {
	display: block;
	margin-top: 2px;
	color: var(--ppt-muted);
	font-size: .61rem;
}

.ppt-transaction__impact {
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ppt-transaction__actions {
	display: flex;
	gap: 5px;
}

.ppt-transaction__actions button {
	min-height: 32px;
	padding: 0 9px;
	border: 1px solid var(--ppt-line);
	border-radius: 7px;
	background: transparent;
	color: #d8dce6;
	font-size: .61rem;
	font-weight: 700;
	cursor: pointer;
}

.ppt-transaction__actions button:hover {
	border-color: var(--ppt-line-strong);
	background: rgba(255, 255, 255, .04);
	color: #fff;
}

.ppt-transaction__actions button.is-danger {
	color: #ff91a4;
}

.ppt-transaction__removed {
	color: var(--ppt-muted);
	font-size: .61rem;
	text-transform: uppercase;
}

.ppt-transaction-list__empty {
	display: block !important;
	color: var(--ppt-muted);
	text-align: center;
}

.ppt-portfolio-list {
	display: grid;
	gap: 8px;
	margin-bottom: 22px;
}

.ppt-portfolio-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 110px auto;
	align-items: end;
	gap: 8px;
	padding: 12px;
	border: 1px solid var(--ppt-line);
	border-radius: 11px;
	background: rgba(255, 255, 255, .025);
}

.ppt-portfolio-row__actions {
	display: flex;
	gap: 5px;
}

.ppt-portfolio-row__actions button {
	min-width: 44px;
	padding: 0 10px;
}

.ppt-create-portfolio {
	padding-top: 20px;
	border-top: 1px solid var(--ppt-line);
}

.ppt-create-portfolio h3 {
	margin-bottom: 13px;
	color: #fff;
	font-size: 1rem;
}

.ppt-toast {
	position: fixed;
	z-index: 1000005;
	right: 18px;
	bottom: 18px;
	max-width: min(390px, calc(100vw - 28px));
	padding: 11px 14px;
	border: 1px solid rgba(39, 211, 155, .4);
	border-radius: 11px;
	background: rgba(11, 35, 27, .97);
	color: #b5f2d9;
	font-size: .72rem;
	font-weight: 700;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}

.ppt-toast.is-error {
	border-color: rgba(255, 102, 117, .42);
	background: rgba(51, 18, 24, .97);
	color: #ffc2ca;
}

/* Scanner handoff: this component is injected only after uth:card-identified. */
.ppt-scan-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 16px;
	padding: 14px 15px;
	border: 1px solid rgba(39, 211, 155, .3);
	border-radius: var(--ppt-radius, 12px);
	background: var(--ppt-positive-soft, rgba(39, 211, 155, .12));
	color: var(--ppt-text, #eceef5);
}

.ppt-scan-cta.is-low {
	border-color: rgba(245, 185, 76, .46);
	background: rgba(245, 185, 76, .1);
}

.ppt-scan-cta strong,
.ppt-scan-cta p {
	display: block;
}

.ppt-scan-cta strong {
	color: #fff;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .88rem;
}

.ppt-scan-cta p {
	max-width: 660px;
	margin: 4px 0 0;
	color: var(--ppt-muted, #9aa3b8);
	font-size: .72rem;
}

.ppt-scan-cta .ppt-button {
	flex: none;
}

/* Public Portfolio introduction. It deliberately contains no application state. */
.ppt-landing {
	width: min(1180px, calc(100vw - 24px));
}

.ppt-landing__shell {
	overflow: hidden;
	border: 1px solid var(--ppt-line);
	border-radius: 26px;
	background:
		radial-gradient(circle at 8% 2%, rgba(255, 201, 61, .13), transparent 27rem),
		radial-gradient(circle at 94% 7%, rgba(39, 211, 155, .09), transparent 30rem),
		linear-gradient(180deg, #0f121a 0%, #090b11 55%, #0d1017 100%);
	box-shadow: var(--ppt-shadow);
}

.ppt-landing__crumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 22px clamp(22px, 6vw, 74px) 0;
	color: var(--ppt-muted);
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .76rem;
}

.ppt-landing__crumbs a {
	color: var(--ppt-muted);
	text-decoration: none;
	transition: color .2s;
}

.ppt-landing__crumbs a:hover {
	color: var(--ppt-accent);
}

.ppt-landing__crumbs [aria-current] {
	color: var(--ppt-text);
}

.ppt-landing__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, .65fr);
	align-items: center;
	gap: clamp(28px, 6vw, 80px);
	padding: clamp(40px, 7vw, 84px) clamp(22px, 6vw, 74px);
	border-bottom: 1px solid var(--ppt-line);
}

.ppt-landing__hero-copy {
	max-width: 750px;
}

.ppt-landing__hero h1 {
	max-width: 760px;
	margin-bottom: 18px;
	color: #fff;
	font-size: clamp(2.45rem, 6vw, 5.25rem);
	font-weight: 690;
	letter-spacing: -.055em;
	line-height: .96;
	text-wrap: balance;
}

.ppt-landing__lede {
	max-width: 690px;
	margin-bottom: 25px;
	color: #c3cada;
	font-size: clamp(1rem, 1.8vw, 1.24rem);
	line-height: 1.65;
}

.ppt-landing__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ppt-landing__actions .ppt-button {
	min-height: 48px;
	padding: 0 19px;
}

.ppt-landing__privacy-note {
	max-width: 650px;
	margin: 17px 0 0;
	color: var(--ppt-muted);
	font-size: .77rem;
}

.ppt-landing__summary {
	position: relative;
	padding: 25px;
	border: 1px solid rgba(255, 201, 61, .24);
	border-radius: var(--ppt-radius-lg);
	background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
	box-shadow: 0 24px 60px -38px rgba(0, 0, 0, .95);
}

.ppt-landing__summary::before {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ppt-positive);
	box-shadow: 0 0 0 5px rgba(39, 211, 155, .11);
	content: "";
}

.ppt-landing__summary-label {
	margin-bottom: 18px;
	color: #fff;
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .9rem;
	font-weight: 720;
}

.ppt-landing__summary ul {
	display: grid;
	gap: 13px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ppt-landing__summary li {
	position: relative;
	padding-left: 22px;
	color: #b9c1d2;
	font-size: .82rem;
	line-height: 1.5;
}

.ppt-landing__summary li::before {
	position: absolute;
	top: .56em;
	left: 1px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ppt-accent);
	box-shadow: 0 0 0 4px rgba(255, 201, 61, .09);
	content: "";
}

.ppt-landing__content {
	padding: 0 clamp(22px, 6vw, 74px);
}

.ppt-landing__section {
	padding: clamp(48px, 7vw, 78px) 0;
	border-bottom: 1px solid var(--ppt-line);
}

.ppt-landing__section h2,
.ppt-landing__cta h2 {
	margin-bottom: 15px;
	color: #fff;
	font-size: clamp(1.7rem, 3.5vw, 2.8rem);
	font-weight: 670;
	letter-spacing: -.035em;
	line-height: 1.08;
	text-wrap: balance;
}

.ppt-landing__section h3 {
	margin-bottom: 9px;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.ppt-landing__section p {
	color: #adb6c8;
	line-height: 1.72;
}

.ppt-landing__section a:not(.ppt-button),
.ppt-landing__cta a:not(.ppt-button) {
	color: #ffd86e;
	font-weight: 720;
	text-decoration-color: rgba(255, 216, 110, .46);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.ppt-landing__section a:not(.ppt-button):hover,
.ppt-landing__cta a:not(.ppt-button):hover {
	color: #fff1bc;
	text-decoration-color: currentColor;
}

.ppt-landing__section-heading {
	max-width: 790px;
	margin-bottom: 30px;
}

.ppt-landing__section-heading > p:last-child {
	margin-bottom: 0;
}

.ppt-landing__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.ppt-landing__steps li {
	min-width: 0;
	padding: 23px;
	border: 1px solid var(--ppt-line);
	border-radius: var(--ppt-radius-lg);
	background: rgba(255, 255, 255, .025);
}

.ppt-landing__steps li:nth-child(2) {
	border-color: rgba(255, 201, 61, .25);
	background: rgba(255, 201, 61, .035);
}

.ppt-landing__steps p {
	margin-bottom: 0;
	font-size: .85rem;
}

.ppt-landing__step-number {
	display: inline-grid;
	width: 31px;
	height: 31px;
	margin-bottom: 18px;
	border: 1px solid rgba(255, 201, 61, .32);
	border-radius: 50%;
	place-items: center;
	background: rgba(255, 201, 61, .09);
	color: var(--ppt-accent);
	font-family: var(--uth-font-display, "Space Grotesk", sans-serif);
	font-size: .74rem;
	font-weight: 800;
}

.ppt-landing__section--split {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr);
	align-items: center;
	gap: clamp(28px, 6vw, 72px);
}

.ppt-landing__section--split > div:first-child {
	max-width: 710px;
}

.ppt-landing__callout {
	padding: 26px;
	border: 1px solid rgba(39, 211, 155, .24);
	border-radius: var(--ppt-radius-lg);
	background: rgba(39, 211, 155, .055);
}

.ppt-landing__callout p {
	margin-bottom: 15px;
	font-size: .84rem;
}

.ppt-landing__section--limits {
	padding-right: clamp(20px, 5vw, 64px);
	padding-left: clamp(20px, 5vw, 64px);
	border: 1px solid rgba(255, 201, 61, .18);
	border-radius: var(--ppt-radius-lg);
	margin: clamp(48px, 7vw, 78px) 0 0;
	background: linear-gradient(135deg, rgba(255, 201, 61, .055), rgba(255, 255, 255, .018));
}

.ppt-landing__section--limits + .ppt-landing__section {
	margin-top: 0;
}

.ppt-landing__section--limits p:last-child {
	max-width: 940px;
	margin-bottom: 0;
}

.ppt-landing__faq {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
}

.ppt-landing__faq article {
	padding: 22px;
	border: 1px solid var(--ppt-line);
	border-radius: var(--ppt-radius);
	background: rgba(255, 255, 255, .022);
}

.ppt-landing__faq p {
	margin-bottom: 0;
	font-size: .84rem;
}

.ppt-landing__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: clamp(42px, 6vw, 68px) 0 clamp(46px, 7vw, 78px);
}

.ppt-landing__cta > div:first-child {
	max-width: 650px;
}

.ppt-landing__cta h2 {
	margin-bottom: 0;
	font-size: clamp(1.55rem, 3vw, 2.35rem);
}

@media (max-width: 860px) {
	.ppt-landing__hero,
	.ppt-landing__section--split {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-landing__summary {
		max-width: 620px;
	}

	.ppt-landing__steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-landing__cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 620px) {
	.ppt-landing__crumbs {
		padding-right: 17px;
		padding-left: 17px;
	}

	.ppt-landing__hero,
	.ppt-landing__content {
		padding-right: 17px;
		padding-left: 17px;
	}

	.ppt-landing__hero h1 {
		font-size: clamp(2.2rem, 13vw, 3.45rem);
	}

	.ppt-landing__actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.ppt-landing__actions .ppt-button {
		width: 100%;
	}

	.ppt-landing__summary,
	.ppt-landing__steps li,
	.ppt-landing__faq article,
	.ppt-landing__callout {
		padding: 19px;
	}

	.ppt-landing__faq {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-landing__section--limits {
		padding-right: 19px;
		padding-left: 19px;
	}
}

@media (max-width: 1180px) {
	.ppt-app-header {
		grid-template-columns: minmax(250px, 1fr) minmax(220px, .8fr);
	}

	.ppt-app-header__controls {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.ppt-summary-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ppt-summary-card--hero {
		grid-column: span 2;
	}

	.ppt-content-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-activity-panel {
		order: 2;
	}

	.ppt-activity-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.ppt-root {
		width: min(100%, calc(100vw - 12px));
	}

	.ppt-shell {
		padding: 16px;
		border-radius: 20px;
	}

	.ppt-app-header {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-global-search {
		order: 3;
	}

	.ppt-app-header__controls {
		grid-column: auto;
		flex-wrap: wrap;
	}

	.ppt-app-header__controls .ppt-button--primary {
		margin-left: auto;
	}

	.ppt-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.ppt-toolbar__group {
		overflow-x: auto;
	}

	.ppt-freshness {
		padding: 0 9px 5px;
	}

	.ppt-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.ppt-disclosure {
		text-align: left;
	}

	.ppt-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ppt-form-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ppt-asset-detail {
		grid-template-columns: 190px minmax(0, 1fr);
	}

	.ppt-asset-detail__media img,
	.ppt-asset-detail__media .ppt-card-placeholder {
		height: 265px;
	}
}

@media (max-width: 760px) {
	.ppt-root {
		padding-bottom: calc(76px + env(safe-area-inset-bottom));
	}

	.ppt-app-header__controls .ppt-button--primary,
	.ppt-app-header__controls [data-ppt-scan-link] {
		display: none;
	}

	.ppt-toolbar {
		position: static;
	}

	.ppt-toolbar__group {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
	}

	.ppt-toolbar__group .ppt-toggle {
		grid-column: 1 / -1;
	}

	.ppt-mobile-nav {
		position: fixed;
		z-index: 99990;
		right: 8px;
		bottom: max(7px, env(safe-area-inset-bottom));
		left: 8px;
		display: grid;
		/* Columns follow however many destinations there are, rather than a fixed
		   five: adding Radar must not push the last item onto a second row. */
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
		gap: 3px;
		max-width: 620px;
		margin: 0 auto;
		padding: 5px;
		border: 1px solid rgba(255, 255, 255, .13);
		border-radius: 16px;
		background: rgba(13, 17, 23, .96);
		box-shadow: 0 16px 48px rgba(0, 0, 0, .55);
		backdrop-filter: blur(18px);
		-webkit-backdrop-filter: blur(18px);
	}

	.ppt-mobile-nav button,
	.ppt-mobile-nav a {
		display: grid;
		min-width: 0;
		min-height: 50px;
		place-items: center;
		align-content: center;
		gap: 2px;
		padding: 4px 2px;
		border: 0;
		border-radius: 11px;
		background: transparent;
		color: var(--ppt-muted);
		cursor: pointer;
		font-size: .58rem;
		font-weight: 730;
		text-decoration: none;
	}

	.ppt-mobile-nav button:hover,
	.ppt-mobile-nav a:hover,
	.ppt-mobile-nav [aria-current="page"] {
		background: rgba(255, 255, 255, .065);
		color: #fff;
	}

	.ppt-mobile-nav svg {
		width: 20px;
		height: 20px;
	}

	.ppt-mobile-nav .ppt-mobile-nav__add {
		color: var(--ppt-accent);
	}

	.ppt-assets-table-wrap {
		overflow: visible;
	}

	.ppt-assets-table {
		display: block;
		min-width: 0;
	}

	.ppt-assets-table thead {
		display: none;
	}

	.ppt-assets-table tbody {
		display: grid;
		gap: 9px;
	}

	.ppt-assets-table tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr)) 44px;
		gap: 0 9px;
		padding: 11px;
		border: 1px solid var(--ppt-line);
		border-radius: 12px;
		background: rgba(255, 255, 255, .022);
	}

	.ppt-assets-table td {
		display: block;
		min-width: 0;
		padding: 8px 0;
		border: 0;
	}

	.ppt-assets-table td::before {
		display: block;
		margin-bottom: 3px;
		color: var(--ppt-muted);
		content: attr(data-label);
		font-size: .55rem;
		font-weight: 750;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.ppt-assets-table td:first-child {
		grid-column: 1 / -1;
		padding-top: 0;
		border-bottom: 1px solid var(--ppt-line);
	}

	.ppt-assets-table td:first-child::before,
	.ppt-assets-table td:last-child::before {
		display: none;
	}

	.ppt-assets-table td:last-child {
		grid-column: 3;
		grid-row: 2 / span 2;
		align-self: center;
	}

	.ppt-row-action {
		width: 44px;
		padding: 0;
		justify-content: center;
	}

	.ppt-row-action span {
		display: none;
	}

	.ppt-asset-cell__copy strong {
		max-width: none;
	}

	.ppt-toast {
		right: 10px;
		bottom: calc(82px + env(safe-area-inset-bottom));
		left: 10px;
		max-width: none;
	}
}

@media (max-width: 620px) {
	.ppt-shell {
		padding: 14px 11px 20px;
		border-radius: 16px;
	}

	.ppt-app-header__controls {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 92px 44px;
		width: 100%;
	}

	.ppt-compact-field,
	.ppt-compact-field:first-child {
		min-width: 0;
	}

	.ppt-summary-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ppt-summary-card--hero {
		grid-column: 1 / -1;
	}

	.ppt-panel {
		padding: 15px 12px;
	}

	.ppt-panel__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.ppt-panel__header--assets {
		align-items: stretch;
	}

	.ppt-assets-controls {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.ppt-assets-controls select {
		width: 100%;
		min-width: 0;
	}

	.ppt-range-tabs {
		width: 100%;
		overflow-x: auto;
	}

	.ppt-range-tabs button {
		flex: 1 0 44px;
	}

	.ppt-chart {
		height: 235px;
	}

	.ppt-activity-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-modal {
		padding: 0;
	}

	.ppt-modal__dialog,
	.ppt-modal__dialog--wide {
		width: 100%;
		height: 100dvh;
		max-height: 100dvh;
		border: 0;
		border-radius: 0;
	}

	.ppt-modal__header {
		padding: max(14px, env(safe-area-inset-top)) 14px 13px;
	}

	.ppt-modal__body {
		padding: 15px 12px calc(80px + env(safe-area-inset-bottom));
	}

	.ppt-modal__footer {
		bottom: calc(-80px - env(safe-area-inset-bottom));
		margin-right: -12px;
		margin-left: -12px;
		padding-right: 12px;
		padding-left: 12px;
	}

	.ppt-form-grid,
	.ppt-form-grid--3,
	.ppt-form-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ppt-field--span-2 {
		grid-column: 1 / -1;
	}

	.ppt-search-results {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-choice-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-asset-detail {
		grid-template-columns: 125px minmax(0, 1fr);
		gap: 13px;
	}

	.ppt-asset-detail__media img,
	.ppt-asset-detail__media .ppt-card-placeholder {
		height: 175px;
	}

	.ppt-detail-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ppt-asset-chart > header,
	.ppt-asset-ledger > header {
		flex-direction: column;
		gap: 6px;
	}

	.ppt-asset-chart > header > p,
	.ppt-asset-ledger > header > p {
		max-width: none;
		text-align: left;
	}

	.ppt-transaction-list li {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.ppt-transaction__actions,
	.ppt-transaction__removed {
		grid-column: 2 / -1;
	}

	.ppt-portfolio-row {
		grid-template-columns: minmax(0, 1fr) 100px;
	}

	.ppt-portfolio-row__actions {
		grid-column: 1 / -1;
	}

	.ppt-scan-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.ppt-scan-cta .ppt-button {
		width: 100%;
	}

	.ppt-inline-empty__actions {
		width: min(100%, 320px);
		flex-direction: column;
	}

	.ppt-inline-empty__actions .ppt-button {
		width: 100%;
	}
}

@media (max-width: 430px) {
	.ppt-toolbar__group,
	.ppt-summary-grid,
	.ppt-form-grid,
	.ppt-form-grid--3,
	.ppt-form-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-summary-card--hero,
	.ppt-toolbar__group .ppt-toggle,
	.ppt-field--span-2 {
		grid-column: auto;
	}

	.ppt-card-search {
		align-items: stretch;
		flex-direction: column;
	}

	.ppt-selected-card {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.ppt-selected-card > :last-child {
		grid-column: 1 / -1;
	}

	.ppt-asset-detail {
		grid-template-columns: minmax(0, 1fr);
	}

	.ppt-asset-detail__media {
		max-width: 195px;
		margin: 0 auto;
	}

	.ppt-asset-detail__media img,
	.ppt-asset-detail__media .ppt-card-placeholder {
		height: 275px;
	}

	.ppt-portfolio-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

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

@media (forced-colors: active) {
	.ppt-shell,
	.ppt-panel,
	.ppt-summary-card,
	.ppt-toolbar,
	.ppt-state-card,
	.ppt-modal__dialog,
	.ppt-field input,
	.ppt-field select,
	.ppt-field textarea,
	.ppt-choice,
	.ppt-mobile-nav,
	.ppt-assets-table tr {
		border: 1px solid CanvasText;
	}

	.ppt-button--primary {
		border: 2px solid ButtonText;
		background: ButtonFace;
		color: ButtonText;
	}

	.ppt-chart__line,
	.ppt-chart__point {
		stroke: LinkText;
	}

	.ppt-chart__cost {
		stroke: CanvasText;
	}

	.ppt-chart__area {
		fill: Canvas;
	}

	.ppt-value--positive,
	.ppt-value--negative {
		color: CanvasText !important;
	}
}

/* ---------- Set completion ---------- */
.ppt-sets-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ppt-set-row {
	display: grid;
	grid-template-columns: minmax(110px, 1fr) minmax(80px, 2fr) auto;
	align-items: center;
	gap: 14px;
}

.ppt-set-row__name {
	color: var(--ppt-text);
	font-size: .88rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ppt-set-bar {
	position: relative;
	display: block;
	height: 7px;
	border-radius: 99px;
	background: var(--ppt-surface-soft);
	overflow: hidden;
}

.ppt-set-bar__fill {
	position: absolute;
	inset: 0 auto 0 0;
	border-radius: 99px;
	background: var(--ppt-accent);
}

.ppt-set-row__count {
	color: var(--ppt-muted);
	font-size: .8rem;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.ppt-set-row__count em {
	font-style: normal;
	color: var(--ppt-text);
}

@media (max-width: 640px) {
	.ppt-set-row {
		grid-template-columns: 1fr auto;
	}
	.ppt-set-bar {
		grid-column: 1 / -1;
		order: 3;
	}
}

/* ---------- Correcting or removing a card ---------- */
.ppt-button--ghost {
	background: transparent;
	border: 1px solid var(--ppt-line);
	color: var(--ppt-muted-bright);
}

.ppt-button--ghost:hover,
.ppt-button--ghost:focus-visible {
	color: var(--ppt-text);
	border-color: var(--ppt-line-strong);
	background: var(--ppt-surface-soft);
}

/* Removal is destructive and irreversible, so it reads as a quiet warning rather
   than a primary action — reachable, never the obvious thing to press. */
.ppt-button--remove:hover,
.ppt-button--remove:focus-visible {
	color: var(--ppt-red);
	border-color: var(--ppt-red);
}

.ppt-asset-edit {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid var(--ppt-line);
	border-radius: var(--ppt-radius-small);
	background: var(--ppt-surface-soft);
}

.ppt-asset-edit h4 {
	margin: 0 0 6px;
	font-size: 1rem;
	color: var(--ppt-text);
}

.ppt-asset-edit__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 14px;
	margin-top: 14px;
}

.ppt-asset-edit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.ppt-asset-edit select:disabled {
	opacity: .5;
	cursor: not-allowed;
}

@media (max-width: 560px) {
	.ppt-asset-actions { flex-wrap: wrap; }
	.ppt-asset-actions .ppt-button { flex: 1 1 46%; }
}

/* Six destinations on a phone: keep every label on one line and let the narrow
   ones shorten rather than wrap and make the whole bar taller. */
@media (max-width: 860px) {
	.ppt-mobile-nav span {
		display: block;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (max-width: 400px) {
	.ppt-mobile-nav {
		gap: 2px;
		padding: 4px;
	}
	.ppt-mobile-nav button,
	.ppt-mobile-nav a {
		padding-inline: 1px;
		font-size: .55rem;
	}
}
