/* tools/assets/compiler.css - online compiler pages */
.tools-page .tools-switch { min-width: 190px; }
.tools-card { border: 1px solid #d9d0bb; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(30,42,74,.06); }
.tools-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: #f6f1e4; border-bottom: 1px solid #e3dbc6; }
.tools-file { font: 600 .8rem/1 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; color: #55607a; background: #fff; border: 1px solid #e3dbc6; border-radius: 6px; padding: 6px 9px; }
.tools-editor .CodeMirror { height: 400px; font: 14px/1.5 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; }
.tools-editor .CodeMirror-scroll { min-height: 200px; }
.tools-io { border-top: 1px solid #e3dbc6; }
.tools-pane { min-width: 0; }
.tools-io .tools-pane + .tools-pane { border-left: 1px solid #e3dbc6; }
.tools-pane-full { border-top: 1px solid #e3dbc6; }
.tools-pane-h { padding: 6px 12px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #55607a; background: #fbf8ef; border-bottom: 1px solid #efe8d5; }
.tools-stdin { display: block; width: 100%; height: 190px; border: 0; resize: vertical; padding: 10px 12px; font: 13.5px/1.5 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; outline: none; }
.tools-out { margin: 0; padding: 10px 12px; height: 190px; overflow: auto; background: #0f1629; color: #e6edf7; font: 13.5px/1.5 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; border-radius: 0; }
.tools-out-sm { height: 130px; }
.tools-out .o-err { color: #ff8a8a; }
.tools-out .o-ok  { color: #8be28b; }
.tools-out .o-dim { color: #9aa7bd; }
.tools-preview { display: block; width: 100%; height: 340px; border: 0; background: #fff; }
.tools-side { position: sticky; top: 84px; }
.tools-promo { background: #fff4de; border: 1px solid #f1d9a6; border-radius: 12px; padding: 14px; }
.tools-card.is-full { position: fixed; inset: 0; z-index: 2000; border-radius: 0; display: flex; flex-direction: column; overflow: auto; }
.tools-card.is-full .tools-editor .CodeMirror { height: 52vh; }
kbd { font-size: .78rem; }
@media (max-width: 767px) {
  .tools-io .tools-pane + .tools-pane { border-left: 0; border-top: 1px solid #e3dbc6; }
  .tools-editor .CodeMirror { height: 320px; font-size: 13px; }
  .tools-stdin, .tools-out { height: 160px; }
  .tools-page .tools-switch { width: 100%; }
}
/* hub page */
.tools-hub-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e3dbc6; border-radius: 12px; background: #fff; text-decoration: none; color: inherit; height: 100%; transition: box-shadow .15s, transform .15s; }
.tools-hub-card:hover { box-shadow: 0 6px 18px rgba(30,42,74,.12); transform: translateY(-2px); color: inherit; }
.tools-ext { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; background: #1E2A4A; color: #E8952E; display: grid; place-items: center; font: 700 .78rem/1 'JetBrains Mono', ui-monospace, monospace; text-transform: lowercase; }
.tools-hub-card strong { display: block; font-size: .98rem; }
.tools-hub-card span.t { font-size: .8rem; color: #6b7280; }
