/* BOS Hodnotová křivka – všechny styly jsou omezené na .bos-hk, aby neměnily zbytek webu. */

.bos-hk {
	--bos-blue: #2271b1;
	--bos-green: #38a169;
	--bos-red: #e53e3e;
	--bos-text: #1a202c;
	--bos-muted: #4a5568;
	--bos-border: #e2e8f0;
	background: #fff;
	color: var(--bos-text);
	padding: 40px;
	border-radius: 20px;
	font-family: inherit;
	max-width: 1000px;
	margin: 20px auto;
	border: 1px solid var(--bos-border);
	box-sizing: border-box;
	line-height: 1.5;
}

.bos-hk *,
.bos-hk *::before,
.bos-hk *::after {
	box-sizing: border-box;
}

.bos-hk [hidden] {
	display: none !important;
}

.bos-hk-title {
	text-align: center;
	color: #000;
	margin: 0 0 30px;
}

.bos-hk-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 30px;
}

.bos-hk-card {
	padding: 20px;
	border-radius: 12px;
	border-left: 5px solid;
}

.bos-hk-card p {
	font-size: 13px;
	margin: 5px 0 0;
	color: var(--bos-muted);
}

.bos-hk-card--blue { background: #f0f7ff; border-color: var(--bos-blue); }
.bos-hk-card--red  { background: #fff5f5; border-color: var(--bos-red); }

.bos-hk-setup,
.bos-hk-scores {
	background: #f8fafc;
	padding: 25px;
	border-radius: 15px;
	margin-bottom: 25px;
}

.bos-hk-step {
	font-weight: 700;
	margin: 0 0 12px;
}

.bos-hk-label {
	display: block;
	margin-bottom: 20px;
}

.bos-hk-label span {
	display: block;
	font-size: 14px;
	color: var(--bos-muted);
	margin-bottom: 6px;
}

.bos-hk input[type="text"],
.bos-hk input[type="number"],
.bos-hk input[type="email"] {
	border: 2px solid #cbd5e1;
	padding: 12px;
	border-radius: 8px;
	width: 100%;
	max-width: none;
	background: #fff;
	color: #000;
	font-size: 16px;
	line-height: 1.3;
	height: auto;
	margin: 0;
	box-shadow: none;
}

.bos-hk input:focus {
	outline: 2px solid var(--bos-blue);
	outline-offset: 1px;
}

.bos-hk-subject {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
	align-items: stretch;
}

.bos-hk-subject .bos-hk-name { flex: 3; }

.bos-hk-subject .bos-hk-color {
	flex: 0 0 64px;
	height: 48px;
	padding: 2px;
	border: 2px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

.bos-hk-remove {
	flex: 0 0 48px;
	border: 2px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: var(--bos-muted);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.bos-hk-remove:hover { color: var(--bos-red); border-color: var(--bos-red); }

.bos-hk-link {
	background: none;
	border: none;
	color: var(--bos-blue);
	cursor: pointer;
	font-weight: 700;
	margin: 0 0 20px;
	padding: 4px 0;
	font-size: 15px;
}

.bos-hk-btn {
	display: block;
	background: var(--bos-blue);
	color: #fff;
	padding: 15px;
	border: none;
	border-radius: 8px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	width: 100%;
	transition: filter .2s;
	text-transform: none;
	letter-spacing: normal;
}

.bos-hk-btn:hover { filter: brightness(1.08); }
.bos-hk-btn--green { background: var(--bos-green); margin-top: 20px; }

.bos-hk-score-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 15px;
}

.bos-hk-score-card {
	background: #fff;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid var(--bos-border);
	border-top: 4px solid var(--bos-blue);
}

.bos-hk-score-name {
	display: block;
	margin-bottom: 12px;
}

.bos-hk-score-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 14px;
}

.bos-hk .bos-hk-score-line input[type="number"] {
	width: 70px;
	flex: 0 0 70px;
	padding: 6px 8px;
	text-align: center;
}

.bos-hk-chart-wrap {
	height: 400px;
	border: 1px solid #eee;
	padding: 15px;
	border-radius: 10px;
	background: #fff;
	margin-bottom: 20px;
	position: relative;
}

.bos-hk-analysis {
	margin: 0 0 25px;
	padding: 25px;
	border-radius: 15px;
	line-height: 1.6;
	font-weight: 500;
}

.bos-hk-analysis--blue { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.bos-hk-analysis--red  { background: #fff5f5; border: 1px solid #feb2b2; color: #9b2c2c; }
.bos-hk-analysis--none { background: #f8fafc; border: 1px solid var(--bos-border); color: #334155; }

.bos-hk-focus { margin: 12px 0 0; }
.bos-hk-warning { margin: 12px 0 0; color: #9b2c2c; }

.bos-hk-email {
	margin-top: 30px;
	padding: 35px 20px;
	background: #1a202c;
	border-radius: 20px;
	text-align: center;
	color: #fff;
}

.bos-hk-email h3 {
	color: #fff;
	margin: 0 0 20px;
}

.bos-hk-email-row {
	display: flex;
	gap: 12px;
	justify-content: center;
	max-width: 550px;
	margin: 0 auto;
}

.bos-hk .bos-hk-email-row .bos-hk-email-input {
	flex: 1;
	min-width: 0;
	border-color: var(--bos-border);
}

.bos-hk-send {
	background: #48bb78;
	color: #fff;
	border: none;
	padding: 12px 30px;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	font-size: 16px;
	white-space: nowrap;
	min-width: 180px;
}

.bos-hk-send:disabled { opacity: .6; cursor: wait; }

/* Past na roboty – pro lidi neviditelná. */
.bos-hk-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bos-hk-privacy {
	font-size: 12px;
	color: #cbd5e1;
	margin: 14px auto 0;
	max-width: 550px;
}

.bos-hk-privacy a { color: #fff; }

.bos-hk-status {
	margin-top: 15px;
	font-weight: 700;
	min-height: 1.5em;
}

.bos-hk-status--success { color: #48bb78; }
.bos-hk-status--error   { color: #fc8181; }
.bos-hk-status--info    { color: #cbd5e1; }

@media (max-width: 700px) {
	.bos-hk { padding: 22px 16px; border-radius: 14px; }
	.bos-hk-cards { grid-template-columns: 1fr; }
	.bos-hk-setup, .bos-hk-scores { padding: 18px 14px; }
	.bos-hk-chart-wrap { height: 320px; padding: 8px; }
}

@media (max-width: 481px) {
	.bos-hk-email-row { flex-direction: column; }
	.bos-hk-send { width: 100%; }
}
