#imp-page {}
#imp-page a {
	color: var(--accent, #1466b8);
}

.is-hidden {
	display: none !important;
}

.imp-card {
	background: var(--surface, #fff);
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 10px;
	padding: 16px;
	margin: 14px 0;
}

.imp-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-weight: 700;
	font-size: 16px;
}
.imp-head svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.imp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--border, #e6e6e6);
	background: var(--surface, #fff);
	color: inherit;
	border-radius: 8px;
	padding: 10px 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}
.imp-btn svg {
	width: 18px;
	height: 18px;
}
.imp-btn--sm {
	padding: 6px 12px;
	font-size: 12px;
}
.imp-btn--sm svg {
	width: 15px;
	height: 15px;
}
.imp-btn--primary {
	background: var(--accent, #1466b8);
	border-color: var(--accent, #1466b8);
	color: #fff;
}
.imp-btn--danger {
	background: #c62828;
	border-color: #c62828;
	color: #fff;
}
.imp-btn--ok {
	background: #2e7d32;
	border-color: #2e7d32;
	color: #fff;
}

.imp-muted {
	color: var(--muted, #777);
	font-size: 12px;
}
.imp-muted a {
	color: var(--accent, #1466b8);
}
.imp-err {
	color: #c62828;
	font-weight: 700;
}
.imp-warn-t {
	color: #e08600;
	font-weight: 700;
}

.imp-label {
	display: block;
	font-weight: 600;
	margin: 0 0 6px;
}
.imp-input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--border, #d9d9d9);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
}
.imp-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 14px 0 0;
	cursor: pointer;
	font-weight: 400;
}
.imp-check input {
	margin-top: 2px;
}
.imp-warn {
	display: none;
	margin: 10px 0 0;
	padding: 12px;
	border-radius: 8px;
	background: #fff5e6;
	border: 1px solid #ffd591;
	font-size: 13px;
}
#imp-submit {
	margin-top: 16px;
}

#imp-last .imp-head svg {
	color: var(--accent, #1466b8);
}
#imp-last .imp-cards {
	margin-top: 4px;
}
#imp-last .imp-console-box {
	margin-bottom: 0;
}
#imp-last .imp-progbar:last-child,
#imp-last .imp-console-box:last-child {
	margin-bottom: 0;
}

.imp-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0;
}
.imp-card2 {
	flex: 1 1 110px;
	min-width: 100px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px;
	border-bottom: 1px solid #bebebe;
	border-radius: 10px;
	background: var(--surface, #fff);
	text-align: left;
}
.imp-card2__t {
	font-size: 12px;
	color: var(--muted, #777);
}
.imp-card2__v {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
}
.imp-card2__v--dt {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}
.imp-card2__v svg {
	width: 22px;
	height: 22px;
}
.imp-card2--action,
.imp-card2--filter {
	cursor: pointer;
	font: inherit;
}
.imp-card2--action:hover,
.imp-card2--filter:hover {
	border-color: var(--accent, #1466b8);
}
.imp-card2--filter.is-active {
	border-color: var(--accent, #1466b8);
	box-shadow: inset 0 0 0 1px var(--accent, #1466b8);
}

.imp-progbar {
	position: relative;
	height: 24px;
	border-radius: 999px;
	overflow: hidden;
	background: var(--border, #ececec);
	margin: 14px 0;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .08);
}
.imp-progbar__segs {
	position: absolute;
	inset: 0;
	display: flex;
}
.imp-seg {
	height: 100%;
	cursor: pointer;
	transition: filter .12s, transform .12s;
	transform-origin: center;
}
.imp-seg:hover {
	filter: brightness(1.6);
	transform: scaleY(1.35);
}
.imp-seg--ok {
	background: var(--accent, #1466b8);
}
.imp-seg--warn {
	background: #e08600;
}
.imp-seg--err {
	background: #c62828;
}
.imp-progbar__pct {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #fff;
	mix-blend-mode: difference;
	pointer-events: none;
}

.imp-console-box {
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 10px;
	overflow: hidden;
	margin: 14px 0;
}

.imp-log {
	margin: 0;
	height: 420px;
	overflow: auto;
	background: #0f1115;
	color: #e6e6e6;
	padding: 12px;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.5;
	white-space: pre;
}
.imp-log .imp-warn-t {
	color: #ffc107;
}
.imp-line {
	white-space: inherit;
}
.imp-line--target {
	background: rgba(255, 255, 255, .14);
	box-shadow: inset 3px 0 0 var(--accent, #1466b8);
}
.imp-curline {
	white-space: inherit;
}
.imp-log.imp-filter-on .imp-line {
	display: none;
}
.imp-log.imp-filter-on .imp-line--show {
	display: block;
}
.imp-log.imp-filter-on .imp-curline {
	display: none;
}

.imp-callout {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--muted, #667);
}
.imp-callout svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	color: var(--accent, #1466b8);
}
.imp-callout a {
	color: var(--accent, #1466b8);
}

.imp-console__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 12px;
}
.imp-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	cursor: pointer;
}

.imp-api__row {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 8px 0;
	flex-wrap: wrap;
}
.imp-api__url {
	flex: 1 1 260px;
	min-width: 0;
	overflow: auto;
	white-space: nowrap;
	background: var(--surface, #f5f5f5);
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 8px;
	padding: 8px 10px;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
}
.imp-api .imp-head svg {
	color: var(--accent, #1466b8);
}

.imp-hero {
	max-width: 520px;
	margin: 10px auto 6px;
	color: var(--muted, #666);
}
.imp-hero svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.imp-hero__ln {
	fill: none;
	stroke: var(--accent, #1466b8);
	stroke-width: 2;
}
.imp-hero__ah {
	fill: var(--accent, #1466b8);
}
.imp-hero__ic {
	fill: none;
	stroke: var(--accent, #1466b8);
	stroke-width: 1.6;
}
.imp-hero__user {
	fill: var(--accent, #1466b8);
}
.imp-hero__doc {
	fill: var(--surface, #fff);
	stroke: var(--accent, #1466b8);
	stroke-width: 2;
}
.imp-hero__slot {
	stroke: var(--accent, #1466b8);
	stroke-width: 1.4;
	opacity: .75;
}
.imp-hero__t {
	fill: currentColor;
	font-family: ui-monospace, Menlo, Consolas, monospace;
}
.imp-hero__brand {
	fill: var(--accent, #1466b8);
	font-weight: 700;
}
.imp-hero__out {
	fill: none;
	stroke: #2e7d32;
	stroke-width: 2;
}
.imp-hero__aho {
	fill: #2e7d32;
}
.imp-hero__ic-out {
	fill: none;
	stroke: #2e7d32;
	stroke-width: 1.6;
}
.imp-hero__out-t {
	fill: #2e7d32;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-weight: 700;
}
.imp-hero__lg-in {
	fill: var(--accent, #1466b8);
}
.imp-hero__lg-out {
	fill: #2e7d32;
}
.imp-hero__lnk {
	cursor: pointer;
}
.imp-hero__lnk:hover text {
	text-decoration: underline;
}

.imp-hl {
	color: var(--accent, #1466b8);
	font-weight: 700;
}
.imp-code {
	background: #f6f8fa;
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 8px;
	padding: 12px 14px;
	margin: 0;
	overflow-x: auto;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.7;
	white-space: pre;
}

.spec-sub {
  background: #009fff;
  border-radius: 3px;
  padding: 2px;
  color: white;
}
.imp-spec__cat {
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 34px 8px 12px;
	max-width: 100%;
	border: 1px solid var(--accent, #1466b8);
	border-radius: 8px;
	background: #fff;
	color: var(--accent, #1466b8);
	cursor: pointer;
	margin-bottom: 10px;
}
#spec-legend ul {
	margin: 10px 0 0;
	padding-left: 18px;
}

.spec-facts {
	margin: 0;
	display: grid;
	gap: 1px;
	background: var(--border, #e6e6e6);
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 8px;
	overflow: hidden;
}
.spec-facts > div {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 12px;
	background: #fff;
	padding: 9px 12px;
	font-size: 13px;
	min-width: 0;
}
.spec-facts dt {
	font-weight: 600;
	color: var(--muted, #667);
}
.spec-facts dd {
	margin: 0;
	min-width: 0;
}
.spec-facts code {
	font-size: 12px;
	background: #f0f3f7;
	border-radius: 4px;
	padding: 1px 5px;
	overflow-wrap: anywhere;
}

.spec-rules {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.spec-rules li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.spec-rules .ic {
	flex: 0 0 24px;
	display: inline-flex;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	color: var(--accent, #1466b8);
}

#imp-page .spec-seealso__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	margin-top: 10px;
}
#imp-page .spec-seealso__row:hover {
	border-color: var(--accent, #1466b8);
	background: #f7fafd;
}
.spec-seealso__row svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	color: var(--accent, #1466b8);
}
.spec-seealso__row b {
	font-size: 14px;
}

#spec-card,
#info-card {
	position: relative;
}
.spec-more {
	color: #9aa4b2;
}
.spec-code-wrap {
	position: relative;
}
.spec-copy {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 6px;
	background: #fff;
	color: var(--muted, #667);
	cursor: pointer;
}
.spec-copy svg {
	width: 16px;
	height: 16px;
}
.spec-copy:hover {
	border-color: var(--accent, #1466b8);
	color: var(--accent, #1466b8);
}
.spec-copy.is-copied {
	color: #2e7d32;
	border-color: #2e7d32;
	background: #eaf7ea;
}
.spec-field {
	cursor: pointer;
	border-radius: 3px;
}
.spec-field:hover {
	background: #eef3fb;
}
.spec-field.spec-active {
	background: var(--accent, #1466b8);
	color: #fff !important;
	box-shadow: 0 0 0 2px var(--accent, #1466b8);
}
.spec-pop {
	position: absolute;
	z-index: 6;
	max-width: 360px;
	background: #fff;
	border: 1px solid var(--border, #d9d9d9);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
	padding: 12px 14px;
	white-space: normal;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.5;
}
.spec-pop::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 14px;
	width: 12px;
	height: 12px;
	background: #fff;
	border-left: 1px solid var(--border, #d9d9d9);
	border-top: 1px solid var(--border, #d9d9d9);
	transform: rotate(45deg);
}
.spec-pop > div {
	margin: 0 0 8px;
}
.spec-pop > div:last-child {
	margin-bottom: 0;
}
.spec-pop h2 {
	font-size: 15px;
	margin: 6px 0 10px;
}
.spec-pop a {
	color: var(--accent, #1466b8);
}
.spec-pop pre {
	white-space: pre-wrap;
	word-break: break-word;
	background: #f6f8fa;
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 6px;
	padding: 8px 10px;
	margin: 6px 0;
	font-size: 12px;
}

.spec-doc__name {
	display: inline-block;
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 12px;
	color: var(--accent, #1466b8);
	background: #eef3fb;
	border-radius: 4px;
	padding: 1px 7px;
}
.spec-doc__meta {
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 8px;
	overflow: hidden;
	font-size: 12px;
	background: #fafbfc;
}
.spec-doc__meta > div {
	padding: 6px 10px;
}
.spec-doc__meta > div + div {
	border-top: 1px solid var(--border, #eef0f2);
}
.spec-doc__ex {
	border: 1px solid var(--border, #e6e6e6);
	border-radius: 8px;
	background: #fff;
	padding: 8px 10px;
}
.spec-pop .red {
	color: #c62828;
	font-weight: 700;
}
.spec-pop .green {
	color: #2e7d32;
	font-weight: 700;
}
.spec-pop .bold {
	font-weight: 700;
}

.imp-info .imp-head svg {
	color: var(--accent, #1466b8);
}
.imp-partners__list {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 8px;
}
