/* Client portal (/client-portal/), 2026-11-06. Mobile first: base styles are the phone. */
.cp {
	--cp-navy: #0e1b39;
	--cp-navy-2: #17294f;
	--cp-gold: #a3721f;
	--cp-gold-dk: #84590f;
	--cp-ink: #14213d;
	--cp-mute: #4a566d;
	--cp-line: #d5dbe8;
	--cp-bg: #f4f6fb;
	--cp-bad: #9b1c1c;
	--cp-ok: #1f7a52;
	background: var(--cp-bg);
	color: var(--cp-ink);
	font-family: Inter, system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.55;
	padding: 112px 16px 64px;
	min-height: 70vh;
}
.cp__wrap { max-width: 640px; margin: 0 auto; }
.cp__head { text-align: left; margin-bottom: 24px; }
.cp__eyebrow { color: var(--cp-gold-dk); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 16px; margin: 0 0 8px; }
.cp__title { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.8rem); line-height: 1.15; font-weight: 600; color: var(--cp-navy); margin: 0 0 12px; text-wrap: balance; }
.cp__lead { color: var(--cp-mute); margin: 0 0 12px; text-wrap: pretty; }
.cp__new { margin: 0; font-size: 18px; }
.cp__new a, .cp__link { color: var(--cp-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cp__new a:hover, .cp__link:hover { color: var(--cp-gold-dk); }

.cp__card {
	background: #fff; border: 1px solid var(--cp-line); border-radius: 20px;
	padding: 24px 20px; box-shadow: 0 1px 2px rgba(14, 27, 57, .06), 0 16px 40px -24px rgba(14, 27, 57, .35);
}
.cp__count { margin: 0 0 4px; color: var(--cp-gold-dk); font-weight: 600; font-size: 16px; }
.cp__h { font-size: 1.5rem; line-height: 1.25; font-weight: 600; color: var(--cp-navy); margin: 0 0 16px; outline: none; }
.cp__label { display: block; font-weight: 600; margin: 16px 0 8px; padding: 0; color: var(--cp-navy); }
.cp__hint { color: var(--cp-mute); font-size: 18px; margin: 8px 0 16px; }
.cp__chosen { background: var(--cp-bg); border-radius: 12px; padding: 12px 16px; margin: 0 0 8px; font-weight: 600; color: var(--cp-navy); overflow-wrap: anywhere; }

.cp__input {
	width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 16px; font: inherit; color: var(--cp-ink);
	background: #fff; border: 2px solid var(--cp-line); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
.cp__input:hover { border-color: #9aa6c0; }
.cp__input:focus { outline: none; border-color: var(--cp-gold); box-shadow: 0 0 0 4px rgba(163, 114, 31, .25); }
.cp__input--code { font-size: 1.75rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.cp__input--area { min-height: 180px; resize: vertical; }
.cp__counter { text-align: right; margin: 4px 0 8px; color: var(--cp-mute); font-size: 18px; font-variant-numeric: tabular-nums; }
.cp__counter.is-over { color: var(--cp-bad); font-weight: 600; }
.cp__file { width: 100%; font: inherit; min-height: 48px; }
.cp__file::file-selector-button {
	min-height: 48px; padding: 0 20px; margin-right: 12px; font: inherit; font-weight: 600; color: var(--cp-navy);
	background: #fff; border: 2px solid var(--cp-navy); border-radius: 12px; cursor: pointer;
}
.cp__file::file-selector-button:hover { background: var(--cp-bg); }

.cp__btn {
	display: block; width: 100%; min-height: 56px; margin: 16px 0 0; padding: 0 24px; font: inherit; font-weight: 600;
	color: #fff; background: var(--cp-navy); border: 0; border-radius: 14px; cursor: pointer;
	transition: transform .12s, background .15s, box-shadow .15s; box-shadow: 0 8px 20px -10px rgba(14, 27, 57, .7);
}
.cp__btn:hover { background: var(--cp-navy-2); transform: translateY(-1px); }
.cp__btn:active { transform: translateY(1px); box-shadow: none; }
.cp__btn:focus-visible, .cp__link:focus-visible, .cp__pick:focus-visible, .cp__type:focus-within, .cp__new a:focus-visible {
	outline: 3px solid var(--cp-gold); outline-offset: 3px;
}
.cp__btn:disabled { opacity: .65; cursor: progress; }
.cp__btn.is-busy::after { content: " ..."; }
.cp__link { background: none; border: 0; font: inherit; min-height: 48px; padding: 0 4px; margin-top: 8px; cursor: pointer; }

.cp__status { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #e8f3ed; color: #14543a; font-weight: 500; overflow-wrap: anywhere; }
.cp__status--bad { background: #fbeaea; color: var(--cp-bad); }

.cp__picks { display: grid; gap: 12px; }
.cp__pick {
	display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 12px 16px; text-align: left;
	font: inherit; font-weight: 600; color: var(--cp-navy); background: #fff; border: 2px solid var(--cp-line);
	border-radius: 16px; cursor: pointer; transition: transform .12s, border-color .15s, box-shadow .15s;
}
.cp__pick:hover { border-color: var(--cp-gold); box-shadow: 0 10px 24px -16px rgba(14, 27, 57, .5); transform: translateY(-2px); }
.cp__pick:active { transform: translateY(0); }
.cp__pick-icon {
	flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--cp-navy) center / 26px no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3'/%3E%3C/svg%3E");
}
.cp__pick--digital-card .cp__pick-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Ccircle cx='9' cy='12' r='2'/%3E%3Cpath d='M14 10h4M14 14h3'/%3E%3C/svg%3E");
}
.cp__pick--other .cp__pick-icon {
	background-color: var(--cp-gold-dk);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.cp__pick-text { overflow-wrap: anywhere; }

.cp__types { border: 0; margin: 0; padding: 0; min-width: 0; }
.cp__type {
	display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; margin: 0 0 8px;
	border: 2px solid var(--cp-line); border-radius: 14px; cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s;
}
.cp__type:hover { border-color: var(--cp-gold); }
.cp__type:has(input:checked) { border-color: var(--cp-navy); background: var(--cp-bg); }
.cp__type input { flex: none; width: 24px; height: 24px; accent-color: var(--cp-navy); }
.cp__done { text-align: center; }
.cp__note { color: var(--cp-bad); }

@media (min-width: 768px) {
	.cp { padding: 144px 24px 96px; }
	.cp__card { padding: 36px 40px; }
	.cp__btn { width: auto; min-width: 240px; }
	.cp__done .cp__btn { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.cp__btn, .cp__pick, .cp__input { transition: none; }
	.cp__btn:hover, .cp__pick:hover { transform: none; }
}

.cp__who { margin: 0 0 8px; color: var(--cp-mute); }
.cp__link--inline { display: inline; min-height: 48px; margin: 0 0 0 8px; padding: 12px 4px; }

.cp__sr { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cp__drop { border: 2px dashed var(--cp-line); border-radius: 16px; padding: 16px; text-align: center; transition: border-color .15s, background .15s; }
.cp__drop.is-over { border-color: var(--cp-gold); background: var(--cp-bg); }
.cp__addfiles {
	display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; font-weight: 600; cursor: pointer;
	color: var(--cp-navy); background: #fff; border: 2px solid var(--cp-navy); border-radius: 14px; transition: background .15s, transform .12s;
}
.cp__addfiles:hover { background: var(--cp-bg); }
.cp__addfiles:active { transform: translateY(1px); }
.cp__drop:focus-within .cp__addfiles { outline: 3px solid var(--cp-gold); outline-offset: 3px; }
.cp__files { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.cp__file-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--cp-line); border-radius: 12px; }
.cp__file-name { overflow-wrap: anywhere; font-weight: 600; }
.cp__file-note { grid-column: 1 / -1; font-size: 18px; color: var(--cp-mute); }
.cp__file-note.is-bad { color: var(--cp-bad); font-weight: 600; }
.cp__file-x { min-height: 48px; min-width: 48px; font: inherit; font-weight: 600; color: var(--cp-navy); background: none; border: 2px solid var(--cp-line); border-radius: 12px; cursor: pointer; }
.cp__file-x:hover { border-color: var(--cp-bad); color: var(--cp-bad); }
.cp__file-x:focus-visible { outline: 3px solid var(--cp-gold); outline-offset: 2px; }
.cp__bar { grid-column: 1 / -1; height: 10px; background: var(--cp-bg); border-radius: 6px; overflow: hidden; }
.cp__bar > span { display: block; height: 100%; width: 0; background: var(--cp-gold); transition: width .2s; }
.cp__file-row.is-done .cp__bar > span { background: var(--cp-ok); }

.cp__btn--ghost { color: var(--cp-navy); background: #fff; border: 2px solid var(--cp-navy); box-shadow: none; }
.cp__btn--ghost:hover { background: var(--cp-bg); }
