/* Restored notify/webpush styles (were uncommitted WIP, lost from skins). */

/* ---- layout.css 85-400 ---- */
header .logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 0;
}

header nav {
	min-width: 0;
}

header .logo a {
	border: 0;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

header .logo a img,
header .logo a .logo-mark {
	height: 34px;
	width: 34px;
	margin: 0;
	border-radius: 9px;
	display: block;
	flex: 0 0 auto;
}

header .logo .logo-text {
	display: flex;
	align-items: center;
	height: 34px;
	color: #e9eaec;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

header .menu-body {
	font-size: 16px;
	line-height: 20px;
	display: flex;
	flex-wrap: nowrap;
	gap: clamp(14px, 2vw, 32px);
	align-items: center;
}

header .menu-item {
	display: flex;
	align-items: center;
	position: relative;
	flex: 0 0 auto;
	padding: 16px 0;
}

header .menu-item > a {
	display: block;
	color: #e9eaec;
	word-break: keep-all;
	white-space: nowrap;
}

header .menu-item > a.active {
	font-weight: bold;
}

header .menu-item > a i[class^=ri-] {
	display: inline-block;
	height: 16px;
	margin: 0 -2px -2px -2px;
}

header .menu-item > a .ri-arrow-up-s-line {
	display: none !important;
}

header .menu-item.is-open > a .ri-arrow-up-s-line {
	display: inline-block !important;
}

header .menu-item.is-open > a .ri-arrow-down-s-line {
	display: none !important;
}

/* GNB / account popovers use shared .vc-dd (dropdown.css) */
header .menu-item[data-vc-dd] {
	align-self: stretch;
}

header .menu-item > .vc-dd.menu-sub {
	top: 100%;
	left: -8px;
	width: auto;
	min-width: 168px;
}

header .profile-wrapper {
	align-self: stretch;
	padding: 0;
	margin: 0;
}

header .vc-notification-entry {
	position: relative;
	display: flex;
	align-self: stretch;
	align-items: center;
}

header .vc-notification-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #e9eaec;
	font: inherit;
	font-size: 23px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

header .vc-notification-toggle:hover,
header .vc-notification-toggle:focus-visible,
header .vc-notification-entry.is-open .vc-notification-toggle--desktop {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	outline: none;
}

header .vc-notification-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.55);
}

header .vc-notification-toggle--mobile {
	display: none;
}

header .vc-notification-badge {
	position: absolute;
	top: 2px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border: 2px solid #34373a;
	border-radius: 10px;
	background: var(--vc-brand);
	color: var(--vc-on-cta);
	box-sizing: border-box;
	font-size: 10px;
	font-weight: 800;
	line-height: 14px;
}

header .vc-notification-panel {
	top: calc(100% - 10px);
	width: 390px;
	padding: 0;
	border-radius: 12px;
	overflow: hidden;
}

header .vc-notification-panel:focus {
	outline: none;
}

header .vc-notification-panel:focus-visible {
	box-shadow: var(--vc-dd-shadow), 0 0 0 3px rgba(201, 162, 39, 0.55);
}

header .vc-notification-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px;
	border-bottom: 1px solid var(--vc-dd-border);
}

header .vc-notification-panel-head h2 {
	margin: 0;
	color: var(--vc-dd-fg);
	font-size: 16px;
	line-height: 1.35;
}

header .vc-notification-panel-head p {
	margin: 3px 0 0;
	color: var(--vc-dd-muted);
	font-size: 12px;
	line-height: 1.35;
}

header .vc-notification-panel-head button {
	min-height: 36px;
	padding: 0 10px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--vc-dd-fg);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

header .vc-notification-panel-head button:hover,
header .vc-notification-panel-head button:focus-visible {
	background: var(--vc-dd-hover);
	outline: none;
}

header .vc-notification-panel-head-actions {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

header .vc-notification-panel-settings {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 10px;
	border-radius: 7px;
	color: var(--vc-dd-muted);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

header .vc-notification-panel-settings:hover,
header .vc-notification-panel-settings:focus-visible {
	background: var(--vc-dd-hover);
	color: var(--vc-dd-fg);
	outline: none;
}

header .vc-notification-panel-head button:focus-visible,
header .vc-notification-panel-settings:focus-visible,
header .vc-notification-preview a:focus-visible,
header .vc-notification-panel-all:focus-visible {
	box-shadow: inset 0 0 0 2px var(--vc-brand);
}

/* Header panel: compact one-line device control (not a second content card) */
header .vc-notification-push {
	padding: 10px 14px;
	border-bottom: 1px solid var(--vc-dd-border);
	box-sizing: border-box;
}

header .vc-notification-push .vc-webpush-card {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

header .vc-notification-push .vc-webpush-card__body {
	align-items: center;
	gap: 10px 12px;
}

header .vc-notification-push .vc-webpush-card__desc {
	display: none;
}

header .vc-notification-push .vc-webpush-card__label {
	font-size: 13px;
	white-space: nowrap;
}

header .vc-notification-push .vc-webpush-card__actions {
	flex: 1 1 auto;
	justify-content: flex-start;
	min-width: 0;
	margin-left: 8px;
}

header .vc-notification-push .vc-webpush-card__help {
	margin-left: auto;
	font-size: 11px;
	color: var(--vc-dd-muted);
}

/* Shared push control */
.gonghome-wrapper .vc-webpush-card,
.vc-webpush-card {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-sizing: border-box;
}

.gonghome-wrapper .vc-webpush-card__body,
.vc-webpush-card__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	min-width: 0;
}

/* ---- layout.css 6038-6060 ---- */
.gonghome-wrapper main .vc-member-area .vc-subpage-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 20px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--vc-border);
}

.gonghome-wrapper main .vc-member-area .vc-subpage-header h1 {
	min-width: 0;
	margin: 0;
	color: var(--vc-text);
	font-size: clamp(23px, 3vw, 30px);
	font-weight: 800;
	line-height: 1.3;
}

.gonghome-wrapper main .vc-member-area .vc-subpage-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;

/* ---- layout.css 6652-6787 ---- */
/* form.form-horizontal already provides the page card — do not nest another */
.gonghome-wrapper main .vc-member-area .vc-notification-settings .section {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings {
	margin-top: 0;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings > .section > h1 {
	margin: 0 0 8px;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings > .section > p {
	margin: 0 0 4px;
	color: var(--vc-muted);
	line-height: 1.55;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings .control-group {
	display: grid;
	grid-template-columns: minmax(150px, 190px) 1fr;
	gap: 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--vc-border);
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings .control-group:last-child {
	border-bottom: 0;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings .x_control-label {
	color: var(--vc-text);
	font-weight: 750;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings .x_controls {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings .help-block {
	flex: 0 0 100%;
	margin: 4px 0 0;
	color: var(--vc-muted);
	line-height: 1.6;
}

/* Device push: same row rhythm as type preferences — no nested card */
.gonghome-wrapper main .vc-member-area .vc-webpush-settings {
	margin: 8px 0 0;
	padding: 18px 0;
	border-top: 1px solid var(--vc-border);
	border-bottom: 1px solid var(--vc-border);
}

.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card,
.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card__body {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card__body {
	display: grid;
	grid-template-columns: minmax(150px, 190px) 1fr;
	align-items: start;
	gap: 12px 20px;
}

.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card__label {
	font-size: inherit;
	font-weight: 750;
}

.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card__desc {
	margin: 4px 0 0;
	max-width: none;
}

.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card__actions {
	display: flex;
	width: 100%;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 12px 14px;
	padding-top: 2px;
	box-sizing: border-box;
}

.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card__help {
	margin-left: auto;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings-types {
	margin-top: 0;
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings-types.is-disabled,
.gonghome-wrapper main .vc-member-area .vc-notification-settings [data-vc-webpush-detail].is-disabled {
	opacity: 0.55;
}

@media (max-width: 719px) {
	.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card__body {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.gonghome-wrapper main .vc-member-area .vc-webpush-settings .vc-webpush-card__actions {
		width: 100%;
	}
}

.gonghome-wrapper main .vc-member-area .vc-notification-settings .vc-push-channel-label {
	font-weight: 800;
	color: var(--vc-accent);
}

.gonghome-wrapper [data-vc-webpush-status].is-blocked,
.gonghome-wrapper [data-vc-webpush-status].is-error {
	color: var(--vc-danger);
	font-weight: 700;
}

.gonghome-wrapper .vc-webpush-switch--compact .vc-webpush-switch-label {
	min-width: 2.5em;
}

/* ---- layout.css 8404-8407 ---- */
	.gonghome-wrapper main .vc-member-area .vc-notification-settings .control-group {
		grid-template-columns: 1fr;
		gap: 10px;
	}

/* ---- layout.css 8827-8930 ---- */
.gonghome-wrapper .vc-webpush-prompt {
	border-bottom: 1px solid var(--vc-border);
	background:
		linear-gradient(120deg, color-mix(in srgb, var(--vc-cta) 18%, var(--vc-surface-2)), var(--vc-surface-2) 55%, var(--vc-surface));
	color: var(--vc-text);
}

.gonghome-wrapper .vc-webpush-prompt[hidden] {
	display: none !important;
}

.gonghome-wrapper .vc-webpush-prompt-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 20px;
	width: min(100%, var(--vc-container));
	margin: 0 auto;
	padding: 16px 20px;
	box-sizing: border-box;
}

.gonghome-wrapper .vc-webpush-prompt-copy {
	flex: 1 1 240px;
	min-width: 0;
}

.gonghome-wrapper .vc-webpush-prompt-copy strong {
	display: block;
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.gonghome-wrapper .vc-webpush-prompt-copy p {
	margin: 0;
	color: var(--vc-muted);
	font-size: 13px;
	line-height: 1.5;
}

.gonghome-wrapper .vc-webpush-prompt-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.gonghome-wrapper .vc-webpush-prompt-later {
	min-height: 40px;
	padding: 0 12px;
	border: 0;
	border-radius: var(--vc-radius);
	background: transparent;
	color: var(--vc-muted);
	font: inherit;
	font-size: 14px;
	font-weight: 650;
	cursor: pointer;
}

.gonghome-wrapper .vc-webpush-prompt-later:hover,
.gonghome-wrapper .vc-webpush-prompt-later:focus-visible {
	color: var(--vc-text);
	outline: none;
}

.gonghome-wrapper .vc-webpush-prompt-accept {
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--vc-cta);
	border-radius: var(--vc-radius);
	background: var(--vc-cta);
	color: var(--vc-on-cta);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.gonghome-wrapper .vc-webpush-prompt-accept:hover,
.gonghome-wrapper .vc-webpush-prompt-accept:focus-visible {
	background: var(--vc-cta-hover);
	outline: none;
}

@media (max-width: 640px) {
	.gonghome-wrapper .vc-webpush-prompt-inner {
		padding: 14px 16px;
	}

	.gonghome-wrapper .vc-webpush-prompt-actions {
		width: 100%;
		justify-content: flex-end;
	}

	.gonghome-wrapper .vc-webpush-prompt-accept {
		flex: 1 1 auto;
	}
}
