:root {
	--jlc-black: #272727;
	--jlc-gold: #c8a24a;
	--jlc-gold-soft: #f3ead4;
	--jlc-paper: #f7f7f4;
	--jlc-white: #ffffff;
	--jlc-line: #e4e0d7;
	--jlc-muted: #79746b;
	--jlc-green: #2f7d57;
	--jlc-red: #9f3c34;
	--jlc-amber: #b88034;
	--jlc-shadow: 0 18px 45px rgba(39, 39, 39, 0.08);
}

body.jlc-crm-body {
	margin: 0;
	background: var(--jlc-paper);
	color: var(--jlc-black);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: 0;
}

body.jlc-crm-body * {
	box-sizing: border-box;
}

body.jlc-crm-body a {
	color: inherit;
	text-decoration: none;
}

body.jlc-crm-body img {
	max-width: 100%;
	display: block;
}

.jlc-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.jlc-shell {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	min-height: 100vh;
}

.jlc-sidebar {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 24px;
	background: var(--jlc-black);
	color: var(--jlc-white);
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	z-index: 40;
}

.jlc-sidebar-admin {
	background:
		linear-gradient(180deg, #3f3930 0%, #2b2823 100%);
	border-right-color: rgba(200, 162, 74, 0.26);
}

.jlc-sidebar-admin .jlc-brand small {
	color: rgba(255, 244, 217, 0.72);
}

.jlc-sidebar-admin .jlc-user-pill {
	border-color: rgba(200, 162, 74, 0.18);
	background: rgba(200, 162, 74, 0.08);
}

.jlc-sidebar-admin .jlc-user-pill small {
	color: rgba(255, 244, 217, 0.68);
}

.jlc-sidebar-admin .jlc-nav a,
.jlc-sidebar-admin .jlc-logout {
	color: rgba(255, 244, 217, 0.8);
}

.jlc-sidebar-admin .jlc-nav a:hover,
.jlc-sidebar-admin .jlc-nav a.is-active,
.jlc-sidebar-admin .jlc-logout:hover {
	background: rgba(200, 162, 74, 0.12);
	color: var(--jlc-white);
}

.jlc-sidebar-admin .jlc-nav a.is-active {
	box-shadow: inset 3px 0 0 #f0cf79;
}

.admin-bar .jlc-sidebar {
	top: 32px;
	height: calc(100vh - 32px);
}

.jlc-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
}

.jlc-brand img,
.jlc-login-brand img {
	width: 54px;
	height: 54px;
	object-fit: contain;
	padding: 7px;
	border-radius: 8px;
}

.jlc-login-brand img {
	background: var(--jlc-white);
}

.jlc-brand strong,
.jlc-brand small {
	display: block;
}

.jlc-brand strong {
	font-size: 17px;
	line-height: 1.1;
}

.jlc-brand small {
	color: rgba(255, 255, 255, 0.62);
	font-size: 12px;
	margin-top: 3px;
}

.jlc-brand-mark {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 8px;
	background: var(--jlc-gold);
	color: var(--jlc-black);
	font-weight: 800;
}

.jlc-nav {
	display: grid;
	gap: 6px;
}

.jlc-nav a,
.jlc-logout {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.72);
	font-weight: 650;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.jlc-nav a:hover,
.jlc-nav a.is-active,
.jlc-logout:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--jlc-white);
}

.jlc-nav a.is-active {
	box-shadow: inset 3px 0 0 var(--jlc-gold);
}

.jlc-sidebar-footer {
	margin-top: auto;
	display: grid;
	gap: 14px;
}

.jlc-admin-backoffice-link,
.jlc-general-crm-link {
	border: 1px solid rgba(200, 162, 74, 0.24);
	background: rgba(200, 162, 74, 0.08);
	color: var(--jlc-white);
}

.jlc-admin-backoffice-link:hover,
.jlc-general-crm-link:hover {
	background: rgba(200, 162, 74, 0.16);
}

.jlc-user-pill {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
}

.jlc-user-pill img {
	border-radius: 50%;
}

.jlc-user-pill strong,
.jlc-user-pill small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jlc-user-pill strong {
	font-size: 13px;
}

.jlc-user-pill small {
	color: rgba(255, 255, 255, 0.58);
	font-size: 11px;
}

.jlc-main {
	min-width: 0;
	padding: 30px;
}

.jlc-topbar,
.jlc-record-header,
.jlc-collection-head,
.jlc-hero-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.jlc-eyebrow {
	margin: 0 0 6px;
	color: var(--jlc-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jlc-topbar h1,
.jlc-record-title h1,
.jlc-collection-head h2,
.jlc-hero-band h2 {
	margin: 0;
	color: var(--jlc-black);
	font-size: clamp(26px, 3vw, 42px);
	line-height: 1.05;
	letter-spacing: 0;
}

.jlc-topbar-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.jlc-topbar-back,
.jlc-property-form-back {
	flex: 0 0 auto;
	border-color: var(--jlc-black);
	background: var(--jlc-black)!important;
	color: var(--jlc-white);
	box-shadow: 0 10px 22px rgba(39, 39, 39, 0.16);
}

.jlc-topbar-back:hover,
.jlc-topbar-back:focus-visible,
.jlc-property-form-back:hover,
.jlc-property-form-back:focus-visible {
	background: #333333;
	color: var(--jlc-white);
	box-shadow: 0 12px 26px rgba(39, 39, 39, 0.22);
}

.jlc-topbar-back svg,
.jlc-topbar-back .jlc-icon,
.jlc-property-form-back svg,
.jlc-property-form-back .jlc-icon {
	color: var(--jlc-white);
	stroke: var(--jlc-white);
}

.jlc-topbar-back svg *,
.jlc-property-form-back svg * {
	stroke: var(--jlc-white);
}

.jlc-topbar-actions,
.jlc-quick-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.jlc-date {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 13px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 700;
}

.jlc-button,
.jlc-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	color: var(--jlc-black);
	font-weight: 800;
	padding: 0 14px;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.jlc-button:hover,
.jlc-icon-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(39, 39, 39, 0.08);
}

.jlc-button-primary {
	border-color: var(--jlc-gold);
	background: var(--jlc-gold);
	color: var(--jlc-white);
}

.jlc-button-primary:visited,
.jlc-button-primary:hover,
.jlc-button-primary:focus-visible,
.jlc-button-primary span,
.jlc-button-primary svg,
.jlc-button-primary .jlc-icon {
	color: var(--jlc-white);
	stroke: currentColor;
}

.jlc-button-dark {
	border-color: var(--jlc-black);
	background: var(--jlc-black);
	color: var(--jlc-white);
}

.jlc-button-ghost {
	background: transparent;
}

.jlc-icon-button {
	width: 38px;
	min-height: 38px;
	padding: 0;
}

.jlc-hero-band {
	padding: 24px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: var(--jlc-shadow);
}

.jlc-hero-band h2 {
	max-width: 760px;
	font-size: clamp(24px, 2.7vw, 34px);
}

.jlc-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 18px;
}

.jlc-stat-card {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: 13px;
	min-height: 112px;
	padding: 18px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 12px 28px rgba(39, 39, 39, 0.05);
}

.jlc-stat-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: var(--jlc-gold-soft);
	color: var(--jlc-gold);
}

.jlc-lead-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 24px;
}

.jlc-lead-category-group {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 10px;
}

.jlc-lead-category-card {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	flex: 1;
	gap: 14px;
	min-height: 128px;
	padding: 20px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 14px 32px rgba(39, 39, 39, 0.06);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jlc-lead-category-card:hover,
.jlc-lead-category-card:focus-visible,
.jlc-lead-category-card.is-active {
	border-color: rgba(200, 162, 74, 0.72);
	box-shadow: 0 18px 38px rgba(39, 39, 39, 0.1);
	transform: translateY(-1px);
}

.jlc-lead-category-card.is-active {
	background: linear-gradient(180deg, #fffdfa 0%, #f7f1e3 100%);
}

.jlc-lead-category-card strong,
.jlc-lead-category-card small {
	display: block;
}

.jlc-lead-category-card strong {
	color: var(--jlc-black);
	font-size: 18px;
	line-height: 1.2;
}

.jlc-lead-category-card small {
	margin-top: 6px;
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 800;
}

.jlc-lead-category-card em {
	grid-column: 2;
	align-self: end;
	color: var(--jlc-gold);
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-lead-subcategory-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.jlc-lead-subcategory-link {
	display: flex;
	min-width: 0;
	min-height: 58px;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 10px 12px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 8px 18px rgba(39, 39, 39, 0.04);
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.jlc-lead-subcategory-link:hover,
.jlc-lead-subcategory-link:focus-visible,
.jlc-lead-subcategory-link.is-active {
	border-color: rgba(200, 162, 74, 0.72);
	background: #fffdfa;
}

.jlc-lead-subcategory-link.is-active {
	background: var(--jlc-black);
	color: var(--jlc-white);
}

.jlc-lead-subcategory-link span,
.jlc-lead-subcategory-link small {
	display: block;
	overflow-wrap: anywhere;
}

.jlc-lead-subcategory-link span {
	color: inherit;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
}

.jlc-lead-subcategory-link small {
	color: var(--jlc-muted);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
}

.jlc-lead-subcategory-link.is-active small {
	color: rgba(255, 255, 255, 0.72);
}

.jlc-stat-content strong,
.jlc-stat-content small {
	display: block;
}

.jlc-stat-content strong {
	font-size: 32px;
	line-height: 1;
}

.jlc-stat-content small {
	margin-top: 6px;
	color: var(--jlc-muted);
	font-weight: 800;
}

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

.jlc-panel,
.jlc-empty,
.jlc-table-wrap {
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 12px 28px rgba(39, 39, 39, 0.04);
}

.jlc-panel {
	padding: 20px;
}

.jlc-panel h2,
.jlc-panel-heading h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
}

.jlc-panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.jlc-panel-heading span,
.jlc-panel-heading a {
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 800;
}

.jlc-muted {
	color: var(--jlc-muted);
}

.jlc-bars {
	display: grid;
	gap: 14px;
}

.jlc-bar-row {
	display: grid;
	gap: 7px;
}

.jlc-bar-row > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
}

.jlc-bar {
	display: block;
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #eeece6;
}

.jlc-bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--jlc-gold);
}

.jlc-mini-list {
	display: grid;
	gap: 8px;
}

.jlc-mini-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 0 12px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
}

.jlc-mini-list strong {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jlc-mini-list span {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

.jlc-filters {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 9px;
	flex-wrap: wrap;
}

.jlc-search,
.jlc-select {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	color: var(--jlc-muted);
}

.jlc-search {
	gap: 8px;
	padding: 0 12px;
}

.jlc-search input,
.jlc-select select {
	width: 100%;
	min-width: 150px;
	border: 0;
	background: transparent;
	color: var(--jlc-black);
	font: inherit;
	font-weight: 700;
	outline: 0;
}

.jlc-search input {
	min-width: 210px;
}

.jlc-select select {
	min-height: 38px;
	padding: 0 12px;
}

.jlc-table-wrap {
	overflow: auto;
}

.jlc-table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
}

.jlc-leads-table-has-location {
	min-width: 1080px;
}

.jlc-table th,
.jlc-table td {
	padding: 15px 16px;
	border-bottom: 1px solid var(--jlc-line);
	text-align: left;
	vertical-align: middle;
}

.jlc-table th {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-sort-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: inherit;
}

.jlc-sort-link:hover,
.jlc-sort-link:focus-visible,
.jlc-sort-link.is-active {
	color: var(--jlc-black);
}

.jlc-sort-link:focus-visible {
	outline: 2px solid var(--jlc-gold);
	outline-offset: 4px;
	border-radius: 4px;
}

.jlc-sort-link.is-active::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
}

.jlc-sort-link.is-asc::after {
	border-bottom: 6px solid currentColor;
}

.jlc-sort-link.is-desc::after {
	border-top: 6px solid currentColor;
}

.jlc-table tr:last-child td {
	border-bottom: 0;
}

.jlc-table tbody tr {
	cursor: pointer;
}

.jlc-table tbody tr:hover {
	background: #fbfaf7;
}

.jlc-access-table {
	min-width: 1040px;
}

.jlc-access-table tbody tr {
	cursor: default;
}

.jlc-access-user strong,
.jlc-access-page strong {
	display: block;
	font-weight: 900;
}

.jlc-access-url a {
	display: block;
	max-width: 360px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--jlc-black);
	font-weight: 800;
}

.jlc-record-link {
	display: block;
	font-weight: 900;
}

button.jlc-record-link {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: 900;
	line-height: inherit;
	text-align: left;
	cursor: pointer;
}

button.jlc-record-link:hover,
button.jlc-record-link:focus-visible {
	color: var(--jlc-gold-dark);
}

.jlc-lead-date {
	white-space: nowrap;
}

.jlc-lead-location {
	min-width: 220px;
	max-width: 340px;
	color: var(--jlc-black);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.jlc-table small,
.jlc-property-body p,
.jlc-task-card p,
.jlc-record-title span {
	display: block;
	color: var(--jlc-muted);
	font-size: 13px;
}

.jlc-actions-cell {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 154px;
	white-space: nowrap;
}

.jlc-inline-delete-form {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.jlc-icon-button-danger {
	color: var(--jlc-red);
}

.jlc-icon-button-danger:hover,
.jlc-icon-button-danger:focus-visible {
	border-color: rgba(159, 60, 52, 0.38);
	background: #fff3f1;
	color: var(--jlc-red);
}

.jlc-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 9px;
	border-radius: 999px;
	background: var(--jlc-gold-soft);
	color: #6d5620;
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
	white-space: nowrap;
}

.jlc-lead-status-inline-form,
.jlc-lead-temperature-inline-form {
	display: inline-flex;
	margin: 0;
}

.jlc-lead-status-inline-control,
.jlc-lead-temperature-inline-control {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	border-radius: 999px;
	background: var(--jlc-gold-soft);
	color: #6d5620;
	cursor: pointer;
}

.jlc-lead-status-inline-control::after,
.jlc-lead-temperature-inline-control::after {
	content: "";
	position: absolute;
	right: 9px;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	pointer-events: none;
	transform: rotate(45deg);
}

.jlc-lead-status-inline-control select,
.jlc-lead-temperature-inline-control select {
	min-height: 24px;
	border: 0;
	border-radius: 999px;
	appearance: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	outline: 0;
	padding: 0 24px 0 9px;
	white-space: nowrap;
}

.jlc-lead-status-inline-control select option,
.jlc-lead-temperature-inline-control select option {
	color: var(--jlc-black);
}

.status-fechado,
.status-vendido,
.status-concluida,
.status-disponivel {
	background: #e5f2eb;
	color: var(--jlc-green);
}

.temp-frio {
	background: #e8f0fa;
	color: #285d91;
}

.status-perdido,
.status-retirado,
.temp-quente {
	background: #f8e7e4;
	color: var(--jlc-red);
}

.status-proposta,
.status-angariado,
.status-reservado,
.status-visita-marcada,
.temp-morno {
	background: #faeddd;
	color: var(--jlc-amber);
}

.temp-empty {
	background: var(--jlc-gold-soft);
	color: #6d5620;
}

.jlc-regime-switch {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.jlc-regime-option.is-active {
	border-color: var(--jlc-black);
	background: var(--jlc-black);
	color: var(--jlc-white);
}

.jlc-property-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.jlc-property-card {
	overflow: hidden;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 12px 28px rgba(39, 39, 39, 0.05);
}

.jlc-property-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--jlc-black);
	color: var(--jlc-gold);
	font-size: 22px;
	font-weight: 900;
}

.jlc-property-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jlc-property-media .jlc-badge {
	position: absolute;
	top: 12px;
	left: 12px;
}

.jlc-property-body {
	padding: 16px;
}

.jlc-property-body h2 {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.2;
}

.jlc-property-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.jlc-property-meta strong {
	margin-right: auto;
	font-size: 17px;
}

.jlc-property-meta span {
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 800;
}

.jlc-offmarket-table tbody tr {
	cursor: default;
}

.jlc-offmarket-table .jlc-actions-cell {
	width: 380px;
	white-space: nowrap;
}

.jlc-offmarket-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
}

.jlc-inline-action-form {
	display: inline-flex;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.jlc-offmarket-table .jlc-button {
	flex: 0 0 auto;
	min-height: 34px;
	padding: 0 12px;
	white-space: nowrap;
}

.jlc-offmarket-table .jlc-button-primary,
.jlc-offmarket-table .jlc-button-primary:visited,
.jlc-offmarket-table .jlc-button-primary:hover,
.jlc-offmarket-table .jlc-button-primary:focus-visible {
	color: var(--jlc-white);
}

.jlc-property-share-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.jlc-property-share-request-card,
.jlc-property-share-card {
	display: grid;
}

.jlc-property-share-request-card {
	width: 100%;
	appearance: none;
	gap: 16px;
	align-content: start;
	justify-items: start;
	min-height: 240px;
	padding: 22px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 12px 28px rgba(39, 39, 39, 0.05);
	border-style: dashed;
	border-color: rgba(200, 162, 74, 0.5);
	background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
	color: var(--jlc-black);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.jlc-property-share-card {
	position: relative;
}

.jlc-property-share-request-card:hover,
.jlc-property-share-request-card:focus-visible {
	border-color: var(--jlc-gold);
	box-shadow: 0 16px 32px rgba(200, 162, 74, 0.16);
}

.jlc-property-share-request-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 12px;
	background: var(--jlc-gold-soft);
	color: var(--jlc-gold);
	font-size: 30px;
	font-weight: 700;
}

.jlc-property-share-request-card strong {
	display: block;
	max-width: 280px;
	color: var(--jlc-black);
	font-size: 28px;
	font-weight: 900;
	line-height: 1.05;
}

.jlc-property-share-card-body {
	display: block;
}

.jlc-property-share-card-media {
	background: var(--jlc-black);
}

.jlc-property-share-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jlc-property-share-card-media span {
	color: var(--jlc-gold);
}

.jlc-property-share-card .jlc-badge {
	position: absolute;
	top: 12px;
	left: 12px;
}

.jlc-property-share-card .jlc-property-meta {
	align-items: center;
}

.jlc-property-share-card .jlc-button {
	color: var(--jlc-white);
}

.jlc-property-share-card .jlc-button span,
.jlc-property-share-card .jlc-button svg,
.jlc-property-share-card .jlc-button .jlc-icon {
	color: var(--jlc-white);
}

.jlc-property-share-missing {
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 800;
}

.jlc-property-share-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.jlc-property-share-actions .jlc-button {
	min-height: 36px;
	padding: 0 12px;
}

.jlc-property-share-actions .jlc-icon-button {
	width: 36px;
	height: 36px;
}

.jlc-property-share-admin-actions {
	display: flex;
	gap: 8px;
	padding: 0 16px 16px;
}

.jlc-property-share-modal-dialog {
	max-width: 780px;
}

.jlc-property-share-request-form {
	display: grid;
	gap: 18px;
}

.jlc-property-share-request-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.jlc-property-share-request-grid label {
	display: grid;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--jlc-black);
}

.jlc-property-share-request-grid input,
.jlc-property-share-request-grid select,
.jlc-property-share-request-grid textarea {
	width: 100%;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	color: var(--jlc-black);
	font: inherit;
	padding: 12px 14px;
}

.jlc-property-share-request-wide {
	grid-column: 1 / -1;
}

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

.jlc-document-card {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 118px;
	padding: 18px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 12px 28px rgba(39, 39, 39, 0.05);
}

.jlc-document-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 8px;
	background: var(--jlc-gold-soft);
	color: var(--jlc-gold);
}

.jlc-document-icon .jlc-icon {
	width: 24px;
	height: 24px;
}

.jlc-document-content {
	min-width: 0;
}

.jlc-document-content h2,
.jlc-document-detail h2 {
	margin: 0;
	color: var(--jlc-black);
	font-size: 18px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.jlc-document-content p {
	margin: 6px 0 0;
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 750;
	overflow-wrap: anywhere;
}

.jlc-document-missing {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 11px;
	border-radius: 8px;
	background: #fbebe8;
	color: var(--jlc-red);
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
}

.jlc-document-detail {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 720px;
}

.jlc-document-detail .jlc-button {
	margin-top: 14px;
}

.jlc-settings-grid {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.jlc-settings-password-panel {
	grid-column: 2;
}

.jlc-profile-card {
	display: grid;
	gap: 18px;
	justify-items: center;
	padding: 24px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 12px 28px rgba(39, 39, 39, 0.05);
	text-align: center;
}

.jlc-avatar-preview {
	width: 132px;
	height: 132px;
	overflow: hidden;
	border: 4px solid var(--jlc-gold-soft);
	border-radius: 50%;
	background: var(--jlc-gold-soft);
}

.jlc-avatar-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.jlc-profile-card h2 {
	margin: 0;
	font-size: 22px;
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.jlc-profile-card p {
	margin: 8px 0 0;
	color: var(--jlc-muted);
	font-weight: 750;
	overflow-wrap: anywhere;
}

.jlc-settings-form {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

.jlc-settings-form label {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.jlc-settings-form label span {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-settings-form input[type="text"],
.jlc-settings-form input[type="email"],
.jlc-settings-form input[type="password"],
.jlc-settings-form input[type="file"],
.jlc-settings-form select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
	color: var(--jlc-black);
	font: inherit;
	font-weight: 700;
	padding: 10px 12px;
	outline: 0;
}

.jlc-settings-form input:focus {
	border-color: var(--jlc-gold);
	box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.16);
}

.jlc-settings-form small {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 750;
}

.jlc-settings-form .jlc-button {
	justify-self: start;
}

.jlc-notice {
	margin-bottom: 18px;
	padding: 13px 15px;
	border-radius: 8px;
	border: 1px solid var(--jlc-line);
	background: var(--jlc-white);
	font-weight: 850;
}

.jlc-notice-success {
	border-color: #cfe7d9;
	background: #edf8f1;
	color: var(--jlc-green);
}

.jlc-notice-error {
	border-color: #f0cbc6;
	background: #fbebe8;
	color: var(--jlc-red);
}

.jlc-property-form-panel {
	display: grid;
	gap: 18px;
}

.jlc-property-form-heading {
	align-items: flex-start;
	margin-bottom: 0;
}

.jlc-property-form-title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.jlc-property-form-back {
	flex: 0 0 auto;
}

.jlc-property-form-heading p {
	margin: 6px 0 0;
	max-width: 760px;
}

.jlc-acf-property-form {
	display: grid;
	gap: 18px;
}

.jlc-acf-imovel-form.jlc-acf-offmarket-active .acf-field[data-jlc-offmarket-allowed="0"],
.jlc-acf-imovel-form.jlc-acf-offmarket-active .acf-field.jlc-offmarket-hidden {
	display: none !important;
}

.jlc-acf-property-form > .acf-fields {
	display: grid;
	gap: 14px;
	border: 0;
	background: transparent;
}

.jlc-acf-property-form > .acf-fields > .acf-field,
.jlc-acf-property-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field {
	padding: 0;
	border: 0;
	background: transparent;
	min-width: 0;
}

.jlc-acf-imovel-form > .acf-fields > .acf-field[data-type="group"] {
	padding-top: 18px;
	border-top: 1px solid var(--jlc-line);
}

.jlc-acf-imovel-form > .acf-fields > .acf-field[data-type="group"]:first-child {
	padding-top: 0;
	border-top: 0;
}

.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-label {
	margin-bottom: 12px;
}

.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	border: 0;
	background: transparent;
}

.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
}

.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="accordion"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="gallery"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="google_map"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="message"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="photo_gallery"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="post_object"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="relationship"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="repeater"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="tab"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="textarea"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="wysiwyg"],
.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-width="100"] {
	grid-column: 1 / -1;
}

.jlc-acf-lead-form > .acf-fields,
.jlc-acf-task-form > .acf-fields {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jlc-acf-lead-form > .acf-fields > .acf-field,
.jlc-acf-task-form > .acf-fields > .acf-field {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
}

.jlc-acf-lead-form > .acf-fields > .jlc-lead-type-selector {
	grid-column: 1 / -1;
	padding: 18px !important;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
}

.jlc-acf-lead-form .acf-field[data-name="estado"] {
	display: none !important;
}

.jlc-lead-type-selector .acf-label {
	margin-bottom: 14px;
}

.jlc-lead-type-selector .acf-label label {
	color: var(--jlc-black);
	font-size: 16px;
	text-transform: none;
}

.jlc-lead-type-fieldset {
	display: grid;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.jlc-lead-type-fieldset[hidden] {
	display: none !important;
}

.jlc-lead-type-fieldset + .jlc-lead-type-fieldset {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--jlc-line);
}

.jlc-lead-type-fieldset legend {
	margin: 0 0 2px;
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-lead-type-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.jlc-lead-subtype-fieldset .jlc-lead-type-options {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jlc-lead-status-fieldset .jlc-lead-type-options {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jlc-lead-type-option {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	color: var(--jlc-black);
	font-weight: 850;
	cursor: pointer;
}

.jlc-lead-type-option input {
	flex: 0 0 auto;
}

.jlc-lead-type-option:has(input:checked) {
	border-color: var(--jlc-gold);
	background: var(--jlc-gold-soft);
}

.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="accordion"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="group"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="message"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="tab"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="textarea"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="wysiwyg"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="post_object"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="relationship"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-type="repeater"],
.jlc-acf-lead-form > .acf-fields > .acf-field[data-width="100"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="accordion"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="group"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="message"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="tab"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="textarea"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="wysiwyg"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="post_object"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="relationship"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-type="repeater"],
.jlc-acf-task-form > .acf-fields > .acf-field[data-width="100"] {
	grid-column: 1 / -1;
}

.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields,
.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	border: 0;
	background: transparent;
}

.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field,
.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field {
	float: none !important;
	clear: none !important;
	width: auto !important;
	margin: 0 !important;
}

.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="textarea"],
.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="wysiwyg"],
.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="post_object"],
.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="relationship"],
.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="repeater"],
.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-width="100"],
.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="textarea"],
.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="wysiwyg"],
.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="post_object"],
.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="relationship"],
.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-type="repeater"],
.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields > .acf-field[data-width="100"] {
	grid-column: 1 / -1;
}

.jlc-task-form-panel .jlc-acf-task-form > .acf-fields,
.jlc-task-form-panel .jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields {
	grid-template-columns: 1fr;
}

.jlc-acf-property-form .acf-label label {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-acf-property-form .acf-label p.description,
.jlc-acf-property-form .acf-input p.description {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 750;
}

.jlc-acf-property-form .acf-input input[type="text"],
.jlc-acf-property-form .acf-input input[type="number"],
.jlc-acf-property-form .acf-input input[type="email"],
.jlc-acf-property-form .acf-input input[type="url"],
.jlc-acf-property-form .acf-input input[type="password"],
.jlc-acf-property-form .acf-input input[type="search"],
.jlc-acf-property-form .acf-input select,
.jlc-acf-property-form .acf-input textarea,
.jlc-acf-property-form .select2-selection {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
	color: var(--jlc-black);
	font: inherit;
	font-weight: 700;
	padding: 10px 12px;
	outline: 0;
	box-shadow: none;
}

.jlc-acf-property-form .acf-input textarea {
	min-height: 110px;
	resize: vertical;
}

.jlc-acf-property-form .select2-container {
	width: 100% !important;
	min-width: 0;
}

.jlc-acf-property-form .select2-container.-acf .select2-selection,
.jlc-acf-property-form .select2-container--default .select2-selection--multiple,
.jlc-acf-property-form .select2-container--default.select2-container--focus .select2-selection--multiple,
.jlc-acf-property-form .select2-container--default.select2-container--open .select2-selection--multiple {
	border-color: var(--jlc-line) !important;
	outline: 0 !important;
	box-shadow: none !important;
}

.jlc-acf-property-form .select2-container--default .select2-selection--multiple .select2-selection__rendered {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 0;
	margin: 0;
}

.jlc-acf-property-form .select2-container--default .select2-selection--multiple .select2-search,
.jlc-acf-property-form .select2-container--default .select2-selection--multiple .select2-search--inline {
	display: inline-flex;
	flex: 1 1 28ch;
	align-items: center;
	max-width: 100%;
	min-width: 0;
}

.jlc-acf-property-form .select2-container .select2-selection .select2-search__field,
.jlc-acf-property-form .select2-container .select2-selection .select2-search__field:focus {
	width: 100% !important;
	min-width: 0;
	max-width: 100%;
	min-height: 24px;
	height: 24px;
	margin: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	padding: 0 !important;
	color: var(--jlc-black);
	font: inherit;
	font-weight: 700;
	outline: 0 !important;
	box-shadow: none !important;
}

.jlc-acf-property-form .select2-selection__choice {
	border: 0;
	border-radius: 8px;
	background: var(--jlc-gold-soft);
	color: var(--jlc-black);
	font-weight: 800;
	margin: 0;
}

body.jlc-crm-body .acf-ui-datepicker .ui_tpicker_second_label,
body.jlc-crm-body .acf-ui-datepicker .ui_tpicker_second,
body.jlc-crm-body .acf-ui-datepicker .ui_tpicker_millisec_label,
body.jlc-crm-body .acf-ui-datepicker .ui_tpicker_millisec,
body.jlc-crm-body .acf-ui-datepicker .ui_tpicker_microsec_label,
body.jlc-crm-body .acf-ui-datepicker .ui_tpicker_microsec {
	display: none !important;
}

.jlc-acf-property-form .acf-input input:focus,
.jlc-acf-property-form .acf-input select:focus,
.jlc-acf-property-form .acf-input textarea:focus {
	border-color: var(--jlc-gold);
	box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.16);
}

.jlc-acf-property-form .acf-form-submit {
	display: flex;
	align-items: center;
	gap: 10px;
}

.jlc-acf-property-form .acf-button.button,
.jlc-acf-property-form .acf-button.button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	color: var(--jlc-black);
	font: inherit;
	font-weight: 900;
	box-shadow: none;
}

.jlc-acf-property-form .acf-button.button-primary {
	border-color: var(--jlc-gold);
	background: var(--jlc-gold);
	color: var(--jlc-white);
}

.jlc-task-workspace {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	margin-bottom: 24px;
}

.jlc-calendar-panel,
.jlc-task-form-panel {
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 12px 28px rgba(39, 39, 39, 0.04);
}

.jlc-calendar-panel {
	padding: 18px;
}

.jlc-calendar-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

.jlc-calendar-header h2,
.jlc-task-form-panel h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
}

.jlc-calendar-nav {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.jlc-calendar-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 11px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
	color: var(--jlc-black);
	font-size: 13px;
	font-weight: 900;
}

.jlc-calendar-weekdays,
.jlc-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
}

.jlc-calendar-weekdays {
	margin-bottom: 8px;
}

.jlc-calendar-weekdays span {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
}

.jlc-calendar-day {
	min-height: 132px;
	padding: 10px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
	cursor: pointer;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.jlc-calendar-day:not(.is-empty):hover,
.jlc-calendar-day:not(.is-empty):focus {
	border-color: var(--jlc-gold);
	box-shadow: 0 10px 22px rgba(39, 39, 39, 0.08);
	outline: 0;
}

.jlc-calendar-day.is-empty {
	cursor: default;
	background: transparent;
	border-color: transparent;
}

.jlc-calendar-day.is-today {
	border-color: var(--jlc-gold);
	background: #fffdf8;
}

.jlc-calendar-day-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}

.jlc-calendar-day-head strong {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	color: var(--jlc-black);
	font-size: 13px;
}

.jlc-calendar-day.is-today .jlc-calendar-day-head strong {
	background: var(--jlc-gold);
}

.jlc-calendar-day-head span {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
}

.jlc-calendar-tasks {
	display: grid;
	gap: 5px;
}

.jlc-calendar-task {
	display: block;
	min-width: 0;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 5px 7px;
	border: 0;
	border-radius: 7px;
	background: var(--jlc-gold-soft);
	color: #6d5620;
	font-size: 12px;
	font-weight: 850;
	text-align: left;
	cursor: pointer;
}

.jlc-calendar-task span {
	margin-right: 5px;
	color: rgba(39, 39, 39, 0.62);
	font-weight: 950;
}

.jlc-calendar-tasks small {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
}

.jlc-task-form-panel {
	position: sticky;
	top: 18px;
	padding: 18px;
}

.jlc-task-modal {
	position: fixed;
	inset: 0;
	z-index: 9997;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(39, 39, 39, 0.58);
}

.jlc-task-modal[hidden] {
	display: none;
}

.jlc-task-modal-dialog {
	width: min(960px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: 20px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.jlc-task-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.jlc-task-modal-header h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
}

.jlc-task-modal-close {
	flex: 0 0 auto;
}

.jlc-task-modal-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.jlc-task-sidebar-edit {
	min-height: 38px;
	padding: 0 11px;
	font-size: 13px;
	white-space: nowrap;
}

body.jlc-task-modal-open {
	overflow: hidden;
}

.jlc-task-detail-sidebar {
	align-items: stretch;
	justify-content: flex-end;
	padding: 0;
	background: rgba(39, 39, 39, 0.32);
	pointer-events: none;
}

.jlc-task-detail-sidebar .jlc-task-modal-dialog {
	width: min(460px, 100vw);
	max-width: min(460px, 100vw);
	height: 100vh;
	max-height: 100vh;
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-radius: 0;
	box-shadow: -18px 0 44px rgba(0, 0, 0, 0.2);
	pointer-events: auto;
}

.jlc-task-detail-sidebar .jlc-task-modal-header {
	position: sticky;
	top: 0;
	z-index: 2;
	margin: -20px -20px 18px;
	padding: 20px;
	border-bottom: 1px solid var(--jlc-line);
	background: var(--jlc-white);
}

.jlc-task-form-panel form,
.jlc-task-modal form {
	display: grid;
	gap: 13px;
	margin-top: 16px;
}

.jlc-task-form-panel label,
.jlc-task-modal label {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.jlc-task-form-panel label span,
.jlc-task-modal label span {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-task-form-panel input,
.jlc-task-form-panel select,
.jlc-task-form-panel textarea,
.jlc-task-modal input,
.jlc-task-modal select,
.jlc-task-modal textarea {
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
	color: var(--jlc-black);
	font: inherit;
	font-weight: 700;
	padding: 0 11px;
	outline: 0;
}

.jlc-task-form-panel textarea,
.jlc-task-modal textarea {
	min-height: 96px;
	padding: 10px 11px;
	resize: vertical;
}

.jlc-task-form-panel input:focus,
.jlc-task-form-panel select:focus,
.jlc-task-form-panel textarea:focus,
.jlc-task-modal input:focus,
.jlc-task-modal select:focus,
.jlc-task-modal textarea:focus {
	border-color: var(--jlc-gold);
	box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.16);
}

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

.jlc-task-table-section {
	display: grid;
	gap: 0;
}

.jlc-empty-compact {
	min-height: 220px;
}

.jlc-board {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-items: start;
}

.jlc-board-column {
	min-height: 360px;
	padding: 14px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
}

.jlc-board-column header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.jlc-board-column h2 {
	margin: 0;
	font-size: 16px;
}

.jlc-board-column header span {
	display: grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--jlc-gold-soft);
	color: var(--jlc-gold);
	font-weight: 900;
}

.jlc-task-list {
	display: grid;
	gap: 10px;
}

.jlc-task-card {
	display: grid;
	gap: 10px;
	padding: 13px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
}

.jlc-task-card a {
	font-weight: 900;
}

.jlc-task-card p {
	margin: 0;
}

.jlc-task-card div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.jlc-empty {
	display: grid;
	place-items: center;
	gap: 12px;
	min-height: 360px;
	padding: 28px;
	text-align: center;
}

.jlc-empty h2,
.jlc-empty p {
	margin: 0;
}

.jlc-empty p {
	color: var(--jlc-muted);
}

.jlc-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 20px;
}

.jlc-pagination a {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	font-weight: 900;
}

.jlc-pagination a.is-active {
	border-color: var(--jlc-gold);
	background: var(--jlc-gold);
	color: var(--jlc-white);
}

.jlc-record-header {
	align-items: flex-end;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--jlc-line);
}

.jlc-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--jlc-muted);
	font-weight: 900;
}

.jlc-record-title {
	margin-right: auto;
}

.jlc-record-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.jlc-record-title-row h1 {
	min-width: 0;
}

.jlc-record-actions,
.jlc-lead-status-quick-form {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.jlc-record-actions {
	justify-content: flex-end;
}

.jlc-lead-category-pill-form,
.jlc-lead-status-pill-form,
.jlc-lead-temperature-pill-form {
	display: inline-flex;
}

.jlc-lead-category-pill,
.jlc-lead-status-pill,
.jlc-lead-status-pill-static,
.jlc-lead-temperature-pill,
.jlc-lead-temperature-pill-static {
	display: inline-flex;
	align-items: center;
	position: relative;
	min-height: 40px;
	border: 1px solid rgba(176, 137, 43, 0.34);
	border-radius: 999px;
	background: var(--jlc-gold-soft);
	color: #6d5620;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

.jlc-lead-category-pill::after,
.jlc-lead-status-pill::after,
.jlc-lead-temperature-pill::after {
	content: "";
	position: absolute;
	right: 13px;
	top: 50%;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	pointer-events: none;
	transform: translateY(-35%);
}

.jlc-lead-category-pill select,
.jlc-lead-status-pill select,
.jlc-lead-temperature-pill select {
	min-height: 38px;
	border: 0;
	border-radius: 999px;
	appearance: none;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-weight: inherit;
	outline: 0;
	padding: 0 34px 0 14px;
}

.jlc-lead-status-pill.status-fechado,
.jlc-lead-status-pill.status-vendido,
.jlc-lead-status-pill.status-qualificado,
.jlc-lead-status-pill-static.status-fechado,
.jlc-lead-status-pill-static.status-vendido,
.jlc-lead-status-pill-static.status-qualificado {
	background: #e5f2eb;
	color: var(--jlc-green);
}

.jlc-lead-status-pill.status-perdido,
.jlc-lead-status-pill-static.status-perdido {
	background: #f8e7e4;
	color: var(--jlc-red);
}

.jlc-lead-status-pill.status-contactado,
.jlc-lead-status-pill.status-proposta,
.jlc-lead-status-pill.status-angariado,
.jlc-lead-status-pill.status-visita-marcada,
.jlc-lead-status-pill-static.status-contactado,
.jlc-lead-status-pill-static.status-proposta,
.jlc-lead-status-pill-static.status-angariado,
.jlc-lead-status-pill-static.status-visita-marcada {
	background: #faeddd;
	color: var(--jlc-amber);
}

.jlc-lead-temperature-pill.temp-frio,
.jlc-lead-temperature-pill-static.temp-frio {
	background: #e8f0fa;
	color: #285d91;
}

.jlc-lead-temperature-pill.temp-morno,
.jlc-lead-temperature-pill-static.temp-morno {
	background: #faeddd;
	color: var(--jlc-amber);
}

.jlc-lead-temperature-pill.temp-quente,
.jlc-lead-temperature-pill-static.temp-quente {
	background: #f8e7e4;
	color: var(--jlc-red);
}

.jlc-lead-temperature-pill.temp-empty,
.jlc-lead-temperature-pill-static.temp-empty {
	background: var(--jlc-gold-soft);
	color: #6d5620;
}

.jlc-lead-status-quick-form {
	padding: 8px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 12px 28px rgba(39, 39, 39, 0.05);
}

.jlc-lead-status-quick-select {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
}

.jlc-lead-status-quick-select span {
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-lead-status-quick-select select {
	min-width: 170px;
	min-height: 38px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	color: var(--jlc-black);
	font: inherit;
	font-weight: 800;
	padding: 0 10px;
}

.jlc-property-back-link {
	margin-bottom: 12px;
}

.jlc-record-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.jlc-property-detail-grid {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.jlc-property-detail-column {
	flex: 1 1 0;
	min-width: 0;
	display: grid;
	gap: 18px;
}

.jlc-full-width-panel {
	grid-column: 1 / -1;
}

.jlc-lead-task-tracking {
	margin-top: 18px;
}

.jlc-tracking-heading-actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 auto;
	gap: 10px;
	flex-wrap: wrap;
}

.jlc-panel-heading .jlc-tracking-add-task {
	color: var(--jlc-white);
}

.jlc-panel-heading .jlc-tracking-add-task span,
.jlc-panel-heading .jlc-tracking-add-task svg,
.jlc-panel-heading .jlc-tracking-add-task .jlc-icon {
	color: var(--jlc-white);
	stroke: currentColor;
}

.jlc-tracking-sort-button {
	min-height: 32px;
	padding: 0 10px;
	font-size: 12px;
	white-space: nowrap;
}

.jlc-panel-heading .jlc-tracking-sort-button {
	color: var(--jlc-black);
	font-size: 12px;
	font-weight: 850;
}

.jlc-panel-heading .jlc-tracking-sort-button span {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.jlc-tracking-sort-button .jlc-icon {
	width: 15px;
	height: 15px;
	stroke: currentColor;
}

.jlc-lead-task-empty {
	padding: 18px;
	border: 1px dashed var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
}

.jlc-lead-task-empty strong {
	display: block;
	font-weight: 900;
}

.jlc-lead-task-empty p {
	margin: 4px 0 0;
	color: var(--jlc-muted);
	font-weight: 750;
}

.jlc-lead-timeline {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jlc-lead-timeline-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
	gap: 16px;
	padding: 16px 0 16px 22px;
	border-top: 1px solid var(--jlc-line);
}

.jlc-lead-timeline-item:first-child {
	border-top: 0;
	padding-top: 0;
}

.jlc-lead-timeline-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 23px;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--jlc-gold);
	box-shadow: 0 0 0 4px var(--jlc-gold-soft);
}

.jlc-lead-timeline-item:first-child::before {
	top: 7px;
}

.jlc-lead-timeline time {
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 900;
	white-space: nowrap;
}

.jlc-lead-task-body {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.jlc-lead-task-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.jlc-lead-task-title a {
	color: var(--jlc-black);
	font-weight: 900;
	overflow-wrap: anywhere;
}

.jlc-lead-task-title a:hover,
.jlc-lead-task-title a:focus-visible {
	color: var(--jlc-gold);
}

.jlc-tracking-open {
	border: 0;
	background: transparent;
	color: var(--jlc-black);
	font: inherit;
	font-weight: 900;
	padding: 0;
	text-align: left;
	overflow-wrap: anywhere;
	cursor: pointer;
}

.jlc-tracking-open:hover,
.jlc-tracking-open:focus-visible {
	color: var(--jlc-gold);
}

.jlc-tracking-open:focus-visible {
	outline: 2px solid rgba(200, 162, 74, 0.4);
	outline-offset: 3px;
	border-radius: 4px;
}

.jlc-tracking-static-title {
	color: var(--jlc-black);
	font-weight: 900;
	overflow-wrap: anywhere;
}

.jlc-tracking-type {
	background: #eef2f6;
	color: var(--jlc-black);
}

.jlc-tracking-status-type {
	background: var(--jlc-gold-soft);
	color: var(--jlc-gold-dark);
}

.jlc-tracking-context {
	max-width: 260px;
	background: #fbfaf7;
	color: var(--jlc-muted);
	overflow: hidden;
	text-overflow: ellipsis;
}

.jlc-lead-task-meta {
	color: var(--jlc-gold-dark);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-lead-task-body p {
	margin: 0;
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.55;
}

.jlc-tracking-modal-dialog {
	width: min(960px, 100%);
	max-width: min(960px, calc(100vw - 32px));
}

.jlc-tracking-modal-meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 10px;
	margin: 0 0 18px;
}

.jlc-task-detail-sidebar .jlc-tracking-modal-meta {
	grid-template-columns: 1fr;
}

.jlc-tracking-modal-meta div {
	padding: 12px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
}

.jlc-tracking-modal-meta dt {
	margin: 0 0 4px;
	color: var(--jlc-muted);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-tracking-modal-meta dd {
	margin: 0;
	font-weight: 900;
}

.jlc-tracking-modal-description h3 {
	margin: 0 0 8px;
	font-size: 14px;
}

@media (min-width: 981px) {
	.jlc-property-detail-column:first-child {
		flex: 0.85 1 0;
	}

	.jlc-property-detail-column:last-child {
		flex: 1.35 1 0;
	}

	.jlc-property-left-panel {
		grid-column: 1;
	}

	.jlc-property-right-panel {
		grid-column: 2;
	}
}

.jlc-text-content {
	margin-top: 16px;
	color: var(--jlc-black);
	font-weight: 750;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.jlc-text-content > :first-child {
	margin-top: 0;
}

.jlc-text-content > :last-child {
	margin-bottom: 0;
}

.jlc-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 16px 0 0;
}

.jlc-detail-grid div {
	min-width: 0;
	padding: 12px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: #fbfaf7;
}

.jlc-detail-grid dt {
	margin-bottom: 4px;
	color: var(--jlc-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-detail-grid dd {
	margin: 0;
	overflow-wrap: anywhere;
	font-weight: 750;
}

.jlc-inline-link {
	display: inline-flex;
	margin: 2px 6px 2px 0;
	color: var(--jlc-gold);
	font-weight: 900;
}

.jlc-gallery-strip {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 18px;
}

.jlc-gallery-item {
	position: relative;
	display: block;
	width: 100%;
	height: 190px;
	overflow: hidden;
	padding: 0;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-black);
	cursor: pointer;
}

.jlc-gallery-item:first-child {
	grid-row: span 2;
	height: 390px;
}

.jlc-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.jlc-gallery-item:hover img,
.jlc-gallery-item:focus-visible img {
	transform: scale(1.03);
}

.jlc-gallery-item:focus-visible {
	outline: 3px solid rgba(200, 162, 74, 0.35);
	outline-offset: 2px;
}

.jlc-gallery-more {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(39, 39, 39, 0.62);
	color: var(--jlc-white);
	font-size: 32px;
	font-weight: 900;
}

body.jlc-slideshow-open,
body.jlc-modal-open {
	overflow: hidden;
}

.jlc-slideshow[hidden] {
	display: none;
}

.jlc-slideshow {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 72px;
	align-items: center;
	gap: 16px;
	padding: 34px 28px;
	background: rgba(18, 18, 18, 0.94);
}

.jlc-slideshow-frame {
	display: grid;
	gap: 12px;
	justify-items: center;
	margin: 0;
	min-width: 0;
}

.jlc-slideshow-frame img {
	max-width: 100%;
	max-height: calc(100vh - 120px);
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.jlc-slideshow-frame figcaption {
	color: rgba(255, 255, 255, 0.76);
	font-size: 13px;
	font-weight: 900;
}

.jlc-slideshow-close,
.jlc-slideshow-nav {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--jlc-white);
	font: inherit;
	font-size: 22px;
	font-weight: 900;
	cursor: pointer;
}

.jlc-slideshow-close:hover,
.jlc-slideshow-nav:hover,
.jlc-slideshow-close:focus-visible,
.jlc-slideshow-nav:focus-visible {
	border-color: var(--jlc-gold);
	background: rgba(200, 162, 74, 0.22);
	outline: 0;
}

.jlc-slideshow-close {
	position: absolute;
	top: 22px;
	right: 22px;
}

.jlc-slideshow-next {
	justify-self: end;
}

.jlc-slideshow-nav:disabled {
	opacity: 0.36;
	cursor: default;
}

.jlc-description-modal[hidden] {
	display: none;
}

.jlc-description-modal {
	position: fixed;
	inset: 0;
	z-index: 9998;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(18, 18, 18, 0.62);
}

.jlc-description-dialog {
	position: relative;
	width: min(680px, 100%);
	max-height: min(720px, calc(100vh - 48px));
	overflow: auto;
	padding: 28px;
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.jlc-description-dialog h2 {
	margin: 0 46px 16px 0;
	font-size: 24px;
	line-height: 1.2;
}

.jlc-description-content {
	color: var(--jlc-muted);
	font-size: 15px;
	line-height: 1.65;
}

.jlc-description-content p {
	margin: 0 0 12px;
}

.jlc-description-content p:last-child {
	margin-bottom: 0;
}

.jlc-description-close {
	position: absolute;
	top: 18px;
	right: 18px;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	background: var(--jlc-white);
	color: var(--jlc-black);
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}

.jlc-description-close:hover,
.jlc-description-close:focus-visible {
	border-color: var(--jlc-gold);
	background: var(--jlc-gold-soft);
	outline: 0;
}

.jlc-login-screen {
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: 22px;
	background: var(--jlc-black);
}

.jlc-login-panel {
	width: min(100%, 420px);
	padding: 0px 28px 28px 28px;
	border-radius: 8px;
	background: var(--jlc-white);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.jlc-login-brand {
	display: flex;
	justify-content: center;
	text-align: center;
}

.jlc-login-brand img {
	width: 200px;
	height: auto;
	max-height: 200px;
	margin: 0 auto;
	padding: 0;
	border-radius: 0;
	background: transparent;
	object-fit: contain;
}

.jlc-login-brand span {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	background: var(--jlc-gold);
	color: var(--jlc-black);
	font-weight: 900;
}

.jlc-login-panel h1 {
	margin: 0 0 8px;
	font-size: 30px;
	line-height: 1.05;
}

.jlc-login-panel p {
	margin: 0 0 18px;
	color: var(--jlc-muted);
}

.jlc-login-panel label {
	display: grid;
	gap: 6px;
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 900;
}

.jlc-login-panel input[type="text"],
.jlc-login-panel input[type="password"] {
	width: 100%;
	min-height: 44px;
	margin: 6px 0 14px;
	border: 1px solid var(--jlc-line);
	border-radius: 8px;
	padding: 0 12px;
	font: inherit;
}

.jlc-login-panel .button {
	width: 100%;
	min-height: 44px;
	border: 0;
	border-radius: 8px;
	background: var(--jlc-gold);
	color: var(--jlc-white);
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}

.jlc-login-panel .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.jlc-login-help {
	margin: 12px 0 0;
	color: var(--jlc-muted);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
}

.jlc-login-help a {
	color: var(--jlc-black);
	font-weight: 900;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.jlc-mode-pill {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 13px;
	border: 1px solid rgba(200, 162, 74, 0.42);
	border-radius: 8px;
	background: rgba(200, 162, 74, 0.14);
	color: var(--jlc-gold);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.jlc-menu-toggle {
	display: none;
}

@media (max-width: 1180px) {
	.jlc-stat-grid,
	.jlc-property-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.jlc-shell {
		grid-template-columns: 1fr;
	}

	.jlc-sidebar {
		position: fixed;
		inset: 0 auto 0 0;
		width: min(84vw, 320px);
		height: 100vh;
		transform: translateX(-104%);
		transition: transform 180ms ease;
	}

	.admin-bar .jlc-sidebar {
		top: 46px;
		height: calc(100vh - 46px);
	}

	.jlc-sidebar.is-open {
		transform: translateX(0);
	}

	.jlc-menu-toggle {
		position: fixed;
		top: 14px;
		left: 14px;
		z-index: 60;
		display: grid;
		place-items: center;
		width: 42px;
		height: 42px;
		border: 1px solid var(--jlc-line);
		border-radius: 8px;
		background: var(--jlc-white);
		color: var(--jlc-black);
		box-shadow: var(--jlc-shadow);
	}

	.admin-bar .jlc-menu-toggle {
		top: 60px;
	}

	.jlc-main {
		padding: 72px 16px 24px;
	}

	.jlc-topbar,
	.jlc-record-header,
	.jlc-collection-head,
	.jlc-hero-band {
		align-items: flex-start;
		flex-direction: column;
	}

	.jlc-topbar-actions,
	.jlc-quick-actions,
	.jlc-filters {
		justify-content: flex-start;
		width: 100%;
	}

	.jlc-dashboard-grid,
	.jlc-board,
	.jlc-record-grid,
	.jlc-settings-grid,
	.jlc-task-workspace {
		grid-template-columns: 1fr;
	}

	.jlc-settings-password-panel {
		grid-column: auto;
	}

	.jlc-property-detail-grid {
		flex-direction: column;
	}

	.jlc-property-detail-column {
		width: 100%;
	}

	.jlc-property-form-heading {
		flex-direction: column;
	}

	.jlc-task-form-panel {
		position: static;
	}
}

@media (max-width: 700px) {
	.jlc-task-modal {
		align-items: stretch;
		padding: 12px;
	}

	.jlc-task-modal-dialog {
		max-height: calc(100vh - 24px);
		padding: 16px;
	}

	.jlc-task-detail-sidebar {
		padding: 0;
	}

	.jlc-task-detail-sidebar .jlc-task-modal-dialog {
		width: min(420px, 100vw);
		max-width: 100vw;
		height: 100vh;
		max-height: 100vh;
	}

	.jlc-task-detail-sidebar .jlc-task-modal-header {
		margin: -16px -16px 16px;
		padding: 16px;
	}

	.jlc-stat-grid,
	.jlc-lead-category-grid,
	.jlc-property-grid,
	.jlc-document-grid,
	.jlc-detail-grid,
	.jlc-gallery-strip {
		grid-template-columns: 1fr;
	}

	.jlc-lead-subcategory-list {
		grid-template-columns: 1fr;
	}

	.jlc-document-card {
		grid-template-columns: 54px minmax(0, 1fr);
	}

	.jlc-document-card .jlc-button,
	.jlc-document-card .jlc-document-missing {
		grid-column: 1 / -1;
		width: 100%;
	}

	.jlc-search,
	.jlc-select,
	.jlc-search input,
	.jlc-select select,
	.jlc-record-actions,
	.jlc-lead-category-pill-form,
	.jlc-lead-category-pill,
	.jlc-lead-category-pill select,
	.jlc-lead-status-pill-form,
	.jlc-lead-status-pill,
	.jlc-lead-status-pill select,
	.jlc-lead-status-pill-static,
	.jlc-lead-temperature-pill-form,
	.jlc-lead-temperature-pill,
	.jlc-lead-temperature-pill select,
	.jlc-lead-temperature-pill-static,
	.jlc-lead-status-quick-form,
	.jlc-lead-status-quick-select,
	.jlc-lead-status-quick-select select,
	.jlc-button {
		width: 100%;
	}

	.jlc-gallery-item,
	.jlc-gallery-item:first-child {
		grid-row: auto;
		height: 220px;
	}

	.jlc-lead-timeline-item {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.jlc-lead-task-title {
		align-items: flex-start;
	}

	.jlc-acf-imovel-form .acf-field[data-type="group"] > .acf-input > .acf-fields,
	.jlc-acf-lead-form > .acf-fields,
	.jlc-acf-task-form > .acf-fields,
	.jlc-acf-lead-form .acf-field[data-type="group"] > .acf-input > .acf-fields,
	.jlc-acf-task-form .acf-field[data-type="group"] > .acf-input > .acf-fields,
	.jlc-lead-type-options,
	.jlc-lead-subtype-fieldset .jlc-lead-type-options,
	.jlc-lead-status-fieldset .jlc-lead-type-options {
		grid-template-columns: 1fr;
	}

	.jlc-slideshow {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"frame frame"
			"prev next";
		align-content: center;
		padding: 74px 16px 24px;
	}

	.jlc-slideshow-frame {
		grid-area: frame;
	}

	.jlc-slideshow-prev {
		grid-area: prev;
		justify-self: start;
	}

	.jlc-slideshow-next {
		grid-area: next;
		justify-self: end;
	}

	.jlc-calendar-weekdays {
		display: none;
	}

	.jlc-calendar-grid {
		grid-template-columns: 1fr;
	}

	.jlc-calendar-day.is-empty {
		display: none;
	}

	.jlc-calendar-day {
		min-height: 112px;
	}

	.jlc-calendar-header {
		flex-direction: column;
	}

	.jlc-calendar-nav {
		justify-content: flex-start;
	}

	.jlc-form-row {
		grid-template-columns: 1fr;
	}
}
