.ss-page {
	color: #17223b;
}

.ss-page .ss-hero,
.ss-page .ss-tool,
.ss-page .ss-section,
.ss-page .disclaimer {
	border: 1px solid #d9e4ee;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 18px 45px rgba(24, 41, 66, 0.07);
}

.ss-page .ss-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 28px;
	align-items: stretch;
	padding: 34px;
	background:
		linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(249, 252, 247, 0.95)),
		linear-gradient(90deg, rgba(20, 102, 135, 0.12), transparent 55%);
}

.ss-page .ss-hero h1 {
	max-width: 780px;
	margin: 8px 0 14px;
	font-size: clamp(2.35rem, 5vw, 4.45rem);
	line-height: 0.98;
	letter-spacing: 0;
	color: #111827;
}

.ss-page .ss-hero p {
	max-width: 780px;
	font-size: 1.06rem;
	color: #42526d;
}

.ss-page .trust-note {
	margin-top: 18px;
	padding: 14px 16px;
	border-left: 5px solid #0f8b83;
	border-radius: 8px;
	background: #eefaf7;
	font-weight: 750;
}

.ss-page .hero-card {
	position: relative;
	overflow: hidden;
	display: flex;
	min-height: 240px;
	flex-direction: column;
	justify-content: center;
	padding: 28px;
	border-radius: 10px;
	background: #132139;
	color: #ffffff;
}

.ss-page .hero-card::after {
	position: absolute;
	right: -54px;
	bottom: -60px;
	width: 178px;
	height: 178px;
	border: 32px solid rgba(207, 143, 27, 0.82);
	border-radius: 50%;
	content: "";
}

.ss-page .hero-card span,
.ss-page .selected-result span,
.ss-page .claim-card span,
.ss-page .mini-grid span,
.ss-page .tradeoff-grid span,
.ss-page .related-grid span {
	display: block;
	margin-bottom: 8px;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #5b6b82;
}

.ss-page .hero-card span {
	color: #9ef4df;
}

.ss-page .hero-card strong {
	position: relative;
	z-index: 1;
	display: block;
	font-size: 3.4rem;
	line-height: 1;
}

.ss-page .hero-card p {
	position: relative;
	z-index: 1;
	color: #d8e6f5;
}

.ss-page .ss-tool,
.ss-page .ss-section,
.ss-page .disclaimer {
	margin-top: 24px;
	padding: 24px;
}

.ss-page .tool-grid {
	display: grid;
	grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
	gap: 24px;
	align-items: start;
}

.ss-page .input-panel,
.ss-page .result-dashboard {
	border: 1px solid #d7e4ef;
	border-radius: 10px;
	background: #fbfdff;
	padding: 22px;
}

.ss-page .input-panel {
	border-left: 6px solid #0f8b83;
}

.ss-page .field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ss-page .field {
	display: grid;
	gap: 7px;
	font-weight: 850;
	color: #17223b;
}

.ss-page .field.wide {
	grid-column: 1 / -1;
}

.ss-page .field input,
.ss-page .field select {
	width: 100%;
	border: 1px solid #cbd9e7;
	border-radius: 8px;
	background: #f4f8fc;
	color: #07152b;
	font: inherit;
	font-weight: 800;
	padding: 12px 13px;
}

.ss-page .field input:focus,
.ss-page .field select:focus {
	outline: 3px solid rgba(15, 139, 131, 0.2);
	border-color: #0f8b83;
	background: #ffffff;
}

.ss-page .field small {
	color: #617089;
	font-size: 0.84rem;
	line-height: 1.35;
}

.ss-page .advanced-inputs {
	margin-top: 18px;
	border: 1px solid #dbe6ef;
	border-radius: 10px;
	background: #ffffff;
	padding: 14px;
}

.ss-page .advanced-inputs summary {
	cursor: pointer;
	font-weight: 900;
}

.ss-page .advanced-inputs .field-grid {
	margin-top: 14px;
}

.ss-page .selected-result {
	position: relative;
	overflow: hidden;
	margin: 14px 0;
	padding: 24px;
	border-radius: 10px;
	background: linear-gradient(135deg, #173963, #0b7f75);
	color: #ffffff;
}

.ss-page .selected-result::after {
	position: absolute;
	right: -44px;
	top: -44px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	content: "";
}

.ss-page .selected-result span {
	color: #b9fff1;
}

.ss-page .selected-result strong {
	position: relative;
	z-index: 1;
	display: block;
	font-size: clamp(2.4rem, 5vw, 4rem);
	line-height: 1;
	color: #ffffff;
}

.ss-page .selected-result p {
	position: relative;
	z-index: 1;
	max-width: 620px;
	color: #eef8ff;
}

.ss-page .claim-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.ss-page .claim-card,
.ss-page .mini-grid div,
.ss-page .tradeoff-grid div,
.ss-page .method-grid div,
.ss-page .source-grid div {
	border: 1px solid #d7e4ef;
	border-radius: 10px;
	background: #ffffff;
	padding: 16px;
}

.ss-page .claim-card {
	min-height: 150px;
}

.ss-page .claim-card strong,
.ss-page .mini-grid strong,
.ss-page .tradeoff-grid strong {
	display: block;
	margin-bottom: 8px;
	font-size: 1.45rem;
	color: #101b31;
}

.ss-page .claim-card.featured {
	border-color: #0f8b83;
	box-shadow: inset 0 4px 0 #0f8b83;
}

.ss-page .mini-grid,
.ss-page .tradeoff-grid,
.ss-page .method-grid,
.ss-page .source-grid,
.ss-page .related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ss-page .mini-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 14px;
}

.ss-page .warning-card {
	margin-top: 14px;
	padding: 16px;
	border: 1px solid #f1c36d;
	border-left: 5px solid #c88411;
	border-radius: 10px;
	background: #fff9eb;
	color: #4b3818;
}

.ss-page .warning-card.is-clear {
	border-color: #bfe4d4;
	border-left-color: #0f8b83;
	background: #f0faf6;
	color: #17483e;
}

.ss-page .timeline-rail {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) 80px minmax(150px, 1fr) 80px minmax(150px, 1fr);
	align-items: center;
	gap: 12px;
	margin-top: 10px;
}

.ss-page .timeline-point {
	border: 1px solid #d7e4ef;
	border-radius: 12px;
	background: #ffffff;
	padding: 18px;
	text-align: center;
}

.ss-page .timeline-point span {
	display: inline-grid;
	width: 54px;
	height: 54px;
	place-items: center;
	margin-bottom: 12px;
	border-radius: 50%;
	background: #132139;
	color: #ffffff;
	font-weight: 950;
}

.ss-page .timeline-point.highlight span {
	background: #0f8b83;
}

.ss-page .timeline-line {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #0f8b83, #cf8f1b);
}

.ss-page .table-wrap {
	overflow-x: auto;
	margin-top: 18px;
	border: 1px solid #d7e4ef;
	border-radius: 10px;
}

.ss-page table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	background: #ffffff;
}

.ss-page th,
.ss-page td {
	padding: 13px 15px;
	border-bottom: 1px solid #dbe6ef;
	text-align: left;
}

.ss-page th {
	background: #f3f7fb;
	font-weight: 950;
}

.ss-page .two-col {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.ss-page .formula-box {
	margin-top: 14px;
	border: 1px solid #d7e4ef;
	border-left: 5px solid #0f8b83;
	border-radius: 10px;
	background: #f6fbfa;
	padding: 16px;
}

.ss-page .check-list {
	padding-left: 20px;
}

.ss-page .section-heading {
	max-width: 820px;
	margin-bottom: 16px;
}

.ss-page .related-grid a {
	display: block;
	border: 1px solid #d7e4ef;
	border-radius: 10px;
	background: #ffffff;
	padding: 17px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ss-page .related-grid a:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(17, 31, 53, 0.1);
}

.ss-page .source-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ss-page .source-grid a,
.ss-page .related-grid strong {
	color: #0b6f68;
}

.ss-page .action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.ss-page button {
	border: 0;
	border-radius: 8px;
	background: #132139;
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-weight: 950;
	padding: 12px 16px;
}

.ss-page .copy-button {
	background: #0f8b83;
}

.ss-page .validation-message,
.ss-page .copy-status {
	margin: 12px 0 0;
	color: #a44218;
	font-weight: 800;
}

.ss-page p,
.ss-page li,
.ss-page td,
.ss-page details p {
	color: #42526d;
	line-height: 1.7;
}

.ss-page .faq-section details {
	border-top: 1px solid #dbe6ef;
	padding: 15px 0;
}

.ss-page .faq-section summary {
	cursor: pointer;
	font-weight: 950;
	color: #17223b;
}

@media (max-width: 1080px) {
	.ss-page .ss-hero,
	.ss-page .tool-grid,
	.ss-page .two-col {
		grid-template-columns: 1fr;
	}

	.ss-page .hero-card {
		min-height: 180px;
	}
}

@media (max-width: 820px) {
	.ss-page .field-grid,
	.ss-page .claim-card-grid,
	.ss-page .mini-grid,
	.ss-page .tradeoff-grid,
	.ss-page .method-grid,
	.ss-page .source-grid,
	.ss-page .related-grid {
		grid-template-columns: 1fr;
	}

	.ss-page .timeline-rail {
		grid-template-columns: 1fr;
	}

	.ss-page .timeline-line {
		width: 8px;
		height: 36px;
		margin: 0 auto;
		background: linear-gradient(180deg, #0f8b83, #cf8f1b);
	}
}

@media (max-width: 640px) {
	.ss-page .ss-hero,
	.ss-page .ss-tool,
	.ss-page .ss-section,
	.ss-page .disclaimer {
		padding: 18px;
		border-radius: 10px;
	}

	.ss-page .ss-hero h1 {
		font-size: 2.35rem;
	}

	.ss-page .hero-card strong,
	.ss-page .selected-result strong {
		font-size: 2.5rem;
	}
}
