/* United Medical Wholesale: New Account Application */

@font-face {
	font-family: 'UMW Great Vibes';
	src: url('fonts/great-vibes-latin-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'UMW Dancing Script';
	src: url('fonts/dancing-script-latin-600.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'UMW Homemade Apple';
	src: url('fonts/homemade-apple-latin-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.umw-app,
.umw-landing {
	--umw-brand: #007bcf;
	--umw-brand-dark: #0069b3;
	--umw-brand-soft: #eaf4fc;
	--umw-navy: #06295a;
	--umw-ink: #14213d;
	--umw-text: #33415c;
	--umw-muted: #64748b;
	--umw-line: #dde5ef;
	--umw-field: #c9d5e3;
	--umw-danger: #c62828;
	--umw-ok: #18794e;
}

.umw-app,
.umw-app *,
.umw-app *::before,
.umw-app *::after,
.umw-landing,
.umw-landing * {
	box-sizing: border-box;
}

.umw-app [hidden],
.umw-landing [hidden] {
	display: none !important;
}

html.umw-locked,
html.umw-locked body {
	overflow: hidden !important;
}

.umw-has-js .umw-app:not(.umw-js) {
	display: none;
}

.umw-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.unitedmed-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Theme resets ------------------------------------------------------ */

.umw-app button {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	height: auto;
	letter-spacing: normal;
	line-height: 1.2;
	margin: 0;
	min-height: 0;
	min-width: 0;
	padding: 0;
	text-align: inherit;
	text-shadow: none;
	text-transform: none;
	width: auto;
}

.umw-app button:disabled {
	cursor: default;
}

.umw-app :focus-visible {
	outline: 3px solid rgba(0, 123, 207, 0.5);
	outline-offset: 2px;
}

.umw-app h2,
.umw-app h3,
.umw-app h4,
.umw-app h5 {
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.umw-app label {
	font-weight: inherit;
}

.umw-app p {
	margin-top: 0;
}

/* Modal shell ------------------------------------------------------- */

.umw-app.umw-js {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: var(--umw-text);
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}

.umw-app.umw-js:not(.is-open) {
	display: none;
}

.umw-app__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 20, 46, 0.58);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.umw-app.is-visible .umw-app__backdrop {
	opacity: 1;
}

.umw-app__dialog {
	position: relative;
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	width: min(1120px, calc(100vw - 48px));
	height: min(860px, calc(100vh - 48px));
	height: min(860px, calc(100dvh - 48px));
	overflow: hidden;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 90px rgba(4, 20, 46, 0.38);
	opacity: 0;
	transform: translateY(14px) scale(0.985);
	transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
	outline: none;
}

.umw-app.is-visible .umw-app__dialog {
	opacity: 1;
	transform: none;
}

/* Rail -------------------------------------------------------------- */

.umw-rail {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 0;
	padding: 28px 20px 24px;
	overflow-y: auto;
	color: #fff;
	background: linear-gradient(180deg, #06295a 0%, #0a3c7c 100%);
}

.umw-rail__brand img {
	display: block;
	width: 172px;
	max-width: 100%;
	height: auto;
}

.umw-rail__kicker {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.umw-rail__steps {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.umw-rail__step {
	margin: 0;
	padding: 0;
}

.umw-app .umw-rail__btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 44px;
	padding: 7px 10px;
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	transition: background 0.15s, color 0.15s;
}

.umw-app .umw-rail__btn:disabled {
	opacity: 0.55;
}

.umw-app .umw-rail__btn:not(:disabled):hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.umw-rail__dot {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1.5px solid rgba(255, 255, 255, 0.36);
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.umw-rail__dot svg {
	display: none;
}

.umw-rail__step.is-current .umw-rail__btn {
	background: rgba(255, 255, 255, 0.13);
	color: #fff;
}

.umw-rail__step.is-current .umw-rail__dot {
	background: #fff;
	border-color: #fff;
	color: var(--umw-navy);
}

.umw-rail__step.is-done .umw-rail__btn {
	color: #fff;
}

.umw-rail__step.is-done .umw-rail__dot {
	background: var(--umw-brand);
	border-color: var(--umw-brand);
}

.umw-rail__step.is-done .umw-rail__num {
	display: none;
}

.umw-rail__step.is-done .umw-rail__dot svg {
	display: block;
}

.umw-rail__help {
	display: grid;
	gap: 2px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.66);
}

.umw-rail__help p {
	margin: 0 0 2px;
}

.umw-rail__help a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.umw-rail__help a:hover {
	text-decoration: underline;
}

/* Main column ------------------------------------------------------- */

.umw-main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	background: #fff;
}

.umw-top {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px 16px 30px;
	border-bottom: 1px solid var(--umw-line);
}

.umw-top__count {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--umw-brand);
}

.umw-app .umw-top__title {
	margin: 2px 0 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--umw-navy);
}

.umw-app .umw-icon-btn {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--umw-muted);
	transition: background 0.15s, color 0.15s;
}

.umw-app .umw-icon-btn:hover {
	background: #eef3f9;
	color: var(--umw-navy);
}

.umw-progress {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
}

.umw-progress__bar {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 0 3px 3px 0;
	background: linear-gradient(90deg, #007bcf, #38a6ec);
	transition: width 0.35s ease;
}

.umw-app .umw-form {
	flex: 1;
	min-height: 0;
	margin: 0;
	padding: 26px 30px 36px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.umw-step__head {
	margin-bottom: 22px;
}

.umw-step__meta {
	margin: 0 0 8px;
	font-size: 12px;
	color: var(--umw-muted);
}

.umw-app .umw-step__bar {
	display: block;
	margin: 0;
	padding: 9px 14px;
	border-radius: 6px;
	background: var(--umw-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
	outline: none;
}

.umw-app .umw-step__bar:focus-visible {
	box-shadow: 0 0 0 3px rgba(0, 123, 207, 0.45);
}

.umw-step__lede {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--umw-text);
}

/* Layout grid ------------------------------------------------------- */

.umw-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 18px 16px;
}

.umw-span-3 {
	grid-column: span 3;
}

.umw-span-4 {
	grid-column: span 4;
}

.umw-span-6 {
	grid-column: span 6;
}

.umw-span-12 {
	grid-column: 1 / -1;
}

/* Fields ------------------------------------------------------------ */

.umw-field {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.umw-label-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 22px;
	margin-bottom: 6px;
}

.umw-app .umw-label {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--umw-navy);
}

.umw-app legend.umw-label {
	margin-bottom: 8px;
}

.umw-req {
	margin-left: 3px;
	color: #d14343;
}

.umw-req.is-conditional {
	display: none;
}

.umw-field.is-required > .umw-label-row .umw-req.is-conditional {
	display: inline;
}

.umw-app .umw-input {
	display: block;
	width: 100%;
	height: auto;
	min-height: 46px;
	margin: 0;
	padding: 11px 13px;
	border: 1.5px solid var(--umw-field);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: var(--umw-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.35;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.umw-app .umw-input:hover {
	border-color: #a9bbd0;
}

.umw-app .umw-input:focus {
	border-color: var(--umw-brand);
	box-shadow: 0 0 0 3px rgba(0, 123, 207, 0.18);
	outline: none;
}

.umw-app .umw-input::placeholder {
	color: #94a3b8;
	opacity: 1;
}

.umw-app .umw-input[readonly] {
	background: #f3f6fa;
	color: var(--umw-muted);
}

.umw-app .umw-textarea {
	min-height: 92px;
	resize: vertical;
}

.umw-field.is-invalid .umw-input {
	border-color: #d14343;
	box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
}

.umw-field.is-valid:not(.is-invalid) .umw-input {
	border-color: #95cfa9;
}

.umw-select-wrap {
	position: relative;
}

.umw-select-wrap::after {
	position: absolute;
	top: 50%;
	right: 15px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--umw-muted);
	border-bottom: 2px solid var(--umw-muted);
	transform: translateY(-70%) rotate(45deg);
	content: '';
	pointer-events: none;
}

.umw-app .umw-select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 38px;
	background-image: none;
	text-overflow: ellipsis;
}

.umw-hint {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--umw-muted);
}

.umw-msg {
	margin: 6px 0 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--umw-danger);
}

.umw-msg:empty {
	display: none;
}

.umw-compound {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.umw-compound__row {
	gap: 10px;
}

.umw-compound .umw-label-row {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

/* Toggle ------------------------------------------------------------ */

.umw-toggle-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border: 1.5px dashed var(--umw-field);
	border-radius: 12px;
	background: #f8fbfe;
}

.umw-app .umw-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--umw-ink);
	cursor: pointer;
}

.umw-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.umw-switch__track {
	position: relative;
	flex: none;
	width: 46px;
	height: 28px;
	border-radius: 14px;
	background: #c3cfdd;
	transition: background 0.2s;
}

.umw-switch__thumb {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s;
}

.umw-switch input:checked + .umw-switch__track {
	background: var(--umw-brand);
}

.umw-switch input:checked + .umw-switch__track .umw-switch__thumb {
	transform: translateX(18px);
}

.umw-switch input:focus-visible + .umw-switch__track {
	box-shadow: 0 0 0 3px rgba(0, 123, 207, 0.35);
}

.umw-reveal.is-entering,
.umw-doc.is-entering {
	animation: umw-reveal 0.32s ease both;
}

@keyframes umw-reveal {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Choice cards ------------------------------------------------------ */

.umw-choice {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.umw-label__aside {
	margin-left: 8px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--umw-muted);
}

.umw-choice__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
}

.umw-app .umw-option {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.umw-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.umw-option__box {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	min-height: 58px;
	padding: 12px 38px 12px 14px;
	border: 1.5px solid #cfdae7;
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.umw-option:hover .umw-option__box {
	border-color: #9fb7d1;
}

.umw-option input:checked + .umw-option__box {
	border-color: var(--umw-brand);
	background: #f1f8fe;
	box-shadow: 0 0 0 1px var(--umw-brand);
}

.umw-option input:focus-visible + .umw-option__box {
	box-shadow: 0 0 0 3px rgba(0, 123, 207, 0.32);
}

.umw-option__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: #eef4fb;
	color: var(--umw-navy);
	transition: background 0.15s, color 0.15s;
}

.umw-option input:checked + .umw-option__box .umw-option__icon {
	background: var(--umw-brand);
	color: #fff;
}

.umw-option__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.umw-option__label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--umw-ink);
}

.umw-option__hint {
	font-size: 13px;
	line-height: 1.4;
	color: var(--umw-muted);
}

.umw-option__tick {
	position: absolute;
	top: 50%;
	right: 12px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	border: 1.5px solid #c3cfdd;
	border-radius: 50%;
	background: #fff;
	color: transparent;
	transition: background 0.15s, border-color 0.15s;
}

.umw-option input[type='checkbox'] + .umw-option__box .umw-option__tick {
	border-radius: 6px;
}

.umw-option input:checked + .umw-option__box .umw-option__tick {
	border-color: var(--umw-brand);
	background: var(--umw-brand);
	color: #fff;
}

.umw-choice--pills .umw-choice__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.umw-choice--pills .umw-option__box {
	min-height: 44px;
	padding: 9px 18px;
	border-radius: 999px;
}

.umw-choice--pills .umw-option__tick {
	display: none;
}

.umw-choice--tiles .umw-choice__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.umw-choice--tiles .umw-option__box {
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 108px;
	padding: 14px;
}

.umw-choice--tiles .umw-option__tick {
	top: 14px;
	margin-top: 0;
}

.umw-choice--two .umw-choice__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.umw-choice.is-invalid .umw-option__box {
	border-color: #e5a3a3;
}

/* Helpers ----------------------------------------------------------- */

.umw-subhead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 12px;
	margin-top: 4px;
	padding-top: 18px;
	border-top: 1px solid var(--umw-line);
}

.umw-subhead > span {
	font-size: 14px;
	font-weight: 700;
	color: var(--umw-navy);
}

.umw-app .umw-chip-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--umw-brand-soft);
	color: #005c9c;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.15s, color 0.15s;
}

.umw-app .umw-chip-btn:hover {
	background: #dcecf9;
}

.umw-chip-btn__done {
	display: none;
}

.umw-app .umw-chip-btn.is-done {
	background: #e5f5ea;
	color: var(--umw-ok);
}

.umw-chip-btn.is-done .umw-chip-btn__label {
	display: none;
}

.umw-chip-btn.is-done .umw-chip-btn__done {
	display: inline;
}

.umw-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #f1d38c;
	border-radius: 10px;
	background: #fff8e7;
	color: #6f4b00;
	font-size: 14px;
}

.umw-note svg {
	flex: none;
	margin-top: 2px;
}

.umw-app .umw-link-btn {
	display: inline;
	color: var(--umw-brand);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.umw-app .umw-link-btn:hover {
	color: var(--umw-brand-dark);
}

.umw-ref {
	margin-top: 12px;
	padding: 16px;
	border: 1px solid var(--umw-line);
	border-radius: 12px;
	background: #fbfdff;
}

.umw-ref:first-child {
	margin-top: 0;
}

.umw-ref__title {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--umw-navy);
}

.umw-banner {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #f3c2c2;
	border-radius: 10px;
	background: #fdeeee;
	color: #8a1c1c;
	font-size: 14px;
	font-weight: 600;
}

.umw-restored {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 14px;
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid #cfe5f7;
	border-radius: 10px;
	background: #eef6fd;
	color: #0b4a7d;
	font-size: 14px;
}

.umw-app .umw-restored .umw-link-btn.is-armed {
	color: #b42318;
}

/* Tooltips ---------------------------------------------------------- */

.umw-tip {
	position: relative;
	display: inline-block;
}

.umw-tip > summary {
	list-style: none;
}

.umw-tip > summary::-webkit-details-marker {
	display: none;
}

.umw-tip__btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: -4px 0;
	border-radius: 50%;
	color: var(--umw-brand);
	cursor: pointer;
	transition: background 0.15s;
}

.umw-tip__btn::after {
	position: absolute;
	inset: -8px;
	content: '';
}

.umw-tip__btn:hover,
.umw-tip[open] .umw-tip__btn {
	background: #e3f0fb;
}

.umw-tip__panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	z-index: 20;
	width: min(340px, calc(100vw - 40px));
	padding: 14px 16px;
	border-radius: 12px;
	background: #0d2447;
	box-shadow: 0 16px 40px rgba(4, 20, 46, 0.36);
	color: #e6eef9;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.5;
	text-transform: none;
	transform: translateX(calc(-50% + var(--umw-tip-shift, 0px)));
	animation: umw-fade 0.16s ease both;
}

.umw-tip__panel::before {
	position: absolute;
	top: -6px;
	left: calc(50% - 6px - var(--umw-tip-shift, 0px));
	width: 12px;
	height: 12px;
	border-radius: 2px;
	background: #0d2447;
	transform: rotate(45deg);
	content: '';
}

.umw-tip__title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.umw-tip__list {
	display: grid;
	gap: 8px;
	margin: 0;
}

.umw-tip__list dt {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8cc5f0;
}

.umw-tip__list dd {
	margin: 2px 0 0;
}

.umw-tip__list a {
	color: #fff;
	text-decoration: underline;
	overflow-wrap: anywhere;
}

@keyframes umw-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Documents --------------------------------------------------------- */

.umw-docs {
	display: grid;
	gap: 14px;
}

.umw-doc {
	position: relative;
	padding: 16px;
	border: 1.5px solid var(--umw-line);
	border-radius: 14px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.umw-doc.has-files {
	border-color: #b5dcc2;
}

.umw-doc.is-invalid {
	border-color: #e5a3a3;
}

.umw-doc.is-drag {
	border-color: var(--umw-brand);
	box-shadow: 0 0 0 4px rgba(0, 123, 207, 0.14);
}

.umw-doc__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.umw-doc__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #eef4fb;
	color: var(--umw-navy);
}

.umw-doc.has-files .umw-doc__icon {
	background: #e5f5ea;
	color: var(--umw-ok);
}

.umw-doc__titles {
	flex: 1;
	min-width: 0;
}

.umw-doc__titles .umw-label-row {
	flex-wrap: wrap;
	margin-bottom: 2px;
}

.umw-doc__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--umw-ink);
}

.umw-badge {
	padding: 3px 8px;
	border-radius: 999px;
	background: #eef2f6;
	color: #5b6b80;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.umw-badge.is-required {
	background: #fdecec;
	color: #b42318;
}

.umw-doc__hint {
	margin: 0;
	font-size: 13px;
	color: var(--umw-muted);
}

.umw-app .umw-drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	min-height: 96px;
	padding: 16px;
	border: 1.5px dashed #a9c3dd;
	border-radius: 12px;
	background: #f6faff;
	color: var(--umw-navy);
	text-align: center;
	transition: background 0.15s, border-color 0.15s;
}

.umw-app .umw-drop:hover,
.umw-doc.is-drag .umw-drop {
	border-color: var(--umw-brand);
	background: #eaf4fd;
}

.umw-drop svg {
	color: var(--umw-brand);
}

.umw-drop__main {
	font-size: 15px;
	font-weight: 600;
}

.umw-drop__link {
	color: var(--umw-brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.umw-drop__touch {
	display: none;
}

.umw-drop__sub {
	font-size: 12px;
	color: var(--umw-muted);
}

@media (hover: none) and (pointer: coarse) {
	.umw-drop__desk {
		display: none;
	}

	.umw-drop__touch {
		display: inline;
	}
}

.umw-app.umw-js .umw-doc.is-full .umw-drop {
	display: none;
}

.umw-app.umw-js .umw-file {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.umw-chips {
	display: grid;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.umw-chips:empty {
	display: none;
}

.umw-doc.is-full .umw-chips {
	margin-top: 0;
}

.umw-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--umw-line);
	border-radius: 12px;
	background: #fff;
	animation: umw-reveal 0.25s ease both;
}

.umw-chip__thumb {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 8px;
	background: #e8eef6;
	color: var(--umw-navy);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.umw-chip__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.umw-chip__body {
	display: grid;
	flex: 1;
	gap: 2px;
	min-width: 0;
}

.umw-chip__name {
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	color: var(--umw-ink);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.umw-chip__meta {
	font-size: 12px;
	color: var(--umw-ok);
}

.umw-chip__actions {
	display: flex;
	flex: none;
	gap: 2px;
}

.umw-app .umw-chip__btn {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--umw-brand);
	font-size: 13px;
	font-weight: 600;
}

.umw-app .umw-chip__btn:hover {
	background: var(--umw-brand-soft);
}

.umw-app .umw-chip__btn--remove {
	padding: 0;
	color: var(--umw-muted);
}

/* Review ------------------------------------------------------------ */

.umw-review {
	display: grid;
	gap: 18px;
}

.umw-card {
	padding: 18px;
	border: 1px solid var(--umw-line);
	border-radius: 14px;
	background: #fff;
}

.umw-card--login {
	background: linear-gradient(180deg, #f4f9ff 0%, #fff 100%);
}

.umw-app .umw-card__head h4 {
	margin: 0 0 4px;
	font-size: 16px;
	color: var(--umw-navy);
}

.umw-card__head p {
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--umw-muted);
	overflow-wrap: anywhere;
}

.umw-card__head strong {
	color: var(--umw-ink);
}

.umw-strength {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	max-width: 280px;
	margin-top: 12px;
}

.umw-strength span {
	height: 4px;
	border-radius: 2px;
	background: #e2e8f0;
	transition: background 0.2s;
}

.umw-strength[data-score='1'] span:nth-child(-n + 1) {
	background: #ef4444;
}

.umw-strength[data-score='2'] span:nth-child(-n + 2) {
	background: #f59e0b;
}

.umw-strength[data-score='3'] span:nth-child(-n + 3) {
	background: #22c55e;
}

.umw-strength[data-score='4'] span {
	background: #16a34a;
}

.umw-summary {
	display: grid;
	gap: 14px;
}

.umw-summary__section {
	padding-top: 12px;
	border-top: 1px solid var(--umw-line);
}

.umw-summary__section:first-child {
	padding-top: 0;
	border-top: 0;
}

.umw-summary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}

.umw-app .umw-summary__head h5 {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--umw-navy);
}

.umw-app .umw-summary__head .umw-link-btn {
	padding: 10px 0 10px 12px;
	font-size: 14px;
}

.umw-summary dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 18px;
	margin: 0;
}

.umw-summary dl > div {
	min-width: 0;
}

.umw-summary dt {
	margin: 0;
	font-size: 12px;
	color: var(--umw-muted);
}

.umw-summary dd {
	margin: 1px 0 0;
	font-size: 14px;
	color: var(--umw-ink);
	white-space: pre-line;
	overflow-wrap: anywhere;
}

.umw-cert {
	overflow: hidden;
	padding-bottom: 18px;
	border: 1px solid var(--umw-line);
	border-radius: 14px;
}

.umw-app .umw-step__bar--sub {
	border-radius: 0;
}

.umw-cert__text {
	margin: 14px 18px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--umw-text);
}

.umw-cert > .umw-check-field {
	margin: 0 18px 18px;
}

.umw-sign-grid {
	padding: 0 18px;
}

.umw-app .umw-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 44px;
	margin: 0;
	padding: 11px 12px;
	border-radius: 10px;
	background: #f4f8fc;
	color: var(--umw-ink);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.5;
	text-transform: none;
	cursor: pointer;
}

.umw-check input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.umw-check__box {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border: 1.5px solid #9fb3c8;
	border-radius: 6px;
	background: #fff;
	color: transparent;
	transition: background 0.15s, border-color 0.15s;
}

.umw-check input:checked + .umw-check__box {
	border-color: var(--umw-brand);
	background: var(--umw-brand);
	color: #fff;
}

.umw-check input:focus-visible + .umw-check__box {
	box-shadow: 0 0 0 3px rgba(0, 123, 207, 0.35);
}

.umw-check-field.is-invalid .umw-check {
	background: #fdf0f0;
}

.umw-check-field.is-invalid .umw-check__box {
	border-color: #d14343;
}

.umw-app .umw-sig-box {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 92px;
	overflow: hidden;
	border: 1.5px dashed #9fb7d1;
	border-radius: 12px;
	background: #fbfdff;
	color: var(--umw-brand);
	transition: border-color 0.15s, background 0.15s;
}

.umw-app .umw-sig-box::after {
	position: absolute;
	right: 18px;
	bottom: 18px;
	left: 18px;
	border-bottom: 1px solid var(--umw-field);
	content: '';
}

.umw-app .umw-sig-box:hover {
	border-color: var(--umw-brand);
	background: #f3f9ff;
}

.umw-app .umw-sig-box.is-invalid {
	border-color: #d14343;
	background: #fff7f7;
}

.umw-app .umw-sig-box.is-signed {
	border-style: solid;
	border-color: #b5dcc2;
	background: #fff;
}

.umw-sig-box__empty {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
}

.umw-sig-box__empty.is-filled {
	position: absolute;
	top: 7px;
	right: 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--umw-muted);
}

.umw-sig-box__empty.is-filled svg {
	display: none;
}

.umw-sig-box__img {
	position: relative;
	z-index: 1;
	max-width: calc(100% - 40px);
	max-height: 72px;
	object-fit: contain;
}

.umw-sig-meta {
	margin: 6px 0 0;
	font-size: 12px;
	color: var(--umw-muted);
}

/* Footer and buttons ------------------------------------------------ */

.umw-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 30px;
	border-top: 1px solid var(--umw-line);
	background: #fff;
}

.umw-foot__saved {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	color: var(--umw-muted);
	opacity: 0;
	transition: opacity 0.3s;
}

.umw-foot__saved.is-visible {
	opacity: 1;
}

.umw-foot__saved::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	content: '';
}

.umw-foot__actions {
	display: flex;
	gap: 10px;
	margin-left: auto;
}

.umw-app .umw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}

.umw-app .umw-btn--primary {
	background: var(--umw-brand);
	box-shadow: 0 6px 16px rgba(0, 123, 207, 0.28);
	color: #fff;
}

.umw-app .umw-btn--primary:hover {
	background: var(--umw-brand-dark);
	color: #fff;
}

.umw-app .umw-btn--primary:active {
	transform: translateY(1px);
}

.umw-app .umw-btn--primary:disabled {
	cursor: progress;
	opacity: 0.6;
}

.umw-app .umw-btn--ghost {
	border: 1.5px solid #cfdae7;
	background: #fff;
	color: var(--umw-navy);
}

.umw-app .umw-btn--ghost:hover {
	border-color: #9fb7d1;
	background: #f7fafd;
	color: var(--umw-navy);
}

.umw-app .umw-btn.is-hidden {
	visibility: hidden;
}

.is-shake {
	animation: umw-shake 0.4s;
}

@keyframes umw-shake {
	20%,
	60% {
		transform: translateX(-5px);
	}

	40%,
	80% {
		transform: translateX(5px);
	}
}

/* Done and sending -------------------------------------------------- */

.umw-done {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 28px;
	overflow-y: auto;
	background: #fff;
	text-align: center;
	outline: none;
}

.umw-app.is-done .umw-rail,
.umw-app.is-done .umw-main {
	visibility: hidden;
}

.umw-done__mark {
	color: #16a34a;
	animation: umw-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.umw-app .umw-done__title {
	margin: 14px 0 6px;
	font-size: 28px;
	color: var(--umw-navy);
}

.umw-done__ref {
	margin: 0;
	color: var(--umw-muted);
}

.umw-done__ref strong {
	color: var(--umw-ink);
	letter-spacing: 0.04em;
}

.umw-done__lede {
	max-width: 520px;
	margin: 10px auto 22px;
	color: var(--umw-text);
	overflow-wrap: anywhere;
}

.umw-done__next {
	display: grid;
	gap: 12px;
	max-width: 520px;
	margin: 0 auto 26px;
	padding: 0;
	list-style: none;
	counter-reset: umw-next;
	text-align: left;
}

.umw-done__next li {
	display: grid;
	grid-template-columns: 32px 1fr;
	column-gap: 12px;
	counter-increment: umw-next;
}

.umw-done__next li::before {
	display: grid;
	grid-row: span 2;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--umw-brand-soft);
	color: var(--umw-brand);
	font-weight: 800;
	content: counter(umw-next);
}

.umw-done__next strong {
	color: var(--umw-ink);
}

.umw-done__next span {
	font-size: 14px;
	color: var(--umw-muted);
}

.umw-done__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

@keyframes umw-pop {
	from {
		opacity: 0;
		transform: scale(0.7);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.umw-sending {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.umw-sending__card {
	width: min(380px, calc(100% - 48px));
	text-align: center;
}

.umw-sending__title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: var(--umw-navy);
}

.umw-sending__track {
	position: relative;
	height: 8px;
	overflow: hidden;
	border-radius: 4px;
	background: #e2e8f0;
}

.umw-sending__bar {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 4px;
	background: var(--umw-brand);
	transition: width 0.2s;
}

.umw-sending.is-indeterminate .umw-sending__bar {
	width: 40%;
	animation: umw-indeterminate 1.1s ease-in-out infinite;
}

@keyframes umw-indeterminate {
	from {
		transform: translateX(-100%);
	}

	to {
		transform: translateX(250%);
	}
}

.umw-sending__detail {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--umw-muted);
}

/* Signature drawer -------------------------------------------------- */

.umw-drawer {
	position: fixed;
	inset: 0;
	z-index: 100002;
}

.umw-drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(4, 20, 46, 0.45);
	opacity: 0;
	transition: opacity 0.25s;
}

.umw-drawer.is-open .umw-drawer__scrim {
	opacity: 1;
}

.umw-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(560px, 100vw);
	background: #fff;
	box-shadow: -20px 0 60px rgba(4, 20, 46, 0.3);
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
	outline: none;
}

.umw-drawer.is-open .umw-drawer__panel {
	transform: none;
}

.umw-drawer__panel.is-dragging {
	transition: none;
}

.umw-drawer__grab {
	display: none;
}

.umw-drawer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 20px 14px 24px;
	border-bottom: 1px solid var(--umw-line);
}

.umw-app .umw-drawer__head h3 {
	margin: 0 0 4px;
	font-size: 20px;
	color: var(--umw-navy);
}

.umw-drawer__head p {
	margin: 0;
	font-size: 14px;
	color: var(--umw-muted);
}

.umw-drawer__body {
	display: grid;
	flex: 1;
	align-content: start;
	gap: 18px;
	padding: 18px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.umw-tabs {
	display: inline-flex;
	justify-self: start;
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	background: #eef3f9;
}

.umw-app .umw-tab {
	min-height: 40px;
	padding: 0 20px;
	border-radius: 9px;
	color: var(--umw-muted);
	font-size: 14px;
	font-weight: 700;
	transition: background 0.15s, color 0.15s;
}

.umw-app .umw-tab[aria-selected='true'] {
	background: #fff;
	box-shadow: 0 1px 3px rgba(4, 20, 46, 0.16);
	color: var(--umw-navy);
}

.umw-pad {
	position: relative;
	height: 200px;
	overflow: hidden;
	border: 1.5px solid #cfdae7;
	border-radius: 14px;
	background: #fff;
}

.umw-pad__canvas {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	cursor: crosshair;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
}

.umw-pad__guide {
	position: absolute;
	right: 22px;
	bottom: 44px;
	left: 22px;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	gap: 8px;
	color: #9fb3c8;
	pointer-events: none;
}

.umw-pad__x {
	font-size: 22px;
	line-height: 1;
}

.umw-pad__line {
	flex: 1;
	margin-bottom: 4px;
	border-bottom: 1.5px solid var(--umw-field);
}

.umw-pad__hint {
	position: absolute;
	top: 38%;
	right: 0;
	left: 0;
	z-index: 1;
	margin: 0;
	color: #94a3b8;
	font-size: 15px;
	text-align: center;
	transform: translateY(-50%);
	pointer-events: none;
}

.umw-pad__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
}

.umw-app .umw-tool {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	color: var(--umw-navy);
	font-size: 14px;
	font-weight: 600;
}

.umw-app .umw-tool:hover:not(:disabled) {
	background: #eef3f9;
}

.umw-app .umw-tool:disabled {
	opacity: 0.4;
}

.umw-pad__status {
	margin-left: auto;
	font-size: 13px;
	font-weight: 600;
	color: var(--umw-ok);
}

.umw-pad__status.is-error {
	color: var(--umw-danger);
}

.umw-tabpanel > .umw-label {
	margin-bottom: 6px;
}

.umw-fonts {
	display: grid;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
}

.umw-app .umw-font {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.umw-font input {
	position: absolute;
	opacity: 0;
}

.umw-font__sample {
	display: flex;
	align-items: center;
	min-height: 72px;
	padding: 8px 18px;
	overflow: hidden;
	border: 1.5px solid #cfdae7;
	border-radius: 12px;
	color: #0c1f45;
	font-size: 34px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.umw-font input:checked + .umw-font__sample {
	border-color: var(--umw-brand);
	background: #f3f9ff;
	box-shadow: 0 0 0 1px var(--umw-brand);
}

.umw-font input:focus-visible + .umw-font__sample {
	box-shadow: 0 0 0 3px rgba(0, 123, 207, 0.32);
}

.umw-font--great-vibes {
	font-family: 'UMW Great Vibes', cursive;
}

.umw-font--dancing-script {
	font-family: 'UMW Dancing Script', cursive;
	font-weight: 600;
}

.umw-font--homemade-apple {
	font-family: 'UMW Homemade Apple', cursive;
	font-size: 25px;
}

.umw-drawer__signer {
	gap: 14px;
}

.umw-drawer__date {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.umw-drawer__date-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--umw-ink);
}

.umw-drawer__foot {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 14px 24px;
	padding-bottom: calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--umw-line);
}

/* Confirm ----------------------------------------------------------- */

.umw-confirm {
	position: fixed;
	inset: 0;
	z-index: 100003;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(4, 20, 46, 0.5);
}

.umw-confirm__card {
	width: min(440px, 100%);
	padding: 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(4, 20, 46, 0.35);
	animation: umw-pop 0.22s ease both;
}

.umw-app .umw-confirm__card h3 {
	margin: 0 0 8px;
	font-size: 19px;
	color: var(--umw-navy);
}

.umw-confirm__card p {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--umw-text);
}

.umw-confirm__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

/* Phone: full-screen sheet ------------------------------------------ */

@media (max-width: 760px) {
	.umw-app.umw-js {
		align-items: stretch;
		padding: 0;
	}

	.umw-app__dialog {
		grid-template-columns: minmax(0, 1fr);
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		border-radius: 0;
		transform: translateY(24px);
	}

	.umw-rail {
		display: none;
	}

	.umw-top {
		padding: 10px 8px 12px 16px;
		padding-top: calc(10px + env(safe-area-inset-top));
	}

	.umw-app .umw-top__title {
		font-size: 16px;
	}

	.umw-app .umw-form {
		padding: 18px 16px 28px;
	}

	.umw-foot {
		padding: 10px 16px;
		padding-bottom: calc(10px + env(safe-area-inset-bottom));
	}

	.umw-foot__saved {
		display: none;
	}

	.umw-foot__actions {
		width: 100%;
	}

	.umw-foot__actions .umw-btn {
		flex: 1;
		padding: 0 14px;
	}

	.umw-app .umw-btn--ghost.is-hidden {
		display: none;
	}

	.umw-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.umw-span-3,
	.umw-span-4,
	.umw-span-6,
	.umw-span-12 {
		grid-column: 1 / -1;
	}

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

	.umw-compound__row > .umw-field.umw-span-6 {
		grid-column: auto;
	}

	.umw-choice__grid,
	.umw-choice--two .umw-choice__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.umw-choice--tiles .umw-choice__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.umw-app .umw-chip-btn {
		min-height: 44px;
	}

	.umw-summary dl {
		grid-template-columns: minmax(0, 1fr);
	}

	.umw-cert__text {
		margin: 14px;
	}

	.umw-cert > .umw-check-field {
		margin: 0 14px 16px;
	}

	.umw-sign-grid {
		padding: 0 14px;
	}

	.umw-drawer__panel {
		top: auto;
		left: 0;
		width: 100%;
		max-height: 94vh;
		max-height: 94dvh;
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -20px 60px rgba(4, 20, 46, 0.3);
		transform: translateY(100%);
	}

	.umw-drawer__grab {
		display: flex;
		justify-content: center;
		padding: 10px 0 2px;
		touch-action: none;
	}

	.umw-drawer__grab span {
		width: 40px;
		height: 5px;
		border-radius: 3px;
		background: #cbd5e1;
	}

	.umw-drawer__head {
		padding: 6px 8px 12px 18px;
		touch-action: none;
	}

	.umw-drawer__body {
		padding: 14px 18px;
	}

	.umw-drawer__signer .umw-span-6 {
		grid-column: 1 / -1;
	}

	.umw-pad {
		height: 180px;
	}

	.umw-drawer__foot {
		padding: 12px 18px;
		padding-bottom: calc(12px + env(safe-area-inset-bottom));
	}

	.umw-drawer__foot .umw-btn {
		flex: 1;
	}

	.umw-app .umw-done__title {
		font-size: 24px;
	}
}

/* Landing page ------------------------------------------------------ */

.umw-landing {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
	align-items: start;
	gap: 28px;
	margin: 10px 0 34px;
	font-size: 16px;
	text-align: left;
}

.umw-landing__hero {
	position: relative;
	overflow: hidden;
	padding: 38px 36px;
	border-radius: 20px;
	background: radial-gradient(120% 140% at 100% 0%, #0a4c9a 0%, #06295a 55%, #041c3f 100%);
	color: #fff;
}

.umw-landing__hero::after {
	position: absolute;
	top: -80px;
	right: -80px;
	width: 260px;
	height: 260px;
	border: 40px solid rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	content: '';
	pointer-events: none;
}

.umw-landing__eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9fd2f7;
}

.umw-landing .umw-landing__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.12;
	color: #fff;
}

.umw-landing__lede {
	max-width: 560px;
	margin: 0 0 26px;
	font-size: 17px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.86);
}

.umw-landing__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.umw-landing a.umw-landing__start {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 12px;
	background: #007bcf;
	box-shadow: 0 10px 24px rgba(0, 123, 207, 0.4);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s, transform 0.1s;
}

.umw-landing a.umw-landing__start:hover,
.umw-landing a.umw-landing__start:focus {
	background: #1a8fde;
	color: #fff;
}

.umw-landing__resume {
	font-size: 14px;
	color: #cfe7fa;
}

.umw-landing__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.82);
}

.umw-landing__facts li {
	margin: 0;
}

.umw-landing__facts li::before {
	margin-right: 6px;
	color: #6cc4ff;
	font-weight: 700;
	content: '\2713';
}

.umw-landing__card {
	padding: 26px;
	border: 1px solid #dfe7f1;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(6, 41, 90, 0.08);
}

.umw-landing__card h2 {
	margin: 0 0 16px;
	font-size: 18px;
	color: #06295a;
}

.umw-landing__list {
	display: grid;
	gap: 12px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.umw-landing__list li {
	position: relative;
	margin: 0;
	padding-left: 30px;
	font-size: 15px;
	line-height: 1.45;
	color: #33415c;
}

.umw-landing__list li::before {
	position: absolute;
	top: 2px;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e6f1fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23007bcf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
	content: '';
}

.umw-landing__list strong {
	display: block;
	color: #14213d;
}

.umw-landing__list span {
	font-size: 13px;
	color: #64748b;
}

.umw-landing__help {
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid #e5ecf4;
	font-size: 14px;
	color: #64748b;
}

.umw-landing__help a {
	color: #007bcf;
	font-weight: 600;
}

@media (max-width: 860px) {
	.umw-landing {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.umw-landing__hero {
		padding: 28px 22px;
	}

	.umw-landing a.umw-landing__start {
		justify-content: center;
		width: 100%;
	}
}

/* No-JavaScript fallback -------------------------------------------- */

.umw-app:not(.umw-js) {
	margin: 24px 0;
	color: #33415c;
}

.umw-app:not(.umw-js) .umw-app__backdrop,
.umw-app:not(.umw-js) .umw-rail,
.umw-app:not(.umw-js) .umw-top,
.umw-app:not(.umw-js) .umw-foot,
.umw-app:not(.umw-js) .umw-drawer,
.umw-app:not(.umw-js) .umw-confirm,
.umw-app:not(.umw-js) .umw-done,
.umw-app:not(.umw-js) .umw-sending,
.umw-app:not(.umw-js) .umw-drop,
.umw-app:not(.umw-js) .umw-sig-box,
.umw-app:not(.umw-js) .umw-chip-btn,
.umw-app:not(.umw-js) .umw-strength,
.umw-app:not(.umw-js) .umw-card--summary,
.umw-app:not(.umw-js) [data-umw-npi-note] {
	display: none;
}

.umw-app:not(.umw-js) .umw-app__dialog {
	display: block;
	width: auto;
	height: auto;
	overflow: visible;
	border-radius: 0;
	box-shadow: none;
	opacity: 1;
	transform: none;
}

.umw-app:not(.umw-js) .umw-form {
	padding: 0;
	overflow: visible;
}

.umw-app:not(.umw-js) .umw-step {
	margin-bottom: 30px;
}

.umw-noscript-submit {
	margin-top: 10px;
}

/* Signed-in notice -------------------------------------------------- */

.umw-signed-in .button {
	margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
	.umw-app *,
	.umw-app *::before,
	.umw-app *::after,
	.umw-landing * {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
