/*! supertwentyplus licence: (c) 2026 Supertwentyplus Pte. Ltd. All rights reserved. Proprietary, not open source.
   Use only as provided on supertwentyplus.com (free or by subscription, under its Terms). Copying, reuse or hosting elsewhere,
   in whole or in part, needs a written licence: supertwentyplus@gmail.com. See LICENSE.txt at the site root. */
/* Syntax Coder */
.sc-app { --sc-ed: #0f1726; --sc-ed2: #16213a; --sc-edline: #263352; --sc-text: #dbe4f3; --sc-dim: #8193b2; --sc-kw: #7fb4ff; --sc-str: #9fe0a0; --sc-num: #ffc878; --sc-com: #7d8aa3; --sc-blue: #2563eb;
  display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.sc-bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px 8px; align-items: end; }
.sc-pick { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.sc-pick select { min-height: 44px; width: 100%; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; }
.sc-ex { grid-column: 1 / -1; }
.sc-swap { min-height: 44px; width: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.sc-swap .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-panes { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sc-pane { display: flex; flex-direction: column; min-width: 0; border-radius: 12px; overflow: hidden; background: var(--sc-ed); border: 1px solid var(--sc-edline); }
.sc-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; background: var(--sc-ed2); color: var(--sc-text); font-size: 14px; border-bottom: 1px solid var(--sc-edline); min-height: 44px; flex-wrap: wrap; }
.sc-head strong { font-weight: 600; }
.sc-detected { color: var(--sc-dim); font-size: 13px; flex: 1; }
.sc-btns { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.sc-mini { min-height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--sc-edline); background: transparent; color: var(--sc-text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.sc-mini:hover { background: #1f2c4a; }
.sc-bin { background: var(--sc-blue); border-color: var(--sc-blue); color: #fff; }
.sc-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace; font-size: 13.5px; line-height: 1.55; tab-size: 4; }
textarea.sc-code { display: block; width: 100%; min-height: 300px; resize: vertical; border: 0; padding: 12px; background: var(--sc-ed); color: var(--sc-text); outline: none; white-space: pre; overflow: auto; }
textarea.sc-code::placeholder { color: var(--sc-dim); }
.sc-out { margin: 0; padding: 12px; min-height: 300px; max-height: 70vh; overflow: auto; color: var(--sc-text); background: var(--sc-ed); white-space: pre; }
.sc-out:focus-visible, textarea.sc-code:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.sc-out .k { color: var(--sc-kw); } .sc-out .s { color: var(--sc-str); } .sc-out .n { color: var(--sc-num); } .sc-out .c { color: var(--sc-com); font-style: italic; }
.sc-out .err { color: #ffb4b4; white-space: pre-wrap; }
.sc-status { font-size: 14px; color: var(--ink-2); min-height: 1.2em; }
.sc-status.bad { color: #c62828; font-weight: 600; }
.sc-notes { margin: 0; padding: 0 0 0 18px; font-size: 14px; color: var(--ink-2); display: grid; gap: 4px; }
.sc-notes:empty { display: none; }
.sc-check, .sc-help { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.sc-check > summary, .sc-help > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; min-height: 44px; }
.sc-check[open] > summary, .sc-help[open] > summary { border-bottom: 1px solid var(--line); }
.sc-run { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px 14px 4px; }
.sc-inlab { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sc-inbox { min-height: 90px !important; border-radius: 10px; }
.sc-runout { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sc-go { align-self: flex-start; min-height: 44px; padding: 0 24px; border-radius: 10px; border: 0; background: var(--sc-blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.sc-printout { margin: 0; min-height: 90px; max-height: 320px; overflow: auto; padding: 10px 12px; border-radius: 10px; background: #0b111d; color: #c8f7c5; white-space: pre-wrap; }
.sc-small { font-size: 13px; color: var(--ink-2); margin: 8px 14px 12px; }
.sc-helpgrid { display: grid; grid-template-columns: 1fr; gap: 4px 20px; padding: 4px 14px 8px; }
.sc-helpgrid h3 { font-size: 15px; margin: 10px 0 4px; }
.sc-helpgrid ul { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 3px; }
.sc-helpgrid .sc-small { margin: 8px 0; }
@media (min-width: 640px) {
  .sc-bar { grid-template-columns: 1fr auto 1fr; }
  .sc-run { grid-template-columns: minmax(180px, 1fr) 2fr; }
  .sc-helpgrid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .sc-bar { grid-template-columns: 1fr auto 1fr 1fr 1fr; }
  .sc-ex { grid-column: auto; }
  .sc-panes { grid-template-columns: 1fr 1fr; }
  textarea.sc-code, .sc-out { min-height: 460px; }
  .sc-out { max-height: 640px; }
}
.sc-asks { margin: 0; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.sc-asks:empty { display: none; }
.sc-noin { margin: 0; font-size: 14px; color: var(--ink-2); align-self: start; }
.sc-run.no-input { grid-template-columns: 1fr; }
