/* Load after yes319main-5.css and Bootstrap; add yes2026-theme to the page root.
 * Reusable components: shell, split, headings, panel,
 * fields, buttons, links, options, actions, note, news-list and date-badge.
 * Bootstrap retains input-group and breadcrumb structure.
 */
.yes2026-theme {
	--yes2026-brand: #a52427;
	--yes2026-brand-hover: #b91f1f;
	--yes2026-link: #337ab7;
	--yes2026-link-hover: #235781;
	--yes2026-text: #263241;
	--yes2026-muted: #5c5c5c;
	--yes2026-subtle: #788698;
	--yes2026-border: #d9e2ec;
	--yes2026-divider: #e5ebf2;
	--yes2026-surface: #fff;
	--yes2026-background: #f4f7fb;
	--yes2026-radius: 8px;
	--yes2026-control-height: 42px;
	--yes2026-shell-width: 1180px;
	--yes2026-shadow: 0 12px 28px rgba(31, 47, 70, .08);
	--yes2026-shadow-raised: 0 16px 38px rgba(29, 48, 72, .18);
	--yes2026-focus-shadow: 0 0 0 3px rgba(51, 122, 183, .24);
}
.yes2026-page {
	min-height: 100vh;
	background: var(--yes2026-background);
	color: var(--yes2026-text);
	font-family: "Microsoft JhengHei", Arial, sans-serif;
}
.yes2026-shell {
	width: 100%;
	max-width: var(--yes2026-shell-width);
	margin: 0 auto;
	padding: 0 20px;
}
.yes2026-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--yes2026-aside-width, 410px);
	align-items: center;
	gap: 36px;
}
.yes2026-split > * {
	min-width: 0;
}
.yes2026-split--top {
	align-items: start;
}
.yes2026-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 16.6667%);
	align-items: start;
	gap: 24px;
	padding: 0 12px;
}
.yes2026-with-sidebar > * {
	min-width: 0;
}
.yes2026-sidebar-content {
	--yes2026-aside-width: 340px;
}
.yes2026-sidebar {
	margin-top: 28px;
}
.yes2026-with-sidebar #other_menu {
	position: static;
	width: auto;
}
.yes2026-with-sidebar #other_menu > div {
	margin-bottom: 20px;
}
.yes2026-with-sidebar #other_menu .content::after {
	content: "";
	display: block;
	clear: both;
}
.yes2026-section .yes2026-shell {
	padding-top: 28px;
	padding-bottom: 28px;
}
.yes2026-section--muted {
	border-top: 1px solid var(--yes2026-divider);
	border-bottom: 1px solid var(--yes2026-divider);
	background: var(--yes2026-background);
}
.yes2026-page-heading {
	margin-bottom: 28px;
}
.yes2026-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border: 1px solid var(--yes2026-border);
	border-radius: var(--yes2026-radius);
	background: var(--yes2026-surface);
	color: var(--yes2026-muted);
}
.yes2026-icon-button:hover {
	background: var(--yes2026-background);
	color: var(--yes2026-text);
}
.yes2026-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	color: var(--yes2026-link);
	font-size: 15px;
	font-weight: 700;
}
.yes2026-eyebrow::before {
	content: "";
	width: 4px;
	height: 22px;
	background: var(--yes2026-brand);
	border-radius: 2px;
}
.yes2026-display-title {
	margin: 0 0 14px;
	padding: 10px 0 2px;
	color: var(--yes2026-text);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}
.yes2026-lead {
	margin: 0;
	color: var(--yes2026-muted);
	font-size: 16px;
	line-height: 1.8;
}
.yes2026-heading {
	margin: 0 0 18px;
	padding: 0 0 0 12px;
	border-left: 5px solid var(--yes2026-brand);
	color: var(--yes2026-text);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0;
}
.yes2026-support-page .info-service-note .yes2026-lead {
	padding-left: 17px;
}
.yes2026-heading--large {
	--yes2026-heading-size: 25px;
	margin-bottom: 0;
	font-size: 25px;
}
/* Legacy h3 color and size are important; override only opted-in headings. */
h3.yes2026-heading {
	color: var(--yes2026-text) !important;
	font-size: var(--yes2026-heading-size, 22px) !important;
}
.yes2026-panel {
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--yes2026-border);
	border-radius: var(--yes2026-radius);
	background: var(--yes2026-surface);
	box-shadow: var(--yes2026-shadow);
}
.yes2026-panel--raised {
	padding: 28px 30px 26px;
	box-shadow: var(--yes2026-shadow-raised);
}
.yes2026-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}
.yes2026-round-link {
	display: inline-flex;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--yes2026-brand);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(209, 43, 43, .24);
}
.yes2026-round-link:hover {
	background: var(--yes2026-brand-hover);
	color: #fff;
}
.yes2026-field {
	margin-bottom: 16px;
}
.yes2026-label.form-label {
	display: block;
	margin-bottom: 7px;
	color: var(--yes2026-text);
	font-size: 15px;
	font-weight: 700;
}
.yes2026-input.form-control,
.yes2026-input.form-select {
	min-height: var(--yes2026-control-height);
	border: 1px solid var(--yes2026-border);
	border-radius: var(--yes2026-radius);
	font-size: 16px;
	box-shadow: none;
}
.yes2026-input.form-control:focus,
.yes2026-input.form-select:focus {
	border-color: var(--yes2026-link);
	box-shadow: var(--yes2026-focus-shadow);
}
.yes2026-input[aria-invalid="true"],
.yes2026-input.is-invalid {
	border-color: var(--yes2026-brand);
}
.yes2026-input:disabled,
.yes2026-input[readonly] {
	background-color: #f5f5f5;
	color: var(--yes2026-muted);
}
.yes2026-input-action.input-group-text {
	min-height: var(--yes2026-control-height);
	width: 50px;
	justify-content: center;
	border-color: var(--yes2026-border);
	border-radius: 0 var(--yes2026-radius) var(--yes2026-radius) 0;
	background-color: var(--yes2026-surface);
	color: var(--yes2026-text);
	cursor: pointer;
}
.yes2026-input-action i,
.yes2026-input-action svg {
	font-size: 20px;
}
.yes2026-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: -2px 0 18px;
	color: var(--yes2026-muted);
	font-size: 14px;
}
.yes2026-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	white-space: nowrap;
}
.yes2026-check input {
	accent-color: var(--yes2026-brand);
}
.yes2026-link {
	color: var(--yes2026-link);
	text-decoration: none;
}
.yes2026-link:hover {
	color: var(--yes2026-link-hover);
	text-decoration: underline;
}
.yes2026-link--strong {
	font-weight: 700;
}
.yes2026-options .yes2026-link {
	white-space: nowrap;
}
.yes2026-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.yes2026-action-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}
.yes2026-action-hint {
	margin: 7px 0 0;
	color: var(--yes2026-muted);
	font-size: 13px;
	line-height: 1.6;
}
.yes2026-button.btn {
	--bs-btn-color: var(--yes2026-text);
	--bs-btn-bg: var(--yes2026-surface);
	--bs-btn-border-color: var(--yes2026-muted);
	--bs-btn-hover-color: var(--yes2026-text);
	--bs-btn-hover-bg: #f5f5f5;
	--bs-btn-hover-border-color: var(--yes2026-muted);
	--bs-btn-active-color: var(--yes2026-text);
	--bs-btn-active-bg: #e5ebf2;
	--bs-btn-active-border-color: var(--yes2026-muted);
	--bs-btn-disabled-color: var(--yes2026-text);
	--bs-btn-disabled-bg: var(--yes2026-surface);
	--bs-btn-disabled-border-color: var(--yes2026-border);
	min-height: var(--yes2026-control-height);
	border-radius: var(--yes2026-radius);
	font-size: 16px;
	font-weight: 700;
	white-space: normal;
}
.yes2026-button--primary.btn {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--yes2026-brand);
	--bs-btn-border-color: var(--yes2026-brand);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--yes2026-brand-hover);
	--bs-btn-hover-border-color: var(--yes2026-brand-hover);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--yes2026-brand-hover);
	--bs-btn-active-border-color: var(--yes2026-brand-hover);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: var(--yes2026-brand);
	--bs-btn-disabled-border-color: var(--yes2026-brand);
	box-shadow: 0 8px 18px rgba(209, 43, 43, .2);
}
.yes2026-button--pill.btn {
	border-radius: 999px;
}
.yes2026-button:disabled,
.yes2026-button.disabled {
	box-shadow: none;
}
/* The legacy stylesheet removes outlines; opt-in controls use a focus ring. */
.yes2026-link:focus-visible,
.yes2026-icon-button:focus-visible,
.yes2026-service-link:focus-visible,
.yes2026-qr-code a:focus-visible,
.yes2026-news-title:focus-visible,
.yes2026-round-link:focus-visible,
.yes2026-button.btn:focus-visible,
.yes2026-input-action:focus-visible,
.yes2026-check input:focus-visible {
	box-shadow: var(--yes2026-focus-shadow);
}
.yes2026-note {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--yes2026-divider);
	color: var(--yes2026-muted);
	font-size: 15px;
}
/* The shared loading helper keeps inline fallback styles for older pages. */
.yes2026-theme #loading_div {
	display: flex;
	align-items: center;
	gap: 14px;
	top: 50% !important;
	left: 50% !important;
	width: 320px !important;
	max-width: calc(100% - 32px);
	min-height: 88px;
	padding: 22px 24px !important;
	transform: translate(-50%, -50%);
	border: 1px solid var(--yes2026-border);
	background-color: var(--yes2026-surface) !important;
	color: var(--yes2026-text) !important;
	text-align: left !important;
	box-shadow: 0 12px 32px rgba(31, 47, 70, .18) !important;
}
.yes2026-theme #loading_div > i,
.yes2026-theme #loading_div > svg {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	font-size: 32px !important;
	color: var(--yes2026-brand) !important;
}
.yes2026-theme #loading_div > span {
	min-width: 0;
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
	.yes2026-theme #loading_div > i,
	.yes2026-theme #loading_div > svg {
		animation: none !important;
	}
}
.yes2026-news-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.yes2026-news-list > li {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--yes2026-divider);
}
.yes2026-news-title {
	display: block;
	color: var(--yes2026-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
.yes2026-news-title:hover {
	color: var(--yes2026-link);
}
.yes2026-news-summary {
	display: block;
	margin-top: 3px;
	color: var(--yes2026-subtle);
	font-size: 13px;
}
.yes2026-date-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--yes2026-brand);
	color: #fff;
	font-weight: 800;
	line-height: 1;
}
.yes2026-date-month {
	font-size: 12px;
}
.yes2026-date-day {
	margin-top: 3px;
	font-size: 17px;
}

.yes2026-contact-list {
	margin: 0;
}
.yes2026-contact-row {
	display: grid;
	grid-template-columns: 124px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	min-height: 78px;
	padding: 18px 0;
	border-bottom: 1px solid var(--yes2026-divider);
}
.yes2026-contact-row:first-child {
	padding-top: 0;
}
.yes2026-contact-row dt {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--yes2026-muted);
	font-size: 15px;
	font-weight: 500;
}
.yes2026-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: var(--yes2026-radius);
	background: var(--yes2026-background);
	color: var(--yes2026-link);
}
.yes2026-contact-row dd {
	min-width: 0;
	margin: 0;
	overflow-wrap: anywhere;
}
.yes2026-contact-value {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}
.yes2026-contact-detail {
	display: block;
	margin-top: 2px;
	color: var(--yes2026-muted);
	font-size: 14px;
}
.yes2026-line-panel .yes2026-panel-header {
	margin-bottom: 8px;
}
.yes2026-line-icon {
	flex-shrink: 0;
	font-size: 32px;
	color: #00883e;
}
.yes2026-qr-code {
	margin: 0 0 18px;
	text-align: center;
}
.yes2026-qr-code a {
	display: inline-block;
	max-width: 100%;
}
.yes2026-qr-code img {
	display: block;
	width: 230px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1;
}
.yes2026-qr-code figcaption {
	margin-top: 4px;
	color: var(--yes2026-muted);
	font-size: 15px;
}
.yes2026-qr-code strong {
	color: var(--yes2026-text);
	font-size: 16px;
}
.yes2026-button--line.btn {
	--bs-btn-color: #fff;
	--bs-btn-bg: #00883e;
	--bs-btn-border-color: #00883e;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #006f33;
	--bs-btn-hover-border-color: #006f33;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #006f33;
	--bs-btn-active-border-color: #006f33;
}
.yes2026-service-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.yes2026-service-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	min-height: 52px;
	padding: 12px 0;
	border-bottom: 1px solid var(--yes2026-border);
	color: var(--yes2026-text);
	text-decoration: none;
}
.yes2026-service-link:hover {
	border-color: var(--yes2026-link);
	color: var(--yes2026-link);
}
.yes2026-service-link > span {
	flex: 1;
	font-size: 16px;
	font-weight: 700;
}
.yes2026-service-link > :first-child {
	flex: 0 0 20px;
	width: 20px;
	color: var(--yes2026-link);
	font-size: 18px;
}
.yes2026-service-link > :last-child {
	flex: 0 0 12px;
	width: 12px;
	color: var(--yes2026-subtle);
	font-size: 12px;
}

/* Shared member-access composition; retain the existing login class aliases. */
.member-login-copy,
.yes2026-access-copy {
	max-width: 500px;
	padding-top: 24px;
}
.member-login-visual,
.yes2026-device-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 190px;
	align-items: center;
	gap: 20px;
	max-width: 540px;
	min-height: 168px;
	margin-top: 28px;
}
.member-login-visual strong,
.yes2026-device-panel strong {
	display: block;
	color: var(--yes2026-text);
	font-size: 18px;
	line-height: 1.5;
}
.member-login-visual span,
.yes2026-device-panel span {
	display: block;
	margin-top: 8px;
	color: var(--yes2026-muted);
	font-size: 14px;
	line-height: 1.7;
}
.member-login-device,
.yes2026-devices {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
}
.member-login-device img:first-child,
.yes2026-devices img:first-child {
	width: 116px;
	height: auto;
	filter: drop-shadow(0 10px 14px rgba(31, 47, 70, .16));
}
.member-login-device img:last-child,
.yes2026-devices img:last-child {
	width: 68px;
	height: auto;
	filter: drop-shadow(0 8px 12px rgba(31, 47, 70, .14));
}
.member-login-content .yes2026-shell {
	padding-top: 34px;
	padding-bottom: 34px;
}
@media (max-width: 991.98px) {
	.yes2026-split {
		grid-template-columns: minmax(0, 1fr);
	}
	.yes2026-service-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.member-login-copy,
	.yes2026-access-copy {
		padding-top: 0;
	}
	.member-login-visual,
	.yes2026-device-panel {
		display: none;
	}
}
@media (max-width: 767.98px) {
	.yes2026-with-sidebar {
		grid-template-columns: minmax(0, 1fr);
		padding: 0;
	}
	.yes2026-with-sidebar #other_menu {
		display: none;
		position: fixed;
		right: 50px;
		bottom: 0;
		z-index: 2;
		width: 260px;
		max-width: calc(100vw - 60px);
		max-height: 100vh;
		overflow-y: auto;
		margin-top: 0;
	}
	.yes2026-with-sidebar #other_menu > div {
		margin-bottom: 0;
		border-radius: 0;
	}
	.yes2026-with-sidebar #other_menu .title {
		cursor: pointer;
	}
	.yes2026-with-sidebar #other_menu .content {
		display: none;
		max-height: 200px;
		overflow: auto;
	}
	.yes2026-with-sidebar #other_menu > div:first-child .content {
		display: block;
	}
}
@media (max-width: 575.98px) {
	.yes2026-shell {
		padding-left: 14px;
		padding-right: 14px;
	}
	.yes2026-display-title {
		font-size: 26px;
	}
	.yes2026-panel,
	.yes2026-panel--raised {
		padding: 22px 18px;
	}
	.yes2026-actions--stack-mobile {
		grid-template-columns: minmax(0, 1fr);
	}
	.yes2026-options {
		gap: 8px;
	}
	.yes2026-contact-row {
		grid-template-columns: 108px minmax(0, 1fr);
		gap: 12px;
		padding: 16px 0;
	}
	.yes2026-contact-row dt {
		gap: 8px;
		font-size: 14px;
	}
	.yes2026-contact-icon {
		flex-basis: 28px;
		width: 28px;
		height: 28px;
	}
	.yes2026-contact-value {
		font-size: 16px;
	}
	.yes2026-service-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
}
