﻿:root {
	--calloutcol: #D4454F
}

body,h1,h2,h3,p,th,td {font-family:sans-serif}
html.fx-restoring #tabletx {visibility:hidden} /* a refresh: the page the shell rendered is being replaced (glue.js) */


input[type=radio],input[type=checkbox] {border: 0px  }
a.addnew,a.delete,a.submit {cursor:pointer}
.opaque,.tipbg
{
    background-color:#000000;
    opacity:.5;
}
.tip {
	position: fixed;
	/*transition:all 0.1s ease;*/
	transition-delay:0.2s;
	border-top: 1px solid gainsboro;
	border-left: 1px solid gainsboro;
	border-right: 1px solid whitesmoke;
	background-color: #fdfdfd;
	padding: 5px;
	z-index:102;
}
.flex {display:flex}
.static {position:static}
.relative {position:relative}
.tipbg {
	position:fixed;
	top:0px;
	left:0px;
	bottom:0px;
	right:0px;
	width:100%;
	height:100%;
	z-index:101;
}
.shadow,.tip {
	-moz-box-shadow: 5px 5px 7px gainsboro;
	-webkit-box-shadow: 5px 5px 7px gainsboro;
	box-shadow: 5px 5px 7px gainsboro;
}

/* The delete confirmation (glue.js remove_row): Cancel and Delete drawn on the control that asked, at its
   height (--h), corners (--r) and font, and opening toward the middle of the page (.end: from its right edge).
   Under .deletepair so an application's old .deleteconfirm rules don't reach it; its colours are the same
   in every application, so a confirmation always reads as one. */
.deletepair {position: absolute; z-index: 50; display: inline-flex; gap: 4px; height: var(--h, 24px); white-space: nowrap; line-height: 1; text-align: center}
.deletepair > .deleteconfirm, .deletepair > .deletecancel {
	display: inline-flex; align-items: center; box-sizing: border-box; height: 100%; width: auto; min-width: 0;
	padding: 0 .9em; border: 1px solid transparent; border-radius: var(--r, 4px); box-shadow: none;
	font: inherit; font-weight: 500; cursor: pointer; user-select: none;
	transition: background-color .12s, border-color .12s, filter .12s;
	animation: fx-confirm-in .2s cubic-bezier(.2, .9, .3, 1.2) both; transform-origin: left center}
.deletepair.end > span {transform-origin: right center}
.deletepair:not(.end) > .deleteconfirm, .deletepair.end > .deletecancel {animation-delay: .05s} /* the one further from the control comes second */
.deletepair > .deleteconfirm {background-color: var(--danger, #c62828); color: #fff}
.deletepair > .deleteconfirm:hover {filter: brightness(.88)}
.deletepair > .deletecancel {background-color: #fff; color: #333; border-color: #c8c8c8}
.deletepair > .deletecancel:hover {background-color: #f1f1f1; border-color: #aaa}
.deletepair.closing > .deleteconfirm, .deletepair.closing > .deletecancel {animation: fx-confirm-out .14s ease-in both; pointer-events: none}
@keyframes fx-confirm-in {from {opacity: 0; transform: scale(.7)}}
@keyframes fx-confirm-out {to {opacity: 0; transform: scale(.85)}}
@media (prefers-reduced-motion: reduce) {.deletepair > span {animation: none !important}}

.white {background-color:white }
.white:hover { color:white; background-color:#ff9900}
.round4,.select,.selectinline,.delete { -webkit-border-radius: 4px; -khtml-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
.round2 { -webkit-border-radius: 2px; -khtml-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;}
.round8 { -webkit-border-radius: 8px; -khtml-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px;}

.value {text-align:right}
input.value::-ms-clear {
	display: none;
}
input.search::-ms-clear {
	display: none;
}

.grid td {
	border:1px solid gainsboro;
	padding:2px;
}
.grid th,.gridtop th
{
	border:1px solid silver;
	background-color:whitesmoke;
}
.grid,.gridtop
{
	border-collapse:collapse
}
.topalign TD
{
	vertical-align:top;
	padding:5px;
	
}
.calendar {
	user-select: none;
	width: 140px;
	padding:4px;
	border:1px solid gray;
	background-color: whitesmoke;
	cursor: pointer;
	background-image: url('images/calendar.png');
	background-position: center right 5px;
	background-repeat: no-repeat;
	background-size: 10px 10px;
	border-radius:3px;
}
.center
{
	text-align:center
}
.right 
{
	text-align:right
}
.bold {font-weight:bold}
.gray {background-color:Gray;color:white}
.black {background-color:black;color:white}
.narrow{height:20px;}
.border {border:1px solid gray}
.dbl {border-top:1px solid black;border-bottom:medium double black}
.single {border-top:1px solid black;border-bottom:1px solid black}
.collapse {border-collapse:collapse}
.w40 {width:40px} .w60 {width:60px} .w80 {width:80px} .w100 {width:100px} .w180 {width:180px} .w240 {width:240px} .w360 {width:360px}
.h40 {height:40px} .h60 {height:60px} .h80 {height:80px} .h100 {height:100px} .h180 {height:180px} .h240 {height:240px} .h360 {height:360px}

.flex {display:flex}
.flex.column {
	flex-direction: column
}
.flex.row {flex-direction:row}

.cols {flex-direction:column}


svg > g > g:last-child { pointer-events: none } /* This is for google charts to prevent tooltip flickering under the mouse*/

div.fxcallout_bg {
	width:100%;
	height:100%;
	position:absolute;
	left:0px;
	top:0px;
	/*background-color:black;*/
	z-index:2900
}
div.fxcallout {
/*	height: 60px;
	width: 200px;
*/	
	max-width:300px;
	z-index: 5000;
	background-color: var(--calloutcol);
	position: fixed;
	color: #fff;
	padding: 10px;
	box-shadow: 0px 0px 17px 2px #292929;
	margin: 25px;
	min-height: 50px;
	border-radius: 5px;
	text-align:left;
	transition:all 0.5s;
	transform:scale(0);
}
.fxcallout.over {
	box-shadow: 0px -5px 17px 2px #292929;
}
.fxcallout.under {
	box-shadow: 0px 5px 17px 2px #292929;
}
.fxcallout.left {
	box-shadow: -5px 0px 17px 2px #292929;
}
.fxcallout.right {
	box-shadow: 5px 0px 17px 2px #292929;
}
.fxcallout.overright {
	box-shadow: 5px -5px 17px 2px #292929;
}
.fxcallout.overleft {
	box-shadow: -5px -5px 17px 2px #292929;
}
.fxcallout.underright {
	box-shadow: 5px 5px 17px 2px #292929;
}
.fxcallout.underleft {
	box-shadow: -5px 5px 17px 2px #292929;
}

.fxcallout::before {
	content: "";
	width: 0px;
	height: 0px;
	border: 0.8em solid transparent;
	position: absolute;
}

.fxcallout.over::before {
	left: 45%;
	bottom: -19px;
	border-top: 10px solid var(--calloutcol);
}

.fxcallout.under::before {
	left: 45%;
	top: -19px;
	border-bottom: 10px solid var(--calloutcol);
}

.fxcallout.left::before {
	right: -19px;
	top: 40%;
	border-left: 10px solid var(--calloutcol);
}

.fxcallout.right::before {
	left: -19px;
	top: 40%;
	border-right: 10px solid var(--calloutcol);
}

.fxcallout.overright::before {
	left: 20px;
	bottom: -18px;
	border-top: 10px solid var(--calloutcol);
}

.fxcallout.overleft::before {
	right: 20px;
	bottom: -18px;
	border-top: 10px solid var(--calloutcol);
}
.fxcallout.underright::before {
	left: 20px;
	top: -18px;
	border-bottom: 10px solid var(--calloutcol);
}

.fxcallout.underleft::before {
	right: 20px;
	top: -18px;
	border-bottom: 10px solid var(--calloutcol);
}

.fxcallout_button {
	box-shadow: inset 0px 1px 0px 0px #ffffff;
	background: linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
	background-color: #ffffff;
	border-radius: 3px;
	border: 1px solid #dcdcdc;
	display: inline-block;
	cursor: pointer;
	color: #666666;
	font-family: Arial;
	font-size: 15px;
	font-weight: normal;
	padding: 3px 8px;
	text-decoration: none;
	text-shadow: 0px 1px 0px #ffffff;
}

.fxcallout_button:hover {
	background: linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
	background-color: #f6f6f6;
	font-weight: normal;
}

.fxcallout_button:active {
	position: relative;
	top: 1px;
}

/* File inputs: a neutral default look. Every selector is inside :where(), which has no
   specificity, so any rule an application writes for its file inputs wins, and so does an
   inline style. To adjust it without replacing it, set these on :root or on a container:
     --fx-file-border        the outline and the button's edge   (#d0d4d9)
     --fx-file-hover         the outline on hover                (#a8aeb5)
     --fx-file-bg            the field                           (#fff)
     --fx-file-text          the file name                       (#3c4043)
     --fx-file-button        the Choose button                   (#f1f3f4)
     --fx-file-button-hover  the Choose button on hover          (#e3e6e8)
     --fx-file-button-text   the Choose button's text            (as the field)
     --fx-file-ring          the keyboard focus ring             (--brand, else grey-blue) */
:where(input[type=file]) {
	box-sizing: border-box;
	max-width: 100%;
	padding: 3px;
	font: inherit;
	font-size: 13px;
	color: var(--fx-file-text, #3c4043);
	background: var(--fx-file-bg, #fff);
	border: 1px solid var(--fx-file-border, #d0d4d9);
	border-radius: 6px;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}
:where(input[type=file]):hover {border-color: var(--fx-file-hover, #a8aeb5)}
:where(input[type=file]):focus-visible {
	outline: none;
	border-color: var(--fx-file-ring, var(--brand, #5b7db1));
	box-shadow: 0 0 0 3px var(--fx-file-ring-shadow, rgba(91,125,177,.25));
}
:where(input[type=file]):disabled {opacity: .6; cursor: default}
/* Two rules, not one list: a browser that does not know one of the names drops the whole rule. */
:where(input[type=file])::file-selector-button {
	margin: 0 10px 0 0;
	padding: 5px 12px;
	font: inherit;
	color: var(--fx-file-button-text, inherit);
	background: var(--fx-file-button, #f1f3f4);
	border: 1px solid var(--fx-file-border, #d0d4d9);
	border-radius: 4px;
	cursor: pointer;
	transition: background-color .15s ease;
}
:where(input[type=file])::-webkit-file-upload-button {
	margin: 0 10px 0 0;
	padding: 5px 12px;
	font: inherit;
	color: var(--fx-file-button-text, inherit);
	background: var(--fx-file-button, #f1f3f4);
	border: 1px solid var(--fx-file-border, #d0d4d9);
	border-radius: 4px;
	cursor: pointer;
}
:where(input[type=file]):hover::file-selector-button {background: var(--fx-file-button-hover, #e3e6e8)}
:where(input[type=file]):hover::-webkit-file-upload-button {background: var(--fx-file-button-hover, #e3e6e8)}
:where(input[type=file]):disabled::file-selector-button {cursor: default}
@media (prefers-reduced-motion: reduce) {
	:where(input[type=file]), :where(input[type=file])::file-selector-button {transition: none}
}

/* File drop zones (ui.js filedrop): the box round each bound file input. The input itself
   covers the box, invisible, so it takes the click and the drop. As above, every selector is
   inside :where(), so an application's own rules win; adjust it with these on :root or a
   container: --fx-drop-border (#c4c9cf), --fx-drop-accent (--brand, else grey-blue),
   --fx-drop-done (#3f9d5a, the border of a box with a file), --fx-drop-bg (#fff), --fx-drop-over (#f2f6fb), --fx-drop-text (#3c4043), --fx-drop-hint (#80868b). */
:where(.fxdrop) {
	position: relative;
	display: inline-flex; /* as wide as its text, not its cell or line: a wide cell made it a long empty box (Rick, 2026-10-16) */
	vertical-align: top;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	max-width: 100%;
	min-width: 240px;
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.35;
	color: var(--fx-drop-text, #3c4043);
	background: var(--fx-drop-bg, #fff);
	border: 1.5px dashed var(--fx-drop-border, #c4c9cf);
	border-radius: 10px;
	transition: border-color .15s ease, background .15s ease;
}
:where(.fxdrop:hover), :where(.fxdrop:focus-within) {border-color: var(--fx-drop-accent, var(--brand, #5b7db1))}
:where(.fxdrop.fxdrop-over) {border-style: solid; border-color: var(--fx-drop-accent, var(--brand, #5b7db1)); background: var(--fx-drop-over, #f2f6fb)}
:where(.fxdrop.fxdrop-has) {border-color: var(--fx-drop-done, #3f9d5a)}
:where(.fxdrop.fxdrop-has) .fxdrop-name {font-weight: 600}
:where(.fxdrop) > input[type=file] {position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; z-index: 1}
:where(.fxdrop-icon) {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--fx-drop-over, #f2f6fb);
	position: relative;
}
:where(.fxdrop-icon)::before {
	content: "";
	position: absolute;
	inset: 8px;
	background: var(--fx-drop-accent, var(--brand, #5b7db1));
	-webkit-mask: var(--fx-drop-icon) center / contain no-repeat;
	mask: var(--fx-drop-icon) center / contain no-repeat;
}
:where(.fxdrop) {--fx-drop-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18a4.6 4.4 0 0 1 0-9 5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1M9 15l3-3 3 3M12 12v9'/%3E%3C/svg%3E")}
:where(.fxdrop-thumb) {display: none; flex: none; width: 36px; height: 36px; border-radius: 8px; object-fit: cover}
:where(.fxdrop.fxdrop-image) .fxdrop-thumb {display: block}
:where(.fxdrop.fxdrop-image) .fxdrop-icon {display: none}
:where(.fxdrop-text) {display: flex; flex-direction: column; min-width: 0}
:where(.fxdrop-name) {overflow: hidden; text-overflow: ellipsis; white-space: nowrap}
:where(.fxdrop-browse) {color: var(--fx-drop-accent, var(--brand, #5b7db1)); font-weight: 600}
:where(.fxdrop-hint) {font-size: 12px; color: var(--fx-drop-hint, #80868b)}
:where(.fxdrop-hint):empty {display: none}
:where(.fxdrop-remove) {
	display: none;
	position: relative;
	z-index: 2;
	flex: none;
	width: 28px;
	height: 28px;
	margin-left: auto;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	color: var(--fx-drop-text, #3c4043);
	background: rgba(60, 64, 67, .08);
	border-radius: 6px;
	cursor: pointer;
	user-select: none;
}
:where(.fxdrop-remove):hover {background: rgba(60, 64, 67, .16)}
:where(.fxdrop.fxdrop-removable) .fxdrop-remove {display: flex}
@media (prefers-reduced-motion: reduce) {:where(.fxdrop) {transition: none}}

/* Several files (ui.js filesdrop): a multiple file input's box is the drop zone above, and each file waiting for the
   save is a tile before it (.fxtile-new). A page shows its saved files with the same tile: an element with class
   fxtile holding an img.fxtile-image (or a span.fxtile-icon with the type), a span.fxtile-name and, if wanted, the
   row's delete. A table with class fxgallery lays its cells out as a row of tiles that wraps, the box on a line of its
   own under them. Sized with --fx-tile-size (128px). */
:where(.fxgallery) {border-collapse: collapse}
:where(.fxgallery > tbody > tr, .fxgallery > tr) {display: flex; flex-wrap: wrap; gap: 10px}
:where(.fxgallery > tbody > tr > td, .fxgallery > tr > td) {display: block; padding: 0; border: 0}
:where(.fxgallery > tbody > tr > td:has(> .fxdrop-multi), .fxgallery > tr > td:has(> .fxdrop-multi)) {flex-basis: 100%}
:where(.fxtile) {
	position: relative;
	box-sizing: border-box;
	width: var(--fx-tile-size, 128px);
	height: var(--fx-tile-size, 128px);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	font-size: 12px;
	line-height: 1.3;
	color: var(--fx-drop-text, #3c4043);
	background: var(--fx-drop-over, #f2f6fb);
	border: 1px solid var(--fx-drop-border, #c4c9cf);
}
:where(.fxtile-image) {position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover}
:where(.fxtile-icon) {
	position: absolute;
	inset: 0 0 34px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--fx-drop-accent, var(--brand, #5b7db1));
}
:where(.fxtile-name), :where(.fxtile-size) {position: relative; padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(255, 255, 255, .88)}
:where(.fxtile-name) {padding-top: 4px}
:where(.fxtile-size) {padding-bottom: 5px; color: var(--fx-drop-hint, #80868b)}
:where(.fxtile-name):last-child {padding-bottom: 5px}
:where(.fxtile.fxtile-new) {border-color: var(--fx-drop-done, #3f9d5a)}
:where(.fxtile-remove) {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
	display: flex;
	width: 26px;
	height: 26px;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	line-height: 1;
	color: #fff;
	background: rgba(32, 33, 36, .62);
	border-radius: 50%;
	cursor: pointer;
	user-select: none;
}
:where(.fxtile-remove):hover {background: rgba(32, 33, 36, .82)}
:where(.fxtile .delete) {position: absolute; top: 6px; right: 6px; z-index: 2}
:where(.fxtile-size:empty) {display: none} /* a picture the editor uploaded has no size to show */
:where(.fxtile-name:has(+ .fxtile-size:empty)) {padding-bottom: 5px}

/* Rich text editors (ui.js editors): Jodit's own stylesheet (_include/jodit/jodit.min.css, loaded before the page's),
   matched to the drop boxes through Jodit's variables on the editor (.fxeditor), which an application can set as well.
   The picture button's list (.fxeditor-pictures) is tiles of the gallery's pictures, and Upload. */
:where(.fxeditor) {
	--jd-color-border: var(--fx-drop-border, #c4c9cf);
	--jd-border-radius-default: 6px;
	--jd-color-background-light-gray: var(--fx-drop-bg, #fff);
	--jd-color-panel: var(--fx-drop-bg, #fff);
	max-width: 100%;
}
:where(.fxeditor-preview) {max-width: 820px; padding: 4px 8px} /* the toolbar's Preview popup (ui.js editor_preview) */
:where(.fxeditor-preview:has(> .fxeditor-frame)) {width: 820px; padding: 0} /* the site's look (data-editor-css) */
:where(.fxeditor-frame) {display: block; width: 100%; height: 150px; border: 0}
:where(.fxeditor-pictures) {display: flex; flex-wrap: wrap; gap: 8px; max-width: 420px; max-height: 320px; overflow: auto; padding: 8px}
:where(.fxeditor-picture), :where(.fxeditor-upload) {
	position: relative;
	box-sizing: border-box;
	width: 92px;
	height: 92px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid var(--fx-drop-border, #c4c9cf);
	background: var(--fx-drop-over, #f2f6fb);
}
:where(.fxeditor-picture:hover), :where(.fxeditor-upload:hover) {border-color: var(--fx-drop-accent, var(--brand, #5b7db1))}
:where(.fxeditor-picture) img {width: 100%; height: 100%; object-fit: cover; display: block}
:where(.fxeditor-upload) {display: flex; align-items: center; justify-content: center; border-style: dashed; color: var(--fx-drop-accent, var(--brand, #5b7db1)); font-weight: 600; font-size: 13px}
:where(.fxeditor-upload) > input {position: absolute; inset: 0; opacity: 0; cursor: pointer}

/* Multi-selects (ui.js multiselect): the box shown for a <select multiple datafld>, which stays in the page, hidden.
   Every selector is inside :where(), so an application's own rules win; adjust it with these on :root or a
   container: --fx-multi-border (#c4c9cf), --fx-multi-accent (--brand, else grey-blue), --fx-multi-bg (#fff),
   --fx-multi-hover (#f2f6fb), --fx-multi-text (#3c4043). */
:where(select.fxmulti-select) {display: none}
:where(.fxmulti) {position: relative; display: inline-block; vertical-align: middle; font-size: 13px; color: var(--fx-multi-text, #3c4043)}
:where(.fxmulti-button) {
	display: inline-block;
	position: relative;
	box-sizing: border-box;
	min-width: 160px;
	max-width: 280px;
	padding: 4px 26px 4px 8px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 1.35;
	background: var(--fx-multi-bg, #fff);
	border: 1px solid var(--fx-multi-border, #c4c9cf);
	border-radius: 3px;
	cursor: pointer;
}
:where(.fxmulti-button)::after {content: ""; position: absolute; right: 9px; top: 50%; margin-top: -5px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6}
:where(.fxmulti-button:hover), :where(.fxmulti-button:focus), :where(.fxmulti-open) .fxmulti-button {border-color: var(--fx-multi-accent, var(--brand, #5b7db1)); outline: none}
:where(.fxmulti-has) .fxmulti-button {font-weight: 600}
:where(.fxmulti-list) {
	display: none;
	position: absolute;
	z-index: 1000;
	top: 100%;
	left: 0;
	margin-top: 2px;
	min-width: 100%;
	max-width: 360px;
	max-height: 320px;
	overflow-y: auto;
	box-sizing: border-box;
	padding: 6px 0;
	background: var(--fx-multi-bg, #fff);
	border: 1px solid var(--fx-multi-border, #c4c9cf);
	border-radius: 3px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}
:where(.fxmulti-open) .fxmulti-list {display: block}
:where(.fxmulti-search) {display: block; box-sizing: border-box; width: calc(100% - 16px); margin: 0 8px 6px 8px; padding: 4px 6px}
:where(.fxmulti-tools) {display: flex; gap: 12px; padding: 2px 10px 6px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--fx-multi-border, #c4c9cf)}
:where(.fxmulti-all), :where(.fxmulti-none) {color: var(--fx-multi-accent, var(--brand, #5b7db1)); cursor: pointer; font-size: 12px}
:where(.fxmulti-all:hover), :where(.fxmulti-none:hover) {text-decoration: underline}
:where(.fxmulti-item) {display: flex; align-items: center; gap: 6px; padding: 3px 10px; white-space: nowrap; cursor: pointer}
:where(.fxmulti-item:hover) {background: var(--fx-multi-hover, #f2f6fb)}
:where(.fxmulti-item.fxmulti-hidden) {display: none}

/* Charts (fx:chart2, drawn by the engine: fxChart.cs). One without data-width fills its container up to
   --fx-chart-maxwidth, so it doesn't stretch across a wide page; its height is data-chartheight. The shapes' colours
   are the chart's (data-colors, fx_chartcolors); the rest is here for an application to restyle. The text sizes have
   weight (.fxchart text), so a site's * rule doesn't size them; the PDF writer reads them too. */
:where(.fxchart-fill) {width: 100%; max-width: var(--fx-chart-maxwidth, 900px)}
:where(.fxchart) {position: relative; color: #464646; break-inside: avoid}
:where(.fxchart-title) {text-align: center; font-weight: bold; line-height: 24px; padding: 0 8px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
:where(.fxchart-legend) {display: flex; flex-wrap: wrap; justify-content: center; column-gap: 14px; row-gap: 4px; padding: 4px 8px; line-height: 18px; color: #333}
:where(.fxchart-key) {display: inline-flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
:where([data-drill] .fxchart [data-r]) {cursor: pointer}
:where(.fxchart-key i) {display: inline-block; flex: none; width: 14px; height: 10px; border-radius: 3px; margin-right: 5px}
:where(.fxchart-body) {display: flex; flex-wrap: wrap; justify-content: center; align-items: center}
:where(.fxchart-body > .fxchart-area) {flex: 1 1 240px; min-width: 0}
:where(.fxchart-legend-right) {flex: none; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; max-width: 175px}
:where(.fxchart-legend-right .fxchart-key) {max-width: 175px}
.fxchart-title {font-size: 16px}
.fxchart-legend, .fxchart-key {font-size: 12px}
.fxchart text {font-size: 12px; font-weight: normal}
:where(.fxchart [data-r]) {cursor: pointer}
:where(.fxchart [data-r]:hover) {opacity: .8}
:where(.fxchart-key[data-k]) {cursor: default}
:where(.fxchart-plot [data-c], .fxchart-key) {transition: opacity .15s}
:where(.fxchart-focus .fxchart-plot [data-c]:not(.fxchart-on)) {opacity: .15}
:where(.fxchart-focus .fxchart-key:not(.fxchart-on)) {opacity: .45}
:where(.fxchart-tip) {display: none; position: fixed; z-index: 10000; pointer-events: none; background: #fff; border: 1px solid #ddd; border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15); padding: 6px 9px; font-size: 12px; line-height: 17px; color: #333; white-space: nowrap}
:where(.fxchart-tiphead) {color: #6e7079}

/* The Close control a locked or centred tip gets (ui.js tip()): a quiet button. Inside
   :where(), so an application's own .closebutton rule wins. */
:where(.closebutton) {
	display: inline-block;
	padding: 3px 10px;
	font: 600 12px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--fx-close-color, #4b5563);
	background: var(--fx-close-bg, #fff);
	border: 1px solid var(--fx-close-border, #d1d5db);
	border-radius: 4px;
	user-select: none;
}
:where(.closebutton:hover) {background: var(--fx-close-hover, #f3f4f6); color: var(--fx-close-hover-color, #111827); border-color: var(--fx-close-hover-border, #9ca3af)}

/* The Close button sits over the tip's top right corner, so the body keeps that corner clear:
   an empty float of the button's size (measured by ui.js tip()), which the first lines wrap
   round and anything full width starts below. The tip's height is not changed. */
.fxtipclose > .fxtipbody::before {
	content: "";
	float: right;
	width: calc(var(--fx-tipclose-width, 60px) + 8px);
	height: calc(var(--fx-tipclose-height, 24px) + 4px);
}
