/* Cutline 2031 Dark theme (shell). Generated from the approved theme layers; cosmetic only. */

/* ---- common.css ---- */
/* Cutline "Drafting Black" theme layer: shared by the shell, CAM and Machine pages.
   Cosmetic only: colors, borders, radii, type treatment. No sizes that move layout. */
html:root {
  --ink: #e6e6e6; --muted: #a0a3a9; --dim: #7c8087;
  --chrome: #0b0c0e; --stage: #000000; --panel: #111214; --panel-2: #1b1c1f; --card: #16171a;
  --line: #2b2d31; --line-2: #1f2124;
  --accent: #ededed; --accent-2: #ffffff; --accent-ink: #0b0c0e; --ai: #ededed;
  --green: #4fbf6a; --warm: #e3a43c; --danger: #f0686b; --red: #e2383f; --blue: #5b9ef0; --brand: #ededed;
  --glow: 0 0 0 1px #ededed;
  --focus: 0 0 0 1.5px #ededed;
  --row-a: #141517; --row-b: #111214;
}
html, body { background: var(--chrome); }
::selection { background: rgba(255,255,255,.22); }
::-webkit-scrollbar-thumb { background: #2b2d31 !important; border-radius: 3px !important; border-color: transparent !important; }

/* buttons */
button { background: var(--panel-2) !important; background-image: none !important; border: 1px solid var(--line) !important; border-radius: 4px !important; color: var(--ink); box-shadow: none; text-shadow: none; }
button:hover:not(:disabled) { background: #232427 !important; border-color: #3d3f44 !important; color: #fff; box-shadow: none !important; }
button:active:not(:disabled) { background: #2a2b2e !important; }
button:focus-visible { outline: none; box-shadow: var(--focus) !important; }
button:disabled { background: #141517 !important; border-color: #1f2124 !important; color: #5d6066 !important; }
button.primary, .wz-opt.primary-opt { background: transparent !important; border: 1.5px solid #e6e6e6 !important; color: #fff !important; font-weight: 600; }
button.primary:hover:not(:disabled), .wz-opt.primary-opt:hover:not(:disabled) { background: rgba(255,255,255,.07) !important; border-color: #fff !important; }
button.primary:disabled { border-color: #3a3c41 !important; color: #64676d !important; }
.wz-opt.primary-opt .o-main { color: #fff !important; } .wz-opt.primary-opt .o-sub { color: var(--muted) !important; }

/* inputs */
input, select, textarea { background: #0b0c0e !important; border: 1px solid var(--line) !important; border-radius: 4px !important; box-shadow: none !important; }
input:focus, select:focus, textarea:focus { border-color: #e6e6e6 !important; box-shadow: none !important; outline: none !important; }
input[type=checkbox], input[type=range] { accent-color: #e6e6e6 !important; background: none !important; border: 0 !important; }
kbd { background: #0b0c0e; border-color: var(--line); color: var(--muted); }

/* pills become square tags */
.pill { border-radius: 4px !important; border-color: var(--line) !important; background: var(--panel); }
.pill.cost { color: #d8d8d8 !important; }

/* cards and panels: flat, thin border, small radius */
.card, .wz-card, .step, .start-card, .ask, .confirm, .rm-box, .beta-box, #modal .box, dialog.light { background: var(--card) !important; background-image: none !important; border: 1px solid #26282b !important; border-radius: 6px !important; box-shadow: none !important; }
.note, .wz-note, .summary, .fit-status, .fit-pic, .rule-row, .piece, .wz-check, .wz-jog, .macro, .cn-row, .cn-state { background: #0f1012 !important; border: 1px solid #26282b !important; border-radius: 4px !important; }
.note.warn, .wz-note.warn, .callout { background: #241d12 !important; border-color: #6b5226 !important; color: #f0c98a !important; }
.note.bad, .wz-note.bad, .alarm, .msg.err { background: #2a1a1b !important; border-color: #6e3234 !important; color: #f6b3b4 !important; }
.note.ok, .wz-note.ok { background: #14231a !important; border-color: #2f5e3b !important; color: #a9e2b6 !important; }

/* section labels: no tracked uppercase. Title case, semibold, quiet */
.card h4, .card-h, #wz-count, .wz-step, .sc-k, .clone-kicker, .rm-body h3, .wz-ans-h, .doc h3, #keys .keys-head, #keys .keys-t, dialog h4, #ref-pip .pip-head, .who, .badge, .tb-beta, #steps button i.beta {
  text-transform: none !important; letter-spacing: 0 !important; }
.card h4, .card-h { font-size: 13px !important; font-weight: 600 !important; color: #d4d4d4 !important; }
.card-h b { color: #d4d4d4 !important; font-weight: 600 !important; }
.wz-step, .sc-k, .clone-kicker { color: var(--muted) !important; font-size: 12.5px !important; font-weight: 600 !important; }
#wz-count { font-size: 12px !important; }

/* tags (beta, demo badge) styled like datum boxes */
.tb-beta, #steps button i.beta { border-radius: 3px !important; color: #e3a43c !important; border-color: #6b5226 !important; background: #241d12; font-weight: 600; }

/* wizard options and choice rows */
.wz-opt { border-radius: 4px !important; }
.wz-opt:hover:not(:disabled), .wz-opt.on, .ask .opts button:hover:not(:disabled), .fit-num:hover, .clone-drop:hover { border-color: #e6e6e6 !important; box-shadow: none !important; }
.wz-bar, .prog, .wz-runbar, #jobbar .jb-bar { background: #1f2124 !important; border-radius: 2px !important; }
.wz-bar i { background: #e6e6e6 !important; box-shadow: none !important; }
.prog i, .wz-runbar i, #jobbar .jb-bar i { background: var(--green) !important; box-shadow: none !important; }

/* segmented controls and tabs: selected = lifted grey block */
.seg, #steps, #levels { background: #0b0c0e !important; border: 1px solid var(--line) !important; border-radius: 6px !important; }
.seg button, #steps button, #levels button { background: transparent !important; border: 0 !important; border-radius: 4px !important; box-shadow: none !important; }
.seg button.on, #steps button.on, #levels button.on { background: #2a2b2e !important; color: #fff !important; box-shadow: none !important; }
.steps button.on, .seg2 button.on, .chips button.on, .chips button.chosen, .sheets button.on, .piece .seg button.on, .wz-speed button.on, .offs button.on, .bit-row button.on, .toggle.on, .m3d-bar button.on, .tag-btn.on {
  background: #2a2b2e !important; color: #fff !important; border-color: #e6e6e6 !important; box-shadow: none !important; }

/* dialogs */
#modal, .rm-wrap, .beta-wrap, dialog::backdrop { background: rgba(0,0,0,.7) !important; backdrop-filter: none !important; }

/* status bars */
#status, #statusbar { background: var(--chrome) !important; border-top: 1px solid var(--line-2) !important; color: var(--muted) !important; }
#sb-pos, #coords { color: #e6e6e6 !important; opacity: 1 !important; }

/* lucide icons injected next to labels */
.lc { display: inline-block; width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; stroke-width: 1.75; flex: none; }
.lc.only { margin-right: 0; }
.lc.h { width: 14px; height: 14px; margin-right: 0; color: var(--muted); }

/* ---- shell.css ---- */
/* Shell: title bar, Cutline AI column, Design stage, right panel */
#titlebar { background: var(--chrome) !important; border-bottom: 1px solid var(--line-2) !important; }
#titlebar > button, #titlebar .pill { white-space: nowrap; }
#titlebar > button { background: transparent !important; border-color: transparent !important; color: #cfcfcf; }
#titlebar > button:hover:not(:disabled) { background: #1b1c1f !important; border-color: var(--line) !important; }
#btn-panel.on { background: #2a2b2e !important; color: #fff !important; border-color: transparent !important; }
.tb-name { color: #fff; font-weight: 600 !important; white-space: nowrap; }
.tb-name::before { box-shadow: none !important; }
#steps button { color: #9a9da3 !important; white-space: nowrap; }
#steps button b { border-radius: 50% !important; background: #1f2124 !important; color: #a0a3a9 !important; font-weight: 600; }
#steps button.on b { background: #ededed !important; color: #0b0c0e !important; }
#steps button.done b { background: #1f3d27 !important; color: #7fd795 !important; }
body.clonepage #steps button.clone-step, body.cloning #steps button.clone-step { color: #fff !important; }

/* AI column */
#left { background: var(--panel) !important; border-right: 1px solid var(--line-2) !important; }
#thread { gap: 14px !important; }
.msg { border-radius: 0 !important; }
.msg.claude { background: transparent !important; border: 0 !important; border-left: 2px solid #3a3c41 !important; padding: 2px 4px 2px 12px !important; max-width: 100% !important; color: #dcdcdc; }
.msg.user { background: var(--panel-2) !important; border: 1px solid var(--line) !important; border-radius: 6px !important; color: #f2f2f2; }
.msg.sys { color: var(--muted) !important; }
.who { display: inline-block; font-size: 12px !important; font-weight: 600; color: #9fe0ae !important; background: #1f3d27; border: 1px solid #3f7a4e; border-radius: 3px; padding: 0 6px; margin-bottom: 6px !important; }
.suggest button { color: #e6e6e6 !important; background: #16171a !important; border: 1px solid var(--line) !important; border-radius: 4px !important; }
.suggest button:hover { border-color: #e6e6e6 !important; }
#composer { border-top: 1px solid var(--line-2) !important; background: var(--panel); }
#btn-speak.on { color: var(--green) !important; border-color: #3f7a4e !important; }
#btn-mic.on { background: #1f3d27 !important; color: #9fe0ae !important; border-color: #3f7a4e !important; }
#btn-send.stop { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
button.askc { color: #e6e6e6 !important; background: #16171a !important; }
#vbar2 { border-radius: 4px !important; }
.vdot { box-shadow: none !important; }

/* stage */
#stage, #viewer, #design-view { background: #000 !important; }
#vbar, #cbar { background: var(--chrome) !important; border-bottom: 1px solid var(--line-2) !important; }
.tabs button { border-radius: 4px !important; background: transparent !important; border-color: transparent !important; color: #9a9da3 !important; }
.tabs button.on { background: #2a2b2e !important; color: #fff !important; border-color: transparent !important; }
#view svg { border-radius: 2px !important; box-shadow: none !important; outline: 1px solid #2b2d31; }
#issues { border-radius: 4px !important; background: #241d12 !important; border-color: #6b5226 !important; color: #f0c98a !important; }
.empty .plans-link { border-radius: 4px !important; color: #e6e6e6 !important; border-color: var(--line) !important; }
.mark { box-shadow: none !important; }
.m3d { background: #000 !important; border: 1px solid var(--line); border-radius: 2px !important; }

/* blueprint becomes a black drawing sheet, white linework, grey dimensions */
#view svg [fill="#123d6e"] { fill: #000 !important; }
#view svg [stroke="#f2f7ff"] { stroke: #e6e6e6 !important; }
#view svg [fill="#f2f7ff"] { fill: #e6e6e6 !important; }
#view svg [stroke="#bfe3ff"] { stroke: #8a8d93 !important; }
#view svg [fill="#bfe3ff"], #view svg [fill="#eaf4ff"] { fill: #cfcfcf !important; }
#view svg [stroke="#9fd3ff"] { stroke: #b9b9b9 !important; }
#view svg [fill="#ffd36b"] { fill: #b0b3b8 !important; }
#view svg [stroke="#ffd36b"] { stroke: #b0b3b8 !important; }
#view svg [stroke="rgba(255,255,255,0.07)"] { stroke: rgba(255,255,255,0.05) !important; }
#view svg [stroke="rgba(255,255,255,0.13)"] { stroke: rgba(255,255,255,0.09) !important; }
.doc { background-color: #000 !important; border: 1px solid var(--line); border-radius: 2px !important; color: #e6e6e6 !important; }
.doc h3 { color: #d4d4d4 !important; } .doc th { color: #d4d4d4 !important; }

/* right panel */
#panel { background: var(--panel) !important; border-left: 1px solid var(--line-2) !important; }
.kv span:nth-child(even) { color: #f2f2f2 !important; }
.card.clone-promo, .card.soon { border-color: #26282b !important; background: var(--card) !important; }
.card.soon h4 { color: #d4d4d4 !important; }
a, .wz-help a, .note a { color: #e6e6e6 !important; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #6b6e74; }

/* machine pill / job bar / misc */
.pill.mach.ok, .pill.lic.ok, .pill.upd.ok { color: #9fe0ae !important; border-color: #3f7a4e !important; background: #1f3d27 !important; }
.pill.mach.warn, .pill.lic.warn, .pill.cost.warn { color: #f0c98a !important; border-color: #6b5226 !important; background: #241d12 !important; }
.pill.mach.bad { color: #f6b3b4 !important; border-color: #6e3234 !important; background: #2a1a1b !important; }
.pill.mach.run, .pill.upd { color: #b5d2f7 !important; border-color: #355b8a !important; background: #152131 !important; }
button.estop, #hr-stop { background: var(--red) !important; border: 1px solid #ff8086 !important; color: #fff !important; letter-spacing: .04em; }
.go.green { background: #3aa85a !important; border-color: #3aa85a !important; color: #04140a !important; }
.go.amber, .confirm .ok { background: var(--warm) !important; border-color: var(--warm) !important; color: #1c1300 !important; }
.go.red { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
#jobbar { background: rgba(11,12,14,.96) !important; border-radius: 4px !important; border-color: var(--line) !important; }
.badge { border-radius: 3px !important; }
.dro .ax { color: #fff !important; }
.clone-drop { border-radius: 4px !important; background: #0b0c0e !important; }
#ref-pip { border-radius: 4px !important; background: var(--card) !important; }
.eula { background: #0b0c0e !important; border-radius: 4px !important; border-color: var(--line) !important; }
#modal .btns.col button { text-align: left; }
/* blueprint SVG classes */
#view svg .call, #view svg .dt, #view svg .sub { fill: #a6a9ae !important; }
#view svg .in { stroke: #b9b9b9 !important; fill: #000 !important; }
#view svg .sheet, #view svg .pk { stroke: #8a8d93 !important; }
#view svg .ol { stroke: #e6e6e6 !important; }
#view svg .lbl { fill: #e6e6e6 !important; }
#view svg .dim, #view svg .ext { stroke: #7c8087 !important; }
#view svg [fill="#9fd3ff"] { fill: #b9b9b9 !important; }
/* title bar fits on one line without moving anything */
#titlebar { gap: 6px !important; }
#titlebar > button { padding: 5px 8px !important; }
#titlebar .pill { padding: 3px 8px !important; }
#titlebar { gap: 4px !important; }
#titlebar > button, #steps button { font-size: 13px !important; }
#titlebar > button .lc { margin-right: 5px; }

/* ---- dark-auto-shell.css ---- */
button{border-color:rgba(255,255,255,.07) !important}
button:disabled{background:#1d1e21 !important}
button:disabled{border-color:rgba(255,255,255,.07) !important}
input, select, textarea{background:#1d1e21 !important}
input, select, textarea{border-color:rgba(255,255,255,.07) !important}
.msg.claude{background:#1d1e21 !important}
.msg.claude{border-color:rgba(255,255,255,.07) !important}
.msg.err{color:#e9eaec !important}
.ask{border-color:rgba(255,255,255,.07) !important}
.ask .q{color:#e9eaec !important}
#dictate-tip{color:#e9eaec !important}
.wz-bar{background:#1d1e21 !important}
.wz-card{border-color:rgba(255,255,255,.07) !important}
.wz-q{color:#e9eaec !important}
.wz-opt .o-main{color:#e9eaec !important}
.wz-note{color:#e9eaec !important}
.wz-note{background:#1d1e21 !important}
.wz-note{border-color:rgba(255,255,255,.07) !important}
.wz-note.warn{color:#e9eaec !important}
.wz-note.bad{color:#e9eaec !important}
.wz-note.ok{color:#e9eaec !important}
.piece{background:#1d1e21 !important}
.piece{border-color:rgba(255,255,255,.07) !important}
#viewer{background:#1d1e21 !important}
#vbar{background:#1d1e21 !important}
#issues{color:#e9eaec !important}
.doc{color:#e9eaec !important}
.doc h3{color:#e9eaec !important}
.doc th{color:#e9eaec !important}
#vbar2{color:#e9eaec !important}
#vbar2.hearing{color:#e9eaec !important}
#vbar2.busy{color:#e9eaec !important}
#vbar2.err{color:#e9eaec !important}
.vmeter{background:#1d1e21 !important}
#attach .th{background:#1d1e21 !important}
#attach .th{border-color:rgba(255,255,255,.07) !important}
#attach .th button{color:#e9eaec !important}
.wz-opt.hub .o-go{color:#e9eaec !important}
#stage{background:#1d1e21 !important}
#cbar{background:#1d1e21 !important}
.prog{background:#1d1e21 !important}
.card{border-color:rgba(255,255,255,.07) !important}
.card p{color:#e9eaec !important}
.kv span:nth-child(even){color:#e9eaec !important}
.note{color:#e9eaec !important}
.note{background:#1d1e21 !important}
.note{border-color:rgba(255,255,255,.07) !important}
.note.warn{color:#e9eaec !important}
.note.bad{color:#e9eaec !important}
.note.ok{color:#e9eaec !important}
.dro .v{color:#e9eaec !important}
.suggest button{color:#e9eaec !important}
.confirm .q{color:#e9eaec !important}
.confirm .why{color:#e9eaec !important}
#modal .box{background:#1d1e21 !important}
#modal .box{border-color:rgba(255,255,255,.07) !important}
#modal h3{color:#e9eaec !important}
#modal label.chk{color:#e9eaec !important}
#status{background:#1d1e21 !important}
.alarm{color:#e9eaec !important}
.alarm b{color:#e9eaec !important}
pre.code{color:#e9eaec !important}
pre.code{background:#1d1e21 !important}
pre.code{border-color:rgba(255,255,255,.07) !important}
.card label.chk{color:#e9eaec !important}
button.askc{color:#e9eaec !important}
.wz-sec b{color:#e9eaec !important}
.wz-opt.danger .o-main{color:#e9eaec !important}
#modal .lic-info{color:#e9eaec !important}
#modal code{background:#1d1e21 !important}
#modal button.danger, button.danger{color:#e9eaec !important}
.eula{color:#e9eaec !important}
.eula{background:#1d1e21 !important}
.eula{border-color:rgba(255,255,255,.07) !important}
.eula h4{color:#e9eaec !important}
#setup label.chk{color:#e9eaec !important}
.card.soon h4{color:#e9eaec !important}
#modal .note.soon{color:#e9eaec !important}
.note.ok{color:#e9eaec !important}
.fit-status{color:#e9eaec !important}
.fit-status{background:#1d1e21 !important}
.fit-status{border-color:rgba(255,255,255,.07) !important}
.fit-pic{background:#1d1e21 !important}
.fit-pic{border-color:rgba(255,255,255,.07) !important}
.fit-num b{color:#e9eaec !important}
.fit-table{color:#e9eaec !important}
.fit-row{color:#e9eaec !important}
.clone-card h2{color:#e9eaec !important}
.clone-drop{background:#1d1e21 !important}
.clone-drop{border-color:rgba(255,255,255,.07) !important}
.clone-drop .cd-main{color:#e9eaec !important}
.clone-thumb{background:#1d1e21 !important}
.clone-thumb{border-color:rgba(255,255,255,.07) !important}
.clone-msg{color:#e9eaec !important}
#ref-pip{background:#1d1e21 !important}
#ref-pip{border-color:rgba(255,255,255,.07) !important}
.rule-row{color:#e9eaec !important}
.rule-row{background:#1d1e21 !important}
.rule-row{border-color:rgba(255,255,255,.07) !important}
#host-rescue .hr-t{color:#e9eaec !important}
#host-rescue .hr-row button{border-color:rgba(255,255,255,.07) !important}
/* ---- bambu.css ---- */
/* "Cutline Shop" (studied from Bambu Studio, our own colours): dark top bar with big tabs, light work panels, light viewport, one orange accent */
html:root { --ink:#1f2124; --muted:#62666c; --dim:#7a7f85; --chrome:#2b2d30; --stage:#eceef0; --panel:#ffffff; --panel-2:#f4f5f6; --card:#ffffff;
  --line:#dfe2e5; --line-2:#e8eaec; --accent:#ee6a1f; --accent-2:#ff7f36; --accent-ink:#fff; --ai:#ee6a1f;
  --green:#1f9d55; --warm:#c77d0a; --danger:#d6383f; --red:#e0353b; --blue:#2f7fd1; --focus:0 0 0 2px rgba(238,106,31,.35); --row-a:#fff; --row-b:#f7f8f9; }
html, body { background:#f4f5f6 !important; color:var(--ink) !important; }
::selection { background: rgba(238,106,31,.25); }
::-webkit-scrollbar-thumb { background:#c9cdd2 !important; }
/* top bar: dark, tabs like a slicer */
#titlebar { background:#2b2d30 !important; border-bottom:0 !important; color:#fff; }
#titlebar .tb-name { color:#fff !important; }
#titlebar > button { background:transparent !important; border-color:transparent !important; color:#d8dadd !important; box-shadow:none !important; }
#titlebar > button:hover:not(:disabled) { background:#3a3d41 !important; color:#fff !important; }
#btn-panel.on { background:#3a3d41 !important; color:#fff !important; }
#titlebar .pill { background:#3a3d41 !important; border-color:#45484d !important; color:#d8dadd !important; }
#steps { background:transparent !important; border:0 !important; }
#steps button { color:#b9bcc0 !important; background:transparent !important; border-radius:0 !important; font-weight:600; }
#steps button.on { color:#fff !important; background:transparent !important; box-shadow: inset 0 -3px 0 #ee6a1f !important; }
#steps button b { background:#45484d !important; color:#d8dadd !important; border-radius:50% !important; }
#steps button.on b { background:#ee6a1f !important; color:#fff !important; }
#steps button i.beta, .tb-beta { background:#45484d !important; color:#ffb27a !important; border-color:#5a5d62 !important; }
/* buttons */
button { background:#fff !important; border:1px solid #d3d7db !important; border-radius:4px !important; color:#1f2124 !important; box-shadow:none !important; }
button:hover:not(:disabled) { border-color:#ee6a1f !important; color:#c4520f !important; background:#fff !important; }
button:active:not(:disabled) { background:#fdf1ea !important; }
button:disabled { background:#f4f5f6 !important; border-color:#e3e6e8 !important; color:#a5a9ae !important; }
button.primary, .wz-opt.primary-opt { background:#ee6a1f !important; border:1px solid #ee6a1f !important; color:#fff !important; font-weight:600 !important; border-radius:16px !important; }
button.primary:hover:not(:disabled), .wz-opt.primary-opt:hover:not(:disabled) { background:#ff7f36 !important; border-color:#ff7f36 !important; color:#fff !important; }
button.primary:disabled { background:#f1c3a6 !important; border-color:#f1c3a6 !important; color:#fff !important; }
.wz-opt.primary-opt .o-main { color:#fff !important; } .wz-opt.primary-opt .o-sub { color:#ffe3d1 !important; }
input, select, textarea { background:#fff !important; border:1px solid #d3d7db !important; border-radius:4px !important; color:#1f2124 !important; box-shadow:none !important; }
input:focus, select:focus, textarea:focus { border-color:#ee6a1f !important; box-shadow: 0 0 0 2px rgba(238,106,31,.18) !important; }
input[type=checkbox], input[type=range] { accent-color:#ee6a1f !important; }
::placeholder { color:#9a9ea3 !important; }
kbd { background:#f4f5f6 !important; border-color:#d3d7db !important; color:#62666c !important; }
/* panels and sections */
#left, #panel, .toolpanel, #dock, #basic, #right, #left.toolpanel { background:#fff !important; color:#1f2124; }
#left { border-right:1px solid #dfe2e5 !important; } #panel { border-left:1px solid #dfe2e5 !important; background:#f4f5f6 !important; }
.card, .wz-card, .step, .start-card, .ask, .confirm, .rm-box, .beta-box, #modal .box { background:#fff !important; border:1px solid #e1e4e7 !important; border-radius:6px !important; box-shadow:none !important; color:#1f2124 !important; }
#modal .box, .rm-box, .beta-box { box-shadow: 0 12px 32px rgba(0,0,0,.18) !important; }
.card h4, .card-h, .card-h b { color:#1f2124 !important; font-weight:700 !important; font-size:13px !important; }
.lc.h { color:#ee6a1f; }
.note, .wz-note, .summary, .fit-status, .piece, .wz-check, .wz-jog, .macro, .cn-row, .cn-state, .rule-row { background:#f7f8f9 !important; border:1px solid #e8eaec !important; color:#3a3d41 !important; border-radius:4px !important; }
.note.warn, .wz-note.warn, .callout, #issues { background:#fff6e6 !important; border-color:#f2d39b !important; color:#7a4b00 !important; }
.note.bad, .wz-note.bad, .alarm, .msg.err { background:#fdeceb !important; border-color:#f2b8b5 !important; color:#8f1d22 !important; }
.note.ok, .wz-note.ok { background:#e9f6ee !important; border-color:#b9e2c8 !important; color:#14663a !important; }
.note b, .summary b, .kv span:nth-child(even), .ovr .val, .wz-table td:last-child { color:#1f2124 !important; }
.kv span:nth-child(odd), .muted { color:#62666c !important; }
a, .wz-help a, .note a, .cn-link { color:#d4580f !important; text-decoration:none !important; }
.wz-step, .sc-k, .clone-kicker, #wz-count { color:#62666c !important; }
.wz-bar, .prog, .wz-runbar { background:#e8eaec !important; }
.wz-bar i, .prog i, .wz-runbar i, #jobbar .jb-bar i { background:#ee6a1f !important; }
.wz-opt { background:#fff !important; border:1px solid #d3d7db !important; }
.wz-opt .o-main { color:#1f2124 !important; } .wz-opt .o-sub { color:#62666c !important; }
.wz-opt:hover:not(:disabled), .wz-opt.on, .start-card:hover:not(:disabled), .mat-card:hover:not(:disabled), .mat-card.cur { border-color:#ee6a1f !important; }
/* segmented + tabs */
.seg, #levels { background:#3a3d41 !important; border:0 !important; border-radius:4px !important; }
.seg button, #levels button { color:#d8dadd !important; background:transparent !important; border:0 !important; }
.seg button.on, #levels button.on { background:#ee6a1f !important; color:#fff !important; }
.steps button.on, .seg2 button.on, .chips button.on, .sheets button.on, .wz-speed button.on, .bit-row button.on, .toggle.on, .jog button.held, .offs button.on { background:#fdf1ea !important; border-color:#ee6a1f !important; color:#c4520f !important; }
.tabs { background:#f4f5f6 !important; border-bottom:1px solid #dfe2e5 !important; }
.tabs button { background:transparent !important; border:0 !important; border-radius:0 !important; color:#62666c !important; }
.tabs button.on { background:transparent !important; color:#1f2124 !important; box-shadow: inset 0 -2px 0 #ee6a1f !important; font-weight:600; }
#vbar, #cbar { background:#fff !important; border-bottom:1px solid #dfe2e5 !important; }
/* AI panel */
.msg.claude { background:transparent !important; border:0 !important; color:#1f2124 !important; padding:0 2px !important; }
.msg.claude b, .msg.claude strong { color:#1f2124 !important; }
.msg.user { background:#f4f5f6 !important; border:1px solid #e8eaec !important; color:#1f2124 !important; border-radius:8px !important; }
.msg.sys { color:#62666c !important; }
.who { background:#fdf1ea !important; color:#c4520f !important; border:1px solid #f6c9ad !important; border-radius:3px !important; }
.suggest button { background:#fff !important; border:1px solid #d3d7db !important; color:#1f2124 !important; border-radius:14px !important; }
.suggest .lc { display:none; }
#composer { background:#fff !important; border-top:1px solid #dfe2e5 !important; }
/* viewport + drawing */
#stage, #viewer, #design-view, #viewwrap, .m3d { background:#eceef0 !important; }
#view svg { outline:1px solid #d3d7db !important; box-shadow:0 1px 3px rgba(0,0,0,.08) !important; }
#view svg [fill="#123d6e"] { fill:#ffffff !important; }
#view svg .ol, #view svg [stroke="#f2f7ff"] { stroke:#2b2d30 !important; fill:rgba(0,0,0,0.02) !important; }
#view svg .lbl, #view svg [fill="#f2f7ff"], #view svg [fill="#eaf4ff"] { fill:#1f2124 !important; }
#view svg .dim, #view svg .ext, #view svg [stroke="#bfe3ff"] { stroke:#8a8f95 !important; }
#view svg .dt, #view svg .sub, #view svg [fill="#bfe3ff"] { fill:#62666c !important; }
#view svg .in, #view svg [stroke="#9fd3ff"] { stroke:#2f7fd1 !important; fill:#fff !important; }
#view svg .call, #view svg [fill="#ffd36b"] { fill:#d4580f !important; }
#view svg .sheet, #view svg .pk, #view svg [stroke="#ffd36b"] { stroke:#ee6a1f !important; }
#view svg [stroke="rgba(255,255,255,0.07)"] { stroke:rgba(0,0,0,0.05) !important; }
#view svg [stroke="rgba(255,255,255,0.13)"] { stroke:rgba(0,0,0,0.09) !important; }
#view svg [fill="#9fd3ff"] { fill:#2f7fd1 !important; }
#view svg .tb { stroke:#2b2d30 !important; }
.doc { background-color:#fff !important; color:#1f2124 !important; }
.vtools button, .v3bar { background:#fff !important; }
/* position readout */
.dro { background:#fff !important; border:1px solid #dfe2e5 !important; border-radius:4px !important; }
.dro .ax { border:0 !important; background:none !important; width:auto !important; height:auto !important; font-family:var(--sans) !important; font-size:18px !important; }
.dro:nth-of-type(1) .ax { color:#d6383f !important; } .dro:nth-of-type(2) .ax { color:#1f9d55 !important; } .dro:nth-of-type(3) .ax { color:#2f7fd1 !important; }
.dro .v { color:#1f2124 !important; } .dro .m, .dro small { color:#7a7f85 !important; }
.dro.set .v { color:#14663a !important; }
.dro-strip .dro { background:rgba(255,255,255,.96) !important; }
/* machine states keep their meaning, light versions */
button.stop, #btn-estop { background:#e0353b !important; border-color:#e0353b !important; color:#fff !important; }
button.go { background:#1f9d55 !important; border-color:#1f9d55 !important; color:#fff !important; }
button.hold { background:#f0a020 !important; border-color:#f0a020 !important; color:#2b1a00 !important; }
button.go:disabled, button.hold:disabled, button.stop:disabled { background:#f4f5f6 !important; border-color:#e3e6e8 !important; color:#a5a9ae !important; }
#btn-reset.off { background:#fdeceb !important; border-color:#e0353b !important; color:#b0242a !important; }
.pill.ok, .pill.mach.ok { background:#e9f6ee !important; border-color:#b9e2c8 !important; color:#14663a !important; }
.pill.demo, .pill.mach.warn { background:#fff6e6 !important; border-color:#f2d39b !important; color:#7a4b00 !important; }
.pill.bad, .pill.mach.bad { background:#fdeceb !important; border-color:#f2b8b5 !important; color:#8f1d22 !important; }
#titlebar .pill.demo { background:#4a3a1e !important; border-color:#6b5226 !important; color:#ffd08a !important; }
#status, #statusbar { background:#fff !important; border-top:1px solid #dfe2e5 !important; color:#62666c !important; }
#sb-pos, #coords { color:#1f2124 !important; }
.gl .ln { color:#3a3d41; } .gl .ln.sel { background:#fdf1ea !important; box-shadow: inset 2px 0 0 #ee6a1f !important; }
.badge.idle { background:#e8eaec !important; color:#3a3d41 !important; }
#jobbar { background:rgba(255,255,255,.97) !important; border-color:#dfe2e5 !important; color:#1f2124; }
.ed, .tb-sub { color:#b9bcc0 !important; }
.tb-mode { background:#3a3d41 !important; color:#fff !important; border-color:#45484d !important; }
.tb-link { color:#ffb27a !important; }
#banner { background:#fff !important; border-color:#dfe2e5 !important; color:#1f2124 !important; }
table.props th { background:#f4f5f6 !important; color:#62666c !important; border-bottom-color:#dfe2e5 !important; }
table.props td { color:#1f2124; border-color:#eef0f2 !important; }
table.props td.ro { color:#1f2124 !important; }
.tp-list, .sv-list { background:#fff !important; border-color:#dfe2e5 !important; }
.tp-row.sel { background:#fdf1ea !important; box-shadow: inset 2px 0 0 #ee6a1f !important; }
.step .num { background:#f4f5f6 !important; border-color:#d3d7db !important; color:#1f2124 !important; }
.step.done .num { background:#ee6a1f !important; border-color:#ee6a1f !important; color:#fff !important; }
#keys { background:rgba(255,255,255,.97) !important; color:#1f2124 !important; border-color:#dfe2e5 !important; }
#keys .keys-head { color:#1f2124 !important; }
.empty, .empty * { color:#62666c; }
.card.clone-promo, .card.soon { border-color:#e1e4e7 !important; background:#fff !important; }
.card.clone-promo p, .card.soon p, .card p { color:#3a3d41 !important; opacity:1 !important; }
.wz-q, .rv-v, .step h3, .pick-main, .mat-card .big1, .ops-head b, .tp-head b { color:#1f2124 !important; }
.wz-ans .a-v, .summary { color:#3a3d41 !important; }
#modal, .rm-wrap, .beta-wrap, dialog::backdrop { background: rgba(30,32,36,.38) !important; }
#titlebar #btn-estop, #titlebar button.stop { background:#e0353b !important; border-color:#e0353b !important; color:#fff !important; }

/* ---- future.css ---- */
/* "Cutline 2031": Bambu-style shop UI five years on. Monochrome tool surfaces, colour only for the work and machine state,
   ink capsule primary, soft tiles instead of boxes, Windows 11 variable type. Layered after bambu.css. */
html:root { --ink:#15171a; --muted:#5d6168; --dim:#7b8087; --panel:#f7f8fa; --panel-2:#eef0f3; --card:#ffffff; --line:rgba(16,24,40,.08); --accent:#ff6a1a; --focus:0 0 0 3px rgba(255,106,26,.28); }
html, body { background:#e9ebee !important; font-feature-settings:"tnum" 1; }
body, button, input, select, textarea { font-family:"Segoe UI Variable Text","Segoe UI",sans-serif !important; }
h1,h2,h3,h4,.card h4,.card-h,.wz-q,.tb-name { letter-spacing:-0.012em !important; }
/* top bar goes light; tabs become a capsule switch */
#titlebar { background:#f7f8fa !important; border-bottom:1px solid rgba(16,24,40,.07) !important; color:#15171a !important; }
#titlebar .tb-name { color:#15171a !important; font-weight:650 !important; }
#titlebar > button { color:#3a3e44 !important; border-radius:8px !important; }
#titlebar > button:hover:not(:disabled) { background:#eef0f3 !important; color:#15171a !important; }
#btn-panel.on { background:#eef0f3 !important; color:#15171a !important; box-shadow:none !important; }
#titlebar .pill { background:#eef0f3 !important; border:0 !important; color:#3a3e44 !important; border-radius:999px !important; }
#steps, .seg, #levels { background:#e4e6ea !important; border:0 !important; border-radius:999px !important; padding:3px !important; }
#steps button, .seg button, #levels button { color:#5d6168 !important; border-radius:999px !important; box-shadow:none !important; font-weight:600 !important; }
#steps button.on, .seg button.on, #levels button.on { background:#fff !important; color:#15171a !important; box-shadow:0 1px 2px rgba(16,24,40,.10), 0 0 0 1px rgba(16,24,40,.05) !important; }
#steps button b { background:transparent !important; color:#9aa0a7 !important; }
#steps button.on b { background:#ff6a1a !important; color:#fff !important; }
#steps button i.beta, .tb-beta { background:#fff1e8 !important; color:#c44d0a !important; border:0 !important; border-radius:999px !important; }
/* buttons: soft fills, no outlines; primary is an ink capsule */
button { background:#eef0f3 !important; border:0 !important; border-radius:8px !important; color:#15171a !important; box-shadow:none !important; }
button:hover:not(:disabled) { background:#e4e6ea !important; color:#15171a !important; }
button:active:not(:disabled) { background:#dcdfe3 !important; }
button:disabled { background:#f1f2f4 !important; color:#a8adb3 !important; }
button.primary, .wz-opt.primary-opt { background:#15171a !important; border:0 !important; color:#fff !important; border-radius:999px !important; font-weight:600 !important; }
button.primary:hover:not(:disabled), .wz-opt.primary-opt:hover:not(:disabled) { background:#2b2e33 !important; color:#fff !important; }
button.primary .lc, .wz-opt.primary-opt .lc { color:#ff8a4a; }
.wz-opt.primary-opt .o-main { color:#fff !important; } .wz-opt.primary-opt .o-sub { color:#b9bdc3 !important; }
button.primary:disabled { background:#c9ccd1 !important; color:#fff !important; }
input, select, textarea { background:#f1f2f4 !important; border:1px solid transparent !important; border-radius:8px !important; box-shadow:none !important; }
input:focus, select:focus, textarea:focus { background:#fff !important; border-color:rgba(255,106,26,.6) !important; box-shadow:0 0 0 3px rgba(255,106,26,.18) !important; }
/* surfaces: tiles with hairline + soft shadow, panels tinted, no hard dividers */
#left, #right, .toolpanel, #basic, #dock { background:#f7f8fa !important; border-color:rgba(16,24,40,.07) !important; }
#panel { background:#f1f2f4 !important; border-left:1px solid rgba(16,24,40,.07) !important; }
.card, .wz-card, .step { background:#fff !important; border:0 !important; border-radius:12px !important; box-shadow:0 1px 2px rgba(16,24,40,.05), 0 0 0 1px rgba(16,24,40,.06) !important; }
.start-card, .ask, .confirm, #modal .box, .rm-box, .beta-box { background:#fff !important; border:0 !important; border-radius:14px !important; box-shadow:0 24px 48px -12px rgba(16,24,40,.22), 0 0 0 1px rgba(16,24,40,.06) !important; }
.note, .wz-note, .summary, .fit-status, .piece, .wz-check, .macro, .cn-row, .cn-state, .rule-row { background:#f4f5f7 !important; border:0 !important; border-radius:10px !important; color:#3a3e44 !important; }
.note.warn, .wz-note.warn, .callout, #issues { background:#fff5e6 !important; color:#7a4a00 !important; border:0 !important; }
.note.bad, .wz-note.bad, .alarm, .msg.err { background:#fdeeee !important; color:#8f1d22 !important; border:0 !important; }
.note.ok, .wz-note.ok { background:#eaf6ef !important; color:#14663a !important; border:0 !important; }
.card h4, .card-h, .card-h b { color:#15171a !important; font-weight:650 !important; }
.lc.h { color:#9aa0a7; }
.wz-opt { background:#fff !important; border:0 !important; border-radius:12px !important; box-shadow:0 0 0 1px rgba(16,24,40,.08) !important; }
.wz-opt:hover:not(:disabled), .wz-opt.on { box-shadow:0 0 0 2px #15171a !important; }
.wz-bar, .prog, .wz-runbar { background:#e4e6ea !important; border-radius:999px !important; }
.wz-bar i, .prog i, .wz-runbar i, #jobbar .jb-bar i { background:#ff6a1a !important; border-radius:999px !important; }
.steps button.on, .seg2 button.on, .chips button.on, .sheets button.on, .wz-speed button.on, .bit-row button.on, .toggle.on, .offs button.on { background:#15171a !important; color:#fff !important; }
.jog button.held { background:#15171a !important; color:#fff !important; }
.tabs { background:transparent !important; border-bottom:1px solid rgba(16,24,40,.07) !important; }
.tabs button { color:#5d6168 !important; }
.tabs button.on { color:#15171a !important; box-shadow: inset 0 -2px 0 #15171a !important; }
#vbar, #cbar { background:#f7f8fa !important; border-bottom:1px solid rgba(16,24,40,.07) !important; }
a, .wz-help a, .note a, .cn-link { color:#c44d0a !important; }
/* Cutline AI */
.msg.user { background:#15171a !important; color:#f2f3f5 !important; border:0 !important; border-radius:14px 14px 4px 14px !important; }
.msg.user * { color:#f2f3f5 !important; }
.msg.claude { color:#24272b !important; }
.who { background:#fff1e8 !important; color:#c44d0a !important; border:0 !important; border-radius:999px !important; padding:1px 9px !important; }
.suggest button { background:#fff !important; border:0 !important; border-radius:999px !important; box-shadow:0 0 0 1px rgba(16,24,40,.10) !important; color:#24272b !important; }
.suggest button:hover { box-shadow:0 0 0 1px #15171a !important; }
#composer { background:#f7f8fa !important; border-top:1px solid rgba(16,24,40,.07) !important; }
#input, #composer textarea { background:#fff !important; border-radius:12px !important; box-shadow:0 0 0 1px rgba(16,24,40,.10) !important; }
/* stage */
#stage, #viewer, #design-view, #viewwrap, .m3d { background:#e9ebee !important; }
#view svg { outline:0 !important; border-radius:10px !important; box-shadow:0 1px 2px rgba(16,24,40,.06), 0 0 0 1px rgba(16,24,40,.06) !important; }
#view svg .sheet, #view svg .pk, #view svg [stroke="#ffd36b"] { stroke:#ff6a1a !important; }
#view svg .call, #view svg [fill="#ffd36b"] { fill:#c44d0a !important; }
.vtools button, .v3bar { background:rgba(255,255,255,.92) !important; box-shadow:0 0 0 1px rgba(16,24,40,.08) !important; border-radius:999px !important; }
/* position readout: light numerals, axis capsules */
.dro { background:#fff !important; border:0 !important; border-radius:12px !important; box-shadow:0 0 0 1px rgba(16,24,40,.07) !important; }
.dro .v { font-family:"Segoe UI Variable Display","Segoe UI",sans-serif !important; font-weight:300 !important; color:#15171a !important; letter-spacing:-0.02em; }
.dro .ax { font-size:12.5px !important; font-weight:700 !important; border-radius:999px !important; padding:2px 8px !important; justify-self:center; }
.dro:nth-of-type(1) .ax { background:#fdecec !important; color:#c62f35 !important; }
.dro:nth-of-type(2) .ax { background:#e8f5ee !important; color:#16804a !important; }
.dro:nth-of-type(3) .ax { background:#e9f1fb !important; color:#2368b8 !important; }
.dro-strip .dro { background:rgba(255,255,255,.94) !important; }
/* machine states: capsules, colour means state */
button.stop, #btn-estop { background:#e5383b !important; color:#fff !important; border-radius:999px !important; }
button.go { background:#17a05a !important; color:#fff !important; border-radius:999px !important; }
button.hold { background:#f2a516 !important; color:#2b1a00 !important; border-radius:999px !important; }
#btn-reset.off { background:#fdeeee !important; color:#b0242a !important; border:0 !important; border-radius:999px !important; box-shadow:0 0 0 1px rgba(229,56,59,.5) !important; }
.pill, .badge { border-radius:999px !important; }
.pill.ok, .pill.mach.ok { background:#eaf6ef !important; color:#14663a !important; border:0 !important; }
.pill.demo, .pill.mach.warn, #titlebar .pill.demo { background:#fff5e6 !important; color:#7a4a00 !important; border:0 !important; }
.pill.bad, .pill.mach.bad { background:#fdeeee !important; color:#8f1d22 !important; border:0 !important; }
#status, #statusbar { background:#f7f8fa !important; border-top:1px solid rgba(16,24,40,.07) !important; }
.tb-mode { background:#e4e6ea !important; color:#15171a !important; border:0 !important; border-radius:999px !important; }
.tb-link { color:#c44d0a !important; }
.ed, .tb-sub { color:#7b8087 !important; }
#banner, #jobbar, #keys { background:rgba(255,255,255,.96) !important; border:0 !important; border-radius:12px !important; box-shadow:0 12px 32px -8px rgba(16,24,40,.18), 0 0 0 1px rgba(16,24,40,.06) !important; }
table.props th { background:#f1f2f4 !important; }
.tp-row.sel, .gl .ln.sel { background:#fff1e8 !important; box-shadow: inset 2px 0 0 #ff6a1a !important; }
.step.done .num { background:#15171a !important; border-color:#15171a !important; color:#fff !important; }
#modal, .rm-wrap, .beta-wrap, dialog::backdrop { background: rgba(233,235,238,.72) !important; backdrop-filter: blur(6px) !important; }
#titlebar #btn-estop, #titlebar button.stop { background:#e5383b !important; color:#fff !important; border-radius:999px !important; font-weight:700 !important; }
#titlebar #btn-estop:hover:not(:disabled) { background:#f0484b !important; }
#titlebar #btn-reset.off { background:#fdeeee !important; color:#b0242a !important; }

/* ---- future-dark.css ---- */
/* "Cutline 2031 Dark": graphite, not black. White capsule primaries, colour only for the work and machine state. Layered after future.css */
html:root { --ink:#ececee; --muted:#9a9ea5; --dim:#7d8189; --panel:#1a1b1e; --panel-2:#2a2c30; --card:#212226; --line:rgba(255,255,255,.07); --accent:#ff7a2e; --focus:0 0 0 3px rgba(255,122,46,.32); }
html, body { background:#141517 !important; color:#ececee !important; }
::selection { background:rgba(255,122,46,.32); }
::-webkit-scrollbar-thumb { background:#3a3c41 !important; }
::placeholder { color:#6f737a !important; }
#titlebar { background:#1a1b1e !important; border-bottom:1px solid rgba(255,255,255,.06) !important; color:#ececee !important; }
#titlebar .tb-name { color:#f4f4f5 !important; }
#titlebar > button { color:#c4c7cc !important; }
#titlebar > button:hover:not(:disabled), #btn-panel.on { background:#2a2c30 !important; color:#fff !important; }
#titlebar .pill { background:#2a2c30 !important; color:#c4c7cc !important; }
#steps, .seg, #levels { background:#0f1012 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05) !important; }
#steps button, .seg button, #levels button { color:#9a9ea5 !important; }
#steps button.on, .seg button.on, #levels button.on { background:#2e3034 !important; color:#fff !important; box-shadow: 0 1px 2px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08) !important; }
#steps button b { color:#6f737a !important; }
#steps button.on b { background:#ff7a2e !important; color:#141517 !important; }
#steps button i.beta, .tb-beta { background:rgba(255,122,46,.14) !important; color:#ffa36b !important; }
button { background:#2a2c30 !important; color:#ececee !important; }
button:hover:not(:disabled) { background:#34363b !important; color:#fff !important; }
button:active:not(:disabled) { background:#3c3f44 !important; }
button:disabled { background:#1f2023 !important; color:#5c6067 !important; }
button.primary, .wz-opt.primary-opt { background:#f4f4f5 !important; color:#141517 !important; }
button.primary:hover:not(:disabled), .wz-opt.primary-opt:hover:not(:disabled) { background:#ffffff !important; color:#141517 !important; }
button.primary .lc, .wz-opt.primary-opt .lc { color:#e8601a; }
.wz-opt.primary-opt .o-main { color:#141517 !important; } .wz-opt.primary-opt .o-sub { color:#5d6168 !important; }
button.primary:disabled { background:#3a3c41 !important; color:#7d8189 !important; }
input, select, textarea { background:#111214 !important; color:#ececee !important; border:1px solid rgba(255,255,255,.06) !important; }
input:focus, select:focus, textarea:focus { background:#111214 !important; border-color:rgba(255,122,46,.7) !important; box-shadow:0 0 0 3px rgba(255,122,46,.2) !important; }
kbd { background:#2a2c30 !important; color:#c4c7cc !important; border-color:#3a3c41 !important; }
#left, #right, .toolpanel, #basic, #dock { background:#1a1b1e !important; border-color:rgba(255,255,255,.06) !important; color:#ececee; }
#panel { background:#17181b !important; border-left:1px solid rgba(255,255,255,.06) !important; }
.card, .wz-card, .step { background:#212226 !important; box-shadow: 0 1px 2px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06) !important; color:#ececee !important; }
.start-card, .ask, .confirm, #modal .box, .rm-box, .beta-box { background:#212226 !important; box-shadow:0 24px 48px -12px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.07) !important; color:#ececee !important; }
.card.clone-promo, .card.soon { background:#212226 !important; }
.card p, .card.clone-promo p, .card.soon p { color:#b4b8be !important; }
.note, .wz-note, .summary, .fit-status, .piece, .wz-check, .macro, .cn-row, .cn-state, .rule-row { background:#1a1b1e !important; color:#c4c7cc !important; }
.note b, .summary b, .kv span:nth-child(even), .ovr .val, .wz-table td:last-child, .rv-v, .wz-q, .step h3, .pick-main, .ops-head b, .tp-head b, .mat-card .big1 { color:#f4f4f5 !important; }
.kv span:nth-child(odd), .muted, .wz-ans .a-v { color:#9a9ea5 !important; }
.note.warn, .wz-note.warn, .callout, #issues { background:rgba(242,165,22,.10) !important; color:#f5c46a !important; }
.note.bad, .wz-note.bad, .alarm, .msg.err { background:rgba(229,56,59,.12) !important; color:#ff9a9c !important; }
.note.ok, .wz-note.ok { background:rgba(23,160,90,.12) !important; color:#7fdca6 !important; }
.card h4, .card-h, .card-h b { color:#f4f4f5 !important; }
.lc.h { color:#7d8189; }
.wz-step, .sc-k, .clone-kicker, #wz-count { color:#9a9ea5 !important; }
.wz-opt { background:#212226 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important; }
.wz-opt .o-main { color:#f4f4f5 !important; } .wz-opt .o-sub { color:#9a9ea5 !important; }
.wz-opt:hover:not(:disabled), .wz-opt.on { box-shadow: inset 0 0 0 2px #f4f4f5 !important; }
.wz-bar, .prog, .wz-runbar { background:#2a2c30 !important; }
.wz-bar i, .prog i, .wz-runbar i, #jobbar .jb-bar i { background:#ff7a2e !important; }
.steps button.on, .seg2 button.on, .chips button.on, .sheets button.on, .wz-speed button.on, .bit-row button.on, .toggle.on, .offs button.on, .jog button.held { background:#f4f4f5 !important; color:#141517 !important; }
.tabs { border-bottom:1px solid rgba(255,255,255,.06) !important; }
.tabs button { color:#9a9ea5 !important; }
.tabs button.on { color:#fff !important; box-shadow: inset 0 -2px 0 #f4f4f5 !important; }
#vbar, #cbar { background:#1a1b1e !important; border-bottom:1px solid rgba(255,255,255,.06) !important; }
a, .wz-help a, .note a, .cn-link { color:#ffa36b !important; }
.msg.user { background:#2e3034 !important; color:#f4f4f5 !important; }
.msg.user * { color:#f4f4f5 !important; }
.msg.claude, .msg.claude b, .msg.claude strong { color:#dfe1e4 !important; }
.msg.sys { color:#9a9ea5 !important; }
.who { background:rgba(255,122,46,.14) !important; color:#ffa36b !important; }
.suggest button { background:#1a1b1e !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12) !important; color:#dfe1e4 !important; }
.suggest button:hover { box-shadow: inset 0 0 0 1px #f4f4f5 !important; }
#composer { background:#1a1b1e !important; border-top:1px solid rgba(255,255,255,.06) !important; }
#input, #composer textarea { background:#111214 !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important; }
#stage, #viewer, #design-view, #viewwrap, .m3d { background:#111214 !important; }
#view svg { box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06) !important; }
#view svg [fill="#123d6e"], #view svg [fill="#ffffff"] { fill:#18191c !important; }
#view svg .ol, #view svg [stroke="#f2f7ff"] { stroke:#e4e6e9 !important; fill:rgba(255,255,255,0.02) !important; }
#view svg .lbl, #view svg [fill="#f2f7ff"], #view svg [fill="#eaf4ff"] { fill:#ececee !important; }
#view svg .dim, #view svg .ext, #view svg [stroke="#bfe3ff"] { stroke:#6f737a !important; }
#view svg .dt, #view svg .sub, #view svg [fill="#bfe3ff"] { fill:#9a9ea5 !important; }
#view svg .in, #view svg [stroke="#9fd3ff"] { stroke:#6fa8e8 !important; fill:#18191c !important; }
#view svg .tb { stroke:#9a9ea5 !important; }
#view svg [stroke="rgba(255,255,255,0.07)"] { stroke:rgba(255,255,255,0.04) !important; }
#view svg [stroke="rgba(255,255,255,0.13)"] { stroke:rgba(255,255,255,0.08) !important; }
#view svg .sheet, #view svg .pk, #view svg [stroke="#ffd36b"] { stroke:#ff7a2e !important; }
#view svg .call, #view svg [fill="#ffd36b"] { fill:#ffa36b !important; }
.doc { background-color:#18191c !important; color:#ececee !important; }
.vtools button, .v3bar { background:rgba(33,34,38,.92) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important; color:#ececee !important; }
.dro { background:#1a1b1e !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06) !important; }
.dro .v { color:#f4f4f5 !important; } .dro .m, .dro small { color:#7d8189 !important; }
.dro.set .v { color:#7fdca6 !important; }
.dro:nth-of-type(1) .ax { background:rgba(229,72,77,.16) !important; color:#ff8a8e !important; }
.dro:nth-of-type(2) .ax { background:rgba(23,160,90,.16) !important; color:#6fd69c !important; }
.dro:nth-of-type(3) .ax { background:rgba(70,140,230,.16) !important; color:#8bbcf2 !important; }
.dro-strip .dro { background:rgba(26,27,30,.94) !important; }
#btn-reset.off, #titlebar #btn-reset.off { background:rgba(229,56,59,.14) !important; color:#ff9a9c !important; box-shadow: inset 0 0 0 1px rgba(229,56,59,.55) !important; }
button.go:disabled, button.hold:disabled, button.stop:disabled { background:#1f2023 !important; color:#5c6067 !important; }
.pill.ok, .pill.mach.ok { background:rgba(23,160,90,.14) !important; color:#7fdca6 !important; }
.pill.demo, .pill.mach.warn, #titlebar .pill.demo { background:rgba(242,165,22,.12) !important; color:#f5c46a !important; }
.pill.bad, .pill.mach.bad { background:rgba(229,56,59,.14) !important; color:#ff9a9c !important; }
.badge.idle { background:#2a2c30 !important; color:#c4c7cc !important; }
#status, #statusbar { background:#1a1b1e !important; border-top:1px solid rgba(255,255,255,.06) !important; color:#9a9ea5 !important; }
#sb-pos, #coords { color:#ececee !important; }
.tb-mode { background:#2a2c30 !important; color:#f4f4f5 !important; }
.tb-link { color:#ffa36b !important; }
.ed, .tb-sub { color:#7d8189 !important; }
#banner, #jobbar, #keys { background:rgba(33,34,38,.97) !important; color:#ececee !important; box-shadow:0 12px 32px -8px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.07) !important; }
#keys .keys-head { color:#f4f4f5 !important; }
table.props th { background:#212226 !important; color:#9a9ea5 !important; border-bottom-color:rgba(255,255,255,.06) !important; }
table.props td, table.props td.ro { color:#ececee !important; border-color:rgba(255,255,255,.05) !important; }
.tp-list, .sv-list { background:#111214 !important; border-color:rgba(255,255,255,.06) !important; }
.tp-row.sel, .gl .ln.sel { background:rgba(255,122,46,.12) !important; box-shadow: inset 2px 0 0 #ff7a2e !important; }
.gl .ln { color:#c4c7cc; }
.step .num { background:#2a2c30 !important; color:#ececee !important; border-color:#3a3c41 !important; }
.step.done .num { background:#f4f4f5 !important; color:#141517 !important; }
.empty, .empty * { color:#9a9ea5; }
#modal, .rm-wrap, .beta-wrap, dialog::backdrop { background: rgba(10,11,12,.55) !important; backdrop-filter: blur(6px) !important; }
html:root { --row-a:#1d1e21; --row-b:#1a1b1e; }
#left.toolpanel, #right.toolpanel, #basic.toolpanel { background:#1a1b1e !important; }
table.props tr, table.props td { background:transparent !important; }
table.props tr:nth-child(odd) td { background:#1d1e21 !important; }
button.go:disabled, button.hold:disabled, button.stop:disabled { box-shadow:none !important; border:0 !important; outline:0 !important; }

/* ---- logo ---- */
@font-face{font-family:'Archivo';src:url(archivo-600.woff2);font-weight:600}
.tb-name { display:inline-flex !important; align-items:center !important; font-family:'Archivo','Segoe UI',sans-serif !important; font-weight:600 !important; }
.tb-name::before { content:'' !important; flex:none; width:20px !important; height:20px !important; margin:0 8px 0 0 !important; border-radius:0 !important; background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%2211%2011%2042%2042%22%3E%3Cline%20x1%3D%2225.21%22%20y1%3D%2216.00%22%20x2%3D%2238.79%22%20y2%3D%2216.00%22%20stroke%3D%22%23ECECEC%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3Cline%20x1%3D%2217.82%22%20y1%3D%2224.00%22%20x2%3D%2226.63%22%20y2%3D%2224.00%22%20stroke%3D%22%23ECECEC%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3Cline%20x1%3D%2216.00%22%20y1%3D%2232.00%22%20x2%3D%2221.00%22%20y2%3D%2232.00%22%20stroke%3D%22%23FF7A2E%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3Cline%20x1%3D%2217.82%22%20y1%3D%2240.00%22%20x2%3D%2226.63%22%20y2%3D%2240.00%22%20stroke%3D%22%23ECECEC%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3Cline%20x1%3D%2225.21%22%20y1%3D%2248.00%22%20x2%3D%2238.79%22%20y2%3D%2248.00%22%20stroke%3D%22%23ECECEC%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") center/contain no-repeat !important; box-shadow:none !important; }
/* ---- logo: the Raster mark replaces the old crosshair mark ---- */
.mark { border:0 !important; border-radius:0 !important; box-shadow:none !important; background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%2211%2011%2042%2042%22%3E%3Cline%20x1%3D%2225.21%22%20y1%3D%2216.00%22%20x2%3D%2238.79%22%20y2%3D%2216.00%22%20stroke%3D%22%23ECECEC%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3Cline%20x1%3D%2217.82%22%20y1%3D%2224.00%22%20x2%3D%2226.63%22%20y2%3D%2224.00%22%20stroke%3D%22%23ECECEC%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3Cline%20x1%3D%2216.00%22%20y1%3D%2232.00%22%20x2%3D%2221.00%22%20y2%3D%2232.00%22%20stroke%3D%22%23FF7A2E%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3Cline%20x1%3D%2217.82%22%20y1%3D%2240.00%22%20x2%3D%2226.63%22%20y2%3D%2240.00%22%20stroke%3D%22%23ECECEC%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3Cline%20x1%3D%2225.21%22%20y1%3D%2248.00%22%20x2%3D%2238.79%22%20y2%3D%2248.00%22%20stroke%3D%22%23ECECEC%22%20stroke-width%3D%225%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") center/contain no-repeat !important; }
.mark::after { display:none !important; }
.mark.big { opacity:1 !important; }
