.sfl-admin-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	margin: 20px 0;
}

.sfl-card,
.sfl-listing,
.sfl-message {
	background: #ffffff;
	border: 1px solid #d7dde6;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(22, 37, 66, 0.07);
	padding: 24px;
}

.sfl-admin-page code {
	display: inline-block;
	margin: 8px 0 16px;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 10px 12px;
}

.sfl-listing {
	background:
		radial-gradient(circle at top right, rgba(7, 99, 151, 0.08), transparent 30%),
		linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
	color: #1e2f46;
	margin: 0 auto;
	max-width: 1440px;
	overflow: hidden;
	padding: 28px clamp(18px, 2.5vw, 36px);
}

.sfl-listing__header {
	align-items: start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	max-width: 1260px;
	font-size: 28px;
}

.sfl-listing__eyebrow {
	color: #076397;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.sfl-listing__header h2 {
	font-size: 28px;
	line-height: 1.1;
	margin: 0;
}

.sfl-listing__meta,
.sfl-empty {
	color: #55657c;
	margin: 8px 0 0;
}

.sfl-accordion {
	display: grid;
	gap: 16px;
}

.sfl-accordion--products {
	margin-left: auto;
	margin-right: auto;
	margin-top: 18px;
	max-width: 1260px;
}

.sfl-accordion__item {
	border-top: 1px solid #d7dde6;
	padding-top: 16px;
}

.sfl-accordion__item--nested {
	border: 1px dashed #c8d7e6;
	border-radius: 12px;
	padding: 0;
}

.sfl-accordion__trigger {
	align-items: center;
	background: transparent;
	border: 0;
	box-sizing: border-box;
	color: #0b5d81;
	cursor: pointer;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr auto auto;
	padding: 12px 0;
	text-align: left;
	width: 100%;
}

.sfl-accordion__trigger--nested {
	padding: 14px 16px;
}

.sfl-accordion__title {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.sfl-accordion__summary {
	color: #6a7b8f;
	font-size: 13px;
	font-weight: 600;
}

.sfl-accordion__icon {
	border-bottom: 4px solid #ef7d22;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	display: inline-block;
	height: 0;
	justify-self: end;
	pointer-events: none;
	transition: transform 160ms ease;
	width: 0;
}

.sfl-accordion__trigger[aria-expanded="true"] .sfl-accordion__icon {
	transform: rotate(180deg);
}

.sfl-accordion__panel {
	margin: 0 auto;
	max-width: 1220px;
	padding: 4px 0 0;
}

.sfl-accordion__item--nested .sfl-accordion__panel {
	padding: 0 16px 16px;
}

.sfl-section-group {
	margin-top: 22px;
	max-width: 1180px;
}

.sfl-section-group__title,
.sfl-file-table__title {
	color: #0b5d81;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.01em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.sfl-file-table {
	margin-left: auto;
	margin-right: auto;
	margin-top: 12px;
	max-width: 1180px;
}

.sfl-file-table__head,
.sfl-file-row {
	column-gap: 18px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 92px 100px;
}

.sfl-file-table__head {
	color: #2c3745;
	font-size: 14px;
	margin-bottom: 8px;
	padding: 0 10px;
}

.sfl-file-table__body {
	display: grid;
	gap: 8px;
}

.sfl-file-row {
	align-items: center;
	background: transparent;
	border-radius: 6px;
	font-size: 15px;
	padding: 7px 10px;
}

.sfl-file-row:nth-child(even) {
	background: rgba(152, 217, 245, 0.15);
}

.sfl-file-row__name {
	min-width: 0;
	overflow-wrap: anywhere;
}

.sfl-file-row__type,
.sfl-file-row__size {
	color: #36475b;
	font-size: 14px;
}

.sfl-inline-link {
	color: #0000ee;
	font-weight: 400;
	text-decoration: underline;
}

.sfl-inline-link:hover,
.sfl-inline-link:focus {
	color: #0b0080;
	text-decoration: underline;
}

.sfl-button {
	border: 0;
	background: #076397;
	border-radius: 999px;
	cursor: pointer;
	color: #ffffff;
	display: inline-block;
	font-weight: 700;
	padding: 12px 18px;
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.sfl-button:hover,
.sfl-button:focus {
	background: #0d7bb8;
	box-shadow: 0 8px 20px rgba(7, 99, 151, 0.18);
	color: #ffffff;
	transform: translateY(-1px);
}

.sfl-button[disabled] {
	background: #a8b8c8;
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

.sfl-button--secondary {
	background: #1e2f46;
}

.sfl-button--secondary:hover,
.sfl-button--secondary:focus {
	background: #2a425f;
}

.sfl-button--ghost {
	background: #edf5fa;
	color: #076397;
}

.sfl-button--ghost:hover,
.sfl-button--ghost:focus {
	background: #dbeef8;
	color: #06527f;
}

.sfl-loading {
	color: #55657c;
	font-size: 14px;
	padding: 16px 10px;
	text-align: center;
}

.sfl-message--error {
	border-color: #d63638;
	color: #7a1c1d;
}

.sfl-message--info {
	color: #1e2f46;
}

@media (max-width: 640px) {
	.sfl-listing__header {
		flex-direction: column;
		align-items: stretch;
	}

	.sfl-accordion__trigger,
	.sfl-file-table__head,
	.sfl-file-row {
		grid-template-columns: 1fr;
	}

	.sfl-file-table__head {
		display: none;
	}

	.sfl-file-row {
		gap: 6px;
	}

	.sfl-file-row__type::before {
		content: "Type: ";
		font-weight: 700;
	}

	.sfl-file-row__size::before {
		content: "Size: ";
		font-weight: 700;
	}
}
