/* PASTEBOARD SCRIPT companion: same shell/density as STEP TRACE SCENARIO. */
.EMU_pasteboardScriptPopup {
    /* Always document-absolute, never fixed to or inside the Apple II screen. */
    position: absolute !important;
    margin: 0 !important;
    box-sizing: border-box;
    max-width: calc(100vw - 8px);
}
.EMU_pasteboardScriptPopup[hidden] { display: none !important; }
.EMU_pasteboardScriptPopup .DBG_testbenchBox {
    min-height: 540px;
    padding-top: 1px !important;
}
.EMU_pasteboardScriptPopup .DBG_testbenchHeader {
    min-height: 18px;
    margin-bottom: 3px;
}
.EMU_pasteboardScriptPopup .DBG_testbenchTitle {
    font-weight: 400;
    letter-spacing: 0;
    line-height: 18px;
}
#EMU_pasteboardScriptStatus {
    font: 10px/16px arial,sans-serif;
    color: #666;
    margin-right: 5px;
}
#EMU_pasteboardScriptEditor {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 235px;
    height: 255px;
    margin: 0;
    padding: 6px 8px;
    border: 0;
    outline: 0;
    resize: vertical;
    overflow: auto;
    white-space: pre;
    tab-size: 2;
    color: #111;
    background: rgba(255,255,255,.78);
    font: 9px/12px "DejaVu Sans Mono",Menlo,Consolas,"Courier New",monospace;
}
.EMU_pasteboardScriptActions {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    flex-wrap: wrap;
}
.EMU_pasteboardScriptActions button:disabled {
    cursor: default;
    opacity: .5;
}
#EMU_pasteboardScriptConsole.VanillaTerm {
    width: 100%;
    height: 155px;
    min-height: 155px;
    max-height: 155px;
    box-sizing: border-box;
}
#EMU_pasteboardScriptConsole .container {
    width: 100%;
    height: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 5px 7px;
    overflow: auto;
    background: transparent;
    color: inherit;
    font: 9px/12px "DejaVu Sans Mono",Menlo,Consolas,"Courier New",monospace;
}
#EMU_pasteboardScriptConsole output {
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}
#EMU_pasteboardScriptConsole .command {
    display: flex;
    align-items: baseline;
    min-width: 0;
}
#EMU_pasteboardScriptConsole .prompt {
    flex: 0 0 auto;
    margin-right: 5px;
}
#EMU_pasteboardScriptConsole .input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    color: inherit;
    background: transparent;
    font: inherit;
}
#EMU_pasteboardScriptConsoleFallback {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 6px;
    border: 0;
    background: transparent;
    color: inherit;
    box-sizing: border-box;
    resize: none;
    font: inherit;
}
.EMU_pasteboardScriptNote {
    padding: 2px 5px;
    color: #555;
    font: 10px/14px arial,sans-serif;
}
