#wpcontent {
	box-sizing: border-box;
	padding-right: 20px;
}

.subin-admin-page {
	box-sizing: border-box;
	max-width: none;
	width: 100%;
}

body[class*="_page_subin-"] #wpbody-content > .notice,
body[class*="_page_submission-inbox-"] #wpbody-content > .notice,
body.toplevel_page_subin-inbox #wpbody-content > .notice,
body[class*="_page_subin-"] #wpbody-content > .updated,
body[class*="_page_submission-inbox-"] #wpbody-content > .updated,
body.toplevel_page_subin-inbox #wpbody-content > .updated,
body[class*="_page_subin-"] #wpbody-content > .error,
body[class*="_page_submission-inbox-"] #wpbody-content > .error,
body.toplevel_page_subin-inbox #wpbody-content > .error {
	display: none;
}

.subin-admin-page .subin-admin-hero__content > .notice,
.subin-admin-page .subin-admin-hero__content > .updated,
.subin-admin-page .subin-admin-hero__content > .error {
	display: none;
}

.subin-admin-notices {
	display: grid;
	gap: 10px;
	margin: -4px 0 18px;
}

.subin-admin-notice {
	padding: 14px 16px;
	border: 1px solid #bfdbfe;
	border-radius: 12px;
	background: #eff6ff;
	color: #1e3a8a;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.subin-admin-notice--success {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

.subin-admin-notice--warning {
	border-color: #fde68a;
	background: #fffbeb;
	color: #92400e;
}

.subin-admin-notice--error {
	border-color: #fecaca;
	background: #fff7f7;
	color: #991b1b;
}

.subin-admin-notice p {
	margin: 0;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.45;
}

.subin-page-description {
	max-width: 760px;
	color: #50575e;
	font-size: 14px;
}

.subin-admin-hero,
.subin-admin-hero--compact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 18px 0 18px;
	padding: 24px 28px;
	background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
	border: 1px solid #dbe7f3;
	border-radius: 18px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.subin-admin-hero__main {
	display: flex;
	align-items: start;
	gap: 18px;
	min-width: 0;
}

.subin-admin-hero__content {
	display: grid;
	gap: 0;
	min-width: 0;
}

.subin-admin-hero__icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 85px;
}

.subin-admin-hero__icon-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 10px;
}

.subin-admin-hero h1 {
	margin: 0 0 6px;
	color: #101828;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: 0;
}

.subin-admin-hero .subin-page-description {
	max-width: 680px;
	margin: 0;
	color: #667085;
	font-size: 15px;
	line-height: 1.45;
}

.subin-admin-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.subin-admin-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex: 0 0 auto;
	justify-content: flex-end;
	gap: 10px;
}

.subin-admin-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0 0 22px;
	padding: 0;
	background: transparent;
	border-bottom: 1px solid #d8e2ee;
}

.subin-admin-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-bottom: -1px;
	padding: 0 2px;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	color: #475569;
	font-size: 13px;
	font-weight: 650;
	line-height: 1;
	text-decoration: none;
	transition: border-color 0.16s ease, color 0.16s ease;
}

.subin-admin-tab:hover,
.subin-admin-tab:focus {
	color: #2563eb;
	box-shadow: none;
	outline: none;
}

.subin-admin-tab--active {
	background: transparent;
	border-color: #2563eb;
	color: #2563eb;
	box-shadow: none;
}

.subin-settings-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0 0 22px;
	border-bottom: 1px solid #d8e2ee;
}

.subin-settings-tab {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin-bottom: -1px;
	padding: 0 2px;
	color: #475569;
	font-size: 13px;
	font-weight: 650;
	line-height: 1;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.subin-settings-tab:hover,
.subin-settings-tab:focus {
	color: #2563eb;
	box-shadow: none;
	outline: none;
}

.subin-settings-tab--active {
	color: #2563eb;
	border-bottom-color: #2563eb;
}

.subin-settings-panel {
	width: 100%;
	max-width: none;
}

.subin-cloud-connector {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.subin-cloud-connector__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}

.subin-cloud-connector__eyebrow {
	margin: 0 0 6px;
	color: #0f766e;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.subin-cloud-connector__header h2,
.subin-cloud-panel h3 {
	margin: 0;
	color: #172033;
}

.subin-cloud-connector__header p,
.subin-cloud-panel p {
	margin: 6px 0 0;
	color: #64748b;
}

.subin-cloud-status-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.subin-cloud-status-card,
.subin-cloud-panel,
.subin-cloud-diagnostics {
	border: 1px solid #dbe5f1;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.subin-cloud-status-card {
	display: flex;
	flex-direction: column;
	min-height: 92px;
	padding: 16px;
}

.subin-cloud-status-card span,
.subin-cloud-diagnostics__grid span,
.subin-cloud-field label {
	color: #64748b;
	font-size: 12px;
	font-weight: 750;
}

.subin-cloud-status-card strong {
	display: block;
	margin-top: 8px;
	color: #172033;
	font-size: 18px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.subin-cloud-status-card small {
	margin-top: auto;
	padding-top: 8px;
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
}

.subin-cloud-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 16px;
	align-items: start;
}

.subin-cloud-panel {
	padding: 18px;
}

.subin-cloud-panel__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.subin-cloud-key-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.subin-cloud-key-row input,
.subin-cloud-field select {
	width: 100%;
	max-width: none;
	min-height: 40px;
	border-color: #cbd5e1;
	border-radius: 8px;
}

.subin-cloud-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.subin-cloud-field {
	display: grid;
	gap: 8px;
	margin-bottom: 14px;
}

.subin-cloud-consent {
	margin: 14px 0 16px;
	padding: 12px;
	border: 1px solid #dbeafe;
	border-radius: 8px;
	background: #f8fbff;
}

.subin-cloud-consent .description {
	margin: 7px 0 0 28px;
	max-width: 760px;
}

.subin-cloud-error-card {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	border: 1px solid #fecaca;
	border-radius: 8px;
	background: #fff7f7;
	color: #991b1b;
}

.subin-cloud-error-card span {
	color: #7f1d1d;
}

.subin-cloud-action-notice {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	padding: 12px 14px;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	background: #eff6ff;
	color: #1e3a8a;
}

.subin-cloud-action-notice--success {
	border-color: #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

.subin-cloud-action-notice--warning {
	border-color: #fde68a;
	background: #fffbeb;
	color: #92400e;
}

.subin-cloud-action-notice--error {
	border-color: #fecaca;
	background: #fff7f7;
	color: #991b1b;
}

.subin-cloud-action-notice span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.subin-cloud-diagnostics {
	padding: 0;
	overflow: hidden;
}

.subin-cloud-diagnostics summary {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	color: #334155;
	font-weight: 750;
	cursor: pointer;
}

.subin-cloud-diagnostics summary:hover {
	background: #f8fafc;
}

.subin-cloud-diagnostics summary:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.28);
}

.subin-cloud-diagnostics__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 16px;
	border-top: 1px solid #e2e8f0;
}

.subin-cloud-diagnostics__grid > div {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.subin-cloud-diagnostics code {
	display: inline-block;
	max-width: 100%;
	padding: 2px 5px;
	overflow: hidden;
	color: #475569;
	text-overflow: ellipsis;
	vertical-align: middle;
}

.subin-cloud-sync-queue {
	padding: 0 16px 16px;
}

.subin-cloud-sync-queue__counts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.subin-cloud-sync-events {
	margin-top: 8px;
	table-layout: fixed;
}

.subin-cloud-sync-events th,
.subin-cloud-sync-events td {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1180px) {
	.subin-cloud-status-row,
	.subin-cloud-diagnostics__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.subin-cloud-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.subin-cloud-connector__header,
	.subin-cloud-key-row {
		grid-template-columns: 1fr;
	}

	.subin-cloud-connector__header {
		display: grid;
	}

	.subin-cloud-status-row,
	.subin-cloud-diagnostics__grid {
		grid-template-columns: 1fr;
	}

	.subin-cloud-actions .button,
	.subin-cloud-key-row .button {
		width: 100%;
		text-align: center;
	}
}

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

.subin-help {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 6px;
	vertical-align: middle;
	outline: none;
}

.subin-help__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 0;
	font-weight: 800;
	line-height: 0;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
	cursor: help;
	overflow: hidden;
}

.subin-help__icon::before {
	content: "i";
	display: block;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 12px;
	font-style: normal;
	line-height: 1;
}

.subin-help:hover .subin-help__icon,
.subin-help:focus .subin-help__icon,
.subin-help:focus-within .subin-help__icon {
	border-color: #60a5fa;
	background: #dbeafe;
	color: #1d4ed8;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.subin-help__tooltip {
	position: absolute;
	z-index: 100000;
	bottom: calc(100% + 8px);
	left: 50%;
	width: max-content;
	max-width: min(260px, calc(100vw - 48px));
	padding: 9px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	background: #172033;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	text-transform: none;
	white-space: normal;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.subin-help[data-subin-help-text] .subin-help__tooltip {
	display: none;
}

.subin-help__tooltip::after {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 10px;
	height: 10px;
	background: #172033;
	content: "";
	transform: translate(-50%, -5px) rotate(45deg);
}

.subin-help:hover .subin-help__tooltip,
.subin-help:focus .subin-help__tooltip,
.subin-help:focus-within .subin-help__tooltip {
	opacity: 1;
	transform: translate(-50%, 0);
}

.subin-floating-tooltip {
	position: fixed;
	z-index: 100000;
	width: max-content;
	max-width: min(280px, calc(100vw - 32px));
	padding: 9px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	background: #172033;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	text-transform: none;
	white-space: normal;
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.12s ease, transform 0.12s ease;
}

.subin-floating-tooltip.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.subin-panel {
	margin-top: 20px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.subin-panel h2 {
	margin-top: 0;
}

.subin-card {
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.subin-card {
	padding: 18px;
}

.subin-card > :first-child {
	margin-top: 0;
}

.subin-card > :last-child {
	margin-bottom: 0;
}

.subin-page-actions {
	margin: 16px 0 20px;
}

.subin-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	margin: 0 0 16px;
	color: #64748b;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.subin-back-link::before {
	content: "\2190";
	font-size: 14px;
	line-height: 1;
}

.subin-back-link:hover,
.subin-back-link:focus {
	color: #2563eb;
	text-decoration: underline;
	box-shadow: none;
	outline: none;
}

.subin-row-actions {
	white-space: nowrap;
}

.subin-section-heading {
	margin: 24px 0 12px;
}

.subin-section-heading h2 {
	margin: 0;
}

.subin-forms-section {
	margin-top: 18px;
}

.subin-form-list {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.subin-form-card {
	display: block;
	padding: 18px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.subin-form-card:hover {
	border-color: #c7d7ea;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.subin-form-main {
	display: grid;
	gap: 14px;
	min-width: 0;
}

.subin-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	min-width: 0;
}

.subin-card-top__content {
	min-width: 0;
}

.subin-title-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.subin-form-card__title {
	margin: 0;
	color: #172033;
	font-size: 17px;
	line-height: 1.3;
}

.subin-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 0 0 10px;
	color: #64748b;
	font-size: 13px;
}

.subin-shortcode-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.subin-shortcode-label {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
}

.subin-shortcode {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.subin-card-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
	gap: 12px;
}

.subin-panel {
	min-width: 0;
	padding: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

.subin-panel-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.subin-panel-title {
	margin: 0 0 10px;
	color: #172033;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.25;
}

.subin-panel-title-row .subin-panel-title {
	margin-bottom: 0;
}

.subin-setup-list {
	display: grid;
	gap: 8px;
}

.subin-setup-row {
	display: grid;
	grid-template-columns: 9px minmax(0, 1fr);
	gap: 9px;
	align-items: start;
	min-width: 0;
	color: #475569;
	font-size: 12px;
	line-height: 1.35;
}

.subin-setup-row strong {
	display: block;
	color: #172033;
	font-size: 12px;
	line-height: 1.25;
}

.subin-setup-row span:not(.subin-dot):not(.subin-help):not(.subin-help__icon):not(.subin-help__tooltip) {
	display: block;
	margin-top: 2px;
	overflow-wrap: anywhere;
}

.subin-setup-row strong .subin-help {
	margin-left: 4px;
	transform: translateY(-1px);
}

.subin-setup-row strong .subin-help__icon {
	display: inline-flex;
	margin-top: 0;
}

.subin-dot {
	width: 8px;
	height: 8px;
	margin-top: 4px;
	background: #94a3b8;
	border-radius: 999px;
}

.subin-setup-row-success .subin-dot {
	background: #16a34a;
}

.subin-setup-row-warning .subin-dot {
	background: #d97706;
}

.subin-setup-row-muted .subin-dot {
	background: #94a3b8;
}

.subin-autoreply {
	display: grid;
	align-content: start;
	gap: 10px;
}

.subin-autoreply p {
	margin: 0;
	color: #475569;
	font-size: 13px;
	line-height: 1.45;
}

.subin-template-box {
	display: grid;
	gap: 4px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 10px;
}

.subin-template-box span {
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.subin-template-box a {
	color: #172033;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.subin-template-box a:hover,
.subin-template-box a:focus {
	color: #1d4ed8;
	box-shadow: none;
}

.subin-info-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.subin-info-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 28px;
	padding: 5px 10px;
	color: #475569;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1.2;
}

.subin-info-pill strong {
	color: #172033;
}

.subin-action-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.subin-forms-empty-state,
.subin-empty-state {
	margin-top: 16px;
	padding: 42px 24px;
	text-align: center;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.subin-forms-empty-state h2,
.subin-empty-state h2 {
	margin: 0 0 8px;
	font-size: 18px;
}

.subin-forms-empty-state p,
.subin-empty-state p {
	max-width: 540px;
	margin: 0 auto;
	color: #646970;
}

.subin-forms-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.subin-coming-next {
	margin: 12px 0 0;
	list-style: disc;
	padding-left: 20px;
}

.subin-coming-next li {
	margin-bottom: 8px;
}

.subin-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.subin-inbox-summary {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subin-summary-card {
	padding: 16px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.subin-summary-card:hover {
	border-color: #c7d7ea;
}

.subin-summary-value {
	display: block;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
}

.subin-summary-label,
.subin-muted {
	color: #646970;
}

.subin-truncate {
	display: block;
	max-width: 280px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.subin-row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.subin-shortcode-pill {
	display: inline-block;
	max-width: min(100%, 360px);
	margin: 0;
	padding: 7px 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: nowrap;
	background: #f8fafc;
	border: 1px solid #d8e2ee;
	border-radius: 7px;
	font-family: Consolas, Monaco, monospace;
	font-size: 12px;
	color: #172033;
}

.subin-shortcode-box {
	display: grid;
	gap: 12px;
	padding: 16px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.subin-shortcode-box__header h3 {
	margin: 0 0 4px;
	font-size: 15px;
}

.subin-shortcode-box__header p {
	margin: 0;
	color: #646970;
}

.subin-shortcode-box__copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.subin-shortcode-box .subin-shortcode-pill {
	max-width: 100%;
	margin: 0;
	padding: 10px 12px;
	font-size: 13px;
	user-select: all;
}

.subin-copy-feedback {
	min-width: 54px;
	color: #0a6f2b;
	font-weight: 600;
	line-height: 1.8;
}

.subin-status-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	max-width: 260px;
}

.subin-template-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}

.subin-template-card {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 16px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.subin-template-card:hover {
	border-color: #c7d7ea;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.subin-template-card h2 {
	margin: 0 0 8px;
	font-size: 17px;
}

.subin-template-card p {
	margin: 0 0 12px;
}

.subin-template-card__badge {
	display: inline-flex;
	align-self: flex-start;
	margin-bottom: 10px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #f0f6fc;
	color: #135e96;
	font-size: 12px;
	font-weight: 600;
}

.subin-template-card__title {
	margin: 0 0 8px;
}

.subin-template-card__description {
	color: #475569;
	line-height: 1.45;
}

.subin-template-card__count {
	margin: 0 0 8px;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
}

.subin-template-card__fields {
	color: #475569;
	font-size: 13px;
	line-height: 1.45;
}

.subin-template-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
}

.subin-template-use-form {
	display: inline-flex;
	margin: 0;
}

.subin-template-preview {
	margin: 4px 0 0;
	background: #eef3f8;
	border: 1px solid #d8e2ee;
	border-radius: 12px;
}

.subin-template-preview__viewport {
	position: relative;
	height: 300px;
	overflow: hidden;
	border-radius: 12px;
	pointer-events: none;
}

.subin-template-preview__scale {
	position: absolute;
	top: 0;
	left: 0;
	width: 620px;
	min-height: 640px;
	padding: 18px;
	transform: scale(0.43);
	transform-origin: top left;
}

.subin-template-preview__scale .subin-form-wrap {
	width: 100%;
	max-width: 100%;
	margin: 0 !important;
}

.subin-template-preview__scale .subin-form {
	margin: 0 !important;
}

.subin-template-preview__scale .subin-form-wrap--preview .subin-form-preview-note {
	display: none;
}

.subin-template-preview--large {
	max-width: none;
	margin: 0;
}

.subin-template-preview--large .subin-template-preview__viewport {
	height: 620px;
}

.subin-template-preview--large .subin-template-preview__scale {
	width: 720px;
	transform: scale(0.78);
}

.subin-template-preview-screen {
	display: grid;
	grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	margin-top: 20px;
	padding: 24px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.subin-template-preview-screen__content h2 {
	margin-top: 0;
}

.subin-template-details {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 8px 14px;
	margin: 20px 0 0;
}

.subin-template-details dt {
	color: #646970;
	font-weight: 600;
}

.subin-template-details dd {
	margin: 0;
}

.subin-template-preview-screen__visual {
	justify-self: stretch;
}

@media (max-width: 1280px) {
	.subin-template-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.subin-template-preview-screen {
		grid-template-columns: 1fr;
	}
}

.subin-form-editor {
	margin-top: 16px;
}

.subin-form-editor__actions,
.subin-editor-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.subin-form-editor__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.subin-form-editor__main {
	min-width: 0;
}

.subin-editor-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 12px;
	padding: 7px;
	background: #f1f5f9;
	border: 1px solid #dbe3ea;
	border-radius: 12px;
}

.subin-editor-tabs .nav-tab,
.subin-editor-tab {
	padding: 7px 13px;
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	background: rgba(255, 255, 255, 0.38);
	border: 1px solid transparent;
	border-radius: 8px;
	color: #475569;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.subin-editor-tabs .nav-tab:hover,
.subin-editor-tabs .nav-tab:focus,
.subin-editor-tab:hover,
.subin-editor-tab:focus {
	background: rgba(255, 255, 255, 0.82);
	border-color: #d5e3f2;
	color: #0f172a;
}

.subin-editor-tabs .nav-tab-active,
.subin-editor-tab.nav-tab-active,
.subin-editor-tab.is-active,
.subin-editor-tab--active {
	background: #fff;
	color: #101828;
	border-color: #bdd4eb;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
	font-weight: 700;
}

.subin-form-editor .subin-editor-tabs > a.nav-tab.subin-editor-tab.nav-tab-active,
.subin-form-editor .subin-editor-tabs > a.nav-tab.subin-editor-tab.is-active,
.subin-form-editor .subin-editor-tabs > a.nav-tab.subin-editor-tab.subin-editor-tab--active,
.subin-form-editor .subin-editor-tabs > a.nav-tab.subin-editor-tab[aria-current="page"] {
	background: #fff !important;
	color: #101828 !important;
	border: 1px solid #9fc3e6 !important;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
	font-weight: 700 !important;
}

.subin-form-editor .subin-editor-tabs > a.nav-tab.subin-editor-tab:not(.nav-tab-active):not(.is-active):not(.subin-editor-tab--active) {
	background: transparent !important;
	color: #64748b !important;
	border-color: transparent !important;
	box-shadow: none !important;
	font-weight: 600 !important;
}

.subin-editor-panel {
	max-width: 900px;
	margin-top: 0;
	border-top: 0;
	border-radius: 0 0 6px 6px;
}

.subin-copy-shortcode--copied {
	border-color: #0a6f2b !important;
	color: #0a6f2b !important;
}

.subin-preview-frame {
	max-width: 860px;
	margin-top: 16px;
	padding: 24px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.subin-preview-frame .subin-form-wrap {
	margin: 0 auto;
}

.subin-preview-page {
	display: grid;
	gap: 16px;
	max-width: 980px;
}

.subin-preview-page__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.subin-preview-page__bar .description {
	margin: 8px 0 0;
}

.subin-preview-notice {
	margin: 0;
}

.subin-filter-panel {
	margin: 16px 0;
	padding: 14px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.subin-filter-form {
	display: grid;
	gap: 10px;
}

.subin-filter-main {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) 160px 190px 220px auto auto auto;
	gap: 10px;
	align-items: end;
}

.subin-filter-main--status {
	grid-template-columns: minmax(220px, 280px) minmax(160px, 220px) auto auto;
	justify-content: start;
}

.subin-filter-main--log {
	grid-template-columns: minmax(280px, 1fr) 160px 190px 170px auto auto auto;
}

.subin-filter-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 150px;
}

.subin-filter-field label {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: #475569;
}

.subin-filter-field--search {
	min-width: 0;
}

.subin-filter-panel .subin-filter-field input[type="search"],
.subin-filter-panel .subin-filter-field input[type="text"],
.subin-filter-panel .subin-filter-field input[type="date"],
.subin-filter-panel .subin-filter-field select {
	width: 100%;
	max-width: none;
	min-height: 38px;
	margin: 0;
	padding: 7px 10px;
	color: #172033;
	font-size: 14px;
	line-height: 1.4;
	background-color: #fff;
	border: 1px solid #cfd9e6;
	border-radius: 10px;
	box-shadow: none;
}

.subin-filter-panel .subin-filter-field select {
	padding-right: 30px;
}

.subin-filter-panel .subin-filter-field input[type="search"]:focus,
.subin-filter-panel .subin-filter-field input[type="text"]:focus,
.subin-filter-panel .subin-filter-field input[type="date"]:focus,
.subin-filter-panel .subin-filter-field select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
	outline: none;
}

.subin-filter-panel .subin-filter-field input::placeholder {
	color: #94a3b8;
}

.subin-filter-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 8px;
}

.subin-filter-actions .button,
.subin-filter-actions .subin-btn {
	min-height: 38px;
	margin: 0;
	white-space: nowrap;
}

.subin-advanced-filters {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #edf2f7;
}

.subin-advanced-filters summary,
.subin-filter-toggle {
	width: max-content;
	cursor: pointer;
	color: #475569;
	font-size: 13px;
	font-weight: 650;
	border-radius: 8px;
}

.subin-advanced-filters summary:focus,
.subin-filter-toggle:focus {
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
	outline: none;
}

.subin-advanced-filters__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 240px));
	gap: 10px;
	margin-top: 10px;
	padding: 12px;
	background: #f8fafc;
	border: 1px solid #e4edf7;
	border-radius: 10px;
}

.subin-lead-list {
	display: grid;
	gap: 14px;
	margin-top: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subin-lead-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 20px;
	padding: 18px;
	background: #fff;
	border: 1px solid #dbe7f3;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.subin-lead-card--attention {
	border-color: #f0c2c3;
	box-shadow: inset 4px 0 0 #d97706, 0 10px 28px rgba(15, 23, 42, 0.05);
}

.subin-lead-card__main,
.subin-lead-card__status {
	min-width: 0;
}

.subin-lead-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.subin-lead-card__title {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
}

.subin-lead-card__title a {
	color: #172033;
	text-decoration: none;
}

.subin-lead-card__title a:hover,
.subin-lead-card__title a:focus {
	color: #2563eb;
}

.subin-lead-card__contact,
.subin-lead-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 8px;
	color: #64748b;
	font-size: 13px;
}

.subin-lead-card__contact span,
.subin-lead-card__meta span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.subin-lead-card__message {
	max-width: 920px;
	margin: 12px 0 0;
	color: #334155;
	line-height: 1.45;
}

.subin-lead-card__status {
	display: grid;
	align-content: start;
	gap: 12px;
	padding-left: 18px;
	border-left: 1px solid #e4edf7;
}

.subin-status-block {
	display: grid;
	gap: 6px;
}

.subin-status-label {
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.subin-status-explanation {
	margin: 0;
	color: #475569;
	line-height: 1.4;
}

.subin-lead-card__actions,
.subin-status-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}

.subin-lead-card__actions form {
	display: inline-flex;
	margin: 0;
}

.subin-status-links {
	margin-top: 2px;
}

.subin-status-links a {
	font-weight: 650;
	text-decoration: none;
}

.subin-badge {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: #f0f0f1;
	color: #2c3338;
	white-space: nowrap;
}

.subin-badge--success,
.subin-badge-success {
	background: #edfaef;
	color: #0a6f2b;
}

.subin-badge--warning,
.subin-badge-warning {
	background: #fcf9e8;
	color: #8a5a00;
}

.subin-badge--danger,
.subin-badge-danger {
	background: #fcf0f1;
	color: #b32d2e;
}

.subin-badge--muted,
.subin-badge-muted {
	background: #f6f7f7;
	color: #50575e;
}

.subin-badge--info,
.subin-badge-info {
	background: #f0f6fc;
	color: #135e96;
}

.subin-lead-summary-card,
.subin-notification-card {
	margin-top: 16px;
	padding: 20px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.subin-lead-summary-main,
.subin-notification-card__head,
.subin-email-event-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.subin-lead-summary-main h2,
.subin-notification-card h2,
.subin-email-event-card h3 {
	margin: 0;
	color: #172033;
}

.subin-lead-summary-badges,
.subin-notification-card__actions,
.subin-lead-summary-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.subin-lead-summary-meta,
.subin-notification-card__details,
.subin-source-card__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.subin-detail-item {
	min-width: 0;
	padding: 12px;
	background: #f8fafc;
	border: 1px solid #e4edf7;
	border-radius: 12px;
}

.subin-detail-item span {
	display: block;
	margin-bottom: 5px;
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.subin-detail-message > span {
	display: block;
	margin-bottom: 5px;
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.subin-detail-item strong {
	display: block;
	color: #172033;
	font-weight: 650;
	overflow-wrap: anywhere;
}

.subin-detail-message {
	grid-column: 1 / -1;
}

.subin-lead-summary-card > .subin-detail-message {
	margin-top: 16px;
}

.subin-detail-message p {
	margin: 4px 0 0;
	color: #334155;
	line-height: 1.5;
}

.subin-lead-summary-actions {
	margin-top: 16px;
}

.subin-notification-card--failed {
	border-color: #f0c2c3;
	box-shadow: inset 4px 0 0 #b32d2e, 0 10px 28px rgba(15, 23, 42, 0.05);
}

.subin-notification-card--warning {
	border-color: #f6d48f;
	box-shadow: inset 4px 0 0 #d97706, 0 10px 28px rgba(15, 23, 42, 0.05);
}

.subin-notification-card__head p {
	max-width: 760px;
	margin: 6px 0 0;
	color: #475569;
	line-height: 1.45;
}

.subin-notification-card__actions {
	margin-top: 14px;
}

.subin-email-events__list {
	display: grid;
	gap: 12px;
}

.subin-email-event-card {
	padding: 14px;
	background: #f8fafc;
	border: 1px solid #e4edf7;
	border-radius: 14px;
}

.subin-email-event-card h3 {
	font-size: 15px;
}


.subin-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 12px;
}

.subin-pagination__info {
	color: #64748b;
	font-weight: 650;
}

.subin-pagination__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.subin-pagination__links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 30px;
	padding: 0 9px;
	text-decoration: none;
	background: #f8fafc;
	border: 1px solid #d8e2ee;
	border-radius: 999px;
}

.subin-pagination__links .current {
	color: #fff;
	background: #2563eb;
	border-color: #2563eb;
}

.subin-empty-state {
	margin-top: 16px;
	padding: 42px 24px;
	text-align: center;
	background: #fff;
	border: 1px solid #d8e2ee;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.subin-empty-state h2 {
	margin: 0 0 8px;
	font-size: 18px;
}

.subin-empty-state p {
	max-width: 540px;
	margin: 0 auto;
	color: #646970;
}


.subin-notice-box {
	margin: 12px 0;
	padding: 12px 14px;
	border-left: 4px solid #dba617;
	background: #fff8e5;
}

@media (max-width: 900px) {
	.subin-admin-hero {
		align-items: flex-start;
		flex-direction: column;
	}

	.subin-admin-hero__main {
		width: 100%;
		align-items: flex-start;
	}

	.subin-admin-hero__actions,
	.subin-action-row {
		justify-content: flex-start;
	}

	.subin-admin-tabs {
		gap: 16px;
		width: 100%;
	}

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

	.subin-card-top {
		flex-direction: column;
	}

	.subin-card-grid {
		grid-template-columns: 1fr;
	}

	.subin-card-actions {
		align-items: flex-start;
		justify-content: flex-start;
	}

	.subin-summary-grid,
	.subin-lead-summary-main,
	.subin-notification-card__head,
	.subin-email-event-card__head {
		flex-direction: column;
	}

	.subin-lead-summary-meta,
	.subin-notification-card__details,
	.subin-source-card__grid,
	.subin-settings-grid,
	.subin-status-summary-grid,
	.subin-email-log-summary,
	.subin-source-grid,
	.subin-source-metrics {
		grid-template-columns: 1fr;
	}

	.subin-form-editor__body {
		grid-template-columns: 1fr;
	}

	.subin-filter-main,
	.subin-lead-card {
		grid-template-columns: 1fr;
	}

	.subin-filter-actions {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.subin-advanced-filters__grid {
		grid-template-columns: 1fr;
	}

	.subin-lead-card__status {
		padding-top: 14px;
		padding-left: 0;
		border-top: 1px solid #e2e8f0;
		border-left: 0;
	}

	.subin-row-actions {
		flex-direction: column;
	}





}

@media (max-width: 640px) {
	.subin-admin-hero {
		padding: 18px;
	}

	.subin-admin-hero__actions,
	.subin-admin-hero__actions .button,
	.subin-admin-hero__actions .subin-btn {
		width: 100%;
	}

	.subin-template-grid {
		grid-template-columns: 1fr;
	}

	.subin-shortcode-pill {
		max-width: 100%;
	}

	.subin-filter-actions .button,
	.subin-filter-actions .subin-btn {
		width: 100%;
	}

}


/* Shared admin control system */
.subin-admin-page .subin-btn,
.subin-admin-page .button.subin-btn,
.subin-admin-page .subin-action-chip,
.subin-admin-page .subin-card-actions .button,
.subin-admin-page .subin-card-actions .button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
}

.subin-admin-page .subin-btn-primary,
.subin-admin-page .button-primary.subin-btn-primary,
.subin-admin-page .subin-card-actions .button-primary {
    border-color: #3467e8;
    background: #3467e8;
    color: #fff;
}

.subin-admin-page .subin-btn-primary:hover,
.subin-admin-page .subin-btn-primary:focus,
.subin-admin-page .button-primary.subin-btn-primary:hover,
.subin-admin-page .button-primary.subin-btn-primary:focus,
.subin-admin-page .subin-card-actions .button-primary:hover,
.subin-admin-page .subin-card-actions .button-primary:focus {
    border-color: #2557c7;
    background: #2557c7;
    color: #fff;
}

.subin-admin-page .subin-btn-secondary,
.subin-admin-page .subin-btn:not(.subin-btn-primary) {
    border-color: #cfd9e6;
    background: #fff;
    color: #172033;
}

.subin-admin-page .subin-btn-secondary:hover,
.subin-admin-page .subin-btn-secondary:focus,
.subin-admin-page .subin-btn:not(.subin-btn-primary):hover,
.subin-admin-page .subin-btn:not(.subin-btn-primary):focus {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.subin-admin-page .subin-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	min-width: 38px;
	height: 38px;
	padding: 0;
}

.subin-admin-page .subin-btn-icon .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

.subin-admin-page .subin-btn-sm {
    min-height: 28px;
    padding-inline: 10px;
    border-radius: 7px;
    font-size: 12px;
}

.subin-admin-page .subin-action-chip {
    border: 1px solid #d8e2ee;
    background: #f8fafc;
    color: #334155;
}

.subin-admin-page .subin-action-chip:hover,
.subin-admin-page .subin-action-chip:focus {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.subin-admin-page .subin-action-chip-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.subin-admin-page .subin-action-chip-warning:hover,
.subin-admin-page .subin-action-chip-warning:focus {
    border-color: #fbbf24;
    background: #fef3c7;
    color: #78350f;
}

.subin-admin-page .subin-action-chip-danger {
    border-color: #f0b7b7;
    background: #fff1f1;
    color: #c24646;
}

.subin-admin-page .subin-action-chip-danger:hover,
.subin-admin-page .subin-action-chip-danger:focus {
    border-color: #de8b8b;
    background: #ffe7e7;
    color: #a53636;
}

.subin-admin-page .subin-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.subin-admin-page .subin-card-actions {
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e6eef8;
}

.subin-admin-page .subin-info-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    box-sizing: border-box;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
}

/* Shared compact admin hero */
.subin-admin-page .subin-admin-hero.subin-admin-hero--compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 0;
    margin: 16px 0 22px;
    padding: 18px 22px;
    border: 1px solid #d8e6f4;
    border-radius: 20px;
    background:
        radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__icon {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
}

.subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__icon-img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.2);
}

.subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__content {
    min-width: 0;
}

.subin-admin-page .subin-admin-hero.subin-admin-hero--compact h1 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 25px;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-page-description,
.subin-admin-page .subin-admin-hero.subin-admin-hero--compact p {
    max-width: 760px;
    margin: 0;
    color: #667085;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.45;
}

.subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__actions .button,
.subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__actions .subin-btn {
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 11px !important;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.2;
}

@media (max-width: 780px) {
    .subin-admin-page .subin-admin-hero.subin-admin-hero--compact {
        display: grid;
        gap: 16px;
        padding: 16px;
    }

    .subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__main {
        align-items: flex-start;
    }

    .subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__actions,
    .subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__actions .button,
    .subin-admin-page .subin-admin-hero.subin-admin-hero--compact .subin-admin-hero__actions .subin-btn {
        width: 100%;
    }
}



.subin-admin-page .subin-compact-details {
    display: grid;
    gap: 8px;
    margin: 0;
}

.subin-admin-page .subin-compact-details div {
    display: grid;
    grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #e5edf6;
}

.subin-admin-page .subin-compact-details dt {
    color: #64748b;
    font-weight: 700;
}

.subin-admin-page .subin-compact-details dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #0f172a;
}

@media (max-width: 782px) {
    .subin-admin-page .subin-compact-details div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
