/* Public toolkit additions. No remote fonts or configuration are required. */
.toolkit-credit { margin: 28px 0 0; padding: 18px 0; border-top: 1px solid var(--border); font-size: 12px; text-align: center; }
.toolkit-credit a { color: var(--text-2); text-decoration: none; }
.toolkit-credit a:hover { color: var(--text-1); text-decoration: underline; }
.external-tool { max-width: 720px; padding: 36px; }
.external-tool h2 { font-size: 24px; margin: 14px 0; }
.external-tool p { max-width: 540px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.external-tool a { text-decoration: none; }
.external-icon { color: var(--info); font-size: 48px; }
.error { color: var(--danger); }
.nav-item:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.brand-sub { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 180px 1fr; }
  .main { padding: 20px 18px 48px; }
  .bread { display: none; }
  .tool-3col, .tool-wide-params, .tool-canvas-major { grid-template-columns: 1fr; }
  .pane-head-row { align-items: flex-start; gap: 14px; }
}
@media (max-width: 600px) {
  .app { display: flex; flex-direction: column; height: auto; min-height: 100vh; }
  .topbar { padding: 10px 12px; min-height: 52px; }
  .brand-text { font-size: 12px; }
  .brand-mark { width: 18px; height: 18px; }
  .sidebar { flex-direction: row; flex-wrap: wrap; gap: 3px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--border); overflow: visible; }
  .side-label, .side-footer { display: none; }
  .nav-item { padding: 7px 9px; font-size: 12px; }
  .main { overflow: visible; padding: 18px 12px 36px; }
  .pane-title { font-size: 21px; }
  .external-tool { padding: 24px; }
  .panel-title { letter-spacing: .04em; }
  .btn { white-space: normal; }
}

/* wery.ai brand: monochrome with the pink "wery." dot as accent (matches index.html) */
@font-face { font-family: "Quicksand"; src: url("fonts/Quicksand-VF.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
body.bifrost-shell, body.workbench-app {
  --accent: #0a0a0a; --accent-hover: #262626; --accent-soft: #f4f4f5; --border-accent: rgba(10,10,10,.35);
  --wb-primary: #0a0a0a; --wb-primary-2: #f44583; --wb-bg: #fafafa; --wb-surface-2: #fafafa; --wb-line: #e7e7e7; --wb-line-strong: #d4d4d4;
  --bg-0: #fafafa; --bg-2: #f4f4f5; --bg-3: #ececec; --border: #e7e7e7; --border-strong: #d4d4d4;
  --text-1: #0a0a0a; --text-2: #404040; --text-3: #737373;
  --tab-collage: #0a0a0a; --tab-compress: #0a0a0a; --tab-cropper: #0a0a0a; --tab-compare: #0a0a0a; --tab-cover: #0a0a0a; --tab-bgremove: #f44583;
}
body.bifrost-shell .brand, body.workbench-app .brand { gap: 12px; }
body.bifrost-shell .brand-logo, body.workbench-app .brand-logo { height: 36px; width: auto; display: block; }
body.bifrost-shell .brand-text, body.workbench-app .brand-text { font-family: "Quicksand", ui-rounded, sans-serif; font-weight: 700; font-size: 16px; padding-left: 12px; border-left: 1px solid var(--border-strong); }
body.bifrost-shell .brand-sep, body.workbench-app .brand-sep { display: none; }
body.bifrost-shell .pane-title, body.workbench-app .pane-title { font-family: "Quicksand", ui-rounded, sans-serif; font-weight: 700; }
body.bifrost-shell .pane-title::after, body.workbench-app .pane-title::after { content: "."; color: #f44583; }
body.bifrost-shell .eyebrow, body.workbench-app .eyebrow { --eb-c: #737373; }
body.bifrost-shell .btn, body.workbench-app .btn { border-radius: 999px; }
body.bifrost-shell .btn-primary, body.workbench-app .btn-primary { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
body.bifrost-shell .btn-primary:hover:not(:disabled), body.workbench-app .btn-primary:hover:not(:disabled) { background: #262626; border-color: #262626; }
body.bifrost-shell .nav-item.active, body.workbench-app .nav-item.active { background: #fff; box-shadow: 0 0 0 1px #e7e7e7, 0 1px 2px rgba(10,10,10,.06); }
body.bifrost-shell .panel-title, body.workbench-app .panel-title { color: #0a0a0a; }
