/* WebControl Tools: matches the site's Noir / Sky palette. */
.wct {
	--wct-sky: #95E1E5;
	--wct-noir: #001B21;
	--wct-line: rgba(149, 225, 229, 0.22);
	--wct-panel: rgba(255, 255, 255, 0.04);
	--wct-muted: rgba(255, 255, 255, 0.72);
	--wct-ok: #95E1E5;
	--wct-warn: #E8C268;
	--wct-bad: #EC7F7F;
	color: #fff;
	font-size: 16px;
	line-height: 1.55;
}
.wct *, .wct *::before, .wct *::after { box-sizing: border-box; }
.wct p { margin: 0 0 8px; }
.wct-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 8px; }
.wct-fields { display: flex; flex-wrap: wrap; gap: 16px; flex: 1 1 420px; }
.wct-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; min-width: 0; }
.wct-field label { font-size: 14px; color: var(--wct-muted); }
.wct input, .wct select {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 6px;
	background: var(--wct-noir); color: #fff; font: inherit;
}
.wct input::placeholder { color: rgba(255, 255, 255, 0.4); }
.wct input:focus-visible, .wct select:focus-visible, .wct button:focus-visible, .wct a:focus-visible, .wct summary:focus-visible {
	outline: 2px solid var(--wct-sky); outline-offset: 2px;
}
.wct-btn, .wct button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
	border: 1px solid var(--wct-sky); border-radius: 6px; background: transparent; color: var(--wct-sky);
	font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.wct-btn:hover, .wct button:hover { background: rgba(149, 225, 229, 0.12); color: var(--wct-sky); }
.wct .wct-primary { background: var(--wct-sky); color: var(--wct-noir); min-height: 48px; }
.wct .wct-primary:hover { background: #CAF0F2; color: var(--wct-noir); }
.wct button[disabled] { opacity: 0.6; cursor: progress; }
.wct-msg { color: var(--wct-bad); min-height: 0; }
.wct-msg:empty { display: none; }
.wct-out { margin-top: 24px; }
.wct-out:empty { margin-top: 0; }
.wct-lead { color: var(--wct-muted); }
.wct-note { color: var(--wct-muted); font-size: 14px; }
.wct-group { font-size: 20px; line-height: 1.3; margin: 32px 0 12px; color: #fff; }
.wct-group:first-child { margin-top: 8px; }
.wct-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wct-item { background: var(--wct-panel); border: 1px solid var(--wct-line); border-radius: 10px; padding: 20px; min-width: 0; }
.wct-item-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wct-item h4 { margin: 0; font-size: 17px; line-height: 1.3; color: #fff; }
.wct-item > p { color: var(--wct-muted); font-size: 15px; }
.wct-tag { font-size: 13px; color: var(--wct-sky); border: 1px solid var(--wct-line); border-radius: 999px; padding: 2px 10px; }
.wct-rows { display: flex; flex-direction: column; gap: 10px; }
.wct-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 8px; background: var(--wct-panel); border-left: 3px solid var(--wct-line); }
.wct-row-body { min-width: 0; flex: 1; }
.wct-row-body strong { display: block; margin-bottom: 4px; font-weight: 600; }
.wct-row-body p { color: var(--wct-muted); font-size: 15px; }
.wct-pill { flex: 0 0 auto; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: var(--wct-noir); background: var(--wct-sky); margin-top: 2px; }
.wct-ok { border-left-color: var(--wct-ok); }
.wct-warn { border-left-color: var(--wct-warn); }
.wct-warn .wct-pill { background: var(--wct-warn); }
.wct-bad { border-left-color: var(--wct-bad); }
.wct-bad .wct-pill { background: var(--wct-bad); }
.wct-info { border-left-color: rgba(255, 255, 255, 0.35); }
.wct-info .wct-pill { background: rgba(255, 255, 255, 0.75); }
.wct-mono, .wct-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.wct-codewrap { position: relative; margin: 8px 0; }
.wct-code { margin: 0; padding: 14px 16px; padding-right: 84px; background: #00141A; border: 1px solid var(--wct-line); border-radius: 8px; color: #E1E1E1; max-height: 420px; overflow: auto; }
.wct-copy { position: absolute; top: 8px; right: 8px; min-height: 32px !important; padding: 4px 12px !important; font-size: 13px !important; background: var(--wct-noir) !important; }
.wct-link { color: var(--wct-sky); }
.wct-offscreen { position: fixed; left: -9999px; top: 0; }
@media (max-width: 767px) {
	.wct-items { grid-template-columns: 1fr; }
	.wct-form .wct-primary { width: 100%; }
	.wct-item { padding: 16px; }
	.wct-row { flex-direction: column; gap: 8px; }
}
.wct-part { font-size: 24px; line-height: 1.25; margin: 40px 0 4px; padding-top: 24px; border-top: 1px solid var(--wct-line); color: #fff; }
.wct-out > .wct-part:first-of-type { margin-top: 8px; padding-top: 0; border-top: 0; }
.wct-risk { margin: 12px 0 4px; padding: 10px 14px; border-left: 3px solid var(--wct-warn); background: rgba(232, 194, 104, 0.08); border-radius: 0 6px 6px 0; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.wct-risk strong, .wct-row-body .wct-risk strong { display: inline; margin: 0; color: var(--wct-warn); font-weight: 600; }
.wct-risk a { color: var(--wct-sky); white-space: nowrap; }
.wct-out > .wct-risk { margin-bottom: 8px; }
.wct-read { margin: 10px 0 0; font-size: 14px; color: var(--wct-muted); }
.wct-read a { color: var(--wct-sky); }
.wct-item .wct-read { margin-top: 12px; }
