:root {
	--thr-navy: #052e4f;
	--thr-navy-deep: #03243e;
	--thr-blue: #0872b9;
	--thr-blue-dark: #045e9a;
	--thr-blue-soft: #e8f4fb;
	--thr-sky: #57b8e5;
	--thr-ink: #183244;
	--thr-copy: #526877;
	--thr-muted: #7c8e9b;
	--thr-line: #d8e3ea;
	--thr-surface: #ffffff;
	--thr-canvas: #eff4f7;
	--thr-success: #188958;
	--thr-success-soft: #e8f6ef;
	--thr-warning: #9d6410;
	--thr-warning-soft: #fff6df;
	--thr-danger: #c53b3b;
	--thr-danger-soft: #fceded;
	--thr-shadow: 0 16px 45px rgba(5, 46, 79, 0.09);
	--thr-radius-lg: 20px;
	--thr-radius-md: 13px;
	--thr-radius-sm: 9px;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body.thr-portal-page {
	margin: 0;
	background: var(--thr-canvas);
	color: var(--thr-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.thr-app {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.thr-app a {
	color: inherit;
	text-decoration: none;
}

.thr-app button,
.thr-app input,
.thr-app textarea {
	font: inherit;
}

.thr-app svg {
	display: block !important;
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem !important;
	min-height: 1.25rem !important;
	max-width: 1.25rem !important;
	max-height: 1.25rem !important;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.thr-topbar {
	position: sticky;
	z-index: 100;
	top: 0;
	border-bottom: 1px solid var(--thr-line);
	background: #fff;
	box-shadow: 0 5px 20px rgba(5, 46, 79, 0.07);
}

body.admin-bar .thr-topbar {
	top: 32px;
}

.thr-topbar-inner {
	width: min(1180px, calc(100% - 40px));
	height: 84px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.thr-brand {
	display: inline-flex;
	align-items: center;
	max-width: min(280px, 48vw);
}

.thr-brand img {
	display: block;
	width: 250px;
	height: 64px;
	object-fit: contain;
}

.thr-topbar-right,
.thr-account {
	display: flex;
	align-items: center;
}

.thr-topbar-right {
	gap: 22px;
}

.thr-context {
	color: var(--thr-muted);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.thr-account {
	gap: 9px;
	min-height: 38px;
	padding-left: 20px;
	border-left: 1px solid var(--thr-line);
	color: var(--thr-copy);
	font-size: 14px;
}

.thr-account-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #62d49a;
	box-shadow: 0 0 0 4px rgba(98, 212, 154, 0.13);
}

.thr-account a {
	margin-left: 6px;
	color: var(--thr-blue);
	font-weight: 700;
}

.thr-account a:hover,
.thr-account a:focus-visible {
	color: var(--thr-navy);
}

.thr-main {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 58px 0 76px;
	flex: 1;
}

.thr-eyebrow {
	margin: 0 0 7px;
	color: var(--thr-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.thr-page-heading {
	margin: 0 0 30px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.thr-page-heading h1,
.thr-gallery-hero h1,
.thr-auth-card h1 {
	margin: 0;
	color: var(--thr-navy);
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.thr-page-heading > div:first-child > p:last-child {
	max-width: 690px;
	margin: 13px 0 0;
	color: var(--thr-copy);
	font-size: 17px;
}

.thr-heading-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-width: max-content;
	padding: 10px 14px;
	border: 1px solid #c9e3f1;
	border-radius: 999px;
	background: var(--thr-blue-soft);
	color: var(--thr-blue-dark);
	font-size: 14px;
	font-weight: 750;
}

.thr-heading-chip svg {
	width: 17px;
	height: 17px;
}

.thr-notice {
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px solid transparent;
	border-radius: var(--thr-radius-md);
	display: flex;
	align-items: flex-start;
	gap: 13px;
	box-shadow: 0 8px 24px rgba(5, 46, 79, 0.06);
}

.thr-notice--success {
	border-color: #bde5cf;
	background: var(--thr-success-soft);
	color: #146c49;
}

.thr-notice--warning {
	border-color: #efd99c;
	background: var(--thr-warning-soft);
	color: #7c500c;
}

.thr-notice--error {
	border-color: #efc4c4;
	background: var(--thr-danger-soft);
	color: #a22b2b;
}

.thr-notice-icon {
	width: 25px;
	height: 25px;
	display: grid;
	place-items: center;
	flex: 0 0 25px;
}

.thr-notice strong,
.thr-notice span {
	display: block;
}

.thr-mail-error {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.45;
	word-break: break-word;
}

.thr-notice strong {
	margin-bottom: 2px;
	font-size: 15px;
}

.thr-notice span:not(.thr-notice-icon) {
	font-size: 14px;
	line-height: 1.45;
}

.thr-send-form {
	margin: 0;
}

.thr-form-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 26px;
}

.thr-card {
	padding: 30px;
	border: 1px solid #d9e5ec !important;
	border-radius: 22px !important;
	background: #fff !important;
	box-shadow: 0 14px 38px rgba(5, 46, 79, 0.08) !important;
}

.thr-card--photos {
	margin-top: 22px;
}

.thr-card-heading {
	margin-bottom: 26px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.thr-card-heading .thr-photo-counter {
	margin-left: auto;
}

.thr-card-heading h2,
.thr-section-heading h2 {
	margin: 0;
	color: var(--thr-navy);
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.018em;
}

.thr-card-heading p {
	margin: 4px 0 0;
	color: var(--thr-muted);
	font-size: 14px;
}

.thr-step {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: inline-grid;
	place-items: center;
	flex: 0 0 34px;
	background: var(--thr-blue);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.thr-field + .thr-field {
	margin-top: 20px;
}

.thr-field label {
	display: block;
	margin-bottom: 7px;
	color: var(--thr-ink);
	font-size: 14px;
	font-weight: 750;
}

.thr-field input,
.thr-field textarea {
	display: block !important;
	width: 100% !important;
	border: 1px solid #c5d7e1 !important;
	border-radius: 14px !important;
	outline: none;
	background: #f9fcfe !important;
	color: var(--thr-ink) !important;
	font-size: 16px;
	box-shadow: inset 0 1px 2px rgba(5, 46, 79, 0.035) !important;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.thr-recipient-list {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	width: 100% !important;
	gap: 13px !important;
}

.thr-recipient-option {
	width: 100% !important;
	min-height: 62px;
	padding: 12px 16px !important;
	border: 1px solid #cfdee6 !important;
	border-radius: 14px !important;
	display: flex !important;
	align-items: center;
	gap: 13px;
	background: #f9fcfe !important;
	box-shadow: 0 3px 10px rgba(5, 46, 79, 0.035);
	cursor: pointer;
	transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.thr-recipient-option:hover {
	border-color: #91bdd5;
	background: #f5fbfe;
}

.thr-recipient-option:focus-within {
	border-color: var(--thr-blue);
	box-shadow: 0 0 0 4px rgba(8, 114, 185, 0.12);
}

.thr-recipient-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.thr-switch {
	position: relative;
	width: 46px;
	height: 26px;
	border: 1px solid #aebfc9;
	border-radius: 999px;
	background: #dfe7ec;
	flex: 0 0 46px;
	transition: border-color 150ms ease, background 150ms ease;
}

.thr-switch span {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 5px rgba(5, 46, 79, 0.2);
	transition: transform 150ms ease;
}

.thr-recipient-option input:checked + .thr-switch {
	border-color: var(--thr-blue);
	background: var(--thr-blue);
}

.thr-recipient-option input:checked + .thr-switch span {
	transform: translateX(20px);
}

.thr-recipient-name {
	color: var(--thr-ink);
	font-size: 15px;
	font-weight: 750;
}

.thr-recipient-help {
	margin: 12px 0 0;
	color: var(--thr-muted);
	font-size: 12px;
}

#thr-recipient-error {
	margin: 13px 0 0;
}

.thr-field input {
	height: 56px !important;
	padding: 0 17px !important;
}

.thr-field textarea {
	min-height: 151px;
	padding: 15px 17px !important;
	line-height: 1.55;
	resize: vertical;
}

.thr-field input::placeholder,
.thr-field textarea::placeholder {
	color: #a1afb8;
}

.thr-field input:hover,
.thr-field textarea:hover {
	border-color: #9eb6c5;
}

.thr-field input:focus,
.thr-field textarea:focus {
	border-color: var(--thr-blue) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(8, 114, 185, 0.12) !important;
}

.thr-field small,
.thr-field-meta {
	color: var(--thr-muted);
	font-size: 12px;
}

.thr-field > small {
	display: block;
	margin-top: 7px;
}

.thr-field-meta {
	margin-top: 6px;
	display: flex;
	justify-content: space-between;
	gap: 15px;
}

.thr-photo-counter {
	min-width: 73px;
	padding: 8px 12px;
	border: 1px solid var(--thr-line);
	border-radius: 999px;
	background: #f6f9fb;
	color: var(--thr-muted);
	font-size: 13px;
	text-align: center;
}

.thr-photo-counter strong {
	color: var(--thr-blue);
	font-size: 16px;
}

.thr-upload-zone {
	min-height: 238px;
	padding: 30px 22px;
	border: 2px dashed #b8cedb;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: #f9fbfc;
	cursor: pointer;
	text-align: center;
	transition: border-color 170ms ease, background 170ms ease, transform 170ms ease;
}

.thr-upload-zone:hover,
.thr-upload-zone:focus-visible,
.thr-upload-zone.is-dragging {
	border-color: var(--thr-blue);
	background: #f0f8fd;
}

.thr-upload-zone:focus-visible {
	outline: 3px solid rgba(8, 114, 185, 0.19);
	outline-offset: 3px;
}

.thr-upload-zone.is-dragging {
	transform: translateY(-2px);
}

.thr-upload-zone input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.thr-upload-icon {
	width: 54px;
	height: 54px;
	margin-bottom: 13px;
	border-radius: 15px;
	display: grid;
	place-items: center;
	background: var(--thr-blue-soft);
	color: var(--thr-blue);
}

.thr-upload-icon svg {
	width: 26px;
	height: 26px;
}

.thr-upload-title,
.thr-upload-help {
	display: block;
}

.thr-upload-title {
	color: var(--thr-navy);
	font-size: 18px;
	font-weight: 780;
}

.thr-upload-help {
	margin-top: 3px;
	color: var(--thr-muted);
	font-size: 14px;
}

.thr-upload-button {
	margin-top: 17px;
	padding: 9px 15px;
	border: 1px solid #b9d4e4;
	border-radius: 8px;
	background: #fff;
	color: var(--thr-blue-dark);
	font-size: 14px;
	font-weight: 750;
	box-shadow: 0 4px 12px rgba(5, 46, 79, 0.06);
}

.thr-upload-error {
	margin-bottom: 13px;
	padding: 10px 13px;
	border: 1px solid #efc4c4;
	border-radius: 8px;
	background: var(--thr-danger-soft);
	color: #a22b2b;
	font-size: 14px;
	font-weight: 650;
}

.thr-photo-preview {
	margin-top: 16px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 13px;
}

.thr-preview-item {
	position: relative;
	min-width: 0;
	border: 1px solid var(--thr-line);
	border-radius: 11px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 5px 16px rgba(5, 46, 79, 0.07);
}

.thr-preview-item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #e8eef2;
}

.thr-preview-details {
	min-width: 0;
	padding: 9px 35px 9px 10px;
}

.thr-preview-details strong,
.thr-preview-details span {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.thr-preview-details strong {
	color: var(--thr-ink);
	font-size: 12px;
}

.thr-preview-details span {
	margin-top: 1px;
	color: var(--thr-muted);
	font-size: 11px;
}

.thr-preview-remove {
	position: absolute;
	right: 7px;
	bottom: 9px;
	width: 27px;
	height: 27px;
	padding: 0;
	border: 0;
	border-radius: 7px;
	display: grid;
	place-items: center;
	background: var(--thr-danger-soft);
	color: var(--thr-danger);
	cursor: pointer;
}

.thr-preview-remove:hover,
.thr-preview-remove:focus-visible {
	background: var(--thr-danger);
	color: #fff;
}

.thr-preview-remove svg {
	width: 15px;
	height: 15px;
}

.thr-send-bar {
	margin-top: 22px;
	padding: 22px 24px;
	border: 1px solid #bfd4df;
	border-radius: var(--thr-radius-lg);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	background: #fff;
	color: var(--thr-ink);
	box-shadow: var(--thr-shadow);
}

.thr-send-summary {
	display: flex;
	align-items: center;
	gap: 15px;
}

.thr-send-summary > svg {
	width: 29px;
	height: 29px;
	color: var(--thr-blue);
	flex: 0 0 29px;
}

.thr-send-summary strong,
.thr-send-summary span {
	display: block;
}

.thr-send-summary strong {
	font-size: 15px;
}

.thr-send-summary span {
	margin-top: 2px;
	color: var(--thr-muted);
	font-size: 13px;
}

.thr-button {
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 9px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 780;
	line-height: 1;
	transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.thr-button svg {
	width: 19px;
	height: 19px;
}

.thr-button:hover,
.thr-button:focus-visible {
	transform: translateY(-1px);
}

.thr-button:focus-visible {
	outline: 3px solid rgba(87, 184, 229, 0.3);
	outline-offset: 3px;
}

.thr-button--primary {
	background: var(--thr-blue);
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(8, 114, 185, 0.24);
}

.thr-button--primary:hover,
.thr-button--primary:focus-visible {
	background: var(--thr-blue-dark);
}

.thr-send-bar .thr-button--primary {
	min-width: 205px;
	background: var(--thr-blue);
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(8, 114, 185, 0.2);
}

.thr-send-bar .thr-button--primary:hover,
.thr-send-bar .thr-button--primary:focus-visible {
	background: var(--thr-blue-dark);
}

.thr-button--secondary {
	border-color: #bfd4df;
	background: #fff;
	color: var(--thr-blue-dark) !important;
}

.thr-button--secondary:hover,
.thr-button--secondary:focus-visible {
	border-color: var(--thr-blue);
	background: var(--thr-blue-soft);
}

.thr-button--wide {
	min-width: 210px;
}

.thr-button[disabled] {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.thr-history {
	margin-top: 62px;
}

.thr-section-heading {
	margin-bottom: 17px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.thr-section-heading > p {
	margin: 0 0 2px;
	color: var(--thr-muted);
	font-size: 13px;
}

.thr-package-list {
	border: 1px solid var(--thr-line);
	border-radius: var(--thr-radius-lg);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--thr-shadow);
}

.thr-package {
	padding: 16px 18px;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	align-items: center;
	gap: 17px;
}

.thr-package + .thr-package {
	border-top: 1px solid #e5edf2;
}

.thr-package:hover {
	background: #fbfdfe;
}

.thr-package-thumb {
	width: 76px;
	height: 64px;
	border-radius: 9px;
	overflow: hidden;
	display: grid;
	place-items: center;
	background: var(--thr-blue-soft);
	color: var(--thr-blue);
}

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

.thr-package-thumb svg {
	width: 27px;
	height: 27px;
}

.thr-package-main {
	min-width: 0;
}

.thr-package-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.thr-package-title-row h3 {
	max-width: 570px;
	margin: 0;
	overflow: hidden;
	color: var(--thr-navy);
	font-size: 16px;
	line-height: 1.3;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.thr-status {
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 780;
	white-space: nowrap;
}

.thr-status--sent {
	background: var(--thr-success-soft);
	color: var(--thr-success);
}

.thr-status--warning {
	background: var(--thr-warning-soft);
	color: var(--thr-warning);
}

.thr-status--expired {
	background: #edf1f3;
	color: #687b87;
}

.thr-package-customer {
	margin: 4px 0 0;
	display: flex;
	gap: 8px;
	color: var(--thr-copy);
	font-size: 13px;
}

.thr-package-customer strong {
	color: #3a5364;
}

.thr-package-customer span {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.thr-package-meta {
	margin-top: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	color: var(--thr-muted);
	font-size: 11px;
}

.thr-package-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.thr-package-meta svg {
	width: 13px;
	height: 13px;
}

.thr-package-actions,
.thr-package-actions form {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
}

.thr-icon-button {
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--thr-line);
	border-radius: 8px;
	display: grid;
	place-items: center;
	background: #fff;
	color: var(--thr-copy) !important;
	cursor: pointer;
	transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.thr-icon-button:hover,
.thr-icon-button:focus-visible {
	border-color: #98c9e3;
	background: var(--thr-blue-soft);
	color: var(--thr-blue) !important;
}

.thr-icon-button--danger:hover,
.thr-icon-button--danger:focus-visible {
	border-color: #e9b7b7;
	background: var(--thr-danger-soft);
	color: var(--thr-danger) !important;
}

.thr-icon-button:focus-visible {
	outline: 2px solid rgba(8, 114, 185, 0.2);
	outline-offset: 2px;
}

.thr-icon-button svg {
	width: 17px;
	height: 17px;
}

.thr-empty {
	min-height: 115px;
	padding: 24px;
	border: 1px dashed #bfd0da;
	border-radius: var(--thr-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: rgba(255, 255, 255, 0.7);
	color: var(--thr-muted);
	text-align: left;
}

.thr-empty > svg {
	width: 32px;
	height: 32px;
	color: var(--thr-blue);
}

.thr-empty strong,
.thr-empty span {
	display: block;
}

.thr-empty strong {
	color: var(--thr-ink);
}

.thr-empty span {
	font-size: 13px;
}

.thr-auth-card {
	width: min(560px, 100%);
	margin: 5vh auto 0;
	padding: 48px 45px;
	border: 1px solid var(--thr-line);
	border-radius: 23px;
	background: #fff;
	box-shadow: 0 22px 60px rgba(5, 46, 79, 0.13);
	text-align: center;
}

.thr-auth-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 22px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: var(--thr-blue-soft);
	color: var(--thr-blue);
}

.thr-auth-icon--warning {
	background: var(--thr-warning-soft);
	color: var(--thr-warning);
}

.thr-auth-icon svg {
	width: 29px;
	height: 29px;
}

.thr-auth-card h1 {
	font-size: clamp(1.8rem, 5vw, 2.35rem);
}

.thr-auth-card > p:not(.thr-eyebrow) {
	max-width: 430px;
	margin: 17px auto 27px;
	color: var(--thr-copy);
}

.thr-login-form {
	margin-top: 26px;
	text-align: left;
}

.thr-login-form .thr-button {
	margin-top: 22px;
}

.thr-remember {
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--thr-copy);
	font-size: 14px;
	cursor: pointer;
}

.thr-remember input {
	width: 18px;
	height: 18px;
	accent-color: var(--thr-blue);
}

.thr-forgot-link {
	margin-top: 16px;
	display: block;
	color: var(--thr-blue) !important;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.thr-login-error {
	margin: 0 0 18px;
	padding: 11px 14px;
	border: 1px solid #efc4c4;
	border-radius: 12px;
	background: var(--thr-danger-soft);
	color: #a22b2b;
	font-size: 14px;
	font-weight: 650;
	text-align: left;
}

.thr-processing {
	position: fixed;
	z-index: 1000;
	inset: 0;
	padding: 24px;
	display: grid;
	place-items: center;
	background: rgba(3, 36, 62, 0.72);
	backdrop-filter: blur(5px);
}

.thr-processing[hidden] {
	display: none;
}

.thr-processing-card {
	width: min(390px, 100%);
	padding: 34px 30px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(3, 36, 62, 0.3);
	text-align: center;
}

.thr-processing-card strong,
.thr-processing-card p {
	display: block;
}

.thr-processing-card strong {
	margin-top: 14px;
	color: var(--thr-navy);
	font-size: 19px;
}

.thr-processing-card p {
	margin: 5px 0 0;
	color: var(--thr-copy);
	font-size: 14px;
}

.thr-spinner {
	width: 40px;
	height: 40px;
	margin: 0 auto;
	border: 4px solid #d9eaf4;
	border-top-color: var(--thr-blue);
	border-radius: 50%;
	display: block;
	animation: thr-spin 750ms linear infinite;
}

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

.thr-gallery-hero {
	position: relative;
	padding: 43px 44px;
	border: 1px solid var(--thr-line);
	border-radius: 22px;
	background: #fff;
	color: var(--thr-ink);
	box-shadow: var(--thr-shadow);
}

.thr-gallery-hero::after {
	position: absolute;
	top: 0;
	right: 42px;
	width: 9px;
	height: 100%;
	background: var(--thr-blue);
	content: "";
	opacity: 0.85;
}

.thr-gallery-hero .thr-eyebrow {
	color: var(--thr-blue);
}

.thr-gallery-hero h1 {
	max-width: 780px;
	color: var(--thr-navy);
}

.thr-gallery-message {
	max-width: 730px;
	margin-top: 18px;
	color: var(--thr-copy);
	font-size: 17px;
	line-height: 1.65;
}

.thr-gallery-meta {
	margin: 26px 0 22px;
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
}

.thr-gallery-meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	border: 1px solid #c9e3f1;
	border-radius: 7px;
	background: var(--thr-blue-soft);
	color: var(--thr-blue-dark);
	font-size: 13px;
}

.thr-gallery-meta svg {
	width: 16px;
	height: 16px;
	color: var(--thr-blue);
}

.thr-gallery-grid {
	margin-top: 27px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 17px;
}

.thr-gallery-item {
	min-width: 0;
	border: 1px solid var(--thr-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 27px rgba(5, 46, 79, 0.08);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.thr-gallery-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 34px rgba(5, 46, 79, 0.13);
}

.thr-gallery-open {
	position: relative;
	width: 100%;
	padding: 0;
	border: 0;
	display: block;
	background: #dfe9ef;
	cursor: zoom-in;
}

.thr-gallery-open:focus-visible {
	outline: 3px solid var(--thr-sky);
	outline-offset: -3px;
}

.thr-gallery-open img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 220ms ease;
}

.thr-gallery-item:hover .thr-gallery-open img {
	transform: scale(1.025);
}

.thr-gallery-zoom {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 36px;
	height: 36px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	background: rgba(3, 36, 62, 0.83);
	color: #fff;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thr-gallery-zoom svg {
	width: 17px;
	height: 17px;
}

.thr-gallery-item-bar {
	min-height: 50px;
	padding: 0 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--thr-muted);
	font-size: 12px;
}

.thr-gallery-item-bar a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--thr-blue);
	font-size: 13px;
	font-weight: 750;
}

.thr-gallery-item-bar a:hover,
.thr-gallery-item-bar a:focus-visible {
	color: var(--thr-navy);
}

.thr-gallery-item-bar svg {
	width: 15px;
	height: 15px;
}

.thr-gallery-contact {
	margin-top: 28px;
	padding: 22px 25px;
	border: 1px solid var(--thr-line);
	border-radius: 14px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	background: #fff;
	box-shadow: 0 8px 25px rgba(5, 46, 79, 0.06);
}

.thr-gallery-contact-icon {
	width: 45px;
	height: 45px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--thr-blue-soft);
	color: var(--thr-blue);
}

.thr-gallery-contact strong,
.thr-gallery-contact span {
	display: block;
}

.thr-gallery-contact strong {
	color: var(--thr-navy);
}

.thr-gallery-contact span {
	color: var(--thr-muted);
	font-size: 13px;
}

.thr-gallery-contact > a {
	padding: 9px 14px;
	border: 1px solid #bed7e5;
	border-radius: 8px;
	color: var(--thr-blue) !important;
	font-size: 13px;
	font-weight: 750;
}

.thr-lightbox {
	width: min(1120px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100vh - 32px);
	padding: 0;
	border: 0;
	border-radius: 15px;
	overflow: visible;
	background: #071e2e;
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.thr-lightbox::backdrop {
	background: rgba(1, 18, 31, 0.88);
	backdrop-filter: blur(6px);
}

.thr-lightbox img {
	display: block;
	width: 100%;
	max-height: calc(100vh - 60px);
	border-radius: 15px;
	object-fit: contain;
}

.thr-lightbox-close {
	position: absolute;
	z-index: 2;
	top: 11px;
	right: 11px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(3, 36, 62, 0.82);
	color: #fff;
	cursor: pointer;
}

.thr-lightbox-label {
	position: absolute;
	left: 13px;
	bottom: 12px;
	padding: 6px 10px;
	border-radius: 6px;
	background: rgba(3, 36, 62, 0.82);
	color: #fff;
	font-size: 12px;
}

.thr-footer {
	min-height: 86px;
	padding: 20px max(20px, calc((100% - 1180px) / 2));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-top: 1px solid var(--thr-line);
	background: #fff;
	color: var(--thr-muted);
	font-size: 13px;
}

.thr-footer > div,
.thr-footer > div:first-child span {
	display: flex;
	align-items: center;
	gap: 10px;
}

.thr-footer strong {
	color: var(--thr-navy);
}

.thr-footer a {
	color: var(--thr-blue);
}

.thr-footer a:hover,
.thr-footer a:focus-visible {
	color: var(--thr-navy);
}

@media (max-width: 900px) {
	.thr-form-grid {
		grid-template-columns: 1fr;
	}

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

	.thr-package {
		grid-template-columns: 65px minmax(0, 1fr);
	}

	.thr-package-thumb {
		width: 65px;
		height: 58px;
	}

	.thr-package-actions {
		grid-column: 2;
		justify-content: flex-start;
	}
}

@media (max-width: 782px) {
	body.admin-bar .thr-topbar {
		top: 46px;
	}
}

@media (max-width: 720px) {
	.thr-topbar-inner,
	.thr-main {
		width: min(100% - 28px, 1180px);
	}

	.thr-topbar-inner {
		height: 72px;
	}

	.thr-main {
		padding: 36px 0 55px;
	}

	.thr-context,
	.thr-account > span:not(.thr-account-dot) {
		display: none;
	}

	.thr-account {
		padding-left: 0;
		border: 0;
	}

	.thr-page-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 17px;
	}

	.thr-page-heading > div:first-child > p:last-child {
		font-size: 16px;
	}

	.thr-card {
		padding: 22px 19px;
		border-radius: 16px;
	}

	.thr-card-heading {
		margin-bottom: 22px;
	}

	.thr-photo-preview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.thr-send-bar {
		align-items: stretch;
		flex-direction: column;
		padding: 20px;
		border-radius: 16px;
	}

	.thr-send-bar .thr-button--primary {
		width: 100%;
	}

	.thr-history {
		margin-top: 48px;
	}

	.thr-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.thr-package {
		padding: 15px;
	}

	.thr-gallery-hero {
		padding: 31px 24px;
	}

	.thr-gallery-hero::after {
		right: 21px;
		width: 6px;
	}

	.thr-gallery-message {
		padding-right: 17px;
		font-size: 16px;
	}

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

	.thr-gallery-contact {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.thr-gallery-contact > a {
		grid-column: 1 / -1;
		text-align: center;
	}

	.thr-auth-card {
		margin-top: 2vh;
		padding: 37px 24px;
	}

	.thr-footer,
	.thr-footer > div,
	.thr-footer > div:first-child span {
		align-items: flex-start;
		flex-direction: column;
	}

	.thr-footer {
		padding: 25px 20px;
		gap: 14px;
	}

	.thr-footer > div {
		gap: 4px;
	}

	.thr-footer > div:last-child {
		flex-direction: row;
		gap: 8px;
	}
}

@media (max-width: 470px) {
	.thr-brand-name {
		display: none;
	}

	.thr-account-dot {
		display: none;
	}

	.thr-page-heading h1,
	.thr-gallery-hero h1 {
		font-size: 1.9rem;
	}

	.thr-card-heading {
		flex-wrap: wrap;
	}

	.thr-card-heading .thr-photo-counter {
		width: 100%;
		margin-left: 48px;
	}

	.thr-upload-zone {
		min-height: 220px;
		padding: 25px 15px;
	}

	.thr-photo-preview {
		grid-template-columns: 1fr;
	}

	.thr-package {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 12px;
	}

	.thr-package-thumb {
		width: 54px;
		height: 52px;
	}

	.thr-package-title-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.thr-package-customer {
		flex-direction: column;
		gap: 0;
	}

	.thr-package-meta span:nth-child(2) {
		display: none;
	}

	.thr-package-actions {
		grid-column: 1 / -1;
	}

	.thr-gallery-grid {
		grid-template-columns: 1fr;
	}

	.thr-gallery-hero .thr-button {
		width: calc(100% - 18px);
	}
}

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