/* integrations/: the hero with the apps' real icons floating, then one section per agent and editor family while an alert on the right changes with the section in view */

/* ---- the hero: text left, the icons right ---- */
/* centred, as the app's first-run screen is: a band of floating icons across the top, then the heading, the line and the buttons, all centred under it */
.ig-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(24px, 3vw, 56px); }
.ig-hero > .ig-art { order: -1; }
.ig-hero .pg-h1 { max-width: 20ch; margin-inline: auto; margin-top: clamp(8px, 1.5vw, 24px); }
.ig-hero .pg-lede { margin-inline: auto; max-width: 62ch; }
.ig-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: clamp(22px, 2.6vw, 36px); }
/* the second action is a line of text, not a button: the steps to secure an agent are the next thing on the page */
.ig-textbtn { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); transition: text-decoration-color 0.2s ease, color 0.2s ease; }
.ig-textbtn .ui-pic { font-size: 16px; transition: transform 0.25s var(--ease); }
.ig-textbtn:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.ig-textbtn:hover .ui-pic { transform: translateX(3px); }

/* the art: the apps' own icons (the same ones the app's onboarding floats), each bobbing on its own beat and leaning toward the pointer. Decorative. */
.ig-art { position: relative; width: min(1040px, 100%); height: clamp(230px, 27vw, 340px); }
.ig-scene { --px: 0; --py: 0; --k: 1; position: absolute; inset: 0; }
@media (max-width: 1100px) { .ig-scene { --k: 0.85; } }
@media (max-width: 760px) { .ig-scene { --k: 0.62; } }
@media (max-width: 520px) { .ig-scene { --k: 0.46; } }
.ig-orb { --sz: calc(var(--s) * var(--k, 1)); position: absolute; left: var(--x); top: var(--y); width: var(--sz); height: var(--sz); margin: calc(var(--sz) / -2) 0 0 calc(var(--sz) / -2); transform: translate(calc(var(--px) * var(--z) * -0.35px), calc(var(--py) * var(--z) * -0.25px)); transition: transform 0.3s ease-out; will-change: transform; }
.ig-orb-body { position: absolute; inset: 0; transform: rotate(var(--rot)); animation: ig-float var(--t) ease-in-out var(--d) infinite; }
@keyframes ig-float { 50% { transform: translateY(-10px) rotate(calc(var(--rot) * -1)); } }
/* each picture is the 256px icon on a 352px canvas with its soft shadow baked in: it hangs out of the box by 18.75% on every side */
.ig-orb img { position: absolute; inset: -18.75%; width: 137.5%; height: 137.5%; max-width: none; object-fit: contain; user-select: none; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ig-orb-body { animation: none; } .ig-orb { transition: none; } }
@media (max-width: 760px) { .ig-art { height: 210px; } }
@media (max-width: 520px) { .ig-art { height: 160px; } }

/* ---- the flow: sections on the left, the alert held on the right ---- */
/* the two columns sit together as one centred block, not at the page's two edges. The right column is narrow (an alert, a chat, a request window); only while an
   editor section is in view (pages-integrations.js adds .is-wide) it opens up to hold the editor's whole window, and the page closes it again after. */
.ig-flow { display: grid; grid-template-columns: minmax(0, 1fr) clamp(420px, 32vw, 460px); gap: clamp(32px, 4vw, 72px); align-items: start; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); transition: grid-template-columns 0.5s var(--ease), max-width 0.5s var(--ease); }
.ig-flow.is-wide { grid-template-columns: minmax(0, 1fr) clamp(520px, 46vw, 700px); max-width: 1560px; }
@media (max-width: 1100px) { .ig-flow, .ig-flow.is-wide { grid-template-columns: minmax(0, 1fr); } .ig-stage { display: none; } }
@media (prefers-reduced-motion: reduce) { .ig-flow { transition: none; } }
.ig-secs { min-width: 0; }
.ig-sec { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 0; padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + 12px); }
.ig-sec:first-child { border-top: 0; }
.ig-sec-head { display: flex; align-items: center; gap: 12px; }
/* the apps' icons come with 18.75% of padding baked in: at 112px the icon itself is about 82px, and the padding is pulled back so the text sits close */
.ig-sec-head img { flex: none; width: 112px; height: 112px; margin: -14px -10px -14px -14px; object-fit: contain; }
.ig-kind { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ig-secs .pg-p { max-width: 68ch; }
.ig-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ig-facts > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.ig-facts dt { color: var(--muted); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; padding-top: 2px; }
.ig-facts dd { margin: 0; }
.ig-facts code, .ig-inline { font-family: var(--font-mono); font-size: 0.92em; padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); white-space: nowrap; }
@media (max-width: 640px) { .ig-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* editors in a family: small tiles with the icon and the name */
.ig-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.ig-tiles li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 14px; background: var(--panel); }
.ig-tiles img { width: 20px; height: 20px; object-fit: contain; }

/* the stage: the app's alert, held while the page scrolls past its section */
.ig-stage { position: sticky; top: calc(var(--bar-h) + 6dvh); align-self: start; display: flex; flex-direction: column; gap: 14px; }
.ig-stage .notif-card { width: 100%; zoom: 1; box-shadow: inset 0 1px 0 var(--glass-hi), 0 34px 60px -22px rgba(0, 0, 0, 0.5), 0 12px 24px -12px rgba(0, 0, 0, 0.3); animation: none; }
/* the heading over the example and a line under it saying what it shows; each has a fixed room so the card does not jump as the section changes */
.ig-stage-title { margin: 0; font-size: clamp(21px, 1.7vw, 26px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; color: var(--ink); text-wrap: balance; min-height: 2.36em; display: flex; align-items: flex-end; }
/* an editor section: the editor itself fills the stage, taller than it was in the text column, and its alerts land one after the other when you arrive */
.ig-stage .ig-shot { height: 440px; margin-top: 0; }
@media (max-width: 1240px) { .ig-stage .vsc { grid-template-columns: 34px minmax(0, 1fr); } .ig-stage .vsc-side { display: none; } }
.ig-in { opacity: 0; }
.ig-play .ig-in { animation: ig-land 0.7s var(--ease) both; animation-delay: calc(0.35s + var(--i, 0) * 0.8s); }
@keyframes ig-land { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.ig-play .vsc-status b, .ig-play .jb-tw-h .r { animation: ig-flash 0.9s ease 1s 2; }
@keyframes ig-flash { 50% { filter: brightness(1.7); } }
@media (prefers-reduced-motion: reduce) { .ig-in { opacity: 1; animation: none !important; } .ig-play .vsc-status b, .ig-play .jb-tw-h .r { animation: none; } }
.ig-view { transition: opacity 0.25s ease, transform 0.35s var(--ease); }
.ig-view.is-swap { opacity: 0; transform: translateY(8px); }

/* an agent section: the agent itself, as a plain exchange (neutral, not any one vendor's chat window) */
.ig-chat { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.35); overflow: hidden; }
.ig-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ig-chat-icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; }
.ig-chat-icon img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.375); }
.ig-chat-name { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.ig-chat-on { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: 0.04em; color: var(--muted); }
.ig-chat-on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.ig-chat-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 16px; }
.ig-msg { margin: 0; max-width: 92%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; text-wrap: pretty; }
.ig-msg--me { align-self: flex-end; background: color-mix(in srgb, var(--accent) 14%, transparent); border-bottom-right-radius: 4px; }
.ig-msg--agent { align-self: flex-start; background: var(--hover-tint); border-bottom-left-radius: 4px; }
.ig-msg--agent p { margin: 0; }
.ig-msg strong, .ig-row-title strong { font-weight: 700; color: var(--ink); }   /* the vault's name, bold (pages-integrations.js builds it from **name**) */
.ig-row-title strong { font-weight: 800; }
/* the agent's own status line while it works: the word in amber, the timing dim, mono (a joke at the agent's expense) */
.ig-status { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }   /* one line, always */
.ig-status-word { color: var(--warning); }
.ig-spin { display: inline-block; width: 1.5ch; margin-right: 0.3ch; text-align: center; color: var(--warning); }   /* a fixed box: the glyph changes shape, the text beside it does not move */
/* the small Activity widget under the exchange: the row that lands in the app's Activity */
.ig-row-card { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); }
.ig-row-h { font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); }
.ig-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; }
.ig-row-icon { flex: none; width: 32px; height: 32px; display: grid; place-items: center; }
.ig-row-icon img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.375); }
.ig-row-title { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.ig-row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.ig-row-meta .ig-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.ig-stage [hidden] { display: none; }
/* the Touched row and the logos in it (these live in next.css on the landing, which these pages do not load) */
.ig-stage .notif-fact-touched { display: flex; align-items: center; gap: 10px; }
.ig-stage .notif-touched-app { flex-shrink: 0; display: grid; }
.ig-stage .notif-touched-app .sup-logo { width: 18px; height: 18px; padding: 0; border-radius: 0; background: none; box-shadow: none; object-fit: contain; flex-shrink: 0; }
.ig-cap { margin: -4px 0 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); min-height: 3em; text-wrap: pretty; }
/* the access-request window's own parts (AccessRequestWindow.css, HoldControls.css, AppImageWindow.css in the app), in the app's measures */
.ig-stage .notif-actions--two { grid-template-columns: 1fr 1fr; }
.ig-stage .notif-card--warning { --sev: var(--warning); }
.ar-chain { display: flex; align-items: center; gap: 4px; overflow: hidden; }
.ar-chain-link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ar-chain-link + .ar-chain-link::before { content: "›"; margin-right: 2px; color: var(--muted); }
.ig-stage .notif-actor.ar-vault { margin-top: 12px; }
/* flat official marks, each on the same light square tile (no glossy bezel): a tall mark (opencode) and a round one (1Password) read as a pair, in either theme */
.ig-stage .notif-actor-icon.ig-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #f6f6f8; box-shadow: inset 0 0 0 1px rgba(16, 24, 44, 0.12); }
.ig-stage .notif-actor-icon.ig-mark img { width: 22px; height: 22px; object-fit: contain; }
.ar-reason { margin: 14px 0 0; padding: 8px 12px; border-left: 2px solid var(--sev); border-radius: 0 8px 8px 0; background: var(--panel); }
.ar-reason-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--muted); }
.ar-reason-text { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; font-style: italic; color: var(--ink); }
.ig-stage .ai-win-lead { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.allow-choices { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.allow-choices-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--muted); }
.allow-choices-bar { display: flex; padding: 2px; gap: 2px; border: 1px solid var(--line); border-radius: 9px; }
.allow-choice { flex: 1 1 auto; padding: 5px 6px; border: 0; background: none; border-radius: 7px; font-family: var(--font-mono); font-size: 10.5px; text-align: center; white-space: nowrap; color: var(--muted); cursor: pointer; transition: color 0.15s, background 0.15s; }
.allow-choice:hover:not(:disabled):not(.allow-choice--on) { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.allow-choice:focus-visible, .ar-switch:focus-visible, .ig-stage .ui-btn:focus-visible { outline: 2px solid var(--accent, #3b82f6); outline-offset: 2px; }
.allow-choice:disabled { cursor: default; }
.allow-choice--on { color: var(--ink); font-weight: 600; background: var(--panel-hi); box-shadow: inset 0 0 0 1px var(--glass-border), 0 6px 14px -8px var(--glass-drop); }
.ai-win-move { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.ai-win-move > div { flex: 1; min-width: 0; }
.ai-win-move-title { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ai-win-move-hint { margin-top: 2px; font-size: 11px; line-height: 1.45; color: var(--muted); }
.ar-switch { position: relative; flex: none; width: 34px; height: 20px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: background 0.2s; }
.ar-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.ar-switch[aria-checked="true"] { background: var(--accent, #3b82f6); }
.ar-switch[aria-checked="true"]::after { transform: translateX(14px); }
.ar-switch:disabled { cursor: default; opacity: 0.6; }
.ig-stage .ui-btn { cursor: pointer; font: inherit; border: 0; background: none; }
.ig-stage .ui-btn .ui-btn-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ig-stage .ui-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.ig-stage .ui-btn:hover:not(:disabled) { filter: brightness(1.06); }
.ig-stage .ui-btn:active:not(:disabled) { transform: translateY(1px); }
.ar-outcome { margin: 0; padding: 14px 18px 16px; font-size: 11px; letter-spacing: 0.06em; text-align: center; color: var(--critical); animation: ar-in 0.25s ease both; }
.is-allowed .ar-outcome { color: var(--good); }
@keyframes ar-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ar-outcome { animation: none; } .ar-switch, .ar-switch::after { transition: none; } }
.ar-timer { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.ar-timer .ui-pic { font-size: 13px; }

/* ---- the editors' own interfaces, drawn as live markup in each editor's dark palette (the editor's colours, not the page's) ---- */
.ig-shot { margin-top: 6px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(128, 128, 128, 0.35); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.6); font-family: "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif; font-size: 11.5px; line-height: 1.4; text-align: left; color-scheme: dark; }
.ig-shot * { box-sizing: border-box; }
.ig-shot-cap { margin-top: 10px; max-width: 68ch; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* VS Code (Dark Modern) */
.vsc { --bg: #1f1f1f; --side: #181818; --line: #2b2b2b; --fg: #cccccc; --dim: #9d9d9d; --link: #3794ff; --btn: #0078d4; --ok: #3fb950; --bad: #f85149;
  display: grid; grid-template-columns: 34px 190px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 20px; background: var(--bg); color: var(--fg); height: 330px; }
.vsc-act { grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 12px; background: #181818; border-right: 1px solid var(--line); }
.vsc-act .ui-pic { font-size: 19px; color: #8b8b8b; }
.vsc-act b { font-size: 15px; color: #fff; letter-spacing: -0.04em; margin-top: auto; margin-bottom: 8px; }
.vsc-act b em { color: var(--bad); font-style: normal; }
.vsc-side { grid-row: 1; padding: 10px; background: var(--side); border-right: 1px solid var(--line); overflow: hidden; }
.vsc-h { font-size: 10.5px; letter-spacing: 0.02em; color: var(--dim); margin-bottom: 8px; }
.vsc-card { display: flex; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 6px; background: #1f1f1f; }
.vsc-card b { font-size: 17px; line-height: 1; color: #fff; letter-spacing: -0.04em; } .vsc-card b em { color: var(--bad); font-style: normal; }
.vsc-card strong { display: block; font-size: 12px; font-weight: 600; color: #fff; } .vsc-card span { color: var(--dim); font-size: 10.5px; }
.vsc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.vsc-stats > div { padding: 7px; border: 1px solid var(--line); border-radius: 6px; font-size: 9.5px; color: var(--dim); line-height: 1.25; }
.vsc-stats b { display: block; font-size: 15px; font-weight: 500; color: #fff; } .vsc-stats .red b { color: var(--bad); }
.vsc-row { display: flex; gap: 7px; margin-top: 9px; padding: 7px; border: 1px solid var(--line); border-radius: 6px; font-size: 10.5px; color: var(--fg); }
.vsc-row .vsc-rowic { flex: none; font-size: 14px; margin-top: 1px; color: #c5c5c5; }
.vsc-row small { display: block; color: var(--ok); font-size: 10px; }
.vsc-main { grid-row: 1; padding: 0 14px; overflow: hidden; }
.vsc-tabs { display: flex; align-items: center; gap: 14px; height: 34px; white-space: nowrap; overflow: hidden; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: 0.02em; color: var(--dim); }
.vsc-tabs .on { color: #fff; box-shadow: inset 0 -2px 0 var(--btn); height: 34px; display: inline-flex; align-items: center; gap: 6px; }
.vsc-tabs em { padding: 0 5px; border-radius: 8px; background: #3a3a3a; font-style: normal; color: #fff; }
.vsc-tabs .r { margin-left: auto; letter-spacing: 0; display: flex; gap: 12px; } .vsc-tabs .r b { color: var(--ok); font-weight: 400; } .vsc-tabs .r a { color: var(--link); }
.vsc-main h4 { margin: 12px 0 0; font-size: 17px; font-weight: 600; color: #fff; }
.vsc-main > p { margin: 3px 0 10px; font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 10px; color: var(--dim); }
.vsc-alert { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-bottom: 0; background: #1b1b1b; }
.vsc-alert:last-of-type { border-bottom: 1px solid var(--line); }
.vsc-alert .st { color: var(--ok); font-weight: 600; display: flex; gap: 5px; align-items: flex-start; } .vsc-alert .st::before { content: ""; width: 6px; height: 6px; margin-top: 4px; border-radius: 50%; background: var(--ok); }
.vsc-alert strong { display: block; font-weight: 600; color: #fff; font-size: 11.5px; }
.vsc-alert .via, .jb-alert .via { display: flex; align-items: center; gap: 12px; margin-top: 3px; color: var(--dim); font-size: 10px; white-space: nowrap; overflow: hidden; }
.vsc-ext, .vsc-vault { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.vsc-ext .ui-pic { font-size: 12px; color: #c5c5c5; }
.vsc-vault img { width: 12px; height: 12px; object-fit: contain; }
.vsc-btns { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.vsc-btns span { padding: 3px 9px; border-radius: 2px; background: #3a3a3a; color: #fff; font-size: 10.5px; white-space: nowrap; } .vsc-btns span.p { background: var(--btn); } .vsc-btns span.l { background: none; color: var(--link); padding-inline: 4px; }
.vsc-status { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; background: #181818; border-top: 1px solid var(--line); font-size: 10px; color: var(--dim); }
.vsc-status b { padding: 2px 10px; background: #b32a2a; color: #fff; font-weight: 500; }
@media (max-width: 560px) { .vsc { grid-template-columns: 30px minmax(0, 1fr); } .vsc-side { display: none; } }

/* JetBrains (New UI, dark): the antitheft tool window at the foot of the IDE */
.jb { --bg: #1e1f22; --panel: #2b2d30; --line: #393b40; --fg: #dfe1e5; --dim: #868a91; --link: #548af7; --btn: #3574f0; --ok: #5fb865; --bad: #f75464;
  display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: 28px minmax(0, 1fr); background: var(--bg); color: var(--fg); height: 330px; }
.jb-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: var(--panel); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--dim); }
.jb-top b { color: var(--fg); font-weight: 500; }
.jb-strip { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 10px; background: var(--panel); border-right: 1px solid var(--line); }
.jb-strip .ui-pic { font-size: 17px; color: #8a8f98; } .jb-strip .ui-pic.on { color: var(--link); }
.jb-body { display: grid; grid-template-rows: 78px minmax(0, 1fr); min-width: 0; }
.jb-code { padding: 10px 14px; font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 10.5px; line-height: 1.7; color: #a9b7c6; border-bottom: 1px solid var(--line); overflow: hidden; }
.jb-code span { color: #cc7832; } .jb-code em { color: #6a8759; font-style: normal; }
.jb-tw { display: flex; flex-direction: column; min-height: 0; background: var(--bg); }
.jb-tw-h { display: flex; align-items: center; gap: 14px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--dim); }
.jb-tw-h strong { color: var(--fg); font-weight: 600; margin-right: 4px; } .jb-tw-h .on { color: var(--fg); box-shadow: inset 0 -2px 0 var(--btn); height: 30px; display: inline-flex; align-items: center; }
.jb-tw-h .r { margin-left: auto; color: var(--ok); display: flex; gap: 6px; align-items: center; } .jb-tw-h .r::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.jb-tw-b { padding: 10px 12px; overflow: hidden; }
.jb-tw-b h4 { margin: 0; font-size: 14px; font-weight: 600; color: #fff; } .jb-tw-b > p { margin: 2px 0 8px; font-size: 10.5px; color: var(--dim); }
.jb-alert { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); margin-bottom: 6px; }
.jb-alert .st { color: var(--ok); font-weight: 600; display: flex; gap: 5px; } .jb-alert .st::before { content: ""; width: 6px; height: 6px; margin-top: 4px; border-radius: 50%; background: var(--ok); }
.jb-alert strong { display: block; font-weight: 600; color: #fff; font-size: 11.5px; }
.jb-btns { display: flex; gap: 6px; margin-top: 6px; } .jb-btns span { white-space: nowrap; padding: 3px 10px; border-radius: 4px; border: 1px solid #4e5157; font-size: 10.5px; color: var(--fg); } .jb-btns span.p { background: var(--btn); border-color: var(--btn); color: #fff; }
