/* ============================================================
   AppGuard 在线加固用户端全局样式（深空科技风）
   ============================================================ */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.g-body {
	/* 不锁定 body 高度（height:100% 会让 flex 子项 + overflow:hidden 裁掉超屏内容导致页面无法滚动） */
	min-height: 100vh;
	background: #0b1220;
	color: #e2e8f0;
	font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
	font-size: 14px;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
}

a {
	color: inherit;
	text-decoration: none;
}

main {
	flex: 1 0 auto;
	width: 100%;
}

.mono {
	font-family: 'JetBrains Mono', Consolas, monospace;
}

.grad-text {
	background: linear-gradient(90deg, #22d3ee, #818cf8);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.glass {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	background: rgba(17, 26, 46, 0.65);
	backdrop-filter: blur(8px);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* ---- 背景装饰 ---- */
.bg-grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 40%, transparent 100%);
	pointer-events: none;
}
.bg-glow {
	position: absolute;
	top: -180px;
	left: 50%;
	transform: translateX(-50%);
	width: 720px;
	height: 420px;
	background: radial-gradient(closest-side, rgba(129, 140, 248, 0.18), transparent 70%);
	filter: blur(10px);
	pointer-events: none;
}

/* ---- 顶部导航 ---- */
.g-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
	background: rgba(11, 18, 32, 0.85);
	backdrop-filter: blur(10px);
}
.g-header-inner {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.g-logo {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 1px;
}
.g-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	font-size: 14px;
	color: #94a3b8;
}
.g-nav a {
	transition: color 0.2s;
}
.g-nav a:hover {
	color: #22d3ee;
}
.g-nav a#navUser {
	padding: 5px 14px;
	border: 1px solid rgba(34, 211, 238, 0.4);
	border-radius: 999px;
	color: #22d3ee;
	font-size: 13px;
}
.g-nav a#navUser:hover {
	background: rgba(34, 211, 238, 0.08);
}

/* ---- 底部 ---- */
.g-footer {
	border-top: 1px solid rgba(148, 163, 184, 0.1);
	padding: 18px 24px;
}
.g-footer-inner {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	color: #475569;
}
.g-footer-inner a {
	color: #22d3ee;
}
.footer-right {
	max-width: 1080px;
	margin: 6px auto 0;
	padding-top: 8px;
	border-top: 1px dashed rgba(148, 163, 184, 0.15);
	text-align: center;
	font-size: 12px;
	color: #64748b;
}
.footer-right p {
	margin: 2px 0;
}
.footer-meta a {
	color: #64748b;
}

/* ---- 按钮/输入/标签 ---- */
.btn-primary {
	display: inline-block;
	background: linear-gradient(90deg, #22d3ee, #818cf8);
	border: none;
	color: #061018;
	font-weight: 700;
	font-size: 14px;
	padding: 9px 22px;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(34, 211, 238, 0.35);
	color: #061018;
}
.btn-primary:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}
.btn-lg {
	padding: 13px 34px;
	font-size: 15px;
}
.btn-sm {
	padding: 6px 14px;
	font-size: 13px;
	border-radius: 8px;
}
.btn-block {
	width: 100%;
}
.btn-ghost {
	display: inline-block;
	background: transparent;
	border: 1px solid rgba(148, 163, 184, 0.35);
	color: #cbd5e1;
	border-radius: 10px;
	padding: 9px 22px;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover {
	border-color: #22d3ee;
	color: #22d3ee;
	background: rgba(34, 211, 238, 0.05);
}
.link-btn {
	background: none;
	border: none;
	color: #22d3ee;
	font-size: 13px;
	cursor: pointer;
	padding: 4px 8px;
}
.link-btn:hover {
	text-decoration: underline;
}
.g-input {
	width: 100%;
	padding: 9px 12px;
	font-size: 14px;
	color: #e2e8f0;
	background: rgba(11, 18, 32, 0.7);
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: 10px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.g-input:focus {
	border-color: #22d3ee;
	box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.15);
}
.g-input::placeholder {
	color: #475569;
}
.g-input-sm {
	width: auto;
	padding: 5px 8px;
	font-size: 13px;
}
.g-select {
	width: 100%;
	margin-top: 14px;
	appearance: auto;
}
.tag {
	display: inline-block;
	padding: 2px 10px;
	font-size: 12px;
	border-radius: 999px;
	border: 1px solid transparent;
	white-space: nowrap;
}
.tag-success {
	color: #34d399;
	border-color: rgba(52, 211, 153, 0.45);
	background: rgba(52, 211, 153, 0.08);
}
.tag-warning {
	color: #fbbf24;
	border-color: rgba(251, 191, 36, 0.45);
	background: rgba(251, 191, 36, 0.08);
}
.tag-info {
	color: #94a3b8;
	border-color: rgba(148, 163, 184, 0.4);
	background: rgba(148, 163, 184, 0.08);
}
.tag-primary {
	color: #22d3ee;
	border-color: rgba(34, 211, 238, 0.45);
	background: rgba(34, 211, 238, 0.08);
}
.tag-danger {
	color: #f87171;
	border-color: rgba(248, 113, 113, 0.45);
	background: rgba(248, 113, 113, 0.08);
}

/* ---- 对话框 ---- */
.g-dialog {
	/* 全局 * { margin: 0 } 会清掉 dialog 的 UA 默认 margin:auto，导致 showModal 不居中 */
	margin: auto;
	width: min(560px, calc(100vw - 32px));
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 16px;
	background: #101a2e;
	color: #e2e8f0;
	padding: 24px;
}
.g-dialog::backdrop {
	background: rgba(2, 6, 16, 0.7);
	backdrop-filter: blur(3px);
}
.dialog-title {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 14px;
}
.dialog-title-danger {
	color: #f87171;
}
.dialog-actions {
	margin-top: 18px;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
}
.error-text {
	font-size: 14px;
	line-height: 1.9;
	color: #cbd5e1;
	word-break: break-all;
}

/* ---- Toast ---- */
.toast {
	position: fixed;
	top: 74px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 200;
	padding: 10px 20px;
	font-size: 14px;
	border-radius: 10px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: rgba(16, 26, 46, 0.95);
	color: #e2e8f0;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.toast.err {
	color: #f87171;
	border-color: rgba(248, 113, 113, 0.4);
}
.toast.ok {
	color: #34d399;
	border-color: rgba(52, 211, 153, 0.4);
}

/* ---- 表格 ---- */
.table-wrap {
	width: 100%;
	overflow-x: auto;
}
.g-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.g-table th {
	text-align: left;
	padding: 10px 12px;
	color: #94a3b8;
	font-weight: 600;
	background: rgba(11, 18, 32, 0.6);
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
	white-space: nowrap;
}
.g-table td {
	padding: 11px 12px;
	color: #cbd5e1;
	border-bottom: 1px solid rgba(148, 163, 184, 0.08);
	vertical-align: middle;
}
.g-table tbody tr {
	transition: background 0.15s;
}
.g-table tbody tr:hover {
	background: rgba(34, 211, 238, 0.05);
}
.g-table .w-90 { width: 90px; }
.g-table .w-110 { width: 110px; }
.g-table .w-120 { width: 120px; }
.g-table .w-160 { width: 160px; }
.g-table .w-170 { width: 170px; }
.g-table .w-180 { width: 180px; }
.table-empty {
	padding: 42px 0;
	text-align: center;
	font-size: 13px;
	color: #64748b;
}
.row-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}
.row-btn {
	background: none;
	border: none;
	color: #22d3ee;
	font-size: 13px;
	cursor: pointer;
	padding: 2px 6px;
}
.row-btn:hover {
	text-decoration: underline;
}
.row-btn.danger {
	color: #f87171;
}
.row-btn:disabled {
	color: #475569;
	cursor: wait;
	text-decoration: none;
}

/* ---- 进度条 ---- */
.progress {
	height: 8px;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.15);
	overflow: hidden;
}
.progress > i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #22d3ee, #818cf8);
	transition: width 0.4s;
}
.fail-text {
	color: #f87171;
	font-size: 13px;
	cursor: pointer;
	border-bottom: 1px dashed rgba(248, 113, 113, 0.5);
}
.fail-text:hover {
	color: #fca5a5;
}

/* ============================================================
   首页（hero / what / why / we / cta）
   ============================================================ */
.guard-home {
	position: relative;
	overflow: hidden;
	padding: 0 24px 60px;
}
.hero {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
	padding: 80px 0 30px;
	text-align: center;
}
.hero-badge {
	display: inline-block;
	padding: 5px 14px;
	font-size: 12px;
	letter-spacing: 2px;
	color: #22d3ee;
	border: 1px solid rgba(34, 211, 238, 0.35);
	border-radius: 999px;
	background: rgba(34, 211, 238, 0.06);
}
.hero-title {
	margin: 22px 0 14px;
	font-size: 40px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: 1px;
}
.hero-sub {
	max-width: 560px;
	margin: 0 auto;
	color: #94a3b8;
	font-size: 15px;
	line-height: 1.8;
}
.hero-actions {
	margin-top: 28px;
	display: flex;
	gap: 14px;
	justify-content: center;
}
.hero-actions .btn-primary,
.hero-actions .btn-ghost {
	padding: 13px 32px;
	font-size: 15px;
	border-radius: 12px;
}
.hero-stats {
	margin-top: 44px;
	display: flex;
	justify-content: center;
	gap: 56px;
}
.stat-num {
	font-size: 30px;
	font-weight: 800;
	color: #f1f5f9;
}
.stat-num span {
	font-size: 14px;
	color: #22d3ee;
	margin-left: 2px;
}
.stat-label {
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}
.section {
	position: relative;
	max-width: 960px;
	margin: 56px auto 0;
}
.sec-title {
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 1px;
}
.sec-desc {
	max-width: 680px;
	margin: 12px auto 0;
	text-align: center;
	color: #94a3b8;
	font-size: 14px;
	line-height: 1.9;
}
.layers {
	max-width: 620px;
	margin: 32px auto 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.layer {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(17, 26, 46, 0.9), rgba(11, 18, 32, 0.9));
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.layer:hover {
	transform: translateX(6px);
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow: 0 4px 20px rgba(34, 211, 238, 0.12);
}
.layer-tag {
	flex: none;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	font-size: 13px;
	font-weight: 700;
	color: #22d3ee;
	border: 1px solid rgba(34, 211, 238, 0.4);
	border-radius: 8px;
}
.layer-name {
	font-size: 15px;
	font-weight: 600;
	color: #e2e8f0;
}
.layer-desc {
	margin-top: 3px;
	font-size: 13px;
	color: #64748b;
}
.cards {
	margin-top: 30px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.card {
	padding: 26px 22px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 16px;
	background: rgba(17, 26, 46, 0.75);
	backdrop-filter: blur(6px);
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
	transform: translateY(-4px);
	border-color: rgba(129, 140, 248, 0.5);
	box-shadow: 0 10px 32px rgba(129, 140, 248, 0.15);
}
.card-icon {
	font-size: 26px;
}
.card-title {
	margin-top: 12px;
	font-size: 16px;
	font-weight: 700;
}
.card-text {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.8;
	color: #94a3b8;
}
.caps {
	margin-top: 28px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 28px;
}
.cap {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(17, 26, 46, 0.5);
	border: 1px solid transparent;
	transition: border-color 0.2s, background 0.2s;
}
.cap:hover {
	border-color: rgba(34, 211, 238, 0.3);
	background: rgba(17, 26, 46, 0.9);
}
.cap-dot {
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: linear-gradient(90deg, #22d3ee, #818cf8);
	transform: translateY(-2px);
}
.cap-name {
	flex: none;
	font-size: 14px;
	font-weight: 600;
	color: #e2e8f0;
}
.cap-desc {
	font-size: 13px;
	color: #64748b;
}
.promise {
	margin-top: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	font-size: 13px;
	color: #22d3ee;
	letter-spacing: 1px;
}
.promise i {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #334155;
}
.cta {
	margin-top: 30px;
	padding: 34px;
	display: flex;
	align-items: center;
	gap: 30px;
}

/* ---- 签名指南（sign 区块） ---- */
.sign-ways {
	margin-top: 32px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.sign-way {
	padding: 26px 22px;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 16px;
	background: rgba(17, 26, 46, 0.75);
	transition: border-color 0.25s, box-shadow 0.25s;
}
.sign-way:hover {
	border-color: rgba(34, 211, 238, 0.4);
	box-shadow: 0 10px 32px rgba(34, 211, 238, 0.1);
}
.sign-way-head {
	display: flex;
	align-items: center;
	gap: 10px;
}
.sign-way-head h3 {
	font-size: 17px;
	font-weight: 700;
}
.sign-badge {
	flex: none;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #061018;
	background: linear-gradient(90deg, #22d3ee, #818cf8);
	border-radius: 999px;
}
.sign-way > p {
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.9;
	color: #94a3b8;
}
.sign-way ul {
	margin: 12px 0 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 2;
	color: #94a3b8;
}
.code-block {
	margin: 14px 0 0;
	padding: 16px 18px;
	border-radius: 12px;
	background: #060b16;
	border: 1px solid rgba(34, 211, 238, 0.18);
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-size: 12.5px;
	line-height: 1.9;
	color: #a5f3fc;
	overflow-x: auto;
	white-space: pre;
}
.sign-note {
	margin-top: 12px;
	font-size: 12px;
	line-height: 1.8;
	color: #64748b;
}
.sign-note b {
	color: #fbbf24;
}
.sign-compat {
	margin-top: 18px;
	text-align: center;
	font-size: 12px;
	color: #64748b;
}
.cta-main {
	flex: 1;
}
.cta-main h3 {
	font-size: 20px;
	font-weight: 700;
}
.cta-main p {
	margin-top: 10px;
	font-size: 14px;
	color: #94a3b8;
}
.kw {
	color: #22d3ee;
}
.cta-small {
	font-size: 12px !important;
	color: #64748b !important;
}
.cta-qr {
	flex: none;
	text-align: center;
}
.qr-box {
	width: 128px;
	height: 128px;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.35);
	border-radius: 12px;
	/* 白底保证二维码扫码对比度 */
	background: #fff;
}
.qr-box img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.qr-tip {
	margin-top: 8px;
	font-size: 12px;
	color: #64748b;
}
.legal {
	max-width: 860px;
	margin: 18px auto 0;
	text-align: center;
	font-size: 12px;
	line-height: 1.8;
	color: #475569;
}
.legal-link {
	color: #22d3ee;
}
.agreement-body h4 {
	margin: 14px 0 6px;
	font-size: 14px;
	color: #e2e8f0;
}
.agreement-body p {
	font-size: 13px;
	line-height: 1.9;
	color: #94a3b8;
}

/* ============================================================
   登录页
   ============================================================ */
.guard-login {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	min-height: calc(100vh - 58px - 56px);
}
.login-card {
	width: min(400px, 100%);
	padding: 34px 30px;
}
.login-card .page-title {
	font-size: 24px;
	font-weight: 800;
	text-align: center;
	letter-spacing: 1px;
}
.login-sub {
	margin: 8px 0 22px;
	text-align: center;
	font-size: 13px;
	color: #64748b;
}
.form-field {
	margin-bottom: 16px;
}
.form-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	color: #94a3b8;
}
.login-error {
	margin-bottom: 14px;
	padding: 9px 12px;
	font-size: 13px;
	color: #f87171;
	border: 1px solid rgba(248, 113, 113, 0.35);
	border-radius: 8px;
	background: rgba(248, 113, 113, 0.06);
}

/* 注册成功等正常态提示 */
.login-success {
	margin-bottom: 14px;
	padding: 9px 12px;
	font-size: 13px;
	color: #34d399;
	border: 1px solid rgba(52, 211, 153, 0.35);
	border-radius: 8px;
	background: rgba(52, 211, 153, 0.08);
}

/* 登录/注册页底部切换链接 */
.login-switch {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--muted, #8b93a7);
	text-align: center;
}

.login-switch a {
	color: var(--accent, #22d3ee);
	text-decoration: none;
}

/* ============================================================
   控制台
   ============================================================ */
.guard-console,
.guard-certs {
	position: relative;
	overflow: hidden;
	padding: 24px 20px 60px;
}
.page-head {
	max-width: 980px;
	margin: 0 auto 20px;
}
.page-title {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 1px;
}
.page-sub {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.7;
	color: #64748b;
}
.quota-card {
	max-width: 980px;
	margin: 0 auto 16px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.quota-left {
	display: flex;
	align-items: center;
	gap: 14px;
}
.quota-icon {
	font-size: 24px;
}
.quota-title {
	font-size: 15px;
	font-weight: 700;
}
.quota-desc {
	margin-top: 2px;
	font-size: 12px;
	color: #64748b;
}
.quota-num {
	color: #34d399;
	font-size: 14px;
}
.quota-right {
	display: flex;
	align-items: center;
	gap: 10px;
}
.quota-ops {
	display: flex;
	align-items: center;
	gap: 10px;
}
.quota-ops .g-input {
		width: 220px;
	}
	.quota-qr {
		display: flex;
		align-items: center;
		gap: 8px;
		padding-right: 12px;
		border-right: 1px solid rgba(148, 163, 184, 0.25);
	}
	.quota-qr .qr-box {
		width: 84px;
		height: 84px;
	}
	.quota-qr-tip {
		font-size: 12px;
		line-height: 1.6;
		color: #64748b;
	}
	.field-hint {
		font-weight: 400;
		font-size: 12px;
		color: #64748b;
	}
.upload-card,
.task-card,
.cert-card,
.note-card {
	max-width: 980px;
	margin: 0 auto 16px;
	padding: 24px;
}
.card-title {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 16px;
}
.field-label {
	margin: 6px 0 10px;
	font-size: 13px;
	color: #94a3b8;
}
.mode-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 18px;
}
.mode-item {
	padding: 16px;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 12px;
	background: rgba(11, 18, 32, 0.6);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.mode-item:hover {
	border-color: rgba(34, 211, 238, 0.4);
}
.mode-item.active {
	border-color: #22d3ee;
	box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.5), 0 6px 24px rgba(34, 211, 238, 0.12);
}
.mode-head {
	display: flex;
	align-items: center;
	gap: 10px;
}
.mode-name {
	font-size: 15px;
	font-weight: 700;
}
.mode-desc {
	margin-top: 10px;
	font-size: 13px;
	color: #cbd5e1;
}
.mode-note {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.7;
	color: #64748b;
}
.apk-drop {
	border: 1px dashed rgba(148, 163, 184, 0.3);
	border-radius: 12px;
	background: rgba(11, 18, 32, 0.6);
	cursor: pointer;
	transition: border-color 0.2s;
	margin-bottom: 14px;
}
.apk-drop:hover,
.apk-drop.drag {
	border-color: #22d3ee;
}
.upload-inner {
	padding: 22px 0;
	text-align: center;
}
.upload-icon {
	font-size: 30px;
}
.upload-text {
	margin-top: 8px;
	font-size: 14px;
	color: #cbd5e1;
}
.upload-text em {
	color: #22d3ee;
	font-style: normal;
}
.upload-tip {
	margin-top: 4px;
	font-size: 12px;
	color: #64748b;
}
.upload-file {
	margin-left: 10px;
	font-size: 13px;
	color: #22d3ee;
}
.cert-fields {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 12px;
	margin-top: 12px;
	margin-bottom: 14px;
}
.agree-row {
	margin-top: 16px;
}
.agree-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #cbd5e1;
	cursor: pointer;
}
.agree-label input[type='checkbox'] {
	accent-color: #22d3ee;
	width: 15px;
	height: 15px;
}
.submit-row {
	margin-top: 14px;
	text-align: right;
}
.task-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.resign-tip {
	margin-bottom: 14px;
	padding: 10px 14px;
	font-size: 13px;
	line-height: 1.7;
	color: #cbd5e1;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 10px;
	background: rgba(11, 18, 32, 0.6);
}
.resign-tip b {
	color: #fbbf24;
}
.radio-row {
	display: flex;
	align-items: center;
	gap: 20px;
}
.radio-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #cbd5e1;
	cursor: pointer;
}
.radio-label input {
	accent-color: #22d3ee;
}
.pager {
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	font-size: 13px;
	color: #94a3b8;
}
.pager-total {
	margin-right: auto;
}
.pager-info {
	min-width: 56px;
	text-align: center;
}
.cert-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.fp {
	font-size: 12px;
	color: #94a3b8;
}
.note-list {
	margin: 0;
	padding-left: 20px;
	font-size: 13px;
	line-height: 2;
	color: #94a3b8;
}

@media (max-width: 720px) {
	.cards,
	.caps,
	.mode-grid,
	.cert-fields,
	.sign-ways {
		grid-template-columns: 1fr;
	}
	.cta {
		flex-direction: column;
	}
	.hero-title {
		font-size: 30px;
	}
	.hero-stats {
		gap: 28px;
	}
	.g-header-inner {
		padding: 0 14px;
	}
	.g-nav {
		gap: 14px;
	}
	.quota-card {
		flex-direction: column;
		align-items: stretch;
	}
	.quota-ops {
		flex-wrap: wrap;
	}
	.quota-ops .g-input {
		width: auto;
		flex: 1;
	}
	.quota-qr {
		width: 100%;
		justify-content: center;
		padding-right: 0;
		padding-bottom: 10px;
		border-right: none;
		border-bottom: 1px solid rgba(148, 163, 184, 0.25);
	}
}

/* ==================== 登录页：双方式切换 ==================== */
.login-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 18px;
	padding: 4px;
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 10px;
	background: rgba(15, 23, 42, 0.5);
}

.login-tab {
	flex: 1;
	padding: 9px 0;
	font-size: 14px;
	color: #8b93a7;
	background: transparent;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.15s;
}

.login-tab.active {
	color: #22d3ee;
	font-weight: 600;
	background: rgba(34, 211, 238, 0.1);
}

/* ==================== 图形码 / 短信码 行内布局 ==================== */
.captcha-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.captcha-row .g-input {
	flex: 1;
	min-width: 0;
}

.captcha-img {
	width: 120px;
	height: 40px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: 8px;
	cursor: pointer;
	object-fit: cover;
}

.btn-outline {
	padding: 9px 14px;
	font-size: 13px;
	color: #22d3ee;
	white-space: nowrap;
	border: 1px solid rgba(34, 211, 238, 0.45);
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
	transition: all 0.15s;
}

.btn-outline:hover:not(:disabled) {
	background: rgba(34, 211, 238, 0.1);
}

.btn-outline:disabled {
	color: #64748b;
	border-color: rgba(100, 116, 139, 0.4);
	cursor: not-allowed;
}

/* ==================== 设置密码引导弹窗 ==================== */
.dialog-tip {
	margin: 6px 0 16px;
	font-size: 13px;
	color: #8b93a7;
}

.dialog-ops {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 18px;
}

/* 右上角引导 toast（点击可打开设置弹窗） */
.toast.toast-guide {
	top: 70px;
	right: 20px;
	left: auto;
	transform: none;
	color: #fbbf24;
	border: 1px solid rgba(251, 191, 36, 0.45);
	background: rgba(251, 191, 36, 0.12);
	cursor: pointer;
	pointer-events: auto;
}

