/* Staff Console — Light Mode Elegante & Editoriale / Soft UI Minimal
   Prefisso body.subtank-staff-console-page + !important dove il tema
   sovrascrive button/background (causa del magenta residuo). */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
	--stf-bg: #f5f6f9;
	--stf-surface: #ffffff;
	--stf-ink: #111111;
	--stf-muted: #64748b;
	--stf-muted-soft: #94a3b8;
	--stf-accent-soft: #eaf0f6;
	--stf-indigo: #3730a3;
	--stf-ok: #0f766e;
	--stf-warn: #b45309;
	--stf-danger: #dc2626;
	--stf-danger-bg: #fef2f2;
	--stf-danger-hover: #fee2e2;
	--stf-radius: 20px;
	--stf-radius-lg: 24px;
	--stf-radius-sm: 12px;
	--stf-border: rgba(0, 0, 0, 0.04);
	--stf-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	--stf-shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.06);
	--stf-font: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
	--stf-display: 'Poppins', 'Plus Jakarta Sans', system-ui, sans-serif;
	--stf-sidebar-w: 76px;
	/* Form immersione / rubrica: leggibilità. Shell e home = full width. */
	--stf-form-max: 920px;
}

body.subtank-staff-console-page,
body.subtank-staff-blank-app {
	background: var(--stf-bg) !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	color: var(--stf-ink) !important;
	overflow-x: hidden !important;
}

body.subtank-staff-console-page .site-header,
body.subtank-staff-console-page .site-footer,
body.subtank-staff-console-page .subtank-front-dock,
body.subtank-staff-console-page .subtank-brand-footer,
body.subtank-staff-console-page #wpadminbar {
	display: none !important;
}

body.subtank-staff-console-page #page,
body.subtank-staff-console-page .site,
body.subtank-staff-console-page .site-content,
body.subtank-staff-console-page .entry-content,
body.subtank-staff-console-page .ast-container,
body.subtank-staff-console-page .entry-header,
body.subtank-staff-console-page article,
body.subtank-staff-console-page #content,
body.subtank-staff-console-page #primary,
body.subtank-staff-console-page .content-area,
body.subtank-staff-console-page main,
body.subtank-staff-console-page .ast-width-md,
body.subtank-staff-console-page .ast-container-fluid {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: none !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: inherit !important;
}

body.subtank-staff-console-page .entry-title {
	display: none !important;
}

/* Reset tema: nessun button pink/gradient dentro la console */
body.subtank-staff-console-page .stf-shell button,
body.subtank-staff-console-page .stf-shell .button,
body.subtank-staff-console-page .stf-shell input[type='submit'] {
	background-image: none !important;
	filter: none !important;
	text-shadow: none !important;
	transform: none;
}

body.subtank-staff-console-page .stf-shell {
	position: relative !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 20px;
	padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 18px !important;
	margin: 0 !important;
	font-family: var(--stf-font) !important;
	color: var(--stf-ink) !important;
	box-sizing: border-box !important;
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

body.subtank-staff-console-page .stf-shell__main {
	position: relative;
	z-index: 1;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 18px;
	margin: 0 !important;
	padding: 0 !important;
}

body.subtank-staff-console-page .stf-shell--gate {
	display: grid;
	place-items: center;
}

body.subtank-staff-console-page .stf-mesh {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 55% 45% at 12% 8%, rgba(167, 139, 250, 0.1), transparent 58%),
		radial-gradient(ellipse 50% 40% at 88% 12%, rgba(125, 211, 252, 0.1), transparent 55%),
		radial-gradient(ellipse 45% 35% at 70% 88%, rgba(148, 163, 184, 0.08), transparent 55%),
		var(--stf-bg) !important;
}

body.subtank-staff-console-page .stf-topbar,
body.subtank-staff-console-page .stf-view,
body.subtank-staff-console-page .stf-toast {
	position: relative;
	z-index: 1;
}

body.subtank-staff-console-page .stf-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

body.subtank-staff-console-page .stf-topbar__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-shrink: 0;
	min-width: 0;
}

body.subtank-staff-console-page .stf-logout {
	min-height: 40px !important;
	padding: 0 14px !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 999px !important;
	box-shadow: var(--stf-shadow) !important;
	color: var(--stf-ink) !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	font-family: var(--stf-font) !important;
	text-decoration: none !important;
}

body.subtank-staff-console-page .stf-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

body.subtank-staff-console-page .stf-brand__mark {
	display: block;
	width: auto;
	height: auto;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible;
	flex-shrink: 0;
	padding: 0 !important;
	line-height: 0;
}

body.subtank-staff-console-page .stf-brand__mark img,
body.subtank-staff-console-page .stf-brand__logo {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
	object-position: center;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.subtank-staff-console-page .stf-brand__eyebrow {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--stf-muted-soft) !important;
	font-weight: 500;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-brand__title {
	margin: 0;
	font-family: var(--stf-display) !important;
	font-size: 1.65rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: #111111 !important;
}

body.subtank-staff-console-page .stf-icon-btn {
	box-sizing: border-box !important;
	width: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	background-image: none !important;
	box-shadow: var(--stf-shadow) !important;
	font-size: 1.15rem !important;
	line-height: 1 !important;
	cursor: pointer;
	color: #111111 !important;
	display: inline-grid !important;
	place-items: center !important;
	flex: 0 0 40px !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	text-decoration: none !important;
}
body.subtank-staff-console-page a.stf-icon-btn.stf-notif-bell {
	position: relative !important;
	display: inline-grid !important;
	place-items: center !important;
	text-decoration: none !important;
	color: #111111 !important;
	line-height: 0 !important;
	font-size: 0 !important;
}
body.subtank-staff-console-page .stf-notif-bell__icon {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
	pointer-events: none !important;
}
body.subtank-staff-console-page .stf-notif-bell__icon svg {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	stroke: currentColor !important;
	fill: none !important;
	stroke-width: 1.8 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	overflow: visible !important;
}
body.subtank-staff-console-page .stf-notif-bell__badge {
	position: absolute !important;
	top: -4px !important;
	right: -4px !important;
	min-width: 18px !important;
	height: 18px !important;
	padding: 0 5px !important;
	border-radius: 999px !important;
	background: #84cc16 !important;
	color: #14532d !important;
	font-size: 0.65rem !important;
	font-weight: 700 !important;
	font-family: var(--stf-font) !important;
	line-height: 18px !important;
	text-align: center !important;
	box-sizing: border-box !important;
	pointer-events: none !important;
}

body.subtank-staff-console-page .stf-view {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-bottom: 24px;
	box-sizing: border-box;
}

body.subtank-staff-console-page .stf-hello {
	margin: 0 0 14px;
	font-size: 0.9rem;
	color: var(--stf-muted) !important;
	font-weight: 500;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-hero {
	padding: 24px !important;
	border-radius: var(--stf-radius-lg) !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	margin-bottom: 20px;
}

body.subtank-staff-console-page .stf-hero h2 {
	margin: 0 0 8px;
	font-family: var(--stf-display) !important;
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #111111 !important;
}

body.subtank-staff-console-page .stf-hero > p {
	margin: 0 0 18px;
	color: var(--stf-muted) !important;
	font-size: 0.9rem;
	line-height: 1.45;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 16px !important;
	margin: 0 !important;
	width: 100%;
	align-items: stretch;
}

/* Organizza home: 3 card azione → 3 colonne da desktop medio */
@media (min-width: 1100px) {
	body.subtank-staff-console-page .stf-shell[data-organizza='1'] .stf-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 18px !important;
	}
}

body.subtank-staff-console-page .stf-action {
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	text-decoration: none !important;
	padding: 16px !important;
	min-height: 120px !important;
	height: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: hidden !important;
	border-radius: 20px !important;
	background-image: none !important;
	box-shadow: var(--stf-shadow) !important;
	border: 1px solid var(--stf-border) !important;
	cursor: pointer;
	text-align: left !important;
	width: 100% !important;
	font: inherit !important;
	font-family: var(--stf-font) !important;
	box-sizing: border-box !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	appearance: none !important;
	-webkit-appearance: none !important;
}

/* Consegna bombole — dark navy */
body.subtank-staff-console-page .stf-action--tanks,
body.subtank-staff-console-page .stf-action.stf-action--tanks {
	background: #0e283c !important;
	background-image: none !important;
	color: #ffffff !important;
	border-color: #0e283c !important;
}

body.subtank-staff-console-page .stf-action--tanks:hover,
body.subtank-staff-console-page .stf-action--tanks:focus-visible {
	background: #0e283c !important;
	filter: none !important;
	box-shadow: var(--stf-shadow-hover) !important;
	transform: translateY(-2px);
	outline: none;
}

body.subtank-staff-console-page .stf-action--tanks .stf-action__title {
	color: #ffffff !important;
	text-transform: uppercase !important;
	letter-spacing: 0.02em !important;
}

body.subtank-staff-console-page .stf-action--tanks .stf-action__hint {
	color: rgba(255, 255, 255, 0.72) !important;
}

body.subtank-staff-console-page .stf-action--tanks .stf-action__icon {
	background: rgba(255, 255, 255, 0.14) !important;
	color: #ffffff !important;
}

/* Consegna attrezzature — white / navy text */
body.subtank-staff-console-page .stf-action--equip,
body.subtank-staff-console-page .stf-action.stf-action--equip {
	background: #ffffff !important;
	background-image: none !important;
	color: #0e283c !important;
	border: 1px solid var(--stf-border) !important;
}

body.subtank-staff-console-page .stf-action--equip:hover,
body.subtank-staff-console-page .stf-action--equip:focus-visible {
	background: #ffffff !important;
	filter: none !important;
	box-shadow: var(--stf-shadow-hover) !important;
	transform: translateY(-2px);
	outline: none;
}

body.subtank-staff-console-page .stf-action--equip .stf-action__title {
	color: #0e283c !important;
	text-transform: uppercase !important;
	letter-spacing: 0.02em !important;
}

body.subtank-staff-console-page .stf-action--equip .stf-action__hint {
	color: rgba(14, 40, 60, 0.65) !important;
}

body.subtank-staff-console-page .stf-action--equip .stf-action__icon {
	background: #eaf0f6 !important;
	color: #0e283c !important;
}

body.subtank-staff-console-page .stf-action__head {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 10px !important;
	margin-bottom: 10px !important;
	min-width: 0 !important;
	width: 100% !important;
}

body.subtank-staff-console-page .stf-action__icon {
	width: 36px;
	height: 36px;
	border-radius: 11px !important;
	display: grid;
	place-items: center;
	margin: 0 !important;
	font-size: 1rem;
	background-image: none !important;
	flex-shrink: 0;
}

body.subtank-staff-console-page .stf-action__title {
	margin: 0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-weight: 600 !important;
	font-size: 0.78rem !important;
	line-height: 1.2 !important;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
	hyphens: auto;
}

body.subtank-staff-console-page .stf-action__hint {
	margin: 0 !important;
	margin-top: auto !important;
	padding-left: 0 !important;
	font-size: 0.72rem !important;
	line-height: 1.35;
	font-weight: 400 !important;
	font-family: var(--stf-font) !important;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow-wrap: anywhere !important;
}

body.subtank-staff-console-page .stf-prenota-group {
	padding: 0 !important;
	border-radius: 12px !important;
	background: #f9fafb !important;
	margin: 0;
	border: 1px solid transparent;
	overflow: hidden;
}

body.subtank-staff-console-page .stf-prenota-group + .stf-prenota-group {
	margin-top: 10px;
}

body.subtank-staff-console-page .stf-prenota-group__summary {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px !important;
	cursor: pointer;
	list-style: none;
	min-height: 48px;
	-webkit-tap-highlight-color: transparent;
}

body.subtank-staff-console-page .stf-prenota-group__summary::-webkit-details-marker {
	display: none;
}

body.subtank-staff-console-page .stf-prenota-group__summary::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid #94a3b8;
	border-bottom: 2px solid #94a3b8;
	transform: rotate(45deg);
	flex-shrink: 0;
	transition: transform 0.15s ease;
	margin-left: 4px;
}

body.subtank-staff-console-page .stf-prenota-group[open] .stf-prenota-group__summary::after {
	transform: rotate(225deg);
	margin-top: 4px;
}

body.subtank-staff-console-page .stf-prenota-group__name {
	margin: 0;
	font-family: 'Poppins', var(--stf-display) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	color: #0e283c !important;
	min-width: 0;
	flex: 1;
}

body.subtank-staff-console-page .stf-prenota-group__lines {
	margin: 0;
	padding: 0 16px 14px !important;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.subtank-staff-console-page .stf-prenota-group__lines li {
	font-size: 13px !important;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
	line-height: 1.35;
}

body.subtank-staff-console-page .stf-prenota-line {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0 !important;
	border-top: 1px solid #e8edf3;
}

body.subtank-staff-console-page .stf-prenota-line:first-child {
	border-top: 0;
	padding-top: 0 !important;
}

body.subtank-staff-console-page .stf-prenota-line > span:first-child {
	flex: 1;
	min-width: 0;
}

body.subtank-staff-console-page .stf-prenota-line .stf-btn {
	flex-shrink: 0;
	min-height: 36px !important;
	padding: 0 12px !important;
}

body.subtank-staff-console-page .stf-prenota-line__actions {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	flex-shrink: 0;
}

body.subtank-staff-console-page .stf-prenota-blocked {
	display: block;
	font-size: 12px !important;
	color: #b45309 !important;
	max-width: 9rem;
	text-align: right;
	line-height: 1.3;
}

body.subtank-staff-console-page .stf-field-hint {
	margin: 6px 0 0;
	font-size: 12px !important;
	color: #64748b !important;
	line-height: 1.35;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-see-all {
	display: block !important;
	width: 100% !important;
	margin-top: 12px !important;
	padding: 12px 14px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #eaf0f6 !important;
	color: #0e283c !important;
	font-family: 'Poppins', var(--stf-font) !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	text-align: center !important;
	cursor: pointer;
	min-height: 44px !important;
	box-shadow: none !important;
}

body.subtank-staff-console-page .stf-list-tools {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 16px;
}

body.subtank-staff-console-page .stf-when-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.subtank-staff-console-page .stf-when {
	appearance: none;
	border: 1px solid var(--stf-border) !important;
	background: #ffffff !important;
	color: #475569 !important;
	border-radius: 999px !important;
	padding: 8px 14px !important;
	min-height: 36px !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	font-family: var(--stf-font) !important;
	cursor: pointer;
	box-shadow: none !important;
}

body.subtank-staff-console-page .stf-when.is-active {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-console-page .stf-chip--link {
	appearance: none;
	border: 0 !important;
	cursor: pointer;
	font: inherit;
}

body.subtank-staff-console-page .stf-card {
	background: #ffffff !important;
	border-radius: 24px !important;
	box-shadow: var(--stf-shadow) !important;
	border: 1px solid var(--stf-border) !important;
	padding: 24px !important;
	margin-bottom: 18px;
}

body.subtank-staff-console-page .stf-card--list:last-child {
	margin-bottom: 32px;
}

body.subtank-staff-console-page .stf-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

body.subtank-staff-console-page .stf-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

body.subtank-staff-console-page .stf-card__icon {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	font-size: 0.9rem;
	background: #111111 !important;
	color: #ffffff !important;
	appearance: none;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer;
	box-shadow: none !important;
	line-height: 1;
	-webkit-tap-highlight-color: transparent;
}

body.subtank-staff-console-page .stf-card__icon--equip {
	background: #eaf0f6 !important;
	color: #3730a3 !important;
}

body.subtank-staff-console-page .stf-card--list.is-collapsed {
	padding-bottom: 18px !important;
}

body.subtank-staff-console-page .stf-card--list.is-collapsed .stf-card__head {
	margin-bottom: 0;
}

body.subtank-staff-console-page .stf-card--list .stf-card__body {
	display: block;
}

body.subtank-staff-console-page .stf-card--list.is-collapsed .stf-card__body {
	display: none;
}

body.subtank-staff-console-page .stf-card--list.is-collapsed .stf-card__icon {
	opacity: 0.72;
}

body.subtank-staff-console-page .stf-card__head h3,
body.subtank-staff-console-page .stf-hero h2,
body.subtank-staff-console-page .stf-brand__title,
body.subtank-staff-console-page .stf-action__title {
	font-family: 'Poppins', var(--stf-display) !important;
}

body.subtank-staff-console-page .stf-card__head h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #111111 !important;
	line-height: 1.2;
}

body.subtank-staff-console-page .stf-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #eaf0f6 !important;
	color: #334155 !important;
}

body.subtank-staff-console-page .stf-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.subtank-staff-console-page .stf-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px !important;
	border-radius: 12px !important;
	background: #f9fafb !important;
	border: 1px solid transparent;
}

body.subtank-staff-console-page .stf-list__meta strong {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-list__meta span {
	display: block;
	margin-top: 2px;
	font-size: 13px !important;
	font-weight: 400;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

body.subtank-staff-console-page .stf-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px !important;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.88rem !important;
	cursor: pointer;
	text-decoration: none !important;
	color: #111111 !important;
	background: #eef0f4 !important;
	background-image: none !important;
	box-shadow: none !important;
	transition: background 0.15s ease, transform 0.15s ease;
}

body.subtank-staff-console-page .stf-btn--primary {
	color: #ffffff !important;
	background: #111111 !important;
	background-image: none !important;
}

body.subtank-staff-console-page .stf-btn--danger {
	color: #dc2626 !important;
	background: #fef2f2 !important;
	background-image: none !important;
	box-shadow: none !important;
}

body.subtank-staff-console-page .stf-btn--danger:hover,
body.subtank-staff-console-page .stf-btn--danger:focus-visible {
	background: #fee2e2 !important;
	color: #b91c1c !important;
	filter: none !important;
}

body.subtank-staff-console-page .stf-btn--ghost {
	background: transparent !important;
	box-shadow: none !important;
}

body.subtank-staff-console-page .stf-btn--sm {
	min-height: 32px !important;
	padding: 0 12px !important;
	font-size: 0.75rem !important;
}

body.subtank-staff-console-page .stf-org-cert {
	flex-wrap: wrap;
	align-items: flex-start;
}

body.subtank-staff-console-page .stf-org-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
	justify-content: flex-end;
}

body.subtank-staff-console-page .stf-org-quotas {
	margin: 0 0 16px;
	padding: 14px;
	border: 1px solid var(--stf-border);
	border-radius: 14px;
	background: #f9fafb;
}

body.subtank-staff-console-page .stf-org-quotas legend {
	padding: 0 6px;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 0.85rem;
	font-weight: 600;
	color: #111111;
}

body.subtank-staff-console-page .stf-org-check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-family: var(--stf-font) !important;
	font-size: 0.9rem;
	color: #334155 !important;
	cursor: pointer;
}

body.subtank-staff-console-page .stf-org-check:last-of-type {
	margin-bottom: 0;
}

body.subtank-staff-console-page .stf-org-detail {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.subtank-staff-console-page .stf-org-detail li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f9fafb;
	border: 1px solid #eef2f6;
}

body.subtank-staff-console-page .stf-org-detail li span {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-org-detail li strong {
	font-size: 0.95rem;
	font-weight: 600;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-org-detail-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

body.subtank-staff-console-page .stf-org-detail-actions .stf-btn {
	flex: 1 1 auto;
	min-height: 44px;
	justify-content: center;
}

body.subtank-staff-console-page .stf-field {
	margin-bottom: 14px;
}

body.subtank-staff-console-page .stf-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--stf-muted) !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-field input,
body.subtank-staff-console-page .stf-field select,
body.subtank-staff-console-page .stf-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--stf-border) !important;
	border-radius: 12px !important;
	background: #f9fafb !important;
	font-family: var(--stf-font) !important;
	color: #111111 !important;
	box-sizing: border-box;
	box-shadow: none !important;
}

body.subtank-staff-console-page .stf-field input:focus,
body.subtank-staff-console-page .stf-field select:focus,
body.subtank-staff-console-page .stf-field textarea:focus {
	outline: 2px solid rgba(17, 17, 17, 0.18) !important;
	background: #fff !important;
	box-shadow: none !important;
}

body.subtank-staff-console-page .stf-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

body.subtank-staff-console-page .stf-row > .stf-field {
	flex: 1 1 140px;
}

body.subtank-staff-console-page .stf-segment {
	display: flex;
	gap: 8px;
	padding: 4px;
	border-radius: 999px;
	background: #f3f4f6 !important;
}

body.subtank-staff-console-page .stf-segment label {
	flex: 1;
	margin: 0;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
}

body.subtank-staff-console-page .stf-segment input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

body.subtank-staff-console-page .stf-segment span {
	display: block;
	padding: 10px 12px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.88rem;
	cursor: pointer;
	color: var(--stf-muted) !important;
}

body.subtank-staff-console-page .stf-segment input:checked + span {
	background: #fff !important;
	box-shadow: var(--stf-shadow);
	color: #111111 !important;
}

body.subtank-staff-console-page .stf-suggestions {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	border-radius: 12px;
	background: #fff !important;
	border: 1px solid var(--stf-border);
	box-shadow: var(--stf-shadow);
	max-height: 220px;
	overflow: auto;
}

body.subtank-staff-console-page .stf-suggestions li button {
	width: 100%;
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
	text-align: left !important;
	padding: 12px 14px !important;
	font-family: var(--stf-font) !important;
	cursor: pointer;
	color: #111111 !important;
	border-radius: 0 !important;
	min-height: 0 !important;
	box-shadow: none !important;
}

body.subtank-staff-console-page .stf-suggestions li button:hover,
body.subtank-staff-console-page .stf-suggestions li button:focus-visible {
	background: #f9fafb !important;
	outline: none;
	filter: none !important;
}

body.subtank-staff-console-page .stf-reader {
	width: 100%;
	min-height: 220px;
	border-radius: 20px;
	overflow: hidden;
	background: #111;
	margin-bottom: 14px;
}

body.subtank-staff-console-page .stf-reader video {
	width: 100% !important;
	border-radius: 20px;
}

body.subtank-staff-console-page .stf-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

body.subtank-staff-console-page .stf-toolbar--wrap {
	gap: 10px;
}

body.subtank-staff-console-page #stf-multi-toggle.is-active {
	background: var(--stf-accent-soft) !important;
	color: var(--stf-indigo) !important;
	border-color: transparent !important;
	font-weight: 600;
}

body.subtank-staff-console-page .stf-multi-cart {
	margin: 0 0 16px;
	padding: 14px;
	border-radius: var(--stf-radius-sm);
	background: var(--stf-accent-soft);
}

body.subtank-staff-console-page .stf-multi-cart__list {
	list-style: none;
	margin: 10px 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.subtank-staff-console-page .stf-multi-cart__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--stf-shadow);
	font-size: 0.92rem;
	font-weight: 600;
}

body.subtank-staff-console-page .stf-multi-checkout {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--stf-border);
}

body.subtank-staff-console-page .stf-empty {
	margin: 0;
	padding: 22px 8px;
	text-align: center;
	color: var(--stf-muted) !important;
	font-size: 0.9rem;
}

body.subtank-staff-console-page .stf-empty--loading {
	opacity: 0.75;
}

/* Dock Soft — desktop: rail verticale sinistra (allineamento RugbyOLD) */
body.subtank-staff-console-page .stf-dock {
	position: sticky !important;
	top: calc(18px + env(safe-area-inset-top, 0px));
	align-self: flex-start;
	z-index: 50;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 8px;
	width: var(--stf-sidebar-w) !important;
	min-width: var(--stf-sidebar-w) !important;
	max-width: var(--stf-sidebar-w) !important;
	min-height: calc(100vh - 36px);
	min-height: calc(100dvh - 36px);
	padding: 18px 0 !important;
	margin: 0 !important;
	border-radius: 28px !important;
	background: rgba(255, 255, 255, 0.92) !important;
	border: 1px solid var(--stf-border) !important;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: var(--stf-shadow) !important;
	transform: none !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	box-sizing: border-box !important;
	overflow: visible !important;
}

body.subtank-staff-console-page .stf-dock__brand {
	width: 44px !important;
	height: 44px !important;
	border-radius: 16px !important;
	background: #0e283c !important;
	display: grid !important;
	place-items: center !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	overflow: hidden;
	flex-shrink: 0;
	box-sizing: border-box !important;
}

body.subtank-staff-console-page .stf-dock__brand-logo {
	width: 28px !important;
	height: 28px !important;
	object-fit: contain;
	display: block !important;
	margin: 0 !important;
}

body.subtank-staff-console-page .stf-dock__nav {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 6px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 1 1 auto;
	list-style: none !important;
}

body.subtank-staff-console-page .stf-dock__foot {
	margin-top: auto !important;
	padding-top: 12px !important;
	width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
}

body.subtank-staff-console-page .stf-dock__item {
	box-sizing: border-box !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	flex: 0 0 44px !important;
	display: grid !important;
	place-items: center !important;
	align-self: center !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 14px !important;
	color: var(--stf-ink) !important;
	text-decoration: none !important;
	font-family: var(--stf-font) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	letter-spacing: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	position: relative !important;
	overflow: visible !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

body.subtank-staff-console-page .stf-dock__icon {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
	pointer-events: none;
}

body.subtank-staff-console-page .stf-dock__icon svg {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: visible;
}

body.subtank-staff-console-page .stf-dock__label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
}

body.subtank-staff-console-page .stf-dock__item[data-tip]::after {
	content: attr(data-tip);
	position: absolute;
	left: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	padding: 6px 10px;
	border-radius: 10px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
	z-index: 60;
}

body.subtank-staff-console-page .stf-dock__item:hover::after,
body.subtank-staff-console-page .stf-dock__item:focus-visible::after {
	opacity: 1;
}

body.subtank-staff-console-page .stf-dock__item.is-active,
body.subtank-staff-console-page .stf-dock__item:hover,
body.subtank-staff-console-page .stf-dock__item:focus-visible {
	color: #0e283c !important;
	background: var(--stf-accent-soft) !important;
	outline: none;
	transform: translateY(-1px);
}

body.subtank-staff-console-page .stf-toast {
	position: fixed;
	top: calc(12px + env(safe-area-inset-top, 0px));
	left: 50%;
	transform: translateX(-50%);
	z-index: 60;
	max-width: min(420px, calc(100% - 32px));
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(24, 24, 27, 0.92);
	color: #fff;
	font-size: 0.88rem;
	box-shadow: var(--stf-shadow-hover);
	animation: stf-toast-in 0.25s ease;
	pointer-events: none;
}

body.subtank-staff-console-page .stf-toast--ok {
	background: rgba(15, 118, 110, 0.95);
}

body.subtank-staff-console-page .stf-toast--err {
	background: rgba(185, 28, 28, 0.95);
}

body.subtank-staff-console-page .stf-hidden {
	display: none !important;
}

@keyframes stf-toast-in {
	from {
		opacity: 0;
		transform: translate(-50%, -8px);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

@media (min-width: 480px) {
	body.subtank-staff-console-page .stf-action {
		padding: 18px !important;
	}

	body.subtank-staff-console-page .stf-action__head {
		flex-direction: row !important;
		align-items: center !important;
		gap: 12px !important;
	}

	body.subtank-staff-console-page .stf-action__title {
		font-size: 0.88rem !important;
	}

	body.subtank-staff-console-page .stf-action__hint {
		padding-left: 48px !important;
		font-size: 0.8rem !important;
	}
}

@media (max-width: 360px) {
	body.subtank-staff-console-page .stf-grid {
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	body.subtank-staff-console-page .stf-action {
		min-height: 96px !important;
	}

	body.subtank-staff-console-page .stf-action__title {
		font-size: 0.9rem !important;
	}
}

@media (max-width: 420px) {
	body.subtank-staff-console-page .stf-action {
		min-height: 110px !important;
		padding: 12px !important;
	}

	body.subtank-staff-console-page .stf-action__title {
		font-size: 0.72rem !important;
		letter-spacing: 0.01em !important;
	}

	body.subtank-staff-console-page .stf-action__hint {
		font-size: 0.68rem !important;
	}

	body.subtank-staff-console-page .stf-card__head h3 {
		font-size: 1rem !important;
	}

	body.subtank-staff-console-page .stf-hero h2 {
		font-size: 1.45rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.subtank-staff-console-page .stf-action,
	body.subtank-staff-console-page .stf-btn,
	body.subtank-staff-console-page .stf-toast {
		transition: none;
		animation: none;
	}
}

/* Soft Logbook — stessa composizione della Staff Console (hero + action cards) */
body.subtank-staff-soft-page .stf-view--soft-stack,
body.subtank-staff-console-page .stf-view--soft-stack {
	width: 100% !important;
	max-width: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: visible;
}

body.subtank-staff-soft-page .stf-lb {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.subtank-staff-soft-page .stf-lb .stf-hello {
	margin: 0 0 14px !important;
}

body.subtank-staff-soft-page .stf-lb__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	color: #0e283c !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-lb-hero,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-hero {
	margin: 0 !important;
	padding: 22px 22px !important;
	border-radius: var(--stf-radius-lg) !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
}

body.subtank-staff-soft-page .stf-lb-hero__lead {
	margin: 0 0 18px !important;
	color: var(--stf-muted) !important;
	font-size: 0.95rem !important;
	line-height: 1.45;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-lb-kpi {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 10px !important;
}

body.subtank-staff-soft-page .stf-lb-kpi__item {
	background: #f9fafb !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 16px !important;
	padding: 14px 10px !important;
	text-align: center;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-lb-kpi__value {
	display: block;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.55rem !important;
	font-weight: 650 !important;
	letter-spacing: -0.03em;
	color: #0e283c !important;
	line-height: 1.1;
}

body.subtank-staff-soft-page .stf-lb-kpi__label {
	display: block;
	margin-top: 6px;
	font-size: 0.72rem !important;
	line-height: 1.3;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
	font-weight: 500 !important;
}

body.subtank-staff-soft-page .stf-lb-cta {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	margin-top: 16px !important;
}

body.subtank-staff-soft-page .stf-lb-cta > a.stf-btn,
body.subtank-staff-soft-page .stf-lb-cta > .stf-btn {
	appearance: none !important;
	-webkit-appearance: none !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	height: auto !important;
	min-height: 42px !important;
	max-height: none !important;
	padding: 11px 14px !important;
	border-radius: 14px !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	text-align: center !important;
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	vertical-align: middle !important;
	cursor: pointer !important;
	position: static !important;
	top: auto !important;
	transform: none !important;
	overflow: visible !important;
}

body.subtank-staff-soft-page .stf-lb-cta > a.stf-btn .stf-lb-cta__label,
body.subtank-staff-soft-page .stf-lb-cta > .stf-btn .stf-lb-cta__label {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
	font: inherit !important;
	color: inherit !important;
	position: static !important;
	transform: none !important;
}

body.subtank-staff-soft-page .stf-lb-cta > a.stf-btn--primary,
body.subtank-staff-soft-page .stf-lb-cta > .stf-btn--primary {
	background: #0e283c !important;
	border: 1px solid #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-lb-cta > a.stf-btn--ghost,
body.subtank-staff-soft-page .stf-lb-cta > .stf-btn--ghost {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	color: #0e283c !important;
	box-shadow: none !important;
}

/* Soft Rubrica — header laterale (titolo sx / toggle dx), stile Soft UI */
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .stf-lb-rubrica,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-rubrica,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	text-align: left !important;
	gap: 0 !important;
}

body.subtank-staff-soft-page .stf-lb-rubrica.is-collapsed {
	min-height: 0 !important;
}

body.subtank-staff-soft-page .stf-shell .stf-lb-rubrica__toggle,
body.subtank-staff-soft-page .stf-lb-rubrica__toggle {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	align-self: stretch !important;
	margin: 0 !important;
	padding: 16px 18px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	cursor: pointer;
	text-align: left !important;
	font-family: var(--stf-font) !important;
	font-size: inherit !important;
	line-height: 1.25 !important;
	min-height: 64px !important;
	height: auto !important;
	box-sizing: border-box !important;
	-webkit-tap-highlight-color: transparent;
	appearance: none !important;
	-webkit-appearance: none !important;
}

body.subtank-staff-soft-page .stf-lb-rubrica__toggle-text {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 4px !important;
	min-width: 0 !important;
	flex: 1 1 auto !important;
	text-align: left !important;
}

body.subtank-staff-soft-page .stf-lb-rubrica__toggle .subtank-buddy-book-card__eyebrow {
	margin: 0 !important;
	align-self: flex-start !important;
}

body.subtank-staff-soft-page .stf-lb-rubrica__title {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #111111 !important;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-align: left !important;
}

body.subtank-staff-soft-page .stf-lb-rubrica__chevron {
	width: 32px !important;
	height: 32px !important;
	margin: 0 0 0 auto !important;
	border-radius: 999px !important;
	flex: 0 0 32px !important;
	display: grid !important;
	place-items: center !important;
	background: #eaf0f6 !important;
	color: #0e283c !important;
	transition: transform 0.18s ease;
}

body.subtank-staff-soft-page .stf-lb-rubrica__chevron::before {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-1px, -1px);
}

body.subtank-staff-soft-page .stf-lb-rubrica.is-collapsed .stf-lb-rubrica__chevron {
	transform: rotate(-90deg);
}

body.subtank-staff-soft-page .stf-lb-rubrica__panel {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	width: 100% !important;
	padding: 0 18px 18px !important;
	text-align: left !important;
	box-sizing: border-box !important;
}

body.subtank-staff-soft-page .stf-lb-rubrica.is-collapsed .stf-lb-rubrica__panel,
body.subtank-staff-soft-page .stf-lb-rubrica__panel[hidden] {
	display: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-activity,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-card {
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: var(--stf-radius-lg) !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 20px 22px !important;
	margin: 0 !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-sheet-handle {
	display: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__eyebrow {
	display: inline-flex !important;
	padding: 4px 10px !important;
	border-radius: 999px !important;
	background: #eaf0f6 !important;
	border: 0 !important;
	color: #0e283c !important;
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	margin-bottom: 10px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card h2 {
	margin: 0 0 8px !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.2rem !important;
	font-weight: 600 !important;
	color: #111111 !important;
	letter-spacing: -0.02em;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__lead,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-activity__empty {
	color: #64748b !important;
	font-size: 0.88rem !important;
	line-height: 1.45 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__list,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__list {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
	margin: 14px 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100% !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__item,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__item {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border-radius: 16px !important;
	background: #f9fafb !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__avatar,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__avatar {
	width: 40px !important;
	height: 40px !important;
	border-radius: 12px !important;
	display: grid !important;
	place-items: center !important;
	background: #eaf0f6 !important;
	color: #0e283c !important;
	font-weight: 700 !important;
	font-size: 0.85rem !important;
	flex-shrink: 0;
	border: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__name,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__name {
	color: #111111 !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	font-family: var(--stf-font) !important;
	min-width: 0;
	flex: 1 1 auto;
	line-height: 1.35;
	overflow-wrap: anywhere;
	text-align: left !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__empty,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__empty {
	grid-column: 1 / -1;
	padding: 12px 4px !important;
	color: #64748b !important;
	text-align: left !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__lead,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__lead,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__hint {
	text-align: left !important;
	max-width: 42rem;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__cta,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-manage,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-rubrica__manage,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .stf-lb-rubrica__manage,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-buddy-book-card__cta,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .stf-lb-rubrica__manage,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__cta.subtank-btn-scopri,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .stf-lb-rubrica__manage.subtank-btn-scopri {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: flex-start !important;
	box-sizing: border-box !important;
	min-height: 44px !important;
	height: 44px !important;
	padding: 0 22px !important;
	margin-top: 4px !important;
	border-radius: 999px !important;
	background: #0e283c !important;
	border: 1px solid #0e283c !important;
	color: #ffffff !important;
	font-family: var(--stf-font) !important;
	font-size: 0.92rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	background-image: none !important;
	filter: none !important;
	transform: none !important;
	vertical-align: middle !important;
	cursor: pointer;
}

/* Desktop: rubrica a griglia card (niente righe a tutta larghezza) */
@media (min-width: 900px) {
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__list,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__list {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}

	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__item,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__item {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-start !important;
		min-height: 0;
		padding: 12px 14px !important;
		border-radius: 16px !important;
		background: #ffffff !important;
		border: 1px solid #e8edf3 !important;
		box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04) !important;
	}

	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__avatar,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__avatar {
		width: 44px !important;
		height: 44px !important;
		border-radius: 14px !important;
		font-size: 0.95rem !important;
	}

	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__name,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__name {
		font-size: 0.92rem !important;
		font-weight: 650 !important;
	}
}

@media (min-width: 1280px) {
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__list,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__list {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 899px) and (min-width: 641px) {
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .subtank-buddy-book-card__list,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-rubrica .subtank-buddy-book-card__list {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Soft Rubrica — gestione Book Compagni */
body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: var(--stf-form-max);
	margin: 0;
	width: 100%;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica .stf-hello {
	margin: 0;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__hero,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__panel {
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 24px !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 20px 22px !important;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__eyebrow {
	margin: 0 0 4px !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__title {
	margin: 0 0 8px !important;
	font-size: 1.35rem !important;
	font-weight: 700 !important;
	color: #111111 !important;
	font-family: 'Poppins', var(--stf-display) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__lead,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__hint {
	margin: 0 !important;
	color: #64748b !important;
	font-size: 0.92rem !important;
	line-height: 1.45 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__count {
	margin: 12px 0 0 !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	color: #0e283c !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__panel-title {
	margin: 0 0 12px !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: #111111 !important;
	font-family: 'Poppins', var(--stf-display) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__list,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__results {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__item,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__result-btn {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	min-height: 52px !important;
	padding: 10px 12px !important;
	border-radius: 14px !important;
	background: #f9fafb !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: none !important;
	text-align: left !important;
	font-family: var(--stf-font) !important;
	color: #111111 !important;
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__item {
	cursor: default;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__avatar {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	background: #eaf0f6 !important;
	color: #0e283c !important;
	font-weight: 700 !important;
	font-size: 0.9rem !important;
	flex-shrink: 0;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__name {
	flex: 1 !important;
	min-width: 0 !important;
	font-weight: 600 !important;
	font-size: 0.92rem !important;
	overflow-wrap: anywhere;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 10px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #64748b !important;
	font-size: 1.25rem !important;
	line-height: 1 !important;
	cursor: pointer;
	flex-shrink: 0;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__add-label {
	flex-shrink: 0;
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__empty {
	margin: 0 !important;
	padding: 12px !important;
	color: #64748b !important;
	font-size: 0.9rem !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__search-wrap {
	display: block !important;
	margin-bottom: 10px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__search {
	width: 100% !important;
	min-height: 48px !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
	font-size: 1rem !important;
	box-sizing: border-box !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__message {
	margin: 0 !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	font-family: var(--stf-font) !important;
	font-size: 0.9rem !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__message.is-ok {
	background: #ecfdf5 !important;
	color: #0f766e !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__message.is-error {
	background: var(--stf-danger-bg) !important;
	color: var(--stf-danger) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__actions .stf-btn {
	min-height: 48px !important;
	padding: 12px 18px !important;
	border-radius: 14px !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__actions .stf-btn--primary {
	background: #0e283c !important;
	border: 1px solid #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__actions .stf-btn--primary:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-rubrica__actions .stf-btn--ghost {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-lb-activity .stf-card__head {
	justify-content: flex-start !important;
}

body.subtank-staff-soft-page .stf-lb-shares {
	margin-top: 0;
}

body.subtank-staff-soft-page .stf-lb-shares .stf-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

body.subtank-staff-soft-page .stf-lb-shares__badge {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6rem;
	height: 1.6rem;
	padding: 0 8px;
	border-radius: 999px;
	background: #0e283c;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
}

body.subtank-staff-soft-page .stf-lb-shares__lead,
body.subtank-staff-soft-page .stf-lb-shares__empty {
	margin: 0 0 12px;
	color: #64748b;
	font-size: 0.92rem;
}

body.subtank-staff-soft-page .stf-lb-shares__message {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #ecfdf5;
	color: #065f46;
	font-size: 0.9rem;
}

body.subtank-staff-soft-page .stf-lb-shares__message.is-error {
	background: #fef2f2;
	color: #991b1b;
}

body.subtank-staff-soft-page .stf-lb-shares__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

body.subtank-staff-soft-page .stf-lb-shares__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid #e8edf3;
	background: #f9fafb;
}

body.subtank-staff-soft-page .stf-lb-shares__main {
	display: grid;
	gap: 2px;
	min-width: 0;
}

body.subtank-staff-soft-page .stf-lb-shares__main strong {
	color: #0e283c;
	font-size: 0.95rem;
}

body.subtank-staff-soft-page .stf-lb-shares__main span,
body.subtank-staff-soft-page .stf-lb-shares__main em {
	color: #64748b;
	font-size: 0.84rem;
	font-style: normal;
}

body.subtank-staff-soft-page .stf-lb-shares__import {
	flex-shrink: 0;
	border-radius: 999px !important;
	min-height: 40px !important;
	padding: 0 16px !important;
}

body.subtank-staff-soft-page .stf-lb-activity__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.subtank-staff-soft-page .stf-lb-activity__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 16px;
	background: #f9fafb !important;
	border: 1px solid var(--stf-border) !important;
}

body.subtank-staff-soft-page .stf-lb-activity__main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

body.subtank-staff-soft-page .stf-lb-activity__main strong {
	color: #111111 !important;
	font-size: 0.92rem !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-lb-activity__main span,
body.subtank-staff-soft-page .stf-lb-activity__main em {
	color: #64748b !important;
	font-size: 0.78rem !important;
	font-style: normal !important;
	font-family: var(--stf-font) !important;
}

@media (max-width: 640px) {
	body.subtank-staff-soft-page .stf-lb-kpi {
		grid-template-columns: 1fr !important;
	}

	body.subtank-staff-soft-page .stf-lb-cta {
		flex-direction: column;
	}

	body.subtank-staff-soft-page .stf-lb-cta .stf-btn {
		width: 100%;
	}

	body.subtank-staff-soft-page .stf-lb-shares__item {
		flex-direction: column;
		align-items: stretch;
	}

	body.subtank-staff-soft-page .stf-lb-shares__import {
		width: 100%;
	}
}

/* Soft Logbook flow — personale + modulo immersione */
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-embed--logbook {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: none;
	margin: 0;
	width: 100%;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-split,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-split__main {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	min-width: 0;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-form {
	display: grid;
	gap: 6px;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-section {
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-section > :not(summary) {
	padding: 5px 8px 8px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-fields,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-form .subtank-dive-module-fields {
	gap: 0 !important;
	row-gap: 0 !important;
	margin-bottom: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-actions,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-personal-logbook-list-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-flow-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px !important;
}

/* Soft Modulo Immersione + Logbook personale — full width desktop, no overflow mobile */
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack {
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	overflow-x: hidden !important;
	box-sizing: border-box;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .stf-lb-flow,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .stf-embed--logbook,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .stf-embed__wrap,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-page,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .stf-lb-flow,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .stf-embed--logbook,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .stf-embed__wrap,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-page {
	max-width: none !important;
	width: 100% !important;
	min-width: 0;
	box-sizing: border-box;
	overflow-x: hidden;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-logbook-hero-card,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-logbook-glass-panel,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-card,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-row,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-hero-card,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-glass-panel,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-card,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-section,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-list-item {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow-wrap: anywhere;
	word-break: break-word;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-logbook-flow-lead,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field > span,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack label,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack h2,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack h3,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack strong,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack p,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-main,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-meta,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-guide-label,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-manual-toggle,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-flow-lead,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field > span,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-hint,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack label,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack summary,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack h2,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack h3,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack strong,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack p,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-list-main,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-list-meta {
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-logbook-flow-lead,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-flow-lead {
	max-width: none;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack input:not([type="checkbox"]):not([type="radio"]),
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack select,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack textarea,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-signature-canvas,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-detail-sig,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack input:not([type="checkbox"]):not([type="radio"]),
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack select,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack textarea,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-signature-canvas,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-date-picker__toggle {
	max-width: 100% !important;
	width: 100%;
	box-sizing: border-box;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-buddy-qr-reader {
	display: block !important;
	width: 100% !important;
	min-height: 260px !important;
	margin: 12px 0 16px !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	background: #0f172a !important;
	border: 1px solid #d5dee8 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-buddy-qr-reader video,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-buddy-qr-reader canvas {
	width: 100% !important;
	max-width: 100% !important;
	border-radius: 16px !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-buddy-qr-detected {
	color: #166534 !important;
	background: #f0fdf4 !important;
	border: 1px solid #86efac !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-buddy-qr-detected.is-error {
	color: #b91c1c !important;
	background: #fef2f2 !important;
	border-color: #fca5a5 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-validation-panel .subtank-signature-canvas,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-participant-signature .subtank-signature-canvas {
	display: block !important;
	width: 100% !important;
	min-height: 160px !important;
	height: 160px !important;
	border: 1px solid #d5dee8 !important;
	border-radius: 14px !important;
	background: #ffffff !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack input[type="checkbox"],
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack input[type="radio"],
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack input[type="checkbox"],
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack input[type="radio"] {
	width: 1.1em !important;
	min-width: 1.1em !important;
	max-width: 1.1em !important;
	height: 1.1em !important;
	margin: 0.2em 0 0 !important;
	flex: 0 0 auto !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-form label:not(.subtank-dive-log-toggle):not(.subtank-dive-participant-manual-toggle):not(.subtank-dive-participant-guide-label):not(.subtank-dive-log-module-compagni__toggle) {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	min-width: 0;
	text-align: left !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-manual-toggle,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-guide-label,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-toggle {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	width: 100% !important;
	text-align: left !important;
}

/* Desktop split: form/rubrica | lista */
@media (min-width: 960px) {
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-logbook-split,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-split {
		display: grid !important;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: 16px;
		align-items: start;
		width: 100%;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-split > .subtank-dive-module-complete-panel:not([hidden]),
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-split > .subtank-dive-module-detail:not([hidden]) {
		grid-column: 1 / -1 !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-split > .subtank-dive-module-form-section {
		grid-column: 1 !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-split > .subtank-dive-module-list-section {
		grid-column: 2 !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-section,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-list-section {
		position: sticky;
		top: 12px;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-split.is-form-open .subtank-buddy-book-card,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-split.is-form-open .stf-lb-rubrica {
		display: none !important;
	}
}

/* Mobile Soft Soft: 1) moduli 2) post-immersione 3) nuovo modulo */
@media (max-width: 959px) {
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-split {
		display: flex !important;
		flex-direction: column !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-split > .subtank-dive-module-list-section {
		order: 1 !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-split > .subtank-dive-module-complete-panel {
		order: 2 !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-split > .subtank-dive-module-form-section {
		order: 3 !important;
	}

	/* Logbook personale: lista immersioni sopra il form (visibile dopo Salva) */
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-split {
		display: flex !important;
		flex-direction: column !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-split:not(.is-new-only) > .subtank-personal-logbook-list-section {
		order: 1 !important;
		display: block !important;
		visibility: visible !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-split > .subtank-logbook-split__main {
		order: 2 !important;
	}

	/* ?new=1: solo card Nuova immersione */
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-split.is-new-only > .subtank-personal-logbook-list-section {
		display: none !important;
		visibility: hidden !important;
	}
}

#subtank-personal-logbook-app.is-new-only .stf-lb-hero,
#subtank-personal-logbook-app.is-new-only .subtank-personal-logbook-kpi-grid,
#subtank-personal-logbook-app.is-new-only .subtank-personal-logbook-validation-inbox,
#subtank-personal-logbook-app.is-new-only .subtank-personal-logbook-awaiting-validation,
#subtank-personal-logbook-app.is-new-only .subtank-buddy-book-card,
#subtank-personal-logbook-app.is-new-only .subtank-personal-logbook-list-section {
	display: none !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] #subtank-personal-logbook-list:not([hidden]) {
	display: block !important;
	visibility: visible !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] #subtank-personal-logbook-list[hidden],
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] #subtank-personal-logbook-empty[hidden] {
	display: none !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-section {
	padding-top: 8px !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-toggle {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 0 10px !important;
	padding: 4px 0 8px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer !important;
	font-family: var(--stf-font) !important;
	text-align: left !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-toggle__title {
	display: block !important;
	margin: 0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #111111 !important;
	letter-spacing: -0.02em;
	line-height: 1.25 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-toggle__chevron {
	width: 32px !important;
	height: 32px !important;
	flex: 0 0 32px !important;
	border-radius: 999px !important;
	display: grid !important;
	place-items: center !important;
	background: #eaf0f6 !important;
	color: #0e283c !important;
	transition: transform 0.18s ease;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-toggle__chevron::before {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-1px, -1px);
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-section.is-collapsed .subtank-dive-module-list-toggle__chevron {
	transform: rotate(-90deg);
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-section.is-collapsed .subtank-dive-module-list-panel {
	display: none !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-item,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-logbook-glass-list-item,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-list-item,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-glass-list-item,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-chip-list,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-site-picker {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-fields,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	justify-content: start !important;
	justify-items: stretch !important;
	align-items: start !important;
	gap: 0;
	row-gap: 0;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

@media (min-width: 900px) {
	/* Modulo pre-immersione: sempre 1 colonna (allineata a sinistra come Identificativo/Sito). */
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-fields {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields:not(.subtank-dive-module-fields--legal) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field {
	float: none !important;
	clear: none !important;
	justify-self: stretch !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field--wide,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field--wide,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-fields > .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields > .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields--legal > .subtank-dive-module-field {
	grid-column: 1 / -1 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-gas-row {
	background: #f9fafb !important;
	border: 1px solid var(--stf-border) !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .subtank-dive-log-guide-signature,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-dive-log-guide-signature span {
	display: block;
	max-width: 100%;
	min-width: 0;
	overflow-wrap: anywhere;
}

body.subtank-staff-soft-page .stf-soft-content--stack .subtank-dive-log-guide-signature-canvas {
	width: 100% !important;
	max-width: 100% !important;
	height: 160px;
	box-sizing: border-box;
}

@media (max-width: 720px) {
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hero-card,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .stf-lb-flow .subtank-logbook-glass-panel,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .stf-lb-flow .subtank-card,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hero-card,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .stf-lb-flow .subtank-logbook-glass-panel,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .stf-lb-flow .subtank-card {
		padding: 14px 14px !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-fields,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields--gas {
		grid-template-columns: 1fr !important;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-actions,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-detail-actions,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-form-actions,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-actions,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-list-actions,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-actions,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-list-head {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-actions .button,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-actions .button,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-form-actions .button,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-submit,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-list-actions .button,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-actions .button,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-submit,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-personal-logbook-add {
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		white-space: normal;
		text-align: center;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-guide-label,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-manual-toggle {
		align-items: flex-start;
		gap: 10px;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-logbook-flow-back,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-logbook-flow-back {
		max-width: 100%;
		white-space: normal;
		justify-content: center;
		text-align: center;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-section > summary,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-gas-title {
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-site-picker,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-buddy-actions {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		max-width: 100%;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-site-picker .button {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		white-space: normal;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-buddy-pick {
		width: auto !important;
		max-width: 100%;
		align-self: flex-start !important;
		box-sizing: border-box;
		white-space: nowrap;
	}
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-sheet-handle {
	display: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hero-card,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-glass-panel,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-card,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-buddy-book-card,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .stf-card {
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: var(--stf-radius-lg) !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 20px 22px !important;
	margin: 0 !important;
	color: #111111 !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

/* KPI tiles restano inset Soft Soft, non card piene */
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hub-kpi.subtank-logbook-glass-panel,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hub-kpi.subtank-card {
	background: #f9fafb !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 16px !important;
	box-shadow: none !important;
	padding: 14px 12px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-flow-back,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-flow-back--muted {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 8px 14px !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	color: #0e283c !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	font-family: var(--stf-font) !important;
	backdrop-filter: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-flow-lead,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-empty,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-list-meta {
	color: #64748b !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow h2,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow h3,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow strong {
	color: #111111 !important;
	font-family: 'Poppins', var(--stf-display) !important;
}

/* Form Nuova immersione — override glass (testo bianco su card Soft) */
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-section {
	border: 1px solid #e2e8f0 !important;
	border-radius: 16px !important;
	background: #f9fafb !important;
	box-shadow: none !important;
	overflow: hidden;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-section > summary,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-section--gas .subtank-dive-log-gas-title {
	color: #0e283c !important;
	background: #f1f5f9 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	padding: 0.36rem 0.7rem !important;
}

/* Compattazione form Soft Soft (~60% meno spazio verticale). */
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-configurazione-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-personal-logbook-share-hint {
	margin: 0.1rem 0 0 !important;
	line-height: 1.25 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-toggle-row {
	margin: 0.3rem 0 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-field > span,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-personal-logbook-form .subtank-dive-module-field--date > span,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow label span,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-toggle,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-configurazione-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-irs-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-personal-logbook-share-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-volume-total {
	color: #334155 !important;
	-webkit-text-fill-color: #334155 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-toggle {
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-date-picker__toggle,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-personal-logbook-form .subtank-dive-module-field--date:not(.subtank-dive-log-field-error) .subtank-date-picker__toggle {
	background: #ffffff !important;
	background-image: none !important;
	border: 1px solid #e2e8f0 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-date-picker__value,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-personal-logbook-form .subtank-dive-module-field--date:not(.subtank-dive-log-field-error) .subtank-date-picker__value {
	color: #111111 !important;
	-webkit-text-fill-color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-date-picker__icon {
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-date-picker__popover {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	box-shadow: var(--stf-shadow) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-date-picker__month-select,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-date-picker__year-select {
	border: 1px solid #d5dee8 !important;
	background: #f8fafc !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-toggle input[type="checkbox"] {
	accent-color: #0e283c;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-personal-logbook-kpi-grid,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hub-kpi-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 10px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hub-kpi {
	background: #f9fafb !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 16px !important;
	box-shadow: none !important;
	padding: 14px 12px !important;
	text-align: center;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hub-kpi__value {
	color: #0e283c !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-weight: 700 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .button,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow button:not(.stf-icon-btn):not(.subtank-dive-log-chip-remove) {
	border-radius: 14px !important;
	min-height: 42px !important;
	font-family: var(--stf-font) !important;
	background-image: none !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.4rem !important;
	padding: 0.35rem 0.4rem 0.35rem 0.8rem !important;
	border-radius: 999px !important;
	border: 1px solid #d5dee8 !important;
	background: #eef3f8 !important;
	color: #0e283c !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-label {
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-remove {
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	min-width: 22px !important;
	height: 22px !important;
	min-height: 22px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #c5d0dc !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: #64748b !important;
	font-size: 0 !important;
	line-height: 0 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-remove__icon {
	position: relative !important;
	display: block !important;
	width: 9px !important;
	height: 9px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-remove__icon::before,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-remove__icon::after {
	content: '' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 9px !important;
	height: 1.5px !important;
	border-radius: 999px !important;
	background: currentColor !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-remove__icon::before {
	transform: translate(-50%, -50%) rotate(45deg) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-remove__icon::after {
	transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-remove:hover,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-chip-remove:focus {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #ffffff !important;
	outline: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .button-primary {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #ffffff !important;
}

/* Crea Log is an <a.button>: match real buttons for vertical/horizontal centering */
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-actions .button,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-detail-actions .button,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-list-actions a.button,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-detail-actions a.button,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-create-log,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-add-logbook {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	position: relative;
	z-index: 3;
	pointer-events: auto !important;
	touch-action: manipulation;
	box-sizing: border-box !important;
	min-height: 36px !important;
	padding: 0 14px !important;
	line-height: 1.2 !important;
	text-align: center !important;
	text-decoration: none !important;
	vertical-align: middle !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .button:not(.button-primary),
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-glass-btn {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow input,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow select,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow textarea {
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-list-item,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-glass-list-item,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-buddy-book-card__item {
	background: #f9fafb !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	color: #111111 !important;
}

@media (max-width: 640px) {
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-personal-logbook-kpi-grid,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-logbook-hub-kpi-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Soft Wallet — composizione Soft (hero + segment + cards) */
body.subtank-staff-soft-page .stf-wl {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: none !important;
	margin: 0;
	width: 100%;
}

body.subtank-staff-soft-page .stf-wl .stf-hello {
	margin: 0 0 14px !important;
}

body.subtank-staff-soft-page .stf-wl__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	color: #0e283c !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-hero {
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 24px !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 22px 22px 20px !important;
	margin: 0 0 16px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-hero__eyebrow,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica > .stf-wl-hero__eyebrow {
	margin: 0 0 6px !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: var(--stf-muted) !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-hero__title {
	margin: 0 0 8px !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.45rem !important;
	font-weight: 650 !important;
	letter-spacing: -0.02em !important;
	color: #111111 !important;
	line-height: 1.2 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-hero__lead {
	margin: 0 !important;
	color: #64748b !important;
	font-size: 0.92rem !important;
	font-family: var(--stf-font) !important;
	line-height: 1.45 !important;
}

/* Soft Wallet tabs — segment pill full-width */
body.subtank-staff-soft-page .stf-wl-segment {
	margin: 0 0 16px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-tabs,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-cert-wallet-tabs.stf-wl-tabs,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-segment.stf-wl-tabs {
	display: flex !important;
	gap: 6px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 4px !important;
	background: #f3f4f6 !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	min-height: 0 !important;
	box-sizing: border-box !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-tabs .subtank-cert-wallet-tab {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	min-height: 44px !important;
	padding: 10px 10px !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--stf-muted) !important;
	border: 0 !important;
	box-shadow: none !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.86rem !important;
	line-height: 1.2 !important;
	text-align: center !important;
	cursor: pointer;
	box-sizing: border-box !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-tabs .subtank-cert-wallet-tab.is-active {
	background: #ffffff !important;
	color: #111111 !important;
	box-shadow: var(--stf-shadow) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-panel,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-manage,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-notice {
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 24px !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 22px 22px 24px !important;
	margin: 0 0 16px !important;
	color: #111111 !important;
	box-sizing: border-box !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-panel[hidden],
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-manage[hidden],
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica[hidden],
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-notice[hidden] {
	display: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-manage .stf-card__head,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica .stf-card__head {
	justify-content: flex-start !important;
	margin-bottom: 12px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-manage__intro,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-cert-wallet-empty,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-cert-wallet-manage-intro {
	color: #64748b !important;
	font-size: 0.9rem !important;
	font-family: var(--stf-font) !important;
	margin: 0 0 14px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__msg {
	margin: 0 0 12px !important;
	padding: 10px 12px !important;
	border-radius: 12px !important;
	font-size: 0.88rem !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__msg.is-ok {
	background: #ecfdf5 !important;
	color: #065f46 !important;
	border: 1px solid #a7f3d0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__msg.is-error {
	background: #fef2f2 !important;
	color: #991b1b !important;
	border: 1px solid #fecaca !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__avatar {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	margin: 0 0 18px !important;
	flex-wrap: wrap !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__avatar-img {
	width: 96px !important;
	height: 96px !important;
	border-radius: 20px !important;
	object-fit: cover !important;
	background: #e2e8f0 !important;
	box-shadow: var(--stf-shadow) !important;
	flex-shrink: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__avatar-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__avatar-actions .stf-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 40px !important;
	padding: 0 14px !important;
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #0e283c !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.85rem !important;
	cursor: pointer !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	grid-auto-flow: row !important;
	justify-items: stretch !important;
	align-items: start !important;
	gap: 14px !important;
	margin: 0 0 18px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__grid label {
	display: grid !important;
	gap: 6px !important;
	margin: 0 !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	justify-self: stretch !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__grid label > span {
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__grid input,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__grid select {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #111111 !important;
	box-sizing: border-box !important;
	font-family: var(--stf-font) !important;
	font-size: 0.95rem !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__grid input:focus,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__grid select:focus {
	outline: none !important;
	border-color: #0e283c !important;
	box-shadow: 0 0 0 3px rgba(14, 40, 60, 0.12) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__span-2 {
	grid-column: 1 / -1 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__actions {
	display: flex !important;
	justify-content: flex-start !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__actions .stf-btn--primary {
	min-width: 160px;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical {
	margin-top: 18px !important;
	padding: 14px 14px 12px !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 14px !important;
	background: #f8fafc !important;
	display: grid !important;
	gap: 10px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical h4 {
	margin: 0 !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-file-name {
	margin: 0 !important;
	font-size: 0.82rem !important;
	color: #64748b !important;
	line-height: 1.35 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-status {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-badge {
	display: inline-flex !important;
	align-items: center !important;
	padding: 4px 10px !important;
	border-radius: 999px !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	background: #e2e8f0 !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-badge--valid {
	background: #dcfce7 !important;
	color: #166534 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-badge--expiring {
	background: #fef3c7 !important;
	color: #92400e !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-badge--expired,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-badge--missing {
	background: #fee2e2 !important;
	color: #991b1b !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical-open {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 36px !important;
	padding: 0 14px !important;
	border-radius: 999px !important;
	background: #0e283c !important;
	color: #ffffff !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical label {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__medical label > span {
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	color: #475569 !important;
}

body.subtank-staff-soft-page .stf-reception__open-file {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	margin-left: auto !important;
	min-height: 40px !important;
	padding: 0 18px !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: #0e283c !important;
	color: #ffffff !important;
	font-family: var(--stf-font) !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	white-space: nowrap !important;
}

body.subtank-staff-soft-page .stf-reception__open-file:hover,
body.subtank-staff-soft-page .stf-reception__open-file:focus-visible {
	background: #163a52 !important;
	color: #ffffff !important;
	outline: none !important;
}

body.subtank-staff-soft-page .stf-reception__kv li > .stf-reception__open-file {
	max-width: none !important;
	text-align: center !important;
}

@media (max-width: 640px) {
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-anagrafica__grid {
		grid-template-columns: 1fr !important;
	}

	body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-tabs .subtank-cert-wallet-tab {
		font-size: 0.78rem !important;
		padding: 10px 6px !important;
	}

	body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-hero__title {
		font-size: 1.28rem !important;
	}
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-wallet-app,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-app {
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-app__head {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
	margin: 0 0 18px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-app__identity {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	min-width: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-app__icon {
	width: 44px !important;
	height: 44px !important;
	border-radius: 14px !important;
	background: #eaf0f6 !important;
	color: #0e283c !important;
	display: grid !important;
	place-items: center !important;
	font-size: 1.05rem !important;
	flex-shrink: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-app__eyebrow {
	margin: 0 0 2px !important;
	font-size: 0.7rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-app__name {
	margin: 0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.05rem !important;
	font-weight: 650 !important;
	color: #111111 !important;
	line-height: 1.2 !important;
	overflow-wrap: anywhere !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-app__avatar,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-wallet-app-avatar {
	width: 44px !important;
	height: 44px !important;
	border-radius: 14px !important;
	object-fit: cover !important;
	box-shadow: var(--stf-shadow) !important;
	flex-shrink: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-offline {
	margin: 0 0 14px !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	background: #fffbeb !important;
	border: 1px solid #fde68a !important;
	color: #92400e !important;
	font-size: 0.88rem !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-offline[hidden] {
	display: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-empty,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-hint {
	color: #64748b !important;
	font-size: 0.9rem !important;
	font-family: var(--stf-font) !important;
	margin: 0 0 12px !important;
	line-height: 1.45 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-app__actions {
	margin-top: 14px !important;
	display: flex !important;
	justify-content: center !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card {
	border-radius: 20px !important;
	box-shadow: 0 12px 28px rgba(14, 40, 60, 0.18) !important;
	background: linear-gradient(
		135deg,
		var(--biz-card-color, #1e4d8c) 0%,
		color-mix(in srgb, var(--biz-card-color, #1e4d8c) 68%, #000) 100%
	) !important;
	background-image: linear-gradient(
		135deg,
		var(--biz-card-color, #1e4d8c) 0%,
		color-mix(in srgb, var(--biz-card-color, #1e4d8c) 68%, #000) 100%
	) !important;
	border: 0 !important;
	color: #ffffff !important;
	box-sizing: border-box !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card--hero {
	padding: 22px 20px 18px !important;
	min-height: 200px !important;
	gap: 14px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card--compact {
	padding: 16px 14px !important;
	min-height: 88px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-top,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-body,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-footer {
	padding: 0 !important;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-issuer,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-type,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-name,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-number,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-date,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-compact-title,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-compact-subtitle,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card h3,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card p,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card span {
	color: #ffffff !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-type,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-date,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-compact-subtitle {
	color: rgba(255, 255, 255, 0.82) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-compact-row {
	gap: 12px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-chip,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-biz-card-compact-icon {
	background: rgba(255, 255, 255, 0.2) !important;
	color: #ffffff !important;
	flex-shrink: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-cert-doc-open {
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.45) !important;
	background: rgba(255, 255, 255, 0.14) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-wallet-hero-wrap {
	margin: 0 0 14px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-wallet-pass-grid {
	gap: 12px !important;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-btn--primary,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-upload .stf-btn--primary {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 48px !important;
	padding: 0 18px !important;
	border-radius: 14px !important;
	background: #0e283c !important;
	border: 1px solid #0e283c !important;
	color: #ffffff !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	box-shadow: none !important;
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-btn--ghost,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-wallet-show-more,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl #subtank-diving-cert-add {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 44px !important;
	padding: 0 16px !important;
	border-radius: 14px !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	color: #0e283c !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	box-shadow: none !important;
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-cert-wallet-page,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl.subtank-cert-wallet-page {
	background: transparent !important;
	min-height: 0 !important;
	padding: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-card,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-dashboard-box {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 0 10px !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-alert {
	margin: 0 !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	font-family: var(--stf-font) !important;
	font-size: 0.9rem !important;
	line-height: 1.4 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-alert-success {
	background: #ecfdf5 !important;
	border: 1px solid #a7f3d0 !important;
	color: #065f46 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-alert-error {
	background: #fef2f2 !important;
	border: 1px solid #fecaca !important;
	color: #991b1b !important;
}

/* Soft upload form — override dark legacy diving-cert rows */
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-upload,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-upload-form {
	display: grid !important;
	gap: 14px !important;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-rows {
	display: grid !important;
	gap: 12px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-row {
	background: #f8fafc !important;
	border: 1px solid #e8ebf0 !important;
	border-radius: 18px !important;
	padding: 16px !important;
	display: grid !important;
	gap: 10px !important;
	box-shadow: none !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-row-title {
	color: #111111 !important;
	font-family: var(--stf-font) !important;
	font-size: 0.95rem !important;
	font-weight: 650 !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-remove {
	color: #dc2626 !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.85rem !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-upload-form label {
	display: block !important;
	margin: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-upload-form input[type="text"],
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-upload-form input[type="file"],
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-upload-form select,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl input,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl select,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl textarea {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #111111 !important;
	box-sizing: border-box !important;
	font-family: var(--stf-font) !important;
	font-size: 0.95rem !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-upload-form input:focus,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-upload-form select:focus {
	outline: none !important;
	border-color: #0e283c !important;
	box-shadow: 0 0 0 3px rgba(14, 40, 60, 0.12) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-custom-field.subtank-hidden {
	display: none !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .subtank-diving-cert-form-actions,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-add-wrap {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin-top: 4px !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-wl .stf-wl-add-wrap {
	justify-content: center !important;
	margin-top: 14px !important;
}

/* Soft document modal */
body.subtank-staff-soft-page .stf-wl .subtank-cert-doc-modal__panel {
	background: #ffffff !important;
	border-radius: 24px !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: 0 24px 60px rgba(14, 40, 60, 0.22) !important;
	overflow: hidden !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-wl .subtank-cert-doc-modal__header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	padding: 16px 18px !important;
	border-bottom: 1px solid #eef2f6 !important;
}

body.subtank-staff-soft-page .stf-wl .subtank-cert-doc-modal__header h2 {
	margin: 0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.05rem !important;
	font-weight: 650 !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-wl .subtank-cert-doc-modal__close {
	width: 40px !important;
	height: 40px !important;
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #0e283c !important;
	font-size: 1.35rem !important;
	line-height: 1 !important;
	cursor: pointer !important;
}

body.subtank-staff-soft-page .stf-wl .subtank-cert-doc-modal__body {
	padding: 16px !important;
	background: #f8fafc !important;
}

body.subtank-staff-soft-page .stf-wl .subtank-cert-doc-modal__footer {
	padding: 14px 18px !important;
	border-top: 1px solid #eef2f6 !important;
}

body.subtank-staff-soft-page .stf-wl .subtank-cert-doc-modal__external {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 40px !important;
	padding: 0 14px !important;
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #0e283c !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.88rem !important;
}

body.subtank-staff-soft-page .stf-wl .subtank-wallet-pass-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 520px) {
	body.subtank-staff-soft-page .stf-wl .subtank-wallet-pass-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Soft Shop hub — solo Gadget / Quote sociali */
body.subtank-staff-soft-page .stf-sh {
	display: flex;
	flex-direction: column;
	max-width: none !important;
	margin: 0;
	width: 100%;
}

/* Soft Soft shop: spazio sotto per il dock. */
body.subtank-staff-soft-page .stf-shell[data-soft-page='shop'] .stf-soft-content--stack,
body.subtank-staff-soft-page .stf-shell[data-soft-page='shop-gadget'] .stf-soft-content--stack,
body.subtank-staff-soft-page .stf-shell[data-soft-page='shop-quote'] .stf-soft-content--stack,
body.subtank-staff-soft-page .stf-shell[data-soft-page='member-shop'] .stf-soft-content--stack,
body.subtank-staff-soft-page .stf-shell[data-soft-page='staff-commerce'] .stf-soft-content--stack,
body.subtank-soft-shop-page .stf-soft-content--stack {
	padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
}

/* Hub Soft Soft: Carrello in topbar (fuori dalla fascia dock). */
body.subtank-staff-soft-page .stf-sh__toolbar,
body.subtank-soft-shop-page .stf-sh__toolbar {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 0 8px !important;
	width: 100%;
}

body.subtank-staff-soft-page .stf-sh__toolbar .stf-cal__back--cart,
body.subtank-soft-shop-page .stf-sh__toolbar .stf-cal__back--cart,
body.subtank-staff-soft-page .stf-sh-cat .stf-cal__back--cart,
body.subtank-soft-shop-page .stf-sh-cat .stf-cal__back--cart {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--stf-indigo) !important;
	border: 1px solid transparent !important;
	box-shadow: var(--stf-shadow) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	font-family: var(--stf-font) !important;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

body.subtank-staff-soft-page .stf-sh-receipt,
body.subtank-soft-shop-page .stf-sh-receipt {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

body.subtank-staff-soft-page .stf-sh-receipt__note,
body.subtank-soft-shop-page .stf-sh-receipt__note {
	margin: 0;
	color: var(--stf-muted, #64748b);
	font-size: 0.92rem;
}

body.subtank-staff-soft-page .stf-sh-receipt__actions,
body.subtank-soft-shop-page .stf-sh-receipt__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

body.subtank-staff-soft-page .stf-sh__toolbar .stf-cal__back--cart .stf-side-cart__count,
body.subtank-soft-shop-page .stf-sh__toolbar .stf-cal__back--cart .stf-side-cart__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.3rem;
	margin-left: 2px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 0.72rem;
	font-weight: 700;
}

body.subtank-staff-soft-page .stf-shell--staff-commerce .stf-dock--commerce,
body.subtank-soft-shop-page .stf-shell--staff-commerce .stf-dock--commerce {
	z-index: 40;
}

body.subtank-staff-soft-page .stf-sh-grid {
	margin-bottom: 8px !important;
	max-width: 560px;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action,
body.subtank-staff-soft-page .stf-sh-grid .stf-sh-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	gap: 18px !important;
	text-decoration: none !important;
	padding: 18px !important;
	min-height: 128px !important;
	height: 100% !important;
	border-radius: 22px !important;
	box-shadow: var(--stf-shadow) !important;
	border: 1px solid var(--stf-border) !important;
	box-sizing: border-box !important;
	font-family: var(--stf-font) !important;
	position: relative;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action__icon {
	width: 40px;
	height: 40px;
	border-radius: 12px !important;
	display: grid;
	place-items: center;
	font-size: 1.05rem;
	flex-shrink: 0;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action__title {
	margin: 0 !important;
	margin-top: auto !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-weight: 650 !important;
	font-size: 1rem !important;
	line-height: 1.2 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.02em !important;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action--tanks {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action--tanks .stf-action__title,
body.subtank-staff-soft-page .stf-sh-grid .stf-action--tanks .stf-action__icon {
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action--tanks .stf-action__icon {
	background: rgba(255, 255, 255, 0.14) !important;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action--equip {
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action--equip .stf-action__title {
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-sh-grid .stf-action--equip .stf-action__icon {
	background: #eaf0f6 !important;
	color: #0e283c !important;
}

@media (max-width: 640px) {
	body.subtank-staff-soft-page .stf-sh-grid {
		grid-template-columns: 1fr !important;
		max-width: none;
	}
}

/* Soft Shop catalogo prodotti */
body.subtank-staff-soft-page .stf-sh-cat {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

body.subtank-staff-soft-page .stf-sh-cat .stf-hello {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-sh-cat .stf-cal__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	color: #0e283c !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-sh-cat .stf-cal__back--cart {
	background: var(--stf-indigo) !important;
	border-color: transparent !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-sh-cat .stf-cal__back--cart .stf-side-cart__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.3rem;
	margin-left: 2px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 0.72rem;
	font-weight: 700;
}

body.subtank-staff-soft-page .stf-sh-cat__hero {
	margin-bottom: 4px !important;
	padding: 16px 18px !important;
	border-radius: 22px !important;
}

body.subtank-staff-soft-page .stf-sh-cat__hero h2 {
	margin: 0 0 4px !important;
	font-size: 1.35rem !important;
	font-weight: 650 !important;
}

body.subtank-staff-soft-page .stf-sh-cat__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
	width: 100%;
}

body.subtank-staff-soft-page .stf-sh-cat__grid--moda {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

body.subtank-staff-soft-page .stf-sh-product {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 20px !important;
	box-shadow: var(--stf-shadow) !important;
	overflow: hidden;
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

body.subtank-staff-soft-page .stf-sh-product--moda:hover {
	transform: translateY(-3px);
	box-shadow: var(--stf-shadow-hover) !important;
}

body.subtank-staff-soft-page .stf-sh-product__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: #f3f6f9;
	overflow: hidden;
}

body.subtank-staff-soft-page .stf-sh-product__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

body.subtank-staff-soft-page .stf-sh-product--moda:hover .stf-sh-product__media img {
	transform: scale(1.04);
}

body.subtank-staff-soft-page .stf-sh-product__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #94a3b8;
	font-size: 1.6rem;
}

body.subtank-staff-soft-page .stf-sh-product__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
	flex: 1 1 auto;
}

body.subtank-staff-soft-page .stf-sh-product--moda .stf-sh-product__body {
	padding: 14px 14px 16px;
	gap: 8px;
}

body.subtank-staff-soft-page .stf-sh-product__title {
	margin: 0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 0.92rem !important;
	font-weight: 650 !important;
	line-height: 1.25;
}

body.subtank-staff-soft-page .stf-sh-product--moda .stf-sh-product__title {
	font-size: 0.95rem !important;
	font-weight: 700 !important;
}

body.subtank-staff-soft-page .stf-sh-product__title a {
	color: #0e283c !important;
	text-decoration: none !important;
}

body.subtank-staff-soft-page .stf-sh-product--moda .stf-sh-product__title a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.subtank-staff-soft-page .stf-sh-product__price {
	margin: 0 !important;
	color: var(--stf-muted) !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
}

body.subtank-staff-soft-page .stf-sh-product--moda .stf-sh-product__price {
	color: var(--stf-ink) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
}

body.subtank-staff-soft-page .stf-sh-product__cta {
	margin-top: auto;
	width: 100%;
	justify-content: center;
	min-height: 40px !important;
	border-radius: 999px !important;
	font-size: 0.78rem !important;
}

body.subtank-staff-soft-page .stf-sh-product--moda .stf-sh-product__cta {
	min-height: 42px !important;
	font-size: 0.8rem !important;
}

@media (max-width: 640px) {
	body.subtank-staff-soft-page .stf-sh-cat__grid,
	body.subtank-staff-soft-page .stf-sh-cat__grid--moda {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
}

/* Soft side cart (NovaShop-like) — above Soft Soft dock (dock uses z-index !important on mobile) */
.stf-side-cart {
	position: fixed;
	inset: 0;
	z-index: 10050 !important;
	pointer-events: none;
	visibility: hidden;
}

body.stf-side-cart-open .stf-dock {
	visibility: hidden !important;
	pointer-events: none !important;
}

.stf-side-cart.is-open {
	pointer-events: auto;
	visibility: visible;
}

.stf-side-cart__backdrop {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(15, 23, 42, 0.35);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.stf-side-cart.is-open .stf-side-cart__backdrop {
	opacity: 1;
}

.stf-side-cart__panel {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	width: min(400px, 100vw);
	height: 100%;
	background: #ffffff;
	box-shadow: -16px 0 40px rgba(15, 23, 42, 0.12);
	transform: translateX(104%);
	transition: transform 0.22s ease;
	font-family: var(--stf-font, 'Plus Jakarta Sans', system-ui, sans-serif);
	color: #111111;
	pointer-events: auto;
}

.stf-side-cart.is-open .stf-side-cart__panel {
	transform: translateX(0);
}

.stf-side-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 18px 14px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stf-side-cart__title {
	margin: 0;
	font-family: var(--stf-display, Poppins, system-ui, sans-serif);
	font-size: 1.1rem;
	font-weight: 700;
}

.stf-side-cart__close {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: #f3f4f6;
	color: #111;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.stf-side-cart__body {
	flex: 1 1 auto;
	overflow: auto;
	padding: 14px 18px;
}

.stf-side-cart__empty {
	margin: 24px 0;
	color: #64748b;
	text-align: center;
}

.stf-side-cart__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.stf-side-cart__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.stf-side-cart__media,
.stf-side-cart__thumb {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 14px;
	overflow: hidden;
	background: #f3f6f9;
	object-fit: cover;
}

.stf-side-cart__name {
	display: block;
	margin: 0 0 4px;
	color: #111;
	font-weight: 650;
	font-size: 0.9rem;
	text-decoration: none;
	line-height: 1.3;
}

.stf-side-cart__price {
	margin-bottom: 8px;
	color: #64748b;
	font-size: 0.85rem;
	font-weight: 600;
}

.stf-side-cart__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.stf-side-cart__qty {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e8ebf0;
}

.stf-side-cart__qty-btn,
.stf-side-cart__remove {
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #111;
	cursor: pointer;
	font-weight: 700;
}

.stf-side-cart__qty-val {
	min-width: 1.25rem;
	text-align: center;
	font-weight: 700;
	font-size: 0.85rem;
}

.stf-side-cart__footer {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 18px calc(24px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	position: relative;
	z-index: 3;
}

.stf-side-cart__subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.95rem;
}

.stf-side-cart__btn {
	width: 100%;
	justify-content: center;
	min-height: 44px;
	text-decoration: none !important;
}

body.stf-side-cart-open {
	overflow: hidden;
}

/* Soft Shop — WooCommerce cart / checkout / product (staff + socio) */
body.subtank-staff-soft-page .stf-sh-woo-panel {
	padding: 18px 18px 22px !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: var(--stf-radius-lg) !important;
	box-shadow: var(--stf-shadow) !important;
	color: var(--stf-ink) !important;
}

body.subtank-staff-soft-page .stf-sh-woo-panel h1,
body.subtank-staff-soft-page .stf-sh-woo-panel h2,
body.subtank-staff-soft-page .stf-sh-woo-panel h3,
body.subtank-staff-soft-page .stf-sh-woo-panel .product_title {
	color: var(--stf-ink) !important;
	font-family: var(--stf-display) !important;
}

body.subtank-staff-soft-page .stf-sh-woo-panel a:not(.button):not(.stf-btn) {
	color: var(--stf-indigo) !important;
}

body.subtank-staff-soft-page .stf-sh-woo-panel .button,
body.subtank-staff-soft-page .stf-sh-woo-panel button.button,
body.subtank-staff-soft-page .stf-sh-woo-panel input.button,
body.subtank-staff-soft-page .stf-sh-woo-panel .woocommerce-Button,
body.subtank-staff-soft-page .stf-sh-woo-panel .checkout-button,
body.subtank-staff-soft-page .stf-sh-woo-panel #place_order,
body.subtank-staff-soft-page .subtank-woo-personal-area-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 44px !important;
	padding: 0.7em 1.25em !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: var(--stf-indigo) !important;
	color: #fff !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

body.subtank-staff-soft-page .stf-sh-woo-panel .button:disabled,
body.subtank-staff-soft-page .stf-sh-woo-panel button.button:disabled,
body.subtank-staff-soft-page .stf-sh-woo-panel input.button:disabled {
	opacity: 0.45 !important;
	cursor: not-allowed !important;
}

body.subtank-staff-soft-page .stf-sh-cart .quantity input.qty {
	min-width: 3.25rem !important;
	max-width: 4.5rem !important;
	text-align: center !important;
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

body.subtank-staff-soft-page .stf-sh-woo-panel table.shop_table {
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	background: #f9fafb !important;
	border: 1px solid #e8ebf0 !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	color: var(--stf-ink) !important;
}

body.subtank-staff-soft-page .stf-sh-woo-panel table.shop_table th,
body.subtank-staff-soft-page .stf-sh-woo-panel table.shop_table td {
	border-color: #e8ebf0 !important;
	padding: 12px 14px !important;
	color: var(--stf-ink) !important;
	background: transparent !important;
}

/* Soft Soft Soft cart — desktop: righe compatte, colonne proporzionate */
body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart {
	table-layout: fixed !important;
	background: #ffffff !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart thead th {
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	color: #64748b !important;
	padding: 10px 12px !important;
	background: #f8fafc !important;
	border-bottom: 1px solid #e8ebf0 !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart td {
	vertical-align: middle !important;
	padding: 12px 10px !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-remove {
	width: 40px !important;
	padding-left: 10px !important;
	padding-right: 4px !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-thumbnail {
	width: 72px !important;
	padding-left: 4px !important;
	padding-right: 8px !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-thumbnail img {
	width: 56px !important;
	height: 56px !important;
	max-width: 56px !important;
	object-fit: cover !important;
	border-radius: 12px !important;
	display: block !important;
	border: 1px solid #e8ebf0 !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-name {
	width: auto !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	line-height: 1.35 !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-name a {
	color: var(--stf-ink) !important;
	text-decoration: none !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-name a:hover {
	color: var(--stf-indigo) !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-price,
body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-subtotal {
	width: 96px !important;
	text-align: right !important;
	white-space: nowrap !important;
	font-variant-numeric: tabular-nums !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-subtotal {
	font-weight: 700 !important;
	padding-right: 14px !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-quantity {
	width: 108px !important;
	text-align: center !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-remove a.remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 999px !important;
	border: 1px solid #e2e8f0 !important;
	background: #fff !important;
	color: #64748b !important;
	font-size: 1.1rem !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart .product-remove a.remove:hover {
	border-color: #fecaca !important;
	background: #fef2f2 !important;
	color: #b91c1c !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart tr.cart_item + tr.cart_item td {
	border-top: 1px solid #eef2f7 !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form table.shop_table.cart td.actions {
	background: #f8fafc !important;
	padding: 14px !important;
	border-top: 1px solid #e8ebf0 !important;
}

@media (min-width: 960px) {
	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px) !important;
		gap: 20px !important;
		align-items: start !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel > .woocommerce-notices-wrapper,
	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel > .woocommerce-message,
	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel > .woocommerce-info,
	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel > .woocommerce-error,
	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel > ul.woocommerce-error,
	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel > .woocommerce-NoticeGroup {
		grid-column: 1 / -1 !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel > .woocommerce-cart-form {
		grid-column: 1 !important;
		min-width: 0 !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .stf-sh-woo-panel > .cart-collaterals {
		grid-column: 2 !important;
		margin-top: 0 !important;
		position: sticky !important;
		top: 16px !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .cart-collaterals .cart_totals {
		background: #f8fafc !important;
		border: 1px solid #e8ebf0 !important;
		border-radius: 16px !important;
		padding: 16px 18px !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .cart-collaterals .cart_totals h2 {
		font-size: 1rem !important;
		margin: 0 0 12px !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .cart-collaterals table.shop_table {
		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .cart-collaterals table.shop_table th,
	body.subtank-staff-soft-page .stf-sh-cart .cart-collaterals table.shop_table td {
		padding: 8px 0 !important;
		border-color: #e8ebf0 !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form .actions {
		justify-content: space-between !important;
	}

	body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form .coupon {
		flex: 1 1 auto !important;
		max-width: 420px !important;
	}
}

body.subtank-staff-soft-page .stf-sh-woo-panel input.input-text,
body.subtank-staff-soft-page .stf-sh-woo-panel textarea,
body.subtank-staff-soft-page .stf-sh-woo-panel select,
body.subtank-staff-soft-page .stf-sh-woo-panel .input-text {
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: var(--stf-ink) !important;
	min-height: 44px !important;
	padding: 10px 12px !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-sh-woo-panel .woocommerce-message,
body.subtank-staff-soft-page .stf-sh-woo-panel .woocommerce-info,
body.subtank-staff-soft-page .stf-sh-woo-panel .woocommerce-error {
	border-radius: 14px !important;
	border: 1px solid #e8ebf0 !important;
	background: #f8fafc !important;
	color: var(--stf-ink) !important;
}

body.subtank-staff-soft-page .stf-sh-cart .cart-collaterals,
body.subtank-staff-soft-page .stf-sh-checkout #order_review {
	margin-top: 16px !important;
}

/* Soft Soft Soft cart — coupon WooCommerce (% / fixed) */
body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form .actions {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	gap: 12px !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form .coupon {
	display: flex !important;
	flex: 1 1 220px !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form .coupon .input-text,
body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form .coupon #coupon_code {
	flex: 1 1 140px !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
}

body.subtank-staff-soft-page .stf-sh-cart .woocommerce-cart-form .coupon .button {
	flex: 0 0 auto !important;
	min-height: 44px !important;
}

body.subtank-staff-soft-page .stf-sh-cart .cart-discount td,
body.subtank-staff-soft-page .stf-sh-cart .cart-discount th,
body.subtank-staff-soft-page .stf-sh-checkout .cart-discount td,
body.subtank-staff-soft-page .stf-sh-checkout .cart-discount th {
	color: #0f766e !important;
	font-weight: 600 !important;
}

body.subtank-staff-soft-page .stf-sh-checkout .woocommerce-form-coupon-toggle,
body.subtank-staff-soft-page .stf-sh-checkout .checkout_coupon {
	display: block !important;
	visibility: visible !important;
}

body.subtank-staff-soft-page .stf-sh-checkout .checkout_coupon {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	align-items: center !important;
	margin: 0 0 14px !important;
	padding: 12px 14px !important;
	border: 1px solid #e8ebf0 !important;
	border-radius: 14px !important;
	background: #f8fafc !important;
}

body.subtank-staff-soft-page .stf-sh-checkout .checkout_coupon .input-text {
	flex: 1 1 160px !important;
}

body.subtank-staff-soft-page .stf-sh-product-page .woocommerce-product-gallery,
body.subtank-staff-soft-page .stf-sh-product-page .summary {
	color: var(--stf-ink) !important;
}

body.subtank-soft-shop-page .stf-shell--member-shop .stf-dock {
	z-index: 40;
}

/* Soft Calendario — Reception / Rari Manager */
body.subtank-staff-soft-page .stf-cal {
	display: flex;
	flex-direction: column;
	max-width: none !important;
	margin: 0;
	width: 100%;
	gap: 0;
}

body.subtank-staff-soft-page .stf-cal .stf-hello {
	margin: 0 0 14px !important;
}

body.subtank-staff-soft-page .stf-cal__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	color: #0e283c !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-cal-hero {
	margin-bottom: 14px !important;
	padding: 16px 18px !important;
	border-radius: 22px !important;
}

body.subtank-staff-soft-page .stf-cal-hero__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
	margin-bottom: 12px;
}

body.subtank-staff-soft-page .stf-cal-hero__copy {
	min-width: 0;
	flex: 1 1 auto;
}

body.subtank-staff-soft-page .stf-cal-hero h2 {
	margin: 0 0 4px !important;
	font-size: 1.35rem !important;
	font-weight: 650 !important;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

body.subtank-staff-soft-page .stf-cal-hero__lead {
	margin: 0 !important;
	color: var(--stf-muted) !important;
	font-size: 0.84rem !important;
	line-height: 1.4;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-cal-create {
	flex-shrink: 0;
	min-height: 36px !important;
	padding: 0 14px !important;
	border-radius: 999px !important;
	font-size: 0.78rem !important;
	font-weight: 650 !important;
	background: #0e283c !important;
	border-color: #0e283c !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-cal-filter {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

body.subtank-staff-soft-page .stf-cal-filter__label {
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-cal-filter__select {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px !important;
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-cal-flash:not(.subtank-hidden) {
	margin-bottom: 14px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #eaf0f6 !important;
	border: 1px solid #dbe3ec !important;
	color: #0e283c !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-cal-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
}

body.subtank-staff-soft-page .stf-cal-empty {
	padding: 20px !important;
}

body.subtank-staff-soft-page .stf-cal-empty p {
	margin: 0 !important;
	color: var(--stf-muted) !important;
}

body.subtank-staff-soft-page .stf-soft-content--stack .stf-cal-card {
	padding: 0 !important;
	overflow: hidden;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	border-radius: 18px !important;
}

body.subtank-staff-soft-page .stf-cal-card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #eaf0f6;
	overflow: hidden;
}

body.subtank-staff-soft-page .stf-cal-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.subtank-staff-soft-page .stf-cal-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(145deg, #eaf0f6 0%, #dbe3ec 100%);
}

body.subtank-staff-soft-page .stf-cal-card__body {
	padding: 16px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.subtank-staff-soft-page .stf-cal-card__title {
	margin: 0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #111111 !important;
	letter-spacing: -0.02em;
	line-height: 1.3;
	text-transform: none !important;
}

body.subtank-staff-soft-page .stf-cal-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.subtank-staff-soft-page .stf-cal-card__meta li {
	margin: 0 !important;
	font-size: 0.88rem !important;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
	line-height: 1.4;
}

body.subtank-staff-soft-page .stf-cal-card__extended {
	padding: 12px 0 0;
	border-top: 1px solid #eef2f6;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.subtank-staff-soft-page .stf-cal-card__extended p,
body.subtank-staff-soft-page .stf-cal-card__detail {
	margin: 0 !important;
	font-size: 0.88rem !important;
	color: #334155 !important;
	font-family: var(--stf-font) !important;
	line-height: 1.45;
}

body.subtank-staff-soft-page .stf-cal-card__detail-label {
	font-weight: 700 !important;
	color: #0e283c !important;
	margin-bottom: 4px !important;
}

body.subtank-staff-soft-page .stf-cal-card__toggle {
	align-self: flex-start;
	padding: 0 !important;
	min-height: auto !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #0e283c !important;
	font-weight: 700 !important;
	font-size: 0.82rem !important;
	font-family: var(--stf-font) !important;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.subtank-staff-soft-page .stf-cal-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

body.subtank-staff-soft-page .stf-cal-card__actions .stf-btn {
	min-height: 42px;
}

body.subtank-staff-soft-page .stf-cal-card.subtank-calendar-card--expanded .stf-cal-card__extended {
	display: flex;
}

body.subtank-staff-soft-page .subtank-excursion-sheet-backdrop {
	z-index: 210 !important;
	background: rgba(15, 23, 42, 0.4) !important;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

body.subtank-staff-soft-page .stf-cal-sheet.subtank-excursion-signup-sheet {
	position: fixed !important;
	left: 50% !important;
	right: auto !important;
	top: 50% !important;
	bottom: auto !important;
	transform: translate(-50%, -50%) !important;
	width: min(420px, calc(100vw - 32px)) !important;
	max-width: min(420px, calc(100vw - 32px)) !important;
	max-height: min(78vh, 560px) !important;
	justify-content: center !important;
	align-items: stretch !important;
	padding: 0 !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 20px !important;
	box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22) !important;
	font-family: var(--stf-font) !important;
	overflow: hidden;
	z-index: 220 !important;
}

body.subtank-staff-soft-page .stf-cal-sheet.subtank-excursion-signup-sheet .subtank-excursion-sheet-handle {
	display: none !important;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-sheet-inner {
	padding: 20px 20px 18px !important;
	max-height: min(78vh, 560px) !important;
	overflow-y: auto !important;
	-webkit-overflow-scrolling: touch;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	transform: none !important;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta {
	margin: 14px 0 8px;
	padding: 0;
	background: transparent;
	border: 0;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
	width: 100%;
	margin: 0 !important;
	padding: 12px 14px !important;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	box-sizing: border-box;
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle-label {
	display: block !important;
	order: 1;
	flex: 1 1 auto;
	margin: 0 !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.25;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle-input {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	pointer-events: none;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle-ui {
	order: 2;
	flex-shrink: 0;
	width: 46px !important;
	height: 28px !important;
	border-radius: 999px !important;
	background: #cbd5e1 !important;
	border: 0 !important;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12) !important;
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle-thumb {
	top: 3px !important;
	left: 3px !important;
	width: 22px !important;
	height: 22px !important;
	background: #ffffff !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18) !important;
	transition: transform 0.25s ease;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle-input:checked + .subtank-sheet-toggle-ui {
	background: #0e7490 !important;
	border-color: transparent !important;
	box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.16) !important;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle-input:checked + .subtank-sheet-toggle-ui .subtank-sheet-toggle-thumb {
	transform: translateX(18px) !important;
	background: #ffffff !important;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle-input:checked ~ .subtank-sheet-toggle-label {
	color: #0e7490 !important;
	text-shadow: none !important;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-sheet-toggle-row--guest-cta .subtank-sheet-toggle:focus-within {
	outline: 2px solid rgba(14, 116, 144, 0.35);
	outline-offset: 2px;
}

/* Caparra / fee Soft */
body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fees {
	margin: 12px 0 4px !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fee-row {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	cursor: default;
	font-size: 0.92rem !important;
	font-weight: 600 !important;
	color: #0f172a !important;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fee-row .subtank-excursion-fee-label {
	order: 1;
	flex: 1 1 auto;
	line-height: 1.3;
	color: #0f172a;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fee-row .subtank-excursion-fee-amount {
	order: 2;
	flex-shrink: 0;
	font-weight: 750;
	color: #0e7490;
	font-variant-numeric: tabular-nums;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fee-row input[type='checkbox'] {
	appearance: none;
	-webkit-appearance: none;
	order: 3;
	flex-shrink: 0;
	width: 22px !important;
	max-width: 22px !important;
	height: 22px !important;
	min-height: 22px !important;
	min-width: 22px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 7px;
	border: 1.5px solid #cbd5e1;
	background: #fff;
	box-shadow: none;
	position: relative;
	cursor: default;
	box-sizing: border-box;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fee-row input[type='checkbox']:checked {
	background: #0e7490;
	border-color: #0e7490;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fee-row input[type='checkbox']:checked::after {
	content: '';
	position: absolute;
	left: 6px;
	top: 2px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fee-row input[type='checkbox']:disabled {
	opacity: 1;
	cursor: default;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-fee-row--info {
	background: rgba(14, 116, 144, 0.06);
	border-color: rgba(14, 116, 144, 0.18);
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-fields.subtank-guest-fields--open {
	max-height: 720px;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-search {
	margin: 0 0 14px;
	padding: 12px;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.03);
	border: 1px solid rgba(15, 23, 42, 0.08);
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-search-hint {
	margin: 6px 0 0;
	font-size: 0.78rem;
	font-weight: 500;
	color: #64748b;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-search-results {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	max-height: 160px;
	overflow-y: auto;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: #fff;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-search-results li {
	margin: 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-search-results li:last-child {
	border-bottom: 0;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-search-results button {
	display: block;
	width: 100%;
	text-align: left;
	appearance: none;
	border: 0;
	background: transparent;
	padding: 10px 12px;
	font: inherit;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-search-results button:hover,
body.subtank-staff-soft-page .stf-cal-sheet .subtank-guest-search-results button:focus-visible {
	background: rgba(8, 145, 178, 0.1);
	color: #0e7490;
}

body.subtank-staff-soft-page .stf-cal-sheet h3 {
	margin: 0 0 14px !important;
	font-family: 'Poppins', var(--stf-display) !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-cal-sheet label {
	display: block;
	margin: 10px 0 6px !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	color: #475569 !important;
}

body.subtank-staff-soft-page .stf-cal-sheet input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
body.subtank-staff-soft-page .stf-cal-sheet select {
	width: 100%;
	box-sizing: border-box;
}

body.subtank-staff-soft-page .stf-cal-sheet__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

body.subtank-staff-soft-page .stf-cal-sheet__actions .stf-btn {
	flex: 1 1 auto;
	min-height: 44px;
	justify-content: center;
}

/* Soft UI panel — Calendario (Reception / Rari Manager) */
body.subtank-staff-soft-page .stf-card--soft-panel,
body.subtank-staff-console-page .stf-card--soft-panel {
	padding: 18px !important;
	overflow: hidden;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	border-radius: var(--stf-radius-lg) !important;
}

body.subtank-staff-soft-page .stf-soft-content,
body.subtank-staff-console-page .stf-soft-content {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	color: var(--stf-ink) !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content .stf-embed,
body.subtank-staff-soft-page .stf-soft-content .stf-embed__wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent !important;
	color: inherit !important;
}

/* Soft Soft Logbook: split form/lista a 2 colonne da tablet landscape */
@media (min-width: 960px) {
	body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .stf-lb-flow .subtank-logbook-split,
	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .stf-lb-flow .subtank-logbook-split:not(.is-form-open) {
		display: grid !important;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 16px !important;
		align-items: start;
	}

	body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .stf-lb-flow .subtank-logbook-split.is-form-open {
		display: grid !important;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 16px !important;
		align-items: start;
	}
}

@media (max-width: 720px) {
	body.subtank-staff-soft-page .stf-soft-content--stack {
		gap: 14px;
	}

	body.subtank-staff-soft-page .stf-lb,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow,
	body.subtank-staff-soft-page .stf-soft-content .stf-embed,
	body.subtank-staff-soft-page .stf-soft-content .stf-embed__wrap {
		gap: 14px;
	}

	body.subtank-staff-soft-page .stf-lb-hero,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-hero,
	body.subtank-staff-soft-page .stf-soft-content--stack .subtank-logbook-hero-card,
	body.subtank-staff-soft-page .stf-soft-content--stack .subtank-logbook-glass-panel,
	body.subtank-staff-soft-page .stf-soft-content--stack .subtank-buddy-book-card,
	body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-activity {
		padding: 16px 14px !important;
		border-radius: 20px !important;
	}
}

body.subtank-staff-soft-page .stf-soft-content .subtank-bg-layer,
body.subtank-staff-soft-page .stf-soft-content .subtank-bg-overlay,
body.subtank-staff-soft-page .stf-soft-content .subtank-sheet-handle,
body.subtank-staff-soft-page .stf-soft-content .subtank-global-bg-stack {
	display: none !important;
}

/* Neutralizza solo wrapper glass/dark — non le card Soft Soft stack */
body.subtank-staff-soft-page .stf-soft-content .subtank-wrap,
body.subtank-staff-soft-page .stf-soft-content .subtank-scan-page,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-glass,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-page,
body.subtank-staff-soft-page .stf-soft-content .subtank-cert-wallet-page,
body.subtank-staff-soft-page .stf-soft-content .subtank-shop-hub,
body.subtank-staff-soft-page .stf-soft-content .subtank-card:not(.subtank-logbook-glass-panel):not(.subtank-logbook-hero-card):not(.subtank-buddy-book-card):not(.subtank-logbook-hub-kpi):not(.subtank-logbook-hub-tile):not(.subtank-logbook-hub-activity):not(.subtank-shop-hub-card):not(.subtank-cert-wallet-card):not(.subtank-music-card):not(.subtank-excursion-card):not(.subtank-logbook-glass-subpanel):not(.subtank-personal-logbook-form-section):not(.subtank-personal-logbook-list-section):not(.subtank-dive-module-form-section):not(.subtank-dive-module-list-section):not(.subtank-personal-logbook-detail):not(.subtank-personal-logbook-validation-inbox):not(.subtank-personal-logbook-validation-panel):not(.subtank-personal-logbook-awaiting-validation),
body.subtank-staff-console-page .stf-soft-content .subtank-wrap,
body.subtank-staff-console-page .stf-soft-content .subtank-scan-page {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	min-height: 0 !important;
	color: inherit !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	overflow: visible !important;
	isolation: auto !important;
}

/* Soft Soft surface cards (Logbook / Wallet / Shop embed) */
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-logbook-hero-card,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-logbook-glass-panel,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-buddy-book-card,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-logbook-hub-activity,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-logbook-hub-hero,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-logbook-hub-card,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-shop-hub-card,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-cert-wallet-card,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-music-card,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-excursion-card,
body.subtank-staff-soft-page .stf-soft-content--stack .subtank-logbook-glass-subpanel {
	background: #ffffff !important;
	background-image: none !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: var(--stf-radius-lg) !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 20px 22px !important;
	margin: 0 !important;
	color: #111111 !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-kpi,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-tile {
	background: #f9fafb !important;
	background-image: none !important;
	border: 1px solid #e8ebf0 !important;
	border-radius: 16px !important;
	box-shadow: none !important;
	color: #111111 !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-kpi-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-kpi {
	padding: 14px 12px !important;
	text-align: center;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-kpi__value {
	color: #0e283c !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-weight: 700 !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-kpi__label,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-flow-lead,
body.subtank-staff-soft-page .stf-soft-content .subtank-buddy-book-card__lead,
body.subtank-staff-soft-page .stf-soft-content .subtank-buddy-book-card__hint,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-activity-empty,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-activity-meta {
	color: #64748b !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-quick-actions {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 10px !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-quick-btn,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-glass-btn,
body.subtank-staff-soft-page .stf-soft-content .subtank-btn-scopri:not(.stf-lb-rubrica__manage):not(.subtank-buddy-book-card__cta) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px !important;
	padding: 12px 16px !important;
	border-radius: 14px !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	background-image: none !important;
	filter: none !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
}

/* Gestisci rubrica: testo centrato in verticale (override padding btn-scopri) */
body.subtank-staff-soft-page .stf-soft-content .stf-lb-rubrica__manage,
body.subtank-staff-soft-page .stf-soft-content .subtank-buddy-book-card__cta,
body.subtank-staff-soft-page .stf-soft-content a.stf-lb-rubrica__manage.subtank-btn-scopri,
body.subtank-staff-soft-page .stf-soft-content a.subtank-buddy-book-card__cta.subtank-btn-scopri {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	padding: 0 22px !important;
	padding-block: 0 !important;
	padding-inline: 22px !important;
	margin-top: 4px !important;
	border-radius: 999px !important;
	border: 1px solid #0e283c !important;
	background: #0e283c !important;
	background-image: none !important;
	color: #ffffff !important;
	font-family: var(--stf-font) !important;
	font-size: 0.92rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	filter: none !important;
	transform: none !important;
	backdrop-filter: none !important;
}

/* Seleziona compagni: pillola vera + testo centrato */
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-buddy-pick,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .button.subtank-dive-log-buddy-pick,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .button.button-primary.subtank-dive-log-buddy-pick,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-buddy-pick,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .button.subtank-dive-log-buddy-pick,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .button.button-primary.subtank-dive-log-buddy-pick,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .stf-lb-pill-btn,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .button.stf-lb-pill-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: flex-start !important;
	width: auto !important;
	max-width: max-content !important;
	flex: 0 0 auto !important;
	box-sizing: border-box !important;
	min-height: 44px !important;
	height: 44px !important;
	padding: 0 24px !important;
	border-radius: 999px !important;
	border: 1px solid #0e283c !important;
	background: #0e283c !important;
	background-image: none !important;
	color: #ffffff !important;
	font-family: var(--stf-font) !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	vertical-align: middle !important;
	box-shadow: none !important;
	filter: none !important;
	text-shadow: none !important;
	position: relative !important;
	overflow: visible !important;
	z-index: 1 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni {
	display: grid !important;
	gap: 10px !important;
	margin: 0 0 16px !important;
	padding: 14px 14px 12px !important;
	border-radius: 18px !important;
	border: 1px solid #e8edf3 !important;
	background: #f8fafc !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni[hidden],
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni[hidden] {
	display: none !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni__title,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni__title {
	margin: 0 !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: #0e283c !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni__hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni__hint {
	margin: 0 !important;
	color: #64748b !important;
	font-size: 0.86rem !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni__list,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni__list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: grid !important;
	gap: 8px !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni__item,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni__item {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni__toggle,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni__toggle,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-form label.subtank-dive-log-module-compagni__toggle {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 10px 14px !important;
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
	cursor: pointer !important;
	font-family: var(--stf-font) !important;
	color: #0e283c !important;
	box-sizing: border-box !important;
	text-align: left !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni__item.is-selected .subtank-dive-log-module-compagni__toggle,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni__item.is-selected .subtank-dive-log-module-compagni__toggle {
	border-color: #cbd5e1 !important;
	background: #eef3f8 !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni__toggle input[type="checkbox"],
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni__toggle input[type="checkbox"],
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-module-compagni__toggle .subtank-dive-log-module-compagno-check {
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
	position: static !important;
	display: inline-block !important;
	width: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 18px !important;
	align-self: center !important;
	float: none !important;
	accent-color: #0e283c !important;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-module-compagni__name,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-module-compagni__name {
	display: block !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 600 !important;
	font-size: 0.92rem !important;
	line-height: 1.25 !important;
	color: #0e283c !important;
	-webkit-text-fill-color: #0e283c !important;
	overflow-wrap: anywhere;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-buddy-pick::before,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .subtank-dive-log-buddy-pick::after,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-buddy-pick::before,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-buddy-pick::after {
	content: none !important;
	display: none !important;
}

/* Soft Soft buddy picker modal */
body.subtank-staff-soft-page .subtank-buddy-picker__backdrop {
	background: rgba(15, 23, 42, 0.42) !important;
	backdrop-filter: blur(4px);
}

body.subtank-staff-soft-page .subtank-buddy-picker__sheet {
	background: #ffffff !important;
	border-radius: 24px 24px 0 0 !important;
	box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.16) !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__header {
	border-bottom: 1px solid #e8edf3 !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__close,
body.subtank-staff-soft-page .subtank-buddy-picker__title,
body.subtank-staff-soft-page .subtank-buddy-picker__row,
body.subtank-staff-soft-page .subtank-buddy-picker__name {
	color: #0e283c !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__count {
	color: #64748b !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__search {
	border: 1px solid #e2e8f0 !important;
	border-radius: 999px !important;
	background: #f8fafc !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__section-title {
	color: #64748b !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__item {
	border-bottom: 1px solid #eef2f7 !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__row:hover,
body.subtank-staff-soft-page .subtank-buddy-picker__row:focus {
	background: #f1f5f9 !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__item--selected .subtank-buddy-picker__row,
body.subtank-staff-soft-page .subtank-buddy-picker__item--selected .subtank-buddy-picker__row:hover,
body.subtank-staff-soft-page .subtank-buddy-picker__item--selected .subtank-buddy-picker__row:focus {
	background: #eaf0f6 !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__avatar {
	background: #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__check {
	border-color: #cbd5e1 !important;
	background: #ffffff !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__item--selected .subtank-buddy-picker__check,
body.subtank-staff-soft-page .subtank-buddy-picker .subtank-buddy-picker__item--selected .subtank-buddy-picker__check {
	border-color: #0e283c !important;
	background: #0e283c !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__item--selected .subtank-buddy-picker__check::after,
body.subtank-staff-soft-page .subtank-buddy-picker .subtank-buddy-picker__item--selected .subtank-buddy-picker__check::after {
	border-color: #ffffff !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__empty {
	color: #64748b !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__footer {
	border-top: 1px solid #e8edf3 !important;
	background: #ffffff !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__confirm,
body.subtank-staff-soft-page .subtank-buddy-picker button.subtank-buddy-picker__confirm,
body.subtank-staff-soft-page .subtank-buddy-picker .button.button-primary.subtank-buddy-picker__confirm,
body.subtank-staff-soft-page .subtank-buddy-picker .subtank-buddy-picker__confirm {
	background: #0e283c !important;
	border: 1px solid #0e283c !important;
	border-radius: 999px !important;
	color: #ffffff !important;
	background-image: none !important;
	box-shadow: none !important;
	filter: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
}

body.subtank-staff-soft-page .subtank-buddy-picker__confirm:hover,
body.subtank-staff-soft-page .subtank-buddy-picker__confirm:focus,
body.subtank-staff-soft-page .subtank-buddy-picker .button.button-primary.subtank-buddy-picker__confirm:hover,
body.subtank-staff-soft-page .subtank-buddy-picker .button.button-primary.subtank-buddy-picker__confirm:focus {
	background: #163a54 !important;
	border-color: #163a54 !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-quick-btn.button-primary,
body.subtank-staff-soft-page .stf-soft-content a.button-primary {
	background: #0e283c !important;
	border: 1px solid #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-glass-btn,
body.subtank-staff-soft-page .stf-soft-content .button:not(.button-primary) {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-tile {
	min-height: 160px !important;
	padding: 16px !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-tile__glow {
	display: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-tile h2,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-tile p,
body.subtank-staff-soft-page .stf-soft-content .subtank-buddy-book-card h2,
body.subtank-staff-soft-page .stf-soft-content .subtank-buddy-book-card__name {
	color: #111111 !important;
	text-transform: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-tile__eyebrow,
body.subtank-staff-soft-page .stf-soft-content .subtank-buddy-book-card__eyebrow,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-activity-badge {
	color: #0e283c !important;
	border-color: #dbe3ec !important;
	background: #eaf0f6 !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-flow-back,
body.subtank-staff-soft-page .stf-soft-content .subtank-diving-certs-back-link {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	padding: 8px 12px !important;
	border-radius: 999px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #0e283c !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	backdrop-filter: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .stf-embed--wallet .subtank-cert-wallet-brand,
body.subtank-staff-soft-page .stf-soft-content .stf-embed--wallet .subtank-cert-wallet-brand-logo {
	display: none !important;
}

/* Legacy wallet tabs (non Soft stack) — Soft Wallet (.stf-wl) ha regole dedicate sopra */
body.subtank-staff-soft-page .stf-soft-content .subtank-cert-wallet-tabs:not(.stf-wl-tabs),
body.subtank-staff-soft-page .stf-soft-content .subtank-cert-wallet-tab {
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-cert-wallet-tabs:not(.stf-wl-tabs) .subtank-cert-wallet-tab {
	border-radius: 999px !important;
	background: transparent !important;
	color: #64748b !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-cert-wallet-tabs:not(.stf-wl-tabs) .subtank-cert-wallet-tab.is-active {
	background: #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-cert-wallet-tabs:not(.stf-wl-tabs) {
	background: #f1f5f9 !important;
	border: 1px solid #e8ebf0 !important;
	border-radius: 999px !important;
	padding: 4px !important;
	display: inline-flex !important;
	gap: 4px;
	max-width: 100%;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-buddy-book-card__item,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-glass-list-item,
body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-activity-item {
	background: #ffffff !important;
	border: 1px solid #e8ebf0 !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-buddy-book-card__avatar {
	background: #eaf0f6 !important;
	color: #0e283c !important;
	border: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content h1,
body.subtank-staff-soft-page .stf-soft-content h2,
body.subtank-staff-soft-page .stf-soft-content h3,
body.subtank-staff-console-page .stf-soft-content h1,
body.subtank-staff-console-page .stf-soft-content h2,
body.subtank-staff-console-page .stf-soft-content h3 {
	font-family: 'Poppins', var(--stf-display) !important;
	color: #111111 !important;
	letter-spacing: -0.02em;
}

body.subtank-staff-soft-page .stf-soft-content p,
body.subtank-staff-soft-page .stf-soft-content span,
body.subtank-staff-soft-page .stf-soft-content li,
body.subtank-staff-soft-page .stf-soft-content label {
	color: #334155 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-badge {
	color: #0f172a !important;
	border: 1px solid #cbd5e1 !important;
	background: #f1f5f9 !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-list-title {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.4rem 0.55rem !important;
	min-width: 0 !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-list-title strong {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-badge--attivita {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	align-self: center !important;
	color: #1e3a8a !important;
	border-color: #bfdbfe !important;
	background: #eff6ff !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-badge--validation-none,
body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-badge--validation-self {
	color: #92400e !important;
	border-color: #fcd34d !important;
	background: #fffbeb !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-badge--validation-pending {
	color: #9a3412 !important;
	border-color: #fdba74 !important;
	background: #fff7ed !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-badge--validation-validated {
	color: #166534 !important;
	border-color: #86efac !important;
	background: #f0fdf4 !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-badge--validation-declined {
	color: #991b1b !important;
	border-color: #fca5a5 !important;
	background: #fef2f2 !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-awaiting-item,
body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-item {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #f9fafb !important;
	border: 1px solid var(--stf-border, #e8ebf0) !important;
	border-radius: 14px !important;
	color: #111111 !important;
	padding: 14px 16px !important;
	margin: 0 0 10px !important;
	list-style: none;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-inbox,
body.subtank-staff-soft-page .stf-soft-content .stf-lb-validation-inbox {
	display: block !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-inbox[hidden] {
	display: block !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-empty {
	margin: 0 !important;
	padding: 14px 16px !important;
	border-radius: 14px !important;
	background: #f9fafb !important;
	border: 1px dashed var(--stf-border, #e8ebf0) !important;
	color: #64748b !important;
	font-size: 0.9rem !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-inbox h2,
body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-awaiting-validation h2 {
	margin: 0 0 6px !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-awaiting-lead {
	margin: 0 0 14px !important;
	color: #64748b !important;
	font-size: 0.9rem !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-list,
body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-awaiting-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-main,
body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-awaiting-main {
	display: grid;
	gap: 2px;
	min-width: 0;
	flex: 1 1 180px;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-main strong,
body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-awaiting-main strong {
	color: #111111 !important;
	font-size: 0.95rem !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-meta,
body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-list-meta {
	color: #64748b !important;
	font-size: 0.85rem !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-actions,
body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-awaiting-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-sign.button-primary {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-personal-logbook-validation-decline.button {
	background: #ffffff !important;
	border: 1px solid var(--stf-border, #e8ebf0) !important;
	color: #111111 !important;
}

/* Soft Soft: lista validatori leggibile (non testo bianco glass) */
body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-results {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
	border-radius: 12px;
	background: #ffffff !important;
	border: 1px solid var(--stf-border, #e8ebf0) !important;
	box-shadow: var(--stf-shadow, 0 8px 24px rgba(15, 23, 42, 0.08)) !important;
	max-height: 220px;
	overflow: auto;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-results li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #f1f5f9;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-results li:last-child {
	border-bottom: 0;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-results button,
body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-pick {
	display: block !important;
	width: 100% !important;
	border: 0 !important;
	background: transparent !important;
	background-image: none !important;
	text-align: left !important;
	padding: 12px 14px !important;
	font-family: var(--stf-font) !important;
	font-size: 0.92rem !important;
	line-height: 1.35 !important;
	cursor: pointer;
	color: #111111 !important;
	border-radius: 0 !important;
	min-height: 0 !important;
	box-shadow: none !important;
	filter: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-results button:hover,
body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-results button:focus-visible,
body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-pick:hover,
body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-pick:focus-visible {
	background: #f9fafb !important;
	color: #111111 !important;
	outline: none;
	filter: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .subtank-validation-validator-hint {
	margin: 8px 0 0 !important;
	color: #64748b !important;
	font-size: 0.85rem !important;
	line-height: 1.4 !important;
}

body.subtank-staff-soft-page .stf-soft-content table,
body.subtank-staff-console-page .stf-soft-content table {
	width: 100% !important;
	border-collapse: collapse;
	font-family: var(--stf-font) !important;
	font-size: 0.88rem !important;
	color: #111111 !important;
}

body.subtank-staff-soft-page .stf-soft-content .button,
body.subtank-staff-soft-page .stf-soft-content button:not(.stf-icon-btn):not(.stf-when):not(.stf-cal-nav):not(.stf-cal-today):not(.stf-reception__pwd-toggle),
body.subtank-staff-soft-page .stf-soft-content .button-primary,
body.subtank-staff-console-page .stf-soft-content .button,
body.subtank-staff-console-page .stf-soft-content button:not(.stf-icon-btn):not(.stf-when):not(.stf-cal-nav):not(.stf-cal-today):not(.stf-reception__pwd-toggle) {
	border-radius: 12px !important;
	min-height: 40px !important;
	font-family: var(--stf-font) !important;
	background-image: none !important;
	filter: none !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-soft-content .button-primary,
body.subtank-staff-soft-page .stf-soft-content button.button-primary {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #ffffff !important;
}

body.subtank-staff-soft-page .stf-soft-content input,
body.subtank-staff-soft-page .stf-soft-content select,
body.subtank-staff-soft-page .stf-soft-content textarea,
body.subtank-staff-console-page .stf-soft-content input,
body.subtank-staff-console-page .stf-soft-content select,
body.subtank-staff-console-page .stf-soft-content textarea {
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
	max-width: 100%;
	box-sizing: border-box;
}

@media (max-width: 720px) {
	body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-kpi-grid,
	body.subtank-staff-soft-page .stf-soft-content .subtank-logbook-hub-quick-actions {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 480px) {
	body.subtank-staff-console-page .stf-brand__title {
		font-size: 1.25rem !important;
	}

	body.subtank-staff-console-page .stf-logout {
		padding: 0 10px !important;
		font-size: 0.75rem !important;
		min-height: 36px !important;
	}

	body.subtank-staff-console-page .stf-icon-btn {
		width: 36px !important;
		min-width: 36px !important;
		max-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
		flex-basis: 36px !important;
		border-radius: 12px !important;
	}
}

/* ——— Soft dock: tablet + phone ≤1024px — barra in basso a icone ———
   Override obbligatori con !important: le regole desktop sticky rail usano !important. */
@media (max-width: 1024px) {
	body.subtank-staff-console-page .stf-shell {
		flex-direction: column !important;
		align-items: stretch !important;
		padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 12px !important;
		padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)) !important;
		gap: 12px !important;
		width: 100% !important;
		max-width: none !important;
	}

	body.subtank-staff-console-page .stf-shell__main {
		order: 1 !important;
		width: 100% !important;
		max-width: none !important;
		flex: 1 1 auto !important;
		padding-bottom: 8px !important;
		min-width: 0 !important;
	}

	body.subtank-staff-console-page .stf-mesh {
		order: 0 !important;
	}

	body.subtank-staff-console-page .stf-dock {
		order: 2 !important;
		position: fixed !important;
		left: max(10px, env(safe-area-inset-left, 0px)) !important;
		right: max(10px, env(safe-area-inset-right, 0px)) !important;
		bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
		top: auto !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		min-height: 0 !important;
		height: auto !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-around !important;
		gap: 0 !important;
		padding: 8px 10px !important;
		margin: 0 !important;
		border-radius: 22px !important;
		background: rgba(255, 255, 255, 0.97) !important;
		border: 1px solid var(--stf-border) !important;
		box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16) !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		z-index: 80 !important;
		transform: none !important;
		align-self: stretch !important;
	}

	body.subtank-staff-console-page .stf-dock::-webkit-scrollbar {
		display: none !important;
	}

	body.subtank-staff-console-page .stf-dock__brand,
	body.subtank-staff-console-page .stf-dock__foot {
		display: none !important;
	}

	body.subtank-staff-console-page .stf-dock__nav {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-around !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		flex: 1 1 auto !important;
		gap: 2px !important;
	}

	body.subtank-staff-console-page .stf-dock__item {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		max-width: 44px !important;
		min-height: 44px !important;
		max-height: 44px !important;
		flex: 0 0 44px !important;
		margin: 0 !important;
		transform: none !important;
		color: var(--stf-ink) !important;
	}

	body.subtank-staff-console-page .stf-dock__item.is-active,
	body.subtank-staff-console-page .stf-dock__item:hover,
	body.subtank-staff-console-page .stf-dock__item:focus-visible {
		color: #0e283c !important;
		background: var(--stf-accent-soft) !important;
		transform: none !important;
	}

	body.subtank-staff-console-page .stf-dock__item[data-tip]::after {
		display: none !important;
		opacity: 0 !important;
	}

	body.subtank-staff-console-page .stf-logout {
		display: inline-flex !important;
	}

	body.subtank-staff-console-page .stf-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	body.subtank-staff-console-page .stf-shell[data-organizza='1'] .stf-grid {
		grid-template-columns: 1fr !important;
	}

	body.subtank-staff-console-page .stf-topbar {
		margin: 0 0 8px !important;
		gap: 10px !important;
		width: 100% !important;
		max-width: none !important;
	}

	body.subtank-staff-console-page .stf-view {
		width: 100% !important;
		max-width: none !important;
		padding-bottom: 12px !important;
	}

	body.subtank-staff-console-page .stf-dash__span-3,
	body.subtank-staff-console-page .stf-dash__span-4,
	body.subtank-staff-console-page .stf-dash__span-5,
	body.subtank-staff-console-page .stf-dash__span-6 {
		grid-column: span 12 !important;
	}
}

/* ——— Phone ≤640px: Android + iOS (notch, touch, sheet) ——— */
@media (max-width: 640px) {
	body.subtank-staff-console-page .stf-shell {
		padding-left: max(10px, env(safe-area-inset-left, 0px)) !important;
		padding-right: max(10px, env(safe-area-inset-right, 0px)) !important;
		padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body.subtank-staff-console-page .stf-topbar {
		margin-bottom: 10px !important;
		gap: 8px !important;
	}

	body.subtank-staff-console-page .stf-brand {
		min-width: 0 !important;
		flex: 1 1 auto !important;
	}

	body.subtank-staff-console-page .stf-brand__title {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: 100%;
		font-size: 1.35rem !important;
	}

	body.subtank-staff-console-page .stf-brand__logo,
	body.subtank-staff-console-page .stf-brand__mark img {
		width: 40px !important;
		height: 40px !important;
	}

	body.subtank-staff-console-page .stf-view {
		padding-bottom: 8px !important;
	}

	body.subtank-staff-console-page .stf-dock {
		left: max(8px, env(safe-area-inset-left, 0px)) !important;
		right: max(8px, env(safe-area-inset-right, 0px)) !important;
		bottom: max(8px, env(safe-area-inset-bottom, 0px)) !important;
		padding: 6px 8px !important;
		border-radius: 20px !important;
	}

	body.subtank-staff-console-page .stf-dock__item {
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		max-width: 42px !important;
		min-height: 42px !important;
		max-height: 42px !important;
		flex: 0 0 42px !important;
	}

	body.subtank-staff-console-page .stf-dock__icon,
	body.subtank-staff-console-page .stf-dock__icon svg {
		width: 18px !important;
		height: 18px !important;
	}

	body.subtank-staff-console-page .stf-action {
		min-height: 0 !important;
		padding: 14px !important;
	}

	body.subtank-staff-console-page .stf-action__title {
		font-size: 0.82rem !important;
	}

	body.subtank-staff-console-page .stf-hero {
		padding: 16px !important;
		margin-bottom: 14px !important;
	}

	body.subtank-staff-console-page .stf-hero h2 {
		font-size: 1.45rem !important;
	}

	body.subtank-staff-console-page .stf-list__item {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 10px;
	}

	body.subtank-staff-console-page .stf-list__meta {
		min-width: 0;
		flex: 1 1 140px;
	}

	body.subtank-staff-console-page .stf-list__meta span {
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
	}

	body.subtank-staff-console-page .stf-btn--sm {
		min-height: 40px !important;
		padding: 0 14px !important;
		font-size: 0.78rem !important;
	}

	body.subtank-staff-console-page .stf-org-actions,
	body.subtank-staff-console-page .stf-org-detail-actions {
		width: 100%;
		margin-left: 0;
		justify-content: stretch;
	}

	body.subtank-staff-console-page .stf-org-actions .stf-btn,
	body.subtank-staff-console-page .stf-org-detail-actions .stf-btn {
		flex: 1 1 calc(50% - 6px);
		min-height: 44px !important;
	}

	body.subtank-staff-console-page .stf-when-filters {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		flex-wrap: nowrap;
		padding-bottom: 2px;
	}

	body.subtank-staff-console-page .stf-when {
		flex: 0 0 auto;
	}

	body.subtank-staff-console-page .stf-card {
		padding: 16px !important;
		border-radius: 18px !important;
	}

	body.subtank-staff-console-page .stf-field input,
	body.subtank-staff-console-page .stf-field select,
	body.subtank-staff-console-page .stf-field textarea,
	body.subtank-staff-soft-page .stf-soft-content input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
	body.subtank-staff-soft-page .stf-soft-content select,
	body.subtank-staff-soft-page .stf-soft-content textarea,
	body.subtank-staff-soft-page .stf-cal-sheet input:not([type='checkbox']):not([type='radio']):not([type='hidden']),
	body.subtank-staff-soft-page .stf-cal-sheet select,
	body.subtank-staff-console-page .stf-org-quotas input {
		font-size: 16px !important; /* evita zoom iOS al focus */
		min-height: 44px;
	}

	body.subtank-staff-soft-page .stf-sh-grid,
	body.subtank-staff-soft-page .stf-cal-grid {
		gap: 12px;
	}

	body.subtank-staff-soft-page .stf-cal-card__media {
		aspect-ratio: 16 / 10;
	}

	body.subtank-staff-soft-page .stf-cal-sheet.subtank-excursion-signup-sheet {
		width: min(420px, calc(100vw - 20px)) !important;
		max-width: min(420px, calc(100vw - 20px)) !important;
		max-height: min(82dvh, 560px) !important;
		border-radius: 18px !important;
	}

	body.subtank-staff-soft-page .stf-cal-sheet .subtank-excursion-sheet-inner {
		max-height: min(82dvh, 560px) !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
		background: transparent !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		transform: none !important;
	}

	body.subtank-staff-soft-page .stf-cal-sheet__actions {
		position: sticky;
		bottom: 0;
		padding-top: 12px;
		background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0));
	}

	body.subtank-staff-soft-page .stf-cal-sheet__actions .stf-btn {
		min-height: 48px;
	}

}

@media (max-width: 380px) {
	body.subtank-staff-console-page .stf-grid {
		grid-template-columns: 1fr !important;
	}

	body.subtank-staff-console-page .stf-dock__item {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		max-width: 36px !important;
		min-height: 36px !important;
		max-height: 36px !important;
		flex: 0 0 36px !important;
	}

	body.subtank-staff-console-page .stf-dock__icon,
	body.subtank-staff-console-page .stf-dock__icon svg {
		width: 16px !important;
		height: 16px !important;
	}

	body.subtank-staff-soft-page .stf-sh-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Landscape phone / tablet basso: meno padding sotto dock */
@media (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
	body.subtank-staff-console-page .stf-shell {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body.subtank-staff-console-page .stf-dock {
		min-height: 0 !important;
		padding: 4px 8px !important;
	}

	body.subtank-staff-console-page .stf-dock__item {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		max-width: 36px !important;
		min-height: 36px !important;
		max-height: 36px !important;
		flex: 0 0 36px !important;
	}
}

/* Desktop largo: Esci in topbar ridondante rispetto al foot sidebar */
@media (min-width: 1025px) {
	body.subtank-staff-console-page .stf-logout {
		display: none !important;
	}
}

/* Tablet portrait 641–900: Operazioni a 2 colonne se c’è spazio */
@media (min-width: 641px) and (max-width: 1024px) {
	body.subtank-staff-console-page .stf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.subtank-staff-console-page .stf-shell[data-organizza='1'] .stf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.subtank-staff-console-page .stf-dash__span-3,
	body.subtank-staff-console-page .stf-dash__span-4,
	body.subtank-staff-console-page .stf-dash__span-5 {
		grid-column: span 6 !important;
	}
}

/* Soft Reception */
body.subtank-staff-soft-page .stf-soft-content--stack .stf-reception {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: none !important;
	margin: 0;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow-x: hidden;
}
body.subtank-staff-soft-page .stf-reception__hero,
body.subtank-staff-soft-page .stf-reception__panel {
	background: #fff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 24px !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 20px 22px !important;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.subtank-staff-soft-page .stf-reception__eyebrow {
	margin: 0 0 4px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
}
body.subtank-staff-soft-page .stf-reception__title {
	margin: 0 0 8px;
	font-family: 'Poppins', var(--stf-display);
	font-size: 1.35rem;
	color: #111;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.subtank-staff-soft-page .stf-reception__panel > h3 {
	margin: 0 0 6px;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.subtank-staff-soft-page .stf-reception__lead,
body.subtank-staff-soft-page .stf-reception__hint,
body.subtank-staff-soft-page .stf-reception__meta {
	color: #64748b;
	font-size: 0.92rem;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.subtank-staff-soft-page .stf-reception__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 16px;
}
body.subtank-staff-soft-page .stf-reception__hero-actions .stf-btn,
body.subtank-staff-soft-page .stf-reception__actions .stf-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	min-height: 48px !important;
	padding: 12px 18px !important;
	border-radius: 14px !important;
	border: 1px solid transparent !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.88rem !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: none !important;
	background-image: none !important;
	filter: none !important;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.subtank-staff-soft-page .stf-reception__hero-actions .stf-btn--primary,
body.subtank-staff-soft-page .stf-reception__actions .stf-btn--primary {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #ffffff !important;
}
body.subtank-staff-soft-page .stf-reception__hero-actions .stf-btn--ghost,
body.subtank-staff-soft-page .stf-reception__actions .stf-btn--ghost {
	background: #ffffff !important;
	border-color: #e2e8f0 !important;
	color: #0e283c !important;
}
body.subtank-staff-soft-page .stf-reception__hero-actions .stf-btn--primary:hover,
body.subtank-staff-soft-page .stf-reception__hero-actions .stf-btn--primary:focus-visible,
body.subtank-staff-soft-page .stf-reception__actions .stf-btn--primary:hover,
body.subtank-staff-soft-page .stf-reception__actions .stf-btn--primary:focus-visible {
	background: #163a52 !important;
	border-color: #163a52 !important;
	color: #ffffff !important;
}
body.subtank-staff-soft-page .stf-reception__hero-actions .stf-btn--ghost:hover,
body.subtank-staff-soft-page .stf-reception__hero-actions .stf-btn--ghost:focus-visible,
body.subtank-staff-soft-page .stf-reception__actions .stf-btn--ghost:hover,
body.subtank-staff-soft-page .stf-reception__actions .stf-btn--ghost:focus-visible {
	background: #f8fafc !important;
	border-color: #cbd5e1 !important;
	color: #0e283c !important;
}
body.subtank-staff-soft-page .stf-reception__hero-actions .stf-btn {
	width: 100%;
}
body.subtank-staff-soft-page .stf-reception__search {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #111;
	font-family: var(--stf-font);
	box-sizing: border-box;
}
body.subtank-staff-soft-page .stf-reception__results {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-reception__result-btn {
	width: 100%;
	max-width: 100%;
	text-align: left;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid var(--stf-border);
	background: #f9fafb;
	color: #111;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--stf-font);
	box-sizing: border-box;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}
body.subtank-staff-soft-page .stf-reception__profile {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-reception__kv,
body.subtank-staff-soft-page .stf-reception__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-reception__kv li,
body.subtank-staff-soft-page .stf-reception__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-reception__kv li > span,
body.subtank-staff-soft-page .stf-reception__row > div {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 42%;
}
body.subtank-staff-soft-page .stf-reception__kv li > strong,
body.subtank-staff-soft-page .stf-reception__row > .stf-reception__badge {
	flex: 1 1 auto;
	min-width: 0;
	text-align: right;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.subtank-staff-soft-page .stf-reception__kv span,
body.subtank-staff-soft-page .stf-reception__empty {
	color: #64748b;
}
body.subtank-staff-soft-page .stf-reception__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0e283c;
	font-size: 0.75rem;
	font-weight: 600;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
	text-align: center;
}
body.subtank-staff-soft-page .stf-reception__badge--ok,
body.subtank-staff-soft-page .stf-reception__badge--valid { background: #ecfdf5; color: #0f766e; }
body.subtank-staff-soft-page .stf-reception__badge--pending { background: #eff6ff; color: #1d4ed8; }
body.subtank-staff-soft-page .stf-reception__badge--expiring { background: #fffbeb; color: #b45309; }
body.subtank-staff-soft-page .stf-reception__badge--expired,
body.subtank-staff-soft-page .stf-reception__badge--missing { background: #fef2f2; color: #dc2626; }
body.subtank-staff-soft-page .stf-reception__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}
body.subtank-staff-soft-page .stf-reception__actions .stf-btn {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	white-space: normal;
	text-align: center;
}
body.subtank-staff-soft-page .stf-reception__profile[hidden],
body.subtank-staff-soft-page #stf-reception-register-panel[hidden],
body.subtank-staff-soft-page .stf-reception__results[hidden],
body.subtank-staff-soft-page .stf-reception__message[hidden] {
	display: none !important;
}

body.subtank-staff-soft-page .stf-reception__register {
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 24px !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 22px 22px 20px !important;
}
body.subtank-staff-soft-page .stf-reception__register-title {
	margin: 0 0 8px !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.25rem !important;
	font-weight: 650 !important;
	letter-spacing: -0.02em;
	color: #111111 !important;
	line-height: 1.2;
}
body.subtank-staff-soft-page .stf-reception__medical-form,
body.subtank-staff-soft-page .stf-reception__cert-form,
body.subtank-staff-soft-page .stf-reception__password-form,
body.subtank-staff-soft-page .stf-reception__cf-form,
body.subtank-staff-soft-page .stf-reception__phone-form,
body.subtank-staff-soft-page .stf-reception__register-form {
	display: grid;
	gap: 14px;
	margin-top: 16px;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-reception__role-form {
	display: flex;
	flex-direction: column;
	margin-top: 16px;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-reception__role-form > label {
	margin-bottom: 8px !important;
}
body.subtank-staff-soft-page .stf-reception__role-form > .stf-btn {
	margin-top: 5px !important;
}
body.subtank-staff-soft-page .stf-reception__field {
	display: grid;
	gap: 6px;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-reception__register-form label,
body.subtank-staff-soft-page .stf-reception__medical-form label,
body.subtank-staff-soft-page .stf-reception__cert-form label,
body.subtank-staff-soft-page .stf-reception__password-form label,
body.subtank-staff-soft-page .stf-reception__cf-form label,
body.subtank-staff-soft-page .stf-reception__phone-form label,
body.subtank-staff-soft-page .stf-reception__role-form label,
body.subtank-staff-soft-page .stf-reception__field > label {
	display: block;
	margin: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	color: #64748b !important;
	font-family: var(--stf-font) !important;
}
body.subtank-staff-soft-page .stf-reception__register-form input[type="text"],
body.subtank-staff-soft-page .stf-reception__register-form input[type="email"],
body.subtank-staff-soft-page .stf-reception__register-form input[type="tel"],
body.subtank-staff-soft-page .stf-reception__register-form input[type="password"],
body.subtank-staff-soft-page .stf-reception__password-form input[type="password"],
body.subtank-staff-soft-page .stf-reception__password-form input[type="text"],
body.subtank-staff-soft-page .stf-reception__cf-form input[type="text"],
body.subtank-staff-soft-page .stf-reception__phone-form input[type="tel"],
body.subtank-staff-soft-page .stf-reception__pwd-wrap input,
body.subtank-staff-soft-page .stf-reception__medical-form input[type="date"],
body.subtank-staff-soft-page .stf-reception__medical-form input[type="file"],
body.subtank-staff-soft-page .stf-reception__cert-form input[type="text"],
body.subtank-staff-soft-page .stf-reception__cert-form input[type="file"],
body.subtank-staff-soft-page .stf-reception__cert-form select,
body.subtank-staff-soft-page .stf-reception__role-form select {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #111111 !important;
	box-sizing: border-box !important;
	font-family: var(--stf-font) !important;
	font-size: 0.95rem !important;
	box-shadow: none !important;
}
body.subtank-staff-soft-page .stf-reception__pwd-wrap {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	isolation: isolate;
}
body.subtank-staff-soft-page .stf-reception__pwd-wrap input,
body.subtank-staff-soft-page .stf-reception__password-form .stf-reception__pwd-wrap input,
body.subtank-staff-soft-page .stf-reception__register-form .stf-reception__pwd-wrap input {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	padding-right: 48px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}
body.subtank-staff-soft-page .stf-reception__pwd-toggle {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: auto !important;
	z-index: 2 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 14px 14px 0 !important;
	background: transparent !important;
	background-image: none !important;
	color: #64748b !important;
	cursor: pointer;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
	filter: none !important;
	transform: none !important;
	inset: 0 0 0 auto !important;
	float: none !important;
	line-height: 0 !important;
	font-size: 0 !important;
}
body.subtank-staff-soft-page .stf-reception__pwd-toggle:hover,
body.subtank-staff-soft-page .stf-reception__pwd-toggle:focus,
body.subtank-staff-soft-page .stf-reception__pwd-toggle:focus-visible {
	color: #0e283c !important;
	background: rgba(241, 245, 249, 0.92) !important;
	outline: none !important;
	box-shadow: none !important;
}
body.subtank-staff-soft-page .stf-reception__pwd-toggle[aria-pressed="true"] {
	color: #0e283c !important;
}
body.subtank-staff-soft-page .stf-reception__pwd-icon {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	pointer-events: none !important;
}
body.subtank-staff-soft-page .stf-reception__register-form input:focus,
body.subtank-staff-soft-page .stf-reception__password-form input:focus,
body.subtank-staff-soft-page .stf-reception__medical-form input:focus,
body.subtank-staff-soft-page .stf-reception__cert-form input:focus,
body.subtank-staff-soft-page .stf-reception__cert-form select:focus {
	outline: none !important;
	border-color: #0e283c !important;
	box-shadow: 0 0 0 3px rgba(14, 40, 60, 0.12) !important;
}
body.subtank-staff-soft-page .stf-reception__cert-custom[hidden] {
	display: none !important;
}
body.subtank-staff-soft-page .stf-reception__field .stf-reception__meta {
	margin: 2px 0 0;
}
body.subtank-staff-soft-page .stf-reception__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	font-size: 0.88rem;
	font-weight: 500;
	color: #334155;
	line-height: 1.4;
	font-family: var(--stf-font);
}
body.subtank-staff-soft-page .stf-reception__consent input {
	margin-top: 3px;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	accent-color: #0e283c;
}
body.subtank-staff-soft-page .stf-reception__consent span {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.subtank-staff-soft-page .stf-reception__consent a {
	color: #0e283c !important;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.subtank-staff-soft-page .stf-reception__consents {
	display: grid;
	gap: 10px;
	margin: 2px 0 4px;
	padding: 0;
	border: 0;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-reception__consents legend {
	padding: 0;
	margin: 0 0 2px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
	font-family: var(--stf-font);
}
body.subtank-staff-soft-page .stf-reception__register .stf-reception__actions {
	margin-top: 4px;
}
body.subtank-staff-soft-page .stf-reception__message {
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 0.9rem;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.subtank-staff-soft-page .stf-reception__message.is-ok { background: #ecfdf5; color: #0f766e; }
body.subtank-staff-soft-page .stf-reception__message.is-error { background: #fef2f2; color: #dc2626; }

@media (max-width: 480px) {
	body.subtank-staff-soft-page .stf-reception__hero,
	body.subtank-staff-soft-page .stf-reception__panel {
		padding: 16px !important;
		border-radius: 20px !important;
	}
	body.subtank-staff-soft-page .stf-reception__kv li,
	body.subtank-staff-soft-page .stf-reception__row {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}
	body.subtank-staff-soft-page .stf-reception__kv li > span,
	body.subtank-staff-soft-page .stf-reception__row > div,
	body.subtank-staff-soft-page .stf-reception__kv li > strong,
	body.subtank-staff-soft-page .stf-reception__row > .stf-reception__badge {
		max-width: 100%;
		text-align: left;
	}
}

body.subtank-staff-console-page .stf-action--reception {
	text-decoration: none;
	color: inherit;
}

/* Soft Calendario month — toolbar: una sola riga ‹ mese › Oggi */
body.subtank-staff-soft-page .stf-cal--month .stf-cal-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
	margin: 0;
	padding-top: 12px;
	border-top: 1px solid #eef2f6;
}

body.subtank-staff-soft-page .stf-cal-toolbar__nav {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	width: auto !important;
	max-width: 100% !important;
	min-width: 0 !important;
	position: relative !important;
	isolation: isolate;
}

body.subtank-staff-soft-page .stf-cal-toolbar__nav > * {
	position: static !important;
	float: none !important;
	transform: none !important;
	inset: auto !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
}

body.subtank-staff-soft-page .stf-cal-nav {
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	max-width: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1px solid #e8edf3 !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #0e283c !important;
	font-size: 1.15rem !important;
	line-height: 1 !important;
	flex: 0 0 36px !important;
	cursor: pointer;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-cal-nav:hover,
body.subtank-staff-soft-page .stf-cal-nav:focus-visible {
	background: #eaf0f6 !important;
	outline: none;
}

body.subtank-staff-soft-page .stf-cal-month-label {
	display: inline-block !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 4px !important;
	min-width: 8.5rem !important;
	width: auto !important;
	max-width: none !important;
	overflow: visible !important;
	text-overflow: clip !important;
	text-align: center !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 0.95rem !important;
	font-weight: 650 !important;
	letter-spacing: -0.01em;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	text-transform: capitalize;
	flex: 0 0 auto !important;
	white-space: nowrap !important;
	line-height: 36px !important;
	height: 36px !important;
}

body.subtank-staff-soft-page .stf-cal-today {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: auto !important;
	max-width: none !important;
	flex: 0 0 auto !important;
	min-height: 36px !important;
	height: 36px !important;
	padding: 0 14px !important;
	margin: 0 !important;
	border: 1px solid #e8edf3 !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #0e283c !important;
	font-size: 0.78rem !important;
	font-weight: 650 !important;
	font-family: var(--stf-font) !important;
	white-space: nowrap !important;
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-cal-today:hover,
body.subtank-staff-soft-page .stf-cal-today:focus-visible {
	background: #eaf0f6 !important;
	outline: none;
}

body.subtank-staff-soft-page .stf-cal-legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin: 0;
}

body.subtank-staff-soft-page .stf-cal-pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

@media (max-width: 720px) {
	body.subtank-staff-soft-page .stf-cal-hero__top {
		flex-wrap: wrap;
	}

	body.subtank-staff-soft-page .stf-cal-create {
		width: 100%;
		justify-content: center;
	}

	body.subtank-staff-soft-page .stf-cal--month .stf-cal-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	body.subtank-staff-soft-page .stf-cal-toolbar__nav {
		width: 100% !important;
	}

	body.subtank-staff-soft-page .stf-cal-month-label {
		flex: 1 1 auto !important;
		min-width: 0 !important;
	}

	body.subtank-staff-soft-page .stf-cal-legend {
		justify-content: flex-start;
	}
}
body.subtank-staff-soft-page .stf-cal-pill--immersion,
body.subtank-staff-soft-page .stf-cal-create-recurring__hint {
	margin: 0 0 12px;
	font-size: 0.86rem;
	line-height: 1.4;
	color: #64748b;
}

body.subtank-staff-soft-page .stf-cal-pill--open_hours,
body.subtank-staff-soft-page .stf-cal-ev--open_hours {
	background: #d1fae5;
	color: #065f46;
}

body.subtank-staff-soft-page .stf-cal-ev--immersion { background: #e0f2fe; color: #075985; }
body.subtank-staff-soft-page .stf-cal-pill--event,
body.subtank-staff-soft-page .stf-cal-ev--event { background: #fef9c3; color: #854d0e; }
body.subtank-staff-soft-page .stf-cal-pill--course,
body.subtank-staff-soft-page .stf-cal-ev--course { background: #ede9fe; color: #5b21b6; }
body.subtank-staff-soft-page .stf-cal-month-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
	margin: 14px 0;
}
body.subtank-staff-soft-page .stf-cal-dow {
	text-align: center;
	font-size: 0.72rem;
	font-weight: 600;
	color: #64748b;
	padding: 4px 0;
}
body.subtank-staff-soft-page .stf-cal-cell {
	min-height: 84px;
	background: #fff;
	border: 1px solid var(--stf-border);
	border-radius: 14px;
	padding: 6px;
	box-shadow: var(--stf-shadow);
}
body.subtank-staff-soft-page .stf-cal-cell.is-empty {
	background: transparent;
	border: 0;
	box-shadow: none;
}
body.subtank-staff-soft-page .stf-cal-cell.is-today {
	border-color: #0e283c;
}
body.subtank-staff-soft-page .stf-cal-cell.is-clickable { cursor: pointer; }
body.subtank-staff-soft-page .stf-cal-cell__num {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	color: #0e283c;
	margin-bottom: 4px;
}
body.subtank-staff-soft-page .stf-cal-cell__events {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
body.subtank-staff-soft-page .stf-cal-ev {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 8px;
	padding: 3px 5px;
	font-size: 0.62rem;
	font-weight: 600;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	font-family: var(--stf-font);
}
body.subtank-staff-soft-page .stf-cal-ev-more {
	font-size: 0.62rem;
	color: #64748b;
}
body.subtank-staff-soft-page .stf-cal-month-detail {
	background: #fff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 24px !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 18px 20px !important;
}
body.subtank-staff-soft-page .stf-cal-month-detail__title {
	margin: 0 0 12px;
	font-family: 'Poppins', var(--stf-display);
	color: #111;
}
body.subtank-staff-soft-page .stf-cal-month-detail__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.subtank-staff-soft-page .stf-cal-detail-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	background: #f9fafb;
	border: 1px solid var(--stf-border);
}
body.subtank-staff-soft-page .stf-cal-detail-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.subtank-staff-soft-page .stf-cal-detail-main span { color: #64748b; font-size: 0.85rem; }
/* Create sheet: sopra al dock (main ha z-index:1, dock:50) */
body.subtank-staff-console-page.subtank-calendar-sheet-open .stf-shell__main,
body.subtank-staff-soft-page.subtank-calendar-sheet-open .stf-shell__main {
	z-index: 200 !important;
}

body.subtank-staff-console-page.subtank-calendar-sheet-open .stf-dock,
body.subtank-staff-soft-page.subtank-calendar-sheet-open .stf-dock {
	z-index: 1 !important;
	opacity: 0.35;
	pointer-events: none;
}

body.subtank-staff-soft-page .stf-cal-create-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 210;
}

/* Modale centrata: +40% rispetto a 420×640 → 588×896, clamp viewport */
body.subtank-staff-soft-page .stf-cal-create-sheet {
	position: fixed !important;
	left: 50% !important;
	right: auto !important;
	top: 50% !important;
	bottom: auto !important;
	transform: translate(-50%, -50%) !important;
	z-index: 220;
	width: min(588px, calc(100vw - 32px)) !important;
	max-width: min(588px, calc(100vw - 32px)) !important;
	max-height: min(896px, calc(100dvh - 32px), calc(100vh - 32px)) !important;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
	background: #fff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 28px !important;
	padding: 28px 30px !important;
	box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24) !important;
}

body.subtank-staff-soft-page .stf-cal-create-sheet h3 {
	margin: 0 0 12px !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-size: 1.4rem !important;
	font-weight: 650 !important;
	color: #111 !important;
}

body.subtank-staff-soft-page .stf-cal-create-sheet label {
	display: block;
	margin: 14px 0 6px;
	color: #334155;
	font-size: 0.92rem;
	font-weight: 600;
}

body.subtank-staff-soft-page .stf-cal-create-sheet input,
body.subtank-staff-soft-page .stf-cal-create-sheet select,
body.subtank-staff-soft-page .stf-cal-create-sheet textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	padding: 12px 14px;
	font-family: var(--stf-font);
	font-size: 16px; /* evita zoom iOS */
	color: #111;
	background: #fff;
}

body.subtank-staff-soft-page .stf-cal-create-sheet textarea {
	min-height: 96px;
}

body.subtank-staff-soft-page .stf-cal-create-sheet .stf-cal-sheet__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

body.subtank-staff-soft-page .stf-cal-create-sheet .stf-cal-sheet__actions .stf-btn {
	flex: 1 1 auto;
	min-height: 48px;
}

@media (max-width: 1024px) {
	body.subtank-staff-console-page.subtank-calendar-sheet-open .stf-dock,
	body.subtank-staff-soft-page.subtank-calendar-sheet-open .stf-dock {
		opacity: 0;
	}
}

@media (max-width: 480px) {
	body.subtank-staff-soft-page .stf-cal-create-sheet {
		width: min(588px, calc(100vw - 20px)) !important;
		max-width: min(588px, calc(100vw - 20px)) !important;
		max-height: min(896px, calc(100dvh - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
		padding: 22px 18px !important;
		border-radius: 22px !important;
	}
}
@media (max-width: 640px) {
	body.subtank-staff-soft-page .stf-cal-month-grid { gap: 4px; }
	body.subtank-staff-soft-page .stf-cal-cell { min-height: 64px; padding: 4px; border-radius: 10px; }
	body.subtank-staff-soft-page .stf-cal-ev { font-size: 0.55rem; padding: 2px 4px; }
}

/* ——— Organizza dashboard (stile RugbyOLD grid) ——— */
body.subtank-staff-console-page .stf-dash {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
}

body.subtank-staff-console-page .stf-dash__span-3 { grid-column: span 3; }
body.subtank-staff-console-page .stf-dash__span-4 { grid-column: span 4; }
body.subtank-staff-console-page .stf-dash__span-5 { grid-column: span 5; }
body.subtank-staff-console-page .stf-dash__span-6 { grid-column: span 6; }
body.subtank-staff-console-page .stf-dash__span-12 { grid-column: span 12; }

body.subtank-staff-console-page .stf-dash-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding: 20px 22px;
	border-radius: 28px !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	color: var(--stf-ink) !important;
	text-decoration: none !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-console-page .stf-dash-card.is-clickable {
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.subtank-staff-console-page .stf-dash-card.is-clickable:hover,
body.subtank-staff-console-page .stf-dash-card.is-clickable:focus-visible {
	transform: translateY(-2px);
	box-shadow: var(--stf-shadow-hover) !important;
	outline: none;
}

body.subtank-staff-console-page .stf-dash-card__title {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--stf-muted) !important;
}

body.subtank-staff-console-page .stf-dash-card__value {
	margin: 0;
	font-family: var(--stf-display) !important;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #111111 !important;
	word-break: break-word;
}

body.subtank-staff-console-page .stf-dash-card__meta,
body.subtank-staff-console-page .stf-dash-card__sub {
	margin: 0;
	font-size: 0.85rem;
	color: var(--stf-muted) !important;
	line-height: 1.4;
}

body.subtank-staff-console-page .stf-dash-card__cta {
	margin-top: auto;
	padding-top: 10px;
	font-size: 0.8rem;
	font-weight: 700;
	color: #0e283c !important;
}

body.subtank-staff-console-page .stf-dash-card--hero {
	background:
		linear-gradient(120deg, rgba(14, 40, 60, 0.72), rgba(14, 40, 60, 0.28)),
		radial-gradient(ellipse 80% 70% at 80% 20%, rgba(125, 211, 252, 0.35), transparent 60%),
		#0e283c !important;
	border: 0 !important;
	color: #fff !important;
	min-height: 160px;
	justify-content: flex-end;
}

body.subtank-staff-console-page .stf-dash-card--hero .stf-dash-card__eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7) !important;
}

body.subtank-staff-console-page .stf-dash-hero__name {
	margin: 0;
	font-family: var(--stf-display) !important;
	font-size: 1.7rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff !important;
}

body.subtank-staff-console-page .stf-dash-card--hero .stf-dash-card__meta {
	color: rgba(255, 255, 255, 0.78) !important;
}

body.subtank-staff-console-page .stf-dash-card--week {
	padding: 0 !important;
	overflow: hidden;
	background: linear-gradient(160deg, #fde68a, #fff7c2) !important;
}

body.subtank-staff-console-page .stf-dash-week__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 18px;
	font-weight: 800;
	font-size: 0.9rem;
	color: #111 !important;
	background: rgba(253, 224, 71, 0.65);
}

body.subtank-staff-console-page .stf-dash-week__days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	padding: 14px 16px 18px;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--stf-muted) !important;
}

body.subtank-staff-console-page .stf-dash-week__days span {
	padding: 10px 0;
	border-radius: 999px;
}

body.subtank-staff-console-page .stf-dash-week__days span.is-today {
	background: #111 !important;
	color: #fff !important;
}

body.subtank-staff-console-page .stf-dash-card--orders {
	border-color: rgba(37, 99, 235, 0.28);
}

body.subtank-staff-console-page .stf-dash-card--income {
	background: linear-gradient(160deg, rgba(167, 243, 208, 0.55), rgba(236, 253, 245, 0.9)) !important;
}

body.subtank-staff-console-page .stf-dash-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 0.75rem;
	font-weight: 700;
	background: rgba(17, 17, 17, 0.08);
	color: #111;
}

body.subtank-staff-console-page .stf-dash-badge--ok,
body.subtank-staff-console-page .stf-dash-badge--valid {
	background: rgba(16, 185, 129, 0.2);
	color: #065f46;
}

body.subtank-staff-console-page .stf-dash-badge--warn,
body.subtank-staff-console-page .stf-dash-badge--expiring {
	background: rgba(245, 158, 11, 0.28);
	color: #92400e;
}

body.subtank-staff-console-page .stf-dash-badge--missing,
body.subtank-staff-console-page .stf-dash-badge--expired {
	background: rgba(248, 113, 113, 0.25);
	color: #7f1d1d;
}

body.subtank-staff-console-page .stf-dash-card--maint {
	background: linear-gradient(160deg, rgba(226, 232, 240, 0.9), rgba(248, 250, 252, 0.98)) !important;
}

body.subtank-staff-console-page .stf-dash-card--bilancio {
	background: linear-gradient(160deg, rgba(191, 219, 254, 0.55), rgba(239, 246, 255, 0.95)) !important;
}

body.subtank-staff-console-page .stf-dash-card--outing {
	background: linear-gradient(160deg, rgba(165, 243, 252, 0.5), rgba(236, 254, 255, 0.95)) !important;
}

body.subtank-staff-console-page .stf-dash-card--history {
	background: linear-gradient(160deg, rgba(254, 215, 170, 0.5), rgba(255, 247, 237, 0.95)) !important;
}

body.subtank-staff-console-page .stf-dash-card--shifts {
	background: linear-gradient(160deg, rgba(221, 214, 254, 0.55), rgba(245, 243, 255, 0.95)) !important;
}

body.subtank-staff-console-page .stf-dash-card--products {
	background: linear-gradient(160deg, rgba(167, 243, 208, 0.45), rgba(240, 253, 244, 0.95)) !important;
}

body.subtank-staff-console-page .stf-history-filters {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0 4px;
}

body.subtank-staff-console-page .stf-history-filters__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.subtank-staff-console-page .stf-filter-chip {
	appearance: none;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	color: #475569;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.2;
}

body.subtank-staff-console-page .stf-filter-chip.is-active {
	background: #111;
	border-color: #111;
	color: #fff;
}

body.subtank-staff-console-page .stf-chip--tank {
	background: #e0f2fe !important;
	color: #075985 !important;
}

body.subtank-staff-console-page .stf-chip--equip {
	background: #fef3c7 !important;
	color: #92400e !important;
}

body.subtank-staff-console-page .stf-history-item .stf-list__meta {
	min-width: 0;
}

body.subtank-staff-console-page .stf-dash-card[data-noop] {
	cursor: default;
	opacity: 0.92;
}

body.subtank-staff-console-page .stf-bilancio__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	margin: 8px 0 16px;
}

body.subtank-staff-console-page .stf-bilancio__year {
	min-width: 120px;
	margin: 0 !important;
}

body.subtank-staff-console-page .stf-bilancio__year span {
	display: block;
	margin-bottom: 4px;
	font-size: 0.78rem;
	font-weight: 650;
	color: #64748b;
}

body.subtank-staff-console-page .stf-bilancio__year select {
	min-height: 42px !important;
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	padding: 0 12px !important;
	background: #fff !important;
}

body.subtank-staff-console-page .stf-bilancio__kpis {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
}

body.subtank-staff-console-page .stf-bilancio__kpis > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 110px;
}

body.subtank-staff-console-page .stf-bilancio__kpis span {
	font-size: 0.72rem;
	font-weight: 650;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

body.subtank-staff-console-page .stf-bilancio__kpis strong {
	font-size: 1rem;
	color: #0e283c;
}

body.subtank-staff-console-page .stf-bilancio__kpis strong.is-pos {
	color: #047857;
}

body.subtank-staff-console-page .stf-bilancio__kpis strong.is-neg {
	color: #b91c1c;
}

body.subtank-staff-console-page .stf-bilancio__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 88px 110px;
	gap: 8px;
	padding: 0 4px 8px;
	border-bottom: 1px solid #eef2f6;
	font-size: 0.72rem;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

body.subtank-staff-console-page .stf-bilancio__head span:nth-child(2),
body.subtank-staff-console-page .stf-bilancio__head span:nth-child(3) {
	text-align: right;
}

body.subtank-staff-console-page .stf-bilancio__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 10px;
	max-height: min(62vh, 640px);
	overflow: auto;
	padding-right: 4px;
}

body.subtank-staff-console-page .stf-bilancio-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 88px 110px;
	gap: 8px;
	align-items: center;
	padding: 8px 4px;
	border-radius: 12px;
	font-family: var(--stf-font);
	font-size: 0.86rem;
	color: #111;
}

body.subtank-staff-console-page .stf-bilancio-row--section {
	margin-top: 10px;
	padding: 10px 8px;
	background: #0e283c;
	color: #fff !important;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	font-size: 0.78rem;
	grid-template-columns: 1fr;
}

body.subtank-staff-console-page .stf-bilancio-row--group {
	font-weight: 700;
	color: #334155;
	grid-template-columns: 1fr;
	padding-top: 12px;
}

body.subtank-staff-console-page .stf-bilancio-row--indent .stf-bilancio-row__label,
body.subtank-staff-console-page .stf-bilancio-row--indent > span:first-child {
	padding-left: 14px;
}

body.subtank-staff-console-page .stf-bilancio-row--amount {
	margin: 0;
	cursor: text;
}

body.subtank-staff-console-page .stf-bilancio-row--amount:hover {
	background: #f8fafc;
}

body.subtank-staff-console-page .stf-bilancio-row__prev {
	text-align: right;
	color: #94a3b8;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}

body.subtank-staff-console-page .stf-bilancio-row--amount input {
	width: 100%;
	min-height: 40px !important;
	box-sizing: border-box;
	border: 1px solid #e2e8f0 !important;
	border-radius: 10px !important;
	padding: 6px 10px !important;
	text-align: right;
	font-size: 16px !important;
	font-variant-numeric: tabular-nums;
	background: #fff !important;
	color: #111 !important;
}

body.subtank-staff-console-page .stf-bilancio-row--total {
	font-weight: 700;
	background: #f1f5f9;
	margin-top: 6px;
}

body.subtank-staff-console-page .stf-bilancio-row--total strong {
	text-align: right;
	font-variant-numeric: tabular-nums;
	grid-column: 2 / span 2;
}

@media (max-width: 640px) {
	body.subtank-staff-console-page .stf-bilancio__head,
	body.subtank-staff-console-page .stf-bilancio-row--amount,
	body.subtank-staff-console-page .stf-bilancio-row--total {
		grid-template-columns: minmax(0, 1fr) 72px 96px;
	}

	body.subtank-staff-console-page .stf-bilancio__kpis > div {
		min-width: 0;
		flex: 1 1 40%;
	}
}

@media (max-width: 1100px) {
	body.subtank-staff-console-page .stf-dash__span-3,
	body.subtank-staff-console-page .stf-dash__span-4,
	body.subtank-staff-console-page .stf-dash__span-5 {
		grid-column: span 6;
	}
}

@media (max-width: 720px) {
	body.subtank-staff-console-page .stf-dash {
		gap: 12px;
	}

	body.subtank-staff-console-page .stf-dash__span-3,
	body.subtank-staff-console-page .stf-dash__span-4,
	body.subtank-staff-console-page .stf-dash__span-5,
	body.subtank-staff-console-page .stf-dash__span-6 {
		grid-column: span 12;
	}

	body.subtank-staff-console-page .stf-dash-card__value {
		font-size: 1.55rem;
	}
}

/* Soft Bilancio CRM */
body.subtank-staff-console-page .stf-bilancio-crm {
	padding: 18px 18px 28px;
}

body.subtank-staff-console-page .stf-bilancio-crm__toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: flex-end;
	margin-bottom: 16px;
}

body.subtank-staff-console-page .stf-bilancio-crm__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: auto;
}

body.subtank-staff-console-page .stf-bilancio-crm__locked {
	font-size: 0.85rem;
	font-weight: 600;
	color: #b45309;
	padding: 6px 10px;
	background: rgba(180, 83, 9, 0.1);
	border-radius: 8px;
}

body.subtank-staff-console-page .stf-bilancio-crm__tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	padding-bottom: 8px;
}

body.subtank-staff-console-page .stf-bilancio-crm__tab {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 8px 14px;
	border-radius: 10px;
	font: inherit;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.55);
	cursor: pointer;
}

body.subtank-staff-console-page .stf-bilancio-crm__tab.is-active {
	background: rgba(14, 116, 144, 0.12);
	color: #0e7490;
}

body.subtank-staff-console-page .stf-bilancio-crm__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	margin-bottom: 14px;
}

body.subtank-staff-console-page .stf-bilancio-crm__form {
	display: none;
	margin-bottom: 16px;
	padding: 14px;
	border-radius: 14px;
	background: rgba(15, 23, 42, 0.03);
}

body.subtank-staff-console-page .stf-bilancio-crm__form.is-open {
	display: block;
}

body.subtank-staff-console-page .stf-bilancio-crm__form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

body.subtank-staff-console-page .stf-bilancio-crm__span2 {
	grid-column: span 2;
}

body.subtank-staff-console-page .stf-bilancio-crm__moves {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.subtank-staff-console-page .stf-bilancio-crm__move {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(15, 23, 42, 0.06);
}

body.subtank-staff-console-page .stf-bilancio-crm__move-meta {
	display: block;
	margin-top: 4px;
	font-size: 0.85rem;
	color: rgba(15, 23, 42, 0.55);
}

body.subtank-staff-console-page .stf-bilancio-crm__move-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

body.subtank-staff-console-page .stf-bilancio-crm__move-side .is-pos {
	color: #047857;
}

body.subtank-staff-console-page .stf-bilancio-crm__move-side .is-neg {
	color: #b91c1c;
}

body.subtank-staff-console-page .stf-bilancio-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: rgba(15, 23, 42, 0.08);
}

body.subtank-staff-console-page .stf-bilancio-badge--manual {
	background: rgba(14, 116, 144, 0.15);
	color: #0e7490;
}

body.subtank-staff-console-page .stf-bilancio-badge--quota {
	background: rgba(4, 120, 87, 0.15);
	color: #047857;
}

body.subtank-staff-console-page .stf-bilancio-badge--shop {
	background: rgba(124, 58, 237, 0.12);
	color: #6d28d9;
}

body.subtank-staff-console-page .stf-bilancio-crm__bs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

body.subtank-staff-console-page .stf-bilancio-crm__bs-col h3 {
	margin: 0 0 12px;
	font-size: 1rem;
}

body.subtank-staff-console-page .stf-bilancio-crm__bs-col .stf-field {
	margin-bottom: 10px;
}

body.subtank-staff-console-page .stf-bilancio-crm__bs-totals {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

body.subtank-staff-console-page .stf-bilancio-crm__bs-totals > div {
	flex: 1 1 140px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(15, 23, 42, 0.04);
}

body.subtank-staff-console-page .stf-bilancio-crm__bs-totals span {
	display: block;
	font-size: 0.8rem;
	color: rgba(15, 23, 42, 0.55);
}

body.subtank-staff-console-page .stf-bilancio-crm__bs-totals strong.is-pos {
	color: #047857;
}

body.subtank-staff-console-page .stf-bilancio-crm__bs-totals strong.is-neg {
	color: #b91c1c;
}

body.subtank-staff-console-page .stf-bilancio-crm__empty {
	margin: 24px 0;
	color: rgba(15, 23, 42, 0.55);
}

body.subtank-staff-console-page .stf-btn--sm {
	padding: 4px 10px;
	font-size: 0.8rem;
}

@media (max-width: 720px) {
	body.subtank-staff-console-page .stf-bilancio-crm__form-grid,
	body.subtank-staff-console-page .stf-bilancio-crm__bs {
		grid-template-columns: 1fr;
	}

	body.subtank-staff-console-page .stf-bilancio-crm__span2 {
		grid-column: span 1;
	}

	body.subtank-staff-console-page .stf-bilancio-crm__move {
		flex-direction: column;
		align-items: flex-start;
	}

	body.subtank-staff-console-page .stf-bilancio-crm__move-side {
		align-items: flex-start;
		flex-direction: row;
		width: 100%;
		justify-content: space-between;
	}
}

body.subtank-staff-console-page .stf-divingout__head {
	margin-bottom: 16px;
}

body.subtank-staff-console-page .stf-divingout__title {
	margin: 0 0 6px;
	font-size: 1.35rem;
	font-weight: 750;
}

body.subtank-staff-console-page .stf-divingout__lead,
body.subtank-staff-console-page .stf-divingout__meta {
	margin: 0 0 12px;
	color: var(--stf-muted, #64748b);
	font-size: 0.92rem;
}

body.subtank-staff-console-page .stf-divingout__select {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 420px;
	font-size: 0.82rem;
	font-weight: 650;
	color: #64748b;
}

body.subtank-staff-console-page .stf-divingout__select select {
	font: inherit;
	font-weight: 600;
	color: #0f172a;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: #fff;
}

body.subtank-staff-console-page .stf-divingout__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 16px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	padding-bottom: 8px;
}

body.subtank-staff-console-page .stf-divingout__tab {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 8px 14px;
	border-radius: 10px;
	font: inherit;
	font-weight: 600;
	color: rgba(15, 23, 42, 0.55);
	cursor: pointer;
}

body.subtank-staff-console-page .stf-divingout__tab.is-active {
	background: rgba(8, 145, 178, 0.14);
	color: #0e7490;
}

body.subtank-staff-console-page .stf-divingout__section {
	margin-bottom: 22px;
}

body.subtank-staff-console-page .stf-divingout__section h3 {
	margin: 0 0 12px;
	font-size: 1.05rem;
}

body.subtank-staff-console-page .stf-divingout__table-wrap {
	overflow-x: auto;
	margin-bottom: 12px;
}

body.subtank-staff-console-page .stf-divingout__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

body.subtank-staff-console-page .stf-divingout__table th,
body.subtank-staff-console-page .stf-divingout__table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.subtank-staff-console-page .stf-divingout__table th {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #64748b;
}

body.subtank-staff-console-page .stf-divingout__hint {
	margin: 0 0 12px;
	font-size: 0.88rem;
	color: #64748b;
}

body.subtank-staff-console-page .stf-divingout__bulk {
	margin: 10px 0 14px;
	padding: 14px;
	border-radius: 14px;
	background: rgba(14, 116, 144, 0.06);
	border: 1px solid rgba(14, 116, 144, 0.18);
}

body.subtank-staff-console-page .stf-divingout__bulk-title {
	margin: 0 0 10px;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0e7490;
}

body.subtank-staff-console-page .stf-divingout__bulk-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 10px;
}

body.subtank-staff-console-page .stf-divingout__bulk-grid label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 650;
	color: #64748b;
}

body.subtank-staff-console-page .stf-divingout__bulk-grid input,
body.subtank-staff-console-page .stf-divingout__bulk-grid select {
	font: inherit;
	font-weight: 600;
	color: #0f172a;
	padding: 9px 10px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: #fff;
}

body.subtank-staff-console-page .stf-divingout__config {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
}

body.subtank-staff-console-page .stf-divingout__config-row {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 90px 40px;
	gap: 8px;
	align-items: center;
}

body.subtank-staff-console-page .stf-divingout__row-remove {
	min-height: 40px !important;
	padding: 0 !important;
	font-size: 1.25rem !important;
	line-height: 1;
}

body.subtank-staff-console-page .stf-divingout__occupants {
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

body.subtank-staff-console-page .stf-divingout__occupants li {
	font-size: 0.88rem;
	font-weight: 600;
	color: #0f172a;
}

body.subtank-staff-console-page .stf-divingout__occupants li small {
	font-weight: 500;
	color: #64748b;
}

body.subtank-staff-console-page .stf-divingout__occupants-empty {
	margin: 0 0 10px;
	font-size: 0.82rem;
	color: #94a3b8;
}

body.subtank-staff-console-page .stf-divingout__seat-label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.72rem;
	font-weight: 650;
	color: #64748b;
}

body.subtank-staff-console-page .stf-divingout__config-row input,
body.subtank-staff-console-page .stf-divingout__config-row select {
	font: inherit;
	padding: 9px 10px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: #fff;
}

body.subtank-staff-console-page .stf-divingout__config-row[data-boat-idx] {
	grid-template-columns: minmax(0, 1fr) 100px;
}

body.subtank-staff-console-page .stf-divingout__board {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

body.subtank-staff-console-page .stf-divingout__board-card {
	padding: 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(15, 23, 42, 0.08);
}

body.subtank-staff-console-page .stf-divingout__board-card h4 {
	margin: 0 0 10px;
	font-size: 0.95rem;
}

body.subtank-staff-console-page .stf-divingout__seats {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.subtank-staff-console-page .stf-divingout__assign {
	width: 100%;
	font: inherit;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: #fff;
}

body.subtank-staff-console-page .stf-divingout__notes {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 14px 0 10px;
	font-size: 0.82rem;
	font-weight: 650;
	color: #64748b;
}

body.subtank-staff-console-page .stf-divingout__notes textarea {
	font: inherit;
	font-weight: 500;
	color: #0f172a;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	min-height: 96px;
	resize: vertical;
}

body.subtank-staff-console-page .stf-divingout__actions {
	margin: 8px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (max-width: 640px) {
	body.subtank-staff-console-page .stf-divingout__config-row,
	body.subtank-staff-console-page .stf-divingout__config-row[data-boat-idx] {
		grid-template-columns: 1fr;
	}

	body.subtank-staff-console-page .stf-divingout__bulk-grid {
		grid-template-columns: 1fr;
	}
}

/* Soft Turni Apertura */
body.subtank-staff-soft-page .stf-turni {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
body.subtank-staff-soft-page .stf-turni__hero,
body.subtank-staff-soft-page .stf-turni__panel {
	background: #fff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 24px !important;
	box-shadow: var(--stf-shadow) !important;
	padding: 20px 22px !important;
	min-width: 0;
	box-sizing: border-box;
}
body.subtank-staff-soft-page .stf-turni__eyebrow {
	margin: 0 0 4px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #64748b;
}
body.subtank-staff-soft-page .stf-turni__title {
	margin: 0 0 8px;
	font-family: 'Poppins', var(--stf-display);
	font-size: 1.35rem;
	color: #111;
}
body.subtank-staff-soft-page .stf-turni__lead,
body.subtank-staff-soft-page .stf-turni__meta,
body.subtank-staff-soft-page .stf-turni__empty {
	color: #64748b;
	font-size: 0.92rem;
	overflow-wrap: anywhere;
	word-break: break-word;
}
body.subtank-staff-soft-page .stf-turni__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}
body.subtank-staff-soft-page .stf-turni__panel-head h3 {
	margin: 0;
	font-family: 'Poppins', var(--stf-display);
	font-size: 1.1rem;
	color: #111;
}
body.subtank-staff-soft-page .stf-turni__chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0e283c;
	font-size: 0.75rem;
	font-weight: 600;
}
body.subtank-staff-soft-page .stf-turni__search {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fff;
	box-sizing: border-box;
	font-family: var(--stf-font);
}
body.subtank-staff-soft-page .stf-turni__suggest {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.subtank-staff-soft-page .stf-turni__suggest[hidden] {
	display: none !important;
}
body.subtank-staff-soft-page .stf-turni__search {
	font-size: 16px !important; /* evita zoom iOS che chiude la tastiera */
}
body.subtank-staff-soft-page .stf-turni__suggest-empty {
	margin: 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	color: #64748b;
	font-size: 0.9rem;
	font-family: var(--stf-font);
}
body.subtank-staff-soft-page .stf-turni__suggest-btn {
	width: 100%;
	text-align: left;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid var(--stf-border);
	background: #f9fafb;
	color: #111;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--stf-font);
}
body.subtank-staff-soft-page .stf-turni__suggest-btn:disabled {
	opacity: 0.55;
	cursor: default;
}
body.subtank-staff-soft-page .stf-turni__pool,
body.subtank-staff-soft-page .stf-turni__list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body.subtank-staff-soft-page .stf-turni__pool-item,
body.subtank-staff-soft-page .stf-turni__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	min-width: 0;
}
body.subtank-staff-soft-page .stf-turni__row-main,
body.subtank-staff-soft-page .stf-turni__pool-item > div {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.subtank-staff-soft-page .stf-turni__names {
	font-weight: 600;
	color: #0e283c;
	overflow-wrap: anywhere;
}
body.subtank-staff-soft-page .stf-turni__row-side {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	align-items: center;
}
body.subtank-staff-soft-page .stf-turni__badge {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	background: #eef2ff;
	color: #3730a3;
}
body.subtank-staff-soft-page .stf-turni__badge--manual {
	background: #fff7ed;
	color: #c2410c;
}
body.subtank-staff-soft-page .stf-turni__monthbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 8px 0 12px;
}
body.subtank-staff-soft-page .stf-turni__month-label {
	text-transform: capitalize;
	font-family: 'Poppins', var(--stf-display);
	color: #111;
}
body.subtank-staff-soft-page .stf-turni__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 8px 0 4px;
}
body.subtank-staff-soft-page .stf-turni .stf-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 44px !important;
	padding: 10px 16px !important;
	border-radius: 14px !important;
	border: 1px solid transparent !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.88rem !important;
	cursor: pointer;
	box-shadow: none !important;
	background-image: none !important;
}
body.subtank-staff-soft-page .stf-turni .stf-btn--primary {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #fff !important;
}
body.subtank-staff-soft-page .stf-turni .stf-btn--ghost {
	background: #fff !important;
	border-color: #e2e8f0 !important;
	color: #0e283c !important;
}
body.subtank-staff-soft-page .stf-turni .stf-btn--sm {
	min-height: 36px !important;
	padding: 6px 12px !important;
	font-size: 0.78rem !important;
}
body.subtank-staff-soft-page .stf-turni__toast {
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 0.9rem;
}
body.subtank-staff-soft-page .stf-turni__toast[hidden] {
	display: none !important;
}
body.subtank-staff-soft-page .stf-turni__toast.is-ok {
	background: #ecfdf5;
	color: #0f766e;
}
body.subtank-staff-soft-page .stf-turni__toast.is-error {
	background: #fef2f2;
	color: #dc2626;
}
body.subtank-staff-soft-page .stf-turni-sheet-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 210;
}
body.subtank-staff-soft-page .stf-turni-sheet {
	position: fixed !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	z-index: 220;
	width: min(420px, calc(100vw - 32px)) !important;
	max-height: min(80vh, 560px);
	overflow: auto;
	background: #fff !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 24px !important;
	padding: 22px 24px !important;
	box-shadow: 0 28px 72px rgba(15, 23, 42, 0.24) !important;
	box-sizing: border-box;
}
body.subtank-staff-soft-page .stf-turni-sheet h3 {
	margin: 0 0 8px;
	font-family: 'Poppins', var(--stf-display);
	font-size: 1.2rem;
	color: #111;
}
body.subtank-staff-soft-page .stf-turni-sheet__form {
	display: grid;
	gap: 12px;
	margin-top: 12px;
}
body.subtank-staff-soft-page .stf-turni-sheet__form label {
	display: grid;
	gap: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	color: #64748b;
}
body.subtank-staff-soft-page .stf-turni-sheet__form select {
	min-height: 48px !important;
	padding: 10px 12px !important;
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background: #fff !important;
	font-family: var(--stf-font) !important;
}
@media (max-width: 480px) {
	body.subtank-staff-soft-page .stf-turni__row,
	body.subtank-staff-soft-page .stf-turni__pool-item {
		flex-direction: column;
		align-items: stretch;
	}
	body.subtank-staff-soft-page .stf-turni__row-side {
		justify-content: flex-start;
	}
}

body.subtank-staff-soft-page .stf-rubrica__qr-box,
body.subtank-staff-soft-page .stf-lb-rubrica__qr-box {
	display: flex;
	justify-content: center;
	margin: 0.75rem 0;
}
body.subtank-staff-soft-page .stf-rubrica__qr-box img,
body.subtank-staff-soft-page .stf-lb-rubrica__qr-box img {
	display: block;
	border-radius: 8px;
	background: #fff;
	padding: 8px;
}
body.subtank-staff-soft-page .stf-lb-rubrica__qr,
body.subtank-staff-soft-page .subtank-buddy-book-card__qr {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--stf-border, #e2e8f0);
}
body.subtank-staff-soft-page .stf-lb-rubrica__qr-title {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0e283c;
	margin: 0 0 0.35rem;
}

/* Popup QRcode Personale (hub Logbook). */
body.stf-lb-qr-modal-open {
	overflow: hidden;
}
body.subtank-staff-soft-page .stf-lb-qr-modal {
	position: fixed;
	inset: 0;
	z-index: 120000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}
body.subtank-staff-soft-page .stf-lb-qr-modal[hidden] {
	display: none !important;
}
body.subtank-staff-soft-page .stf-lb-qr-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(15, 23, 42, 0.45);
	cursor: pointer;
}
body.subtank-staff-soft-page .stf-lb-qr-modal__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 360px);
	padding: 22px 20px 20px;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
	text-align: center;
}
body.subtank-staff-soft-page .stf-lb-qr-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0e283c;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}
body.subtank-staff-soft-page .stf-lb-qr-modal__title {
	margin: 0 28px 8px 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #111111;
	font-family: 'Poppins', var(--stf-display);
	text-align: left;
}
body.subtank-staff-soft-page .stf-lb-qr-modal__lead {
	margin: 0 0 16px;
	font-size: 0.88rem;
	line-height: 1.4;
	color: #64748b;
	text-align: left;
}
body.subtank-staff-soft-page .stf-lb-qr-modal__box {
	display: flex;
	justify-content: center;
}
body.subtank-staff-soft-page .stf-lb-qr-modal__box img {
	display: block;
	width: min(100%, 240px);
	height: auto;
	border-radius: 12px;
	background: #fff;
	padding: 10px;
	border: 1px solid #e2e8f0;
	box-sizing: border-box;
}
body.subtank-staff-organizza-page .stf-dive-log-pick {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
	cursor: pointer;
}
body.subtank-staff-organizza-page .stf-dive-log-pick input {
	margin-top: 0.35rem;
}
body.subtank-staff-organizza-page #stf-dive-log-bulk-sig {
	margin: 1rem 0;
}
body.subtank-staff-organizza-page #stf-dive-log-sig-canvas {
	width: 100%;
	max-width: 600px;
	height: 160px;
	touch-action: none;
	background: #fff;
	border-radius: 8px;
}

@media print {
	body.subtank-staff-console-page .stf-dock,
	body.subtank-staff-console-page .stf-topbar__actions,
	body.subtank-staff-console-page .stf-bilancio-crm__toolbar,
	body.subtank-staff-console-page .stf-bilancio-crm__tabs,
	body.subtank-staff-console-page .stf-bilancio-crm__filters,
	body.subtank-staff-console-page .stf-bilancio-crm__form,
	body.subtank-staff-console-page #stf-bil-save-amounts,
	body.subtank-staff-console-page #stf-bil-save-bs {
		display: none !important;
	}

	body.subtank-staff-console-page .stf-shell__main {
		margin: 0 !important;
		padding: 0 !important;
	}
}


body.subtank-staff-soft-page .stf-reception__switch {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
	cursor: pointer;
	font-family: var(--stf-font);
	font-weight: 600;
	color: #0e283c;
}
body.subtank-staff-soft-page .stf-reception__switch input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
body.subtank-staff-soft-page .stf-reception__switch-ui {
	position: relative;
	flex: 0 0 auto;
	width: 48px;
	height: 28px;
	border-radius: 999px;
	background: #cbd5e1;
	transition: background 0.15s ease;
}
body.subtank-staff-soft-page .stf-reception__switch-ui::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
	transition: transform 0.15s ease;
}
body.subtank-staff-soft-page .stf-reception__switch input:checked + .stf-reception__switch-ui {
	background: #0e283c;
}
body.subtank-staff-soft-page .stf-reception__switch input:checked + .stf-reception__switch-ui::after {
	transform: translateX(20px);
}
body.subtank-staff-soft-page .stf-reception__switch input:focus-visible + .stf-reception__switch-ui {
	box-shadow: 0 0 0 3px rgba(14, 40, 60, 0.2);
}
body.subtank-staff-soft-page .stf-reception__meta--ok {
	color: #166534;
}
body.subtank-staff-soft-page .stf-delivery-denied {
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	font-family: var(--stf-font);
	font-size: 0.9rem;
	line-height: 1.4;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-cert-select,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack select.subtank-dive-participant-cert-select {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: #111111 !important;
	box-sizing: border-box !important;
	font-family: var(--stf-font) !important;
	font-size: 0.95rem !important;
	box-shadow: none !important;
}
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .subtank-dive-participant-cert-select-wrap[hidden],
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .subtank-dive-participant-cert-type-wrap[hidden] {
	display: none !important;
}

/*
 * Soft Soft — form immersione/modulo: riduci ~60% lo spazio verticale tra i campi.
 * Blocco in coda per vincere su regole legacy / PWA cache.
 */
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-form,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-form,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-form {
	gap: 6px !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields--legal,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-fields--gas,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-fields,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-fields {
	gap: 0 !important;
	row-gap: 0 !important;
	column-gap: 10px !important;
	margin: 0 !important;
}

/* Nuovo modulo Soft Soft: una sola colonna full-width, allineata a sinistra. */
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-fields,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-form .subtank-dive-module-fields {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	justify-items: stretch !important;
	justify-content: start !important;
	width: 100% !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field {
	grid-column: 1 / -1 !important;
	justify-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-field,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-form label:not(.subtank-dive-log-toggle):not(.subtank-dive-participant-manual-toggle):not(.subtank-dive-participant-guide-label):not(.subtank-dive-log-module-compagni__toggle) {
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-section > summary,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-section > summary,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-section--gas .subtank-dive-log-gas-title {
	padding: 6px 10px !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-log-section > :not(summary),
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-section > :not(summary) {
	padding: 6px 8px 8px !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field input:not([type="checkbox"]):not([type="radio"]),
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field select,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field textarea,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-date-picker__toggle,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field input:not([type="checkbox"]):not([type="radio"]),
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field select,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field textarea,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-field input:not([type="checkbox"]):not([type="radio"]),
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-field select,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-field textarea,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-date-picker__toggle {
	min-height: 36px !important;
	padding: 6px 10px !important;
	border-radius: 10px !important;
	line-height: 1.25 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-field-hint,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-log-hint {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.75rem !important;
	line-height: 1.2 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack .subtank-dive-module-field > span,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-module-field > span,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb-flow .subtank-dive-module-field > span {
	margin: 0 !important;
	line-height: 1.2 !important;
	font-size: 0.78rem !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack .subtank-dive-participant-cert-select,
body.subtank-staff-soft-page .stf-shell[data-soft-page="dive-module"] .stf-soft-content--stack select.subtank-dive-participant-cert-select {
	min-height: 36px !important;
	padding: 6px 10px !important;
}

/* Logbook hub CTA — stesso padding/centratura per tutti i tasti (QR incluso). */
body.subtank-staff-soft-page .stf-lb .stf-lb-cta,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-cta {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 8px !important;
}

body.subtank-staff-soft-page .stf-lb .stf-lb-cta > a.stf-btn,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-cta > a.stf-btn,
body.subtank-staff-soft-page .stf-lb .stf-lb-cta > #stf-lb-qr-personal-btn,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-cta > #stf-lb-qr-personal-btn {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	align-self: center !important;
	box-sizing: border-box !important;
	height: auto !important;
	min-height: 42px !important;
	padding: 11px 14px !important;
	margin: 0 !important;
	line-height: 1.2 !important;
	border-radius: 14px !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	text-decoration: none !important;
	position: static !important;
	top: auto !important;
	transform: none !important;
}

body.subtank-staff-soft-page .stf-lb .stf-lb-cta > a.stf-btn .stf-lb-cta__label,
body.subtank-staff-soft-page .stf-soft-content--stack .stf-lb .stf-lb-cta > a.stf-btn .stf-lb-cta__label,
body.subtank-staff-soft-page .stf-lb .stf-lb-cta > #stf-lb-qr-personal-btn .stf-lb-cta__label {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
	font: inherit !important;
	color: inherit !important;
	vertical-align: middle !important;
	position: static !important;
	transform: none !important;
}


/* Prodotti e Servizi (Soft Soft catalog admin) */
body.subtank-staff-console-page .stf-products {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 4px 2px 28px;
}
body.subtank-staff-console-page .stf-products__head {
	margin: 0 0 4px;
}
body.subtank-staff-console-page .stf-products__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f172a;
}
body.subtank-staff-console-page .stf-products__lead {
	margin: 6px 0 0;
	color: #64748b;
	font-size: 0.92rem;
}
body.subtank-staff-console-page .stf-products__msg {
	margin: 0;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 0.88rem;
	font-weight: 600;
}
body.subtank-staff-console-page .stf-products__msg.is-ok {
	background: rgba(16, 185, 129, 0.16);
	color: #065f46;
}
body.subtank-staff-console-page .stf-products__msg.is-err {
	background: rgba(248, 113, 113, 0.18);
	color: #7f1d1d;
}
body.subtank-staff-console-page .stf-products__toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-end;
}
body.subtank-staff-console-page .stf-products__toolbar label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #475569;
}
body.subtank-staff-console-page .stf-products__toolbar input,
body.subtank-staff-console-page .stf-products__toolbar select,
body.subtank-staff-console-page .stf-products__form input,
body.subtank-staff-console-page .stf-products__form select,
body.subtank-staff-console-page .stf-products__form textarea {
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 12px;
	background: #fff;
	font: inherit;
	color: #0f172a;
}
body.subtank-staff-console-page .stf-products__search {
	flex: 1 1 200px;
}
body.subtank-staff-console-page .stf-products__search input {
	width: 100%;
}
body.subtank-staff-console-page .stf-products__table-wrap {
	overflow: auto;
	border-radius: 16px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(255, 255, 255, 0.72);
}
body.subtank-staff-console-page .stf-products__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}
body.subtank-staff-console-page .stf-products__table th,
body.subtank-staff-console-page .stf-products__table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	vertical-align: middle;
}
body.subtank-staff-console-page .stf-products__table th {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
	background: rgba(248, 250, 252, 0.9);
}
body.subtank-staff-console-page .stf-products__cell-name {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 200px;
}
body.subtank-staff-console-page .stf-products__cell-name strong {
	display: block;
	color: #0f172a;
}
body.subtank-staff-console-page .stf-products__type {
	display: block;
	font-size: 0.72rem;
	color: #94a3b8;
	margin-top: 2px;
}
body.subtank-staff-console-page .stf-products__thumb {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	object-fit: cover;
	background: #e2e8f0;
	flex: 0 0 auto;
}
body.subtank-staff-console-page .stf-products__thumb--empty {
	display: inline-block;
}
body.subtank-staff-console-page .stf-products__badge {
	display: inline-flex;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	background: rgba(15, 23, 42, 0.08);
}
body.subtank-staff-console-page .stf-products__badge--publish {
	background: rgba(16, 185, 129, 0.18);
	color: #065f46;
}
body.subtank-staff-console-page .stf-products__badge--draft,
body.subtank-staff-console-page .stf-products__badge--pending {
	background: rgba(245, 158, 11, 0.2);
	color: #92400e;
}
body.subtank-staff-console-page .stf-products__badge--trash {
	background: rgba(248, 113, 113, 0.2);
	color: #7f1d1d;
}
body.subtank-staff-console-page .stf-products__actions {
	white-space: nowrap;
}
body.subtank-staff-console-page .stf-products__actions .stf-btn {
	margin-left: 4px;
}
body.subtank-staff-console-page .stf-products__pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 12px;
	font-size: 0.85rem;
	color: #475569;
}
body.subtank-staff-console-page .stf-products__form-bar {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}
body.subtank-staff-console-page .stf-products__note {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(59, 130, 246, 0.12);
	color: #1e3a8a;
	font-size: 0.85rem;
}
body.subtank-staff-console-page .stf-products__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
	gap: 16px;
	align-items: start;
}
body.subtank-staff-console-page .stf-products__main,
body.subtank-staff-console-page .stf-products__panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border-radius: 16px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(255, 255, 255, 0.78);
}
body.subtank-staff-console-page .stf-products__side {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
body.subtank-staff-console-page .stf-products__main label,
body.subtank-staff-console-page .stf-products__panel label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.78rem;
	font-weight: 600;
	color: #475569;
}
body.subtank-staff-console-page .stf-products__check {
	flex-direction: row !important;
	align-items: center;
	gap: 8px !important;
	font-weight: 500 !important;
	color: #0f172a !important;
}
body.subtank-staff-console-page .stf-products__panel-title {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	color: #0f172a;
}
body.subtank-staff-console-page .stf-products__preview {
	width: 100%;
	max-height: 180px;
	object-fit: cover;
	border-radius: 12px;
	background: #e2e8f0;
}
body.subtank-staff-console-page .stf-products__preview--empty {
	min-height: 120px;
}
body.subtank-staff-console-page .stf-products__img-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.subtank-staff-console-page .stf-products__cats {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 220px;
	overflow: auto;
}
body.subtank-staff-console-page .stf-products__hint,
body.subtank-staff-console-page .stf-products__loading {
	margin: 0;
	color: #64748b;
	font-size: 0.85rem;
}
@media (max-width: 900px) {
	body.subtank-staff-console-page .stf-products__grid {
		grid-template-columns: 1fr;
	}
}

body.subtank-staff-console-page .stf-products__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
body.subtank-staff-console-page .stf-products__btn-edit {
	background: #0f172a !important;
	color: #fff !important;
	border-color: #0f172a !important;
	font-weight: 700 !important;
	min-height: 36px;
	padding: 8px 14px !important;
}
body.subtank-staff-console-page .stf-products__btn-dup {
	background: #fff !important;
	color: #0f172a !important;
	border: 1.5px solid #0f172a !important;
	font-weight: 700 !important;
	min-height: 36px;
	padding: 8px 14px !important;
}
body.subtank-staff-console-page .stf-products__btn-trash {
	background: #dc2626 !important;
	color: #fff !important;
	border-color: #dc2626 !important;
	font-weight: 700 !important;
	min-height: 36px;
	padding: 8px 14px !important;
}
body.subtank-staff-console-page .stf-products__btn-restore {
	font-weight: 700 !important;
	min-height: 36px;
	padding: 8px 14px !important;
}

/* Modale categorie prodotti */
body.subtank-staff-console-page .stf-products__modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
body.subtank-staff-console-page .stf-products__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
}
body.subtank-staff-console-page .stf-products__modal-card {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	max-height: min(80vh, 720px);
	overflow: auto;
	padding: 18px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
body.subtank-staff-console-page .stf-products__modal-head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-start;
}
body.subtank-staff-console-page .stf-products__modal-head h3 {
	margin: 0;
	font-size: 1.1rem;
}
body.subtank-staff-console-page .stf-products__modal-head p {
	margin: 4px 0 0;
	color: #64748b;
	font-size: 0.85rem;
}
body.subtank-staff-console-page .stf-products__cats-add {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
body.subtank-staff-console-page .stf-products__cats-add label {
	flex: 1;
}
body.subtank-staff-console-page .stf-products__cats-add input {
	width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 12px;
}
body.subtank-staff-console-page .stf-products__cats-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
body.subtank-staff-console-page .stf-products__cats-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.06);
}
body.subtank-staff-console-page .stf-products__cats-item strong {
	display: block;
	color: #0f172a;
}
body.subtank-staff-console-page .stf-products__cats-item span {
	display: block;
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 2px;
}
body.subtank-staff-console-page .stf-products__cats-default {
	font-size: 0.75rem;
	font-weight: 700;
	color: #64748b;
}
body.subtank-staff-console-page .stf-products__btn-cats {
	font-weight: 700 !important;
}

/* Shop hub: meta prodotti su card categoria */
body.subtank-staff-soft-page .stf-sh-card__meta,
body.subtank-staff-console-page .stf-sh-card__meta {
	display: block;
	margin-top: 6px;
	font-size: 0.78rem;
	opacity: 0.78;
	font-weight: 600;
}

body.subtank-staff-console-page .stf-products__note--vis {
	margin: 0;
	background: rgba(16, 185, 129, 0.12);
	color: #065f46;
}

/* Scheda prodotto Soft Soft: no badge Offerta + CTA brand */
body.subtank-staff-soft-page .stf-sh-product-page span.onsale,
body.subtank-soft-shop-page .stf-sh-product-page span.onsale,
body.subtank-wc-product-page .stf-sh-product-page span.onsale,
body.subtank-staff-soft-page .stf-sh-product-page .onsale,
body.subtank-soft-shop-page .stf-sh-product-page .onsale,
body.subtank-wc-product-page span.onsale {
	display: none !important;
}

body.subtank-staff-soft-page .stf-sh-product-page .single_add_to_cart_button,
body.subtank-soft-shop-page .stf-sh-product-page .single_add_to_cart_button,
body.subtank-wc-product-page .single_add_to_cart_button,
body.subtank-staff-soft-page .stf-sh-product-page button.single_add_to_cart_button.button.alt,
body.subtank-soft-shop-page .stf-sh-product-page button.single_add_to_cart_button.button.alt,
body.subtank-wc-product-page button.single_add_to_cart_button.button.alt {
	background: #0e283c !important;
	background-color: #0e283c !important;
	border-color: #0e283c !important;
	color: #fff !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-sh-product-page .single_add_to_cart_button:hover,
body.subtank-soft-shop-page .stf-sh-product-page .single_add_to_cart_button:hover,
body.subtank-wc-product-page .single_add_to_cart_button:hover,
body.subtank-staff-soft-page .stf-sh-product-page button.single_add_to_cart_button.button.alt:hover,
body.subtank-soft-shop-page .stf-sh-product-page button.single_add_to_cart_button.button.alt:hover,
body.subtank-wc-product-page button.single_add_to_cart_button.button.alt:hover {
	background: #0a1f2f !important;
	background-color: #0a1f2f !important;
	border-color: #0a1f2f !important;
	color: #fff !important;
}

body.subtank-staff-console-page .stf-products__btn-back {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #fff !important;
	font-weight: 700 !important;
	min-height: 42px;
	padding: 10px 16px !important;
}
body.subtank-staff-console-page .stf-products__btn-upload {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #fff !important;
	font-weight: 700 !important;
	min-height: 42px;
	padding: 10px 16px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

body.subtank-staff-console-page .stf-list__actions,
body.subtank-staff-soft-page .stf-list__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	justify-content: flex-end;
	flex-shrink: 0;
}
body.subtank-staff-console-page .stf-btn--azure,
body.subtank-staff-soft-page .stf-btn--azure {
	color: #fff !important;
	background: #0ea5e9 !important;
	background-image: none !important;
	border-color: #0ea5e9 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}
body.subtank-staff-console-page .stf-btn--azure:hover,
body.subtank-staff-console-page .stf-btn--azure:focus-visible,
body.subtank-staff-soft-page .stf-btn--azure:hover,
body.subtank-staff-soft-page .stf-btn--azure:focus-visible {
	background: #0284c7 !important;
	border-color: #0284c7 !important;
	color: #fff !important;
	filter: none !important;
}

/* —— Soft Area personale (socio) — layout stile Rugby, token Soft UI —— */
body.subtank-soft-home-page .stf-shell--member-home .stf-dock {
	z-index: 40;
}

body.subtank-soft-home-page .stf-mh {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 6px 32px;
	font-family: var(--stf-font);
	color: var(--stf-ink);
}

body.subtank-soft-home-page .stf-mh-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
	align-items: stretch;
}

body.subtank-soft-home-page .stf-mh-span-5 { grid-column: span 5; }
body.subtank-soft-home-page .stf-mh-span-6 { grid-column: span 6; }
body.subtank-soft-home-page .stf-mh-span-7 { grid-column: span 7; }
body.subtank-soft-home-page .stf-mh-span-12 { grid-column: span 12; }

body.subtank-soft-home-page .stf-mh-hero-photo {
	position: relative;
	isolation: isolate;
	min-height: 200px;
	border-radius: var(--stf-radius-lg);
	overflow: hidden;
	padding: 26px 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	color: #ffffff !important;
	background-color: #0e283c;
	background-image:
		linear-gradient(145deg, rgba(14, 40, 60, 0.88) 0%, rgba(55, 48, 163, 0.52) 55%, rgba(14, 40, 60, 0.75) 100%),
		var(--stf-mh-hero-image, none);
	background-size: cover;
	background-position: center;
	box-shadow: var(--stf-shadow);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

body.subtank-soft-home-page .stf-mh-hero-photo__eyebrow {
	margin: 0 !important;
	font-size: 0.76rem !important;
	font-weight: 650 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.82;
	font-family: var(--stf-font) !important;
	color: rgba(255, 255, 255, 0.92) !important;
}

body.subtank-soft-home-page .stf-mh-hero-photo__name,
body.subtank-soft-home-page .stf-mh-hero-photo h2 {
	margin: 0 !important;
	font-family: var(--stf-display) !important;
	font-size: clamp(1.55rem, 2.6vw, 2.05rem) !important;
	font-weight: 650 !important;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: #ffffff !important;
}

body.subtank-soft-home-page .stf-mh-hero-photo__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0 !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	font-family: var(--stf-font) !important;
	color: rgba(255, 255, 255, 0.9) !important;
}

body.subtank-soft-home-page .stf-mh-hero-photo__pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.74rem;
	font-weight: 650;
	letter-spacing: 0.02em;
}

body.subtank-soft-home-page .stf-mh-hero-photo__dot {
	opacity: 0.55;
}

body.subtank-soft-home-page .stf-mh-kpi {
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	min-height: 200px;
	padding: 22px 24px !important;
	border-radius: var(--stf-radius-lg) !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
}

body.subtank-soft-home-page .stf-mh-kpi__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	height: 100%;
}

body.subtank-soft-home-page .stf-mh-kpi .stf-card__title {
	margin: 0 0 6px !important;
	font-size: 0.84rem !important;
	font-weight: 650 !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--stf-muted) !important;
	font-family: var(--stf-font) !important;
}

body.subtank-soft-home-page .stf-mh-kpi__value {
	margin: 0 0 6px !important;
	font-family: var(--stf-display) !important;
	font-size: clamp(1.85rem, 3vw, 2.25rem) !important;
	font-weight: 650 !important;
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: var(--stf-ink) !important;
}

body.subtank-soft-home-page .stf-mh-kpi .stf-mh-lead {
	margin-bottom: 14px !important;
}

body.subtank-soft-home-page .stf-mh-kpi .stf-mh-actions {
	margin-top: auto !important;
}

body.subtank-soft-home-page .stf-mh-section-title {
	margin: 8px 0 0 !important;
	font-family: var(--stf-display) !important;
	font-size: 1.08rem !important;
	font-weight: 650 !important;
	letter-spacing: -0.02em;
	color: var(--stf-ink) !important;
}

body.subtank-soft-home-page .stf-mh-services {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
}

body.subtank-soft-home-page .stf-mh-service-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 14px !important;
	margin: 0 !important;
	width: 100% !important;
	align-items: stretch;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action {
	text-decoration: none !important;
	color: inherit !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 14px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 112px !important;
	padding: 18px !important;
	border-radius: 22px !important;
	background: #ffffff !important;
	border: 1px solid var(--stf-border) !important;
	box-shadow: var(--stf-shadow) !important;
	box-sizing: border-box !important;
	grid-column: auto !important;
	grid-row: auto !important;
	grid-template-columns: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action:hover,
body.subtank-soft-home-page .stf-mh-service-grid > .stf-action:focus-visible {
	transform: translateY(-2px);
	box-shadow: var(--stf-shadow-hover) !important;
	outline: none;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action.stf-action--tanks {
	background: #0e283c !important;
	border-color: #0e283c !important;
	color: #ffffff !important;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action.stf-action--equip {
	background: #ffffff !important;
	color: #0e283c !important;
}

body.subtank-soft-home-page .stf-mh-service-grid .stf-action__icon {
	width: 40px !important;
	height: 40px !important;
	border-radius: 12px !important;
	display: grid !important;
	place-items: center !important;
	flex-shrink: 0 !important;
	font-size: 1.05rem !important;
	background: var(--stf-accent-soft) !important;
	color: #0e283c !important;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action--tanks .stf-action__icon {
	background: rgba(255, 255, 255, 0.14) !important;
	color: #ffffff !important;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action--equip .stf-action__icon {
	background: #eaf0f6 !important;
	color: #0e283c !important;
}

body.subtank-soft-home-page .stf-mh-service-grid .stf-action__copy {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	gap: 8px !important;
	min-width: 0 !important;
	min-height: 64px;
	flex: 1 1 auto !important;
}

body.subtank-soft-home-page .stf-mh-service-grid .stf-action__title {
	display: block !important;
	margin: 0 !important;
	font-family: 'Poppins', var(--stf-display) !important;
	font-weight: 650 !important;
	font-size: 0.92rem !important;
	line-height: 1.25 !important;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: inherit !important;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action--tanks .stf-action__title {
	color: #ffffff !important;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action--equip .stf-action__title {
	color: #0e283c !important;
}

body.subtank-soft-home-page .stf-mh-service-grid .stf-action__hint {
	display: block !important;
	margin: 0 !important;
	padding-left: 0 !important;
	font-size: 0.78rem !important;
	line-height: 1.35 !important;
	font-weight: 500 !important;
	color: var(--stf-muted) !important;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action--tanks .stf-action__hint {
	color: rgba(255, 255, 255, 0.72) !important;
}

body.subtank-soft-home-page .stf-mh-service-grid > .stf-action--equip .stf-action__hint {
	color: rgba(14, 40, 60, 0.62) !important;
}

body.subtank-soft-home-page .stf-mh-list-label {
	margin: 14px 0 8px !important;
	font-size: 0.76rem !important;
	font-weight: 650 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--stf-muted) !important;
	font-family: var(--stf-font) !important;
}

body.subtank-soft-home-page .stf-mh-list-label:first-child {
	margin-top: 0 !important;
}

body.subtank-soft-home-page .stf-mh-card {
	margin-bottom: 0 !important;
	border-radius: var(--stf-radius-lg) !important;
	box-shadow: var(--stf-shadow) !important;
}

body.subtank-soft-home-page .stf-mh-limited .stf-mh-services {
	grid-column: auto;
}

body.subtank-soft-home-page .stf-mh-limited .stf-mh-span-12 {
	grid-column: auto;
}

body.subtank-soft-home-page .stf-mh-lead,
body.subtank-soft-home-page .stf-mh-hint {
	margin: 0 0 12px !important;
	color: var(--stf-muted) !important;
	font-size: 0.9rem !important;
	line-height: 1.45;
	font-family: var(--stf-font) !important;
}

body.subtank-soft-home-page .stf-mh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 4px 0 0 !important;
}

body.subtank-soft-home-page .stf-mh-rental-actions {
	flex-shrink: 0;
}

body.subtank-soft-home-page .stf-mh-issue-form {
	margin: 0;
}

body.subtank-soft-home-page .stf-alert {
	border-radius: 16px;
	padding: 14px 16px;
	border: 1px solid var(--stf-border);
	background: #ffffff;
	box-shadow: var(--stf-shadow);
	color: var(--stf-ink);
	font-size: 0.92rem;
	line-height: 1.4;
	font-family: var(--stf-font);
}

body.subtank-soft-home-page .stf-alert p {
	margin: 0 0 10px;
}

body.subtank-soft-home-page .stf-alert p:last-child {
	margin-bottom: 0;
}

body.subtank-soft-home-page .stf-alert--ok {
	border-color: rgba(15, 118, 110, 0.22);
	background: #f0fdfa;
	color: #0f766e;
}

body.subtank-soft-home-page .stf-alert--err {
	border-color: rgba(220, 38, 38, 0.2);
	background: var(--stf-danger-bg);
	color: var(--stf-danger);
}

body.subtank-soft-home-page .stf-alert--warn {
	border-color: rgba(180, 83, 9, 0.22);
	background: #fffbeb;
	color: #92400e;
}

body.subtank-soft-home-page .stf-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	background: var(--stf-accent-soft);
	color: #334155;
	font-family: var(--stf-font);
}

body.subtank-soft-home-page .stf-pill--warn {
	background: #fff7ed;
	color: #c2410c;
}

body.subtank-soft-home-page .stf-mh-note {
	font-weight: 600;
	font-size: 0.92rem;
	margin: 0 0 10px !important;
	font-family: var(--stf-font) !important;
}

body.subtank-soft-home-page .stf-mh-note--ok {
	color: var(--stf-ok);
}

body.subtank-soft-home-page .stf-mh-note--pending {
	color: var(--stf-warn);
}

body.subtank-soft-home-page .stf-mh-note--err {
	color: var(--stf-danger);
}

body.subtank-soft-home-page .stf-mh-nitrox-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
	max-width: 420px;
}

body.subtank-soft-home-page .stf-mh-nitrox-preview img {
	display: block;
	max-width: min(100%, 280px);
	border-radius: 14px;
	border: 1px solid var(--stf-border);
}

body.subtank-soft-home-page .stf-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--stf-ink);
	font-family: var(--stf-font);
}

body.subtank-soft-home-page .stf-input[type='file'] {
	font-family: var(--stf-font);
	font-size: 0.85rem;
	color: var(--stf-muted);
}

body.subtank-soft-home-page .stf-mh-orders {
	margin-top: 8px;
}

body.subtank-soft-home-page .stf-mh-orders table,
body.subtank-soft-home-page .stf-mh-orders .subtank-orders-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
	font-family: var(--stf-font);
}

body.subtank-soft-home-page .stf-mh-orders th,
body.subtank-soft-home-page .stf-mh-orders td {
	padding: 8px 6px;
	border-bottom: 1px solid #eef2f7;
	text-align: left;
	color: var(--stf-ink);
}

@media (max-width: 980px) {
	body.subtank-soft-home-page .stf-mh-span-5,
	body.subtank-soft-home-page .stf-mh-span-6,
	body.subtank-soft-home-page .stf-mh-span-7 {
		grid-column: span 12;
	}

	body.subtank-soft-home-page .stf-mh-kpi {
		min-height: 0;
	}

	body.subtank-soft-home-page .stf-mh-hero-photo {
		min-height: 176px;
	}
}

@media (max-width: 782px) {
	body.subtank-soft-home-page .stf-mh {
		max-width: none;
		padding: 0 2px calc(96px + env(safe-area-inset-bottom, 0px));
		gap: 14px;
	}

	body.subtank-soft-home-page .stf-mh-grid {
		gap: 14px;
	}

	body.subtank-soft-home-page .stf-mh-hero-photo {
		min-height: 156px;
		padding: 20px 18px;
	}

	body.subtank-soft-home-page .stf-mh-kpi {
		padding: 18px !important;
	}

	body.subtank-soft-home-page .stf-mh-service-grid > .stf-action {
		min-height: 100px !important;
		padding: 16px !important;
	}
}

@media (max-width: 640px) {
	body.subtank-soft-home-page .stf-mh-service-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	body.subtank-soft-home-page .stf-mh-hero-photo__name,
	body.subtank-soft-home-page .stf-mh-hero-photo h2 {
		font-size: 1.4rem !important;
	}
}

/* —— Soft member: booking / auth / form fields —— */
body.subtank-staff-soft-page .stf-shell--member-gate .stf-shell__main--gate {
	max-width: 520px;
	margin: 0 auto;
	width: 100%;
}

body.subtank-staff-soft-page .stf-shell--member-gate .stf-shell__main--gate:has(.stf-auth-register) {
	max-width: 560px;
}

body.subtank-staff-soft-page .stf-soft-content--gate {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 8px 4px 32px;
}

body.subtank-staff-soft-page .stf-auth-card {
	padding: 22px 22px 20px !important;
	border-radius: var(--stf-radius-lg) !important;
	box-shadow: var(--stf-shadow) !important;
}

body.subtank-staff-soft-page .stf-auth-card h2 {
	margin: 0 0 8px !important;
	font-family: var(--stf-display) !important;
	font-size: 1.35rem !important;
	font-weight: 650 !important;
	color: var(--stf-ink) !important;
}

body.subtank-staff-soft-page .stf-auth-card .stf-mh-lead {
	margin: 0 0 14px !important;
	color: var(--stf-muted) !important;
	font-size: 0.9rem !important;
	line-height: 1.45 !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-auth-card .subtank-access-logo-wrap {
	display: flex;
	justify-content: center;
	margin: 0 0 14px;
}

body.subtank-staff-soft-page .stf-auth-card .subtank-access-logo {
	max-width: 120px;
	height: auto;
}

body.subtank-staff-soft-page .stf-auth-card .stf-alert {
	margin: 0 0 14px !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	font-size: 0.88rem !important;
	font-family: var(--stf-font) !important;
	line-height: 1.4 !important;
}

body.subtank-staff-soft-page .stf-auth-card .stf-alert--ok {
	background: #ecfdf5 !important;
	color: #0f766e !important;
	border: 1px solid #a7f3d0 !important;
}

body.subtank-staff-soft-page .stf-auth-card .stf-alert--err {
	background: #fef2f2 !important;
	color: #dc2626 !important;
	border: 1px solid #fecaca !important;
}

body.subtank-staff-soft-page .stf-auth-form .login-username,
body.subtank-staff-soft-page .stf-auth-form .login-password,
body.subtank-staff-soft-page .stf-auth-form .login-remember,
body.subtank-staff-soft-page .stf-auth-form .login-submit {
	margin: 0 0 12px !important;
}

body.subtank-staff-soft-page .stf-auth-form label {
	display: block;
	margin: 0 0 6px !important;
	font-size: 0.84rem !important;
	font-weight: 600 !important;
	color: var(--stf-ink) !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-auth-register-form {
	display: grid;
	gap: 14px;
	margin: 0;
}

body.subtank-staff-soft-page .stf-auth-field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

body.subtank-staff-soft-page .stf-auth-field > label,
body.subtank-staff-soft-page .stf-auth-register-form .stf-auth-field > label {
	margin: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	color: #64748b !important;
}

body.subtank-staff-soft-page .stf-auth-form input[type='text'],
body.subtank-staff-soft-page .stf-auth-form input[type='email'],
body.subtank-staff-soft-page .stf-auth-form input[type='tel'],
body.subtank-staff-soft-page .stf-auth-form input[type='password'],
body.subtank-staff-soft-page .stf-mh-form input[type='text'],
body.subtank-staff-soft-page .stf-mh-form input[type='number'],
body.subtank-staff-soft-page .stf-mh-form input[type='tel'],
body.subtank-staff-soft-page .stf-mh-form input[type='date'],
body.subtank-staff-soft-page .stf-mh-form select,
body.subtank-staff-soft-page .stf-mh-form textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	min-height: 44px !important;
	padding: 10px 12px !important;
	border-radius: 14px !important;
	border: 1px solid #e2e8f0 !important;
	background: #ffffff !important;
	color: var(--stf-ink) !important;
	font-family: var(--stf-font) !important;
	font-size: 0.92rem !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-auth-register-form input[type='text'],
body.subtank-staff-soft-page .stf-auth-register-form input[type='email'],
body.subtank-staff-soft-page .stf-auth-register-form input[type='tel'],
body.subtank-staff-soft-page .stf-auth-register-form input[type='password'] {
	min-height: 48px !important;
	padding: 12px 14px !important;
	font-size: 0.95rem !important;
}

body.subtank-staff-soft-page .stf-auth-register-form input:focus {
	outline: none !important;
	border-color: #0e283c !important;
	box-shadow: 0 0 0 3px rgba(14, 40, 60, 0.12) !important;
}

body.subtank-staff-soft-page .stf-auth-pwd-wrap {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
}

body.subtank-staff-soft-page .stf-auth-pwd-wrap input {
	padding-right: 88px !important;
	margin: 0 !important;
}

body.subtank-staff-soft-page .stf-auth-pwd-toggle,
body.subtank-staff-soft-page .stf-auth-form .stf-auth-pwd-toggle.button {
	position: absolute !important;
	top: 50% !important;
	right: 6px !important;
	transform: translateY(-50%) !important;
	z-index: 2 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 34px !important;
	height: 34px !important;
	padding: 0 12px !important;
	border-radius: 10px !important;
	border: 1px solid #e2e8f0 !important;
	background: #f8fafc !important;
	color: #334155 !important;
	font-size: 0.78rem !important;
	font-weight: 650 !important;
	font-family: var(--stf-font) !important;
	box-shadow: none !important;
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-auth-pwd-toggle:hover,
body.subtank-staff-soft-page .stf-auth-pwd-toggle:focus-visible {
	background: #ffffff !important;
	border-color: #0e283c !important;
	color: #0e283c !important;
	outline: none !important;
}

body.subtank-staff-soft-page .stf-auth-meta {
	margin: 2px 0 0 !important;
	font-size: 0.78rem !important;
	color: var(--stf-muted) !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-auth-role-hint {
	margin: 0 !important;
	font-size: 0.84rem !important;
}

body.subtank-staff-soft-page .stf-auth-consents {
	display: grid;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	min-width: 0;
}

body.subtank-staff-soft-page .stf-auth-consents legend {
	padding: 0;
	margin: 0 0 2px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #64748b;
	font-family: var(--stf-font);
}

body.subtank-staff-soft-page .stf-auth-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	font-size: 0.88rem;
	font-weight: 500;
	color: #334155;
	line-height: 1.4;
	font-family: var(--stf-font);
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-auth-consent input {
	margin-top: 3px;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	accent-color: #0e283c;
}

body.subtank-staff-soft-page .stf-auth-consent span {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

body.subtank-staff-soft-page .stf-auth-consent a {
	color: #0e283c !important;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.subtank-staff-soft-page .stf-auth-form input[type='submit'],
body.subtank-staff-soft-page .stf-auth-form .button:not(.stf-auth-pwd-toggle) {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 44px !important;
	padding: 0 18px !important;
	border-radius: 14px !important;
	border: none !important;
	background: #0e283c !important;
	color: #ffffff !important;
	font-weight: 650 !important;
	font-family: var(--stf-font) !important;
	cursor: pointer;
}

body.subtank-staff-soft-page .stf-auth-register-form .subtank-register-submit {
	width: 100%;
	min-height: 48px !important;
	justify-content: center;
}

body.subtank-staff-soft-page .stf-auth-register-form .subtank-register-submit[disabled],
body.subtank-staff-soft-page .stf-auth-register-form .subtank-register-submit[aria-busy='true'] {
	opacity: 0.65;
	cursor: wait;
}

body.subtank-staff-soft-page .stf-auth-footer {
	margin: 14px 0 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 0.86rem;
	color: var(--stf-muted);
	font-family: var(--stf-font);
}

body.subtank-staff-soft-page .stf-auth-footer a {
	color: #0e283c !important;
	font-weight: 600 !important;
	text-decoration: none !important;
}

@media (max-width: 480px) {
	body.subtank-staff-soft-page .stf-auth-register {
		padding: 18px 16px 16px !important;
	}
}

body.subtank-staff-soft-page .stf-mh-form label {
	display: block;
	margin: 12px 0 6px !important;
	font-size: 0.84rem !important;
	font-weight: 600 !important;
	color: var(--stf-ink) !important;
	font-family: var(--stf-font) !important;
}

body.subtank-staff-soft-page .stf-mh-form label:first-child,
body.subtank-staff-soft-page .stf-mh-form .subtank-booking-user-summary + label {
	margin-top: 0 !important;
}

body.subtank-staff-soft-page .stf-mh-form fieldset {
	margin: 12px 0 !important;
	padding: 12px 14px !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 16px !important;
	background: #f8fafc !important;
}

body.subtank-staff-soft-page .stf-mh-form .subtank-booking-user-summary {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 14px !important;
	padding: 12px 14px !important;
	border-radius: 14px !important;
	background: var(--stf-accent-soft) !important;
	font-size: 0.88rem !important;
	font-family: var(--stf-font) !important;
	color: var(--stf-ink) !important;
}

body.subtank-staff-soft-page .stf-mh-form .subtank-manual-hint,
body.subtank-staff-soft-page .stf-mh-form .stf-mh-lead {
	margin: 8px 0 12px !important;
	color: var(--stf-muted) !important;
	font-size: 0.86rem !important;
}

body.subtank-staff-soft-page .stf-mh-booking {
	max-width: 720px;
	margin: 0 auto;
	width: 100%;
}

/* Soft scanners / notifiche / install app / convalida */
body.subtank-staff-soft-page .stf-scan,
body.subtank-staff-soft-page .stf-notif,
body.subtank-staff-soft-page .stf-excursion-signup,
body.subtank-staff-soft-page .stf-excursion-profile {
	width: 100%;
	max-width: none;
}

body.subtank-staff-soft-page .stf-scan-panel .stf-card__body,
body.subtank-staff-soft-page .stf-notif-card .stf-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.subtank-staff-soft-page .stf-scan .button,
body.subtank-staff-soft-page .stf-scan .button-primary,
body.subtank-staff-soft-page .stf-scan input[type='submit'] {
	min-height: 44px !important;
	padding: 0 16px !important;
	border-radius: 999px !important;
	border: 1px solid var(--stf-border) !important;
	background: #ffffff !important;
	background-image: none !important;
	color: var(--stf-ink) !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	box-shadow: var(--stf-shadow) !important;
}

body.subtank-staff-soft-page .stf-scan .button-primary,
body.subtank-staff-soft-page .stf-scan .stf-btn--primary {
	background: var(--stf-indigo) !important;
	color: #ffffff !important;
	border-color: transparent !important;
}

body.subtank-staff-soft-page .stf-scan input[type='text'],
body.subtank-staff-soft-page .stf-scan input[type='search'],
body.subtank-staff-soft-page .stf-scan input[type='number'],
body.subtank-staff-soft-page .stf-scan select,
body.subtank-staff-soft-page .stf-scan textarea {
	border-radius: 14px !important;
	border: 1px solid var(--stf-border) !important;
	background: #f8fafc !important;
	box-shadow: none !important;
	font-family: var(--stf-font) !important;
	color: var(--stf-ink) !important;
}

body.subtank-staff-soft-page .stf-scan fieldset {
	margin: 12px 0 !important;
	padding: 12px 14px !important;
	border: 1px solid var(--stf-border) !important;
	border-radius: 16px !important;
	background: #f8fafc !important;
}

body.subtank-staff-soft-page .stf-scan .subtank-reader-shell,
body.subtank-staff-soft-page .stf-scan .subtank-reader {
	border-radius: 20px !important;
	overflow: hidden;
	background: #0f172a !important;
}

body.subtank-staff-soft-page .stf-notif-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.subtank-staff-soft-page .stf-notif-item {
	padding: 14px 16px !important;
	border-radius: 16px !important;
	border: 1px solid var(--stf-border) !important;
	background: #f8fafc !important;
	box-shadow: none !important;
}

body.subtank-staff-soft-page .stf-notif-item.is-unread {
	background: #ffffff !important;
	border-color: rgba(55, 48, 163, 0.18) !important;
	box-shadow: var(--stf-shadow) !important;
}

body.subtank-staff-soft-page .stf-notif-item__title,
body.subtank-staff-soft-page .subtank-notifications-item__title {
	margin: 6px 0 4px !important;
	font-family: var(--stf-display) !important;
	font-size: 1rem !important;
	color: var(--stf-ink) !important;
}

body.subtank-staff-soft-page .subtank-notifications-item__body,
body.subtank-staff-soft-page .subtank-notifications-item__time {
	color: var(--stf-muted) !important;
	font-size: 0.86rem !important;
}

body.subtank-staff-soft-page .subtank-notifications-item__meta {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
body.subtank-staff-soft-page .subtank-mark-notification-read.stf-notif-mark,
body.subtank-staff-soft-page .stf-notif-mark.stf-btn {
	margin-left: auto !important;
	min-height: 32px !important;
	padding: 0 12px !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: #eef0f4 !important;
	background-image: none !important;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	text-decoration: none !important;
}
body.subtank-staff-soft-page .subtank-mark-notification-read.stf-notif-mark:hover,
body.subtank-staff-soft-page .stf-notif-mark.stf-btn:hover {
	background: #e2e8f0 !important;
	color: #111111 !important;
}
body.subtank-staff-soft-page .stf-notif-push-panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 16px !important;
}
body.subtank-staff-soft-page .stf-notif-push-panel[hidden] {
	display: none !important;
}
body.subtank-staff-soft-page .stf-notif-push-panel__title {
	margin: 0;
	font-weight: 700;
	color: #111111 !important;
}
body.subtank-staff-soft-page .stf-notif-push-panel__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #334155 !important;
}
body.subtank-staff-soft-page .stf-notif-push-panel.is-ok {
	background: #ecfdf5 !important;
	border-color: #a7f3d0 !important;
	color: #065f46 !important;
}
body.subtank-staff-soft-page .stf-notif-prefs-status {
	margin: 0 0 8px !important;
	padding: 10px 12px !important;
	border-radius: 12px !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
}
body.subtank-staff-soft-page .stf-notif-prefs-status.is-pending {
	background: #f1f5f9 !important;
	color: #334155 !important;
}
body.subtank-staff-soft-page .stf-notif-prefs-status.is-ok {
	background: #ecfdf5 !important;
	color: #065f46 !important;
}
body.subtank-staff-soft-page .stf-notif-prefs-status.is-err {
	background: #fef2f2 !important;
	color: #b91c1c !important;
}
body.subtank-staff-soft-page .stf-notif-prefs select {
	width: 100% !important;
	min-height: 44px !important;
	margin: 6px 0 12px !important;
	padding: 10px 12px !important;
	border: 1px solid var(--stf-border, #e5e7eb) !important;
	border-radius: 14px !important;
	background: #f9fafb !important;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
}
body.subtank-staff-soft-page .subtank-notifications-item__badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--stf-accent-soft);
	color: var(--stf-indigo);
	font-size: 0.72rem;
	font-weight: 700;
}

body.subtank-staff-soft-page .stf-app-download__steps {
	margin: 0 0 16px;
	padding-left: 1.2em;
	color: var(--stf-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

body.subtank-staff-soft-page .stf-app-download__note {
	margin: 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--stf-accent-soft);
	color: var(--stf-muted);
	font-size: 0.84rem;
}

body.subtank-staff-soft-page .stf-alert--info {
	background: #eff6ff !important;
	color: #1e40af !important;
	border: 1px solid #bfdbfe !important;
	border-radius: 14px !important;
	padding: 12px 14px !important;
}

/* ——— Organizza Notifiche broadcast (Soft UI) ——— */
body.subtank-staff-console-page .stf-dash-card--notifiche .stf-dash-card__value {
	color: #4338ca !important;
}
body.subtank-staff-console-page .stf-notif__form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 8px 4px 20px;
}
body.subtank-staff-console-page .stf-notif__form .stf-input,
body.subtank-staff-console-page .stf-notif__form input[type='text'],
body.subtank-staff-console-page .stf-notif__form input[type='search'],
body.subtank-staff-console-page .stf-notif__form textarea {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	border: 1px solid var(--stf-border, #e5e7eb) !important;
	border-radius: 16px !important;
	background: #f9fafb !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	outline: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}
body.subtank-staff-console-page .stf-notif__form textarea.stf-input {
	min-height: 110px !important;
	resize: vertical;
	line-height: 1.45 !important;
}
body.subtank-staff-console-page .stf-notif__form .stf-input:focus,
body.subtank-staff-console-page .stf-notif__form input:focus,
body.subtank-staff-console-page .stf-notif__form textarea:focus {
	border-color: #c7d2fe !important;
	background: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}
body.subtank-staff-console-page .stf-notif__label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #111111 !important;
	font-family: var(--stf-font) !important;
}
body.subtank-staff-console-page .stf-notif__audience {
	border: 1px solid var(--stf-border, #e5e7eb) !important;
	border-radius: 18px !important;
	padding: 12px 14px !important;
	margin: 0 !important;
	background: #ffffff !important;
}
body.subtank-staff-console-page .stf-notif__audience legend {
	padding: 0 6px;
	font-weight: 700;
	font-size: 0.86rem;
	color: #111111 !important;
}
body.subtank-staff-console-page .stf-notif__radio {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0;
	font-weight: 500;
	color: #334155 !important;
}
body.subtank-staff-console-page .stf-notif__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.subtank-staff-console-page .stf-notif__chip {
	border: 0 !important;
	border-radius: 999px !important;
	padding: 8px 14px !important;
	background: #eef2ff !important;
	background-image: none !important;
	color: #3730a3 !important;
	font-family: var(--stf-font) !important;
	font-weight: 600 !important;
	font-size: 0.86rem !important;
	cursor: pointer;
	box-shadow: none !important;
}
body.subtank-staff-console-page .stf-notif__hits {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 0 !important;
	background: transparent !important;
	overflow: visible !important;
}
body.subtank-staff-console-page .stf-notif__hit-row {
	width: 100%;
	box-sizing: border-box;
}
body.subtank-staff-console-page .stf-notif__hit-row .stf-list__meta {
	min-width: 0;
	flex: 1 1 auto;
}
body.subtank-staff-console-page .stf-notif__role {
	display: inline-block !important;
	margin-top: 4px !important;
	padding: 2px 8px !important;
	border-radius: 999px !important;
	background: #eef0f4 !important;
	color: #64748b !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	text-transform: capitalize;
	white-space: nowrap !important;
}
body.subtank-staff-console-page .stf-notif__check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #111111 !important;
}
body.subtank-staff-console-page .stf-notif__recent-title {
	margin: 18px 0 10px;
	font-size: 1rem;
	color: #111111 !important;
}
body.subtank-staff-console-page .stf-notif__hint {
	margin: 0;
	color: #64748b !important;
	font-size: 0.86rem;
}

/* Soft Soft Soft tutorial / coach marks */
body.stf-tour-open {
	overflow: hidden;
}
.stf-tour {
	position: fixed;
	inset: 0;
	z-index: 120;
	pointer-events: none;
}
.stf-tour:not([hidden]) {
	pointer-events: auto;
}
.stf-tour[hidden] {
	display: none !important;
}
.stf-tour__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 40, 60, 0.42);
}
.stf-tour__spotlight {
	position: absolute;
	border-radius: 16px;
	box-shadow: 0 0 0 9999px rgba(14, 40, 60, 0.45);
	border: 2px solid rgba(255, 255, 255, 0.85);
	pointer-events: none;
	transition: top 0.18s ease, left 0.18s ease, width 0.18s ease, height 0.18s ease;
}
.stf-tour__card {
	position: absolute;
	z-index: 2;
	max-width: calc(100vw - 24px);
	padding: 14px 14px 12px;
	border-radius: 18px;
	background: var(--stf-surface, #ffffff);
	color: var(--stf-ink, #0e283c);
	box-shadow: var(--stf-shadow, 0 18px 40px rgba(15, 23, 42, 0.18));
	border: 1px solid #e2e8f0;
	font-family: var(--stf-font, inherit);
}
.stf-tour__step {
	margin: 0 0 6px;
	font-size: 0.75rem;
	font-weight: 650;
	color: #64748b;
}
.stf-tour__title {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0e283c;
	font-family: var(--stf-display, var(--stf-font, inherit));
}
.stf-tour__body {
	margin: 0 0 12px;
	font-size: 0.9rem;
	line-height: 1.35;
	color: #334155;
}
.stf-tour__actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
}
.stf-tour__actions .stf-btn {
	min-height: 38px;
	padding: 0 16px;
	border-radius: 999px;
}
.stf-tour-help {
	position: relative;
}
.stf-tour-help__btn {
	font-weight: 700;
}
.stf-tour-help__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 190px;
	padding: 8px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
	z-index: 80;
}
.stf-tour-help__menu[hidden] {
	display: none !important;
}
.stf-tour-help__item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #0e283c;
	font: inherit;
	font-weight: 600;
	font-size: 0.88rem;
	text-align: left;
	cursor: pointer;
}
.stf-tour-help__item:hover,
.stf-tour-help__item:focus {
	background: var(--stf-accent-soft, #eef3f8);
	outline: none;
}
@media (max-width: 720px) {
	.stf-tour__card {
		left: 12px !important;
		right: 12px;
		width: auto !important;
		max-width: none;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		top: auto !important;
	}
}

/*
 * Soft Soft Soft logbook fields — ID selector batte display:grid !important
 * e margin:0 sulle label (che annullava il pull negativo).
 */
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack #subtank-personal-logbook-form .subtank-dive-module-fields,
body.subtank-staff-blank-app #subtank-personal-logbook-form .subtank-dive-module-fields {
	gap: 0 10px !important;
	row-gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack #subtank-personal-logbook-form .subtank-dive-module-fields--legal,
body.subtank-staff-blank-app #subtank-personal-logbook-form .subtank-dive-module-fields--legal {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	row-gap: 0 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack #subtank-personal-logbook-form .subtank-dive-module-field,
body.subtank-staff-blank-app #subtank-personal-logbook-form .subtank-dive-module-field {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack #subtank-personal-logbook-form .subtank-dive-module-fields--legal > .subtank-dive-module-field + .subtank-dive-module-field,
body.subtank-staff-blank-app #subtank-personal-logbook-form .subtank-dive-module-fields--legal > .subtank-dive-module-field + .subtank-dive-module-field {
	margin-top: -24px !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack #subtank-personal-logbook-form .subtank-dive-module-field > span,
body.subtank-staff-blank-app #subtank-personal-logbook-form .subtank-dive-module-field > span {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.15 !important;
}

body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack #subtank-personal-logbook-form .subtank-dive-module-field input:not([type="checkbox"]):not([type="radio"]),
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack #subtank-personal-logbook-form .subtank-dive-module-field select,
body.subtank-staff-soft-page .stf-shell[data-soft-page="personal-logbook"] .stf-soft-content--stack #subtank-personal-logbook-form .subtank-dive-module-field textarea,
body.subtank-staff-blank-app #subtank-personal-logbook-form .subtank-dive-module-field input:not([type="checkbox"]):not([type="radio"]),
body.subtank-staff-blank-app #subtank-personal-logbook-form .subtank-dive-module-field select,
body.subtank-staff-blank-app #subtank-personal-logbook-form .subtank-dive-module-field textarea {
	margin: 0 !important;
	min-height: 36px !important;
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}

/* Soft Soft Soft — Certificati medici */
body.subtank-staff-soft-page .stf-medical-certs__hero,
body.subtank-staff-soft-page .stf-medical-certs__panel,
body.subtank-staff-soft-page .stf-medical-certs__upload {
	padding: 16px 18px !important;
}

body.subtank-staff-soft-page .stf-medical-certs__eyebrow {
	margin: 0 0 4px !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	color: #64748b !important;
}

body.subtank-staff-soft-page .stf-medical-certs__title {
	margin: 0 0 6px !important;
	font-size: 1.35rem !important;
	color: #0e283c !important;
}

body.subtank-staff-soft-page .stf-medical-certs__lead {
	margin: 0 0 12px !important;
	color: #64748b !important;
	font-size: 0.92rem !important;
}

body.subtank-staff-soft-page .stf-medical-certs__filters {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
}

body.subtank-staff-soft-page .stf-medical-certs__status {
	margin: 0 0 10px !important;
	font-size: 0.88rem !important;
	color: #64748b !important;
}

body.subtank-staff-soft-page .stf-medical-certs__status.is-ok {
	color: #166534 !important;
}

body.subtank-staff-soft-page .stf-medical-certs__status.is-error {
	color: #b91c1c !important;
}

body.subtank-staff-soft-page .stf-medical-certs__item .stf-list__meta {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 4px !important;
	min-width: 0 !important;
}

body.subtank-staff-soft-page .stf-medical-certs__item .stf-org-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	justify-content: flex-end !important;
}

body.subtank-staff-soft-page .stf-medical-certs__upload .stf-card__head {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	margin-bottom: 8px !important;
}

body.subtank-staff-soft-page .stf-medical-certs__form {
	display: grid !important;
	gap: 10px !important;
}

body.subtank-staff-soft-page .stf-medical-certs__form label {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: #475569 !important;
}

body.subtank-staff-soft-page .stf-medical-certs__form input[type='date'],
body.subtank-staff-soft-page .stf-medical-certs__form input[type='file'] {
	width: 100% !important;
	max-width: 420px !important;
}

/* A2HS install banner — readable Soft Soft Soft buttons (no white-on-white). */
body.subtank-staff-soft-page .subtank-a2hs-banner,
body.subtank-soft-home-page .subtank-a2hs-banner,
body.subtank-staff-blank-app .subtank-a2hs-banner {
	background: #ffffff !important;
	color: #111111 !important;
	border: 1px solid #e8ebf0 !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

body.subtank-staff-soft-page .subtank-a2hs-banner__text,
body.subtank-soft-home-page .subtank-a2hs-banner__text,
body.subtank-staff-blank-app .subtank-a2hs-banner__text {
	color: #64748b !important;
}

body.subtank-staff-soft-page .subtank-a2hs-banner .button,
body.subtank-staff-soft-page .subtank-a2hs-banner button.button,
body.subtank-soft-home-page .subtank-a2hs-banner .button,
body.subtank-soft-home-page .subtank-a2hs-banner button.button,
body.subtank-staff-blank-app .subtank-a2hs-banner .button,
body.subtank-staff-blank-app .subtank-a2hs-banner button.button {
	background: #f8fafc !important;
	color: #0e283c !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

body.subtank-staff-soft-page .subtank-a2hs-banner .button-primary,
body.subtank-staff-soft-page .subtank-a2hs-banner button.button-primary,
body.subtank-staff-soft-page .subtank-a2hs-banner #subtank-a2hs-install,
body.subtank-soft-home-page .subtank-a2hs-banner .button-primary,
body.subtank-soft-home-page .subtank-a2hs-banner button.button-primary,
body.subtank-soft-home-page .subtank-a2hs-banner #subtank-a2hs-install,
body.subtank-staff-blank-app .subtank-a2hs-banner .button-primary,
body.subtank-staff-blank-app .subtank-a2hs-banner button.button-primary,
body.subtank-staff-blank-app .subtank-a2hs-banner #subtank-a2hs-install {
	background: #0e283c !important;
	color: #ffffff !important;
	border-color: #0e283c !important;
}

body.subtank-staff-soft-page .subtank-a2hs-banner #subtank-a2hs-close,
body.subtank-soft-home-page .subtank-a2hs-banner #subtank-a2hs-close,
body.subtank-staff-blank-app .subtank-a2hs-banner #subtank-a2hs-close {
	background: #f8fafc !important;
	color: #0e283c !important;
	border-color: #e2e8f0 !important;
}
