*/.cmd .format,
.cmd .prompt,
.cmd .prompt div,
.terminal .terminal-output .format,
.terminal .terminal-output div div {
    display: inline-block
}

.cmd,
.terminal h1,
.terminal h2,
.terminal h3,
.terminal h4,
.terminal h5,
.terminal h6,
.terminal pre {
    margin: 0
}

.terminal h1,
.terminal h2,
.terminal h3,
.terminal h4,
.terminal h5,
.terminal h6 {
    line-height: 1.2em
}

.cmd {
    background: transparent;
}

.cmd .clipboard {
    position: absolute;
    left: -16px;
    top: 0;
    width: 20px;
    height: 16px;
    background: transparent;
    border: none;
    color: transparent;
    outline: none;
    padding: 0;
    resize: none;
    z-index: 1000;
    overflow: hidden;
    white-space: pre;
    text-indent: -9999em
}

.terminal audio,
.terminal canvas,
.terminal img,
.terminal object,
.terminal value {
    cursor: default
}

.terminal .error {
    color: red
}

.terminal {
    position: relative;
    overflow-y: auto
}

.cmd,
.terminal {
    contain: content
}

body.terminal {
    height: 100%;
    min-height: 100vh;
    margin: 0
}

.terminal>div {
    overflow: hidden
}

.terminal>.font .resizer,
.terminal>.resizer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
    visibility: hidden;
    height: 100%;
    border: none;
    padding: 0;
    width: 100%
}

.cmd {
    padding: 0;
    position: relative;
    float: left;
    padding-bottom: 3px
}

.terminal a[tabindex="1000"],
.terminal a[tabindex="1000"]:active,
.terminal a[tabindex="1000"]:focus {
    outline: none
}

.cmd .inverted,
.terminal .inverted {
    background-color: #aaa;
    color: #000
}

.cmd .cursor {
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    background-clip: content-box
}

.cmd .cursor.blink {
    -webkit-animation: terminal-blink 1s infinite step-start;
    animation: terminal-blink 1s infinite step-start;
    border-left: 1px solid transparent;
    margin-left: -1px
}

.bar.cmd .inverted,
.bar.terminal .inverted {
    border-left-color: #aaa
}

.cmd .prompt,
.terminal .terminal-output div div {
    display: block;
    line-height: 14px;
    height: auto
}

.terminal .terminal-output>div:not(.raw) div {
    white-space: nowrap
}

.cmd .prompt>span {
    float: left
}

.cmd,
.terminal {
    font-family: monospace;
    color: #aaa;
    background-color: #000;
    font-size: 12px;
    line-height: 14px;
    box-sizing: border-box;
    cursor: text
}

.cmd div {
    clear: both
}

.cmd {
    background: transparent;
}

.cmd .prompt+div {
    clear: right
}

.terminal-output>div>div {
    min-height: 14px
}

terminal .terminal-output>div {
    margin-top: -1px
}

.terminal-output>div.raw>div * {
    overflow-wrap: break-word;
    word-wrap: break-word
}

.terminal .font {
    position: absolute;
    font-size: inherit;
    width: 1em;
    height: 1em;
    top: -100%;
    left: 0;
    margin-bottom: 1px
}

.terminal .terminal-output div span {
    display: inline-block
}

.cmd>span:not(.prompt) {
    float: left
}

.cmd .prompt span.line {
    display: block;
    float: none
}

.terminal table {
    border-collapse: collapse
}

.terminal td {
    border: 1px solid #aaa
}

.cmd .prompt span::-moz-selection,
.cmd>div::-moz-selection,
.cmd>div span::-moz-selection,
.cmd>span::-moz-selection,
.cmd>span span::-moz-selection,
.cmd div::-moz-selection,
.terminal .terminal-output .raw div::-moz-selection,
.terminal .terminal-output div div::-moz-selection,
.terminal .terminal-output div div a::-moz-selection,
.terminal .terminal-output div span::-moz-selection,
.terminal h1::-moz-selection,
.terminal h2::-moz-selection,
.terminal h3::-moz-selection,
.terminal h4::-moz-selection,
.terminal h5::-moz-selection,
.terminal h6::-moz-selection,
.terminal pre::-moz-selection,
.terminal td::-moz-selection {
    background-color: #aaa;
    color: #000
}

.cmd .prompt span::selection,
.cmd>div::selection,
.cmd>div span::selection,
.cmd>span::selection,
.cmd>span span::selection,
.cmd div::selection,
.terminal .terminal-output .raw div::selection,
.terminal .terminal-output div div::selection,
.terminal .terminal-output div div a::selection,
.terminal .terminal-output div span::selection,
.terminal h1::selection,
.terminal h2::selection,
.terminal h3::selection,
.terminal h4::selection,
.terminal h5::selection,
.terminal h6::selection,
.terminal pre::selection,
.terminal td::selection {
    background-color: hsla(0, 0%, 67%, .99);
    color: #000
}

.terminal .terminal-output div.error,
.terminal .terminal-output div.error div {
    color: red;
    color: var(--error-color, red)
}

.tilda {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100
}

.ui-dialog-content .terminal {
    width: 100%;
    height: 100%;
    box-sizing: border-box
}

.ui-dialog .ui-dialog-content.dterm {
    padding: 0
}

.clear {
    clear: both
}

.terminal a {
    color: #0f60ff;
    color: var(--link-color, #0f60ff)
}

.terminal a:hover {
    background: #0f60ff;
    background: var(--link-color, #0f60ff);
    color: var(--background, #000);
    text-decoration: none
}

.terminal .terminal-fill {
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    margin: 1px 0 0;
    border: none;
    opacity: .01;
    pointer-events: none;
    box-sizing: border-box
}

.terminal,
.terminal .terminal-fill {
    padding: 10px
}

@-webkit-keyframes terminal-blink {
    0%,
    to {
        background-color: #000;
        color: #aaa
    }
    50% {
        background-color: #bbb;
        color: #000
    }
}

@keyframes terminal-blink {
    0%,
    to {
        background-color: #000;
        color: #aaa
    }
    50% {
        background-color: #bbb;
        color: #000
    }
}

@-webkit-keyframes terminal-bar {
    0%,
    to {
        border-left-color: #aaa
    }
    50% {
        border-left-color: #000
    }
}

@keyframes terminal-bar {
    0%,
    to {
        border-left-color: #aaa
    }
    50% {
        border-left-color: #000
    }
}

@-webkit-keyframes terminal-underline {
    0%,
    to {
        border-bottom-color: #aaa;
        position: relative;
        line-height: 12px;
        margin-top: 1px;
        border-left: none;
        margin-left: 0
    }
    50% {
        border-bottom-color: #000;
        position: relative;
        line-height: 12px;
        margin-top: 1px;
        border-left: none;
        margin-left: 0
    }
}

@keyframes terminal-underline {
    0%,
    to {
        border-bottom-color: #aaa;
        position: relative;
        line-height: 12px;
        margin-top: 1px;
        border-left: none;
        margin-left: 0
    }
    50% {
        border-bottom-color: #000;
        position: relative;
        line-height: 12px;
        margin-top: 1px;
        border-left: none;
        margin-left: 0
    }
}

.underline-animation .cursor.blink {
    border-left: none;
    -webkit-animation-name: terminal-underline;
    animation-name: terminal-underline
}

.bar-animation .cursor.blink {
    -webkit-animation-name: terminal-bar;
    animation-name: terminal-bar
}

.terminal .font {
    width: calc(var(--size, 1) * 1em);
    height: calc(var(--size, 1) * 1em)
}

.terminal span[style*="--length"] {
    width: calc(var(--length, 1) * var(--char-width, 7.23438) * 1px);
    display: inline-block
}

.cmd,
.cmd .prompt,
.terminal,
.terminal .terminal-output>div>div {
    font-size: calc(var(--size, 1) * 12px);
    line-height: calc(var(--size, 1) * 14px)
}

.terminal .terminal-output>div>div {
    min-height: calc(var(--size, 1) * 14px)
}

.cmd .inverted,
.terminal .inverted {
    background-color: var(--color, #aaa);
    color: var(--background, #000)
}

.cmd .cursor.blink {
    -webkit-animation: var(--animation, terminal-blink) 1s infinite step-start;
    animation: var(--animation, terminal-blink) 1s infinite step-start;
    color: var(--color, #aaa);
    background-color: var(--background, #000)
}

.cmd .prompt span::-moz-selection,
.cmd>div::-moz-selection,
.cmd>div span::-moz-selection,
.cmd>span::-moz-selection,
.cmd>span span::-moz-selection,
.cmd div::-moz-selection,
.terminal .terminal-output div div::-moz-selection,
.terminal .terminal-output div div a::-moz-selection,
.terminal .terminal-output div span::-moz-selection,
.terminal h1::-moz-selection,
.terminal h2::-moz-selection,
.terminal h3::-moz-selection,
.terminal h4::-moz-selection,
.terminal h5::-moz-selection,
.terminal h6::-moz-selection,
.terminal pre::-moz-selection,
.terminal td::-moz-selection {
    background-color: var(--color, #aaa);
    color: var(--background, #000)
}

.cmd .prompt span::selection,
.cmd>div::selection,
.cmd>div span::selection,
.cmd>span::selection,
.cmd>span span::selection,
.cmd div::selection,
.terminal .terminal-output div div::selection,
.terminal .terminal-output div div a::selection,
.terminal .terminal-output div span::selection,
.terminal h1::selection,
.terminal h2::selection,
.terminal h3::selection,
.terminal h4::selection,
.terminal h5::selection,
.terminal h6::selection,
.terminal pre::selection,
.terminal td::selection {
    background-color: var(--color, hsla(0, 0%, 67%, .99));
    color: var(--background, #000)
}

@-webkit-keyframes terminal-blink {
    0%,
    to {
        background-color: var(--background, #000);
        color: var(--color, #aaa)
    }
    50% {
        background-color: var(--color, #aaa);
        color: var(--background, #000)
    }
}

@keyframes terminal-blink {
    0%,
    to {
        background-color: var(--background, #000);
        color: var(--color, #aaa)
    }
    50% {
        background-color: var(--color, #aaa);
        color: var(--background, #000)
    }
}

@-webkit-keyframes terminal-bar {
    0%,
    to {
        border-left-color: var(--background, #000)
    }
    50% {
        border-left-color: var(--color, #aaa)
    }
}

@keyframes terminal-bar {
    0%,
    to {
        border-left-color: var(--background, #000)
    }
    50% {
        border-left-color: var(--color, #aaa)
    }
}

@-webkit-keyframes terminal-underline {
    0%,
    to {
        border-bottom-color: var(--color, #aaa);
        position: relative;
        line-height: calc(var(--size, 1) * 12px);
        margin-top: calc(var(--size, 1) * 1px);
        border-left: none;
        margin-left: 0
    }
    50% {
        border-bottom-color: var(--background, #000);
        position: relative;
        line-height: calc(var(--size, 1) * 12px);
        margin-top: calc(var(--size, 1) * 1px);
        border-left: none;
        margin-left: 0
    }
}

@keyframes terminal-underline {
    0%,
    to {
        border-bottom-color: var(--background, #000);
        position: relative;
        line-height: calc(var(--size, 1) * 12px);
        margin-top: calc(var(--size, 1) * 1px);
        border-left: none;
        margin-left: 0
    }
    50% {
        border-bottom-color: var(--color, #aaa);
        position: relative;
        line-height: calc(var(--size, 1) * 12px);
        margin-top: calc(var(--size, 1) * 1px);
        border-left: none;
        margin-left: 0
    }
}