/* The icons of the Orbit interface (faust-orbit-ui): Material Symbols Outlined, by Google, Apache License 2.0
   (css/fonts/LICENSE.md). A subset of the font holding the icons faust-orbit-ui shows, served with the
   application (scripts/build-icon-font.mjs). The class .material-symbols-outlined is declared by faust-orbit-ui
   in its shadow root; the @font-face of the page applies there too. */
@font-face {
	font-family: 'Material Symbols Outlined';
	font-style: normal;
	font-weight: 400 500;
	font-display: block;
	src: url("./material-symbols-outlined-Cqx7jcD4.woff2") format("woff2");
}
/* reset.css */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #00e; color: #fff; text-shadow: none; }
::selection { background: #00e; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
/* main.css */

/*	---------------------------------------------------------------------------
 *	:: Type
 *
 *  - Fonts
 *	- Base
 *	- Links
 *	-------------------------------------------------------------------------*/
 
/* Fonts */
@font-face {
/*     font-family: 'ProximaNovaRgRegular'; */
    src: url('./proxima_nova_reg-webfont-DgY6QSi_.eot');
    src: url('./proxima_nova_reg-webfont-DgY6QSi_.eot?#iefix') format('embedded-opentype'),
         url('./proxima_nova_reg-webfont-CWe_WxKC.woff') format('woff'),
         url('./proxima_nova_reg-webfont-Cbzqw_0Q.ttf') format('truetype'),
         url('./proxima_nova_reg-webfont-CvRN3Rx8.svg#ProximaNovaRgRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
html {
    height:100%
}

body * {
 /*pointer-events: none;*/
}

#Normal{
    height:100%;
    /*background: url('../img/body-bkg.gif');*/

}

div.link {
	position:absolute;
	font-style: italic;
	font-size:13px;
	color: black;
	bottom: 0px;
/* 	right: 10px; */
}

div.link a {
	color: white;
	font: inherit;
	text-decoration: none;
}

path {
	/*z-index:5;*/
    cursor:pointer;
    opacity:0.65;
}
path:hover {
	/*z-index:5;*/
    opacity:1;
}


/* Base */
html,
button,
input,
select,
textarea {
/* 	font-family: 'ProximaNovaRgRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif; */
	color: #4c4c4c;
}
body {
	font-size: 1em;
	line-height: 1.4;
    height:100%;
}

/* Links */
a,
a:visited {
	color: #ffffff!important;
	font-size: .6875em; /* 11 / 16 */
	text-decoration: none;
}
a:hover {
	color: #000;
	text-decoration: none;
}

/*	---------------------------------------------------------------------------
 *	:: Raw elements
 *	-------------------------------------------------------------------------*/
body {
    background-image: url(../img/pseudoRandomFilter2.png),url(../img/body-bkg.png),url(../img/blueFilter.png);
    background-size: 600px,20px,1px;

	/*background: url('../img/test2.png');*/
	-moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
	font-family: 'ProximaNovaRgRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif;	
   /*
     Introduced in IE 10.
     See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
   */
   -ms-user-select: none;
   user-select: none;
}

#footer{
	position: fixed;
	bottom:0%;
	width:100%;
	height:60px;
	/*z-index: 5;*/
}

.grayButton {
/* 	position:relative; */
/* 	top: 20%; */
/* 
	margin-left:auto;
	margin-right:auto;
 */
	text-align: center;
/* 	width: 300px; */
/* 	background-color: orange; */
	border-radius: 5px;
	color: #4c4c4c;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
	text-transform: uppercase;
	font-size:20px;
}

#footer .logoGrame {
position:relative;
padding-left: 8px;
}

/*	---------------------------------------------------------------------------
 *	:: Main
 *
 *	- Header
 *	- Nav
 *  - Controls
 *  - Dropdown
 *  - Dropdown arrow
 *  - Modules
 *	-------------------------------------------------------------------------*/
#main {
	padding-right: 106px;
	position: relative;
	/*z-index: 1;*/
}

/* Header */
#header {
	margin: 0;
	padding: 2em 0 0 2em;	
/* 	left:250px%; */
/* 	right:250px%; */
	/*z-index:0;*/
	color:white;
	text-align:center;
	font-size:13.5px;
	position:absolute;
	top:1%;
	width:95%;
}

#upload{
	color:white;
	text-align:center;
/* 	font-family: 'Droid Serif', Georgia, serif;  */
	font-size:20px;
	background-color:transparent;
	/*z-index:0;*/
	position:relative;
	margin-left:auto;
	margin-right:auto;
}

.number{
	background:transparent;
	color: white;
/* 	font-family: 'Droid Serif', Georgia, serif;  */
	border: solid white 1px;
	border-radius: 50%;
	width:20px;
	left:0px;
	text-align:center;
	padding:0.2em 0.5em 0.2em 0.5em;
	margin:0.1em 1em 0.1em 0.1em;
}

/*loading div*/
div#loadingPage {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 255, 0.61);
    z-index:100;
    top: 0;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 75px;
}
div#loadingTextBig {
    color: white;
    font-size: 2em;
    margin: 30vh auto;
    text-align:center;
}
/*messages style*/

div#dialogue {
    z-index: 10;
    position: absolute;
    width: 100%;
}

.messageContainer {
    padding: 1em 0;
    position: relative;
    width: 100%;
    color: white;
    background: rgba(0, 0, 255, 0.61);
    text-align: center;
}

.messageShow {
    opacity:1!important;
}
.messageHide {
    opacity:0!important;
}

.messageTransitionOut {
    -webkit-transition: all 6000ms ease;
    transition: all 6000ms ease;
}

.messageTransitionIn {
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.messageTransitionOutFast {
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}
.validConfirmContainer {
    position: relative;
    bottom: 0px;
    width: 100%;
    margin-bottom: -1em;
    margin-top:1em;
}/* faustModules.css */

/*	---------------------------------------------------------------------------
 *	:: Type
 *
 *  - Fonts
 *	- Base
 *	- Links
 *	-------------------------------------------------------------------------*/

/* Modules */
#modules {
	padding-left: 2em;
}
/* Module Input*/

#moduleInput>.content {
    min-width: 3em;
    background:url("../img/ico-micro.png");
    background-repeat:no-repeat!important;
    background-position:center!important;
    height:50px;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    


}
#moduleInput {
    height:88px;
}
/* Module Output*/
#moduleOutput>.content {
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    min-width: 3em;
    background:url("../img/ico-speaker.png");
    background-repeat:no-repeat!important;
    background-position:center!important;
    height:50px;


}
#moduleOutput {
    height:88px;
}
    

/* Modules */
.moduleFaust {
	background-color: rgba(255, 255, 255, 0.8);
	color:#FF0016;
	/*border-radius: 5px;*/
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
	display: inline-block;
	position: absolute;
	margin-left:auto;
	margin-right:auto;
	/*z-index:5;*/
    cursor:move;
}

.moduleFaust .content {
	display: inline-block;
	border-radius: 5px;
	min-width: 10em;
	overflow: hidden;
	padding: 1em 1.25em 1.25em 1.25em;
	position: relative;
}
.mini {
    visibility: hidden;
    height: 0px;
    min-width: 0px!important;
    padding: 0em! important;
    width: 0em;
}
.moduleFaust .content img {
	display: block;
	margin: 0 auto;
}

.moduleFaust h6 {
	font-size: .75em;
	margin: 1em 1em 1em;
	text-align: center;
	text-transform: uppercase;
}

.miniTitle {
    margin: 1em 5em 1em !important;
}

/* Module nodes */
.moduleFaust .node {
	position: absolute;
	margin-top: -16px;
	top: 50%;
}
.moduleFaust .node-input {
	left: -18px;
}
.moduleFaust .node-output {
	right: -18px;
}

/* Module close */
.moduleFaust .close {
    background: url('../img/cross_close.png') 0 0 no-repeat;
    background-size: 100%;
    height: 15px;
    text-indent: -999em;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 15px;
    opacity: 0.8;
    cursor: pointer;
}

.moduleFaust .minus {
    background: url('../img/minus.png') 0 0 no-repeat;
    background-size: 100%;
    height: 15px;
    text-indent: -999em;
    position: absolute;
    right: 26px;
    top: 8px;
    width: 15px;
    opacity: 0.8;
    cursor: pointer;
}
.moduleFaust .max {
    background: url('../img/big.png') 0 0 no-repeat;
    background-size: 100%;
    height: 15px;
    text-indent: -999em;
    position: absolute;
    right: 50px;
    top: 8px;
    display:none;
    width: 15px;
    opacity: 0.8;
    cursor: pointer;
}
.moduleFaust .close:hover {
	opacity: 1
}

.moduleFaust.analyzer {
}

/* Module footer */
.moduleFaust footer {
	/*background-color: #fff;*/
	/*background-image: -webkit-linear-gradient(top, rgb(255, 255, 255), rgb(219, 219, 219));
	background-image: linear-gradient(top, rgb(255, 255, 255), rgb(219, 219, 219));*/
	border-radius: 0 0 5px 5px;
	overflow: hidden;
	padding: 0em .4em .1em;	
}
.moduleFaust footer select {
	background: url('../img/ico-arrow.png') 100% 50% no-repeat;
	border: none;
	box-sizing: border-box;
	cursor: default;
/* 	font-family: 'Droid Serif', Georgia, serif; */
	font-size: .625em;
	font-style: italic;
	outline: none;
	white-space: pre;
	width: 100%;
	-webkit-appearance: none;
	-webkit-box-align: center;
}
.moduleFaust.has-loop footer select {
	width: 70%;
}
.moduleFaust footer .loop {
	border-left: 1px solid #dbdbdb;
	display: inline;
	float: right;
	font-size: .625em;
	padding: .4em 0 .4em .6em;
	text-transform: uppercase;
	width: 23%;
}
footer>img {
    cursor: pointer;
}
.edit {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-bottom: 2px;
    background: url(../img/edit.png) no-repeat 100%;
}

/*	---------------------------------------------------------------------------
 *	:: Global classes and styles
 *
 *	- Clearfix
 *	- Nodes
 *	- Modules
 *	- Module nodes
 *	- Module close
 *	- Module footer
 *	- Control group
 *	- Slider
 *	-------------------------------------------------------------------------*/

/* Nav */
#nav {
	margin: 0 0 1.3em;
	padding: 1.3em 0 0 2em;
}

/* Controls */
#controls {
	list-style: none;
	margin: 0;
	padding: 0;
}
#controls li {
	float: left;
	margin-right: .8em;
	position: relative;
}
#controls a {
	background: url('../img/ico-plus.png') .9em 50% no-repeat #fff;
	border-radius: 5px;
	color: #4c4c4c;
	display: block;
	font-size: .625em; /* 11 / 16 */
	padding: .5em 1em .4em 2.6em;
	text-transform: uppercase;
	-webkit-transition: background-color 0.1s linear;
	transition: background-color 0.1s linear;
}

/* Dropdown */
#controls .sub-menu {
	display: none;
	left: 0;
	padding-top: 8px;
	position: absolute;
	/*z-index: 1000;*/
}
#controls ul {
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 5px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	list-style: none;
	margin: 0;
	padding: .2em 0;
	position: relative;
}
#controls ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#controls ul a {
	background: none;
	background-image: none;
	border-radius: 0;
	padding: .5em 1em .4em;
	white-space: nowrap;
}
#controls ul a:hover {
	background-color: #dbdbdb;
}
#controls li:hover .sub-menu {
	display: block;
}

/* Dropdown arrow */
#controls ul:after,
#controls ul:before {
	bottom: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
#controls ul:after {
	border-bottom-color: #ffffff;
	border-width: 8px;
	left: 20%;
	margin-left: -8px;
}
#controls ul:before {
	border-bottom-color: #aaa;
	border-width: 9px;
	left: 20%;
	margin-left: -9px;
}

/* Clearfix */
.container:before, .container:after { content: ""; display: table; }
.container:after { clear: both; }
.container { *zoom: 1; }

/* Nodes */
.node {
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 0 3px rgba(0,0,0, .5);
	cursor: pointer;
	height: 34px;
	position: relative;
	width: 34px;
}
.node span {
	border-radius: 50%;
	display: block;
	height: 24px;
	left: 5px;
	position: absolute;
	top: 5px;
	width: 24px;
}
.node-input span {
	background: #24d711;
}

.node-output span {
	background: #ff3030;
}*/
.node:hover {
	box-shadow: 0 0 3px rgba(0,0,0, 1);
}

/* Modules */
.module {
	background-color:white;
	border-radius: 5px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	display: inline-block;
	position: absolute;
}
.module .content {
	background: #fff;
	border-radius: 5px;
	min-width: 10em;
	overflow: hidden;
	padding: 1em 1.25em 1.25em 1.25em;
	position: relative;
}
.module .content img {
	display: block;
	margin: 0 auto;
}
.module.has-footer .content {
	border-bottom: 1px solid #dbdbdb;
	border-radius: 5px 5px 0 0;
}
.module h6 {
	font-size: .75em;
	margin: 0 0 1em;
	text-align: center;
	text-transform: uppercase;
}

/* Module nodes */
.module .node {
	position: absolute;
	margin-top: -16px;
	top: 50%;
}
.module .node-input {
	left: -18px;
}
.module .node-output {
	right: -18px;
}

/* Module close */
.module .close {
	background: url('../img/ico-close.gif') 0 0 no-repeat;
	height: 8px;
	text-indent: -999em;
	position: absolute;
	right: 8px;
	top: 8px;
	width: 9px;
}
.module .close:hover {
	opacity: .8
}

.module.analyzer {
}

/* Module footer */
.module footer {
	background-color: #fff;
	background-image: -webkit-linear-gradient(top, rgb(255, 255, 255), rgb(219, 219, 219));
	background-image: linear-gradient(top, rgb(255, 255, 255), rgb(219, 219, 219));
	border-radius: 0 0 5px 5px;
	overflow: hidden;
	padding: 0em .4em .1em;	
}
.module footer select {
	background: url('../img/ico-arrow.png') 100% 50% no-repeat;
	border: none;
	box-sizing: border-box;
	cursor: default;
/* 	font-family: 'Droid Serif', Georgia, serif; */
	font-size: .625em;
	font-style: italic;
	outline: none;
	white-space: pre;
	width: 100%;
	-webkit-appearance: none;
	-webkit-box-align: center;
}
.module.has-loop footer select {
	width: 70%;
}
.module footer .loop {
	border-left: 1px solid #dbdbdb;
	display: inline;
	float: right;
	font-size: .625em;
	padding: .4em 0 .4em .6em;
	text-transform: uppercase;
	width: 23%;
}

/* Control group */
.control-group {
	margin: 0 0 0.2em;
    width:100%;
    display:table;
}
.control-group.last {
	margin: 0;
}

.control-group:last-of-type {
	margin: 0;
}

.control-group.disabled .slider-info {
	color: #e0e0e0;
}
/* Slider */
.slider-info {
	font-size: .625em; /* 10 / 16 */
	margin-bottom: 1em;
	overflow: hidden;
	padding-bottom: .4em;
	position: relative;
}
.slider-info .label {
	display: inline;
	float: left;
	text-transform: uppercase;
	width: 49%;
}
.slider-info .value {
	display: inline;
	float: right;
	font-weight: bold;
	text-align: right;
	text-transform: uppercase;
	width: 49%;
}
.module .slider-info:last-child {
	margin-bottom: 0;
}

.ui-slider {
	background: url('../img/slider-bkg.gif') 0 0 repeat-x;
	border: 0 none;
	color: #fff;
	height: 11px;
	position: relative;
	text-align: left;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
	border: 1px solid #cccccc;
	background: #f6f6f6;
	font-weight: bold;
	color: #1c94c4;
}
.ui-slider .ui-slider-handle {
	background: url('../img/slider-handle.png') 0 1px no-repeat;
	border: 0 none;
	cursor: default;
	height: 18px;
	margin-left: -.6em;
	position: absolute;
	top: -.3em;
	width: 16px;
	/*z-index: 2;*/
}
.ui-slider .ui-slider-range {
	background-position: 0 0;
	border: 0;
	display: block;
	font-size: .7em;
	height: 100%;
	position: absolute;
	top: 0;
	/*z-index: 1;*/
}
.ui-slider .ui-slider-range-min {
	left: 0;
}
.ui-slider .ui-slider-range-max {
	right: 0;
}

input.not-allowed {
    cursor:not-allowed;
    opacity:0.5;
}
input.allowed {
    cursor:pointer;
    opacity:1;
}
input.edit {
    cursor:pointer!important;
}

input[type="range"] {
	-webkit-appearance: none;
	background-color: #303030;
	height: 2px;
	display: block;
	margin-top: 5px;
	margin-bottom: 15px;
	width: 100%;
}
input[type=range]::-moz-range-track {
    background-color: #303030;
	height: 1px;
    border-style:none;
	display: block;
	margin-top: 5px;
	margin-bottom: 15px;
	width: 100%;
}
input[type="range"]::-webkit-slider-thumb {
    background-color: #fff;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.61);
	-webkit-appearance: none;
	position: relative;
	top: 0px;
	height: 20px;
    width: 20px;
	border-radius: 40px;
}

.x > input[type="range"]::-webkit-slider-thumb {
    background-color: #ff002f;
}
.y > input[type="range"]::-webkit-slider-thumb {
    background-color: #24d711;
}
.z > input[type="range"]::-webkit-slider-thumb {
    background-color: #0044ff;
}
.disabledAcc > input[type="range"]::-webkit-slider-thumb {
    background-color: white;
}
input[type=range]::-moz-range-thumb {
    background-color: #fff;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.61);
	position: relative;
	top: 0px;
	height: 20px;
    width: 20px;
	border-radius: 40px;
    border-style:hidden;
}
.x > input[type="range"]::-moz-range-thumb {
    background-color: #ff002f;
}
.y > input[type="range"]::-moz-range-thumb {
    background-color: #24d711;
}
.z > input[type="range"]::-moz-range-thumb {
    background-color: #0044ff;
}
.disabledAcc > input[type="range"]::-moz-range-thumb {
    background-color: white;
}

input.accCheckbox {
    display:block;
    width: 1em;
    height: 1em;
    float: left;
    margin-right: 0.3em;
}

span.titleAcc {
    font-size: 0.7em;
    line-height: 1.5em;
    display: block;
    float: left;
    margin-right: 0.3em;
}



/*	---------------------------------------------------------------------------
 *	:: Ports and cables (one port per channel, see src/view/PatchView.ts)
 *	-------------------------------------------------------------------------*/
.moduleFaust {
	display: inline-flex;		/* column, so that the footer stays at the bottom ... */
	flex-direction: column;
	touch-action: none;			/* pointer events drive module and cable dragging */
	-webkit-user-select: none;
	user-select: none;
}
.moduleFaust footer {
	margin-top: auto;			/* ... when the ports make the module taller than its content */
}
.moduleFaust textarea {
	-webkit-user-select: text;
	user-select: text;
}
.port {
	position: absolute;
	box-sizing: border-box;
	padding: 3px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 3px rgba(0, 0, 0, .5);
	cursor: crosshair;
	touch-action: none;
	z-index: 1;
}
.port span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	color: #fff;
	font: bold 10px/1 sans-serif;
	pointer-events: none;
}
.port-input span {
	background: #24d711;
}
.port-output span {
	background: #ff3030;
}
.port:hover,
.port.port-target {
	box-shadow: 0 0 0 3px rgb(0, 211, 255);
}
.moduleFaust.bus-target {
	box-shadow: 0 0 0 4px rgb(0, 211, 255), 0 5px 10px rgba(0, 0, 0, 0.4);
}
.cable {
	fill: none;
	stroke: #2c3e50;
	stroke-width: 5;
	cursor: pointer;
}
.cable:hover {
	stroke: #ff3030;
}
.cable.feedback {
	stroke-dasharray: 12 6;		/* closes a cycle: delayed by one render quantum */
}
.cable.dragging {
	stroke: rgb(0, 150, 220);
	pointer-events: none;
}

/*	---------------------------------------------------------------------------
 *	:: Widget modulation (see src/view/PatchView.ts)
 *	-------------------------------------------------------------------------*/
.widget.widget-target {
	outline: 3px solid rgb(255, 150, 0);
	outline-offset: 2px;
}
.widget.modulated-drive input {
	opacity: .35;
	pointer-events: none;		/* the signal drives the parameter: the control has no effect */
}
.widget.modulation-depth {
	display: none !important;	/* the depth is shown and set on the modulation port (a knob, flex, too) */
}
.modulation-port {
	padding: 0;
	cursor: ns-resize;
	background: #fff;
	color: rgb(200, 100, 0);
}
.modulation-port.modulation-scale,
.modulation-port.modulation-drive {
	cursor: crosshair;
}
.modulation-port svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}
.modulation-port .depth-track {
	fill: none;
	stroke: rgba(255, 150, 0, .25);
	stroke-width: 3;
}
.modulation-port .depth-arc {
	fill: none;
	stroke: rgb(255, 150, 0);
	stroke-width: 3;
	stroke-linecap: round;
}
.modulation-port.negative .depth-arc {
	stroke: rgb(0, 150, 220);
}
.modulation-port .mode-icon {
	fill: none;
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.modulation-port.adjusting {
	box-shadow: 0 0 0 3px rgba(255, 150, 0, .5);
}
.cable.modulation {
	stroke: rgb(255, 150, 0);
	stroke-width: 3;
}
.cable.modulation:hover {
	stroke: #ff3030;
}
.moduleFaust.compiling {
	box-shadow: 0 0 0 3px rgba(255, 150, 0, .6), 0 5px 10px rgba(0, 0, 0, 0.4);
}

/* The pencil, in the title bar: edits the code in faustcode (FaustcodeLink) */
.moduleFaust > .edit {
	position: absolute;
	top: 9px;
	left: 12px;
	margin: 0;
	border-radius: 3px;
}
/* ↑: a newer version of the module exists */
.moduleFaust > .update {
	position: absolute;
	top: 6px;
	left: 56px;
	width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	border-radius: 50%;
	color: #141922;
	background: var(--fp-mod, #ffb35c);
	cursor: pointer;
}

#library {
	background:orange;
	height: 100%;
	position: fixed;
	left: 0%;
	top: 0%;
	bottom: 15%;
	/*z-index: 1;*/
	font-size : 14px;
	color:white;
	text-align:center;
	padding:0.5em 0.5em 0.5em 0.5em;
	overflow-y: auto;
	overflow-x: hidden;
}

#library .space{
	height: 70px;
}

#library.link a {
	color: white;
	font: inherit;
	text-decoration: underline;
}

#library li.sections{
 color: black;
 display : list-item;
 text-align:left;
 font-size:18px;
} 

#library .title{

	text-align:left;
	color:black;
	-webkit-transform:rotate(270deg);
	-moz-transform:rotate(270deg);
	-o-transform: rotate(270deg);
	display:block;
	position: relative;
	top:40%;
	right:250%;
	width:300px;
	font-size:20px;
	/*z-index:2;*/
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}
.inputconnector {
		position: absolute;
		left:-12px; top:75px;
		width:10px; height:10px;
		border:5px solid red;
		border-radius: 10px;
		background: gray;
}

.inputconnector.connected, .outputconnector.connected { background: lightgreen }
.inputconnector.canConnect, .outputconnector.canConnect { background: pink }

.outputconnector {
		position: absolute;
		right:-12px; top:75px;
		width:10px; height:10px;
		border:5px solid green;
		border-radius: 10px;
		background: gray;
}

.dialcontrol {
	position: absolute;
}

/* #code { font: 10pt Courier New, fixed; } */

/*	---------------------------------------------------------------------------
 *	:: Input
 *	-------------------------------------------------------------------------*/
#input {
	
	bottom: 0;
	display: block;
	position: fixed;
	padding:10px;
	left: 0;
	width: 8%;
	/*z-index: 1;*/
}

#input .node {
	right: -18px;
	margin-top: -11px;
	position: absolute;
	top: 50%;
}

.text{
	
	position:relative;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	font-size:19px;
	background-color:transparent;
	top: 60%;
    left:10%;
}


/*	---------------------------------------------------------------------------
 *	:: Output
 *	-------------------------------------------------------------------------*/
#sceneOutput {
	/*! background:
		url('../img/output-bkg.gif') 0 0 repeat; */
	/*! box-shadow: 0 0 3px rgba(0,0,0, .4); */
	display: block;
	position: fixed;
	padding-right:20px;
	padding-left:20px;
	right: 0;
	top: 0;
	width: 150px;
	/*z-index: 4;*/
    border-radius: 0px 0px 0px 0px;
    padding:10px;
	background: rgba(6, 39, 156, 0.21);
}


#sceneOutput .node {
	left: -18px;
	margin-top: -11px;
	position: absolute;
	top: 50%;
}

#sceneOutput .export-title {
	color: black;	
	font-size: 20px;
	text-align:center;
	font-size: 14px;
	margin: 0 0 1em;
	text-align: center;
	text-transform: uppercase;
}

#sceneOutput .architectures, #sceneOutput .platforms{
	width: 100%; 
    margin-top: 7px;
    /*! border-radius: 32px; */
}
#svgRefreshButton{
    width: 100%;
}

#sceneOutput .qrcodeDiv{
	position: fixed; 
	bottom: 2px;
}

#sceneOutput .exportButton{
	position: fixed;
	right: 60px;
}

.textArea {
    margin-top: -2em;
    margin-left: 1em;
    margin-right: 1em;
}


.sceneTitle:focus { 
	outline: 0px solid transparent; 
}

.sceneSubtitle{
	color:white;
	position:relative;
	margin-left:auto;
	margin-right:auto;
	margin-top:auto;
	margin-bottom:auto;
	text-align:center;
	font-size:18px;
	background-color:transparent;
	/*z-index:1;*/
}

/* 
.grayButton {
	position:fixed;
	color: white;
	bottom: 2px;
	right: 200px;
	text-align: center;
	background-color: #FCD21C;
	border-radius: 5px;
	color: #4c4c4c;
	font-size: 1em;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
	text-transform: uppercase;
	font-size:20px;
}
 */

.orangeButton {

	position:relative;
	text-align: center;
	background-color: orange;
	border-radius: 5px;
	color: #4c4c4c;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 15px;
	text-transform: uppercase;
	font-size:20px;
	width: 100px;
	margin-left:auto; 
	margin-right:auto;
	top:200px;
	box-shadow: 2px 2px 2px 2px black;
}
div#sceneSensor {
    width: 100%;
    height: 100%;
}#svgCanvas{
	position:absolute; 
	width:100%; 
	height:100%; 
	top:0; 
	left:0; 
	/*z-index:-1;*/
}


#optionExportContainer{
    position:relative;
    width:100%
}




#ChrisLine{
	position:fixed;
	left:100px; 
    color: rgba(24, 24, 162, 0.65);
	/*z-index:2;*/
}

.text{
	position:absolute; 
	top:60%;
}

#logoDiv{
	bottom:4px; 
	position:absolute; 
	margin-left:auto; 
	margin-right : auto; 
}

.dropElementGraph {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
}
.dropElementText {
    position: absolute;
    bottom: 0px;
    font-size: 500%;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.28);
    color: rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}



/*Menu.css*/



/*layout menu general*/


div#menuContainer {
    width: 100%;
    position: absolute;
    top: 0;
}

.no_pointer{
    pointer-events:none;
}

div#closeButtonContainer {
    height: 25px;
}
.menuContent {
    width:100%;
}
div#closeButton {
    background: url(../img/cross_close_menu.png);
    width: 15px;
    height: 15px;
    margin: 5px;
    background-repeat: no-repeat;
    background-position: 50%;
    float: right;
    cursor: pointer;
    background-size: 100%;
    opacity: 0.8;
}
div#closeButton:hover{
    opacity:1;

}
.sceneTitle{
    color: white;
    position: relative;
    float: right;
    margin-right: 8px;
    font-size: 25px;
}
div#buttonsMenu {
    background-color: rgba(255, 0, 0, 0.39);
    float: left;
    position: relative;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 55, 255, 0.65);
}

div#contentsMenu {
    float: left;
    position: relative;
    width:100%;
    color: white;
    background-color: rgba(220,54,64,0.9);
    box-shadow: 0 0 5px black;
    padding-bottom: 10px;

}
.buttonsMenu {
    position:relative;
    border-style: solid;
    border-width: 0px 1px 0 0;
    border-color: rgba(0, 168, 255,0.4);
    /* box-shadow: 0 0 1px black; */
    cursor: pointer;
    float: left;
    line-height: 40px;
    text-align: center;
    height: 40px;
    background-color: rgba(227, 64, 80, 0.73);
    /* margin-bottom: 10px; */
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    width: 99px;
}
.buttonsMenu:hover {
    color:white;
    background-color: rgba(209, 64, 80, 0.9)!important;
}

/*layout menu library*/

.submenuLibraryContent {
    float: left;
    height: 300px;
    width: 20%;
}
.librarySelects {
    overflow-y: auto;
    height: 250px;
    overflow-x: hidden;
}




.libraryTitles {

    width: 100%;
    display: inline-block;
    text-align: center;

}
ul.librarySelects {
    padding: 0.5em 1em;
    margin: 5%;
    position: relative;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.29);
    list-style: none;
    height:calc(100% - 4em);

}
.librarySelects.ps-container > .ps-scrollbar-x-rail,
.librarySelects.ps-container > .ps-scrollbar-y-rail
{
    opacity:0.6;

}
.librarySelects.ps-container > .ps-scrollbar-x-rail,
.librarySelects.ps-container > .ps-scrollbar-y-rail:hover
{
    opacity:0.6;

}
li {
    font-size: 1.2em;
    line-height: 1.5em;
    padding: 0em 0.2em;
}
li>a {
    display: block;
    padding-left: 1em;
    pointer-events:all!important;
}

li>a:hover {
    color: #fff;
    text-decoration: none;
    background-color: rgba(59, 165, 255, 0.74);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.49);
    border-radius: 2px;
}
/*perfect scroll bar theme*/

.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
    border-radius:0px!important;
    background-color: #73FFEA;

}
.ps-container > .ps-scrollbar-y-rail  {
    border-radius:0px!important;

}
/*layout menu export*/

div#exportContent {
    height: 100%;
}
.exportSubmenu {
    width: 29%;
    padding: 0px 2%;
    float: left;
    height: 100%;
    margin-bottom: 2.5em;
}
.exportTitle {
    text-align: center;
    width: 100%;
    display: block;
}
.selects {
    display: block;
    margin: 0 auto;
    margin-bottom: 1em;
    padding: 0.3em;
    width: 100%;
    max-width: 200px;
    border: none;
    /* color: white; */
    background-color: rgba(255, 255, 255, 0.49);
    cursor:pointer;
}
.bottomButtonContainer {
    bottom: 0;
    position: absolute;
    width: calc(100%/3.45);
    margin-bottom: 1em;
}

div#nameAppContainer {
    border-right-color: rgba(0, 0, 0, 0.35);
    border-right-style: solid;
    border-right-width: 2px;
}
input#inputNameApp {
}
.inputExport{
    display: block;
    margin: 1em auto;
    color: white;
    border-style: none;
    padding: 0.3em;
    width: 95%;
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.3);
}

.button {
    border: none;
    background-color: #E34050;
    margin: 0 auto;
    width: 98%;
    max-width: 200px;
    display: block;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.52);
    opacity: 0.8;
    color: white;
    min-height:40px;

}

.changeAccountButton {
    margin-bottom: 1em;
}

.button:hover {
    box-shadow:0 0 5px black;
    opacity: 1;
    }
span#rulesName {
    font-size: 0.8em;
    display: block;
    opacity: 0.6;
    margin: 2em 0;
    text-align:justify;
}

div#nameAppContainer {
    border-right-color: rgba(0, 0, 0, 0.2);
    border-right-style: solid;
    border-right-width: 2px;
}
div#exportOptionContainer{
    border-right-color: rgba(0, 0, 0, 0.2);
    border-right-style: solid;
    border-right-width: 2px;
}

#faustweburl {
    /*color: rgba(255, 255, 255, 0.6);
    padding-bottom: 4em;
    display: block;
    margin: 0 auto;
    border: 0px;
    text-align: center;
    font-size: 12px;
    background-color: transparent;
    outline: 0px solid transparent;
    text-align: center;
    position: relative;*/
}
#refreshButton {
    margin-bottom: 2em
}
#refreshButton:hover{
    opacity:1;
}

#selectDiv{
	position:relative;
    width: 100%;
    float:left;
}

label#labelStereoExport {
    display: block;
    margin-top: 1em;
    text-align: center;
    cursor: pointer;
}

div#moreOptionDiv {
    top: 40%;
    margin: 0px auto;
    width: inherit;
    cursor: pointer;
    text-align: center;
    position: absolute;
}

div#lessOptionDiv {
    cursor: pointer;
    font-size: small;
}

#plateforms{


}

#architectures{


}

#exportButton{

}

/*téléchargement*/

a#linkDownload {
    display: block;
    text-align: center;
    font-size: 1em;
    line-height: 3em;
    margin-top: 2em;
}
a#linkDownload:hover{
    color:white;
}

#loadingImg {
    border: 0;
    width: 75px;
    display: block;
    margin: 3em auto;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

#loadingText{
    display: block;
    width: 26%;
    margin: 0 auto;
}

#qrcodeDiv{
	position: relative;
    margin-top: 2em;
    margin-bottom: 2em;
}

#qrcodeDiv>div {
    box-shadow: 0 0 5px black;
}

/*fullscreen button*/
.buttonsLittleMenu {
    height: 40px;
    cursor: pointer;
    margin: 0 1%;
    width: 40px;
    float: left;
}
div#fullScreenButton {
    background: url("../img/fullscreen.png") no-repeat 50%;
    background-size: 80%;
}
div#accButton {
    background: url("../img/checkBox.png") no-repeat 50%;
    background-size: 80%;
}
 div#cleanButton {
    background: url("../img/trash.png") no-repeat 50%;
    background-size: 80%;
}

/*Save menu*/


div#saveContainer {
    height: 100%;
}

div#downloadContainer {
    border-right-color:rgba(0, 0, 0, 0.2);
    border-right-style: solid;
    border-right-width: 2px;
}
div#localSaveContainer {
    border-right-color: rgba(0, 0, 0, 0.2);
    border-right-style: solid;
    border-right-width: 2px;
}

#labelDownload {
    font-size: 0.8em;
}
#checkBoxPrecompile {
    display: block;
    float: left;
    margin: 0.5em;
}
select.sceneSelect {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    padding: 0.2em;
    margin-bottom: 1em;
}

select::selection {
    background: rgba(255, 255, 255, 0.53)!important;
    color: black!important;
    text-shadow: none;
}

select:focus {
    border:none;
    background: rgba(255, 255, 255, 0.53)!important;

}

#dialogGoodNews {
    -webkit-transition: all 500ms ease;
	transition: all 500ms ease;
}

/*load menu*/

div#loadContainer {
        height: 100px;
}

div#loadFileContainer {
    border-right-color: rgba(0, 0, 0, 0.2);
    border-right-style: solid;
    border-right-width: 2px;
}
div#loadLocalContainer {
    border-right-color: rgba(0, 0, 0, 0.2);
    border-right-style: solid;
    border-right-width: 2px;
}

#loadFileInput {
    width: 100%;
}

.exempleAnchor {
    display: block;
    line-height: 2em;
}

select#existingSceneSelectDrive {
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    padding: 0.2em;
}
div#accBlockLayer {
    position: absolute;
    display: block;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(0, 137, 255, 0.95) 0%, rgba(108, 50, 255, 0.95) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 137, 255, 0.95) 0%,rgba(108, 50, 255, 0.95) 100%);
    background: linear-gradient(to bottom, rgba(0, 137, 255, 0.95) 0%,rgba(108, 50, 255, 0.95) 100%);
}
div#accEditContainer {
    color: white;
}

#accEditContainer>h6 {
    font-size: large;
    text-align: center;
    height: 0em;
    padding: 0;
    margin: 0.4em;
}
form#radioCurveContainer {
    width: 75%;
    margin: 0 auto;
    position:relative;

}
form#radioAxisContainer {
    position:relative;
    width: 75%;
    margin: 0 auto;
}
[type="radio"], [type="checkbox"] {
    cursor:pointer;
}
input.radio {
    width: 1.3em;
    display: block;
    float: right;
    margin-top: 0.1em;
    height: 1.3em;
    margin-right: 1em;
}
label.curve {
    box-shadow: 0 0 5px rgb(0, 67, 255);
    border-radius: 5px;
    display: block;
    width: 23%;
    float: left;
    margin: 0 1%;
    padding: 3px 0;
    padding-bottom:1.8em;
    text-align: center;
}
label#curve1 {
    background:url(../img/curve1.png);
    background-position: 50% 95%;
    background-repeat: no-repeat;
}
label#curve2 {
    background:url(../img/curve2.png);
    background-position: 50% 95%;
    background-repeat: no-repeat;
}
label#curve3 {
    background:url(../img/curve3.png);
    background-position: 50% 95%;
    background-repeat: no-repeat;
}
label#curve4 {
    background:url(../img/curve4.png);
    background-position: 50% 95%;
    background-repeat: no-repeat;
}
label.axe {
    box-shadow: 0 0 5px rgb(0, 67, 255);
    border-radius: 5px;
    display: block;
    width: 23%;
    float: left;
    margin: 0 1%;
    opacity: 0.8;
    padding: 3px 0;
    text-align: center;
}
    label.axe:hover {
        opacity:1;
    }
label#axeX {
    background: rgba(255, 65, 33, 0.4);
}
label#axeY {
    background: rgba(0, 255, 0, 0.3);
}
label#axeZ {
    background: rgba(0, 0, 255, 0.1);
}


form#checkOnOffContainer {
    position: relative;
    width: 33%;
    margin: 0px auto;
    display: block;
    min-width: 187px;
}

label#checkOnOffLabel {
    position: relative;
    display: block;
    padding: 4px;
    box-shadow: 0 0 3px blue;
    text-align: center;
    cursor: pointer;
    width: 100%;
    float: left;
    top: -5px;
}

input#checkOnOff {
    margin-left: 0.5em;
    width: 1.3em;
    height: 1.3em;
    display: block;
    float: right;
}

div#cloneContainer {
    position: relative;
    width: 33%;
    margin: 0 auto;
    opacity: 0.5;
    height:0;
}


#cloneContainer > .control-group {
    cursor: not-allowed;
    background: white;
    color: red;
}
#cloneContainer > .control-group > input {
    cursor:not-allowed;
}
div#rangeContainer {
    /* top: 400px; */
    position: relative;
    width: 80%;
    margin: 0 auto;
    height: 3em;
    padding-top: 3em;
    /* padding-right: 1em; */
    /* padding-left: 1em; */
    border-radius: 5px;
    box-shadow: 0 0 7px #0043FF;
    /* margin-top: 50%; */
}

input.accRange {
    position:absolute;
}
label#labelTitle {

    display: block;
    font-size: 0.8em;
    margin: -3em 1em;
    position: absolute;
}
input[type="range"]#accRangeMin::-webkit-slider-thumb {
    content:"";
    background: url("../img/sliderleft_chrome.png");
    box-shadow:none;
    background-repeat: no-repeat;
    background-position: center;
	-webkit-appearance: none;
	position: relative;
	top: -18px;
	height: 36px;
    width: 28px;
    left: -14px;
	border-radius: 0px;
}
input[type="range"]#accRangeMid::-webkit-slider-thumb{
    content:"";
    background: url("../img/slidermiddle_chrome.png");
    box-shadow:none;
    background-repeat: no-repeat;
    background-position: center;
	-webkit-appearance: none;
	position: relative;
	top: -18px;
	height: 36px;
    width: 28px;
	border-radius: 0px;
}
input[type="range"]#accRangeMax::-webkit-slider-thumb {
    content:"";
    background: url("../img/sliderright_chrome.png");
    box-shadow:none;
    background-repeat: no-repeat;
    background-position: center;
	-webkit-appearance: none;
	position: relative;
	top: -18px;
	height: 36px;
    width: 28px;
	border-radius: 0px;
    left: 14px;
}

[type="range"]#accRangeVirtual::-webkit-slider-thumb {
    background:red;
    width: 20px;

    border-radius:20px;
    top: 0px!important;
    height: 20px!important;

}
[type="range"]#accRangeCurrent::-webkit-slider-thumb {
    background:red;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.61);
        width: 35px;

    border-radius:20px;
    top: 0px!important;
    height: 35px!important;
}

.x > input[type="range"]#accRangeCurrent::-webkit-slider-thumb {
    background-color: rgba(255, 0, 47, 0.60);
}
.y > input[type="range"]#accRangeCurrent::-webkit-slider-thumb {
    background-color: rgba(36, 215, 17, 0.60);
}
.z > input[type="range"]#accRangeCurrent::-webkit-slider-thumb {
    background-color: rgba(0, 68, 255, 0.60);
}
.disabledAcc > input[type="range"]#accRangeCurrent::-webkit-slider-thumb {
    background-color: rgba(255, 255, 255, 0.60)!important;
}
.x > input[type="range"]#accRangeVirtual::-webkit-slider-thumb {
    background-color: rgba(255, 0, 47, 0.90);
}
.y > input[type="range"]#accRangeVirtual::-webkit-slider-thumb {
    background-color: rgba(36, 215, 17, 0.90);
}
.z > input[type="range"]#accRangeVirtual::-webkit-slider-thumb {
    background-color: rgba(0, 68, 255, 0.90);
}
.disabledAcc > input[type="range"]#accRangeVirtual::-webkit-slider-thumb {
    background-color: rgba(255, 255, 255, 0.90)!important;
}
#rangeContainer > input[type="range"] {
    -webkit-appearance: none;
    cursor: pointer;
    background-color: rgba(83, 0, 255, 0.5);
    box-shadow: 0 0 2px rgba(1, 185, 255, 0.35);
    height: 10px;
    display: block;
    border-radius: 10px;
    margin-top: 1px;
    margin-bottom: 15px;
    margin: 1em 1em;
    width: 95%;
}

input[type="range"]#accRangeMin::-moz-range-thumb {
    background: url("../img/sliderleft.png");
    box-shadow:none;
    background-repeat: no-repeat;
    background-position: left;
	-webkit-appearance: none;
	position: relative;
	top: -18px;
	height: 72px;
    width: 56px;
    left: -14px;
	border-radius: 0px;
}
input[type="range"]#accRangeMid::-moz-range-thumb{
    background: url("../img/slidermiddle.png");
    box-shadow:none;
    background-repeat: no-repeat;
    background-position: center;
	-webkit-appearance: none;
	position: relative;
	top: -18px;
	height: 72px;
    width: 28px;
	border-radius: 0px;
}
input[type="range"]#accRangeMax::-moz-range-thumb {
    background: url("../img/sliderright.png");
    box-shadow:none;
    background-repeat: no-repeat;
    background-position: right;
	-webkit-appearance: none;
	position: relative;
	top: -18px;
	height: 72px;
    width: 56px;
    left: 14px;
	border-radius: 0px;
}
[type="range"]#accRangeVirtual::-moz-range-thumb {
    background:red;
    border-radius:20px;
    top: 0px!important;
    height: 20px!important;
    width:20px;
}
[type="range"]#accRangeCurrent::-moz-range-thumb {
    background:red;
    border-radius:20px;
    top: 0px!important;
    height: 35px!important;
    width:35px;
}
#rangeContainer > input[type=range]::-moz-range-track {
    -webkit-appearance: none;
    cursor: pointer;
    background-color: rgba(83, 0, 255, 0.5);
    box-shadow: 0 0 2px rgba(1, 185, 255, 0.35);
    height: 10px;
    display: block;
    border-radius: 10px;
    margin-top: 1px;
    margin-bottom: 15px;
    margin: 1em 1em;
    width: 95%;
}
.x > input[type="range"]#accRangeCurrent::-moz-range-thumb {
    background-color: rgba(255, 0, 47, 0.60);
}
.y > input[type="range"]#accRangeCurrent::-moz-range-thumb {
    background-color: rgba(36, 215, 17, 0.60);
}
.z > input[type="range"]#accRangeCurrent::-moz-range-thumb {
    background-color: rgba(0, 68, 255, 0.60);
}
.disabledAcc > input[type="range"]#accRangeCurrent::-moz-range-thumb {
    background-color: rgba(255, 255, 255, 0.60)!important;
}
.x > input[type="range"]#accRangeVirtual::-moz-range-thumb {
    background-color: rgba(255, 0, 47, 0.90);
}
.y > input[type="range"]#accRangeVirtual::-moz-range-thumb {
    background-color: rgba(36, 215, 17, 0.90);
}
.z > input[type="range"]#accRangeVirtual::-moz-range-thumb {
    background-color: rgba(0, 68, 255, 0.90);
}
.disabledAcc > input[type="range"]#accRangeVirtual::-moz-range-thumb {
    background-color: rgba(255, 255, 255, 0.90)!important;
}




div#validContainer {
    position: absolute;
    bottom: 0px;
    width: 100%;
}
button.accButton {
    border-right: 1px solid rgba(0, 0, 255, 0.35) !important;
    border-top: 1px solid rgba(0, 0, 255, 0.35) !important;
    height: 3em;
    width: 50%;
    border: none;
}
button#cancelButton {
    background: url(../img/cancel_white.png)no-repeat 50%;
    background-size: contain;

}
button#validButton {
    background: url(../img/validate_white.png)no-repeat 50%;
    background-size: contain;
}
.editControl {
    box-shadow: rgb(0, 112, 255) 0 0 5px;
    border-radius: 3px;
}
.editControl:hover {
    box-shadow: rgb(0, 112, 255) 0 0 20px!important;
    border-radius: 3px;
    cursor:pointer;
}/* perfect-scrollbar v0.6.10 */
.ps-container{-ms-touch-action:none;touch-action:none;overflow:hidden !important;-ms-overflow-style:none}@supports (-ms-overflow-style: none){.ps-container{overflow:auto !important}}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.ps-container{overflow:auto !important}}.ps-container.ps-active-x>.ps-scrollbar-x-rail,.ps-container.ps-active-y>.ps-scrollbar-y-rail{display:block;background-color:transparent}.ps-container.ps-in-scrolling{pointer-events:none}.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail{background-color:#eee;opacity:0.9}.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:#999}.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail{background-color:#eee;opacity:0.9}.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:#999}.ps-container>.ps-scrollbar-x-rail{display:none;position:absolute;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;opacity:0;-webkit-transition:background-color .2s linear, opacity .2s linear;-moz-transition:background-color .2s linear, opacity .2s linear;-o-transition:background-color .2s linear, opacity .2s linear;transition:background-color .2s linear, opacity .2s linear;bottom:3px;height:8px}.ps-container>.ps-scrollbar-x-rail>.ps-scrollbar-x{position:absolute;background-color:#aaa;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-transition:background-color .2s linear;-moz-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear;bottom:0;height:8px}.ps-container>.ps-scrollbar-y-rail{display:none;position:absolute;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;opacity:0;-webkit-transition:background-color .2s linear, opacity .2s linear;-moz-transition:background-color .2s linear, opacity .2s linear;-o-transition:background-color .2s linear, opacity .2s linear;transition:background-color .2s linear, opacity .2s linear;right:3px;width:8px}.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y{position:absolute;background-color:#aaa;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-transition:background-color .2s linear;-moz-transition:background-color .2s linear;-o-transition:background-color .2s linear;transition:background-color .2s linear;right:0;width:8px}.ps-container:hover.ps-in-scrolling{pointer-events:none}.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail{background-color:#eee;opacity:0.9}.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:#999}.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail{background-color:#eee;opacity:0.9}.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:#999}.ps-container:hover>.ps-scrollbar-x-rail,.ps-container:hover>.ps-scrollbar-y-rail{opacity:0.6}.ps-container:hover>.ps-scrollbar-x-rail:hover{background-color:#eee;opacity:0.9}.ps-container:hover>.ps-scrollbar-x-rail:hover>.ps-scrollbar-x{background-color:#999}.ps-container:hover>.ps-scrollbar-y-rail:hover{background-color:#eee;opacity:0.9}.ps-container:hover>.ps-scrollbar-y-rail:hover>.ps-scrollbar-y{background-color:#999}
/*	Theme.css — the look of faustcode (https://github.com/orlarey/faustcode), loaded last.
	Dark charcoal stage, night-blue panels with 8 px corners, small letter-spaced capitals for
	titles, a mint accent, pills for buttons and values, monospace for numbers and code.
	The colours are tokens: the rest of the file only uses them. */

:root {
	--fp-bg: #1f1f1f;
	--fp-grid: rgba(255, 255, 255, 0.035);
	--fp-panel: #141922;
	--fp-panel-soft: #121720;
	--fp-value-bg: #0d171f;
	--fp-text: #b0b0b0;
	--fp-text-quiet: #93a8af;
	--fp-title: rgba(205, 238, 245, 0.92);
	--fp-value: #c6d8df;
	--fp-pill-text: #d8fbe9;
	--fp-accent: #7af0c0;
	--fp-accent-border: rgba(176, 255, 220, 0.32);
	--fp-accent-border-soft: rgba(176, 255, 220, 0.16);
	--fp-pill-bg: linear-gradient(180deg, rgba(152, 255, 210, 0.14), rgba(152, 255, 210, 0.05));
	--fp-pill-bg-hover: linear-gradient(180deg, rgba(152, 255, 210, 0.22), rgba(152, 255, 210, 0.08));
	--fp-in: #4fd6a3;			/* audio inputs */
	--fp-out: #f0876a;			/* audio outputs */
	--fp-mod: #ffb35c;			/* widget modulation */
	--fp-cable: rgba(198, 216, 223, 0.55);
	--fp-mono: Menlo, Consolas, "DejaVu Sans Mono", monospace;
	--fp-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	/* used by MenuView for the selected menu button */
	--fp-menu-bg: transparent;
	--fp-menu-bg-selected: rgba(152, 255, 210, 0.16);
}

/* Stage: charcoal with a faint grid, as faustcode's scope */
body {
	background: var(--fp-bg);
	background-image:
		linear-gradient(var(--fp-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--fp-grid) 1px, transparent 1px);
	background-size: 24px 24px;
	font-family: var(--fp-sans);
	color: var(--fp-text);
}

/* The signature of the author (index.html): a seal in the bottom left corner of the stage, darker than it, as
   engraved, lit when pointed at; a click opens the repository of faustmodular on GitHub */
a#signature {
	position: fixed;
	left: 16px;
	bottom: 14px;
	width: 44px;
	height: 44px;
	z-index: 1;					/* above the stage: a link to the repository (its README) */
	color: rgba(0, 0, 0, 0.42) !important;		/* not the white of the links (Main.css) */
	border-radius: 50%;
	transition: color 150ms;
}
a#signature svg {
	display: block;
	width: 100%;
	height: 100%;
}
a#signature:hover, a#signature:focus-visible {
	color: rgba(205, 238, 245, 0.45) !important;
	outline: none;
}

/* Header: a bar with the app name, pills, the patch name in a mono pill */
div#buttonsMenu {
	background: var(--fp-panel);
	border-bottom: 1px solid rgba(0, 0, 0, 0.88);
	box-shadow: none;
	height: 42px;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	box-sizing: border-box;
}
#appName {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.04em;
	color: var(--fp-title);
	margin-right: 14px;
	white-space: nowrap;
}
#appName .appVersion {
	font: 12px var(--fp-mono);
	font-weight: normal;
	letter-spacing: 0;
	color: var(--fp-text-quiet);
}
.buttonsMenu {
	float: none;
	width: auto;
	height: 26px;
	line-height: 24px;
	padding: 0 14px;
	box-sizing: border-box;
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 999px;
	background: var(--fp-pill-bg);
	color: var(--fp-pill-text);
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
}
.buttonsMenu:hover {
	background: var(--fp-pill-bg-hover) !important;
	color: #effff7;
}
.buttonsLittleMenu {
	float: none;
	width: 28px;
	height: 28px;
	margin: 0 2px;
	background-size: 18px !important;
	background-position: 50% !important;
	background-repeat: no-repeat !important;
	opacity: 0.75;
}
.buttonsLittleMenu:hover {
	opacity: 1;
}
.sceneTitle {
	float: none;
	margin-left: auto;
	font: 13px var(--fp-mono);
	color: var(--fp-value);
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 999px;
	padding: 3px 14px;
}

/* Menu contents (library, load, save, export) */
div#contentsMenu {
	background: var(--fp-panel-soft);
	color: var(--fp-text);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
	border-bottom: 1px solid var(--fp-accent-border-soft);
}
.libraryTitles, .exportTitle {
	color: var(--fp-title);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
ul.librarySelects {
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 8px;
	box-shadow: none;
}
li {
	font-size: 13px;
}
li > a {
	color: var(--fp-text);
	border-radius: 4px;
}
li > a:hover {
	color: var(--fp-pill-text);
	background: var(--fp-pill-bg-hover);
	box-shadow: none;
}
.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
	background-color: var(--fp-accent);
}

/* Modules: night-blue panels, title in small capitals */
.moduleFaust {
	background: var(--fp-panel);
	color: var(--fp-text);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.moduleFaust h6 {
	color: var(--fp-title);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin: 0;
	padding: 10px 80px 9px;		/* room for ✎ ◎ ↑ on the left, ⤢ ⧉ × on the right; the title stays centered */
	border-bottom: 1px solid var(--fp-accent-border-soft);
}
.moduleFaust .close, .moduleFaust .minus, .moduleFaust .max, .moduleFaust > .edit,
#moduleInput > .content, #moduleOutput > .content {
	filter: invert(0.85);
}
.moduleFaust .content {
	padding: 12px 16px 14px;
}

/* Controls: quiet labels, values in mono chips, mint sliders */
.slider-info .label, .slider-info .value {
	color: var(--fp-text-quiet);
}
.slider-info .label {
	font-size: 11px;
	letter-spacing: 0.04em;
}
.slider-info .value {
	font: 11px var(--fp-mono);
	color: var(--fp-value);
	background: var(--fp-value-bg);
	border-radius: 4px;
	padding: 1px 6px;
}
input[type="range"] {
	background: rgba(176, 255, 220, 0.18);
	height: 3px;
	border-radius: 2px;
}
input[type="range"]::-webkit-slider-thumb {
	background-color: var(--fp-accent);
	border: 2px solid var(--fp-panel);
	box-shadow: 0 0 0 1px var(--fp-accent-border);
	width: 16px;
	height: 16px;
}
.disabledAcc > input[type="range"]::-webkit-slider-thumb {
	background-color: var(--fp-accent);
}
input[type="range"]::-moz-range-thumb,
.disabledAcc > input[type="range"]::-moz-range-thumb {
	background-color: var(--fp-accent);
	border: 2px solid var(--fp-panel);
	width: 14px;
	height: 14px;
}
.moduleFaust input[type="button"] {
	font: 12px var(--fp-sans);
	color: var(--fp-pill-text);
	background: var(--fp-pill-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 999px;
	padding: 3px 14px;
	cursor: pointer;
}
.moduleFaust input[type="button"]:active {
	background: var(--fp-pill-bg-hover);
}

/* Ports: inputs mint, outputs coral, ringed with the panel colour */
.port {
	background: var(--fp-panel);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.port-input span {
	background: var(--fp-in);
	color: var(--fp-value-bg);
}
.port-output span {
	background: var(--fp-out);
	color: var(--fp-value-bg);
}
.port:hover, .port.port-target {
	box-shadow: 0 0 0 3px var(--fp-accent);
}
.moduleFaust.bus-target {
	box-shadow: 0 0 0 3px var(--fp-accent), 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* Names of the ports, declared by the module (declare inlets / outlets), on the row of their port */
.port-label {
	position: absolute;
	max-width: calc(50% - 22px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--fp-text-quiet);
	font: 10px var(--fp-sans);
	letter-spacing: 0.04em;
	pointer-events: none;
	user-select: none;
}
.port-label-out {
	text-align: right;
}

/* Cables */
.cable {
	stroke: var(--fp-cable);
	stroke-width: 5;			/* thick enough to be clicked (deleted) easily */
}
.cable:hover {
	stroke: var(--fp-out);
}
.cable.dragging {
	stroke: var(--fp-accent);
}
.cable.modulation {
	stroke: var(--fp-mod);
	stroke-width: 4;
}

/* Widget modulation */
.widget.widget-target {
	outline-color: var(--fp-mod);
}
.modulation-port {
	background: var(--fp-panel);
	color: var(--fp-mod);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.modulation-port .depth-track {
	stroke: rgba(255, 179, 92, 0.25);
}
.modulation-port .depth-arc {
	stroke: var(--fp-mod);
}
.moduleFaust.compiling {
	box-shadow: 0 0 0 3px rgba(255, 179, 92, 0.6), 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* The pencil, in the title bar */
/* ⧉ duplicate, left of × (the button that expands a minimized module on its left) */
.moduleFaust > .duplicate {
	position: absolute;
	top: 7px;
	right: 27px;
	width: 17px;
	height: 17px;
	color: var(--fp-title);
	opacity: 0.8;
	cursor: pointer;
	border-radius: 3px;
}
.moduleFaust > .duplicate svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	pointer-events: none;
}
.moduleFaust > .duplicate:hover {
	opacity: 1;
	background-color: rgba(176, 255, 220, 0.12);
}
.moduleFaust > .edit:hover {
	background-color: rgba(176, 255, 220, 0.12);
}

/* Messages and loading, as faustcode's notices */
.messageContainer {
	background: var(--fp-panel);
	color: var(--fp-pill-text);
	border-bottom: 1px solid var(--fp-accent-border-soft);
}
/* A wait (Utilitary.showFullPageLoading): a veil that takes the clicks at once; its shade, its spinner and its
   text after 300 ms, so that a short wait does not flash */
div#loadingPage {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: rgba(20, 25, 34, 0.55);
	background-image: none;
	opacity: 0;
	transition: opacity 120ms ease;
}
div#loadingPage.shown {
	opacity: 1;
	transition: opacity 200ms ease 300ms;
}
div#loadingTextBig {
	margin: 0;
	color: var(--fp-title);
	font: 600 12px var(--fp-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.loading-spinner {
	display: block;
	width: 30px;
	height: 30px;
	margin: 0 auto;
	border-radius: 50%;
	border: 3px solid var(--fp-accent-border-soft);
	border-top-color: var(--fp-accent);
	animation: fp-spin 0.8s linear infinite;
}
div#loadingPage:not(.shown) .loading-spinner {
	animation: none;			/* no work while hidden */
}
.loadingDiv .loading-spinner {
	margin: 2em auto 1em;
}
@keyframes fp-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.loading-spinner { animation-duration: 2.4s; }
}

/* Fixes for the dark look */
div#menuContainer {
	z-index: 20;				/* above the ports of the modules */
}
.slider-info .label {
	width: auto;
}
.slider-info .value {
	width: auto;
	font-weight: normal;
	text-transform: none;
}
.moduleFaust h6:empty {
	display: none;				/* physical input and output modules */
}
/* accelerometer axes: distinct, quieter hues */
.x > input[type="range"]::-webkit-slider-thumb { background-color: #e06c75; }
.y > input[type="range"]::-webkit-slider-thumb { background-color: #98c379; }
.z > input[type="range"]::-webkit-slider-thumb { background-color: #61afef; }
.x > input[type="range"]::-moz-range-thumb { background-color: #e06c75; }
.y > input[type="range"]::-moz-range-thumb { background-color: #98c379; }
.z > input[type="range"]::-moz-range-thumb { background-color: #61afef; }
/* after the axes: a slider without accelerometer stays mint (one rule per engine: a selector
   list mixing -webkit- and -moz- pseudo-elements is dropped whole) */
.disabledAcc > input[type="range"]::-webkit-slider-thumb { background-color: var(--fp-accent); }
.disabledAcc > input[type="range"]::-moz-range-thumb { background-color: var(--fp-accent); }

/* Dialogues above the open menu (the menu is above the ports) */
div#dialogue {
	z-index: 30;
}
.messageContainer .message {
	padding: 0 16px;
}
button.accButton {
	height: 2.4em;
	border: none !important;
	border-top: 1px solid var(--fp-accent-border-soft) !important;
	background-color: transparent;
	background-size: 20px !important;
	cursor: pointer;
}
button.accButton:hover {
	background-color: rgba(152, 255, 210, 0.08);
}

/* Menu contents: pills, dark fields, mono lists */
.button {
	background: var(--fp-pill-bg);
	color: var(--fp-pill-text);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 999px;
	box-shadow: none;
	opacity: 1;
	min-height: 32px;
	font: 13px var(--fp-sans);
	cursor: pointer;
}
.button:hover {
	background: var(--fp-pill-bg-hover);
	box-shadow: none;
}
select.sceneSelect, .selects, .inputExport, #contentsMenu input[type="text"] {
	color: var(--fp-value);
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 6px;
	font: 13px var(--fp-mono);
}
#contentsMenu input[type="file"] {
	color: var(--fp-text-quiet);
	font: 12px var(--fp-sans);
}
#contentsMenu input[type="file"]::file-selector-button {
	color: var(--fp-pill-text);
	background: var(--fp-pill-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 999px;
	padding: 3px 12px;
	margin-right: 8px;
	cursor: pointer;
}
.exempleAnchor {
	color: var(--fp-text) !important;
}
.exempleAnchor:hover {
	color: var(--fp-pill-text) !important;
}

/* Physical input and output modules: the icon in the middle of the module */
#moduleInput > .content, #moduleOutput > .content {
	box-sizing: border-box;
	height: 100% !important;
	min-width: 80px;
	padding: 0 !important;
}

/* The microphone (Scene.activateAudioInput), asked for on demand: dim until it is on, crossed if refused */
#moduleInput > .content {
	transition: opacity 120ms;
}
#moduleInput[data-microphone="idle"] > .content, #moduleInput[data-microphone="pending"] > .content {
	opacity: 0.45;
	cursor: pointer;
}
#moduleInput[data-microphone="refused"] > .content {
	background-image: url("../img/ico-micro-mute.png") !important;
	cursor: pointer;
}

/* The volume of the scene on the icon of the output module (view/VolumeControl.ts): the icon is set by a vertical
   drag, its brightness shows the volume; the module is moved by its edge */
#moduleOutput > .content {
	position: relative;
	background: none !important;
	cursor: grab;
}
#moduleOutput .volume-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 52px;
	height: 52px;
	transform: translate(-50%, -50%);
	background: url("../img/ico-speaker.png") no-repeat center;
	cursor: move;				/* vertically the volume, horizontally a move of the module */
	touch-action: none;
	transition: opacity 60ms;
}
#moduleOutput .volume-icon.limiting {
	filter: drop-shadow(0 0 3px #00b4ff) drop-shadow(0 0 6px #00b4ff);	/* inverted by the content: coral */
}
#moduleOutput .volume-icon.muted {
	background-image: url("../img/ico-speaker-mute.png");
}
#moduleOutput .volume-label {
	position: absolute;
	left: 50%;
	bottom: 3px;
	transform: translateX(-50%);
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;			/* inverted by the filter of the content: a dark chip, light text */
	color: #000;
	font: 11px var(--fp-mono);
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 120ms;
}
#moduleOutput .content.adjusting-volume .volume-label {
	opacity: 1;
}

/* The magnifier (view/Magnifier.ts): the module under the pointer at its real size when the stage is zoomed
   out, above the others */
.magnified, .unmagnifying {
	z-index: 50 !important;
	transition: transform 120ms ease;
}
.magnified {
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.7);
}

/* Selected modules (moved together), and the selection rectangle */
.moduleFaust.selected {
	border-color: var(--fp-accent);
	box-shadow: 0 0 0 1px var(--fp-accent), 0 6px 18px rgba(0, 0, 0, 0.5);
}
.selection-band {
	position: fixed;
	z-index: 15;
	border: 1px solid var(--fp-accent);
	background: rgba(122, 240, 192, 0.08);
	border-radius: 3px;
	pointer-events: none;
}

/* Undo and redo, in the header */
.historyButton {
	font: 18px/28px var(--fp-sans);
	color: var(--fp-pill-text);
	text-align: center;
	user-select: none;
}
.historyButton.disabled {
	opacity: 0.25;
	pointer-events: none;
}

/* File menu: the open document, the list of the documents, the files, the trash */
#documentsContainer {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(300px, 1.4fr) minmax(240px, 1fr) minmax(200px, 0.9fr);
	gap: 24px;
	padding: 0 24px 24px;
	box-sizing: border-box;
}
#documentsContainer .exportTitle {
	text-align: left;
	margin-bottom: 8px;
}
#documentsContainer input#documentName {
	width: 100%;
	box-sizing: border-box;
	padding: 6px 10px;
	margin-bottom: 10px;
}
.documentsActions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.documentsActions .button, .documentRow .button {
	display: inline-block;
	width: auto;
	max-width: none;
	margin: 0;
	min-height: 26px;
	padding: 0 12px;
	font-size: 12px;
	flex: none;
}
.documentsActions .button:disabled {
	opacity: 0.35;
	cursor: default;
}
.documentsNotice {
	font-size: 12px;
	color: var(--fp-mod);
}
.documentsHint {
	color: var(--fp-text-quiet);
	margin: 8px 0 14px;
}
.documentsPrecompiled {
	display: block;
	margin-top: 8px;
	font-size: 12px;
}
.documentsExamplesTitle {
	display: block;
}
.documentExample {
	font-size: 13px;
	padding: 5px 10px;
	cursor: pointer;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.documentExample:hover {
	background: rgba(152, 255, 210, 0.06);
}
ul.documentsList {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 50vh;
	overflow-y: auto;
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 8px;
}
.documentRow {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.documentRow.openable {
	cursor: pointer;
}
.documentRow.openable:hover {
	background: rgba(152, 255, 210, 0.06);
}
.documentRow.current {
	background: rgba(152, 255, 210, 0.1);
}
.documentRowName {
	flex: 1;
	font: 13px var(--fp-mono);
	color: var(--fp-value);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.documentRow.current .documentRowName {
	color: var(--fp-accent);
}
.documentRowDate {
	font: 11px var(--fp-mono);
	color: var(--fp-text-quiet);
	white-space: nowrap;
}
.sceneTitle {
	cursor: pointer;
}

/* Library: six columns, the last one for the user modules ("My modules") */
.submenuLibraryContent {
	width: calc(100% / 7);
}
li.userModule {
	display: flex;
	align-items: center;
	gap: 4px;
}
li.userModule > a {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.userModuleRename, .userModuleDelete {
	cursor: pointer;
	opacity: 0;
	padding: 0 4px;
	color: var(--fp-text-quiet);
}
li.userModule:hover .userModuleRename, li.userModule:hover .userModuleDelete {
	opacity: 1;
}
.userModuleRename:hover, .userModuleDelete:hover {
	color: var(--fp-pill-text);
}
li.userModulesEmpty {
	padding: 8px;
	font-size: 12px;
	color: var(--fp-text-quiet);
	white-space: normal;
}
input.userModuleName {
	width: 100%;
	box-sizing: border-box;
}

/* Sliders shown as a menu or radio buttons ([style:menu{...}], [style:radio{...}]): the slider stays,
   hidden, as the state of the widget */
.control-choice input.choice-slider, .control-choice .choice-value {
	display: none;
}
.control-choice select.choice-menu {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	padding: 3px 6px;
	color: var(--fp-value);
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 6px;
	font: 12px var(--fp-mono);
	cursor: pointer;
}
.control-choice .choice-radios {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	margin-top: 4px;
	font: 12px var(--fp-mono);
	color: var(--fp-value);
}
.control-choice .choice-radios label {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
}
.control-choice .choice-radios input[type="radio"] {
	accent-color: var(--fp-accent);
	margin: 0;
}
/* the generic select:focus of the menus (Menu.css) must not repaint the menu of a widget */
.control-choice select.choice-menu:focus, .control-choice select.choice-menu:focus-visible {
	background: var(--fp-value-bg) !important;
	border: 1px solid var(--fp-accent) !important;
	outline: none;
	box-shadow: none;
}

/* Displays (Modules/Displays.ts): bargraphs, oscilloscope, spectrum */
.display-bar .bar-track {
	height: 8px;
	margin-top: 6px;
	border-radius: 4px;
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
	overflow: hidden;
}
.display-bar .bar-fill {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--fp-in), var(--fp-accent) 70%, var(--fp-mod) 90%, var(--fp-out));
	background-size: 100% 100%;
}
.display-bar .value {
	font-variant-numeric: tabular-nums;
	min-width: 5.5em;
	text-align: right;
}
canvas.display-canvas {
	display: block;		/* its size: the Width and Height widgets of the module (Displays.ts) */
	box-sizing: border-box;
	border-radius: 6px;
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
}

/* The stage: cables and modules, zoomed and moved together (Scene.setView) */
#stage {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform-origin: 0 0;
}
#stage > #svgCanvas {
	overflow: visible;
}
.zoomButton {
	font: 12px/28px var(--fp-mono);
	color: var(--fp-pill-text);
	text-align: center;
	user-select: none;
	cursor: pointer;
	width: auto !important;
	min-width: 28px;
}
#zoomValue {
	min-width: 44px;
}

/* The transport of the shared timeline (sync/TransportView.ts): back to the start, play / stop, the tempo, bar:beat */
.transport {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: 14px;
	padding: 2px 10px 2px 4px;
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 999px;
	background: var(--fp-value-bg);
	font: 12px var(--fp-mono);
	color: var(--fp-value);
}
.transport.disabled {
	opacity: 0.4;
	pointer-events: none;
}
.transportPlay, .transportRewind {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	cursor: pointer;
	user-select: none;
	color: var(--fp-pill-text);
	font-size: 12px;
}
.transportPlay:hover, .transportRewind:hover {
	background: var(--fp-pill-bg-hover);
}
.transport.playing .transportPlay {
	color: var(--fp-accent);
}
input.transportTempo {
	width: 3.6em;
	padding: 1px 2px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: var(--fp-value);
	font: inherit;
	text-align: right;
	-moz-appearance: textfield;
}
input.transportTempo::-webkit-inner-spin-button, input.transportTempo::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input.transportTempo:focus {
	outline: 1px solid var(--fp-accent);
	background: var(--fp-panel);
}
.transportUnit {
	color: var(--fp-text-quiet);
	font-size: 10px;
}
.transportPosition {
	min-width: 3.5em;
	text-align: right;
	color: var(--fp-pill-text);
}
/* ● Record (audio/Recorder.ts): waiting for its bar, blinking; recording, red */
.transportRecord {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	cursor: pointer;
	user-select: none;
	color: var(--fp-pill-text);
	font-size: 13px;
}
.transportRecord.hidden {
	display: none;
}
.transportRecord:hover {
	background: var(--fp-pill-bg-hover);
}
.transportRecord.waiting {
	color: #ff5a5a;
	animation: transportRecordBlink 0.8s steps(2, start) infinite;
}
.transportRecord.recording {
	color: #ff3b3b;
}
@keyframes transportRecordBlink {
	to { visibility: hidden; }
}

/* Library, in one view: the families (grouped), the modules of the family chosen, the description */
#libraryPanel {
	display: flex;
	width: 100%;
}
#libraryPanel > .submenuLibraryContent {
	flex: 1;
	width: auto;
	min-width: 0;
	float: none;
	height: min(500px, calc(100vh - 140px));		/* the lists take the rest (Menu.css) */
}
#libraryModules li a, #userLibrarySelect li a {
	font-size: 13px;
}
/* The search of the modules (Library.setQuery): a field above the list, which takes its height */
input.librarySearch {
	box-sizing: border-box;
	display: block;
	width: 90%;
	margin: 8px 5% -4px;
	padding: 6px 10px 6px 30px;
	border: 1px solid var(--fp-accent-border);
	border-radius: 999px;
	background: var(--fp-value-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cdeef5' stroke-opacity='0.55' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E") no-repeat 9px 50% / 15px;
	color: var(--fp-pill-text);
	font: 13px var(--fp-sans);
	outline: none;
}
input.librarySearch::placeholder {
	color: var(--fp-text-quiet);
}
input.librarySearch:focus {
	border-color: var(--fp-accent);
	box-shadow: 0 0 0 2px rgba(122, 240, 192, 0.18);
}
#libraryModulesContent ul.librarySelects {
	height: calc(100% - 4em - 34px);
}
li.librarySearchResult {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	border-radius: 4px;
}
li.librarySearchResult a {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
li.librarySearchResult.active {
	background: rgba(152, 255, 210, 0.1);
}
li.librarySearchResult.active a {
	color: var(--fp-accent);
}
.librarySearchFamily {
	flex: none;
	font: 10px var(--fp-sans);
	letter-spacing: 0.04em;
	color: var(--fp-text-quiet);
	white-space: nowrap;
}
li.librarySearchNone {
	color: var(--fp-text-quiet);
	font-style: italic;
	font-size: 13px;
}
li.libraryFamily.empty {
	opacity: 0.35;
}

/* My modules: after the families of the catalog, below a line */
li.libraryFamily.userFamily {
	margin-top: 8px;
	border-top: 1px solid var(--fp-accent-border-soft);
	border-radius: 0 0 4px 4px;
	padding-top: 6px;
}
#libraryPanel > #libraryDescriptionContent {
	flex: 1.6;
}
li.libraryGroup {
	padding: 8px 10px 3px;
	color: var(--fp-title);
	font: 600 10px var(--fp-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.75;
}
li.libraryGroup:first-child {
	padding-top: 2px;
}
li.libraryFamily {
	display: flex;
	justify-content: space-between;
	padding: 3px 10px;
	cursor: pointer;
	color: var(--fp-text);
	border-radius: 4px;
}
li.libraryFamily:hover {
	background: var(--fp-pill-bg-hover);
	color: var(--fp-pill-text);
}
li.libraryFamily.selected {
	color: var(--fp-accent);
	background: rgba(152, 255, 210, 0.08);
}
.libraryCount {
	font: 11px var(--fp-mono);
	color: var(--fp-text-quiet);
}
.libraryDescription {
	height: calc(100% - 4em);
	margin: 5%;			/* as the lists (Menu.css) */
	overflow-y: auto;
	padding: 6px 12px;
	box-sizing: border-box;
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 8px;
	font-size: 12px;
	color: var(--fp-text);
}
.libraryName {
	font-weight: 600;
	color: var(--fp-title);
	font-size: 13px;
}
.libraryFunctions, .libraryPorts {
	font: 11px var(--fp-mono);
	color: var(--fp-text-quiet);
	margin: 2px 0;
}
.libraryText {
	white-space: pre-line;
	margin-top: 6px;
	line-height: 1.45;
}

/* Context menu (right click on modules or on the stage) */
.context-menu {
	position: fixed;
	z-index: 1000;
	min-width: 220px;
	padding: 5px;
	background: var(--fp-panel);
	border: 1px solid var(--fp-accent-border);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
	font: 13px var(--fp-sans);
}
.context-menu-item {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 6px 10px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: var(--fp-pill-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.context-menu-item:hover:not(:disabled) {
	background: var(--fp-menu-bg-selected);
}
.context-menu-item:disabled {
	color: var(--fp-text-quiet);
	opacity: 0.45;
	cursor: default;
}
.context-menu-shortcut {
	color: var(--fp-text-quiet);
	font: 12px var(--fp-mono);
}
.context-menu-check {
	display: inline-block;
	width: 18px;
	color: var(--fp-accent);
}
.context-menu-separator {
	height: 1px;
	margin: 4px 6px;
	background: var(--fp-accent-border-soft);
}

/* Alignment guides while modules are dragged (view/Alignment.ts): thin, light, as in Faust DAW */
.alignment-guide {
	stroke: rgba(86, 215, 255, 0.75);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}
.alignment-guide.center {
	stroke-dasharray: 4 3;			/* a coincidence of centres */
}

/* The groups of the code as sections (model/UILayout.ts): a label above their widgets */
.ui-hidden {
	display: none !important;
}
.ui-section {
	margin: 12px 0 4px;
}
.ui-section:first-child {
	margin-top: 0;
}
/* the label of a group: centred between two lines, in the accent colour, set apart from the labels of the
   widgets (left, quiet) */
.ui-group-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 8px;
	text-align: center;
	color: var(--fp-accent);
	font: 700 11px var(--fp-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;		/* on one line: a column of a row (hgroup) is widened to hold it */
}
.ui-group-label::before, .ui-group-label::after {
	content: "";
	flex: 1 0 12px;
	height: 1px;
	background: var(--fp-accent-border);
}
/* a section inside a section: its label smaller and lighter, between two short lines */
.ui-section .ui-section {
	margin-top: 10px;
}
.ui-section .ui-section > .ui-group-label {
	color: var(--fp-title);
	font: 600 10px var(--fp-sans);
	letter-spacing: 0.12em;
}
.ui-section .ui-section > .ui-group-label::before, .ui-section .ui-section > .ui-group-label::after {
	flex: 0 0 14px;
	background: var(--fp-accent-border-soft);
}

/* nentry: a number field; the slider, hidden, stays the state of the widget */
.control-entry input.choice-slider, .control-entry .choice-value {
	display: none;
}
.control-entry .entry-box {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}
.control-entry input.entry {
	width: 100%;
	box-sizing: border-box;
	padding: 3px 6px;
	color: var(--fp-value);
	background: var(--fp-value-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 6px;
	font: 12px var(--fp-mono);
}
.control-entry input.entry:focus {
	border-color: var(--fp-accent);
	outline: none;
}
.control-entry .entry-unit {
	color: var(--fp-text-quiet);
	font: 11px var(--fp-mono);
}

/* The frame of a display, with the grip that resizes it (bottom right) */
.display-frame {
	position: relative;
	width: fit-content;
	margin: 6px auto 2px;
}
.display-grip {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 14px;
	height: 14px;
	cursor: nwse-resize;
	touch-action: none;
	border-bottom-right-radius: 6px;
	background:
		linear-gradient(135deg, transparent 0 55%, var(--fp-accent-border) 55% 62%, transparent 62% 72%, var(--fp-accent-border) 72% 79%, transparent 79%);
}
.display-grip:hover {
	background:
		linear-gradient(135deg, transparent 0 55%, var(--fp-accent) 55% 62%, transparent 62% 72%, var(--fp-accent) 72% 79%, transparent 79%);
}
/* the widgets of the other view of a Scope */
.widget.display-off {
	display: none;
}

/* Buttons: centered on their own row, half the width of the module, spaced as the other widgets */
.control-group.control-button {
	display: block;
	text-align: center;
	margin: 2px 0 11px;		/* the visible gaps above and below: those between two sliders (~12px) */
}
.control-group.control-button input[type="button"] {
	width: 50%;
	min-width: 96px;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* A button lit: held down, or driven to 1 by a modulation */
.control-group.control-button.lit input[type="button"] {
	background: rgba(122, 240, 192, 0.85);
	color: var(--fp-value-bg);
	border-color: var(--fp-accent);
	box-shadow: 0 0 8px rgba(122, 240, 192, 0.35);
}
/* Checkboxes: a button with a LED that keeps the state (lit: checked, or driven to 1) */
.control-group.control-checkbox .pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 50%;
	min-width: 96px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 3px 14px;
	font: 12px var(--fp-sans);
	color: var(--fp-pill-text);
	background: var(--fp-pill-bg);
	border: 1px solid var(--fp-accent-border-soft);
	border-radius: 999px;
	cursor: pointer;
	user-select: none;
}
.control-group.control-checkbox .pill:hover {
	background: var(--fp-pill-bg-hover);
}
.control-group.control-checkbox .pill input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}
.control-group.control-checkbox .pill:has(input:focus-visible) {
	outline: 1px solid var(--fp-accent);
}
.control-group.control-checkbox .label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* the LED of a checkbox: yellow, dim when off */
.control-group.control-checkbox .led {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 214, 80, 0.16);
	box-shadow: inset 0 0 0 1px rgba(255, 214, 80, 0.25);
	transition: background 60ms, box-shadow 60ms;
}
.control-group.control-checkbox.lit .led {
	background: #ffd54a;
	box-shadow: 0 0 4px #ffd54a, 0 0 10px rgba(255, 213, 74, 0.6);
}
/* a button or a checkbox driven by a modulation: no effect by hand, its label dimmed, its light full (the
   value the signal drives it to) */
.widget.modulated-drive.control-button input[type="button"],
.widget.modulated-drive.control-button .pill {
	opacity: 1;
	pointer-events: none;
	color: rgba(216, 251, 233, 0.45);
}
/* driven and lit: the dark label of a lit button */
.widget.modulated-drive.control-button.lit input[type="button"] {
	color: rgba(13, 23, 31, 0.75);
}

/* Knobs ([style:knob]): the label above, the knob, the value below; the slider, hidden, is the state */
.control-group.control-knob {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 4px 0 10px;
}
.control-knob input.choice-slider {
	display: none;
}
.control-knob > .label {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--fp-text-quiet);
	font-size: 10px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
}
.control-knob svg.knob {
	width: 44px;
	height: 44px;
	margin: 2px 0;
	cursor: ns-resize;
	touch-action: none;
	overflow: visible;
}
.control-knob .knob-track, .control-knob .knob-value {
	fill: none;
	stroke-width: 4;
	stroke-linecap: round;
}
.control-knob .knob-track {
	stroke: rgba(176, 255, 220, 0.18);
}
.control-knob .knob-value {
	stroke: var(--fp-accent);
}
/* the knob itself: an almost black disc inside the arc, its edge barely lit */
.control-knob .knob-body {
	fill: #080a0e;
	stroke: rgba(255, 255, 255, 0.07);
	stroke-width: 1;
}
.control-knob .knob-pointer {
	stroke: var(--fp-title);
	stroke-width: 2;
	stroke-linecap: round;
}
.control-knob > .value {
	font: 10px var(--fp-mono);
	color: var(--fp-value);
	background: var(--fp-value-bg);
	border-radius: 4px;
	padding: 0 5px;
	white-space: nowrap;
}

/* hgroup: a row of its children, wrapped when the module would be too wide */
.ui-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0 12px;
	max-width: 520px;
}
.ui-row > * {
	flex: 1 1 0;
	min-width: 64px;
	width: auto;			/* not the 100% of a control group (FaustInterface.css): it would fill the row */
}
.ui-row > .control-group:not(.control-knob):not(.control-button) {
	min-width: 130px;		/* a slider, a menu, a number entry */
}
.ui-row > .control-button {
	flex: 0 1 auto;
}
.ui-row > .control-button input[type="button"], .ui-row > .control-checkbox .pill {
	width: auto;
	min-width: 72px;
}
.ui-row > .ui-group {
	min-width: 130px;
}
.ui-row > .ui-section {
	min-width: min-content;	/* its label on one line, between its lines */
	margin-top: 0;			/* the labels of the columns at the same height */
}

/* tgroup: tabs, one page shown */
.ui-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 2px 0 10px;
	border-bottom: 1px solid var(--fp-accent-border-soft);
}
.ui-tab {
	padding: 3px 10px;
	border: 1px solid transparent;
	border-bottom: none;
	border-radius: 6px 6px 0 0;
	background: transparent;
	color: var(--fp-text-quiet);
	font: 11px var(--fp-sans);
	letter-spacing: 0.04em;
	cursor: pointer;
}
.ui-tab:hover {
	color: var(--fp-pill-text);
}
.ui-tab.selected {
	color: var(--fp-accent);
	border-color: var(--fp-accent-border-soft);
	background: var(--fp-value-bg);
}
.ui-page {
	display: none;
}
.ui-page.selected {
	display: block;
}

/* The Orbit interface of a module (faust-orbit-ui, Modules/OrbitPanel.ts), in place of the classic one */
.moduleFaust > .orbit-toggle {
	position: absolute;
	top: 7px;
	left: 34px;
	width: 17px;
	height: 17px;
	color: var(--fp-title);
	opacity: 0.8;
	cursor: pointer;
	border-radius: 3px;
}
.moduleFaust > .orbit-toggle svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	pointer-events: none;
}
.moduleFaust > .orbit-toggle:hover {
	opacity: 1;
	background-color: rgba(176, 255, 220, 0.12);
}
.moduleFaust.orbit-mode > .orbit-toggle {
	color: var(--fp-accent);
	opacity: 1;
}
.moduleFaust.orbit-mode > .content {
	display: none;
}
.orbit-frame {
	position: relative;
	margin: 10px 12px 12px;
	box-sizing: border-box;
}
.orbit-host {
	position: absolute;
	inset: 0;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--fp-accent-border-soft);
	--orbit-bg: var(--fp-value-bg);
	--orbit-toolbar-bg: var(--fp-panel);
	--orbit-toolbar-line: var(--fp-accent-border-soft);
	--orbit-pill-bg: rgba(152, 255, 210, 0.08);
	--orbit-pill-border: var(--fp-accent-border);
	--orbit-pill-hover-bg: rgba(152, 255, 210, 0.16);
	--orbit-fg: var(--fp-value);
	--orbit-fg-muted: var(--fp-text-quiet);
	--orbit-accent-bg: var(--fp-accent);
	--orbit-accent-fg: #0d171f;
	--orbit-accent-border: var(--fp-accent);
}
.orbit-host.widget-target {
	outline: 2px solid var(--fp-mod);
}
.orbit-grip {
	z-index: 2;
}

/* The value of a slider or a knob: a double click types it (FaustInterfaceView.editValue) */
.slider-info .value.value-editable, .value.value-editable {
	cursor: text;
}
input.value-input {
	width: 7em;
	box-sizing: border-box;
	font: 11px var(--fp-mono);
	color: var(--fp-value);
	background: var(--fp-panel);
	border: 1px solid var(--fp-accent);
	border-radius: 4px;
	padding: 0 4px;
	text-align: right;
	outline: none;
}

/* The name of the scene, typed in place (Menu.renameInPlace) */
input.scene-name-input {
	width: 14em;
	font: inherit;
	color: var(--fp-value);
	background: var(--fp-panel);
	border: 1px solid var(--fp-accent);
	border-radius: 4px;
	padding: 0 6px;
	outline: none;
}
/* a submenu of a context menu (File: Recent scenes, Examples) */
.context-menu-item.has-submenu .context-menu-shortcut {
	font-size: 10px;
}

/* The stores followed (store/Stores.ts): a family each, below the group Stores; one to add */
li.libraryFamily.storeFamily {
	justify-content: flex-start;
	align-items: center;
}
li.libraryFamily.storeFamily .libraryCount {
	margin-left: 6px;
}
/* read only, or read and write: a menu (Library.storeMenu) */
.storeAccess {
	margin-left: auto;
	padding: 0 6px;
	border-radius: 8px;
	border: 1px solid var(--fp-accent-border-soft);
	font: 10px var(--fp-mono);
	line-height: 15px;
	color: var(--fp-text-quiet);
	cursor: pointer;
	text-decoration: none;
}
.storeAccess.write {
	color: var(--fp-accent);
	border-color: var(--fp-accent);
}
.storeAccess.error {
	color: #ff8a80;
	border-color: transparent;
}
.storeAccess:hover {
	background: var(--fp-pill-bg-hover);
}
li.libraryFamily.storeFamily.loading {
	opacity: 0.6;
}
li.libraryFamily.storeFamily.error {
	color: var(--fp-text-quiet);
	text-decoration: line-through;
}
li.libraryFamily.storeAdd {
	color: var(--fp-text-quiet);
	font-style: italic;
}
li.libraryFamily.storeAdd input.storeName {
	width: 100%;
	box-sizing: border-box;
	font-style: normal;
}
a.storeLink {
	display: block;
	color: var(--fp-text-quiet);
	text-decoration: none;
}
a.storeLink:hover {
	color: var(--fp-accent);
}

/* My store (Menu/StoreDialog.ts): the repository and the token to publish */
.storeDialogOverlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
}
.storeDialog {
	width: min(520px, calc(100vw - 32px));
	box-sizing: border-box;
	padding: 18px 20px;
	border-radius: 10px;
	border: 1px solid var(--fp-accent-border-soft);
	background: var(--fp-panel, #161b20);
	color: var(--fp-text);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
	font: 13px var(--fp-sans);
}
.storeDialogTitle {
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 12px;
	color: var(--fp-title);
}
.storeDialogField {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 10px;
	color: var(--fp-text-quiet);
}
.storeDialogField input {
	font: 13px var(--fp-mono);
	padding: 6px 8px;
	border-radius: 6px;
	border: 1px solid var(--fp-accent-border-soft);
	background: var(--fp-value-bg);
	color: var(--fp-text);
}
.storeDialogHelp {
	font-size: 12px;
	color: var(--fp-text-quiet);
	line-height: 1.45;
}
.storeDialogHelp a {
	color: var(--fp-accent);
}
.storeDialogStatus {
	min-height: 1.4em;
	margin: 10px 0;
	font-size: 12px;
}
.storeDialogStatus.ok {
	color: var(--fp-accent);
}
.storeDialogStatus.error {
	color: #ff8a80;
}
.storeDialogButtons {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}
.storeDialogButtons .button.primary {
	border-color: var(--fp-accent);
	color: var(--fp-accent);
}

/* Publishing a scene with its modules (Menu/PublishDialog.ts) */
.publishDialog {
	width: min(620px, calc(100vw - 32px));
}
.publishDialogHeading {
	margin: 10px 0 6px;
	color: var(--fp-text);
}
.publishDialogModules {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 8px;
}
.publishDialogModule {
	display: grid;
	grid-template-columns: minmax(80px, 1fr) auto;
	align-items: center;
	gap: 2px 10px;
}
.publishDialogName {
	font: 13px var(--fp-mono);
	color: var(--fp-text);
}
.publishDialogModule select {
	font: 12px var(--fp-sans);
	padding: 3px 6px;
	border-radius: 6px;
	border: 1px solid var(--fp-accent-border-soft);
	background: var(--fp-value-bg);
	color: var(--fp-text);
}
.publishDialogNote {
	grid-column: 1 / -1;
	font-size: 11px;
	color: var(--fp-text-quiet);
}
.publishDialogNote:empty {
	display: none;
}
.publishDialog .storeDialogHelp {
	margin-top: 6px;
}
