.mobile-refund-open {
	overflow: hidden;
}

.mobile-refund-layer[hidden] {
	display: none !important;
}

.mobile-refund-layer {
	align-items: stretch;
	background: rgba(15, 23, 42, 0.38);
	display: flex;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 1210;
}

.mobile-refund-panel {
	background: #f6fbf7;
	box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.22);
	color: #17211b;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	width: min(100%, 720px);
}

.mobile-refund-header {
	align-items: center;
	background: rgba(246, 251, 247, 0.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(35, 102, 65, 0.12);
	display: flex;
	gap: 12px;
	padding: 14px 16px;
	position: sticky;
	top: 0;
	z-index: 2;
}

.mobile-refund-header div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.mobile-refund-header span {
	color: #597064;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mobile-refund-header strong {
	font-size: 1.1rem;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.mobile-refund-close,
.mobile-refund-secondary,
.mobile-refund-link {
	background: #ffffff;
	border: 1px solid rgba(35, 102, 65, 0.16);
	border-radius: 999px;
	color: #216143;
	cursor: pointer;
	font-weight: 800;
	padding: 10px 14px;
}

.mobile-refund-link {
	font-size: 0.78rem;
	padding: 7px 10px;
}

.mobile-refund-body {
	align-content: start;
	display: grid;
	flex: 1;
	gap: 12px;
	overflow: auto;
	padding: 14px 14px calc(92px + env(safe-area-inset-bottom));
	-webkit-overflow-scrolling: touch;
}

.mobile-refund-summary,
.mobile-refund-row,
.mobile-refund-review,
.mobile-refund-success {
	background: #ffffff;
	border: 1px solid rgba(35, 102, 65, 0.12);
	border-radius: 18px;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.mobile-refund-summary {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	overflow: hidden;
}

.mobile-refund-summary div {
	background: linear-gradient(180deg, #ffffff, #f8fcf9);
	display: grid;
	gap: 4px;
	padding: 12px;
}

.mobile-refund-summary span,
.mobile-refund-row label,
.mobile-refund-review span {
	color: #6a7d70;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mobile-refund-summary strong,
.mobile-refund-review strong {
	color: #122017;
	font-size: 1rem;
	overflow-wrap: anywhere;
}

.mobile-refund-summary .is-over span,
.mobile-refund-summary .is-over strong {
	color: #b42318;
}

.mobile-refund-notice,
.mobile-refund-warning {
	background: #eaf7ef;
	border-radius: 14px;
	color: #2d6243;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	padding: 11px 12px;
}

.mobile-refund-warning {
	background: #fff7ed;
	border: 1px solid rgba(194, 100, 26, 0.2);
	color: #7c3d12;
}

.mobile-refund-error,
.mobile-refund-state {
	border-radius: 14px;
	font-weight: 800;
	line-height: 1.35;
	padding: 12px;
}

.mobile-refund-error,
.mobile-refund-state.is-error {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #9f1239;
}

.mobile-refund-state:not(.is-error) {
	background: #eaf7ef;
	border: 1px solid rgba(35, 102, 65, 0.14);
	color: #216143;
}

.mobile-refund-state strong,
.mobile-refund-state span {
	display: block;
}

.mobile-refund-state span {
	font-weight: 700;
	margin-top: 4px;
}

.mobile-refund-rows {
	display: grid;
	gap: 12px;
}

.mobile-refund-row {
	display: grid;
	gap: 11px;
	padding: 14px;
}

.mobile-refund-row__head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.mobile-refund-row label {
	display: grid;
	gap: 6px;
}

.mobile-refund-row input,
.mobile-refund-row select {
	background: #fbfefc;
	border: 1px solid rgba(35, 102, 65, 0.16);
	border-radius: 13px;
	color: #17211b;
	font-size: 1rem;
	min-height: 46px;
	padding: 12px;
	width: 100%;
}

.mobile-refund-assist {
	color: #60766a;
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
}

.mobile-refund-row input:focus,
.mobile-refund-row select:focus,
.mobile-refund-close:focus-visible,
.mobile-refund-secondary:focus-visible,
.mobile-refund-link:focus-visible {
	outline: 3px solid rgba(34, 197, 94, 0.28);
	outline-offset: 2px;
}

.mobile-refund-actions {
	display: grid;
	gap: 10px;
}

.mobile-refund-actions .mobile-action-button,
.mobile-refund-actions .mobile-refund-secondary {
	justify-content: center;
	min-height: 48px;
	width: 100%;
}

.mobile-refund-review {
	display: grid;
	overflow: hidden;
}

.mobile-refund-review div {
	border-bottom: 1px solid rgba(35, 102, 65, 0.1);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 12px;
}

.mobile-refund-review div:last-child {
	border-bottom: 0;
}

.mobile-refund-confirm {
	align-items: flex-start;
	background: #ffffff;
	border: 1px solid rgba(35, 102, 65, 0.12);
	border-radius: 16px;
	color: #243d34;
	display: flex;
	font-weight: 700;
	gap: 10px;
	line-height: 1.35;
	padding: 12px;
}

.mobile-refund-confirm input {
	accent-color: #176b4d;
	margin-top: 3px;
	min-height: 18px;
	min-width: 18px;
}

.mobile-refund-success {
	display: grid;
	gap: 12px;
	padding: 16px;
}

.mobile-refund-success h2 {
	color: #12382d;
	font-size: 1.35rem;
	line-height: 1.2;
	margin: 0;
}

.mobile-refund-success p {
	color: #587060;
	font-weight: 700;
	margin: 0;
}

@media (min-width: 760px) {
	.mobile-refund-body {
		padding-bottom: 24px;
	}

	.mobile-refund-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
