/* ===== The Large Model Tree — "Training Program Print" system =====
   Direction dir-1 (Experimental Jetset logic). Paper #F2EEE3, ink #161412,
   press red #D02700. One sans (Helvetica/Arial) + one mono (IBM Plex Mono, local).
   Structure: rules instead of cards; forms instead of candy buttons. */

* {
	transition-duration: 0.12s;
	text-align: center;
	font-family: Helvetica, "Helvetica Neue", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
	font-weight: normal;
	table-align: center;
	margin: auto;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

*:focus {
	outline: none;
	webkit-outline: none;
}

html, body {
	min-height: 100%;
	height: 100%;
}

td {
	padding: 0
}

/* mono runs (numbers, codes, folios, costs) */
h1, h2, h3, b, .mono, #points, .upg, .milestone, .reset, .tabButton, .opt, .treeNode, .treeButton, .hotkey {
	font-family: "IBM Plex Mono", Consolas, "Courier New", monospace;
}

.upgTable {
	display: flex !important;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
	max-width: 100%;
	margin: 0 auto;
}

/* Rows are horizontal by default (tabs, achievements, challenges, grids);
   only upgrade rows opt into the vertical ledger via .ledgerRow */
.upgRow {
	display: flex !important;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	max-width: 100%;
	margin: 0 auto;
}

.upgRow.ledgerRow {
	flex-flow: column nowrap;
	justify-content: center;
	align-items: stretch;
	max-width: 860px;
	width: 100%;
	margin: 0 auto;
}

.upgAlign {
	vertical-align: 0
}

.bigUpgAlign {
	vertical-align: 0
}

.treeThing {
	margin: 0 10px 0 10px;
	vertical-align: middle;
}

.can.upg:hover {
	z-index: 2
}

.can.buyable:hover {
	z-index: 2
}

.back {
	position: absolute;
	top: 0;
	left: 0;
	background-color: transparent;
	border: 1px solid transparent;
	color: var(--color);
	font-family: "IBM Plex Mono", monospace;
	font-size: 26px;
	cursor: pointer;
	z-index: 10001;
}

.other-back {
	position: absolute;
	top: 0;
	left: 60px;
	background-color: transparent;
	border: 1px solid transparent;
	color: var(--color);
	font-family: "IBM Plex Mono", monospace;
	font-size: 26px;
	cursor: pointer;
	z-index: 10001;
}

.back:hover, .other-back:hover {
	color: var(--red);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.hidden {
	visibility: hidden;
	height: 50px !important;
}

/* SVG tree-branch layer (was canvas) */
.canvas {
	top: 0;
	left: 0;
	position: absolute;
	z-index: -999;
	pointer-events: none;
}

.left {
	position: absolute;
	left: 0;
}

.remove {
	height: 24px;
	width: 24px;
	cursor: pointer;
}

.remove:hover {
	transform: scale(1.1, 1.1);
}

.col {
	min-width: 49.5%;
	max-width: 49.5%;
	width: 49.5%;
	height: 100%;
	min-height: 100%;
	column-span: 1;
	position: absolute;
	overflow-y: auto;
	overflow-x: auto;
	transition-duration: 0s
}

.instant {
	transition-duration: 0s !important
}

.fast {
	transition: color none
}

.col.right {
	top: 0;
	right: 0;
	border-left: 2px solid var(--ink);
}

#app {
	column-count: 2;
	column-width: 50%;
	min-height: 100%;
}

.vl2 {
	border-left: 2px solid var(--ink);
	height: 100%;
}

ul {
	list-style-type: none;
}

.fullWidth {
	position: absolute;
	height: 100%;
	width: 100%;
	min-width: 100%;
	overflow-y: auto;
	overflow-x: auto;
	transition-duration: 0s
}

.tooltipBox {
	position: relative;
}

.tooltipBox:hover .tooltip {
	opacity: 1;
}

.forceTooltip .tooltip {
	opacity: 1;
}

.respecCheckbox {
	display: inline-block;
}

#loadingSection {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.treeOverlay {
	pointer-events: none;
	overflow: hidden;
}

.front {
	z-index: 30000
}

.overlayThing {
	z-index: 10000;
	pointer-events: auto;
}

.sideLayers {
	z-index: 10000;
	pointer-events: auto;
	position: absolute;
	right: 55px;
	top: 65px;
	background-color: transparent;
}

button > * {
	pointer-events: none;
}

.ghost {
	visibility: hidden
}

#treeTab td button {
	margin: 0 10px;
}

.bg {
	z-index: -9000;
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: transparent;
	top: 0
}

.bg2 {
	z-index: -9009;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0
}

.noBackground {
	background: transparent !important;
	background-image: none !important;
	--background: transparent !important;
}

/* ===== Program masthead (overlay-head) ===== */
.masthead {
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ink);
	margin-bottom: 4px;
}

.masthead .m-brand {
	font-family: "IBM Plex Mono", monospace;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.28em;
	color: var(--ink2);
	margin-bottom: 4px;
}

.masthead .m-label { font-size: 14px; }

.masthead .m-rate {
	font-family: "IBM Plex Mono", monospace;
	font-size: 13px;
	color: var(--ink2);
}

.masthead #points { font-size: 30px; }

.chapterLine {
	font-family: "IBM Plex Mono", monospace;
	font-size: 14px;
	letter-spacing: 0.04em;
}
