:root {
	font-family: Geist, Arial, sans-serif;
	color: #28492d;
	background: #fcfcf6;
	font-synthesis: none;
	font-weight: 400;
	--green: #28492d;
	--yellow: #f7d047;
	--muted: #647065;
	--line: #dfe5d9;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
}
button,
input {
	font: inherit;
}
button {
	cursor: pointer;
}
button:disabled {
	cursor: default;
	opacity: 0.45;
}
button:focus-visible {
	outline: 3px solid #b18b00;
	outline-offset: 4px;
}
[hidden] {
	display: none !important;
}
.topbar {
	max-width: 1320px;
	margin: auto;
	padding: 34px 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.topbar img {
	width: 148px;
	height: auto;
}
main {
	max-width: 1170px;
	margin: 40px auto 70px;
	display: grid;
	grid-template-columns: 1fr 1.08fr;
	align-items: center;
	gap: 96px;
	padding: 0 40px;
}
.intro {
	align-self: start;
	padding-top: 70px;
}
h1 {
	font-family: "League Spartan", Arial, sans-serif;
	font-size: clamp(44px, 4.7vw, 65px);
	letter-spacing: -3px;
	line-height: 1.04;
	margin: 29px 0 25px;
	font-weight: 750;
}
.intro > p {
	font-size: 17px;
	line-height: 1.7;
	max-width: 345px;
	color: #59675b;
}
.intro-note {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 42px;
}
.intro-note p {
	font-size: 13px;
	line-height: 1.6;
}
.note-icon {
	background: var(--yellow);
	border-radius: 50%;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	font-size: 24px;
}
.upload-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 30px;
	box-shadow: 0 12px 48px #28492d06;
	min-width: 0;
}
.card-heading {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	margin-bottom: 25px;
}
.private-badge {
	font-size: 10px;
	white-space: nowrap;
	background: #f1f5ed;
	padding: 7px 9px;
	border-radius: 20px;
}
.private-badge span {
	font-size: 7px;
	margin-right: 3px;
}
h2 {
	font-size: 28px;
	letter-spacing: -.8px;
	margin: 0 0 8px;
}
h3 {
	font-size: 12px;
	font-weight: 600;
	margin: 0;
}
.muted {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.6;
	margin: 0;
}
#instructions {
	margin-bottom: 24px;
}
.dropzone {
	background: #f8faf5;
	border: 1.5px dashed #bdcbbb;
	border-radius: 14px;
	text-align: center;
	padding: 29px 16px 20px;
	transition: border-color .15s, background .15s;
}
.dropzone.dragging {
	background: #f9f2ce;
	border-color: var(--green);
}
.upload-icon {
	margin: 0 auto 15px;
	width: 54px;
	height: 54px;
	background: white;
	border: 1px solid var(--line);
	border-radius: 16px;
	display: grid;
	place-items: center;
}
.drop-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 5px;
}
.drop-hint {
	font-size: 12px;
	margin-bottom: 17px;
}
.button {
	border-radius: 9px;
	border: 1px solid transparent;
	padding: 12px 17px;
	font-size: 13px;
	font-weight: 600;
	min-height: 44px;
	transition: background .15s;
}
.secondary {
	background: #fff;
	border-color: #d4dece;
	color: var(--green);
}
.secondary:hover:enabled {
	background: #f1f5ed;
}
.primary {
	background: var(--green);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}
.primary:hover:enabled {
	background: #1e3822;
}
.limit {
	font-size: 10px;
	color: var(--muted);
	line-height: 1.6;
	margin: 17px 0 0;
}
.actions {
	display: flex;
	gap: 9px;
	margin-top: 22px;
}
.actions > .primary {
	flex: 1;
}
.card-footer {
	font-size: 10px;
	text-align: center;
	color: var(--muted);
	line-height: 1.6;
	margin: 13px 0 0;
}
.list-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 23px;
}
.text-button {
	background: none;
	border: 0;
	padding: 8px;
	color: var(--green);
	font-size: 11px;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.file-list {
	list-style: none;
	margin: 5px 0 0;
	padding: 0;
	max-height: 280px;
	overflow: auto;
}
.file-row {
	display: flex;
	gap: 11px;
	padding: 14px 0;
	border-bottom: 1px solid #edf0e8;
	align-items: center;
}
.file-icon {
	background: #f1f5ed;
	border-radius: 8px;
	min-width: 32px;
	height: 38px;
	display: grid;
	place-items: center;
	font-size: 10px;
	font-weight: 600;
}
.file-info {
	flex: 1;
	min-width: 0;
}
.file-name {
	font-size: 12px;
	font-weight: 600;
	margin: 0 0 4px;
	overflow-wrap: anywhere;
}
.file-status {
	font-size: 10px;
	color: var(--muted);
	margin: 0;
	line-height: 1.6;
}
.file-status.error {
	color: #9a3525;
}
.remove-file {
	padding: 8px;
	border: 0;
	background: none;
	color: var(--muted);
	font-size: 18px;
}
.file-check {
	color: var(--green);
	font-weight: 700;
}
.total-progress {
	margin-top: 21px;
}
.total-label {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	margin-bottom: 9px;
}
.total-label strong {
	font-variant-numeric: tabular-nums;
}
progress {
	display: block;
	width: 100%;
	height: 6px;
	border: 0;
	border-radius: 10px;
	background: #edf0e8;
	overflow: hidden;
	accent-color: var(--green);
}
progress::-webkit-progress-bar {
	background: #edf0e8;
}
progress::-webkit-progress-value {
	background: var(--green);
	border-radius: 10px;
}
progress::-moz-progress-bar {
	background: var(--green);
}
#total-detail {
	font-size: 10px;
	margin-top: 7px;
}
.notice {
	font-size: 12px;
	line-height: 1.6;
	padding: 13px 15px;
	background: #f4f7ef;
	border-radius: 10px;
	margin: 18px 0 0;
	overflow-wrap: anywhere;
}
.notice.error {
	background: #fff1eb;
	color: #913b27;
}
.notice.success {
	background: #eaf3e4;
	color: var(--green);
}
.page-footer {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 56px 28px;
	display: flex;
	gap: 15px;
	justify-content: space-between;
	color: var(--muted);
	font-size: 10px;
	line-height: 1.7;
}
.page-footer a {
	color: inherit;
	text-underline-offset: 3px;
}
@media (min-width: 1500px) {
	main {
		margin-top: 90px;
	}
}
@media (max-width: 900px) {
	main {
		gap: 40px;
		margin-top: 20px;
	}
	h1 {
		font-size: 45px;
		letter-spacing: -2px;
	}
	.intro {
		padding-top: 50px;
	}
	.intro > p {
		font-size: 15px;
	}
	.topbar {
		padding: 27px 36px;
	}
	.page-footer {
		padding: 0 36px 25px;
	}
	.upload-card {
		padding: 25px;
	}
}
@media (max-width: 680px) {
	.topbar {
		padding: 24px;
	}
	.topbar img {
		width: 123px;
	}
	main {
		display: block;
		padding: 0 20px;
		margin: 10px auto 35px;
		max-width: 520px;
	}
	.intro {
		padding: 15px 4px 25px;
	}
	h1 {
		font-size: 37px;
		letter-spacing: -1.7px;
		margin: 20px 0 14px;
	}
	h1 br {
		display: none;
	}
	.intro > p {
		font-size: 14px;
		line-height: 1.6;
		margin: 0;
		max-width: none;
	}
	.intro-note {
		display: none;
	}
	.upload-card {
		padding: 22px;
		border-radius: 18px;
	}
	.card-heading {
		margin-bottom: 22px;
	}
	.dropzone {
		padding: 24px 12px 17px;
	}
	.page-footer {
		padding: 0 24px 24px;
		flex-direction: column;
		gap: 4px;
	}
	.button {
		font-size: 12px;
	}
	.file-list {
		max-height: 240px;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
.sender-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 13px;
	margin: 20px 0;
}
.sender-fields label {
	font-size: 12px;
	font-weight: 600;
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.sender-fields label:last-child {
	grid-column: 1 / -1;
}
.sender-fields input {
	width: 100%;
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--green);
	padding: 12px;
	font-size: 13px;
	min-height: 44px;
}
.sender-fields input:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 2px;
}
.sender-fields input:read-only {
	background: #f8faf5;
	color: var(--muted);
}
.sender-fields input::placeholder {
	color: #7d877e;
	font-weight: 400;
}
.actions:has(#new-transfer:not([hidden])) {
	flex-direction: column;
}
@media (max-width: 420px) {
	.sender-fields {
		grid-template-columns: 1fr;
	}
	.sender-fields label:last-child {
		grid-column: auto;
	}
}
