/* Privacy crosswalk (GDPR, ISO/IEC 27701, NIST Privacy Framework). Prefix pc-. Sits on the html5up dark template, whose
   rules for bare button and select have to be reset where we use them. */

.pc-intro .pc-stats {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6em 1.6em;
	margin: 0 0 1em;
}
	.pc-intro .pc-stats li { padding: 0; }
	.pc-intro .pc-stats strong { color: #7fb2e5; font-size: 1.25em; margin-right: 0.25em; }

.pc-caveat {
	font-size: 0.85em;
	border-left: solid 3px rgba(127, 178, 229, 0.6);
	padding-left: 1em;
	color: rgba(255, 255, 255, 0.7);
}

/* Anchor targets sit under the sticky header otherwise (see site-context: 6rem). */
.pc-card, .pc-theme, .pc-group, #pc-app, #pc-method, #pc-how { scroll-margin-top: 6rem; }

/* Tabs and chips: the template gives every button a fixed 4.75em height,
   uppercase and nowrap, so all of it is declared back here. */
.pc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
	border-bottom: solid 1px rgba(255, 255, 255, 0.15);
	margin: 1.5em 0 1.25em;
}
.pc-tab, .pc-chip {
	height: auto;
	line-height: 1.35;
	white-space: normal;
	text-transform: none;
	letter-spacing: 0.02em;
	font-size: 0.85em;
	font-weight: bold;
	box-shadow: none;
	cursor: pointer;
	min-width: 0;
	width: auto;
}
.pc-tab {
	padding: 0.7em 1.1em;
	border-radius: 0.4em 0.4em 0 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.65) !important;
	border: solid 1px transparent !important;
	border-bottom: none !important;
}
	.pc-tab:hover { color: #ffffff !important; background: rgba(255, 255, 255, 0.05); }
	.pc-tab.is-on {
		color: #ffffff !important;
		background: rgba(127, 178, 229, 0.18);
		border-color: rgba(127, 178, 229, 0.45) !important;
	}

.pc-filters { margin-bottom: 1em; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 0.4em; margin-bottom: 0.75em; }
.pc-chip {
	padding: 0.45em 0.95em;
	border-radius: 2em;
	background: transparent;
	color: rgba(255, 255, 255, 0.8) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}
	.pc-chip.is-on {
		background: rgba(127, 178, 229, 0.3);
		color: #ffffff !important;
		box-shadow: inset 0 0 0 1px rgba(127, 178, 229, 0.9) !important;
	}
.pc-filter-row { display: flex; flex-wrap: wrap; gap: 0.6em; }
	.pc-filter-row .pc-select { flex: 0 1 18em; min-width: 0; }
	.pc-filter-row .pc-search { flex: 1 1 16em; min-width: 0; }

.pc-count { font-size: 0.85em; color: rgba(255, 255, 255, 0.6); margin: 0 0 0.5em; }
.pc-lede { color: rgba(255, 255, 255, 0.8); }

.pc-theme {
	margin: 1.75em 0 0.75em;
	padding-bottom: 0.3em;
	border-bottom: solid 1px rgba(255, 255, 255, 0.12);
	font-size: 1.05em;
}
.pc-cat { margin: 1.25em 0 0.5em; font-size: 0.95em; }

.pc-card {
	position: relative;
	background: rgba(255, 255, 255, 0.04);
	border: solid 1px rgba(255, 255, 255, 0.1);
	border-radius: 0.5em;
	padding: 1.1em 1.25em 0.9em;
	margin: 0 0 1em;
	transition: box-shadow 0.4s ease;
}
	.pc-card.pc-flash { box-shadow: 0 0 0 2px #7fb2e5; }
	.pc-card h4 { font-size: 0.8em; letter-spacing: 0.08em; text-transform: uppercase; margin: 0.9em 0 0.4em; color: rgba(255, 255, 255, 0.6); }
	.pc-card p { margin: 0 0 0.6em; }

.pc-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em 0.5em; margin-bottom: 0.6em; padding-right: 3em; }
.pc-art {
	font-weight: bold;
	font-size: 0.85em;
	padding: 0.15em 0.6em;
	border-radius: 0.3em;
	background: rgba(127, 178, 229, 0.2);
	border-bottom: none;
	color: #ffffff;
}
.pc-id { font-weight: bold; color: #7fb2e5; }
.pc-item-title { font-weight: bold; }
.pc-role, .pc-gap {
	font-size: 0.72em;
	font-weight: bold;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.2em 0.6em;
	border-radius: 2em;
	border: solid 1px rgba(255, 255, 255, 0.3);
	white-space: nowrap;
}
.pc-role-controller { border-color: rgba(127, 178, 229, 0.8); }
.pc-role-processor { border-color: rgba(176, 222, 160, 0.8); }
.pc-role-both { border-color: rgba(255, 255, 255, 0.6); }
.pc-gap-none { background: rgba(232, 120, 120, 0.25); border-color: rgba(232, 120, 120, 0.8); }
.pc-gap-partial { background: rgba(231, 190, 120, 0.18); border-color: rgba(231, 190, 120, 0.7); }

.pc-obl { font-size: 1.02em; }
.pc-art-titles { font-size: 0.82em; color: rgba(255, 255, 255, 0.6); }
.pc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 0 1.5em; }
.pc-col { min-width: 0; }
.pc-reflist { list-style: none; padding: 0; margin: 0 0 0.4em; }
	.pc-reflist li { padding: 0; margin: 0 0 0.45em; font-size: 0.88em; line-height: 1.5; }
.pc-ref-id { font-weight: bold; white-space: nowrap; }
.pc-quote { color: rgba(255, 255, 255, 0.82); }
.pc-none { font-style: italic; color: rgba(255, 255, 255, 0.5); font-size: 0.88em; }
.pc-note { font-size: 0.86em; color: rgba(255, 255, 255, 0.78); border-top: dashed 1px rgba(255, 255, 255, 0.12); padding-top: 0.6em; margin-top: 0.4em; }
.pc-tool { font-size: 0.86em; }
.pc-related { font-size: 0.85em; border-left: solid 2px rgba(127, 178, 229, 0.5); padding-left: 0.75em; margin-top: 0.5em; }
.pc-inline-refs { font-size: 0.88em; }
.pc-permalink {
	position: absolute;
	top: 1em;
	right: 1.1em;
	font-size: 0.75em;
	opacity: 0.6;
}
	.pc-permalink:hover { opacity: 1; }

.pc-table-wrap { overflow-x: auto; }
.pc-table { width: 100%; font-size: 0.88em; }
	.pc-table td, .pc-table th { vertical-align: top; padding: 0.45em 0.6em; }

.pc-method { margin-top: 3em; font-size: 0.9em; }
	.pc-method h2 { font-size: 1.2em; }
	.pc-method li { margin-bottom: 0.6em; }

/* Where a reference comes from: static chips, not buttons. */
.pc-srcs { white-space: normal; }
.pc-src {
	display: inline-block;
	font-size: 0.7em;
	font-weight: bold;
	letter-spacing: 0.04em;
	line-height: 1.5;
	padding: 0 0.55em;
	margin: 0 0.15em 0 0;
	border-radius: 2em;
	border: solid 1px rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.85);
	white-space: nowrap;
	vertical-align: middle;
	cursor: default;
}
.pc-src-s { border-color: rgba(255, 255, 255, 0.3); background: transparent; color: rgba(255, 255, 255, 0.65); }
.pc-src-a { border-color: rgba(127, 178, 229, 0.85); background: rgba(127, 178, 229, 0.16); }
.pc-legend { font-size: 0.8em; color: rgba(255, 255, 255, 0.65); margin: 0 0 0.75em; line-height: 1.9; }
.pc-chip-gap { margin-left: 0.6em; }

/* Long clause lists and the published tables fold away. The template styles neither
   details nor summary, so the marker and the pointer are set here. */
.pc-more { margin: 0 0 0.6em; }
	.pc-more > summary { cursor: pointer; font-size: 0.88em; color: #7fb2e5; padding: 0.15em 0; }
	.pc-more > summary:hover { color: #ffffff; }
	.pc-more[open] > summary { margin-bottom: 0.4em; }
.pc-pubart { border-bottom: solid 1px rgba(255, 255, 255, 0.08); margin: 0; padding: 0.35em 0; }
	.pc-pubart > summary { color: rgba(255, 255, 255, 0.85); font-size: 0.92em; }
.pc-group { margin: 1.4em 0 0.6em; font-size: 0.95em; color: rgba(255, 255, 255, 0.85); }
.pc-attrib { font-size: 0.82em; color: rgba(255, 255, 255, 0.65); }
.pc-how ol { margin-bottom: 1em; }
	.pc-how li { margin-bottom: 0.4em; }
.pc-table td:first-child, .pc-table th:first-child { white-space: nowrap; }

@media screen and (max-width: 736px) {
	.pc-cols { grid-template-columns: minmax(0, 1fr); }
	.pc-card { padding: 1em 0.9em 0.8em; }
	.pc-tab { flex: 1 1 45%; text-align: center; border-radius: 0.4em; border-bottom: solid 1px transparent !important; }
	.pc-tabs { border-bottom: none; }
	.pc-chip-gap { margin-left: 0; }
	.pc-table td:first-child, .pc-table th:first-child { white-space: normal; }
}

@media print {
	.pc-tabs, .pc-filters, .pc-permalink, .pc-legend { display: none; }
	.pc-card { break-inside: avoid; }
}
