﻿@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

body.clica-manager-frontend-template {
	margin: 0 !important;
	padding: 0 !important;
	background:
		radial-gradient(circle at 12% 0%, #d8f0ff 0%, rgba(216, 240, 255, 0) 36%),
		radial-gradient(circle at 92% 8%, #dfffe9 0%, rgba(223, 255, 233, 0) 34%),
		linear-gradient(160deg, #f2f7fc 0%, #f6f9fd 56%, #eef4fb 100%);
	color: #13263a;
	font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, sans-serif;
}

body.clica-manager-frontend-template #wpadminbar {
	display: none !important;
}

body.clica-manager-frontend-template #page,
body.clica-manager-frontend-template #content,
body.clica-manager-frontend-template .site,
body.clica-manager-frontend-template .site-content,
body.clica-manager-frontend-template main {
	max-width: none;
	margin: 0;
	padding: 0;
}

body.clica-manager-frontend-template a {
	color: inherit;
}

.cm-frontend-notice {
	max-width: 760px;
	margin: 48px auto;
	padding: 24px 26px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #d8e6f6;
	box-shadow: 0 24px 56px rgba(22, 51, 90, 0.14);
	color: #1a2e44;
}

.cm-frontend-notice h3 {
	margin: 0 0 10px;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: 26px;
}

.cm-auth-shell {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 28px 18px;
	box-sizing: border-box;
}

.cm-auth-card {
	width: min(460px, 100%);
	padding: 30px 30px 26px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid #d8e6f6;
	box-shadow: 0 30px 60px rgba(22, 51, 90, 0.16);
	backdrop-filter: blur(4px);
	display: grid;
	gap: 14px;
}

.cm-auth-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 4px;
}

.cm-auth-card .cm-brand-text strong {
	color: #0f2b44;
}

.cm-auth-card .cm-brand-text span {
	color: #5d7893;
}

.cm-auth-card h1 {
	margin: 0;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: clamp(30px, 3vw, 34px);
	line-height: 1.1;
	color: #0f2b44;
}

.cm-auth-lead {
	margin: 0;
	color: #4e6982;
	font-size: 14px;
	line-height: 1.5;
}

.cm-auth-feedback {
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid #c8dff2;
	background: #eef7ff;
	color: #2b5372;
	font-size: 13px;
	font-weight: 600;
}

.cm-auth-feedback.is-error {
	background: #fff2f4;
	border-color: #f0bec8;
	color: #aa3043;
}

.cm-auth-form {
	display: grid;
	gap: 12px;
	margin: 2px 0 0;
}

.cm-auth-form label {
	display: grid;
	gap: 6px;
}

.cm-auth-form label span {
	color: #53708d;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cm-auth-remember {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	min-height: 18px;
	color: #2b4d6b;
}

.cm-auth-remember span {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #2b4d6b !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.cm-auth-submit {
	width: 100%;
	height: 44px;
}

.cm-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 18px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid #c6d8ee;
	background: #ffffff;
	color: #14304b;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cm-btn:hover {
	transform: translateY(-1px);
	border-color: #8fb5dc;
	box-shadow: 0 12px 22px rgba(16, 66, 120, 0.13);
}

.cm-btn:active {
	transform: translateY(0);
}

.cm-btn:disabled {
	cursor: not-allowed;
	opacity: 0.55;
	box-shadow: none;
	transform: none;
}

.cm-btn-primary {
	border-color: transparent;
	background: linear-gradient(120deg, #0f79ff 0%, #00b69d 100%);
	color: #ffffff;
	box-shadow: 0 12px 28px rgba(14, 120, 255, 0.24);
}

.cm-btn-primary:hover {
	border-color: transparent;
	background: linear-gradient(120deg, #0d6be3 0%, #00a38d 100%);
	color: #ffffff;
	box-shadow: 0 16px 34px rgba(14, 120, 255, 0.28);
}

body.clica-manager-frontend-template a.cm-project-edit-btn,
body.clica-manager-frontend-template a.cm-project-edit-btn:hover,
body.clica-manager-frontend-template a.cm-project-edit-btn:focus,
body.clica-manager-frontend-template a.cm-project-edit-btn:visited {
	color: #ffffff;
}

.cm-btn-danger {
	background: linear-gradient(120deg, #f56872 0%, #e44653 100%);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(227, 70, 83, 0.26);
}

.cm-btn-danger:hover {
	background: linear-gradient(120deg, #de5863 0%, #cc3946 100%);
	border-color: transparent;
	color: #ffffff;
}

.cm-btn-small {
	height: 34px;
	padding: 0 12px;
	border-radius: 10px;
	font-size: 12px;
}

.cm-app-shell {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 24px;
	box-sizing: border-box;
}

.cm-app {
	--cm-sidebar-bg: linear-gradient(168deg, #102541 0%, #0f2f47 58%, #15385a 100%);
	--cm-sidebar-border: rgba(168, 218, 255, 0.2);
	--cm-surface: rgba(255, 255, 255, 0.88);
	--cm-surface-strong: #ffffff;
	--cm-surface-soft: #f5f9fe;
	--cm-border: #d7e5f5;
	--cm-border-strong: #c3d7ed;
	--cm-text: #132a41;
	--cm-muted: #62798f;
	--cm-accent: #0f79ff;
	--cm-accent-2: #00b69d;
	--cm-success: #0ea96e;
	--cm-danger: #dc4e5f;
	--cm-warning: #d08a1b;
	display: grid;
	grid-template-columns: 292px minmax(0, 1fr);
	min-height: calc(100vh - 48px);
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid rgba(188, 213, 235, 0.5);
	background: linear-gradient(156deg, #edf5fd 0%, #f8fbff 100%);
	box-shadow:
		0 28px 65px rgba(12, 41, 74, 0.16),
		0 2px 0 rgba(255, 255, 255, 0.55) inset;
	color: var(--cm-text);
	position: relative;
	transition: grid-template-columns 0.24s ease;
}

.cm-app::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
	background-size: 26px 26px;
	opacity: 0.28;
	mix-blend-mode: soft-light;
}

.cm-sidebar {
	position: relative;
	z-index: 2;
	background: var(--cm-sidebar-bg);
	border-right: 1px solid var(--cm-sidebar-border);
	padding: 24px 18px;
	box-sizing: border-box;
	color: #edf6ff;
	transition: padding 0.22s ease;
}

.cm-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.cm-brand-mark {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(130deg, #3be0ff 0%, #0f79ff 55%, #00b69d 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #05213d;
	box-shadow: 0 14px 28px rgba(0, 146, 214, 0.4);
	overflow: hidden;
}

.cm-brand-icon {
	display: block;
	width: 27px;
	height: 27px;
	object-fit: contain;
}

.cm-brand-text strong {
	display: block;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.cm-brand-text span {
	display: block;
	font-size: 12px;
	color: rgba(220, 236, 255, 0.76);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cm-user-box {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(177, 208, 236, 0.25);
	border-radius: 14px;
	padding: 12px;
	margin-bottom: 20px;
	backdrop-filter: blur(2px);
}

.cm-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(140deg, #c8e6ff 0%, #6fc3ff 100%);
	color: #0e2a45;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	overflow: hidden;
}

.cm-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.cm-user-meta {
	min-width: 0;
}

.cm-user-meta strong,
.cm-user-meta span {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cm-user-meta strong {
	font-size: 13px;
	color: #f5faff;
}

.cm-user-meta span {
	font-size: 11px;
	color: rgba(214, 231, 249, 0.72);
}

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

.cm-nav-link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 12px;
	color: rgba(230, 242, 255, 0.82);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid transparent;
	transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cm-nav-link .dashicons {
	font-size: 17px;
	width: 17px;
	height: 17px;
}

.cm-nav-link-text {
	display: inline-block;
}

.cm-nav-link:hover {
	transform: translateX(2px);
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border-color: rgba(176, 210, 240, 0.4);
}

.cm-nav-link.is-active {
	background: linear-gradient(120deg, rgba(15, 121, 255, 0.38) 0%, rgba(0, 182, 157, 0.28) 100%);
	border-color: rgba(125, 201, 255, 0.58);
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(7, 63, 117, 0.32);
}

.cm-main {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-rows: 78px minmax(0, 1fr);
	min-width: 0;
}

.cm-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 26px;
	background: rgba(255, 255, 255, 0.64);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #d7e4f3;
}

.cm-topbar-left,
.cm-topbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cm-topbar-active-timer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	background: #eaf6ff;
	border: 1px solid #c7dff6;
	color: #1f4769;
}

.cm-topbar-active-timer-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #3c6485;
}

.cm-topbar-active-timer strong {
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: 14px;
	color: #0f2f4d;
}

.cm-topbar-timer-btn .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

.cm-search {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 360px;
	height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	background: #ffffff;
	border: 1px solid #cfdeef;
	color: #5f7891;
}

.cm-search input {
	width: 100%;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 13px;
	color: #42617f;
}

.cm-search input::placeholder {
	color: #8aa0b7;
}

.cm-icon-btn {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	border: 1px solid #c7d9ec;
	background: #ffffff;
	color: #2a4969;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cm-icon-btn:hover {
	transform: translateY(-1px);
	border-color: #96bce2;
	box-shadow: 0 8px 16px rgba(27, 73, 117, 0.14);
}

.cm-app.is-sidebar-collapsed {
	grid-template-columns: 88px minmax(0, 1fr);
}

.cm-app.is-sidebar-collapsed .cm-sidebar {
	padding: 22px 10px;
}

.cm-app.is-sidebar-collapsed .cm-brand {
	justify-content: center;
}

.cm-app.is-sidebar-collapsed .cm-brand-text,
.cm-app.is-sidebar-collapsed .cm-user-meta,
.cm-app.is-sidebar-collapsed .cm-nav-link-text {
	display: none;
}

.cm-app.is-sidebar-collapsed .cm-user-box {
	display: none;
}

.cm-app.is-sidebar-collapsed .cm-avatar {
	margin: 0;
}

.cm-app.is-sidebar-collapsed .cm-nav-link {
	justify-content: center;
	padding: 0;
	gap: 0;
	min-height: 42px;
}

.cm-content {
	padding: 24px 26px 80px;
	overflow: auto;
	min-width: 0;
}

.cm-content > * {
	animation: cm-fade-up 0.5s ease both;
}

.cm-content > *:nth-child(2) {
	animation-delay: 0.05s;
}

.cm-content > *:nth-child(3) {
	animation-delay: 0.1s;
}

.cm-content > *:nth-child(4) {
	animation-delay: 0.15s;
}

.cm-content > *:nth-child(5) {
	animation-delay: 0.2s;
}

.cm-page-head {
	margin-bottom: 16px;
}

.cm-page-head h1 {
	margin: 0;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: clamp(28px, 2.5vw, 36px);
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #0f2942;
}

.cm-inline-notice {
	display: flex;
	align-items: center;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff7e8;
	border: 1px solid #f2d5a5;
	color: #8f6008;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 500;
}

.cm-inline-notice.is-error {
	background: #fff1f3;
	border-color: #f5c2cb;
	color: #af3042;
}

.cm-inline-notice.is-success {
	background: #edfcf5;
	border-color: #bde7d1;
	color: #15704a;
}

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

.cm-metrics-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cm-panels-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 14px;
	margin-bottom: 14px;
}

body.clica-manager-frontend-template .cm-card {
	background: var(--cm-surface);
	border: 1px solid var(--cm-border);
	border-radius: 18px;
	padding: 22px 24px;
	box-sizing: border-box;
	box-shadow: 0 18px 32px rgba(24, 68, 109, 0.09);
	backdrop-filter: blur(4px);
}

.cm-card h3 {
	margin: 0 0 12px;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #123252;
}

.cm-card .cm-value {
	margin: 0 0 8px;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: clamp(30px, 2.5vw, 38px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f2b44;
}

.cm-card .cm-value.is-positive {
	color: var(--cm-success);
}

.cm-card .cm-value.is-negative {
	color: var(--cm-danger);
}

.cm-metric-card,
.cm-finance-card {
	position: relative;
	overflow: hidden;
}

body.clica-manager-frontend-template .cm-metric-card {
	padding: 26px 28px;
}

.cm-metric-card h3 {
	margin: 0 0 14px;
}

.cm-metric-card .cm-value {
	margin: 0 0 10px;
}

.cm-metric-card .cm-muted {
	line-height: 1.5;
}

.cm-metric-card::before,
.cm-finance-card::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(120deg, #0f79ff 0%, #00b69d 100%);
}

.cm-dashboard-chart-card {
	margin-bottom: 14px;
}

.cm-dashboard-chart-head {
	align-items: flex-start;
}

.cm-dashboard-chart-head .cm-muted {
	margin-top: 4px;
}

.cm-dashboard-chart-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	border: 1px solid #c8daec;
	border-radius: 14px;
	background: #f3f9ff;
}

.cm-dashboard-chart-toggle-btn {
	height: 30px;
	min-width: 92px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: #2c5577;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.cm-dashboard-chart-toggle-btn:hover {
	background: #e9f4ff;
	border-color: #b7d1ea;
	color: #1b4668;
}

.cm-dashboard-chart-toggle-btn.is-active {
	background: #ffffff;
	border-color: #9fc5e8;
	color: #0f79ff;
	box-shadow: 0 6px 14px rgba(15, 121, 255, 0.16);
}

.cm-dashboard-chart-panel {
	display: grid;
	gap: 12px;
}

.cm-dashboard-chart-summary {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 12px;
	color: #53718e;
}

.cm-dashboard-chart-summary strong {
	font-size: 12px;
	color: #1e4466;
}

.cm-dashboard-column-chart {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 10px;
	align-items: stretch;
	min-height: 320px;
}

.cm-dashboard-column-y-axis {
	position: relative;
	min-height: 320px;
	padding: 0 0 34px;
}

.cm-dashboard-column-y-axis span {
	position: absolute;
	right: 0;
	transform: translateY(50%);
	font-size: 11px;
	font-weight: 600;
	color: #64839e;
	white-space: nowrap;
}

.cm-dashboard-column-canvas {
	position: relative;
	min-height: 320px;
	padding: 0 6px 34px;
	border-left: 1px solid #cfdff0;
	border-bottom: 1px solid #cfdff0;
	border-radius: 0 0 0 8px;
	overflow-x: auto;
	overflow-y: visible;
}

.cm-dashboard-column-grid {
	position: absolute;
	inset: 0 0 34px;
	pointer-events: none;
}

.cm-dashboard-column-grid span {
	position: absolute;
	inset: auto 0 0 0;
	border-top: 1px solid #dbe8f6;
}

.cm-dashboard-column-bars {
	position: relative;
	z-index: 1;
	height: 100%;
	min-height: 286px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(18px, 1fr);
	align-items: end;
	gap: 8px;
	min-width: max(100%, calc(var(--cm-points-count, 1) * 26px));
}

.cm-dashboard-column-item {
	display: grid;
	grid-template-rows: minmax(0, 1fr) 34px;
	align-items: end;
	justify-items: center;
	min-width: 0;
}

.cm-dashboard-column-bar-wrap {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.cm-dashboard-column-bar {
	display: block;
	width: min(100%, 28px);
	height: var(--cm-bar-height, 0%);
	min-height: 0;
	border-radius: 10px 10px 0 0;
	background: linear-gradient(
		180deg,
		hsl(var(--cm-bar-hue, 196), 62%, 68%) 0%,
		hsl(var(--cm-bar-hue, 196), 56%, 57%) 100%
	);
	box-shadow: 0 10px 18px rgba(28, 89, 142, 0.2);
	transition: transform 0.16s ease, filter 0.16s ease;
}

.cm-dashboard-column-item:hover .cm-dashboard-column-bar {
	transform: translateY(-2px);
	filter: saturate(1.05);
}

.cm-dashboard-column-label {
	display: block;
	margin-top: 8px;
	font-size: 11px;
	font-weight: 700;
	color: #4b6b87;
	transform: rotate(-32deg);
	transform-origin: top center;
	white-space: nowrap;
}

.cm-financial-billing-table td:nth-child(4),
.cm-financial-billing-table td:nth-child(5),
.cm-financial-billing-table td:nth-child(7) {
	white-space: nowrap;
}

.cm-financial-status-filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
	padding: 4px;
	border: 1px solid #c8daec;
	border-radius: 14px;
	background: #f3f9ff;
}

.cm-financial-filters-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.cm-financial-status-filter {
	margin-bottom: 0;
}

.cm-financial-client-filter-form {
	margin: 0;
}

.cm-financial-client-filter-form select {
	min-width: 190px;
	height: 34px;
	padding: 0 34px 0 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}

.cm-financial-client-filter-form .cm-hours-per-page-select {
	min-width: 128px;
}

.cm-financial-filter-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	flex-wrap: wrap;
}

.cm-financial-bulk-trigger {
	min-height: 34px;
	padding-inline: 16px;
	white-space: nowrap;
	cursor: pointer;
}

.cm-financial-bulk-switch {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cm-financial-bulk-panel {
	display: none;
	margin: 0 0 12px;
	padding: 12px;
	border: 1px solid #d7e4f2;
	border-radius: 12px;
	background: #f9fcff;
}

.cm-financial-bulk-switch:checked + .cm-financial-bulk-panel {
	display: block;
}

.cm-financial-bulk-actions-form {
	margin: 0;
	display: grid;
	gap: 10px;
}

.cm-financial-bulk-inputs {
	display: grid;
	grid-template-columns: minmax(220px, 320px) minmax(260px, 1fr);
	gap: 8px;
	align-items: center;
}

.cm-financial-bulk-inputs select {
	height: 34px;
	padding: 0 34px 0 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}

.cm-financial-bulk-inputs input[type="file"] {
	max-width: 100%;
	font-size: 12px;
}

.cm-financial-bulk-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cm-financial-bulk-actions .cm-btn {
	min-height: 34px;
	white-space: nowrap;
}

.cm-financial-bulk-hint {
	margin: 0;
	font-size: 12px;
}

.cm-financial-bulk-select-cell {
	width: 36px;
	text-align: center;
}

.cm-financial-bulk-switch:not(:checked) ~ .cm-table-wrap .cm-financial-bulk-select-cell {
	display: none;
}

.cm-financial-bulk-switch:checked ~ .cm-table-wrap .cm-financial-bulk-select-cell {
	display: table-cell;
}

.cm-financial-bulk-select-cell input[type="checkbox"],
.cm-financial-bulk-checkbox {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.cm-financial-status-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	min-width: 100px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: #2c5577;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.cm-financial-status-pill:hover {
	background: #e9f4ff;
	border-color: #b7d1ea;
	color: #1b4668;
}

.cm-financial-status-pill.is-active {
	background: #ffffff;
	border-color: #9fc5e8;
	color: #0f79ff;
	box-shadow: 0 6px 14px rgba(15, 121, 255, 0.16);
}

.cm-financial-inline-status-form {
	margin: 0;
}

.cm-financial-inline-status-form select {
	min-width: 126px;
	height: 32px;
	padding: 0 30px 0 10px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
}

.cm-project-inline-state-form {
	margin: 0;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.cm-project-inline-state-form select {
	width: fit-content;
	max-width: 100%;
	min-width: 0;
	min-height: 24px;
	height: 24px;
	padding: 0 20px 0 9px;
	border-radius: 999px;
	border: 1px solid #d6e0ea;
	background-color: #f4f7fa;
	background-size: 9px 9px;
	background-position: right 6px center;
	font-size: 10px;
	font-weight: 500;
	line-height: 1;
	color: #41586d;
	box-shadow: none;
	field-sizing: content;
}

.cm-project-inline-state-form select:hover {
	border-color: #c2d0dd;
	background-color: #eef3f7;
	box-shadow: none;
	transform: none;
}

.cm-project-inline-state-form select:focus {
	border-color: #b7cadf;
	box-shadow: 0 0 0 2px rgba(15, 121, 255, 0.06);
}

.cm-financial-totals-row td {
	background: #f4f9ff;
	border-top: 2px solid #d7e5f3;
	font-weight: 700;
}

.cm-financial-dev-modal-card {
	width: min(1120px, 100%);
}

.cm-financial-bulk-modal-card {
	width: min(1120px, 100%);
	max-height: calc(100vh - 36px);
	overflow: auto;
}

.cm-financial-bulk-overview-grid {
	margin: 12px 0;
}

.cm-financial-bulk-dev-table td {
	vertical-align: middle;
}

.cm-financial-dev-form {
	margin-bottom: 0;
}

.cm-financial-dev-table td {
	vertical-align: middle;
}

.cm-financial-dev-isencao {
	margin: 0;
}

.cm-financial-invoice-btn {
	min-width: 92px;
}

.cm-financial-invoice-modal-card {
	width: min(920px, 100%);
	max-height: calc(100vh - 36px);
	overflow: auto;
}

.cm-financial-invoice-table td {
	vertical-align: middle;
}

.cm-financial-invoice-accordion {
	display: grid;
	gap: 8px;
}

.cm-financial-invoice-item {
	border: 1px solid #d7e4f2;
	border-radius: 12px;
	background: #f9fcff;
}

.cm-financial-invoice-summary {
	padding: 10px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
}

.cm-financial-invoice-summary::-webkit-details-marker {
	display: none;
}

.cm-financial-invoice-summary::before {
	content: "▸";
	color: #4b6b87;
	font-size: 13px;
	margin-right: 6px;
}

.cm-financial-invoice-item[open] .cm-financial-invoice-summary::before {
	content: "▾";
}

.cm-financial-invoice-summary strong {
	display: inline-block;
	margin-right: auto;
}

.cm-financial-invoice-content {
	padding: 0 12px 12px;
	display: grid;
	gap: 10px;
}

.cm-financial-invoice-meta {
	display: grid;
	gap: 4px;
}

.cm-financial-invoice-upload-form {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cm-financial-invoice-delete-form {
	margin: 0;
}

.cm-financial-invoice-upload-form input[type="file"] {
	max-width: 220px;
	font-size: 12px;
}

.cm-financial-invoice-size {
	margin-top: 4px;
	font-size: 11px;
}

.cm-muted {
	margin: 0;
	color: var(--cm-muted);
	font-size: 13px;
}

.cm-panel,
.cm-panel-wide {
	min-width: 0;
}

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

.cm-panel-head--spaced {
	margin-top: 18px;
}

.cm-panel-head--actions-only {
	justify-content: flex-end;
}

.cm-panel-head--actions-only .cm-projects-toolbar-actions {
	width: 100%;
}

.cm-projects-list-card,
.cm-project-form-card,
.cm-project-single-head,
.cm-project-tab-card {
	margin-bottom: 14px;
}

.cm-filters-form,
.cm-project-form,
.cm-inline-task-form,
.cm-time-start-form {
	display: grid;
	gap: 12px;
	margin-bottom: 14px;
}

.cm-filters-form {
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	align-items: end;
}

.cm-hours-filters-form {
	grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
	align-items: end;
}

.cm-filters-form label,
.cm-project-form label,
.cm-inline-task-form label,
.cm-time-start-form label,
.cm-task-field {
	display: grid;
	gap: 6px;
}

.cm-filters-form label span,
.cm-project-form label span,
.cm-inline-task-form label span,
.cm-time-start-form label span,
.cm-task-field span {
	color: #53708d;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cm-checkbox-field {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	font-size: 13px;
}

.cm-checkbox-field span {
	font-size: 13px;
	font-weight: 500;
	color: #274663;
	text-transform: none;
	letter-spacing: 0;
}

.cm-app input[type="text"],
.cm-app input[type="number"],
.cm-app input[type="date"],
.cm-app input[type="time"],
.cm-app input[type="search"],
.cm-app select,
.cm-app textarea,
.cm-auth-form input[type="text"],
.cm-auth-form input[type="password"],
.cm-modal-overlay input[type="text"],
.cm-modal-overlay input[type="number"],
.cm-modal-overlay input[type="date"],
.cm-modal-overlay input[type="time"],
.cm-modal-overlay input[type="search"],
.cm-modal-overlay select,
.cm-modal-overlay textarea {
	width: 100%;
	min-height: 42px;
	border-radius: 12px;
	border: 1px solid #c5d8eb;
	background: #ffffff;
	color: #15334f;
	padding: 10px 12px;
	font-size: 13px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.16s ease;
}

.cm-app select,
.cm-modal-overlay select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 40px;
	cursor: pointer;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23516f8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 14px 14px;
	background-position: right 12px center;
	background-repeat: no-repeat;
}

.cm-app input[type="text"]:hover,
.cm-app input[type="number"]:hover,
.cm-app input[type="date"]:hover,
.cm-app input[type="time"]:hover,
.cm-app input[type="search"]:hover,
.cm-app select:hover,
.cm-auth-form input[type="text"]:hover,
.cm-auth-form input[type="password"]:hover,
.cm-modal-overlay input[type="text"]:hover,
.cm-modal-overlay input[type="number"]:hover,
.cm-modal-overlay input[type="date"]:hover,
.cm-modal-overlay input[type="time"]:hover,
.cm-modal-overlay input[type="search"]:hover,
.cm-modal-overlay select:hover {
	border-color: #96b8dc;
	box-shadow: 0 8px 16px rgba(20, 74, 122, 0.1);
	transform: translateY(-1px);
}

.cm-app textarea:hover,
.cm-modal-overlay textarea:hover {
	border-color: #96b8dc;
	box-shadow: 0 8px 16px rgba(20, 74, 122, 0.1);
}

.cm-app input[type="text"]:disabled,
.cm-app input[type="number"]:disabled,
.cm-app input[type="date"]:disabled,
.cm-app input[type="time"]:disabled,
.cm-app input[type="search"]:disabled,
.cm-app select:disabled,
.cm-auth-form input[type="text"]:disabled,
.cm-auth-form input[type="password"]:disabled,
.cm-modal-overlay input[type="text"]:disabled,
.cm-modal-overlay input[type="number"]:disabled,
.cm-modal-overlay input[type="date"]:disabled,
.cm-modal-overlay input[type="time"]:disabled,
.cm-modal-overlay input[type="search"]:disabled,
.cm-modal-overlay select:disabled {
	cursor: not-allowed;
	opacity: 0.72;
	background-color: #f3f7fc;
}

.cm-app select:disabled,
.cm-modal-overlay select:disabled {
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%2392a9c1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 14px 14px;
	background-position: right 12px center;
	background-repeat: no-repeat;
}

.cm-app select::-ms-expand,
.cm-modal-overlay select::-ms-expand {
	display: none;
}

.cm-app textarea,
.cm-modal-overlay textarea {
	min-height: 140px;
	resize: vertical;
}

.cm-app input[type="checkbox"],
.cm-modal-overlay input[type="checkbox"] {
	width: 17px;
	height: 17px;
	accent-color: #0f79ff;
}

.cm-app input:focus,
.cm-app select:focus,
.cm-app textarea:focus,
.cm-auth-form input:focus,
.cm-modal-overlay input:focus,
.cm-modal-overlay select:focus,
.cm-modal-overlay textarea:focus {
	outline: 0;
	border-color: #7eb1e1;
	box-shadow: 0 0 0 3px rgba(15, 121, 255, 0.12);
}

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

.cm-form-field-span-2 {
	grid-column: 1 / -1;
}

.cm-hours-date-time-group {
	display: grid;
	gap: 12px;
}

.cm-hours-time-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.cm-hours-manual-form [data-cm-entry-duration].is-derived {
	background: #f3f8fd;
	color: #365a7a;
}

.cm-searchable-select {
	position: relative;
	display: grid;
	gap: 6px;
	align-content: start;
}

.cm-searchable-select > span {
	color: #53708d;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cm-searchable-select-control {
	position: relative;
}

.cm-searchable-select-control input[type="text"] {
	padding-right: 42px;
}

.cm-searchable-select-toggle {
	position: absolute;
	top: 50%;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #516f8d;
	cursor: pointer;
	transform: translateY(-50%);
	transition: transform 0.18s ease, color 0.18s ease;
}

.cm-searchable-select.is-open .cm-searchable-select-toggle {
	transform: translateY(-50%) rotate(180deg);
}

.cm-searchable-select-toggle:hover {
	color: #1f507d;
}

.cm-searchable-select-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 40;
	display: grid;
	gap: 4px;
	max-height: 240px;
	padding: 6px;
	overflow-y: auto;
	border: 1px solid #c5d8eb;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 18px 30px rgba(20, 74, 122, 0.16);
}

.cm-searchable-select-dropdown[hidden] {
	display: none;
}

.cm-searchable-select-option,
.cm-searchable-select-empty {
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.35;
}

.cm-searchable-select-option {
	width: 100%;
	border: 0;
	background: transparent;
	color: #15334f;
	text-align: left;
	cursor: pointer;
}

.cm-searchable-select-option:hover,
.cm-searchable-select-option.is-active {
	background: #eef6ff;
}

.cm-searchable-select-option.is-selected {
	background: #e5f1ff;
	font-weight: 700;
}

.cm-searchable-select-empty {
	color: #6b84a0;
}

[data-cm-retainer-field][hidden] {
	display: none !important;
}

.cm-inline-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.cm-inline-actions form {
	margin: 0;
}

.cm-table td .cm-inline-actions {
	flex-wrap: nowrap;
	white-space: nowrap;
}

.cm-table td .cm-inline-actions > * {
	flex: 0 0 auto;
}

.cm-table td .cm-inline-actions .cm-btn {
	white-space: nowrap;
}

.cm-projects-table tr.is-late {
	background: #fff8eb;
}

.cm-projects-table tr.is-risk {
	background: #fff3f5;
}

.cm-projects-table tr.is-bank-negative td {
	background: #fff3f5;
}

.cm-projects-table tr.is-bank-zero td {
	background: #edf9f1;
}

.cm-projects-table tr.is-paused td {
	background: #fff8eb;
	padding-top: 16px;
	padding-bottom: 16px;
	border-bottom: 0;
}

.cm-projects-table tbody tr.is-paused:hover td {
	background: #fff8eb;
}

.cm-project-pause-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	min-width: 24px;
	height: 24px;
	padding: 0;
	border: 1px solid #d7e4f3;
	border-radius: 999px;
	background: #ffffff;
	color: #5f7894;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.cm-project-pause-toggle:hover {
	border-color: #c4d5e7;
	background: #f5f8fc;
	color: #1c3f60;
}

.cm-project-pause-toggle:focus-visible {
	outline: 2px solid #7ca1c9;
	outline-offset: 2px;
}

.cm-project-pause-toggle-icon {
	display: block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
}

.cm-projects-table tr.is-paused.is-pause-notes-collapsed td {
	border-bottom: 1px solid #e3edf7;
}

.cm-project-pause-notes-row td {
	background: #fffdf6;
	padding-top: 0;
	padding-bottom: 8px;
}

.cm-project-pause-notes-row[hidden] {
	display: none;
}

.cm-project-pause-notes-form {
	display: grid;
	gap: 6px;
	width: 100%;
}

.cm-project-pause-notes-field {
	display: grid;
	gap: 4px;
}

.cm-project-pause-notes-field span {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #8d6a1f;
}

.cm-project-pause-notes-field textarea {
	width: 100%;
	min-height: 58px;
	background: #ffffff;
}

.cm-projects-table tbody tr.is-bank-negative:hover td {
	background: #fff3f5;
}

.cm-projects-table tbody tr.is-bank-zero:hover td {
	background: #edf9f1;
}

.cm-tab-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 8px;
}

.cm-tab-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid #c4d8ec;
	background: #ffffff;
	color: #285074;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: all 0.2s ease;
}

.cm-tab-link.is-active,
.cm-tab-link:hover {
	background: linear-gradient(120deg, #0f79ff 0%, #00b69d 100%);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 10px 18px rgba(15, 121, 255, 0.22);
}

.cm-overview-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.cm-overview-kpi {
	padding: 14px;
	border-radius: 14px;
	background: var(--cm-surface-soft);
	border: 1px solid var(--cm-border);
}

.cm-overview-kpi h4 {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #4f6e8d;
}

.cm-overview-kpi p {
	margin: 0;
	font-size: 17px;
	color: #173654;
}

.cm-tasks-toolbar {
	margin-bottom: 14px;
}

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

.cm-kanban-column {
	background: linear-gradient(180deg, #f8fbff 0%, #eff5fc 100%);
	border: 1px solid #cfdeef;
	border-radius: 16px;
	padding: 12px;
	min-height: 420px;
}

.cm-kanban-column-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.cm-kanban-column-head h3 {
	margin: 0;
	font-size: 14px;
}

.cm-kanban-column-head span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 26px;
	padding: 0 8px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid #c9dbef;
	color: #355777;
	font-size: 12px;
	font-weight: 700;
}

.cm-kanban-list {
	display: grid;
	gap: 10px;
}

.cm-task-card {
	background: #ffffff;
	border: 1px solid #d3e0ef;
	border-radius: 14px;
	padding: 12px;
	display: grid;
	gap: 10px;
	box-shadow: 0 10px 20px rgba(23, 67, 109, 0.08);
}

.cm-task-card-top {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.cm-task-project {
	font-size: 12px;
	font-weight: 700;
	color: #1f466a;
}

.cm-task-subtask {
	font-size: 11px;
	color: #2f6b87;
	background: #ecf8ff;
	border: 1px solid #bfe3f8;
	border-radius: 999px;
	padding: 3px 8px;
}

.cm-task-metrics {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	font-size: 12px;
	color: #577390;
}

.cm-task-metrics strong {
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: 16px;
	color: #193f61;
}

.cm-task-state-buttons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.cm-task-state-btn {
	height: 30px;
	border-radius: 9px;
	border: 1px solid #c4d8ec;
	background: #f8fbff;
	color: #305573;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.18s ease;
}

.cm-task-state-btn:hover {
	border-color: #8fb7de;
	background: #edf5fe;
}

.cm-task-state-btn.is-active {
	background: linear-gradient(120deg, #0f79ff 0%, #00b69d 100%);
	border-color: transparent;
	color: #ffffff;
}

.cm-task-card-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.cm-task-feedback,
.cm-timer-feedback {
	margin: 0;
	font-size: 12px;
	font-weight: 500;
	color: #5b7894;
}

.cm-task-feedback.is-loading,
.cm-timer-feedback.is-loading {
	color: #ab7518;
}

.cm-task-feedback.is-success,
.cm-timer-feedback.is-success {
	color: #148756;
}

.cm-task-feedback.is-error,
.cm-timer-feedback.is-error {
	color: #b53749;
}

.cm-kanban-empty {
	padding: 12px;
	border: 1px dashed #b8d1e7;
	border-radius: 12px;
	font-size: 12px;
	color: #5e7993;
	background: #f9fcff;
}

.cm-table-wrap {
	overflow: auto;
	border: 1px solid #d3e0ef;
	border-radius: 14px;
	background: #ffffff;
}

.cm-table {
	width: 100%;
	border-collapse: collapse;
}

.cm-table th,
.cm-table td {
	text-align: left;
	padding: 12px 10px;
	border-bottom: 1px solid #e3edf7;
	font-size: 13px;
	vertical-align: top;
	color: #1c3f60;
}

.cm-table th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #f4f9ff;
	color: #4a6683;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cm-sort-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	text-decoration: none;
}

.cm-sort-link:hover {
	color: #20527a;
}

.cm-sort-arrow {
	font-size: 10px;
	opacity: 0.55;
	line-height: 1;
}

.cm-sort-link.is-active .cm-sort-arrow {
	opacity: 1;
	color: #0f79ff;
}

.cm-table tbody tr:hover td {
	background: #f8fbff;
}

.cm-table tr.is-risk td {
	background: #fff3f5;
}

.cm-progress-line {
	height: 7px;
	min-width: 110px;
	margin-bottom: 6px;
	border-radius: 999px;
	background: #dde9f5;
	overflow: hidden;
}

.cm-progress-line span {
	display: block;
	height: 100%;
	background: linear-gradient(120deg, #0f79ff 0%, #00b69d 100%);
}

.cm-usage-text {
	font-size: 12px;
	color: #3d5f7e;
	font-weight: 600;
}

.cm-user-hours-list,
.cm-task-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cm-user-hours-list li,
.cm-task-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid #deebf7;
}

.cm-user-hours-list li:last-child,
.cm-task-list li:last-child {
	border-bottom: 0;
}

.cm-task-list li {
	flex-direction: column;
	align-items: flex-start;
}

.cm-task-list li strong {
	color: #133656;
}

.cm-task-list li span {
	font-size: 12px;
	color: #5f7992;
}

.cm-client-type-inline {
	margin-left: 6px;
	font-size: 11px;
	text-transform: lowercase;
	letter-spacing: 0.02em;
}

.cm-calendar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
	gap: 18px;
	align-items: start;
}

.cm-calendar-board-card,
.cm-calendar-day-card,
.cm-calendar-items-card {
	margin-bottom: 14px;
}

.cm-calendar-head {
	align-items: flex-start;
}

.cm-calendar-kicker {
	margin: 0 0 4px;
	color: #6d859c;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.cm-calendar-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.cm-calendar-summary-item {
	display: grid;
	gap: 6px;
	padding: 12px 14px;
	border: 1px solid #dbe7f2;
	border-radius: 16px;
	background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.cm-calendar-summary-item span {
	color: #6d859c;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cm-calendar-summary-item strong {
	font-size: 22px;
	line-height: 1;
	color: #163857;
}

.cm-calendar-board-scroll {
	overflow: auto;
	padding-bottom: 4px;
}

.cm-calendar-board-inner {
	min-width: 760px;
}

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

.cm-calendar-weekdays {
	margin-bottom: 10px;
}

.cm-calendar-weekday {
	padding: 0 4px;
	color: #6d859c;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cm-calendar-day {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 150px;
	padding: 12px;
	border: 1px solid #dbe7f2;
	border-radius: 16px;
	background: #ffffff;
	color: #1c3f60;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cm-calendar-day:hover {
	border-color: #bcd2e8;
	box-shadow: 0 10px 24px rgba(17, 45, 74, 0.08);
	transform: translateY(-1px);
}

.cm-calendar-day.is-outside-month {
	background: #f8fbfe;
	opacity: 0.68;
}

.cm-calendar-day.is-selected {
	border-color: #86abcf;
	box-shadow: 0 0 0 3px rgba(109, 150, 194, 0.14);
	background: #f7fbff;
}

.cm-calendar-day.is-today .cm-calendar-day-head strong {
	background: #153856;
	color: #ffffff;
}

.cm-calendar-day.has-urgent {
	border-color: #e2b0aa;
	box-shadow: inset 0 3px 0 #d66b5f;
}

.cm-calendar-day-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.cm-calendar-day-head strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: #eef4fb;
	font-size: 14px;
	line-height: 1;
}

.cm-calendar-day-head span {
	color: #6d859c;
	font-size: 12px;
	font-weight: 600;
}

.cm-calendar-day-list,
.cm-calendar-items-list {
	display: grid;
	gap: 8px;
}

.cm-calendar-mini-pill,
.cm-calendar-priority-pill {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.cm-calendar-mini-pill {
	width: 100%;
	padding: 7px 9px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	text-transform: none;
}

.cm-calendar-priority-pill {
	padding: 4px 10px;
}

.cm-calendar-mini-pill.is-baixa,
.cm-calendar-priority-pill.is-baixa {
	background: #edf2f7;
	color: #53687a;
}

.cm-calendar-mini-pill.is-media,
.cm-calendar-priority-pill.is-media {
	background: #e8f2ff;
	color: #28507d;
}

.cm-calendar-mini-pill.is-alta,
.cm-calendar-priority-pill.is-alta {
	background: #fff2de;
	color: #915d0f;
}

.cm-calendar-mini-pill.is-urgente,
.cm-calendar-priority-pill.is-urgente {
	background: #ffe3df;
	color: #9f3224;
}

.cm-calendar-mini-pill.is-done {
	opacity: 0.62;
	text-decoration: line-through;
}

.cm-calendar-mini-more,
.cm-calendar-items-count,
.cm-calendar-item-meta {
	color: #6d859c;
	font-size: 12px;
	font-weight: 600;
}

.cm-calendar-side {
	display: grid;
	gap: 14px;
	align-content: start;
}

.cm-calendar-form-head {
	margin-bottom: 0;
}

.cm-calendar-form-head h4 {
	margin: 0;
	font-size: 15px;
	color: #1c3f60;
}

.cm-calendar-item {
	display: grid;
	gap: 10px;
	padding: 14px;
	border: 1px solid #dbe7f2;
	border-radius: 16px;
	background: #fcfdff;
}

.cm-calendar-item.is-done {
	background: #f5faf6;
	border-color: #d7e6da;
}

.cm-calendar-item.is-done strong,
.cm-calendar-item.is-done .cm-calendar-item-notes {
	opacity: 0.68;
	text-decoration: line-through;
}

.cm-calendar-item-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.cm-calendar-item-title-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.cm-calendar-item-title-wrap strong {
	font-size: 14px;
	color: #173757;
}

.cm-calendar-item-notes {
	margin: 0;
	color: #4e6982;
	font-size: 13px;
	line-height: 1.55;
}

.cm-calendar-items-card > .cm-muted {
	margin-top: 4px;
}

.cm-placeholder-card {
	min-height: 210px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (max-width: 1200px) {
	.cm-calendar-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.cm-calendar-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cm-calendar-day {
		min-height: 134px;
	}
}

.cm-settings-profile-card {
	max-width: 760px;
}

.cm-settings-profile-layout {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.cm-settings-profile-meta strong,
.cm-settings-profile-meta span {
	display: block;
}

.cm-settings-profile-meta strong {
	font-size: 15px;
	color: #163451;
}

.cm-settings-profile-meta span {
	font-size: 12px;
	color: #5c7894;
}

.cm-settings-avatar-preview {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: linear-gradient(140deg, #c8e6ff 0%, #6fc3ff 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0e2a45;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	font-size: 22px;
	overflow: hidden;
}

.cm-settings-avatar-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.cm-settings-photo-form input[type="file"] {
	padding: 8px 12px;
	min-height: 42px;
}

.cm-settings-retainer-notifications-card {
	max-width: 1100px;
	margin-top: 14px;
}

.cm-settings-notification-help {
	margin: 0 0 12px;
}

.cm-settings-retainer-notifications-form {
	display: grid;
	gap: 12px;
}

.cm-settings-notification-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #234666;
}

.cm-settings-notification-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
}

.cm-settings-peer-note {
	margin: 0 0 6px;
}

.cm-settings-peer-note:last-child {
	margin-bottom: 0;
}

.cm-hours-total-card,
.cm-hours-filters-card,
.cm-hours-list-card {
	margin-bottom: 14px;
}

.cm-hours-toolbar-head {
	align-items: center;
	gap: 12px;
	flex-wrap: nowrap;
}

.cm-hours-toolbar-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: nowrap;
}

.cm-projects-toolbar-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: nowrap;
}

.cm-project-filters-menu {
	position: relative;
	margin: 0;
}

.cm-project-filters-menu summary {
	list-style: none;
}

.cm-project-filters-menu summary::-webkit-details-marker {
	display: none;
}

.cm-project-filters-toggle {
	width: 34px;
	height: 34px;
	border-radius: 10px;
}

.cm-project-filters-menu[open] .cm-project-filters-toggle {
	border-color: #9fc5e8;
	box-shadow: 0 8px 16px rgba(27, 73, 117, 0.14);
}

.cm-project-filters-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 20;
	min-width: 260px;
	padding: 12px;
	border-radius: 14px;
	border: 1px solid #c7d9ec;
	background: #ffffff;
	box-shadow: 0 18px 28px rgba(19, 58, 94, 0.16);
}

.cm-projects-filters-popover-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	margin: 0;
}

.cm-projects-filters-popover-form select {
	width: 100%;
	min-width: 0;
}

.cm-project-filter-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 2px;
	color: #284b69;
	font-size: 12px;
	font-weight: 600;
}

.cm-project-filter-checkbox input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
}

.cm-project-type-quick-filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	border: 1px solid #c8daec;
	border-radius: 14px;
	background: #f3f9ff;
	margin-right: auto;
}

.cm-project-type-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	min-width: 92px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: #2c5577;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.cm-project-type-pill:hover {
	background: #e9f4ff;
	border-color: #b7d1ea;
	color: #1b4668;
}

.cm-project-type-pill.is-active {
	background: #ffffff;
	border-color: #9fc5e8;
	color: #0f79ff;
	box-shadow: 0 6px 14px rgba(15, 121, 255, 0.16);
}

.cm-clients-toolbar-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: nowrap;
}

.cm-hours-inline-filters {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	margin: 0;
}

.cm-hours-inline-filters select {
	min-width: 170px;
	height: 34px;
	padding: 0 34px 0 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	color: #254867;
}

.cm-projects-inline-filters select {
	min-width: 180px;
}

.cm-clients-inline-filters select {
	min-width: 170px;
}

.cm-hours-inline-filters .cm-btn {
	height: 34px;
	padding: 0 12px;
}

.cm-hours-inline-filters .cm-hours-per-page-select {
	min-width: 128px;
}

.cm-hours-table td:nth-child(5),
.cm-hours-table td:nth-child(6) {
	white-space: nowrap;
}

.cm-hours-delete-btn {
	min-width: 34px;
	padding: 0 10px;
	line-height: 1;
	font-size: 16px;
}

.cm-hours-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.cm-hours-pagination-meta {
	margin: 0;
	font-size: 12px;
	color: #5a7692;
	font-weight: 500;
}

.cm-hours-pagination-links {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.cm-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	border-radius: 10px;
	border: 1px solid #c8daec;
	background: #ffffff;
	color: #244a6b;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	box-sizing: border-box;
}

.cm-page-link:hover {
	border-color: #8fb8dd;
	background: #f1f8ff;
}

.cm-page-link.is-current {
	border-color: transparent;
	background: linear-gradient(120deg, #0f79ff 0%, #00b69d 100%);
	color: #ffffff;
	box-shadow: 0 8px 16px rgba(15, 121, 255, 0.22);
}

.cm-timer-floating {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 999;
	min-width: 250px;
	padding: 14px;
	display: grid;
	gap: 10px;
	border-radius: 16px;
	background: rgba(9, 38, 63, 0.9);
	border: 1px solid rgba(128, 196, 255, 0.35);
	color: #e8f4ff;
	box-shadow: 0 20px 38px rgba(5, 29, 51, 0.35);
	backdrop-filter: blur(10px);
}

.cm-timer-start-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.cm-timer-start-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.cm-timer-floating-meta {
	display: grid;
	gap: 3px;
}

.cm-timer-floating-title {
	font-size: 11px;
	color: #91bfeb;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cm-timer-floating-meta strong {
	font-size: 14px;
}

.cm-timer-floating-meta small {
	font-size: 12px;
	color: #b8d4f0;
}

.cm-timer-floating-elapsed {
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #88f3d3;
}

.cm-timer-floating-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.cm-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 1100;
	background: rgba(8, 24, 38, 0.52);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
	box-sizing: border-box;
}

.cm-modal-overlay[hidden] {
	display: none !important;
}

body.clica-manager-frontend-template.cm-modal-open {
	overflow: hidden;
}

.cm-modal-card {
	width: min(560px, 100%);
	background: #ffffff;
	border: 1px solid #d0deef;
	border-radius: 18px;
	padding: 18px;
	display: grid;
	gap: 12px;
	box-shadow: 0 24px 44px rgba(20, 61, 101, 0.18);
}

.cm-client-modal-card {
	width: min(700px, 100%);
}

.cm-client-create-form {
	display: grid;
	gap: 12px;
}

.cm-client-create-form textarea {
	min-height: 120px;
}

.cm-project-create-modal-card {
	width: min(860px, 100%);
}

.cm-project-create-form {
	display: grid;
	gap: 12px;
}

.cm-hours-manual-modal-card {
	width: min(760px, 100%);
}

.cm-hours-manual-form {
	display: grid;
	gap: 12px;
}

.cm-timer-modal-card .cm-time-start-form {
	margin-bottom: 0;
}

.cm-timer-modal-card .cm-timer-feedback {
	min-height: 18px;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid #d9e8f7;
	background: #f6fbff;
	color: #4f6d89;
}

.cm-timer-modal-card .cm-timer-feedback:empty {
	display: none;
}

.cm-timer-modal-card .cm-timer-feedback.is-loading {
	background: #fff7e8;
	border-color: #f1d7ab;
	color: #9a6c15;
}

.cm-timer-modal-card .cm-timer-feedback.is-success {
	background: #ecfbf3;
	border-color: #b7e3cb;
	color: #197248;
}

.cm-timer-modal-card .cm-timer-feedback.is-error {
	background: #fff2f4;
	border-color: #f1c2cb;
	color: #ac3244;
}

.cm-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.cm-modal-head h2 {
	margin: 0;
	font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
	font-size: 24px;
	color: #123454;
}

.cm-bank-hours-value {
	font-weight: 700;
	letter-spacing: 0.01em;
}

.cm-bank-hours-value.is-positive {
	color: #16805b;
}

.cm-bank-hours-value.is-negative {
	color: #b13749;
}

.cm-project-bank-note {
	margin: 0 0 12px;
}

.cm-project-bank-table td,
.cm-project-bank-history-table td {
	white-space: nowrap;
}

.cm-project-bank-history-table form {
	margin: 0;
}

.cm-project-bank-migration-modal-card {
	width: min(760px, 100%);
}

.cm-project-bank-migration-form {
	display: grid;
	gap: 12px;
}

.cm-retainer-tasks-help {
	margin: 0 0 14px;
}

.cm-retainer-months-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cm-retainer-month-card {
	border: 1px solid #d8e4f0;
	border-radius: 12px;
	background: #f9fcff;
	overflow: hidden;
}

.cm-retainer-month-summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	cursor: pointer;
	user-select: none;
}

.cm-retainer-month-summary::-webkit-details-marker {
	display: none;
}

.cm-retainer-month-summary::before {
	content: '+';
	font-size: 14px;
	font-weight: 700;
	color: #2f5779;
	margin-right: 4px;
}

.cm-retainer-month-card[open] .cm-retainer-month-summary::before {
	content: '-';
}

.cm-retainer-month-summary h4 {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
}

.cm-retainer-month-meta {
	font-size: 11px;
	font-weight: 600;
	color: #55738f;
}

.cm-retainer-month-content {
	padding: 0 12px 12px;
	display: grid;
	gap: 10px;
}

.cm-retainer-task-list {
	margin: 0;
	padding-left: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}

.cm-retainer-task-item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #dbe7f3;
	font-size: 12px;
	line-height: 1.25;
}

.cm-retainer-task-item-row.is-dragging {
	opacity: 0.5;
}

.cm-retainer-task-drag-handle {
	cursor: grab;
	color: #6c8aa7;
	font-size: 12px;
	letter-spacing: -1px;
	user-select: none;
	flex: 0 0 auto;
}

.cm-retainer-task-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	position: relative;
	cursor: pointer;
	flex: 0 0 auto;
}

.cm-retainer-task-check input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	margin: 0;
	border-radius: 50%;
	border: 1px solid #8ea8c0;
	background: #fff;
	cursor: pointer;
}

.cm-retainer-task-check input[type="checkbox"]:checked {
	background: #1e7acb;
	border-color: #1e7acb;
}

.cm-retainer-task-check-dot {
	display: none;
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff;
}

.cm-retainer-task-check input[type="checkbox"]:checked + .cm-retainer-task-check-dot {
	display: block;
}

.cm-retainer-task-item-text {
	flex: 1;
	min-width: 0;
	color: #183a58;
}

.cm-retainer-task-item-row.is-done .cm-retainer-task-item-text {
	text-decoration: line-through;
	color: #6d8398;
}

.cm-retainer-task-delete-form {
	margin: 0;
}

.cm-retainer-task-remove-btn {
	width: 20px;
	height: 20px;
	border: 1px solid #e2b3ba;
	background: #fff5f6;
	color: #a33546;
	border-radius: 6px;
	font-size: 12px;
	line-height: 1;
	font-weight: 700;
	padding: 0;
	cursor: pointer;
}

.cm-retainer-task-remove-btn:hover {
	background: #ffecee;
}

.cm-retainer-task-reorder-form {
	display: none;
}

.cm-retainer-task-add-form {
	display: grid;
	gap: 6px;
}

.cm-retainer-task-add-form label {
	display: grid;
	gap: 4px;
}

.cm-retainer-task-add-form label span {
	font-size: 11px;
}

.cm-project-tasks-help {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
}

.cm-link-inline {
	color: #1e7acb;
	font-weight: 600;
	text-decoration: none;
}

.cm-link-inline:hover {
	text-decoration: underline;
}

.cm-project-task-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.cm-project-task-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.cm-project-task-item {
	border: 1px solid #d8e4f0;
	border-radius: 10px;
	background: #f9fcff;
	padding: 10px;
	display: grid;
	gap: 8px;
}

.cm-project-task-item-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.cm-project-task-name {
	color: #173754;
	font-size: 13px;
	line-height: 1.3;
}

.cm-project-task-state {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 8px;
	border-radius: 999px;
	border: 1px solid #ccd9e7;
	background: #eef5fc;
	color: #375975;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.cm-task-state-doing .cm-project-task-state {
	border-color: #a6c8eb;
	background: #e5f1ff;
	color: #1a4f84;
}

.cm-task-state-done .cm-project-task-state {
	border-color: #9acbb0;
	background: #e5f5ec;
	color: #2c6a43;
}

.cm-project-task-item-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-size: 11px;
	color: #4f6f8c;
}

.cm-project-task-item-meta span {
	white-space: nowrap;
}

.cm-project-task-toggle-form {
	margin: 0;
}

.cm-project-task-add-form {
	margin-top: 12px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: end;
}

.cm-project-task-add-form label {
	display: grid;
	gap: 4px;
}

.cm-project-task-add-form label span {
	font-size: 11px;
}

@keyframes cm-fade-up {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cm-content > * {
		animation: none !important;
	}

	.cm-btn,
	.cm-icon-btn,
	.cm-nav-link {
		transition: none !important;
	}
}

@media screen and (max-width: 1360px) {
	.cm-metrics-grid,
	.cm-finance-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media screen and (max-width: 1180px) {
	.cm-app-shell {
		padding: 14px;
	}

	.cm-app {
		border-radius: 20px;
		min-height: calc(100vh - 28px);
	}

	.cm-panels-grid {
		grid-template-columns: 1fr;
	}

	.cm-kanban-board {
		grid-template-columns: 1fr;
	}

	.cm-filters-form,
	.cm-hours-filters-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 980px) {
	.cm-app {
		grid-template-columns: 1fr;
		position: relative;
	}

	.cm-sidebar {
		position: absolute;
		inset: 0 auto 0 0;
		z-index: 8;
		width: 292px;
		transform: translateX(-105%);
		transition: transform 0.22s ease;
		box-shadow: 16px 0 36px rgba(5, 31, 56, 0.35);
	}

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

	.cm-topbar {
		padding: 0 14px;
	}

	.cm-topbar-left {
		flex: 1;
	}

	.cm-topbar-active-timer {
		flex: 1;
		min-width: 0;
	}

	.cm-search {
		min-width: 0;
		flex: 1;
	}

	.cm-content {
		padding: 18px 14px 90px;
	}

	.cm-form-grid,
	.cm-filters-form,
	.cm-hours-filters-form,
	.cm-overview-grid {
		grid-template-columns: 1fr;
	}

	.cm-hours-time-grid {
		grid-template-columns: 1fr;
	}

	.cm-retainer-months-grid {
		grid-template-columns: 1fr;
	}

	.cm-project-tasks-help {
		flex-direction: column;
		align-items: flex-start;
	}

	.cm-project-task-columns {
		grid-template-columns: 1fr;
	}

	.cm-project-task-add-form {
		grid-template-columns: 1fr;
	}

	.cm-hours-toolbar-head {
		flex-direction: column;
		align-items: stretch;
		flex-wrap: wrap;
	}

	.cm-hours-toolbar-actions {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.cm-hours-inline-filters {
		flex-wrap: wrap;
	}

	.cm-project-filters-dropdown {
		right: 0;
		left: auto;
		min-width: 240px;
	}

	.cm-project-type-quick-filter {
		width: 100%;
		flex-wrap: wrap;
	}

	.cm-project-type-pill {
		min-width: 0;
	}

	.cm-financial-status-filter {
		width: 100%;
		flex-wrap: wrap;
	}

	.cm-financial-status-pill {
		min-width: 0;
	}

	.cm-financial-filters-row {
		width: 100%;
	}

	.cm-financial-filter-controls {
		width: 100%;
		margin-left: 0;
	}

	.cm-financial-client-filter-form {
		width: 100%;
	}

	.cm-financial-client-filter-form select {
		width: 100%;
	}

	.cm-financial-bulk-trigger {
		width: 100%;
		justify-content: center;
	}

	.cm-financial-invoice-upload-form {
		flex-direction: column;
		align-items: flex-start;
	}

	.cm-financial-bulk-actions-form {
		width: 100%;
	}

	.cm-financial-bulk-panel {
		padding: 10px;
	}

	.cm-financial-bulk-inputs {
		grid-template-columns: 1fr;
	}

	.cm-financial-bulk-inputs input[type="file"] {
		max-width: 100%;
		width: 100%;
	}

	.cm-financial-bulk-actions {
		width: 100%;
	}

	.cm-financial-bulk-actions .cm-btn {
		width: 100%;
		justify-content: center;
	}

	.cm-financial-bulk-hint {
		width: 100%;
	}

	.cm-financial-invoice-upload-form input[type="file"] {
		max-width: 100%;
		width: 100%;
	}

	.cm-dashboard-chart-head {
		flex-direction: column;
		align-items: stretch;
	}

	.cm-dashboard-chart-toggle {
		width: 100%;
	}

	.cm-dashboard-chart-toggle-btn {
		flex: 1;
	}

	.cm-dashboard-column-chart {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.cm-dashboard-column-y-axis {
		display: none;
	}

	.cm-dashboard-column-bars {
		gap: 6px;
	}
}

@media screen and (max-width: 680px) {
	.cm-app-shell {
		padding: 0;
	}

	.cm-auth-shell {
		padding: 16px;
	}

	.cm-auth-card {
		padding: 22px 20px;
		border-radius: 20px;
	}

	.cm-auth-card h1 {
		font-size: 28px;
	}

	.cm-app {
		border-radius: 0;
		min-height: 100vh;
		border: 0;
	}

	.cm-metrics-grid,
	.cm-finance-grid {
		grid-template-columns: 1fr;
	}

	body.clica-manager-frontend-template .cm-card {
		padding: 18px;
		border-radius: 14px;
	}

	body.clica-manager-frontend-template .cm-metric-card {
		padding: 20px;
	}

	.cm-card .cm-value {
		font-size: 30px;
	}

	.cm-dashboard-chart-summary {
		flex-direction: column;
		align-items: flex-start;
	}

	.cm-dashboard-column-chart,
	.cm-dashboard-column-canvas {
		min-height: 260px;
	}

	.cm-dashboard-column-bars {
		min-height: 226px;
	}

	.cm-dashboard-column-label {
		font-size: 10px;
		transform: rotate(-28deg);
	}

	.cm-timer-floating {
		right: 12px;
		left: 12px;
		bottom: 12px;
		min-width: 0;
	}
}
