:root {
	--bg: #090b0f;
	--surface: #0f1318;
	--surface2: #151a22;
	--border: #1e2530;
	--border-bright: #2e3d52;
	--text: #edf1f8;
	--muted: #8b9ab5;
	--accent: #3b82f6;
	--accent-hover: #2563eb;
	--accent-dim: rgba(59,130,246,0.08);
	--green: #34d399;
	--green-glow: rgba(52,211,153,0.1);
	--font: 'Plus Jakarta Sans', system-ui, sans-serif;
	--mono: 'DM Mono', 'Courier New', monospace;
	--copy: #d4d4dc;
	--background: #020024;
	--abhblue: #2b2b44;
	--white: #fff;
	--black: #000;
	--filters-width: 340px;
}

/* Fonts */
@font-face {
	font-family: "Inter";
	src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
	font-style: normal;
}
html {
  scroll-behavior: smooth;
}
/* Base */
body {
	margin: 0;
	padding: 0;
	font-family: Inter, Arial, sans-serif;
	font-size: 16px;
	color: var(--copy);
	background-color: var(--background);
	background: linear-gradient(rgba(10, 20, 40, 0.7), rgba(10, 20, 40, 0.7)),
		url(https://www.abhive.io/uploads/hive-mini-bg.png) center / cover repeat;
	background-size: 200px;
	background-attachment: fixed;
	overflow-y: scroll;
}
/* ===== Global scrollbar (Chromium, Edge, Safari) ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0a1226;
}

::-webkit-scrollbar-thumb {
  background: rgba(118, 168, 255, 0.35);
  border-radius: 999px;
  border: 2px solid #0a1226; /* creates padding effect */
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(118, 168, 255, 0.6);
}
}

::-webkit-scrollbar-corner {
  background: #0a1226;
}


/* ===== Firefox ===== */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(118, 168, 255, 0.5) #0a1226;
}
h1,
h3 {
	font-family: Inter, Arial, sans-serif;
	text-align: left;
}

h2 {
	color: var(--white);
	text-transform: capitalize;
}

p,
li {
	line-height: 1.7em;
}

a,
a:visited {
	color: var(--copy);
}

legend {
	font-weight: bold;
}

label {
	display: block;
	margin-top: 10px;
}

.bold {
	font-weight: bold;
}

.material-symbols-outlined {
	font-size: inherit !important;
	position: relative;
	top: 2px;
}

/* Accessibility */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--white);
	color: var(--black);
	padding: 8px 16px;
	z-index: 10000;
	text-decoration: none;
	font-weight: 600;
	border-radius: 4px;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 10px;
	left: 10px;
	outline: 3px solid #ff6600;
}

.skip-link:visited {
	color: #000000 !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Layout */
.site-header {
	position: relative;
}
.nav-client-switcher {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-client-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.nav-client-select:focus-visible {
  outline: 2px solid rgba(157, 193, 255, 0.95);
  outline-offset: 2px;
}
.nav-client-select-wrapper {
  position: relative;
  width: 100%;
}

.nav-client-select {
  width: 100%;
  min-height: 40px;
  padding: 0 40px 0 12px; /* space for icon */
  border-radius: 10px;
  border: 1px solid rgba(118, 168, 255, 0.2);
  background: #0a1226;
  color: #fff;
  font-size: 0.92rem;
  appearance: none; /* removes default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.nav-client-switcher {
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(118, 168, 255, 0.2);
  background: #0a1226;
}
.nav-client-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.nav-client-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
	margin-top:0 !important;
}

.nav-client-selected-view {
  display: none;
}

.nav-client-selected-view.is-visible {
  display: block;
}
.nav-client-selected-name {
	display: block;
	font-size: 1.1rem;
	color: var(--copy);
	font-weight: 500;
	overflow-wrap: anywhere;
	padding-top: 6px;
}

.nav-client-change-link {
  font-size: 0.82rem !important;
  color: var(--copy) !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  flex-shrink: 0;
	padding:0 !important;
}

.nav-client-change-link:hover {
  color: #c6dbff;
}

.nav-client-change-link:focus-visible {
  outline: 2px solid rgba(157, 193, 255, 0.95);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-client-select-wrapper {
  position: relative;
  width: 100%;
  display: none;
}

.nav-client-select-wrapper.is-visible {
  display: block;
}

.nav-client-select {
  width: 100%;
  min-height: 40px;
  padding: 0 40px 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(118, 168, 255, 0.2);
  background: #0a1226;
  color: #fff;
  font-size: 0.92rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.nav-client-select:focus-visible {
  outline: 2px solid rgba(157, 193, 255, 0.95);
  outline-offset: 2px;
}

.nav-client-icon {
  position: absolute;
  top: 47%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
}
.main-content {
	margin-left: 0;
	padding: 20px;
	font-size: 1em;
}

.container {
	max-width: 800px;
	margin: auto;
	background: var(--white);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.topMargin0{
	margin-top:0 !important;
}
.section {
	width: auto;
	max-width: 100%;
	color: var(--copy);
	margin-top: 25px;
	--bg-1: #081120;
	--bg-2: #0d1630;
	--panel: rgba(18, 27, 52, 0.82);
	--panel-border: rgba(115, 143, 255, 0.18);
	--panel-highlight: rgba(101, 170, 255, 0.12);
	--text-main: #f4f7ff;
	--text-soft: #b1bdd8;
	--text-muted: #7d8caf;
	--accent: #76a8ff;
	--accent-2: #8b5cf6;
	--shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	--radius-xl: 5px;
	--radius-lg: 20px;
	--radius-md: 14px;

	position: relative;
	padding: 2rem;
	border-radius: var(--radius-xl);
	overflow: hidden;
	background:
	radial-gradient(circle at top left, rgba(118, 168, 255, 0.14), transparent 28%),
	radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 26%),
	linear-gradient(180deg, #10192f 0%, #0a1226 100%);
	border: 1px solid rgba(126, 151, 255, 0.14);
	box-shadow: var(--shadow);	
}

.section.results,
.section.qa {
	width: auto;
	max-width: 100%;
}
.field-wrapper {
	display: flex;
	align-items: start;
	margin-bottom: 10px;
}
fieldset .field-wrapper:first-of-type, #variantsStatic {
margin-top: 4rem;
}
.field-wrapper .field-content {
	flex: 1;
padding: 20px;
}
.field-wrapper .supporting-copy {
	flex: 1;    
padding: 30px 20px;
}
.field-wrapper .supporting-copy p{
margin-top:0;
}
.field-wrapper, .variant-row {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    margin-bottom: 16px;
}
.results-settings-kicker {
	font-size: 0.85rem;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Logo */
#abhive-logo {
	width: 100px;
	height: auto;
	margin: 0 auto;
	display: block;
	border: none !important;
}

.mobile-logo img,
.desktop-logo img {
	max-width: 100%;
	height: auto;
}

.mobile-logo img {
	display: block;
	max-height: 40px;
	width: auto;
}

.desktop-logo {
	display: none;
}

.desktop-logo img {
	display: block;
}

/* Forms */
fieldset,
.experiment-nav {
	padding: 15px 15px 20px;
	margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="url"],
textarea,
select {
	width: 100%;
	max-width: 500px;
	padding: 14px;
	margin-top: 5px;
	margin-bottom: 10px;
	box-sizing: border-box;
	border: 2px solid var(--background);
	border-radius: 6px;
	font-family: Inter, Arial, sans-serif;
	font-size: 18px;
	background-color: var(--copy);
	color: var(--background);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
	outline: 3px solid rgb(238 190 97);
	outline-offset: 0;
	box-shadow: inset 0 0 0 2px var(--background);
	border: 2px solid var(--background);
}

input::-webkit-input-placeholder {
	color: var(--white);
}

input::-moz-placeholder {
	color: var(--white);
}

textarea {
	min-height: 350px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="radio"],
input[type="checkbox"] {
	transform: scale(1.5);
	margin: 5px;
	width: 16px;
	height: 16px;
}

input[type="number"] {
	-moz-appearance: textfield;
}

select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></svg>');
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 20px;
	cursor: pointer;
}

#half input[type="radio"],
#half input[type="checkbox"] {
	vertical-align: middle;
	margin-right: 5px;
}

#statusContainer label,
#deviceCategoryContainer label,
#domainContainer label,
#resultContainer label,
#globalGoalsContainer label,
#uniqueGoalsContainer label,
#duplicateDomainResultContainer label,
#sampleContainer label {
	display: inline-block;
	margin-right: 10px;
	margin-bottom: 20px;
}

.filter-group-content label,
.filter-group-content input[type="checkbox"] {
	cursor: pointer;
}


.searchLabel {
	margin-bottom: 5px;
	text-transform: uppercase;
	font-weight: bold;
}

.searchOr {
	margin-right: 10px;
}

.clientSelector {
	padding-right: 40px;
	width: fit-content;
	margin: 0 10px;
}

.clientSelector option {
	color: var(--background);
	padding: 15px 8px;
}

/* Buttons */
button,
.experiment-nav a,
.previewBtn,
.dashboardAddExp {
	font-family: Inter, Arial, sans-serif;
	margin-top: 25px;
	margin-right: 10px;
	padding: 10px 12px;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 16px;
	color: var(--copy);
	background-color: #44446b;
}

.experiment-nav a:hover {
	background: rgba(2, 0, 36, 1);
}
button {
  display: inline-flex; /* fixes your align-items issue */
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  min-height: 2.6rem;
  padding: 0 1rem;

  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;

  color: var(--copy);
  text-decoration: none;
  text-transform: inherit;

  border-radius: 5px;
  /*border: 1px solid rgba(118, 168, 255, 0.25);*/

  background:
    linear-gradient(
      180deg,
      rgba(118, 168, 255, 0.18),
      rgba(118, 168, 255, 0.08)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.25);

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.12s ease;
}

button:hover {
  border-color: rgba(118, 168, 255, 0.45);

  background:
    linear-gradient(
      180deg,
      rgba(118, 168, 255, 0.28),
      rgba(118, 168, 255, 0.12)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

button:active {
  transform: translateY(1px);

  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.2);
}

button:focus-visible {
  outline: 3px solid rgba(118, 168, 255, 0.7);
  outline-offset: 2px;
}
button[disabled],
button.buttonDisabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
button .material-symbols-outlined {
  font-size: 1rem;
  margin-top:-4px;
}

.edit-link a {
	display: inline-block;
	margin-top: 20px;
	font-weight: bold;
	text-transform: uppercase;
	background-color: #44446b;
}

/* Navigation */
.hex-icon {
	width: 12px;
	height: auto;
	margin-right: 7px;
}

.mobile-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	min-height: 60px;
	padding: 10px 16px;
	box-sizing: border-box;
	background-color: rgb(2, 0, 36);
	border-bottom: 2px solid #2b2b44;
	z-index: 1100;
}

.mobile-menu-toggle {
	display: inline-block;
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--copy);
	font: inherit;
	padding: 8px 12px;
	cursor: pointer;
	border-radius: 2px;
	margin-top: 0;
	margin-right: 0;
	text-transform: none;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
	background-color: #2b2b44;
	outline: none;
}

.nav-panel {
	width: min(250px, 85vw);
	max-width: 250px;
	height: 100vh;
	height: 100dvh;
	padding: 16px 20px;
	box-sizing: border-box;
	color: var(--copy);
	border-right: 2px solid #2b2b44;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgb(2, 0, 36);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform 0.25s ease;
	z-index: 1100;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    background: radial-gradient(circle at top left, rgba(118, 168, 255, 0.14), transparent 28%), radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 26%), linear-gradient(180deg, #10192f 0%, #0a1226 100%);
    border: 1px solid rgba(126, 151, 255, 0.14);
    box-shadow: var(--shadow);	
}

.nav-panel.is-open {
	transform: translateX(0);
}

.nav-panel .logo {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #2b2b44;
	background-color: transparent !important;
}

.nav-panel ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.nav-panel li.bottom-link {
	margin-top: auto;
}

.nav-panel a,
.edit-link a {
	display: block;
	padding: 10px 12px;
	text-decoration: none;
	color: var(--copy);
	border-radius: 2px;
	transition: background-color 0.3s, color 0.3s;
	font-size: 16px;
	line-height: normal;
	cursor: pointer;
}

.nav-panel a {
	text-transform: none;
	background-color: transparent;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
	background-color: #2b2b44;
	color: var(--white);
	outline: none;
}

.smallNav a {
	padding: 5px 12px;
}

.termsHr {
	display: block;
	width: 100%;
	height: 1px;
	background-color: #2b2b44;
	margin: 5px auto;
}

.nav-close {
	display: inline-block;
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--copy);
	font: inherit;
	padding: 8px 12px;
	margin: 0 0 10px;
	cursor: pointer;
	border-radius: 2px;
	align-self: flex-start;
	text-transform: none;
}

.nav-close:hover,
.nav-close:focus-visible {
	background-color: #2b2b44;
	outline: none;
}

.nav-overlay {
	display: none;
}

.nav-overlay.is-visible {
	display: block;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 1150;
}

body.nav-open {
	overflow: hidden;
}

/* Dashboard / panels */
.filter-group {
	display: inline-block;
	vertical-align: top;
	flex: 1;
	min-height: 215px;
	padding: 12px 25px 16px 16px;
	background: #2b2b44;
	border-radius: 2px;
}

.filter-group:not(:last-child) {
	margin-right: 15px;
}

.variantsContainerInner {
	display: flex;
	gap: 20px;
	align-items: stretch;
}

.variantBlock {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding: 10px 30px;
	text-align: center;
	border-radius:10px;
    border: 1px solid rgba(126, 151, 255, 0.14);
    box-shadow: var(--shadow);
}

.variantBlock h3 {
	margin: 0;
}

.action-links a {
	margin-right: 15px;
	text-decoration: none;
	color: #007bff;
}

.action-links a:hover {
	text-decoration: underline;
}

.conversionInput {
	margin-top: 5px;
}

.button-category {
	display: inline-block;
	background-color: unset;
	border-radius: 0;
	padding: 3px 6px 3px 0;
	margin: 2px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.8em;
}

.expInfo {
	display: inline-block;
	padding: 3px 11px;
	margin-right: -8px;
	margin-bottom: 5px;
	background-color: var(--copy);
	color: #1e1e2f;
	border-radius: 2px;
	font-size: 1em;
	text-align: left !important;
}

.resultWin,
.resultSave,
.resultInconclusive,
.resultnodata,
.resultInvalid,
.resultPending,
.resultInvestigate,
.resultThreshold,
.days,
.theadSub,
.resultInconclusiveOutcome,
.outcome,
.metric {
	display: inline-block;
	min-width: 50px;
	margin: 2px;
	border-radius: 2px;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1em;
	font-weight: bold;
	color: var(--white);
	text-align: center;
}
.resultWin,
.resultSave,
.resultInconclusive,
.resultnodata,
.resultInvalid,
.resultPending,
.resultInvestigate,
.resultInconclusiveOutcome,
.resultThreshold{
	padding: 3px 15px;
}

.days,
.theadSub,
.outcome,
.metric {
	padding: 3px 6px;
}
.metric {
	background-color: #2b2b44;
	color: var(--white);
}

.outcome {
	min-width: 121px !important;
	background-image: repeating-linear-gradient(
		306deg,
		rgba(255, 255, 255, 0.15),
		rgba(255, 255, 255, 0.15) 5px,
		transparent 5px,
		transparent 10px
	);
	text-shadow: 1px 1px 1px var(--black);
}

.resultnodata {
	background-color: var(--copy);
	color: #2b2b44;
	text-shadow: 1px 1px 1px var(--black);
}

.statusWin{
	border-bottom: 3px solid #309472;
	font-weight:bold;
}
.statusSave{
	border-bottom: 3px solid #bf2b2b;
}
.statusInvalid{
	border-bottom: 3px solid #eb7b4c;
}
.statusInconclusive{
	border-bottom: 3px solid #477acd;
}
.statusInvestigate{
	border-bottom: 3px solid #dbff5b;;
}
.statusThreshold{
	border-bottom: 3px solid #309472;
}

.statusWin,
.statusSave,
.statusInvalid,
.statusInvestigate,
.statusInconclusive,
.statusThreshold{
	display:inline-block;
	padding:3px 0;
	text-transform:uppercase;
	min-width:50px;
	border-radius:0;
}

.revenueTable{
	margin-top:40px;
}
.resultWin {
	background-color: #309472;
	text-shadow: 1px 1px 1px var(--black);
}

.resultSave {
	background-color: #eb4c4c;
	text-shadow: 1px 1px 1px var(--black);
}

.resultInvalid {
	background-color: #eb7b4c;
	text-shadow: 1px 1px 1px var(--black);
}

.resultInconclusive {
	background-color: #477acd;
	text-shadow: 1px 1px 1px var(--black);
}

.resultInvestigate,
.resultPending {
	background-color: #dbff5b;
	color: var(--black);
	text-shadow: none;
}

.resultThreshold {
	background-color: #309472;
	background-image: repeating-linear-gradient(
		306deg,
		rgba(255, 255, 255, 0.15),
		rgba(255, 255, 255, 0.15) 5px,
		transparent 5px,
		transparent 10px
	);
	text-shadow: 1px 1px 1px var(--black);
}

.resultInvalidOutcome {
	background-color: #eb4c4c;
}

.theadSub {
	color: #309472;
}

.theadSub:first-of-type {
	padding-left: 0;
	margin-left: 0;
}

.ci_block {
	min-width: 140px;
}

#overallOutcome {
	border: 2px solid var(--white);
}

#saved {
	padding: 10px 0;
	text-align: center;
	text-transform: uppercase;
	color: var(--white);
	background-color: #309472;
	border-radius: 2px;
}

#dashboardForm button .material-symbols-outlined {
	font-size: inherit;
}

/* Tables */
table {
	width: 100%;
	margin-top: 10px;
	border-collapse: collapse;
	border: 2px solid var(--copy);
	line-height: normal;
	text-transform: capitalize;
}

th,
td {
	padding: 12px;
	text-align: left;
}

th {
	background-color: var(--copy);
	color: #1e1e2f;
	border-bottom: 1px solid #2b2b44;
	text-transform: uppercase;
}

tbody tr {
	background-color: #2b2b4466;
}

tbody tr:hover {
	background-color: var(--background);
}

tr.overallRow {
	border-top: 1px solid var(--copy);
}

td.borderLeft {
	border-left: 1px solid var(--copy);
}
.goalParent{
	padding: 20px;
  border-radius: 10px;
  background-color:transparent;
	margin-top:40px;
}
.goalParent table{
	border:none;
}
.goalParent tbody tr:hover {
	background-color: var(--abhblue);
}
.noHover:hover {
	background-color: transparent !important;
}

.goalParent table th{
	background-color:transparent;
	color:var(--copy);
	font-size:0.8rem;
	font-weight:normal;
	vertical-align:top;
}
.goalParent table .theadSub{
	color:var(--green);
	font-weight:normal;
}
.goalParent table .borderLeft{
	border-left:none;
}
.goalParent table tbody tr{
	background-color:transparent;
}
.goalParent tr.overallRow {
    border-top: 1px solid var(--abhblue);
}
.goalParent .metric{
	background:transparent;
	color:var(--copy);
}
.goalParent h1{
	margin-top:0;
}
.goalParent h4{
	margin-top:40px;
	font-size:1.2rem;
}
.goalTitle{
	margin-top:0;
	font-size:1.8rem;
}
/* Messaging */
.messaging-footer textarea {
	width: 100%;
	max-width: 100%;
	min-height: 108px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-right: 70px;
	border-radius: 2px;
}

.emoji-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.emoji-picker {
	position: absolute;
	right: 67px;
	bottom: 164px;
	display: none;
	padding: 8px;
	max-width: fit-content;
	max-height: fit-content;
	overflow: auto;
	background: #2b2b44;
	color: var(--black);
	border: 2px solid #44446b;
	border-radius: 4px;
	box-shadow: 0 0 75px 0 #0f1321;
	z-index: 1200;
}

.emoji-picker-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 6px;
}

.emoji-item {
	min-width: fit-content;
	margin: 0;
	padding: 6px;
	font-size: 20px;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	border: none;
	border-radius: 4px;
	background: transparent;
}

.emoji-item:hover,
.emoji-item:focus {
	background: transparent !important;
	outline: 2px solid #44446b;
	outline-offset: 0;
}

.emoji-btn,
.hints-btn {
	position: absolute;
	right: 21px;
	min-width: fit-content;
	margin: 0;
	padding: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	color: var(--white);
	background-color: #44446b;
	border: 1px solid #58588a;
	border-radius: 4px;
	cursor: pointer;
}

.emoji-btn {
	top: 20px;
}

.hints-btn {
	top: 70px;
}

.emoji-btn:focus {
	outline: 2px solid #66a3ff;
	outline-offset: 2px;
}

/* Modal */
.modalImg {
	display: block;
	max-width: 75%;
	max-height: 500px;
	margin: 20px auto;
	cursor: zoom-in;
	border-radius: 4px;
	border: 1px solid var(--panel-border);
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.8);
}

.modal-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 750px;
	min-height: fit-content;
	max-width: 1300px;
	margin: 40px auto 0;
	padding: 20px;
	text-align: center;
	border-radius: 10px;
	background: radial-gradient(circle at top left, rgba(118, 168, 255, 0.14), transparent 28%), radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 26%), linear-gradient(180deg, #10192f 0%, #0a1226 100%);
    border: 1px solid rgba(126, 151, 255, 0.14);
    box-shadow: var(--shadow);
}

.modal-content {
	display: block;
	max-height: 550px;
	margin: 15px 40px;
	border-radius: 10px;
	padding: 15px 40px;
}

#modalCaption {
	margin-top: 10px;
	color: var(--copy);
	text-align: center;
}

.close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 30px;
	font-weight: bold;
	color: var(--copy);
	cursor: pointer;
}

.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 0 10px;
	font-size: 40px;
	font-weight: bold;
	color: var(--copy);
	cursor: pointer;
	user-select: none;
	border-radius: 2px;
}

.prev {
	left: 10px;
}

.next {
	right: 10px;
}


/* Desktop up */
@media (min-width: 769px) {
	.main-content {
		margin-left: 250px;
	}

	.mobile-header {
		display: none;
	}

	.mobile-menu-toggle {
		display: none;
	}

	.nav-close {
		display: none;
	}

	.desktop-logo {
		display: block;
	}

	.nav-panel {
		width: 250px;
		max-width: none;
		height: 100vh;
		transform: none;
		transition: none;
	}

	.nav-overlay {
		display: none !important;
	}

	.section {
		width: 700px;
		max-width: 75%;
	}
}

/* Small modal adjustments */
@media (min-width: 601px) {
	.prev,
	.next {
		font-size: 40px;
		padding: 0 10px;
	}

	.modal-inner {
		padding: 20px;
	}
}

@media (max-width: 600px) {
	.prev,
	.next {
		font-size: 30px;
		padding: 5px;
	}

	.modal-inner {
		padding: 10px;
		min-width: auto;
		width: calc(100% - 20px);
	}
}
#glossary {
  margin: 1.5rem 0;
  width: 500px;
  max-width: 100%;
}

#glossary h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--copy);
}

.glossary-item {
  margin: 0 0 0.85rem;
  border: 1px solid rgba(118, 168, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.glossary-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--copy);
  background: rgba(118, 168, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.glossary-item summary::-webkit-details-marker {
  display: none;
}

.glossary-item summary::before {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--copy);
}

.glossary-item[open] summary::before {
  content: "−";
}

.glossary-item summary:hover,
.glossary-item summary:focus-visible {
  cursor: pointer;
  background: rgba(118, 168, 255, 0.14);
  outline: none;
}

.glossary-item summary strong {
  font-weight: 600;
  margin-right: auto;
}

.glossary-item summary span {
  margin-right: auto;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.glossary-item > div {
  padding: 1rem 2rem 1.15rem;
  color: var(--copy);
}

.glossary-item p {
  margin: 0 0 0.8rem;
  line-height: 1.55;
}

.glossary-item p:last-child {
  margin-bottom: 0;
}

.glossary-item ul {
  margin: 0 0 0.9rem 1.2rem;
  padding: 0;
}

.glossary-item li {
  margin: 0 0 0.45rem;
  line-height: 1.5;
}

.glossary-item li:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .glossary-item summary {
    align-items: flex-start;
    padding: 0.9rem 1rem;
  }

  .glossary-item summary span {
    display: block;
    margin-left: 0;
    font-size: 0.82rem;
  }

  .glossary-item > div {
    padding: 0.95rem 1rem 1rem;
  }
}
.star {
    color: gold;
    -webkit-text-stroke: 0px gold;
    font-size: 1.3rem;
	margin-right: 3px;
}

/* Dashboard right filter rail */
.dashboard-layout {
	display: block;
}

.dashboard-main {
	min-width: 0;
}

.sectionFilters {
	position: fixed;
	top: 0;
	right: 0;
	width: var(--filters-width);
	height: 100vh;
	max-height: 100vh;
	padding: 0;
	overflow: auto;
	display: flex;
	flex-direction: column;
	z-index: 50;
	margin: 0;
	border-radius: 0;
	background: radial-gradient(circle at top left, rgba(118, 168, 255, 0.14), transparent 28%), radial-gradient(circle at top right, rgba(139, 92, 246, 0.12), transparent 26%), linear-gradient(180deg, #10192f 0%, #0a1226 100%);
    border: 1px solid rgba(126, 151, 255, 0.14);
	border-top:none;
	border-bottom:none;
    box-shadow: var(--shadow);
}

.sectionFilters-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
}

.sectionFilters-top {
	flex: 0 0 auto;
	padding: 20px 20px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sectionFilters-top .searchLabel {
	margin: 0 0 8px;
}

.sectionFilters-top .searchFilter {
	width: 100%;
	max-width: none;
	margin: 0 !important;
}

.filter-search-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.filter-search-row .searchFilter {
	flex: 1 1 auto;
	min-width: 0;
}

#searchFiltersBtn {
	flex: 0 0 auto;
	margin: 0 !important;
	white-space: nowrap;
}

.sectionFilters-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 16px 20px 120px;
	position: relative;
	z-index: 1;	
}

.sectionFilters-actions {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid rgba(255,255,255,0.08);
	background: #0a1226;
	z-index: 2;
}

.sectionFilters-actions button,
.sectionFilters button {
	margin-top: 0;
}

.sectionFilters-actions button {
	flex: 1;
	margin: 0 !important;
}

#hideFilters {
	display: none !important;
}

#allFilters {
	display: block !important;
	margin-top: 0;
	padding: 0;
	border: 0;
}

#allFilters legend {
	display: none;
}

.stayFlexy {
	display: block;
}

.filter-group,
.filter-group-horizontal {
	display: block;
	min-height: 0;
	margin: 0 0 12px !important;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.filter-group-content {
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 10px;
	background: rgba(255,255,255,0.04);
	padding: 0;
	overflow: hidden;
}

.filter-group-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0 !important;
	padding: 14px 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none !important;
	text-align: left;
	cursor: pointer;
	text-transform: none;
}

.filter-group-toggle:hover,
.filter-group-toggle:focus-visible {
	background: rgba(118, 168, 255, 0.10);
	outline: none;
}

.filter-group-toggle strong {
	display: block;
	margin: 0;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
}

.filter-group-toggle::after {
	content: "+";
	font-size: 1.15rem;
	line-height: 1;
	color: var(--copy);
}

.filter-group-toggle[aria-expanded="true"]::after {
	content: "−";
}

.filter-group-options {
	padding: 0 16px 14px;
}

.filter-group-options[hidden] {
	display: none !important;
}

.filter-group-options label {
	display: block;
	margin: 10px 0 0;
	position: relative;
	z-index: 1;	
}

.filter-group-options input[type="checkbox"] {
	margin-right: 8px;
}

.filter-group-horizontal .filter-group-content {
	column-count: 1;
	column-gap: 0;
}

.sectionFilters .active-filters {
	margin-top: 14px;
}

@media (max-width: 1100px) {
	.dashboard-layout {
		grid-template-columns: 1fr;
	}

	.sectionFilters {
		position: static;
		height: auto;
		width: 100%;
	}

	.sectionFilters-scroll {
		overflow: visible;
	}

	.dashboard-main {
		margin-right: 0;
	}

	.sectionFilters-actions {
		position: static;
	}	
}
