@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
	--ink: #171819;
	--muted: #6b7073;
	--line: #d9ddda;
	--paper: #f3f4f0;
	--blue: #3478f6;
	--blue-dark: #245dc8;
	--white: #fff
}

* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 15px/1.65 Manrope, "Microsoft YaHei", sans-serif
}

a {
	color: inherit;
	text-decoration: none
}

button,
input {
	font: inherit
}

.help-header {
	height: 78px;
	width: min(1160px, calc(100% - 48px));
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.04em
}

.brand img {
	width: 42px;
	height: 42px;
	object-fit: contain
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 12px;
	font-weight: 700
}

.back-link {
	color: var(--muted)
}

.back-link span {
	color: var(--blue)
}

.download-link {
	padding: 10px 14px;
	background: var(--blue);
	color: #fff;
	border-radius: 6px
}

.help-shell {
	width: min(1160px, calc(100% - 48px));
	margin: auto
}

.help-hero {
	min-height: 180px;
	padding: 44px 0 55px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-bottom: 1px solid var(--line)
}

.eyebrow,
.section-kicker {
	font: 500 11px/1.2 "DM Mono", monospace;
	letter-spacing: .13em;
	color: var(--blue)
}

.eyebrow {
	margin: 0 0 25px
}

.help-hero h2 {
	font-size: clamp(32px, 7vw, 48px);
	line-height: .98;
	letter-spacing: -.08em;
	margin: 0 0 24px
}

.help-hero h2 em {
	font-style: normal;
	color: var(--blue)
}

.hero-copy {
	max-width: 520px;
	color: var(--muted);
	font-size: 16px;
	margin: 0
}

.hero-note {
	width: 190px;
	display: flex;
	gap: 13px;
	align-items: flex-start;
	padding-bottom: 7px
}

.note-mark {
	font-size: 48px;
	color: var(--blue);
	line-height: 1
}

.hero-note p {
	font: 11px/1.5 "DM Mono", monospace;
	color: var(--muted);
	margin: 4px 0
}

.help-layout {
	display: grid;
	grid-template-columns: 230px 1fr;
	gap: 90px;
	padding: 68px 0 110px
}

.help-sidebar {
	position: sticky;
	top: 20px;
	align-self: start
}

.search-wrap label {
	font-size: 12px;
	font-weight: 700;
	display: block;
	margin-bottom: 9px
}

.search-box {
	display: flex;
	align-items: center;
	height: 43px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 6px
}

.search-box span {
	font-size: 22px;
	color: var(--blue);
	line-height: 0;
	transform: rotate(-20deg)
}

.search-box input {
	border: 0;
	outline: 0;
	background: none;
	width: 100%;
	padding-left: 7px;
	font-size: 12px
}

.toc {
	display: flex;
	flex-direction: column;
	margin-top: 36px;
	border-left: 1px solid var(--line)
}

.toc a {
	padding: 9px 0 9px 17px;
	color: var(--muted);
	font-size: 13px;
	border-left: 2px solid transparent;
	margin-left: -1px
}

.toc a:hover,
.toc a.active {
	color: var(--ink);
	border-left-color: var(--blue);
	font-weight: 700
}

.sidebar-tip {
	margin-top: 64px;
	padding: 14px;
	border: 1px solid var(--line);
	font-size: 11px
}

.sidebar-tip span {
	font: 10px "DM Mono", monospace;
	color: var(--blue)
}

.sidebar-tip p {
	color: var(--muted);
	margin: 8px 0 0
}

.doc-section {
	scroll-margin-top: 24px;
	padding: 0 0 105px;
	margin: 0 0 5px;
	border-bottom: 1px solid var(--line)
}

.section-kicker {
	display: flex;
	gap: 14px;
	margin-bottom: 24px
}

.section-kicker span:first-child {
	font-weight: 500
}

.doc-section h2 {
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.05;
	letter-spacing: -.065em;
	margin: 0 0 17px
}

.section-intro {
	max-width: 620px;
	color: var(--muted);
	margin: 0 0 35px;
	font-size: 14px
}

.step-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px
}

.step-card {
	min-height: 185px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: rgba(255, 255, 255, .35)
}

.step-number {
	font: 11px "DM Mono", monospace;
	color: var(--blue)
}

.step-card h3 {
	font-size: 16px;
	margin: 28px 0 8px
}

.step-card p,
.action-list p {
	color: var(--muted);
	font-size: 12px;
	margin: 0
}

.callout,
.security-note {
	display: flex;
	gap: 15px;
	margin-top: 20px;
	padding: 16px 18px;
	background: #e9ece8;
	border-left: 3px solid var(--blue);
	font-size: 12px
}

.callout strong {
	color: var(--blue);
	white-space: nowrap
}

.action-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px
}

.action-list>div {
	display: flex;
	gap: 12px
}

.action-icon {
	display: grid;
	place-items: center;
	width: 31px;
	height: 31px;
	flex: none;
	border: 1px solid var(--blue);
	border-radius: 50%;
	color: var(--blue);
	font-size: 14px
}

.action-list h3 {
	font-size: 15px;
	margin: 2px 0 7px
}

.cloud-section {
	padding-top: 4px
}

.cloud-tabs {
	display: flex;
	gap: 6px;
	margin: 37px 0 27px;
	border-bottom: 1px solid var(--line)
}

.cloud-tab {
	padding: 12px 17px;
	border: 0;
	background: none;
	color: var(--muted);
	cursor: pointer;
	font-weight: 700;
	font-size: 13px;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px
}

.cloud-tab.active {
	color: var(--blue);
	border-color: var(--blue)
}

.provider-panel {
	display: none
}

.provider-panel.active {
	display: block
}

.provider-heading {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 26px
}

.provider-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 9px;
	background: var(--ink);
	color: #fff;
	font: 700 13px "DM Mono", monospace
}

.provider-mark.qiniu {
	background: #18b36b;
	font-size: 20px
}

.provider-heading h3 {
	font-size: 19px;
	margin: 0
}

.provider-heading p {
	font-size: 12px;
	color: var(--muted);
	margin: 3px 0 0
}

.config-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: config
}

.config-steps>li {
	counter-increment: config;
	display: grid;
	grid-template-columns: 26px 145px 1fr;
	gap: 14px;
	padding: 19px 0;
	border-top: 1px solid var(--line);
	font-size: 12px
}

.config-steps>li:before {
	content: "0" counter(config);
	font: 11px "DM Mono", monospace;
	color: var(--blue)
}

.config-steps b {
	font-size: 13px
}

.config-steps>li>span {
	color: var(--muted)
}

.field-table {
	grid-column: 3;
	display: grid;
	grid-template-columns: 1fr 1.45fr;
	margin-top: 14px;
	border: 1px solid var(--line);
	background: #fff
}

.field-table div {
	display: contents
}

.field-table code {
	padding: 9px 11px;
	font: 11px "DM Mono", monospace;
	color: var(--blue);
	border-bottom: 1px solid var(--line)
}

.field-table span {
	padding: 9px 11px;
	color: var(--muted);
	border-left: 1px solid var(--line);
	border-bottom: 1px solid var(--line)
}

.field-table div:last-child code,
.field-table div:last-child span {
	border-bottom: 0
}

.field-table code code {
	padding: 0;
	border: 0
}

.security-note {
	background: #fff4d9;
	border-left-color: #e4a832
}

.security-note>span {
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #e4a832;
	color: #fff;
	font-weight: 800
}

.security-note p {
	margin: 0;
	color: #80611f
}

.security-note strong {
	color: #5e4515
}

.faq-list details {
	padding: 18px 0;
	border-top: 1px solid var(--line)
}

.faq-list summary {
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700
}

.faq-list summary span {
	font-size: 20px;
	color: var(--blue);
	font-weight: 400
}

.faq-list details[open] summary span {
	transform: rotate(45deg)
}

.faq-list details p {
	max-width: 640px;
	color: var(--muted);
	font-size: 13px;
	margin: 12px 0 0
}

.help-footer {
	width: min(1160px, calc(100% - 48px));
	margin: auto;
	padding: 25px 0 42px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	color: #8b918f;
	font: 11px "DM Mono", monospace
}

.help-footer a {
	color: var(--blue)
}

.doc-section[hidden] {
	display: none
}

@media(max-width:800px) {

	.help-header,
	.help-shell,
	.help-footer {
		width: min(100% - 32px, 600px)
	}

	.help-header {
		height: 65px
	}

	.header-actions {
		gap: 12px
	}

	.back-link {
		display: none
	}

	.download-link {
		font-size: 11px
	}

	.help-hero {
		display: block;
		padding: 47px 0 52px
	}

	.help-hero h1 {
		font-size: 58px
	}

	.hero-note {
		margin-top: 42px
	}

	.help-layout {
		display: block;
		padding-top: 45px
	}

	.help-sidebar {
		position: static;
		margin-bottom: 55px
	}

	.toc {
		margin-top: 23px;
		display: grid;
		grid-template-columns: 1fr 1fr
	}

	.sidebar-tip {
		display: none
	}

	.step-grid,
	.action-list {
		display: block
	}

	.step-card {
		min-height: 0;
		margin-bottom: 10px
	}

	.action-list>div {
		margin-bottom: 25px
	}

	.config-steps>li {
		grid-template-columns: 25px 1fr;
		gap: 10px
	}

	.config-steps>li>span,
	.field-table {
		grid-column: 2
	}

	.field-table {
		grid-template-columns: 1fr;
	}

	.field-table span {
		border-left: 0
	}

	.field-table code {
		border-bottom: 0;
		padding-bottom: 2px
	}

	.field-table span {
		padding-top: 0
	}

	.help-footer {
		display: block
	}

	.help-footer a {
		display: block;
		margin-top: 10px
	}
}

@media(prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto
	}
}