/* Simplified Blueprint: neutral navy workspace with cyan interface accents. */
:root {
  --bb-chrome: #14283c;
  --bb-toolbar: #203c53;
  --bb-accessbar: #152b3f;
  --bb-panel: #1b3043;
  --bb-panel-head: #243e53;
  --bb-recessed: #122536;
  --bb-recessed2: #193247;
  --bb-canvas: #344856;
  --bb-border: #0e202f;
  --bb-border-light: #526e80;
  --bb-text: #e8e8e8;
  --bb-text-dim: #9a9a9a;
  --bb-text-disabled: #6a6a6a;
  --bb-accent: #62d9f5;
  --bb-accent-hover: #a4edfc;
  --bb-accent-dim: rgba(98, 217, 245, 0.25);
  --bb-hover: rgba(255, 255, 255, 0.08);
  --bb-active: rgba(98, 217, 245, 0.16);
  --bb-danger: #d9534f;
  --bb-handle-yellow: #ffd800;
  --bb-handle-orange: #ff8c00;
  --bb-handle-purple: #b464ff;
  --bb-handle-green: #4caf50;
  --bb-font: "Segoe UI", "Segoe UI Variable", Tahoma, Arial, sans-serif;
  --bb-font-size: 12px;
  --bb-font-size-sm: 11px;
  --bb-menubar-h: 26px;
  --bb-proptoolbar-h: 34px;
  --bb-navbar-h: 30px;
  --bb-statusbar-h: 24px;
  --bb-tabbar-h: 28px;
  --bb-accessbar-w: 38px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; height: 100%; overflow: hidden;
  font-family: var(--bb-font); font-size: var(--bb-font-size);
  color: var(--bb-text); background: var(--bb-chrome);
  user-select: none; -webkit-user-select: none;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bb-recessed); }
::-webkit-scrollbar-thumb { background: #5a5a5a; border: 2px solid var(--bb-recessed); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #6e6e6e; }
::-webkit-scrollbar-corner { background: var(--bb-recessed); }

button, input, select, textarea { font-family: var(--bb-font); font-size: var(--bb-font-size); }
input[type="text"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
  background: var(--bb-recessed); color: var(--bb-text);
  border: 1px solid var(--bb-border-light); border-radius: 2px;
  padding: 3px 6px; outline: none;
}
input[type="text"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
  border-color: var(--bb-accent);
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--bb-accent); }
input[type="range"] { accent-color: var(--bb-accent); }

.bb-btn {
  background: var(--bb-toolbar); color: var(--bb-text);
  border: 1px solid var(--bb-border-light); border-radius: 2px;
  padding: 4px 14px; cursor: pointer;
}
.bb-btn:hover { background: #545454; }
.bb-btn:active { background: var(--bb-active); }
.bb-btn.bb-primary { background: var(--bb-accent); border-color: var(--bb-accent); color: #102536; }
.bb-btn.bb-primary:hover { background: var(--bb-accent-hover); }
.bb-btn:disabled { opacity: 0.45; cursor: default; }

.bb-icon { display: inline-flex; align-items: center; justify-content: center; }
.bb-icon svg { width: 16px; height: 16px; stroke: #cfcfcf; fill: none; stroke-width: 1.5; }
.bb-icon.bb-active svg, .bb-iconbtn.bb-active svg { stroke: var(--bb-accent-hover); }

.bb-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 2px; cursor: pointer; border: none;
  background: transparent; padding: 0; position: relative;
}
.bb-iconbtn:hover { background: var(--bb-hover); }
.bb-iconbtn.bb-active { background: var(--bb-active); box-shadow: inset 0 0 0 1px var(--bb-accent); }
.bb-iconbtn svg { width: 17px; height: 17px; stroke: #cfcfcf; fill: none; stroke-width: 1.5; }
.bb-iconbtn:disabled { opacity: 0.4; cursor: default; }
.bb-iconbtn:disabled:hover { background: transparent; }

.bb-sep { width: 1px; align-self: stretch; margin: 4px 3px; background: var(--bb-border-light); opacity: 0.6; }
.bb-flex-spacer { flex: 1; }
[hidden] { display: none !important; }
.bb-tool-art { border-radius: 3px; }
.bb-tool-art .bb-tool-bitmap { stroke: none; }
.bb-tool-art.bb-art-loaded .bb-tool-fallback { display: none; }
.bb-tool-art .bb-tool-fill { stroke: #d6e3eb; stroke-width: .6; }
.bb-iconbtn:focus-visible { outline: 2px solid var(--bb-accent); outline-offset: 1px; }
