:root {
	--nfc-bg: oklch(0.965 0.008 130);
	--nfc-white: oklch(1 0 0);
	--nfc-ink: oklch(0.19 0.025 130);
	--nfc-muted: oklch(0.45 0.025 130);
	--nfc-primary: oklch(0.46 0.13 130);
	--nfc-primary-dark: oklch(0.32 0.10 130);
	--nfc-danger: oklch(0.54 0.21 25);
	--nfc-line: oklch(0.88 0.012 130);
	--nfc-font: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
	--nfc-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

.coli-nfc-page {
	margin: 0;
	background: var(--nfc-bg);
	color: var(--nfc-ink);
	font-family: var(--nfc-font);
	line-height: 1.6;
}

.coli-nfc-page *,
.coli-nfc-page *::before,
.coli-nfc-page *::after {
	box-sizing: border-box;
}

.coli-nfc-page :focus-visible {
	outline: 3px solid oklch(0.64 0.19 28);
	outline-offset: 3px;
}

.coli-nfc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(100% - 32px, 1040px);
	min-height: 72px;
	margin-inline: auto;
}

.coli-nfc-header a {
	color: var(--nfc-ink);
	font-weight: 750;
	text-decoration: none;
}

.coli-nfc-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 0.08em;
}

.coli-nfc-brand span {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 10px;
	background: var(--nfc-primary);
	color: var(--nfc-white);
	font-size: 20px;
}

.coli-nfc-main {
	width: min(100% - 32px, 1040px);
	min-height: calc(100vh - 160px);
	margin-inline: auto;
	padding: clamp(34px, 6vw, 76px) 0 90px;
}

.coli-nfc-footer {
	width: min(100% - 32px, 1040px);
	padding: 25px 0;
	margin-inline: auto;
	border-top: 1px solid var(--nfc-line);
	color: var(--nfc-muted);
	font-size: 12px;
}

.coli-nfc-card,
.coli-dashboard__pet,
.coli-contact-form {
	padding: clamp(24px, 5vw, 52px);
	border-radius: 14px;
	background: var(--nfc-white);
}

.coli-nfc-activate,
.coli-nfc-empty,
.coli-nfc-login {
	max-width: 720px;
	margin-inline: auto;
}

.coli-nfc-label {
	margin: 0 0 10px;
	color: var(--nfc-primary);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.coli-nfc-page h1 {
	margin: 0;
	font-size: clamp(2.4rem, 7vw, 4.6rem);
	letter-spacing: -0.04em;
	line-height: 1.02;
	text-wrap: balance;
}

.coli-nfc-activate > p:not(.coli-nfc-label),
.coli-nfc-empty > p {
	max-width: 56ch;
	margin: 18px 0 30px;
	color: var(--nfc-muted);
	font-size: 17px;
}

.coli-nfc-page form {
	display: grid;
	gap: 20px;
}

.coli-nfc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.coli-nfc-field {
	display: grid;
	gap: 7px;
}

.coli-nfc-field label,
.coli-status-control label {
	color: var(--nfc-ink);
	font-size: 14px;
	font-weight: 750;
}

.coli-nfc-field input,
.coli-nfc-field select,
.coli-nfc-field textarea,
.coli-status-control select,
.coli-nfc-login input {
	width: 100%;
	min-height: 50px;
	padding: 11px 14px;
	border: 1px solid var(--nfc-line);
	border-radius: 10px;
	background: var(--nfc-white);
	color: var(--nfc-ink);
	font: inherit;
}

.coli-nfc-field textarea {
	resize: vertical;
}

.coli-nfc-field small {
	color: var(--nfc-muted);
	font-size: 12px;
}

.coli-nfc-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--nfc-muted);
	font-size: 14px;
}

.coli-nfc-check input {
	width: 19px;
	height: 19px;
	margin-top: 2px;
	accent-color: var(--nfc-primary);
}

.coli-nfc-button,
.coli-nfc-login input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 52px;
	gap: 18px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--nfc-primary);
	color: var(--nfc-white);
	font: 750 16px/1 var(--nfc-font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 180ms ease, transform 140ms var(--nfc-ease);
}

.coli-nfc-button:hover {
	background: var(--nfc-primary-dark);
	color: var(--nfc-white);
}

.coli-nfc-button:active {
	transform: scale(0.97);
}

.coli-nfc-button--outline {
	border: 1px solid var(--nfc-ink);
	background: transparent;
	color: var(--nfc-ink);
}

.coli-nfc-button--outline:hover {
	background: var(--nfc-ink);
}

.coli-nfc-notice {
	padding: 14px 16px;
	border-radius: 10px;
	background: oklch(0.92 0.05 130);
	color: var(--nfc-primary-dark);
	font-weight: 700;
}

.coli-nfc-notice--error {
	background: oklch(0.94 0.035 25);
	color: oklch(0.38 0.17 25);
}

.coli-profile {
	display: grid;
	grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
	overflow: hidden;
	border-radius: 14px;
	background: var(--nfc-white);
}

.coli-profile__photo {
	position: relative;
	min-height: 680px;
	background: var(--nfc-primary-dark);
}

.coli-profile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.coli-profile__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: color-mix(in oklch, var(--nfc-white) 30%, transparent);
	font-size: 12rem;
	font-weight: 850;
}

.coli-profile__status {
	position: absolute;
	right: 18px;
	bottom: 18px;
	left: 18px;
	padding: 12px 16px;
	border-radius: 999px;
	background: var(--nfc-primary);
	color: var(--nfc-white);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-align: center;
}

.coli-profile.is-lost .coli-profile__status {
	background: var(--nfc-danger);
}

.coli-profile__content {
	padding: clamp(28px, 5vw, 62px);
}

.coli-profile__content h1 {
	font-size: clamp(3rem, 7vw, 5.4rem);
}

.coli-profile__meta {
	margin: 8px 0 0;
	color: var(--nfc-muted);
	font-weight: 700;
}

.coli-profile__lead {
	max-width: 56ch;
	margin: 24px 0 0;
	font-size: 18px;
}

.coli-profile__facts {
	display: grid;
	gap: 0;
	margin-top: 34px;
	border-top: 1px solid var(--nfc-line);
}

.coli-profile__facts div {
	padding: 18px 0;
	border-bottom: 1px solid var(--nfc-line);
}

.coli-profile__facts p {
	margin: 6px 0 0;
	color: var(--nfc-muted);
}

.coli-profile__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.coli-contact-form {
	padding: 32px 0 0;
	margin-top: 48px;
	border-top: 1px solid var(--nfc-line);
	border-radius: 0;
}

.coli-contact-form h2 {
	margin: 0;
	font-size: 28px;
	letter-spacing: -0.03em;
}

.coli-contact-form > p {
	margin: 5px 0 8px;
	color: var(--nfc-muted);
}

.coli-dashboard__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 38px;
}

.coli-dashboard__heading a,
.coli-dashboard__pet-head a {
	color: var(--nfc-primary-dark);
	font-weight: 750;
}

.coli-dashboard__pet {
	display: grid;
	gap: 22px;
	margin-top: 24px;
}

.coli-dashboard__pet-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--nfc-line);
}

.coli-dashboard__pet h2 {
	margin: 0;
	font-size: 32px;
	letter-spacing: -0.03em;
}

.coli-status-control {
	display: grid;
	min-width: 220px;
	gap: 6px;
}

@media (max-width: 760px) {
	.coli-nfc-header {
		min-height: 64px;
	}

	.coli-nfc-grid,
	.coli-profile {
		grid-template-columns: 1fr;
	}

	.coli-profile__photo {
		min-height: 440px;
	}

	.coli-profile__content {
		padding: 28px 20px 38px;
	}

	.coli-profile__actions,
	.coli-dashboard__heading,
	.coli-dashboard__pet-head {
		align-items: stretch;
		flex-direction: column;
	}

	.coli-profile__actions .coli-nfc-button,
	.coli-contact-form .coli-nfc-button,
	.coli-nfc-activate .coli-nfc-button {
		width: 100%;
	}

	.coli-status-control {
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.coli-nfc-page *,
	.coli-nfc-page *::before,
	.coli-nfc-page *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
