.ksccc-widget {
	--ksccc-border: #e2e2e0;
	--ksccc-border-strong: #c9c9c6;
	--ksccc-text: #1f1f1d;
	--ksccc-text-secondary: #5f5e5a;
	--ksccc-text-muted: #888780;
	--ksccc-radius: 8px;
	--ksccc-gray-bg: #f1efe8;
	--ksccc-gray-text: #444441;
	--ksccc-coral-bg: #faece7;
	--ksccc-coral-text: #712b13;
	--ksccc-amber-bg: #faeeda;
	--ksccc-amber-text: #633806;

	max-width: 560px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ksccc-text);
	box-sizing: border-box;
}

.ksccc-widget *,
.ksccc-widget *::before,
.ksccc-widget *::after {
	box-sizing: inherit;
}

.ksccc-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ksccc-field-group {
	margin-bottom: 1.25rem;
}

.ksccc-label {
	display: block;
	font-size: 13px;
	color: var(--ksccc-text-secondary);
	margin-bottom: 8px;
}

.ksccc-hint {
	font-size: 12px;
	color: var(--ksccc-text-muted);
	margin: -4px 0 10px;
	line-height: 1.5;
}

.ksccc-widget select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid var(--ksccc-border-strong);
	border-radius: var(--ksccc-radius);
	background: #fff;
	font-size: 14px;
	color: var(--ksccc-text);
}

.ksccc-radio,
.ksccc-checkbox {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 14px;
	margin-bottom: 8px;
	cursor: pointer;
}

.ksccc-radio input,
.ksccc-checkbox input {
	margin-top: 3px;
	flex-shrink: 0;
}

.ksccc-info-wrap {
	position: relative;
	display: inline-block;
	margin: -4px 0 8px 4px;
}

.ksccc-info-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--ksccc-border-strong);
	background: #fff;
	color: var(--ksccc-text-secondary);
	font-size: 12px;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
	line-height: 1;
	cursor: pointer;
}

.ksccc-info-icon:hover,
.ksccc-info-icon:focus-visible {
	border-color: #378add;
	color: #185fa5;
	outline: none;
}

.ksccc-tooltip {
	position: absolute;
	z-index: 10;
	top: 24px;
	left: 0;
	width: 280px;
	max-width: 80vw;
	background: #fff;
	border: 1px solid var(--ksccc-border-strong);
	border-radius: var(--ksccc-radius);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	padding: 12px 14px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--ksccc-text-secondary);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.12s ease;
}

.ksccc-tooltip strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ksccc-text);
	margin-bottom: 4px;
}

.ksccc-tooltip p {
	margin: 0 0 8px;
}

.ksccc-tooltip a {
	display: inline-block;
	font-size: 12px;
	color: #185fa5;
	text-decoration: underline;
}

.ksccc-info-wrap:hover .ksccc-tooltip,
.ksccc-info-wrap:focus-within .ksccc-tooltip,
.ksccc-tooltip.ksccc-tooltip--open {
	visibility: visible;
	opacity: 1;
}

.ksccc-button {
	display: inline-block;
	width: 100%;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: #1f1f1d;
	border: 1px solid #1f1f1d;
	border-radius: var(--ksccc-radius);
	cursor: pointer;
}

.ksccc-button:hover {
	background: #3a3a37;
}

.ksccc-button:focus-visible {
	outline: 2px solid #378add;
	outline-offset: 2px;
}

.ksccc-result {
	margin-top: 1.5rem;
}

.ksccc-status {
	border-radius: 12px;
	padding: 1rem 1.25rem;
	margin-bottom: 1rem;
}

.ksccc-status--gray {
	background: var(--ksccc-gray-bg);
	color: var(--ksccc-gray-text);
}

.ksccc-status--coral {
	background: var(--ksccc-coral-bg);
	color: var(--ksccc-coral-text);
}

.ksccc-status--amber {
	background: var(--ksccc-amber-bg);
	color: var(--ksccc-amber-text);
}

.ksccc-status-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 4px;
}

.ksccc-status-body {
	font-size: 13px;
	margin: 0;
	line-height: 1.5;
}

.ksccc-measures-wrap {
	margin-bottom: 1rem;
}

.ksccc-measures-heading {
	font-size: 13px;
	color: var(--ksccc-text-secondary);
	margin: 0 0 8px;
}

.ksccc-measures-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ksccc-measure {
	border: 1px solid var(--ksccc-border);
	border-radius: var(--ksccc-radius);
	padding: 10px 12px;
}

.ksccc-measure-title {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 2px;
}

.ksccc-measure-body {
	font-size: 13px;
	color: var(--ksccc-text-secondary);
	margin: 0;
}

.ksccc-legal-note {
	font-size: 12px;
	color: var(--ksccc-text-muted);
	margin: 1rem 0 0;
	line-height: 1.5;
}

.ksccc-disclaimer {
	font-size: 12px;
	color: var(--ksccc-text-muted);
	margin-top: 1.5rem;
	line-height: 1.5;
}
