/**
 * Mine CloudVod 安装向导样式（V2）
 * 对齐 docs/setup-wizard 高保真原型。所有规则仅作用于 .mcv-setup-wizard 根容器，
 * 避免污染其它后台页面。
 */

.mcv-setup-wizard {
	--ink: #17243b;
	--muted: #69768b;
	--line: #e4e9f1;
	--bg: #f5f7fb;
	--white: #fff;
	--blue: #3867e8;
	--blue2: #244cc3;
	--pale: #eef3ff;
	--green: #168568;
	--shadow: 0 22px 60px rgba(24, 43, 78, 0.09);
	--orange: #b97729;
	box-sizing: border-box;
	margin: 0;
	background: radial-gradient(ellipse at 50% -20%, #e9efff 0, transparent 48%), var(--bg);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
	color: var(--ink);
}

.mcv-setup-wizard *,
.mcv-setup-wizard *::before,
.mcv-setup-wizard *::after {
	box-sizing: border-box;
}

.mcv-setup-wizard button,
.mcv-setup-wizard input {
	font: inherit;
}

.mcv-setup-wizard button {
	cursor: pointer;
}

.mcv-setup-wizard button:focus-visible {
	outline: 3px solid #8eabff;
	outline-offset: 2px;
}

/* 顶栏 */
.mcv-sw-topbar {
	height: 76px;
	border-bottom: 1px solid rgba(224, 231, 242, 0.9);
	background: #ffffffd9;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 32px;
	backdrop-filter: blur(12px);
}

.mcv-sw-brand {
	display: flex;
	align-items: center;
	gap: 11px;
}

.mcv-sw-brandmark {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, #6396ff, #3456d9);
	border-radius: 12px;
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	box-shadow: 0 7px 16px #3456d927;
}

.mcv-sw-brandname {
	font-weight: 780;
	letter-spacing: -0.35px;
	font-size: 15px;
	color: var(--ink);
}

.mcv-sw-brandname small {
	display: block;
	color: #8c98ab;
	font-size: 10px;
	font-weight: 650;
	letter-spacing: 1.45px;
	margin-top: 3px;
}

.mcv-sw-top-right {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--muted);
	font-size: 12px;
}

.mcv-sw-status-dot {
	width: 7px;
	height: 7px;
	background: #21a47c;
	border-radius: 100%;
}

.mcv-sw-top-pill {
	padding: 7px 10px;
	border: 1px solid var(--line);
	border-radius: 99px;
	background: #fff;
	color: var(--muted);
	font-size: 12px;
}

/* 内容 */
.mcv-sw-content {
	max-width: 970px;
	width: 100%;
	margin: 0 auto;
	padding: 43px 24px 34px;
}

.mcv-sw-eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--blue);
	font-size: 11px;
	letter-spacing: 1.55px;
	font-weight: 800;
	text-transform: uppercase;
}

.mcv-sw-eyebrow:before {
	content: "";
	width: 21px;
	height: 2px;
	background: var(--blue);
	border-radius: 2px;
}

.mcv-sw-headline {
	font-size: clamp(28px, 3.4vw, 38px);
	letter-spacing: -1.2px;
	line-height: 1.22;
	margin: 15px 0 10px;
	font-weight: 780;
	color: var(--ink);
}

.mcv-sw-lead {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.85;
	margin: 0;
	max-width: 700px;
}

/* 进度条 */
.mcv-sw-progress-wrap {
	margin: 27px 0 25px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.mcv-sw-progress-track {
	height: 6px;
	display: flex;
	align-items: center;
	gap: 7px;
	flex: 1;
	background: transparent;
	overflow: visible;
}

.mcv-sw-progress-segment {
	display: block;
	flex: 1;
	min-width: 0;
	height: 6px;
	background: #e4e9f2;
	border-radius: 20px;
	transition: background 0.22s, box-shadow 0.22s;
}

.mcv-sw-progress-segment.done {
	background: linear-gradient(90deg, #4f78e8, #74a5ff);
}

.mcv-sw-progress-segment.current {
	box-shadow: 0 0 0 2px #3867e81c;
}

.mcv-sw-progress-label {
	font-size: 11px;
	color: #8290a4;
	white-space: nowrap;
}

/* 面板 */
.mcv-sw-panel {
	background: #fff;
	border: 1px solid #e7ebf3;
	border-radius: 19px;
	box-shadow: var(--shadow);
	overflow: hidden;
}

.mcv-sw-panel[hidden] {
	display: none;
}

.mcv-sw-panel-head {
	padding: 25px 28px 19px;
	border-bottom: 1px solid #edf0f5;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: flex-start;
}

.mcv-sw-panel-title {
	font-size: 16px;
	font-weight: 750;
	letter-spacing: -0.3px;
	margin: 0;
	color: var(--ink);
}

.mcv-sw-panel-sub {
	font-size: 12px;
	line-height: 1.75;
	color: var(--muted);
	margin: 7px 0 0;
}

.mcv-sw-step-pill {
	font-size: 10px;
	letter-spacing: 0.35px;
	font-weight: 750;
	color: #5772b5;
	background: #f0f4ff;
	border: 1px solid #e1e9ff;
	padding: 7px 10px;
	border-radius: 99px;
	white-space: nowrap;
}

.mcv-sw-body {
	padding: 25px 28px 28px;
}

/* 目标选项 */
.mcv-sw-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 24px 28px 27px;
}

.mcv-sw-option {
	position: relative;
	border: 1px solid #e0e6ef;
	border-radius: 15px;
	padding: 20px 17px 18px;
	text-align: left;
	min-height: 214px;
	background: #fff;
	color: var(--ink);
	transition: border 0.2s, box-shadow 0.2s, transform 0.2s;
}

.mcv-sw-option:hover {
	border-color: #9aaff2;
	transform: translateY(-2px);
}

.mcv-sw-option.selected {
	border: 1.5px solid var(--blue);
	background: linear-gradient(180deg, #f6f8ff, #fff 80%);
	box-shadow: 0 0 0 3px #3867e812;
}

.mcv-sw-radio {
	position: absolute;
	top: 17px;
	right: 16px;
	width: 18px;
	height: 18px;
	border: 1.5px solid #c7d0de;
	border-radius: 50%;
	display: grid;
	place-items: center;
}

.mcv-sw-option.selected .mcv-sw-radio {
	border-color: var(--blue);
}

.mcv-sw-option.selected .mcv-sw-radio:after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--blue);
}

.mcv-sw-glyph {
	width: 45px;
	height: 45px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: #eef3ff;
	color: #335bd6;
	margin-bottom: 18px;
}

.mcv-sw-option:nth-child(2) .mcv-sw-glyph {
	background: #eaf8f2;
	color: #168568;
}

.mcv-sw-option:nth-child(3) .mcv-sw-glyph {
	background: #fff4e9;
	color: #ba7025;
}

.mcv-sw-glyph svg {
	width: 23px;
	height: 23px;
}

.mcv-sw-option h3 {
	font-size: 14px;
	margin: 0 0 9px;
	letter-spacing: -0.15px;
	color: var(--ink);
}

.mcv-sw-option p {
	font-size: 12px;
	line-height: 1.75;
	color: var(--muted);
	margin: 0;
}

.mcv-sw-tag {
	display: inline-block;
	font-size: 10px;
	border-radius: 5px;
	padding: 5px 7px;
	background: #f0f3f9;
	color: #69768b;
	margin-top: 14px;
}

/* 面板底部 */
.mcv-sw-panel-foot {
	border-top: 1px solid #edf0f5;
	padding: 18px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.mcv-sw-privacy {
	font-size: 11px;
	color: #8792a3;
	display: flex;
	gap: 7px;
	align-items: center;
	line-height: 1.6;
}

.mcv-sw-btns {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.mcv-sw-btn {
	padding: 11px 17px;
	border-radius: 9px;
	font-size: 12px;
	font-weight: 720;
	border: 1px solid #dbe2ec;
	background: #fff;
	color: #526078;
	text-decoration: none;
	display: inline-block;
	transition: background 0.15s, border 0.15s;
	line-height: 1.2;
}

.mcv-sw-btn:hover {
	background: #f7f9fc;
	color: #526078;
}

.mcv-sw-btn.mcv-sw-btn-primary {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
	box-shadow: 0 5px 13px #3867e82b;
}

.mcv-sw-btn.mcv-sw-btn-primary:hover {
	background: var(--blue2);
	color: #fff;
}

.mcv-sw-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* 保存中加载图标（置于「完成设置」按钮左侧） */
.mcv-sw-spinner {
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-right: 6px;
	vertical-align: -2px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: mcvSwSpin 0.6s linear infinite;
}

@keyframes mcvSwSpin {
	to { transform: rotate(360deg); }
}

/* 选择卡片（收款 / 模板决策） */
.mcv-sw-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.mcv-sw-choice-card {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 15px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
	background: #fff;
	color: var(--ink);
	min-height: 75px;
}

.mcv-sw-choice-card:hover {
	border-color: #9aaff2;
}

.mcv-sw-choice-card.active {
	border-color: var(--blue);
	background: #f6f8ff;
	box-shadow: 0 0 0 2px #3867e812;
}

.mcv-sw-choice-icon {
	height: 37px;
	width: 37px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: #f0f3f9;
	color: #51627d;
	font-size: 12px;
	font-weight: 800;
	flex: 0 0 auto;
}

.mcv-sw-choice-card.active .mcv-sw-choice-icon {
	background: #dfe8ff;
	color: #2c55cc;
}

.mcv-sw-choice-copy {
	min-width: 0;
}

.mcv-sw-choice-copy b {
	display: block;
	font-size: 13px;
	color: var(--ink);
}

.mcv-sw-choice-copy small {
	display: block;
	margin-top: 4px;
	color: #7c899d;
	font-size: 11px;
	line-height: 1.5;
}

.mcv-sw-choice-tick {
	margin-left: auto;
	color: var(--blue);
	font-weight: 800;
	opacity: 0;
}

.mcv-sw-choice-card.active .mcv-sw-choice-tick {
	opacity: 1;
}

/* 视频来源 */
.mcv-sw-provider-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.mcv-sw-provider {
	padding: 13px;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: #fff;
	text-align: left;
	font-size: 12px;
	color: #33435d;
	min-height: 58px;
}

.mcv-sw-provider:hover,
.mcv-sw-provider.active {
	outline: none;
	border-color: var(--blue);
	background: #f6f8ff;
	box-shadow: 0 0 0 2px #3867e812;
}

.mcv-sw-provider-icon {
	width: 31px;
	height: 31px;
	border-radius: 9px;
	background: #eef3f9;
	display: grid;
	place-items: center;
	font-size: 10px;
	font-weight: 800;
	color: #50637e;
	flex: 0 0 auto;
}

.mcv-sw-provider.active .mcv-sw-provider-icon {
	background: #dfe8ff;
	color: #2c55cc;
}

.mcv-sw-provider-name {
	flex: 1;
	min-width: 0;
}

.mcv-sw-provider-badge {
	flex: 0 0 auto;
	font-size: 9px;
	line-height: 1;
	text-transform: lowercase;
	letter-spacing: 0.35px;
	font-weight: 800;
	padding: 5px 6px;
	border-radius: 5px;
}

.mcv-sw-provider-badge.basic {
	background: #eef3ff;
	color: #4965b5;
	border: 1px solid #dfe7ff;
}

.mcv-sw-provider-badge.free {
	background: #eaf8f1;
	color: #168568;
	border: 1px solid #d6f0e4;
}

.mcv-sw-provider .mcv-sw-tick {
	color: var(--blue);
	font-weight: 800;
	opacity: 0;
}

.mcv-sw-provider.active .mcv-sw-tick {
	opacity: 1;
}

/* 备注 */
.mcv-sw-note {
	margin-top: 15px;
	padding: 12px 14px;
	background: #f7f9fc;
	border: 1px solid #ebeff5;
	border-radius: 10px;
	color: #647189;
	font-size: 11px;
	line-height: 1.75;
}

.mcv-sw-note[hidden] {
	display: none;
}

.mcv-sw-note.is-ok {
	background: #f1faf6;
	border-color: #d6f0e4;
	color: #146c52;
}

.mcv-sw-note.is-warn {
	background: #fff7ef;
	border-color: #f6e3c8;
	color: #96601c;
}

.mcv-sw-note.is-loading {
	opacity: 0.75;
}

.mcv-sw-note a {
	color: inherit;
	text-decoration: underline;
}

/* 模板决策 */
.mcv-sw-template-choice {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
}

.mcv-sw-template-choice .mcv-sw-choice-card {
	min-height: 104px;
	padding: 18px;
}

.mcv-sw-template-choice .mcv-sw-choice-icon {
	height: 43px;
	width: 43px;
	font-size: 18px;
}

.mcv-sw-template-choice .mcv-sw-choice-copy b {
	font-size: 14px;
}

.mcv-sw-template-choice .mcv-sw-choice-copy small {
	font-size: 12px;
}

/* 示例课程复选框 */
.mcv-sw-sample-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 12px;
	color: #46546a;
	cursor: pointer;
	user-select: none;
}

.mcv-sw-sample-check input[type="checkbox"] {
	width: 15px;
	height: 15px;
	margin: 0;
	flex: 0 0 auto;
	accent-color: var(--blue);
	cursor: pointer;
}

/* 完成 */
.mcv-sw-complete {
	padding: 34px 28px 32px;
	text-align: center;
}

.mcv-sw-complete-icon {
	margin: 0 auto 16px;
	width: 62px;
	height: 62px;
	border-radius: 21px;
	background: #eaf8f1;
	color: #138762;
	display: grid;
	place-items: center;
}

.mcv-sw-complete-icon svg {
	width: 31px;
	height: 31px;
}

.mcv-sw-complete h2 {
	margin: 0 0 9px;
	font-size: 23px;
	letter-spacing: -0.5px;
	color: var(--ink);
}

.mcv-sw-complete > p {
	margin: 0 auto;
	max-width: 550px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.85;
}

.mcv-sw-summary {
	margin: 24px auto 0;
	max-width: 590px;
	text-align: left;
	border: 1px solid var(--line);
	border-radius: 13px;
	padding: 14px 17px;
}

.mcv-sw-summary-row {
	display: flex;
	gap: 11px;
	font-size: 12px;
	padding: 10px 2px;
	color: #46546a;
	border-bottom: 1px solid #eff2f6;
	line-height: 1.6;
}

.mcv-sw-summary-row:last-child {
	border-bottom: 0;
}

.mcv-sw-summary-row .mcv-sw-check {
	color: var(--green);
	font-weight: 850;
}

.mcv-sw-summary-row .mcv-sw-todo {
	color: var(--orange);
	font-weight: 850;
}

.mcv-sw-summary-row small {
	display: block;
	color: #7b8799;
	font-size: 11px;
	margin-top: 3px;
}

.mcv-sw-under {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-top: 18px;
	padding: 0 4px;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.8;
}

.mcv-sw-under .mcv-sw-bulb {
	color: #c58a35;
	font-size: 16px;
}

.mcv-sw-under b {
	color: #3b4960;
}

.mcv-sw-footer {
	max-width: 970px;
	margin: 0 auto;
	padding: 0 24px 23px;
	display: flex;
	justify-content: space-between;
	color: #9aa4b3;
	font-size: 10px;
	gap: 15px;
}

.mcv-sw-footer a {
	color: #7384a1;
	text-decoration: none;
}

/* 弹窗 */
.mcv-sw-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(16, 27, 47, 0.48);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 22px;
}

.mcv-sw-modal-backdrop[hidden] {
	display: none;
}

.mcv-sw-modal {
	width: min(850px, 100%);
	max-height: min(90vh, 840px);
	overflow: auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 30px 100px #0e1b353b;
	animation: mcvSwModalIn 0.18s ease-out;
}

.mcv-sw-modal-head {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: flex-start;
	padding: 25px 27px 19px;
	border-bottom: 1px solid #edf0f5;
}

.mcv-sw-modal-head h2 {
	font-size: 19px;
	letter-spacing: -0.5px;
	margin: 0 0 7px;
	color: var(--ink);
}

.mcv-sw-modal-head p {
	font-size: 12px;
	color: var(--muted);
	line-height: 1.7;
	margin: 0;
}

.mcv-sw-icon-btn {
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 9px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	font-size: 19px;
	color: #66738a;
}

.mcv-sw-template-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 22px 27px 26px;
}

.mcv-sw-template-card {
	border: 1px solid var(--line);
	padding: 0;
	border-radius: 13px;
	overflow: hidden;
	text-align: left;
	background: #fff;
	color: var(--ink);
	position: relative;
	transition: border 0.15s, box-shadow 0.15s;
}

.mcv-sw-template-card:hover {
	border-color: #a6b8f5;
}

.mcv-sw-template-card.active {
	border: 1.5px solid var(--blue);
	box-shadow: 0 0 0 3px #3867e814;
}

.mcv-sw-template-card.active:after {
	content: "✓";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 23px;
	height: 23px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.mcv-sw-template-preview {
	height: 155px;
	padding: 12px;
	background: #f0f3fa;
	overflow: hidden;
	position: relative;
}

.mcv-sw-template-preview.minimal {
	background: #f8f5ef;
}

.mcv-sw-template-preview.video {
	background: #171f32;
}

.mcv-sw-mock-browser {
	height: 100%;
	background: #fff;
	border: 1px solid #e3e8f1;
	border-radius: 7px;
	overflow: hidden;
	box-shadow: 0 4px 12px #293d630c;
}

.mcv-sw-mock-bar {
	height: 14px;
	background: #fafbfe;
	border-bottom: 1px solid #edf0f5;
	display: flex;
	align-items: center;
	gap: 3px;
	padding-left: 6px;
}

.mcv-sw-mock-bar i {
	width: 4px;
	height: 4px;
	background: #cfd7e5;
	border-radius: 50%;
}

.mcv-sw-mock-nav {
	height: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 7px;
}

.mcv-sw-mock-logo {
	width: 30px;
	height: 4px;
	background: #293956;
	border-radius: 3px;
}

.mcv-sw-mock-navline {
	width: 37px;
	height: 3px;
	background: #d5ddeb;
	border-radius: 3px;
}

.mcv-sw-mock-hero {
	height: 43px;
	margin: 5px 7px 7px;
	border-radius: 4px;
	background: linear-gradient(120deg, #273f70, #7491d7);
	position: relative;
}

.mcv-sw-mock-hero:before {
	content: "";
	position: absolute;
	left: 9px;
	top: 10px;
	width: 45px;
	height: 4px;
	border-radius: 4px;
	background: #fff;
}

.mcv-sw-mock-hero:after {
	content: "";
	position: absolute;
	left: 9px;
	top: 19px;
	width: 30px;
	height: 3px;
	border-radius: 4px;
	background: #ffffffa8;
}

.mcv-sw-mock-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
	padding: 0 7px;
}

.mcv-sw-mock-cards i {
	height: 35px;
	border: 1px solid #e8edf5;
	border-radius: 3px;
	background: linear-gradient(180deg, #e7ecf6 55%, #fff 55%);
}

/* minimal 模板配色 */
.mcv-sw-template-preview.minimal .mcv-sw-mock-hero {
	background: linear-gradient(120deg, #b78458, #e7c9a2);
}

.mcv-sw-template-preview.minimal .mcv-sw-mock-logo {
	background: #8a6849;
}

.mcv-sw-template-preview.minimal .mcv-sw-mock-cards i {
	background: linear-gradient(180deg, #f0e5d8 55%, #fff 55%);
}

/* video 模板配色 */
.mcv-sw-template-preview.video .mcv-sw-mock-browser {
	background: #202b43;
	border-color: #35415b;
}

.mcv-sw-template-preview.video .mcv-sw-mock-bar {
	background: #25314a;
	border-color: #34415a;
}

.mcv-sw-template-preview.video .mcv-sw-mock-nav {
	background: #202b43;
}

.mcv-sw-template-preview.video .mcv-sw-mock-logo {
	background: #f0f4ff;
}

.mcv-sw-template-preview.video .mcv-sw-mock-navline {
	background: #62708b;
}

.mcv-sw-template-preview.video .mcv-sw-mock-hero {
	height: 56px;
	background: linear-gradient(120deg, #101827, #32496d);
	margin-bottom: 5px;
}

.mcv-sw-template-preview.video .mcv-sw-mock-hero:before {
	height: 17px;
	width: 17px;
	border: 1.5px solid #fff;
	background: transparent;
	border-radius: 50%;
	left: 42%;
	top: 16px;
}

.mcv-sw-template-preview.video .mcv-sw-mock-hero:after {
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid #fff;
	left: calc(42% + 7px);
	top: 21px;
	background: transparent;
}

.mcv-sw-template-preview.video .mcv-sw-mock-cards i {
	height: 20px;
	background: #2e3d58;
	border-color: #3c4b66;
}

.mcv-sw-template-info {
	padding: 13px 13px 14px;
}

.mcv-sw-template-info b {
	font-size: 12px;
	display: block;
	color: var(--ink);
}

.mcv-sw-template-info small {
	display: block;
	font-size: 10px;
	line-height: 1.6;
	color: #7b8799;
	margin-top: 5px;
}

.mcv-sw-modal-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px 27px 21px;
	border-top: 1px solid #edf0f5;
}

.mcv-sw-modal-foot .mcv-sw-hint {
	font-size: 11px;
	color: #8590a1;
}

.mcv-sw-modal-foot .mcv-sw-btns {
	margin-left: auto;
}

/* 重新运行页 */
.mcv-sw-restart {
	max-width: 970px;
	margin: 40px auto;
}

.mcv-sw-restart .mcv-sw-card {
	background: #fff;
	border: 1px solid #e7ebf3;
	border-radius: 19px;
	box-shadow: var(--shadow);
	padding: 48px 40px;
	text-align: center;
}

.mcv-sw-restart .mcv-sw-card h1 {
	font-size: 23px;
	letter-spacing: -0.5px;
	margin: 0 0 12px;
}

.mcv-sw-restart .mcv-sw-card p {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.85;
	max-width: 550px;
	margin: 0 auto 24px;
}

@keyframes mcvSwModalIn {
	from {
		opacity: 0;
		transform: translateY(7px) scale(0.99);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 760px) {
	.mcv-sw-content {
		padding: 31px 16px 28px;
	}
	.mcv-sw-options {
		grid-template-columns: 1fr;
		padding: 16px;
		gap: 10px;
	}
	.mcv-sw-option {
		min-height: 0;
		padding: 16px 54px 16px 16px;
	}
	.mcv-sw-glyph {
		margin-bottom: 11px;
	}
	.mcv-sw-tag {
		margin-top: 9px;
	}
	.mcv-sw-panel-head {
		padding: 20px 18px 15px;
	}
	.mcv-sw-body {
		padding: 20px 18px;
	}
	.mcv-sw-panel-foot {
		padding: 15px 18px;
	}
	.mcv-sw-provider-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mcv-sw-template-grid {
		grid-template-columns: 1fr;
		padding: 16px 18px 20px;
	}
	.mcv-sw-template-preview {
		height: 145px;
	}
	.mcv-sw-modal {
		max-height: 92vh;
	}
	.mcv-sw-modal-head {
		padding: 21px 18px 16px;
	}
	.mcv-sw-modal-foot {
		padding: 15px 18px 18px;
	}
	.mcv-sw-topbar {
		padding: 0 17px;
	}
	.mcv-sw-top-pill {
		display: none;
	}
}

@media (max-width: 500px) {
	.mcv-sw-topbar {
		height: 65px;
	}
	.mcv-sw-content {
		padding-top: 27px;
	}
	.mcv-sw-headline {
		font-size: 28px;
	}
	.mcv-sw-panel-head {
		gap: 9px;
	}
	.mcv-sw-step-pill {
		font-size: 9px;
		padding: 6px 8px;
	}
	.mcv-sw-choice-grid,
	.mcv-sw-template-choice {
		grid-template-columns: 1fr;
	}
	.mcv-sw-provider-grid {
		grid-template-columns: 1fr;
	}
	.mcv-sw-panel-foot {
		align-items: stretch;
		flex-direction: column;
	}
	.mcv-sw-panel-foot .mcv-sw-btns {
		width: 100%;
	}
	.mcv-sw-panel-foot .mcv-sw-btns .mcv-sw-btn {
		flex: 1;
	}
	.mcv-sw-complete {
		padding: 28px 17px;
	}
	.mcv-sw-footer {
		padding: 0 16px 20px;
		flex-direction: column;
	}
	.mcv-sw-modal-backdrop {
		padding: 10px;
	}
	.mcv-sw-modal-foot {
		align-items: flex-start;
		flex-direction: column;
	}
	.mcv-sw-modal-foot .mcv-sw-btns {
		width: 100%;
		margin: 0;
	}
	.mcv-sw-modal-foot .mcv-sw-btns .mcv-sw-btn {
		flex: 1;
	}
}
