.reap-container {
	box-sizing: border-box;
	width: min(1120px, calc(100% - 32px));
	margin: 32px auto;
	color: #1f2933;
	font-family: inherit;
}

.reap-container *,
.reap-container *::before,
.reap-container *::after {
	box-sizing: border-box;
}

.reap-container-narrow,
.reap-auth-wrap {
	width: min(560px, calc(100% - 32px));
}

.reap-card {
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(31, 41, 51, 0.08);
	padding: 28px;
}

.reap-auth-card,
.reap-status-card {
	text-align: left;
}

.reap-logo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	margin-bottom: 18px;
	padding: 8px 12px;
	border: 1px solid #d8e0ea;
	border-radius: 999px;
	background: #f7fafc;
	color: #2f5f8f;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.reap-container h2,
.reap-container h3,
.reap-container h4 {
	margin: 0;
	color: #17212f;
	line-height: 1.25;
	letter-spacing: 0;
}

.reap-container h2 {
	font-size: 28px;
}

.reap-container h3 {
	margin-bottom: 18px;
	font-size: 20px;
}

.reap-container h4 {
	margin-bottom: 6px;
	font-size: 17px;
}

.reap-subtitle {
	margin: 10px 0 22px;
	color: #5e6c7b;
	font-size: 15px;
	line-height: 1.6;
}

.reap-form {
	display: grid;
	gap: 18px;
}

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

.reap-form label {
	display: grid;
	gap: 8px;
	color: #25364a;
	font-size: 14px;
	font-weight: 700;
}

.reap-form input,
.reap-form textarea,
.reap-form select,
.reap-compact-form input {
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	border: 1px solid #cfd8e3;
	border-radius: 10px;
	background: #fff;
	color: #17212f;
	font: inherit;
	font-weight: 400;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.reap-form textarea {
	min-height: 104px;
	resize: vertical;
}

.reap-form input:focus,
.reap-form textarea:focus,
.reap-form select:focus,
.reap-compact-form input:focus {
	border-color: #2f6fae;
	box-shadow: 0 0 0 3px rgba(47, 111, 174, 0.14);
	outline: none;
}

.reap-form input[readonly] {
	background: #f8fafc;
	color: #637083;
	cursor: not-allowed;
}

.reap-help {
	display: block;
	color: #637083;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
}

.reap-password-wrap {
	position: relative;
	display: block;
}

.reap-password-wrap input {
	padding-right: 52px;
}

.reap-container .reap-password-toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 34px;
	min-height: 34px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: #245f9f;
	box-shadow: none;
	transform: translateY(-50%);
}

.reap-container .reap-password-toggle:hover,
.reap-container .reap-password-toggle:focus {
	background: #eef4fb;
	border-color: #d8e0ea;
	color: #1d4f86;
	box-shadow: none;
	transform: translateY(-50%);
}

.reap-eye-icon,
.reap-eye-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.reap-eye-icon {
	margin: 0 auto;
}

.reap-eye-icon svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.reap-eye-closed,
.reap-password-toggle.is-visible .reap-eye-open {
	display: none;
}

.reap-password-toggle.is-visible .reap-eye-closed {
	display: block;
}

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

.reap-inline {
	display: flex !important;
	grid-template-columns: none !important;
	align-items: center;
	gap: 8px;
	color: #4e5d6c;
	font-weight: 600;
}

.reap-inline input {
	width: auto;
	min-height: auto;
	margin: 0;
}

.reap-button,
.reap-container button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 18px;
	border: 0;
	border-radius: 10px;
	background: #245f9f;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.reap-button:hover,
.reap-container button:hover {
	background: #1d4f86;
	color: #fff;
	box-shadow: 0 10px 22px rgba(36, 95, 159, 0.22);
	transform: translateY(-1px);
	text-decoration: none;
}

.reap-button-full {
	width: 100%;
}

.reap-auth-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	font-size: 14px;
}

.reap-auth-links-center {
	justify-content: center;
}

.reap-auth-links a {
	color: #245f9f;
	font-weight: 700;
	text-decoration: none;
}

.reap-auth-links a:hover {
	text-decoration: underline;
}

.reap-note,
.reap-empty {
	padding: 13px 14px;
	border: 1px solid #d8e0ea;
	border-radius: 10px;
	background: #f8fafc;
	color: #5b6876;
	font-size: 14px;
	line-height: 1.5;
}

.reap-alert {
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.55;
}

.reap-alert p {
	margin: 0 0 8px;
}

.reap-alert p:last-child {
	margin-bottom: 0;
}

.reap-alert-success {
	border-color: #b8e3c5;
	background: #effaf2;
	color: #155724;
}

.reap-alert-error {
	border-color: #f0b9b9;
	background: #fff2f2;
	color: #9f1d1d;
}

.reap-alert-info {
	border-color: #bdd7f0;
	background: #eef7ff;
	color: #214b73;
}

.reap-status-card {
	text-align: center;
}

.reap-status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: #effaf2;
	color: #155724;
	font-size: 14px;
	font-weight: 900;
}

.reap-status-badge {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin-bottom: 14px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #eef4fb;
	color: #245f9f;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.reap-dashboard {
	display: grid;
	gap: 22px;
}

.reap-welcome-card {
	background: linear-gradient(135deg, #ffffff 0%, #f3f8fd 100%);
}

.reap-dashboard-header-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: start;
}

.reap-header-account {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 8px;
	min-width: 280px;
	padding: 22px 18px;
	border: 1px solid #dbe5ef;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.75);
}

.reap-account-avatar {
	width: 72px;
	height: 72px;
	overflow: hidden;
	border: 3px solid #eef4fb;
	border-radius: 999px;
	background: #eef4fb;
}

.reap-account-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.reap-header-account strong {
	color: #17212f;
}

.reap-header-account span {
	color: #637083;
	font-size: 13px;
}

.reap-account-link-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 4px 0;
}

.reap-account-link-row a {
	color: #245f9f;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.reap-account-link-row a:hover {
	text-decoration: underline;
}

.reap-account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 16px;
}

.reap-account-card {
	display: grid;
	gap: 12px;
	margin-bottom: 18px;
}

.reap-account-card div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #eef2f6;
}

.reap-account-card div:last-child {
	border-bottom: 0;
}

.reap-account-card span {
	color: #637083;
}

.reap-account-card strong {
	color: #17212f;
	text-align: right;
}

.reap-account-edit {
	margin: 0 0 18px;
	padding: 14px;
	border: 1px solid #dbe5ef;
	border-radius: 12px;
	background: #f8fbff;
}

.reap-account-edit summary {
	color: #245f9f;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.reap-account-edit .reap-form {
	margin-top: 14px;
}

.reap-account-edit .reap-button {
	justify-self: start;
}

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

.reap-upload-form .reap-button {
	justify-self: start;
}

.reap-file-list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.reap-file-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	border-bottom: 1px solid #eef2f6;
}

.reap-file-list li:last-child {
	border-bottom: 0;
}

.reap-file-list a {
	color: #245f9f;
	font-weight: 800;
	text-decoration: none;
}

.reap-file-list a:hover {
	text-decoration: underline;
}

.reap-file-list span,
.reap-folder p {
	color: #637083;
	font-size: 13px;
}

.reap-folder {
	margin-top: 14px;
	padding: 18px;
	border: 1px solid #e3e8ef;
	border-radius: 12px;
	background: #fbfdff;
}

.reap-folder-summary {
	margin-bottom: 16px;
	padding: 14px 16px;
	border: 1px solid #dbe5ef;
	border-radius: 10px;
	background: #fff;
}

.reap-folder-summary h4 {
	margin: 0 0 6px;
}

.reap-folder-summary p {
	margin: 0;
}

.reap-compact-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	align-items: stretch;
	margin-top: 16px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.reap-compact-form .reap-file-field {
	display: grid;
	gap: 8px;
}

.reap-folder-upload-heading {
	margin-bottom: 2px;
	color: #17212f;
	font-size: 14px;
	font-weight: 700;
}

.reap-folder-upload-field {
	display: grid;
	gap: 7px;
	color: #42526a;
	font-size: 13px;
	font-weight: 600;
}

.reap-compact-form input[type="file"] {
	padding: 10px 12px;
	background: #fff;
}

.reap-compact-form .reap-help {
	margin-top: 0;
	line-height: 1.45;
}

.reap-compact-form .reap-button {
	justify-self: start;
	min-width: 120px;
	margin-top: 2px;
}

.reap-card-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
}

.reap-card-toolbar h3 {
	margin-bottom: 0;
}

.reap-filter-row {
	margin-top: 18px;
	max-width: 760px;
}

.reap-dashboard-search {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid #cfd8e3;
	border-radius: 12px;
	background: #fff;
	color: #17212f;
	font: inherit;
}

.reap-dashboard-search:focus {
	border-color: #2f6fae;
	box-shadow: 0 0 0 3px rgba(47, 111, 174, 0.14);
	outline: none;
}

.reap-upload-toggle {
	white-space: nowrap;
}

.reap-upload-panel {
	margin: 0 0 18px;
	padding: 18px;
	border: 1px solid #dbe5ef;
	border-radius: 12px;
	background: #f8fbff;
}

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

.reap-button-small {
	min-height: 36px;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}

.reap-button-muted {
	background: #eef2f6;
	color: #334155;
}

.reap-button-muted:hover {
	background: #e2e8f0;
	color: #1e293b;
}

.reap-document-list {
	display: grid;
	gap: 12px;
}

.reap-inline-delete-form {
	display: inline-flex;
	margin: 0;
}

.reap-button-danger {
	background: #eef2f6;
	color: #334155;
	box-shadow: none;
}

.reap-button-danger:hover {
	background: #fef2f2;
	color: #991b1b;
	box-shadow: none;
}

.reap-document-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: start;
	padding: 15px;
	border: 1px solid #edf1f5;
	border-radius: 12px;
	background: #fff;
}

.reap-document-main h4 {
	margin: 0 0 8px;
	font-size: 16px;
}

.reap-document-main p {
	margin: 10px 0 0;
	color: #5b6876;
	font-size: 14px;
	line-height: 1.5;
}

.reap-document-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: #637083;
	font-size: 12px;
}

.reap-document-meta span {
	padding: 3px 8px;
	border-radius: 999px;
	background: #f1f5f9;
}

.reap-document-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.reap-delete-form {
	margin: 0;
}

.reap-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.reap-container button.reap-tag,
.reap-tag {
	min-height: 0;
	padding: 5px 9px;
	border: 1px solid #cfe0f2;
	border-radius: 999px;
	background: #eef6ff;
	color: #245f9f;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.1;
	box-shadow: none;
	transform: none;
}

.reap-container button.reap-tag:hover,
.reap-tag:hover {
	background: #dceeff;
	color: #1d4f86;
	box-shadow: none;
	transform: none;
}

@media (max-width: 760px) {
	.reap-container,
	.reap-container-narrow,
	.reap-auth-wrap {
		width: min(100% - 20px, 560px);
		margin: 20px auto;
	}

	.reap-card {
		padding: 22px;
	}

	.reap-container h2 {
		font-size: 24px;
	}

	.reap-form-grid,
	.reap-dashboard-grid,
	.reap-compact-form,
	.reap-upload-grid,
	.reap-document-item,
	.reap-dashboard-header-row {
		grid-template-columns: 1fr;
	}

	.reap-file-list li,
	.reap-auth-links,
	.reap-card-toolbar,
	.reap-document-actions {
		display: grid;
		gap: 8px;
	}

	.reap-document-actions {
		justify-content: stretch;
	}
}
