:root {
	--ink: #192c47;
	--muted: #718097;
	--blue: #225ee9;
	--surface: #f4f7fc;
	--line: #e6edf6;
}
body {
	background: var(--surface);
	color: var(--ink);
	font-family: Inter, system-ui, -apple-system, sans-serif;
	font-size: 15px;
}
body > header.bg-dark {
	background: #101e34 !important;
	padding: 20px 28px !important;
}
header .container {
	max-width: none;
	padding: 0;
}
header .text-info {
	color: #79b9ff !important;
}
.app-shell.authenticated {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	min-height: calc(100vh - 80px);
}
.app-sidebar {
	background: #fff;
	border-right: 1px solid var(--line);
	padding: 32px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sidebar-label, .section-kicker, .eyebrow {
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 1.8px;
	color: var(--muted);
	display: block;
	margin-bottom: 12px;
}
.sidebar-label {
	padding: 0 14px;
	margin-bottom: 18px;
}
.side-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 16px;
	border-radius: 10px;
	text-decoration: none;
	color: #607089;
	font-weight: 600;
	transition: background .2s, color .2s;
}
.side-link:hover, .side-link.selected {
	background: #edf3ff;
	color: var(--blue);
}
.side-icon {
	font-size: 23px;
	width: 24px;
	text-align: center;
}
.sidebar-account {
	margin-top: auto;
	padding: 28px 8px 0;
	display: flex;
	align-items: center;
	gap: 12px;
}
.account-avatar {
	background: #edf3ff;
	color: var(--blue);
	width: 42px;
	height: 42px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	font-weight: 750;
}
.sidebar-account small {
	display: block;
	color: var(--muted);
	font-size: 12px;
}
.content-area {
	padding: 36px;
	max-width: 1600px;
	min-width: 0;
}
.welcome-head, .hotel-heading, .offers-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 28px;
}
.welcome-head h1 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 750;
	letter-spacing: -1px;
}
.welcome-head p, .offers-toolbar p, .form-section-heading p {
	color: var(--muted);
	margin: 8px 0 0;
}
.workspace-badge {
	border: 1px solid var(--line);
	border-radius: 50px;
	padding: 9px 15px;
	font-size: 12px;
	background: #fff;
	white-space: nowrap;
	color: #607089;
}
.card {
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 5px 20px #243a6010;
	overflow: hidden;
}
.card-body {
	padding: 25px;
}
.hotel-heading {
	margin-top: 35px;
}
.hotel-heading h2 {
	font-weight: 750;
	font-size: 28px;
	margin: 0;
}
.stat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 15px;
	padding: 22px;
	text-decoration: none;
	color: var(--ink);
	transition: transform .2s;
}
.stat-card:hover {
	transform: translateY(-3px);
}
.stat-card span {
	font-weight: 600;
	color: #68798f;
}
.stat-card strong {
	font-size: 38px;
	line-height: 1.4;
	font-weight: 750;
}
.stat-card small {
	color: var(--muted);
	font-size: 12px;
}
.stat-live strong {
	color: #159568;
}
.stat-scheduled strong {
	color: #9c63d5;
}
.stat-drafts strong {
	color: #d28a20;
}
.nav-pills {
	border-bottom: 1px solid var(--line);
	padding-bottom: 18px;
}
.nav-pills .nav-link {
	color: #67788e;
	font-weight: 600;
}
.btn {
	border-radius: 9px;
	font-weight: 600;
	padding: 10px 17px;
	transition: transform .2s, background .2s;
}
.btn:hover {
	transform: translateY(-1px);
}
.btn-primary, .nav-pills .nav-link.active {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}
.btn-outline-primary {
	border-color: #cad8f3;
	color: var(--blue);
}
.btn-sm {
	padding: 8px 13px;
}
.offers-toolbar h3, .form-section-heading h3 {
	font-size: 23px;
	font-weight: 750;
	margin: 0;
}
.offer-cover, .offer-placeholder {
	width: 100%;
	height: 180px;
	object-fit: cover;
}
.offer-placeholder {
	background: linear-gradient(130deg, #dbe9ff, #eef3fc 65%, #e1dcfc);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #92a9ce;
}
.offer-placeholder strong {
	font-size: 90px;
	font-weight: 800;
	opacity: .5;
}
.offer-placeholder span {
	position: absolute;
	left: 22px;
	top: 20px;
	font-size: 10px;
	letter-spacing: 2px;
}
.offer-card h3 {
	font-weight: 750;
	line-height: 1.4;
}
.badge {
	border-radius: 6px;
	padding: 7px 10px;
	font-weight: 600;
}
.badge.text-bg-success {
	background: #e1f5ed !important;
	color: #13855e !important;
}
.badge.text-bg-secondary {
	background: #edf1f7 !important;
	color: #65758a !important;
}
.form-label {
	font-size: 13px;
	font-weight: 650;
	color: #4c5e77;
}
.form-control, .form-select {
	min-height: 46px;
	border-radius: 8px;
	border-color: #dce5f1;
	background-color: #fcfdff;
}
.form-control:focus, .form-select:focus {
	border-color: #83a7fa;
	box-shadow: 0 0 0 3px #225ee914;
}
.form-section-heading {
	border-bottom: 1px solid var(--line);
	padding-bottom: 25px;
	margin-bottom: 25px;
}
.form-divider {
	border-top: 1px solid var(--line);
	padding-top: 26px;
	margin: 18px 0 22px;
	font-weight: 700;
}
.photo {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 10px;
}
.empty-state {
	text-align: center;
	padding: 55px 24px;
	background: #fff;
	border: 1px dashed #cddbf0;
	border-radius: 16px;
}
.empty-icon {
	display: inline-block;
	font-size: 45px;
	color: #719bed;
	margin-bottom: 15px;
}
.empty-state h4 {
	font-size: 21px;
	font-weight: 700;
}
.empty-state p {
	color: var(--muted);
	max-width: 450px;
	margin: 12px auto 22px;
}
.login {
	max-width: 440px;
	margin-top: 6vh;
}
@media (max-width: 991px) {
	.app-shell.authenticated {
		grid-template-columns: 190px minmax(0, 1fr);
	}
	.content-area {
		padding: 24px;
	}
	.workspace-badge {
		display: none;
	}
}
@media (max-width: 767px) {
	.app-shell.authenticated {
		display: block;
	}
	.app-sidebar {
		padding: 10px 12px;
		flex-direction: row;
		gap: 5px;
		overflow-x: auto;
		border-bottom: 1px solid var(--line);
	}
	.sidebar-label, .sidebar-account {
		display: none;
	}
	.side-link {
		white-space: nowrap;
		padding: 8px 12px;
		font-size: 12px;
	}
	.side-icon {
		font-size: 18px;
		width: 18px;
	}
	.content-area {
		padding: 22px 16px;
	}
	body > header.bg-dark {
		padding: 16px !important;
	}
	header form span {
		display: none;
	}
	.card-body {
		padding: 20px;
	}
	.stat-card {
		padding: 16px;
	}
	.stat-card strong {
		font-size: 32px;
	}
	.stat-card small {
		font-size: 10px;
	}
	.offers-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
.rich-editor {
	border: 1px solid #dce5f1;
	border-radius: 12px;
	overflow: hidden;
}
.editor-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px;
	background: #f2f6fc;
	border-bottom: 1px solid #dce5f1;
}
.editor-toolbar button, .editor-color {
	border: 1px solid #dce5f1;
	border-radius: 6px;
	background: white;
	padding: 6px 10px;
	font-size: 13px;
	color: #263e60;
	min-height: 36px;
}
.editor-toolbar button:hover {
	background: #e6eeff;
}
.editor-color {
	display: flex;
	align-items: center;
	gap: 8px;
}
.editor-color input {
	width: 28px;
	height: 24px;
	border: none;
	padding: 0;
}
.editor-content {
	min-height: 280px;
	padding: 20px;
	background: white;
	outline: none;
	line-height: 1.7;
}
.editor-content:focus {
	box-shadow: inset 0 0 0 2px #83a7fa;
}

.services-picker {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}
.service-choice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px;
	border: 1px solid #dce5f1;
	border-radius: 10px;
	cursor: pointer;
	background: #fcfdff;
}
.service-choice:has(input:checked) {
	border-color: #225ee9;
	background: #edf3ff;
	color: #225ee9;
}
.service-choice input {
	width: 18px;
	height: 18px;
	accent-color: #225ee9;
}
.offer-strengths {
	margin: 22px 0 30px;
}
.offer-strengths h2 {
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .7px;
	color: #718097;
	margin-bottom: 14px;
}
.service-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.service-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border: 1px solid #a7b2c2;
	border-radius: 8px;
	font-size: 14px;
	color: #61718a;
}
.service-badge svg {
	flex-shrink: 0;
}

.editor-toolbar select {
	max-width: 100%;
	padding: 7px;
	border: 1px solid #ced4da;
	border-radius: 6px;
	background: #fff;
}
.editor-palette {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	align-items: center;
}
.editor-toolbar .editor-palette button {
	width: 26px;
	height: 26px;
	min-width: 26px;
	padding: 0;
	border: 1px solid #a0a0a0;
	border-radius: 50%;
}
.editor-toolbar button:focus-visible, .editor-toolbar select:focus-visible {
	outline: 2px solid #2980b9;
	outline-offset: 2px;
}
.editor-content a { text-decoration: underline; }
@media (max-width: 575px) {
	.editor-toolbar { gap: 6px; }
	.editor-toolbar button { min-height: 38px; }
	.editor-palette { flex-basis: 100%; }
}

/* BACKOFFICE 2.0 — HUD. Scoped to the index; shared pages retain their style. */
body.jarvis-ui {
	--ink: #e0effb;
	--muted: #a0b8cf;
	--blue: #48e3f5;
	--surface: #070f1c;
	--line: #244356;
	color-scheme: dark;
	background: radial-gradient(ellipse at 85% 5%, #12364c80, transparent 45%), linear-gradient(#48e3f508 1px, transparent 1px), linear-gradient(90deg, #48e3f508 1px, transparent 1px), #070f1c;
	background-size: auto, 48px 48px, 48px 48px, auto;
	color: var(--ink);
}
.jarvis-ui *, .jarvis-ui *::before, .jarvis-ui *::after { box-sizing: border-box; }
.jarvis-ui .skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: #48e3f5; color: #061420; border-radius: 8px; }
.jarvis-ui .skip-link:focus { top: 10px; }
.jarvis-ui > header.bg-dark { background: #091725f5 !important; border-bottom: 1px solid #48e3f545; padding: 18px 28px !important; }
.jarvis-ui header .container { gap: 16px; }
.jarvis-ui header form { display: flex; align-items: center; flex-shrink: 0; margin: 0; }
.jarvis-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.jarvis-brand strong { display: block; font-size: 24px; letter-spacing: -.6px; line-height: 1.2; }
.jarvis-brand em { font-style: normal; color: #48e3f5; }
.jarvis-brand small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: 2px; color: #a0b8cf; }
.reactor-mark { width: 44px; height: 44px; flex-shrink: 0; border: 2px solid #48e3f5; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 22px #48e3f52b, inset 0 0 12px #48e3f526; position: relative; }
.reactor-mark::before { content: ''; position: absolute; inset: 5px; border: 1px dashed #48e3f5; border-radius: 50%; }
.reactor-mark span { width: 15px; height: 15px; background: #b5f8ff; clip-path: polygon(50% 100%, 0 0, 100% 0); filter: drop-shadow(0 0 5px #48e3f5); }
.jarvis-ui .app-shell.authenticated { grid-template-columns: 248px minmax(0, 1fr); }
.jarvis-ui .app-sidebar { background: linear-gradient(180deg, #0b1a2b, #091320); border-color: var(--line); padding: 28px 16px; }
.sidebar-core { text-align: center; padding: 4px 0 28px; }
.core-orbit { width: 106px; height: 106px; border: 1px solid #48e3f545; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; position: relative; background: radial-gradient(circle, #48e3f51a, transparent 65%); }
.core-orbit::before { content: ''; position: absolute; inset: 9px; border: 2px dashed #48e3f580; border-radius: 50%; animation: orbit-spin 35s linear infinite; }
.core-orbit::after { content: ''; position: absolute; inset: 22px; border: 1px solid #48e3f5; border-radius: 50%; box-shadow: 0 0 18px #48e3f52a; }
.core-orbit span { font-size: 23px; color: #a7f6ff; font-weight: 700; }
.sidebar-core small { font-size: 9px; letter-spacing: 2px; color: #8baec5; }
.jarvis-ui .sidebar-label, .jarvis-ui .section-kicker, .jarvis-ui .eyebrow { color: #6bd9e8; letter-spacing: 2px; }
.jarvis-ui .side-link { color: #b1c6d9; border: 1px solid transparent; padding: 12px; border-radius: 8px; min-height: 48px; }
.jarvis-ui .side-link:hover, .jarvis-ui .side-link.selected { background: linear-gradient(90deg, #48e3f51b, #48e3f506); border-color: #48e3f545; color: #83edfa; box-shadow: inset 3px 0 #48e3f5; }
.jarvis-ui .side-icon { color: #48e3f5; }
.jarvis-ui .sidebar-account { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 22px; overflow-wrap: anywhere; }
.jarvis-ui .account-avatar { background: #123446; color: #83edfa; border: 1px solid #48e3f545; flex-shrink: 0; }
.jarvis-ui .content-area { padding: 36px; width: 100%; }
.jarvis-ui .welcome-head { padding: 30px; background: linear-gradient(115deg, #112a40f2, #0b1b2be6); border: 1px solid #48e3f53d; border-radius: 16px; position: relative; overflow: hidden; }
.jarvis-ui .welcome-head::after { content: ''; position: absolute; width: 180px; height: 180px; border: 1px solid #48e3f525; border-radius: 50%; right: -80px; bottom: -100px; box-shadow: 0 0 0 22px #48e3f507, 0 0 0 44px #48e3f507; pointer-events: none; }
.jarvis-ui .welcome-head h1 { line-height: 1.14; margin: 0; }
.heading-accent { color: #72eaf7; }
.jarvis-ui .workspace-badge { background: #102b3b; border-color: #48e3f545; color: #a4eaf2; position: relative; z-index: 1; }
.jarvis-ui .card, .jarvis-ui .stat-card, .jarvis-ui .empty-state { background: linear-gradient(135deg, #102235, #0c192a); border-color: var(--line); color: var(--ink); box-shadow: 0 12px 32px #00000020; }
.jarvis-ui .card { --bs-card-color: var(--ink); --bs-card-bg: #102235; }
.jarvis-ui .stat-card { position: relative; overflow: hidden; border-top: 2px solid #48e3f5; min-height: 165px; }
.jarvis-ui .stat-card::after { content: ''; position: absolute; right: -26px; bottom: -35px; width: 100px; height: 100px; border: 12px solid #48e3f508; border-radius: 50%; }
.jarvis-ui .stat-card:hover { border-color: #48e3f5; box-shadow: 0 8px 24px #48e3f510; }
.jarvis-ui .stat-card span { color: #b3c9db; }
.jarvis-ui .stat-card strong { font-size: 44px; color: #83edfa; }
.jarvis-ui .stat-live { border-top-color: #55e0a3; }
.jarvis-ui .stat-live strong { color: #55e0a3; }
.jarvis-ui .stat-scheduled { border-top-color: #bf9cff; }
.jarvis-ui .stat-scheduled strong { color: #bf9cff; }
.jarvis-ui .stat-drafts { border-top-color: #ffca7a; }
.jarvis-ui .stat-drafts strong { color: #ffca7a; }
.jarvis-ui .btn { min-height: 44px; white-space: normal; }
.jarvis-ui .btn-primary, .jarvis-ui .nav-pills .nav-link.active { background: linear-gradient(110deg, #51e8f7, #2cb7dc); color: #061725; border-color: #51e8f7; box-shadow: 0 3px 16px #48e3f51a; }
.jarvis-ui .btn-primary:hover { background: #97f2ff; border-color: #97f2ff; }
.jarvis-ui .btn-outline-primary { border-color: #3f7b91; color: #85e5f1; }
.jarvis-ui .btn-outline-primary:hover { background: #48e3f518; border-color: #48e3f5; color: #b7f5ff; }
.jarvis-ui .btn-outline-secondary { color: #bbd0e1; border-color: #4a657d; }
.jarvis-ui .btn-outline-secondary:hover { background: #223d53; color: white; }
.jarvis-ui .nav-pills { gap: 8px; padding: 12px; background: #0c1b2d; border: 1px solid var(--line); border-radius: 12px; }
.jarvis-ui .nav-pills .nav-link { color: #b0c6d8; min-height: 44px; display: flex; align-items: center; }
.jarvis-ui .nav-pills .nav-link:hover { background: #173247; color: #96ecf7; }
.jarvis-ui .nav-pills .nav-link.active:hover { background: #51e8f7; color: #061725; }
.jarvis-ui .form-label { color: #c0d6e6; }
.jarvis-ui .form-control, .jarvis-ui .form-select { background-color: #081625; border-color: #35546b; color: #e0effb; font-size: 16px; min-height: 48px; }
.jarvis-ui .form-control::placeholder { color: #89a3ba; opacity: 1; }
.jarvis-ui .form-control:focus, .jarvis-ui .form-select:focus { border-color: #48e3f5; box-shadow: 0 0 0 3px #48e3f51a; }
.jarvis-ui .form-control[readonly] { background: #112436; color: #a6bdcf; }
.jarvis-ui .form-control::file-selector-button { background: #1c3b50; color: #d4f3fb; }
.jarvis-ui .text-secondary { color: #a0b8cf !important; }
.jarvis-ui .badge.text-bg-success { background: #173e34 !important; color: #86f2bb !important; }
.jarvis-ui .badge.text-bg-secondary { background: #293a52 !important; color: #cbdaea !important; }
.jarvis-ui .offer-placeholder { background: radial-gradient(circle at 65% 40%, #15526a, #101f36); color: #70d6e7; }
.jarvis-ui .offer-cover { height: 205px; }
.jarvis-ui .offer-card { transition: border-color .2s, transform .2s; }
.jarvis-ui .offer-card:hover { border-color: #4392a8; transform: translateY(-3px); }
.jarvis-ui .service-choice { background: #0a1a2b; border-color: #35546b; min-height: 56px; }
.jarvis-ui .service-choice:has(input:checked) { background: #12374a; border-color: #48e3f5; color: #8becf5; }
.jarvis-ui input[type=checkbox] { accent-color: #48e3f5; min-width: 20px; min-height: 20px; vertical-align: middle; }
.jarvis-ui .rich-editor { color-scheme: light; color: #192c47; border-color: #35546b; }
.jarvis-ui .editor-toolbar { background: #e8f0f7; }
.jarvis-ui .editor-toolbar button, .jarvis-ui .editor-toolbar select, .jarvis-ui .editor-color { min-height: 44px; }
.jarvis-ui .editor-content { color: #192c47; overflow-wrap: anywhere; }
.jarvis-ui .login { margin-top: 5vh; max-width: 470px; border-top: 2px solid #48e3f5; }
.login-description { color: #a0b8cf; margin-bottom: 28px; }
.jarvis-ui .login .card-body { padding: 32px !important; }
.jarvis-ui code { color: #90e7f6; }
.jarvis-ui .alert-success { background: #113b30; border-color: #28634c; color: #b0f6cd; }
.jarvis-ui .alert-danger { background: #3e202b; border-color: #82505e; color: #ffd0d5; }
.jarvis-ui .alert-warning { background: #3a3020; border-color: #7d6634; color: #ffe1a4; }
.jarvis-ui a:focus-visible, .jarvis-ui button:focus-visible, .jarvis-ui input:focus-visible, .jarvis-ui select:focus-visible { outline: 2px solid #90f2ff; outline-offset: 4px; }
.mobile-menu-toggle { display: none; border: 1px solid #3f7b91; background: #102b3b; color: #a9f2fb; min-height: 44px; padding: 8px 12px; border-radius: 8px; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (max-width: 1199px) {
	.jarvis-ui .app-shell.authenticated { grid-template-columns: 218px minmax(0, 1fr); }
	.jarvis-ui .content-area { padding: 26px; }
}
@media (max-width: 767px) {
	.jarvis-ui > header.bg-dark { padding: 14px 16px !important; }
	.jarvis-ui header .container { flex-wrap: wrap; gap: 12px; }
	.jarvis-brand { gap: 9px; margin-right: auto; }
	.jarvis-brand strong { font-size: 20px; }
	.jarvis-brand small { font-size: 7px; letter-spacing: 1.2px; }
	.reactor-mark { width: 36px; height: 36px; }
	.jarvis-ui .app-shell.authenticated { display: block; }
	.jarvis-ui .app-sidebar { flex-direction: column; padding: 12px 16px; overflow: visible; gap: 4px; }
	.jarvis-ui.menu-enhanced .app-sidebar { display: none; }
	.jarvis-ui.menu-enhanced .app-sidebar.is-open { display: flex; }
	.jarvis-ui.menu-enhanced .mobile-menu-toggle { display: inline-flex; align-items: center; gap: 7px; }
	.sidebar-core { display: none; }
	.jarvis-ui .side-link { font-size: 14px; white-space: normal; padding: 12px; }
	.jarvis-ui .content-area { padding: 22px 16px 36px; }
	.jarvis-ui .welcome-head { padding: 24px 20px; }
	.jarvis-ui .welcome-head h1 { font-size: 30px; }
	.jarvis-ui .welcome-head p { font-size: 14px; }
	.jarvis-ui .hotel-heading { margin-top: 26px; }
	.jarvis-ui .hotel-heading h2 { font-size: 24px; overflow-wrap: anywhere; }
	.jarvis-ui .card-body { padding: 20px; }
	.jarvis-ui .stat-card { padding: 16px; min-height: 148px; }
	.jarvis-ui .stat-card strong { font-size: 36px; }
	.jarvis-ui .stat-card small { font-size: 11px; }
	.jarvis-ui .nav-pills { flex-wrap: nowrap; overflow-x: auto; padding: 8px; scrollbar-width: thin; }
	.jarvis-ui .nav-pills .nav-link { flex: 0 0 auto; white-space: nowrap; font-size: 13px; }
	.jarvis-ui .offers-toolbar { gap: 16px; }
	.jarvis-ui .offers-toolbar > .btn { width: 100%; }
	.jarvis-ui .services-picker { grid-template-columns: 1fr; }
	.jarvis-ui .editor-content { padding: 16px; min-height: 240px; }
	.jarvis-ui .editor-toolbar { padding: 8px; }
	.jarvis-ui .editor-toolbar button { font-size: 12px; }
	.jarvis-ui .login { margin-top: 20px; }
	.jarvis-ui .login .card-body { padding: 24px !important; }
	.jarvis-ui .empty-state { padding: 30px 20px; }
}
@media (max-width: 380px) {
	.jarvis-ui header form { margin-left: auto; }
	.jarvis-ui .welcome-head h1 { font-size: 27px; }
	.jarvis-ui .stat-card span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.jarvis-ui *, .jarvis-ui *::before, .jarvis-ui *::after { animation: none !important; transition: none !important; }
}

/* Impostazioni del contatto: layout condiviso. */
.contact-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:18px 0 24px; border:0; padding:0; }
			.contact-options legend { float:none; grid-column:1/-1; font-size:18px; font-weight:700; margin:0; }
			.contact-choice { display:flex; gap:12px; padding:20px; border:2px solid #dce5f1; border-radius:12px; cursor:pointer; background:#fcfdff; }
			.contact-choice:has(input:checked) { border-color:#225ee9; background:#edf3ff; }
			.contact-choice input { flex-shrink:0; width:20px; height:20px; margin-top:3px; accent-color:#225ee9; }
			.contact-choice strong,.contact-choice small { display:block; }
			.contact-choice small { color:#607089; margin-top:6px; line-height:1.5; }
			.contact-panel { border:0; margin:0; padding:0; min-width:0; }
			.contact-panel[hidden] { display:none; }
			.button-preview { background:#f2f6fc; padding:20px; border-radius:12px; margin:20px 0; }
			.button-preview .btn { max-width:100%; overflow-wrap:anywhere; }
			.setup-page .form-control { font-size:16px; min-height:48px; }
			.setup-page .btn { min-height:44px; white-space:normal; }
			@media(max-width:600px) { .contact-options { grid-template-columns:1fr; gap:12px; } .contact-choice { padding:16px; } .setup-page .card-body { padding:18px; } .setup-save { width:100%; } .setup-page h1 { font-size:26px; } .button-preview .btn { width:100%; } }

/* Sottopagine del centro di controllo. */
.jarvis-ui.jarvis-subpage { min-height: 100vh; }
.jarvis-subpage .subpage-main { max-width: 1280px; padding-top: 30px !important; padding-bottom: 44px !important; }
.jarvis-subpage .subpage-header .container { max-width: 1280px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.jarvis-subpage .subpage-heading { margin-bottom:26px; }
.jarvis-subpage .subpage-heading h1 { font-size:clamp(26px,3vw,38px); font-weight:750; line-height:1.2; margin:8px 0; }
.jarvis-subpage .subpage-heading p { margin:0; color:var(--muted); }
.jarvis-subpage .subpage-nav { display:flex; flex-wrap:wrap; gap:8px; padding:12px; margin:0 0 28px; border:1px solid var(--line); border-radius:12px; background:#0c1b2d; }
.jarvis-subpage .subpage-nav a { display:flex; align-items:center; gap:8px; padding:11px 16px; min-height:46px; color:#b0c6d8; border-radius:8px; text-decoration:none; font-weight:600; }
.jarvis-subpage .subpage-nav a:hover { background:#173247; color:#96ecf7; }
.jarvis-subpage .subpage-nav a[aria-current=page] { background:linear-gradient(110deg,#51e8f7,#2cb7dc); color:#061725; }
.jarvis-subpage .form-text { color:#a0b8cf; margin-top:8px; line-height:1.5; }
.jarvis-subpage .contact-choice { border-color:#35546b; background:#0a1a2b; color:var(--ink); }
.jarvis-subpage .contact-choice small { color:#a0b8cf; }
.jarvis-subpage .contact-choice:has(input:checked) { border-color:#48e3f5; background:#12374a; box-shadow:0 0 18px #48e3f512; }
.jarvis-subpage .contact-choice input { accent-color:#48e3f5; }
.jarvis-subpage .button-preview { background:#081625; border:1px solid #244356; }
.jarvis-subpage .contact-panel legend { color:#85e5f1; margin-bottom:20px; }
.jarvis-subpage .table { --bs-table-bg:transparent; --bs-table-color:#e0effb; --bs-table-border-color:#244356; --bs-table-hover-bg:#173247; --bs-table-hover-color:#e0effb; margin-bottom:0; }
.jarvis-subpage .table th { color:#83edfa; background:#081625; font-size:12px; letter-spacing:.06em; padding:16px 12px; }
.jarvis-subpage .table td { padding:16px 12px; }
.jarvis-subpage .table-responsive { border:1px solid var(--line); border-radius:12px; }
.jarvis-subpage .table tbody tr:hover { background:#173247; }
.jarvis-subpage dl dt { color:#a0b8cf; font-weight:600; }
.jarvis-subpage dl dd { color:#e0effb; }
.jarvis-subpage .card a:not(.btn) { color:#85e5f1; }
.jarvis-subpage .text-primary { color:#83edfa !important; }
.jarvis-subpage .alert-primary { background:#102e43; color:#b0edfa; border-color:#3f7b91; }
.jarvis-subpage .badge.text-bg-light { background:#193c50 !important; color:#adf2fc !important; }
.jarvis-subpage .badge.bg-secondary { background:#293a52 !important; color:#cbdaea !important; }
.jarvis-subpage .photo { border:1px solid #35546b; }
.jarvis-subpage .card { overflow-wrap:anywhere; }
.jarvis-subpage .preview-copy { background:#fff; color:#27313a; padding:24px; border-radius:12px; color-scheme:light; }
.jarvis-subpage .preview-copy a:not(.btn) { color:#225ee9; }
@media(max-width:767px) {
 .jarvis-subpage .subpage-header .container { flex-wrap:wrap; }
 .jarvis-subpage .subpage-main { padding:22px 16px 36px !important; }
 .jarvis-subpage .subpage-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; padding:8px; }
 .jarvis-subpage .subpage-nav a { padding:10px; font-size:13px; }
 .jarvis-subpage .card-body { padding:20px; }
 .jarvis-subpage nav[aria-label="Pagine richieste"] { flex-wrap:wrap; }
 .jarvis-subpage .table { min-width:700px; }
 .jarvis-subpage .preview-copy { padding:18px; }
 .jarvis-subpage .subpage-heading { margin-bottom:20px; }
}
@media(max-width:575px) {
 .jarvis-subpage .gallery-photos > .col-6 { flex:0 0 auto; width:100%; }
 .jarvis-subpage .gallery-photos .photo { height:220px; }
 .jarvis-subpage .gallery-photos .form-label { width:100%; }
 .jarvis-subpage .btn.align-self-start { width:100%; }
 .jarvis-subpage .subpage-header .btn { padding:8px 12px; font-size:12px; }
}
