/* Converter pair pages — aligned with Time Zone Converter tone */

.converter-pair-page {
	margin: 0;
	font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	color: #334155;
	-webkit-font-smoothing: antialiased;
	background: #f8fafc;
}

.converter-pair-page main {
	padding: 5.5rem 1rem 3rem;
}

@media (min-width: 768px) {
	.converter-pair-page main {
		padding-top: 6rem;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

.cp-container {
	max-width: 48rem;
	margin: 0 auto;
}

.cp-header {
	margin-bottom: 1.5rem;
}

.cp-header h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.45rem, 4vw, 1.85rem);
	font-weight: 800;
	line-height: 1.25;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.cp-header p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #64748b;
}

.cp-snapshot {
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	border: 1px solid #bfdbfe;
	border-radius: 16px;
	padding: 1.35rem 1.25rem;
	margin-bottom: 1.25rem;
	text-align: center;
}

.cp-snapshot__title {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #2563eb;
	margin-bottom: 1rem;
}

.cp-snapshot__grid {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.cp-snapshot__abbr {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
}

.cp-snapshot__name {
	margin: 0.15rem 0 0;
	font-size: 0.78rem;
	color: #64748b;
}

.cp-snapshot__time {
	font-size: clamp(1.6rem, 5vw, 2.1rem);
	font-weight: 800;
	color: #2563eb;
	margin: 0.35rem 0 0.15rem;
	font-variant-numeric: tabular-nums;
}

.cp-snapshot__date {
	font-size: 0.85rem;
	color: #64748b;
}

.cp-snapshot__divider {
	font-size: 1.5rem;
	color: #93c5fd;
	font-weight: 300;
}

.cp-panel {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
	padding: 1.35rem;
	margin-bottom: 1.5rem;
	overflow: visible;
}

.cp-datebar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 1.25rem;
	position: relative;
	z-index: 6;
	overflow: visible;
}

.cp-datepicker {
	position: relative;
}

.cp-datepicker label,
.cp-slide-meta .label {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
	margin-bottom: 0.45rem;
}

.cp-date-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	border-radius: 10px;
	padding: 0.55rem 0.85rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
	font-family: inherit;
}

.cp-date-trigger:hover {
	border-color: #93c5fd;
}

.cp-slide-meta {
	text-align: right;
}

.cp-datebar__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.65rem;
}

.cp-format-toggle {
	display: inline-flex;
	padding: 0.2rem;
	background: #f1f5f9;
	border-radius: 10px;
	gap: 0.15rem;
}

.cp-format-btn {
	border: none;
	background: transparent;
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.4rem 0.7rem;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.2;
}

.cp-format-btn:hover {
	color: #334155;
}

.cp-format-btn.is-active {
	background: #fff;
	color: #1d4ed8;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.cp-slide-meta .value {
	font-size: 1.35rem;
	font-weight: 800;
	color: #2563eb;
	font-variant-numeric: tabular-nums;
}

.cp-date-hint {
	margin: -0.5rem 0 1rem;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #94a3b8;
}

.cp-calendar {
	position: absolute;
	z-index: 50;
	top: calc(100% + 0.35rem);
	left: 0;
	width: 17rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
	padding: 0.75rem;
}

.cp-calendar[hidden] {
	display: none !important;
}

.cp-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.cp-cal__title {
	font-size: 0.85rem;
	font-weight: 800;
	color: #0f172a;
}

.cp-cal__nav {
	border: none;
	background: #f1f5f9;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	color: #334155;
}

.cp-cal__weekdays,
.cp-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.2rem;
	text-align: center;
}

.cp-cal__weekdays {
	margin-bottom: 0.25rem;
	font-size: 0.65rem;
	font-weight: 700;
	color: #94a3b8;
}

.cp-cal__day {
	border: none;
	background: transparent;
	border-radius: 8px;
	padding: 0.4rem 0;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	color: #0f172a;
}

.cp-cal__day--muted {
	color: #cbd5e1;
}

.cp-cal__day--selected {
	background: #2563eb;
	color: #fff;
}

.cp-cal__day--today:not(.cp-cal__day--selected) {
	box-shadow: inset 0 0 0 1px #93c5fd;
}

.cp-cal__foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.5rem;
}

.cp-cal__foot button {
	border: none;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.35rem 0.65rem;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
}

.cp-slider-wrap {
	margin-bottom: 1.35rem;
}

.cp-slider {
	width: 100%;
	accent-color: #2563eb;
	cursor: pointer;
}

.cp-slider-scale {
	position: relative;
	height: 2rem;
	margin-top: 0.35rem;
}

.cp-slider-tick {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
}

.cp-slider-tick:first-child {
	transform: none;
	align-items: flex-start;
}

.cp-slider-tick:last-child {
	transform: translateX(-100%);
	align-items: flex-end;
}

.cp-slider-tick__mark {
	width: 1px;
	height: 0.4rem;
	background: #cbd5e1;
}

.cp-slider-tick__label {
	margin-top: 0.15rem;
	font-size: 0.62rem;
	font-weight: 700;
	color: #94a3b8;
	white-space: nowrap;
}

.cp-zones {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.cp-zone {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	background: #f1f5f9;
}

.cp-zone--base {
	border-color: #bfdbfe;
	background: #eff6ff;
	border-left: 4px solid #2563eb;
}

.cp-zone__title {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}

.cp-zone__badge {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	background: #2563eb;
	color: #fff;
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
}

.cp-zone--base .cp-zone__badge {
	background: #16a34a;
}

.cp-zone__name {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f172a;
}

.cp-zone__meta {
	margin: 0.25rem 0 0;
	font-size: 0.78rem;
	color: #64748b;
	line-height: 1.4;
}

.cp-zone__right {
	text-align: right;
	flex-shrink: 0;
}

.cp-zone__time {
	font-size: 1.25rem;
	font-weight: 800;
	color: #0f172a;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.cp-zone__time-main,
.cp-snapshot__time-main {
	display: block;
}

.cp-zone__time-sub,
.cp-snapshot__time-sub {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #64748b;
	font-variant-numeric: tabular-nums;
}

.cp-snapshot__time .cp-snapshot__time-main {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.cp-zone__date {
	margin-top: 0.2rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #64748b;
}

.cp-zone__date.is-nextday {
	color: #2563eb;
	font-weight: 700;
}

.cp-tech {
	display: grid;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
}

.cp-tech__block {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-left: 3px solid #3b82f6;
	border-radius: 14px;
	padding: 1.15rem 1.25rem;
}

.cp-tech__block h2 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
	color: #0f172a;
	letter-spacing: -0.01em;
}

.cp-tech__block p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: #475569;
}

@media (min-width: 720px) {
	.cp-tech {
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
		align-items: stretch;
	}

	.cp-tech__block {
		padding: 1.25rem 1.35rem;
	}
}

.cp-table-section {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 1.35rem;
	margin-bottom: 1.25rem;
}

.cp-table-section h2 {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f172a;
}

.cp-table-desc {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	color: #64748b;
	line-height: 1.5;
}

.cp-table-scroll {
	overflow-x: auto;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

.cp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	min-width: 28rem;
}

.cp-table th {
	background: #f8fafc;
	color: #64748b;
	font-weight: 700;
	text-align: left;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #e2e8f0;
}

.cp-table td {
	padding: 0.65rem 1rem;
	border-bottom: 1px solid #f1f5f9;
	color: #334155;
}

.cp-table tr:last-child td {
	border-bottom: none;
}

.cp-table tr.is-overlap {
	background: #f0fdf4;
}

.cp-table tr.is-overlap td {
	color: #166534;
	font-weight: 600;
}

.cp-status {
	font-size: 0.78rem;
	color: #94a3b8;
	font-weight: 600;
}

.cp-status--overlap {
	color: #15803d;
}

.cp-hub-link {
	margin: 0 0 1.5rem;
	font-size: 0.9rem;
	color: #64748b;
}

.cp-hub-link a {
	color: #2563eb;
	font-weight: 700;
	text-decoration: none;
}

.cp-hub-link a:hover {
	text-decoration: underline;
}

.cp-popular {
	margin-bottom: 2rem;
	padding: 1.35rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
}

.cp-popular h2 {
	margin: 0 0 1.15rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-transform: none;
	color: #0f172a;
}

.cp-popular__group {
	margin-bottom: 1.35rem;
}

.cp-popular__group:last-child {
	margin-bottom: 0;
}

.cp-popular__group-title {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-transform: none;
	color: #64748b;
}

.cp-popular__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.cp-popular__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.cp-popular__grid a {
	display: block;
	padding: 0.65rem 0.75rem;
	background: #fff;
	border: 1px solid #f1f5f9;
	border-radius: 10px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #334155;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.cp-popular__grid a:hover {
	border-color: #3b82f6;
	color: #1d4ed8;
}

.cp-faq {
	margin-top: 2.5rem;
	margin-bottom: 2rem;
	max-width: none;
	padding: 2rem 0 0;
	background: transparent;
	border: none;
	border-top: 1px solid #e2e8f0;
	border-radius: 0;
	box-shadow: none;
}

.cp-faq .us-faq-title {
	margin-top: 0;
}

.cp-faq-intro {
	margin: -1.5rem 0 1.75rem;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #64748b;
}

.cp-faq .us-faq-body {
	counter-reset: faq-section;
}

.cp-faq .us-faq-body h3.us-faq-heading {
	counter-increment: faq-section;
}

.cp-faq .us-faq-body h3.us-faq-heading::before {
	content: counter(faq-section) ". ";
	color: #38bdf8;
	font-weight: 700;
}

.cp-faq code {
	font-size: 0.85em;
	background: #f1f5f9;
	padding: 0.1rem 0.35rem;
	border-radius: 4px;
}

@media (max-width: 480px) {
	.cp-slider-tick:nth-child(even) .cp-slider-tick__label {
		display: none;
	}
}
