/* BEM CSS — Detail firmy (Admin) */

/* ========== STICKY QUICKBAR ========== */
.quickbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	margin: -32px -24px 24px -24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quickbar__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.quickbar__title {
	display: flex;
	align-items: center;
	gap: 14px;
}

.quickbar__back {
	color: #64748b;
	font-size: 13px;
	font-weight: 500;
	transition: color 0.15s;
}

.quickbar__back:hover {
	color: #1e3a8a;
}

.quickbar__firma {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	border-left: 1px solid #e2e8f0;
	padding-left: 14px;
}

.quickbar__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.quickbar__btn {
	padding: 8px 14px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 7px;
	color: #475569;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}

.quickbar__btn:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

.quickbar__btn--primary {
	background: #1e3a8a;
	color: #fff;
	border-color: #1e3a8a;
}

.quickbar__btn--primary:hover {
	background: #1e40af;
	color: #fff;
	border-color: #1e40af;
}

/* ========== HLAVIČKA FIRMY ========== */
.firma-head {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.firma-head__main {
	flex: 1;
	min-width: 280px;
}

.firma-head__name-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.firma-head__sleep {
	font-size: 22px;
}

.firma-head__name {
	font-size: 24px;
	font-weight: 700;
	color: #0f172a;
}

.firma-head__meta {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #64748b;
}

.firma-head__meta strong {
	color: #0f172a;
	font-weight: 600;
}

.firma-head__bod0 {
	background: #eff6ff;
	color: #1e3a8a;
	padding: 4px 10px;
	border-radius: 6px;
	font-weight: 500;
}

.firma-head__bod0 strong {
	color: #1e3a8a;
}

.firma-head__stats {
	display: flex;
	gap: 14px;
}

.firma-head__stat {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px 18px;
	min-width: 110px;
	text-align: center;
}

.firma-head__stat-label {
	font-size: 11px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.firma-head__stat-value {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}

.firma-head__stat-value--on  { color: #059669; }
.firma-head__stat-value--off { color: #94a3b8; }

/* ========== DŮLEŽITÉ — agregace úkolů k firmě ========== */
.dulezite {
	background: linear-gradient(180deg, #fffbf3 0%, #fff 100%);
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 24px;
}

.dulezite__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.dulezite__title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.dulezite__icon {
	font-size: 22px;
}

.dulezite__title {
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
}

.dulezite__chip {
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

.dulezite__chip--overdue { background: #fee2e2; color: #b91c1c; }
.dulezite__chip--today   { background: #dbeafe; color: #1e40af; }

.dulezite__add {
	padding: 7px 14px;
	background: #fff;
	color: #1e3a8a;
	border: 1px solid #1e3a8a;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
}

.dulezite__add:hover {
	background: #eff6ff;
}

.dulezite__empty {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	padding: 14px 18px;
	color: #047857;
	font-weight: 500;
	font-size: 14px;
}

.dulezite__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dulezite__item {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	gap: 14px;
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #cbd5e1;
	border-radius: 8px;
	padding: 12px 14px;
	transition: all 0.15s;
}

.dulezite__item:hover {
	border-color: #cbd5e1;
	transform: translateX(2px);
}

.dulezite__item--overdue { border-left-color: #dc2626; background: #fef9f9; }
.dulezite__item--today   { border-left-color: #1e40af; background: #f5f9ff; }
.dulezite__item--soon    { border-left-color: #d97706; }

.dulezite__marker {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.dulezite__item--overdue .dulezite__marker { background: #fee2e2; }
.dulezite__item--today .dulezite__marker   { background: #dbeafe; }
.dulezite__item--soon .dulezite__marker    { background: #fef3c7; }

.dulezite__body {
	min-width: 0;
}

.dulezite__row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 2px;
	flex-wrap: wrap;
}

.dulezite__titulek {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}

.dulezite__urgence {
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dulezite__urgence--overdue { background: #fee2e2; color: #b91c1c; }
.dulezite__urgence--today   { background: #dbeafe; color: #1e40af; }
.dulezite__urgence--soon    { background: #fef3c7; color: #92400e; }

.dulezite__popis {
	font-size: 12px;
	color: #475569;
	margin-bottom: 4px;
}

.dulezite__meta {
	font-size: 11px;
	color: #94a3b8;
}

.dulezite__akce {
	display: flex;
	flex-shrink: 0;
}

.dulezite__btn {
	padding: 7px 14px;
	background: #1e3a8a;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	font-family: inherit;
	transition: background-color 0.15s;
}

.dulezite__btn:hover {
	background: #1e40af;
	color: #fff;
	text-decoration: none !important;
}

/* ========== ČASOVÉ OSY ========== */
.osy {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 24px;
}

.osa-block {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 24px;
}

.osa-block__head {
	margin-bottom: 18px;
}

.osa-block__title {
	font-size: 16px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 4px;
}

.osa-block__hint {
	font-size: 12px;
	color: #94a3b8;
}

.osa-line {
	display: flex;
	align-items: stretch;
	gap: 0;
	overflow-x: auto;
	padding: 8px 0;
}

.osa-line__item {
	background: transparent;
	border: none;
	padding: 8px 4px;
	cursor: pointer;
	font-family: inherit;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 130px;
	transition: opacity 0.15s, transform 0.15s;
}

.osa-line__item:hover {
	transform: translateY(-2px);
}

.osa-line__item--dim {
	opacity: 0.45;
}

.osa-line__item--dim:hover {
	opacity: 1;
}

.osa-line__item--active .osa-line__dot {
	box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.15);
}

.osa-line__dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #cbd5e1;
	margin-bottom: 8px;
	border: 3px solid #fff;
	box-shadow: 0 0 0 1px #e2e8f0;
}

.osa-line__item--cyan   .osa-line__dot { background: #0891b2; box-shadow: 0 0 0 1px #0891b2; }
.osa-line__item--amber  .osa-line__dot { background: #d97706; box-shadow: 0 0 0 1px #d97706; }
.osa-line__item--purple .osa-line__dot { background: #7c3aed; box-shadow: 0 0 0 1px #7c3aed; }
.osa-line__item--green  .osa-line__dot { background: #059669; box-shadow: 0 0 0 1px #059669; }

.osa-line__date {
	font-size: 11px;
	color: #94a3b8;
	margin-bottom: 4px;
}

.osa-line__type {
	font-size: 12px;
	font-weight: 600;
	color: #0f172a;
	text-align: center;
	line-height: 1.3;
}

.osa-line__connector {
	flex: 1;
	min-width: 30px;
	height: 2px;
	background: #e2e8f0;
	margin-top: 17px;
}

/* ========== INFO 2 SLOUPCE ========== */
.info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 24px;
}

.info__col {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
}

.info__title {
	font-size: 16px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
}

.info__list {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 8px 16px;
}

.info__list dt {
	font-size: 12px;
	color: #64748b;
	font-weight: 500;
	padding-top: 2px;
}

.info__list dd {
	font-size: 13px;
	color: #0f172a;
}

.info__list dd a {
	color: #1e3a8a;
}

.info__list dd a:hover {
	text-decoration: underline;
}

.info__phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #eff6ff;
	color: #1e3a8a;
	padding: 4px 10px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
}

.info__phone:hover {
	background: #dbeafe;
	text-decoration: none !important;
}

/* ========== ZAJÍMAVOSTI ========== */
.zajimavosti {
	background: linear-gradient(180deg, #fdf4ff 0%, #fff 100%);
	border: 1px solid #f3e8ff;
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 24px;
}

.zajimavosti__head {
	margin-bottom: 14px;
}

.zajimavosti__title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
	flex-wrap: wrap;
}

.zajimavosti__icon {
	font-size: 20px;
}

.zajimavosti__title {
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
}

.zajimavosti__count {
	background: #ede9fe;
	color: #6d28d9;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

.zajimavosti__hint {
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}

/* --- Nový vstup --- */
.zajimavosti__new {
	display: flex;
	gap: 10px;
	margin-bottom: 16px;
	align-items: flex-end;
}

.zajimavosti__textarea {
	flex: 1;
	min-height: 60px;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 13px;
	background: #fff;
	font-family: inherit;
	color: #0f172a;
	resize: vertical;
	line-height: 1.5;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.zajimavosti__textarea::placeholder {
	color: #cbd5e1;
}

.zajimavosti__textarea:focus {
	outline: none;
	border-color: #7c3aed;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.zajimavosti__add {
	padding: 10px 18px;
	background: #7c3aed;
	color: #fff;
	border: none;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	transition: background-color 0.15s;
}

.zajimavosti__add:hover {
	background: #6d28d9;
}

/* --- Seznam — kompaktní řádky, rozklik pro detail (jako Historie změn) --- */
.zajimavosti__list {
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid #f3e8ff;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.zajimavosti__item {
	border-bottom: 1px solid #f3e8ff;
}

.zajimavosti__item:last-child {
	border-bottom: none;
}

.zajimavosti__row-wrap {
	background: #fff;
}

.zajimavosti__row-wrap[open] {
	background: #fdf4ff;
}

.zajimavosti__row {
	display: grid;
	grid-template-columns: 90px 1fr auto auto;
	gap: 12px;
	align-items: center;
	padding: 8px 14px;
	cursor: pointer;
	list-style: none;
	font-size: 13px;
	transition: background-color 0.15s;
}

.zajimavosti__row::-webkit-details-marker {
	display: none;
}

.zajimavosti__row:hover {
	background: #fdf4ff;
}

.zajimavosti__datum {
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.zajimavosti__text-line {
	font-size: 13px;
	color: #0f172a;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zajimavosti__autor-inline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
}

.zajimavosti__toggle {
	font-size: 11px;
	color: #7c3aed;
	font-weight: 600;
	padding: 2px 8px;
	background: #ede9fe;
	border-radius: 999px;
}

.zajimavosti__row-wrap[open] .zajimavosti__toggle::before {
	content: "Skrýt";
}

.zajimavosti__row-wrap:not([open]) .zajimavosti__toggle::before {
	content: "Zobrazit";
}

.zajimavosti__detail {
	padding: 0 14px 12px 104px;
}

.zajimavosti__detail-text {
	font-size: 13px;
	color: #0f172a;
	line-height: 1.5;
	margin-bottom: 8px;
	white-space: pre-wrap;
}

.zajimavosti__detail-actions {
	display: flex;
	gap: 8px;
}

.zajimavosti__action {
	padding: 4px 10px;
	border: 1px solid #e2e8f0;
	background: #fff;
	border-radius: 6px;
	color: #64748b;
	font-size: 11px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s;
}

.zajimavosti__action:hover {
	border-color: #7c3aed;
	color: #7c3aed;
}

.zajimavosti__action--del:hover {
	border-color: #dc2626;
	color: #dc2626;
	background: #fef2f2;
}

.zajimavosti__empty {
	background: #fff;
	border: 1px dashed #e2e8f0;
	border-radius: 8px;
	padding: 18px;
	text-align: center;
	color: #94a3b8;
	font-size: 13px;
	font-style: italic;
}

/* ========== DALŠÍ ÚDAJE + HISTORIE ========== */
.dalsi-udaje {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.dalsi-udaje__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.dalsi-udaje__title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.dalsi-udaje__title {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
}

.dalsi-udaje__edit {
	padding: 8px 14px;
	background: #fff;
	color: #1e3a8a;
	border: 1px solid #1e3a8a;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s;
}

.dalsi-udaje__edit:hover {
	background: #eff6ff;
}

.dalsi-udaje__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 24px;
}

.dalsi-udaje__col {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px 20px;
}

.dalsi-udaje__list {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 10px 16px;
}

.dalsi-udaje__list dt {
	font-size: 12px;
	color: #64748b;
	font-weight: 500;
	padding-top: 2px;
}

.dalsi-udaje__list dd {
	font-size: 13px;
	color: #0f172a;
}

.dalsi-udaje__list dd strong {
	font-weight: 700;
}

.dalsi-udaje__autor {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.dalsi-udaje__avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #1e3a8a;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.dalsi-udaje__avatar--sm {
	width: 20px;
	height: 20px;
	font-size: 10px;
}

.dalsi-udaje__archiv {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 12px;
}

.dalsi-udaje__archiv--on {
	background: #fee2e2;
	color: #b91c1c;
}

.dalsi-udaje__archiv--off {
	background: #d1fae5;
	color: #047857;
}

/* ========== HISTORIE ZMĚN (timeline) ========== */
.historie {
	border-top: 1px solid #f1f5f9;
	padding-top: 20px;
}

.historie__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.historie__title {
	font-size: 15px;
	font-weight: 600;
	color: #0f172a;
}

.historie__count {
	font-size: 12px;
	color: #94a3b8;
	background: #f1f5f9;
	padding: 3px 10px;
	border-radius: 999px;
	font-weight: 600;
}

.historie__list {
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.historie__item {
	border-bottom: 1px solid #f1f5f9;
}

.historie__item:last-child {
	border-bottom: none;
}

.historie__row-wrap {
	background: #fff;
}

.historie__row-wrap[open] {
	background: #f8fafc;
}

.historie__row {
	display: grid;
	grid-template-columns: 90px 1fr auto auto;
	gap: 12px;
	align-items: center;
	padding: 8px 14px;
	cursor: pointer;
	list-style: none;
	font-size: 13px;
	transition: background-color 0.15s;
}

.historie__row::-webkit-details-marker {
	display: none;
}

.historie__row:hover {
	background: #f8fafc;
}

.historie__datum {
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.historie__akce {
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.historie__autor-inline {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
}

.historie__toggle {
	font-size: 11px;
	color: #1e3a8a;
	font-weight: 600;
	padding: 2px 8px;
	background: #eff6ff;
	border-radius: 999px;
}

.historie__row-wrap[open] .historie__toggle::before {
	content: "Skrýt";
}

.historie__row-wrap:not([open]) .historie__toggle::before {
	content: "Zobrazit";
}

.historie__toggle {
	font-size: 0;
}

.historie__toggle::before {
	font-size: 11px;
}

.historie__detail {
	padding: 0 14px 12px 104px;
	font-size: 12px;
	color: #475569;
	line-height: 1.5;
}

/* ========== TOP VÝHODY ========== */
.vyhody {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.vyhody__head {
	margin-bottom: 16px;
}

.vyhody__title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.vyhody__title {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
}

.vyhody__count {
	background: #eff6ff;
	color: #1e3a8a;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.vyhody__hint {
	font-size: 12px;
	color: #94a3b8;
}

.vyhody__list {
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.vyhody__item {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 10px;
	align-items: center;
	padding: 6px 12px;
	border-bottom: 1px solid #f1f5f9;
	background: #fff;
	transition: background 0.15s;
}

.vyhody__item:last-child {
	border-bottom: none;
}

.vyhody__item:hover {
	background: #f8fafc;
}

.vyhody__item--on {
	background: #f0fdf4;
}

.vyhody__item--on:hover {
	background: #dcfce7;
}

.vyhody__check {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	user-select: none;
}

.vyhody__checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.vyhody__check-box {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	border: 2px solid #cbd5e1;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
	flex-shrink: 0;
}

.vyhody__check-box::after {
	content: "";
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s;
	margin-top: -2px;
}

.vyhody__checkbox:checked + .vyhody__check-box {
	background: #059669;
	border-color: #059669;
}

.vyhody__checkbox:checked + .vyhody__check-box::after {
	transform: rotate(45deg) scale(1);
}

.vyhody__checkbox:focus-visible + .vyhody__check-box {
	box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}

.vyhody__name {
	font-size: 13px;
	font-weight: 500;
	color: #0f172a;
	line-height: 1.35;
}

.vyhody__item--on .vyhody__name {
	color: #064e3b;
	font-weight: 600;
}

.vyhody__note {
	width: 100%;
	padding: 4px 8px;
	border: 1px solid transparent;
	border-radius: 5px;
	font-size: 12px;
	color: #475569;
	font-family: inherit;
	background: transparent;
	transition: all 0.15s;
}

.vyhody__note::placeholder {
	color: #cbd5e1;
	font-style: italic;
}

.vyhody__note:hover {
	background: #fff;
	border-color: #e2e8f0;
}

.vyhody__note:focus {
	outline: none;
	background: #fff;
	border-color: #1e3a8a;
	color: #0f172a;
	box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}

/* ========== OBJEDNANÉ SLUŽBY + CO NABÍDNOUT ========== */
.sluzby {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 24px;
}

.sluzby__block {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 24px;
}

.sluzby__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.sluzby__title {
	font-size: 16px;
	font-weight: 600;
	color: #0f172a;
}

.sluzby__count {
	background: #eff6ff;
	color: #1e3a8a;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

/* --- Objednané (řádkový list s obdobím) --- */
.objednane {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.objednane__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border: 1px solid #e2e8f0;
	border-left: 3px solid #059669;
	border-radius: 6px;
	background: #f8fafc;
	font-size: 13px;
}

.objednane__item--konci {
	border-left-color: #d97706;
	background: #fffbeb;
}

.objednane__item--ukonceno {
	border-left-color: #94a3b8;
	background: #f1f5f9;
	opacity: 0.7;
}

.objednane__name {
	font-weight: 600;
	color: #0f172a;
}

.objednane__period {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #64748b;
	font-variant-numeric: tabular-nums;
}

.objednane__sep {
	color: #cbd5e1;
}

/* --- Co nabídnout (úsporný 2-sloupcový checklist) --- */
.nabidnout {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 12px;
}

.nabidnout__item {
	display: flex;
}

.nabidnout__check {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 4px;
	cursor: pointer;
	user-select: none;
	font-size: 13px;
	flex: 1;
}

.nabidnout__checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.nabidnout__box {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	border: 2px solid #cbd5e1;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
	flex-shrink: 0;
}

.nabidnout__box::after {
	content: "";
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s;
	margin-top: -2px;
}

.nabidnout__checkbox:checked + .nabidnout__box {
	background: #1e3a8a;
	border-color: #1e3a8a;
}

.nabidnout__checkbox:checked + .nabidnout__box::after {
	transform: rotate(45deg) scale(1);
}

.nabidnout__checkbox:checked ~ .nabidnout__name {
	color: #1e3a8a;
	font-weight: 600;
}

.nabidnout__checkbox:focus-visible + .nabidnout__box {
	box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.2);
}

.nabidnout__name {
	color: #0f172a;
	line-height: 1.35;
}

/* ========== SCHŮZKY / ONLINE HOVORY ========== */
.schuzky {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.schuzky__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.schuzky__title-wrap {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
}

.schuzky__title {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
}

.schuzky__total {
	font-size: 12px;
	color: #64748b;
}

.schuzky__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.schuzky__cross {
	font-size: 13px;
	color: #1e3a8a;
	font-weight: 500;
}

.schuzky__cross:hover {
	text-decoration: underline;
}

.schuzky__add {
	padding: 8px 14px;
	background: #1e3a8a;
	color: #fff;
	border: none;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.15s;
}

.schuzky__add:hover {
	background: #1e40af;
}

/* --- Filtr s chip checkboxy --- */
.schuzky__filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin-bottom: 20px;
}

.schuzky__filter-label {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.schuzky__filter-group {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.schuzky__filter-group-label {
	font-size: 11px;
	color: #94a3b8;
	font-weight: 600;
	margin-right: 2px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	font-size: 12px;
	color: #475569;
	cursor: pointer;
	user-select: none;
	transition: all 0.15s;
}

.chip:hover {
	border-color: #cbd5e1;
}

.chip input {
	margin: 0;
	cursor: pointer;
	accent-color: #1e3a8a;
}

.chip:has(input:checked) {
	background: #eff6ff;
	border-color: #1e3a8a;
	color: #1e3a8a;
	font-weight: 600;
}

/* --- Skupina (plánované / proběhlé) --- */
.schuzky__group {
	margin-bottom: 20px;
}

.schuzky__group:last-child {
	margin-bottom: 0;
}

.schuzky__group-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.schuzky__group-title {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.schuzky__group-count {
	background: #f1f5f9;
	color: #475569;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

/* --- Alert badge u nadpisu --- */
.schuzky__alert {
	background: #fef3c7;
	color: #92400e;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

/* --- Seznam karet schůzek --- */
.schuzky__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.schuzka {
	background: #fff;
	border-bottom: 1px solid #f1f5f9;
}

.schuzka:last-child {
	border-bottom: none;
}

.schuzka[open] {
	background: #f8fafc;
}

.schuzka__row {
	display: grid;
	grid-template-columns: 110px 110px 1fr auto auto auto 20px;
	gap: 12px;
	align-items: center;
	padding: 10px 14px;
	cursor: pointer;
	list-style: none;
	font-size: 13px;
}

.schuzka__row::-webkit-details-marker {
	display: none;
}

.schuzka__row:hover {
	background: #f8fafc;
}

.schuzka__when {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.schuzka__date {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #0f172a;
}

.schuzka__time {
	font-size: 11px;
	color: #64748b;
	font-variant-numeric: tabular-nums;
}

.schuzka__tema {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.schuzka__tema-text {
	font-weight: 600;
	color: #0f172a;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.schuzka__ucastnik {
	font-size: 11px;
	color: #94a3b8;
}

.schuzka__progress {
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.schuzka__progress--ok    { background: #d1fae5; color: #047857; }
.schuzka__progress--wait  { background: #f1f5f9; color: #475569; }
.schuzka__progress--alert { background: #fee2e2; color: #b91c1c; }

.schuzka__chevron {
	color: #94a3b8;
	transition: transform 0.2s;
	text-align: center;
}

.schuzka[open] .schuzka__chevron {
	transform: rotate(180deg);
}

/* --- Detail (rozbalený obsah) --- */
.schuzka__detail {
	padding: 0 18px 18px 18px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.schuzka__alert {
	margin-top: 12px;
	padding: 10px 14px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 4px solid #dc2626;
	border-radius: 6px;
	color: #991b1b;
	font-size: 13px;
	font-weight: 600;
}

.schuzka__meta {
	margin-top: 12px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 16px;
	font-size: 13px;
	color: #475569;
}

.schuzka__meta-note {
	grid-column: 1 / -1;
	font-size: 12px;
	color: #64748b;
}

.schuzka__meta strong {
	color: #0f172a;
	font-weight: 600;
}

.schuzka__card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px 16px;
}

.schuzka__card-title {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 4px;
}

.schuzka__card-hint {
	font-size: 12px;
	color: #64748b;
	margin-bottom: 12px;
}

.schuzka__sub {
	background: #f8fafc;
	border-radius: 6px;
	padding: 10px 12px;
	margin-bottom: 10px;
}

.schuzka__sub-title {
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 4px;
}

.schuzka__sub-text {
	font-size: 12px;
	color: #0f172a;
}

.schuzka__list-hint {
	margin: 0;
	padding-left: 18px;
	font-size: 12px;
	color: #475569;
	columns: 2;
	column-gap: 18px;
}

.schuzka__list-hint li {
	margin-bottom: 2px;
}

.schuzka__checklist {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
}

.schuzka__check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #0f172a;
	cursor: pointer;
}

.schuzka__check input {
	margin: 0;
	accent-color: #1e3a8a;
	width: 16px;
	height: 16px;
}

.schuzka__check--strong {
	padding-top: 6px;
	margin-top: 4px;
	border-top: 1px dashed #e2e8f0;
}

.schuzka__ukoly {
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.schuzka__ukol {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 6px 10px;
	background: #f8fafc;
	border-radius: 6px;
	font-size: 13px;
}

.schuzka__ukol--hotovo {
	opacity: 0.6;
}

.schuzka__ukol--hotovo span {
	text-decoration: line-through;
}

.schuzka__ukol-deadline {
	font-size: 11px;
	color: #64748b;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.schuzka__add-task {
	padding: 6px 12px;
	background: #fff;
	color: #1e3a8a;
	border: 1px dashed #cbd5e1;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
}

.schuzka__add-task:hover {
	border-color: #1e3a8a;
	background: #eff6ff;
}

.schuzka__footer {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 4px;
}

.schuzka__close {
	padding: 8px 16px;
	background: #059669;
	color: #fff;
	border: none;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.15s;
}

.schuzka__close:hover:not(:disabled) {
	background: #047857;
}

.schuzka__close:disabled {
	background: #cbd5e1;
	cursor: not-allowed;
}

.schuzka__close-hint {
	font-size: 11px;
	color: #94a3b8;
	font-style: italic;
}

.schuzka__closed {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #d1fae5;
	color: #047857;
	padding: 6px 14px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
}

.schuzky__typ {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.schuzky__typ--osobni  { background: #ede9fe; color: #6d28d9; }
.schuzky__typ--online  { background: #cffafe; color: #0e7490; }
.schuzky__typ--telefon { background: #fef3c7; color: #92400e; }

.schuzky__origin {
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
	white-space: nowrap;
}

.schuzky__origin--auto {
	background: #fef3c7;
	color: #92400e;
	padding: 2px 8px;
	border-radius: 999px;
	font-weight: 600;
}

.schuzky__empty {
	padding: 24px 12px;
	text-align: center;
	color: #94a3b8;
	font-style: italic;
	font-size: 13px;
	background: #f8fafc;
	border: 1px dashed #e2e8f0;
	border-radius: 8px;
}

/* ========== SPOKOJENOST & INZERCE JINDE ========== */
.spokojenost {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.spokojenost__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.spokojenost__title {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 4px;
}

.spokojenost__hint {
	font-size: 12px;
	color: #64748b;
}

.spokojenost__hint strong {
	color: #0f172a;
	font-weight: 600;
}

.spokojenost__edit {
	padding: 8px 14px;
	background: #fff;
	color: #1e3a8a;
	border: 1px solid #1e3a8a;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s;
}

.spokojenost__edit:hover {
	background: #eff6ff;
}

/* --- Hodnocení 1-5 jako známky --- */
.spokojenost__hodnoceni {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 24px;
}

.hodnoceni {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 16px;
}

.hodnoceni__label {
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	margin-bottom: 10px;
}

.hodnoceni__stupnice {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 6px;
	margin-bottom: 8px;
}

.hodnoceni__btn {
	height: 38px;
	border: 2px solid #e2e8f0;
	background: #fff;
	border-radius: 7px;
	font-size: 15px;
	font-weight: 700;
	color: #94a3b8;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s;
}

.hodnoceni__btn:hover {
	border-color: #cbd5e1;
	color: #475569;
	transform: translateY(-1px);
}

.hodnoceni__btn--active {
	color: #fff;
	border-width: 2px;
}

.hodnoceni__btn--green.hodnoceni__btn--active  { background: #059669; border-color: #059669; }
.hodnoceni__btn--lime.hodnoceni__btn--active   { background: #84cc16; border-color: #84cc16; }
.hodnoceni__btn--amber.hodnoceni__btn--active  { background: #d97706; border-color: #d97706; }
.hodnoceni__btn--orange.hodnoceni__btn--active { background: #ea580c; border-color: #ea580c; }
.hodnoceni__btn--red.hodnoceni__btn--active    { background: #dc2626; border-color: #dc2626; }

.hodnoceni__hint {
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	color: #94a3b8;
}

/* --- Inzerce u nás vs. potenciál --- */
.inzerce {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 16px;
}

.inzerce__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.inzerce__title {
	font-size: 15px;
	font-weight: 600;
	color: #0f172a;
}

.inzerce__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 14px;
}

.inzerce__stat {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px;
	text-align: center;
}

.inzerce__stat-label {
	font-size: 11px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.inzerce__stat-value {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1;
}

.inzerce__stat-value--green { color: #059669; }
.inzerce__stat-value--amber { color: #d97706; }

.inzerce__stat-sub {
	font-size: 11px;
	color: #94a3b8;
	margin-top: 4px;
}

.inzerce__bar {
	position: relative;
	height: 28px;
	background: #fef3c7;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 16px;
}

.inzerce__bar-fill {
	height: 100%;
	background: #059669;
	transition: width 0.3s;
}

.inzerce__bar-label {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.inzerce__bar-label--us {
	left: 10px;
	color: #fff;
}

.inzerce__bar-label--them {
	right: 10px;
	color: #92400e;
}

.inzerce__edit {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.inzerce__edit-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 11px;
	color: #64748b;
	font-weight: 600;
}

.inzerce__select,
.inzerce__input {
	padding: 6px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 13px;
	color: #0f172a;
	font-family: inherit;
	background: #fff;
}

.inzerce__select:focus,
.inzerce__input:focus {
	outline: none;
	border-color: #1e3a8a;
	box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

/* --- Portály jinde (multiselect chip checkboxy) --- */
.portaly {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 16px 18px;
	margin-bottom: 16px;
}

.portaly__title {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 4px;
}

.portaly__hint {
	font-size: 12px;
	color: #94a3b8;
	margin-bottom: 12px;
}

.portaly__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.portaly__item {
	display: flex;
}

.portaly__check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	font-size: 12px;
	color: #475569;
	cursor: pointer;
	user-select: none;
	transition: all 0.15s;
}

.portaly__check:hover {
	border-color: #cbd5e1;
}

.portaly__checkbox,
.portaly__check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.portaly__box {
	width: 14px;
	height: 14px;
	border-radius: 3px;
	border: 2px solid #cbd5e1;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
	flex-shrink: 0;
}

.portaly__box::after {
	content: "";
	width: 3px;
	height: 6px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s;
	margin-top: -2px;
}

.portaly__check:has(input:checked) {
	background: #eff6ff;
	border-color: #1e3a8a;
	color: #1e3a8a;
	font-weight: 600;
}

.portaly__check:has(input:checked) .portaly__box {
	background: #1e3a8a;
	border-color: #1e3a8a;
}

.portaly__check:has(input:checked) .portaly__box::after {
	transform: rotate(45deg) scale(1);
}

/* --- Rozpočty & sezónnost --- */
.rozpocty {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.rozpocty__col {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 16px 18px;
}

.rozpocty__title {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 10px;
}

.rozpocty__label {
	display: block;
	font-size: 11px;
	color: #64748b;
	font-weight: 600;
	margin-bottom: 4px;
}

.rozpocty__select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 13px;
	background: #fff;
	font-family: inherit;
	color: #0f172a;
}

.rozpocty__select:focus {
	outline: none;
	border-color: #1e3a8a;
}

.rozpocty__note {
	width: 100%;
	min-height: 70px;
	padding: 8px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 13px;
	background: #fff;
	font-family: inherit;
	color: #0f172a;
	resize: vertical;
	margin-top: 10px;
}

.rozpocty__note:focus {
	outline: none;
	border-color: #1e3a8a;
}

.rozpocty__note::placeholder {
	color: #cbd5e1;
}

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

.rozpocty__add {
	padding: 4px 10px;
	background: #fff;
	color: #1e3a8a;
	border: 1px dashed #cbd5e1;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
}

.rozpocty__add:hover {
	border-color: #1e3a8a;
	background: #eff6ff;
}

.rozpocty__hint {
	font-size: 12px;
	color: #94a3b8;
	margin-bottom: 10px;
}

.sezony {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sezony__item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-left: 3px solid #f59e0b;
	border-radius: 6px;
	padding: 10px 12px;
}

.sezony__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
	flex-wrap: wrap;
}

.sezony__nazev {
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
}

.sezony__obdobi {
	font-size: 11px;
	color: #d97706;
	background: #fef3c7;
	padding: 2px 8px;
	border-radius: 999px;
	font-weight: 600;
}

.sezony__poznamka {
	font-size: 12px;
	color: #64748b;
	margin-bottom: 6px;
}

.sezony__notif {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: #475569;
	cursor: pointer;
}

.sezony__notif input {
	margin: 0;
	accent-color: #1e3a8a;
}

/* ========== FAKTURY ========== */
.faktury {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.faktury__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.faktury__title {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
}

.faktury__add {
	padding: 8px 14px;
	background: #1e3a8a;
	color: #fff;
	border: none;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.15s;
}

.faktury__add:hover {
	background: #1e40af;
}

.faktury__group {
	border: 1px solid #e2e8f0;
	border-left: 4px solid #cbd5e1;
	border-radius: 8px;
	padding: 16px 18px;
	margin-bottom: 12px;
}

.faktury__group--cyan  { border-left-color: #0891b2; }
.faktury__group--green { border-left-color: #059669; }
.faktury__group--red   { border-left-color: #dc2626; }

.faktury__group:last-child {
	margin-bottom: 0;
}

.faktury__group-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.faktury__group-title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.faktury__group-title {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.faktury__group-rate {
	background: #f1f5f9;
	color: #475569;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
}

.faktury__group-summary {
	font-size: 12px;
	color: #64748b;
}

.faktury__group-summary strong {
	color: #0f172a;
	font-weight: 700;
}

.faktury__group-desc {
	font-size: 12px;
	color: #94a3b8;
	margin-top: 4px;
	margin-bottom: 12px;
}

.faktury__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-top: 8px;
}

.faktury__table thead th {
	text-align: left;
	padding: 8px 10px;
	background: #f8fafc;
	color: #475569;
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 1px solid #e2e8f0;
}

.faktury__table tbody td {
	padding: 10px;
	border-bottom: 1px solid #f1f5f9;
	color: #0f172a;
}

.faktury__table tbody tr:last-child td {
	border-bottom: none;
}

.faktury__table tbody tr:hover {
	background: #f8fafc;
}

.faktury__link {
	color: #1e3a8a;
	font-weight: 500;
	font-size: 12px;
}

.faktury__link:hover {
	text-decoration: underline;
}

.faktury__empty {
	font-size: 13px;
	color: #94a3b8;
	font-style: italic;
	padding: 12px 0;
}

/* ========== AKVIZICE & NABÍDKY (společné) ========== */
.akvizice,
.nabidky {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.akvizice__title,
.nabidky__title {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
}

.nabidky__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.nabidky__add {
	padding: 8px 14px;
	background: #1e3a8a;
	color: #fff;
	border: none;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.15s;
}

.nabidky__add:hover {
	background: #1e40af;
}

.akvizice__title {
	margin-bottom: 16px;
}

.akvizice__item,
.nabidky__item {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 10px;
	transition: border-color 0.15s;
}

.akvizice__item:hover,
.nabidky__item:hover {
	border-color: #cbd5e1;
}

.akvizice__item:last-child,
.nabidky__item:last-child {
	margin-bottom: 0;
}

.akvizice__item-head,
.nabidky__item-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.nabidky__item-main {
	display: flex;
	gap: 12px;
	align-items: baseline;
	flex-wrap: wrap;
}

.akvizice__date,
.nabidky__date {
	font-size: 12px;
	color: #64748b;
	font-weight: 500;
}

.nabidky__sluzba {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.nabidky__castka {
	font-size: 14px;
	font-weight: 700;
	color: #1e3a8a;
}

.akvizice__poznamka,
.nabidky__poznamka {
	font-size: 13px;
	color: #475569;
	background: #f8fafc;
	padding: 10px 12px;
	border-radius: 6px;
	border-left: 3px solid #e2e8f0;
}

.akvizice__poznamka strong,
.nabidky__poznamka strong {
	color: #0f172a;
}

/* ========== AKTIVITA ========== */
.aktivita {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.aktivita__title {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 16px;
}

.aktivita__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.aktivita__item {
	display: flex;
	gap: 14px;
	padding: 12px 4px;
	border-bottom: 1px solid #f1f5f9;
}

.aktivita__item:last-child {
	border-bottom: none;
}

.aktivita__item-icon {
	width: 36px;
	height: 36px;
	background: #f1f5f9;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.aktivita__item-content {
	flex: 1;
}

.aktivita__item-popis {
	font-size: 13px;
	color: #0f172a;
	margin-bottom: 2px;
}

.aktivita__item-meta {
	font-size: 11px;
	color: #94a3b8;
}

/* ========== DOKUMENTY ========== */
.dokumenty {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.dokumenty__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 16px;
	gap: 12px;
	flex-wrap: wrap;
}

.dokumenty__title {
	font-size: 18px;
	font-weight: 600;
	color: #0f172a;
}

.dokumenty__source {
	font-size: 12px;
	color: #94a3b8;
	margin-top: 2px;
	display: block;
}

.dokumenty__add {
	padding: 8px 14px;
	background: #fff;
	color: #1e3a8a;
	border: 1px solid #1e3a8a;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s;
}

.dokumenty__add:hover {
	background: #eff6ff;
}

.dokumenty__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}

.dokumenty__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 18px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #0f172a;
	text-decoration: none;
	transition: all 0.15s;
}

.dokumenty__item:hover {
	background: #fff;
	border-color: #1e3a8a;
	transform: translateY(-2px);
}

.dokumenty__icon {
	font-size: 28px;
}

.dokumenty__name {
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	word-break: break-word;
}

.dokumenty__meta {
	font-size: 10px;
	color: #94a3b8;
	text-align: center;
}

/* ========== PLOVOUCÍ ŠIPKA DOLŮ ========== */
.scroll-down {
	position: fixed;
	bottom: 80px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #1e3a8a;
	color: #fff;
	border: none;
	font-size: 22px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(30, 58, 138, 0.35);
	transition: all 0.15s;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
}

.scroll-down:hover {
	background: #1e40af;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(30, 58, 138, 0.45);
}

/* ========== BADGE ========== */
.badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.badge--green  { background: #d1fae5; color: #047857; }
.badge--cyan   { background: #cffafe; color: #0e7490; }
.badge--amber  { background: #fef3c7; color: #92400e; }
.badge--purple { background: #ede9fe; color: #6d28d9; }
.badge--red    { background: #fee2e2; color: #b91c1c; }

/* ========== RESPONZIVITA ========== */
@media (max-width: 900px) {
	.info {
		grid-template-columns: 1fr;
	}
	.firma-head {
		flex-direction: column;
	}
	.firma-head__stats {
		width: 100%;
	}
	.firma-head__stat {
		flex: 1;
		min-width: 0;
	}
	.dalsi-udaje__grid {
		grid-template-columns: 1fr;
	}
	.sluzby {
		grid-template-columns: 1fr;
	}
	.spokojenost__hodnoceni {
		grid-template-columns: 1fr;
	}
	.dulezite__item {
		grid-template-columns: 40px 1fr;
	}
	.dulezite__akce {
		grid-column: 1 / -1;
		justify-content: flex-end;
	}
	.zajimavosti__new {
		flex-direction: column;
		align-items: stretch;
	}
	.zajimavosti__row {
		grid-template-columns: 1fr auto;
		gap: 4px 12px;
	}
	.zajimavosti__datum {
		grid-column: 1 / -1;
	}
	.zajimavosti__autor-inline {
		grid-column: 1;
	}
	.zajimavosti__detail {
		padding: 0 14px 12px 14px;
	}
	.inzerce__edit {
		grid-template-columns: 1fr 1fr;
	}
	.rozpocty {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.quickbar {
		margin: -20px -16px 16px -16px;
	}
	.quickbar__inner {
		padding: 10px 16px;
	}
	.quickbar__title {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.quickbar__firma {
		border-left: none;
		padding-left: 0;
	}
	.info__list {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.info__list dt {
		margin-top: 8px;
	}
	.dalsi-udaje__list {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.dalsi-udaje__list dt {
		margin-top: 8px;
	}
	.vyhody__item {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.nabidnout {
		grid-template-columns: 1fr;
	}
	.inzerce__stats {
		grid-template-columns: 1fr;
	}
	.inzerce__edit {
		grid-template-columns: 1fr;
	}
	.objednane__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.schuzka__row {
		grid-template-columns: 1fr auto 20px;
		gap: 6px 10px;
	}
	.schuzka__when,
	.schuzka__tema {
		grid-column: 1 / -1;
	}
	.schuzka__progress {
		grid-column: 1 / -1;
		justify-self: start;
	}
	.schuzka__meta {
		grid-template-columns: 1fr;
	}
	.schuzka__list-hint {
		columns: 1;
	}
	.historie__row {
		grid-template-columns: 1fr auto;
		gap: 4px 12px;
	}
	.historie__datum {
		grid-column: 1 / -1;
	}
	.historie__autor-inline {
		grid-column: 1;
	}
	.historie__detail {
		padding: 0 14px 12px 14px;
	}
	.scroll-down {
		bottom: 24px;
		right: 16px;
	}
}
