.psa-portal {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #17324d;
	background: linear-gradient(180deg, #f4f1eb 0%, #fbfaf7 38%, #ffffff 100%);
	padding: 24px;
	border-radius: 28px;
}

.psa-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
	background: linear-gradient(135deg, #18314f, #406882);
	color: #fff9ee;
	border-radius: 28px;
	margin-bottom: 24px;
}

.psa-kicker {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 12px;
	opacity: 0.78;
	margin: 0 0 8px;
}

.psa-shell {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 24px;
}

.psa-how-it-works {
	display: grid;
	gap: 18px;
	margin-bottom: 24px;
}

.psa-how-it-works__header {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 20px;
	align-items: start;
}

.psa-how-it-works__header h2 {
	margin: 0;
	font-size: 30px;
	line-height: 1.15;
	color: #17324d;
}

.psa-how-it-works__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.psa-how-card {
	position: relative;
	padding: 18px 16px 16px;
	border-radius: 20px;
	background: linear-gradient(180deg, #f8fbfd, #eef4f8);
	border: 1px solid rgba(24, 49, 79, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
	min-width: 0;
}

.psa-how-card__step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: #18314f;
	color: #fff8ef;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 12px;
}

.psa-how-card h3 {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.25;
	color: #17324d;
}

.psa-how-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(23, 50, 77, 0.82);
}

.psa-sidebar,
.psa-main {
	display: grid;
	gap: 24px;
}

.psa-card,
.psa-subcard {
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(24, 49, 79, 0.08);
	border-radius: 24px;
	padding: 22px;
	box-shadow: 0 18px 40px rgba(24, 49, 79, 0.08);
	min-width: 0;
	overflow: hidden;
}

.psa-sidebar-help {
	margin: 0 0 14px;
	color: rgba(23, 50, 77, 0.74);
	font-size: 14px;
	line-height: 1.45;
}

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

.psa-grid-2 > * {
	min-width: 0;
}

.psa-form,
.psa-subcard form {
	display: grid;
	gap: 16px;
}

.psa-form label,
.psa-subcard form {
	display: grid;
	gap: 8px;
}

.psa-form input,
.psa-form select,
.psa-form textarea,
.psa-subcard input,
.psa-subcard select,
.psa-subcard textarea {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	border-radius: 14px;
	border: 1px solid #cbd6df;
	padding: 12px 14px;
	background: #ffffff;
	box-sizing: border-box;
}

.psa-form input[type="datetime-local"],
.psa-subcard input[type="datetime-local"] {
	-webkit-appearance: none;
	appearance: none;
	min-width: 0;
}

.psa-primary,
.psa-secondary,
.psa-list-item {
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.psa-primary {
	background: #dd6a36;
	color: #fff;
	box-shadow: 0 12px 24px rgba(221, 106, 54, 0.24);
}

.psa-secondary {
	background: #eff4f7;
	color: #17324d;
}

.psa-list-item {
	display: grid;
	gap: 4px;
	text-align: left;
	background: #fffaf4;
	color: #17324d;
	width: 100%;
	margin-bottom: 10px;
	border: 1px solid rgba(221, 106, 54, 0.18);
	border-radius: 18px;
	padding: 14px 16px;
	box-shadow: 0 8px 18px rgba(24, 49, 79, 0.05);
}

.psa-list-item__title {
	font-size: 15px;
	line-height: 1.35;
}

.psa-list-item__policy {
	font-size: 13px;
	line-height: 1.4;
	color: rgba(23, 50, 77, 0.88);
	word-break: break-word;
}

.psa-list-item__meta {
	font-size: 12px;
	line-height: 1.4;
	color: rgba(23, 50, 77, 0.72);
}

.psa-primary:hover,
.psa-secondary:hover,
.psa-list-item:hover {
	transform: translateY(-1px);
}

.psa-list-item.is-active {
	background: linear-gradient(135deg, #18314f, #355d79);
	color: #fff8ef;
	border-color: rgba(24, 49, 79, 0.42);
	box-shadow: 0 14px 26px rgba(24, 49, 79, 0.18);
}

.psa-list-item.is-active small,
.psa-list-item.is-active span {
	color: rgba(255, 248, 239, 0.88);
}

.psa-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.psa-steps span {
	padding: 8px 12px;
	background: #eef3f6;
	border-radius: 999px;
	font-size: 13px;
}

.psa-steps .is-active {
	background: #18314f;
	color: #fff;
}

.psa-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.psa-feedback,
.psa-note,
.psa-muted,
.psa-error,
.psa-inline-note,
.psa-file-preview {
	border-radius: 16px;
	padding: 14px;
	background: #fff6df;
}

.psa-note {
	background: #eef7fb;
}

.psa-error {
	background: #fde8e8;
}

.psa-hidden {
	display: none !important;
}

.psa-dropzone {
	border: 2px dashed rgba(24, 49, 79, 0.18);
	border-radius: 22px;
	padding: 18px;
	background: #fcfcfb;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.psa-dropzone.is-dragover {
	border-color: #dd6a36;
	background: #fff2e8;
}

.psa-detail-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.psa-timeline,
.psa-subcard ul {
	margin: 0;
	padding-left: 18px;
	display: grid;
	gap: 10px;
}

.psa-timeline {
	padding-left: 0;
	list-style: none;
	gap: 14px;
}

.psa-timeline li {
	position: relative;
	padding: 14px 16px 14px 48px;
	border-radius: 18px;
	background: linear-gradient(180deg, #f9fbfd, #eef4f8);
	border: 1px solid rgba(24, 49, 79, 0.08);
	overflow-wrap: anywhere;
}

.psa-timeline li strong,
.psa-timeline li span,
.psa-timeline li p,
.psa-comment-item p,
.psa-comment-meta strong,
.psa-comment-meta small {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.psa-timeline li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 18px;
	width: 14px;
	height: 14px;
	border-radius: 999px;
	background: #dd6a36;
	box-shadow: 0 0 0 6px rgba(221, 106, 54, 0.12);
}

.psa-timeline li span {
	display: inline-block;
	margin-top: 4px;
	font-size: 12px;
	color: rgba(23, 50, 77, 0.7);
}

.psa-timeline li p {
	margin: 8px 0 0;
}

.psa-checklist-wrap {
	margin-top: 6px;
}

.psa-checklist-list,
.psa-missing-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 12px;
}

.psa-checklist-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fbfd, #eef4f8);
	border: 1px solid rgba(24, 49, 79, 0.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.psa-checklist-item--empty {
	background: linear-gradient(180deg, #fffaf1, #fff4df);
}

.psa-checklist-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: rgba(221, 106, 54, 0.12);
	color: #dd6a36;
	font-size: 14px;
	line-height: 1;
	flex: 0 0 28px;
	margin-top: 2px;
}

.psa-checklist-item__content {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.psa-checklist-item__content strong {
	font-size: 15px;
	line-height: 1.4;
	color: #17324d;
}

.psa-checklist-item__content small {
	font-size: 12px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: rgba(23, 50, 77, 0.62);
}

.psa-missing-note {
	margin-top: 14px;
	background: linear-gradient(180deg, #fff7e9, #fff1d3);
}

.psa-missing-item {
	position: relative;
	padding-left: 18px;
	line-height: 1.45;
}

.psa-missing-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #dd6a36;
}

.psa-policy-item {
	display: grid;
	padding: 12px;
	border-radius: 18px;
	background: #eff4f7;
	margin-bottom: 10px;
	gap: 12px;
	border: 1px solid rgba(24, 49, 79, 0.08);
}

.psa-policy-item__main {
	display: flex;
	align-items: center;
	gap: 12px;
}

.psa-policy-icon {
	display: block;
	width: 46px;
	height: 58px;
	object-fit: contain;
	flex: 0 0 46px;
}

.psa-policy-link {
	color: #17324d;
	font-weight: 600;
	text-decoration: none;
}

.psa-policy-link:hover {
	text-decoration: underline;
}

.psa-file-item,
.psa-uploaded-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #f7fafc;
	border: 1px solid rgba(24, 49, 79, 0.08);
	min-width: 0;
}

.psa-file-item > div,
.psa-uploaded-item__content {
	display: grid;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
}

.psa-file-item a,
.psa-file-name {
	display: block;
	font-weight: 600;
	color: #d63f6f;
	text-decoration: none;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.35;
}

.psa-file-item a:hover {
	text-decoration: underline;
}

.psa-file-item small,
.psa-file-meta {
	display: block;
	color: rgba(23, 50, 77, 0.8);
	font-size: 13px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.psa-file-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #eef3f6;
	font-size: 12px;
	white-space: nowrap;
	flex: 0 0 auto;
}

.psa-comment-item {
	list-style: none;
	padding: 12px 14px;
	border-radius: 16px;
	background: #f7fafc;
	border: 1px solid rgba(24, 49, 79, 0.08);
}

.psa-comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.psa-comment-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: #eef3f6;
	font-size: 12px;
}

.psa-uploaded-list {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.psa-progress {
	width: 100%;
	height: 10px;
	border-radius: 999px;
	background: #e6edf2;
	overflow: hidden;
	margin-bottom: 10px;
}

.psa-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #dd6a36, #f4a261);
}

.psa-progress-bar.is-indeterminate {
	width: 40%;
	animation: psa-progress-slide 1.2s infinite ease-in-out;
}

@keyframes psa-progress-slide {
	0% { transform: translateX(-120%); }
	100% { transform: translateX(320%); }
}

.psa-empty-state,
.psa-empty-detail {
	padding: 24px;
	text-align: center;
	background: #fff;
	border-radius: 20px;
}

.psa-login-card {
	max-width: 520px;
	margin: 0 auto;
	box-shadow: 0 18px 40px rgba(24, 49, 79, 0.08);
}

.psa-login-form-wrap {
	margin-top: 20px;
	text-align: left;
}

.psa-login-form-wrap form {
	display: grid;
	gap: 14px;
}

.psa-login-form-wrap label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #17324d;
}

.psa-login-form-wrap input[type="text"],
.psa-login-form-wrap input[type="password"],
.psa-login-form-wrap input[type="email"] {
	width: 100%;
	border-radius: 14px;
	border: 1px solid #cbd6df;
	padding: 12px 14px;
	background: #ffffff;
	box-sizing: border-box;
}

.psa-login-form-wrap .login-remember {
	display: flex;
	align-items: center;
	gap: 10px;
}

.psa-login-form-wrap .login-remember label {
	margin: 0;
	font-weight: 500;
}

.psa-login-form-wrap .button,
.psa-login-form-wrap input[type="submit"] {
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	cursor: pointer;
	background: #dd6a36;
	color: #fff;
	box-shadow: 0 12px 24px rgba(221, 106, 54, 0.24);
}

@media (max-width: 960px) {
	.psa-portal {
		padding: 18px;
		border-radius: 24px;
	}

	.psa-shell,
	.psa-grid-2,
	.psa-hero,
	.psa-detail-header {
		grid-template-columns: 1fr;
		display: grid;
	}

	.psa-hero {
		padding: 22px;
		gap: 18px;
	}

	.psa-how-it-works__header,
	.psa-how-it-works__grid {
		grid-template-columns: 1fr;
	}

	.psa-card,
	.psa-subcard {
		padding: 18px;
		border-radius: 22px;
	}

	.psa-actions {
		gap: 10px;
	}

	.psa-primary,
	.psa-secondary {
		width: 100%;
		text-align: center;
		justify-content: center;
	}

	.psa-policy-item__main,
	.psa-file-item,
	.psa-uploaded-item {
		align-items: flex-start;
	}

	.psa-login-card {
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.psa-portal {
		padding: 14px;
		border-radius: 20px;
	}

	.psa-hero {
		padding: 18px;
		border-radius: 22px;
	}

	.psa-how-it-works__header h2 {
		font-size: 26px;
	}

	.psa-how-card {
		padding: 16px 14px 14px;
		border-radius: 18px;
	}

	.psa-hero h1 {
		font-size: 28px;
		line-height: 1.15;
		margin: 0 0 10px;
	}

	.psa-hero p {
		font-size: 14px;
		line-height: 1.5;
	}

	.psa-card,
	.psa-subcard,
	.psa-empty-state,
	.psa-empty-detail {
		padding: 16px;
		border-radius: 18px;
	}

	.psa-list-item {
		padding: 12px 14px;
		border-radius: 16px;
	}

	.psa-list-item__title {
		font-size: 14px;
	}

	.psa-list-item__policy,
	.psa-list-item__meta,
	.psa-sidebar-help {
		font-size: 12px;
	}

	.psa-steps {
		gap: 8px;
	}

	.psa-steps span {
		font-size: 12px;
		line-height: 1.3;
		padding: 7px 10px;
	}

	.psa-form,
	.psa-subcard form {
		gap: 14px;
	}

	.psa-form input,
	.psa-form select,
	.psa-form textarea,
	.psa-subcard input,
	.psa-subcard select,
	.psa-subcard textarea {
		padding: 11px 12px;
		font-size: 16px;
	}

	.psa-primary,
	.psa-secondary,
	.psa-list-item,
	.psa-login-form-wrap .button,
	.psa-login-form-wrap input[type="submit"] {
		min-height: 48px;
	}

	.psa-timeline li {
		padding: 14px 14px 14px 42px;
	}

	.psa-timeline li::before {
		left: 14px;
		top: 18px;
	}

	.psa-policy-item {
		padding: 10px;
	}

	.psa-policy-item__main {
		gap: 10px;
	}

	.psa-policy-icon {
		width: 40px;
		height: 50px;
		flex: 0 0 40px;
	}

	.psa-file-item,
	.psa-uploaded-item,
	.psa-comment-item,
	.psa-checklist-item {
		padding: 12px;
		border-radius: 14px;
	}

	.psa-file-item,
	.psa-uploaded-item {
		flex-direction: column;
	}

	.psa-file-status {
		align-self: flex-start;
	}

	.psa-comment-meta {
		gap: 6px;
	}
}

@media (max-width: 560px) {
	.psa-portal {
		padding: 12px;
	}

	.psa-hero h1 {
		font-size: 24px;
	}

	.psa-how-it-works__header h2 {
		font-size: 22px;
	}

	.psa-how-card h3 {
		font-size: 16px;
	}

	.psa-how-card p {
		font-size: 13px;
	}

	.psa-card h2,
	.psa-card h3,
	.psa-subcard h2,
	.psa-subcard h3 {
		font-size: 22px;
		line-height: 1.2;
	}

	.psa-kicker {
		font-size: 11px;
	}

	.psa-feedback,
	.psa-note,
	.psa-muted,
	.psa-error,
	.psa-inline-note,
	.psa-file-preview {
		padding: 12px;
		font-size: 13px;
		line-height: 1.45;
	}

	.psa-detail-header {
		gap: 12px;
	}

	.psa-checklist-item__content strong,
	.psa-file-item a,
	.psa-file-name,
	.psa-policy-link {
		font-size: 14px;
	}

	.psa-checklist-item__content small,
	.psa-file-item small,
	.psa-file-meta,
	.psa-comment-badge,
	.psa-file-status {
		font-size: 11px;
	}
}
