/* Lines live in WebGL with depth testing; SVG contains only unobscured labels. */
.dim-depth-note{font-size:9px;line-height:1.5;color:#79949e;padding:0 17px;margin:0 0 8px;flex-shrink:0}.dim-row.view-muted>span:last-child{color:#9cabb2}.dim-row.view-muted small{color:#8599a2}.dim-detail>.dim-view-status{color:#4b7b87;background:#eaf3f5;border-radius:5px;padding:7px 8px;margin:7px 0;line-height:1.5}.dim-label:hover rect,.dim-label:focus-visible rect{stroke:#168b96;stroke-width:1.6;fill:#f0faf9}.dim-label:focus-visible{outline:none}
#dim-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;color:#36545e}
.dim-head{display:flex;align-items:center;justify-content:space-between;padding:8px 18px 12px}.dim-head .eyebrow{font-size:8px}.dim-head h2{font-size:17px;letter-spacing:-.3px;margin:5px 0 0}.dim-head h2 span{font-size:10px;color:#72959d;background:#edf5f6;border-radius:4px;padding:3px 6px;margin-left:5px}
.dim-setup{padding:0 17px 12px;border-bottom:1px solid var(--line);flex-shrink:0}.dim-setup>.button{width:100%;margin:0 0 12px}.dim-setup kbd,.dim-banner kbd{font:9px inherit;padding:2px 4px;border:1px solid #ffffff55;border-radius:3px;margin-left:auto}.dim-setup .field select{padding:7px 9px;min-height:33px}.dim-steps{display:flex;gap:4px;margin-top:12px}.dim-steps span{flex:1;border-top:3px solid #e6edef;padding-top:6px;font-size:9px;color:#91a2a8;line-height:1.4}.dim-steps .current{color:#176b75;border-color:#168895;font-weight:650}.dim-steps .done{border-color:#91c9bd;color:#578579}#dim-instruction{font-size:11px;line-height:1.5;color:#416874;margin:10px 0}.dim-tip{font-size:9px;line-height:1.5;color:#8b9fa7;margin:8px 0}.dim-check{display:flex;align-items:center;gap:6px;font-size:10px;color:#5d7d89}.dim-check input{accent-color:#16818b;margin:0;width:13px;height:13px}.dim-check small{margin-left:auto;color:#ad7537;font-size:15px}.dim-create-actions{display:flex;justify-content:space-between;gap:9px}.dim-create-actions button,.dim-footer button,.dim-detail-actions button{border:1px solid #dde8ec;border-radius:5px;background:white;color:#467380;font-size:10px;padding:6px 8px;min-height:29px}.dim-create-actions button:hover,.dim-footer button:hover,.dim-detail-actions button:hover{background:#edf7f7}.dim-create-actions kbd{border-color:#dce8eb;color:#94a5ab;margin-left:5px}
.dim-points{margin:9px 0;padding:7px 8px;border:1px solid #d9e9eb;background:#f5fafa;border-radius:6px;display:grid;gap:7px}.dim-points>div{display:flex;gap:7px;font-size:10px}.dim-points b{color:#187a85;background:#e5f3f2;display:grid;place-items:center;min-width:20px;height:20px;border-radius:4px}.dim-points span{min-width:0}.dim-points small{display:block;font-size:9px;color:#819da6;max-width:232px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dim-list-head{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 17px;flex-shrink:0}.dim-list-head>label:last-child{display:flex;gap:5px;align-items:center;font-size:9px;color:#7d929c}.dim-list-head select{width:42px;min-height:26px;font-size:10px;padding:3px}
#dim-list{overflow:auto;min-height:70px;flex:1;padding:0 9px 7px;scrollbar-width:thin}.dim-empty{padding:17px 14px;text-align:center;color:#8ba0aa}.dim-empty>svg{width:30px;height:30px;margin:0 auto 10px;display:block;color:#82aab0}.dim-empty b{font-size:11px;font-weight:550;color:#567e89}.dim-empty p{font-size:10px;line-height:1.7;margin:7px 0}.dim-row{display:flex;width:100%;align-items:center;gap:10px;border:1px solid transparent;border-radius:7px;background:transparent;padding:9px;color:#365e6a;text-align:left}.dim-row:hover{background:#f2f8f8}.dim-row.selected{background:#e8f4f4;border-color:#c8e4e5}.dim-row.invalid{color:#b36635;background:#fff8ee}.dim-row-number{font-size:9px;letter-spacing:.5px;color:#85a1ac;width:20px}.dim-row>span:nth-child(2){flex:1}.dim-row b{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.dim-row small{display:block;font-size:9px;color:#8ba2ab;margin-top:4px}.dim-row>span:last-child{color:#a7b9c1}
.dim-detail{padding:10px 15px;background:#f6fafb;border-top:1px solid #dce9ed;border-bottom:1px solid #dce9ed;flex-shrink:0;max-height:235px;overflow:auto;scrollbar-width:thin}.dim-detail-title{display:flex;align-items:center;justify-content:space-between;color:#7898a2;font-size:9px}.dim-detail-title button{border:0;background:transparent;color:#6e8d97;font-size:19px}.dim-detail>strong{display:block;font-size:22px;letter-spacing:-.5px;color:#235765;font-weight:600;font-variant-numeric:tabular-nums}.dim-detail>p{font-size:9px;line-height:1.5;color:#8aa0a9;margin:5px 0 9px}#dim-delta{display:flex;gap:9px;flex-wrap:wrap;font-size:9px;color:#7c96a0;margin:7px 0}#dim-delta b{font-weight:550;color:#4e7380}.dim-anchor-names{display:grid;gap:4px;color:#7495a1;font-size:9px;line-height:1.5}.dim-anchor-names span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.dim-anchor-names b{color:#356b79}.dim-detail-actions{display:flex;gap:5px;justify-content:space-between;margin-top:10px}.dim-detail-actions #dim-delete{color:#a36a59}
.dim-footer{padding:9px 16px 12px;flex-shrink:0;border-top:1px solid var(--line)}.dim-export{display:flex;gap:5px}.dim-export button:last-child{margin-left:auto}.dim-footer p{font-size:9px;color:#548e8c;margin:9px 0 5px}.dim-footer>small{display:block;font-size:8px;line-height:1.6;color:#96a6ae}
#dim-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:4}.dim-annotation{stroke:#416877;stroke-width:1.25;fill:none;stroke-linecap:butt}.dim-annotation .dim-extension{stroke:#6f8e9a;stroke-width:1}.dim-annotation circle{fill:#f7fafb;stroke:#347281;stroke-width:1.2}.dim-label{pointer-events:all;cursor:pointer}.dim-label rect{fill:#ffffffed;stroke:#cedee4;stroke-width:1}.dim-label text{fill:#355c69;stroke:none;font:500 12px Inter,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums}.dim-annotation.selected{stroke:#008a96;stroke-width:1.8}.dim-annotation.selected .dim-label rect{fill:#eaf9f7;stroke:#21939b}.dim-annotation.selected .dim-label text{fill:#066e78}.dim-annotation.draft{stroke:#178b98}.dim-annotation.draft .dim-label{pointer-events:none}.dim-annotation.approximate .dim-label rect{fill:#fff8ed;stroke:#d3b284}.dim-annotation.approximate .dim-label text{fill:#916c34}.dim-target{stroke:#278558;stroke-width:1.5;fill:#fff9}.dim-target circle:last-child{fill:#278558}.dim-target.midpoint{stroke:#397fb2}.dim-target.center{stroke:#8a65b0}.dim-target.face{stroke:#c58939}.dim-start{stroke:#168793;fill:#fff;stroke-width:2}.dim-end-tag{fill:#126f7a;stroke:none;font:bold 11px Inter,Arial}
.dim-snap-tip{position:absolute;z-index:5;pointer-events:none;max-width:220px;padding:7px 10px;border:1px solid #cfe0e3;border-radius:6px;box-shadow:0 4px 14px #21495212;background:#fffffff7}.dim-snap-tip b{font-size:10px;color:#2f7e70;display:block}.dim-snap-tip span{font-size:9px;color:#8c9fa8;display:block;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dim-banner{position:absolute;z-index:7;left:50%;top:16px;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:10px 13px;border:1px solid #c9e1e4;border-radius:9px;background:#fffffff5;box-shadow:0 5px 24px #24495412;width:max-content;max-width:calc(100% - 26px);color:#2f6d79;pointer-events:none}.dim-banner>svg{width:22px;height:22px;flex-shrink:0}.dim-banner>div{min-width:0}.dim-banner b{display:block;font-size:12px;font-weight:600;line-height:1.4}.dim-banner small{display:block;font-size:9px;color:#8a9fa8;margin-top:3px;line-height:1.4}.dim-banner button{pointer-events:all;border:0;border-left:1px solid #e0eaed;background:transparent;color:#3c7582;font-size:11px;white-space:nowrap;padding:7px 0 7px 12px}.dim-banner kbd{border-color:#d9e5e9;background:#f5f9fa;color:#7d97a0;margin-left:4px}
.dimensions-mode .view-caption,.dimensions-mode .mouse-hint,.dimensions-mode .parts-focus-bar{display:none}#r27-stage[data-tool=dimension]{cursor:crosshair}.dimensions-mode #y205-dimension{display:none}.dimensions-mode .axis-readout{opacity:.45}.dimensions-mode #dim-layer .dim-label{pointer-events:none}
.dimensions-mode:not(.panel-collapsed) .dim-banner{display:none}
.dimensions-mode .dim-detail{display:none}
.dim-detail-actions{flex-wrap:wrap}.dim-detail-actions button{flex:1;padding-left:5px;padding-right:5px}
#cnc-r27:not(.dimensions-mode) #dim-panel:has(.dim-detail:not([hidden])) .dim-setup>.field,#cnc-r27:not(.dimensions-mode) #dim-instruction{display:none}
#cnc-r27:not(.dimensions-mode) .dim-steps,#cnc-r27:not(.dimensions-mode) .dim-create-actions,#cnc-r27:not(.dimensions-mode) .dim-setup>.dim-check,#cnc-r27:not(.dimensions-mode) .dim-tip{display:none}
@media(min-width:901px) and (max-width:1320px){.viewport-toolbar .tool-button span{display:none}.viewport-toolbar .tool-button{padding:7px 9px}}
@media(min-width:1100px) and (max-width:1320px){.viewport-toolbar #ui-dimensions span{display:inline}}
@media(max-height:850px){.dim-setup .dim-tip{display:none}.dim-head{padding-top:3px;padding-bottom:8px}.dim-setup>.button{margin-bottom:8px;min-height:32px}.dim-steps{margin-top:9px}.dim-detail{max-height:182px}.dim-footer>small{font-size:8px}.dim-setup{padding-bottom:8px}.dim-footer{padding-top:6px;padding-bottom:8px}.dim-head .eyebrow{display:none}.dim-detail .dim-anchor-names{display:none}}
@media(max-width:600px){.viewport-toolbar{gap:1px}.view-picker select{width:106px}.viewport-toolbar .toolbar-separator{margin:0 1px}.dim-banner{top:11px;padding:9px 10px;gap:7px}.dim-banner b{font-size:10px}.dim-banner small{font-size:8px}.dim-banner kbd{display:none}.dim-banner>svg{width:18px;height:18px}.dim-banner button{font-size:10px;padding-left:8px}.dim-label text{font-size:12px}.dim-snap-tip{max-width:180px}}
@media(max-height:600px){#dim-panel{overflow:auto}.dim-setup,.dim-footer,.dim-list-head,.dim-head,.dim-detail{flex-shrink:0}#dim-list{min-height:90px;flex-shrink:0}}

/* ==========================================================================
   CNC STUDIO R27 — TEMA ESCURO: DIMENSÕES E COTAS
   ========================================================================== */
[data-theme="dark"] #dim-panel {
  color: #e6edf3;
}
[data-theme="dark"] .dim-depth-note {
  color: #7b94a3;
}
[data-theme="dark"] .dim-head h2 {
  color: #f0f6fc;
}
[data-theme="dark"] .dim-head h2 span {
  color: #38bdf8;
  background: #132733;
}
[data-theme="dark"] .dim-setup {
  border-bottom-color: var(--line);
}
[data-theme="dark"] .dim-steps span {
  border-top-color: #243547;
  color: #7992a1;
}
[data-theme="dark"] .dim-steps .current {
  color: var(--teal);
  border-color: var(--teal);
}
[data-theme="dark"] .dim-steps .done {
  border-color: #34d399;
  color: #34d399;
}
[data-theme="dark"] #dim-instruction {
  color: #c9d7df;
}
[data-theme="dark"] .dim-tip {
  color: #7994a3;
}
[data-theme="dark"] .dim-check {
  color: #8da4b3;
}
[data-theme="dark"] .dim-create-actions button,
[data-theme="dark"] .dim-footer button,
[data-theme="dark"] .dim-detail-actions button {
  background: #141c26;
  border-color: #263647;
  color: #9bb0be;
}
[data-theme="dark"] .dim-create-actions button:hover,
[data-theme="dark"] .dim-footer button:hover,
[data-theme="dark"] .dim-detail-actions button:hover {
  background: #1a2736;
  border-color: var(--teal);
  color: var(--teal);
}
[data-theme="dark"] .dim-points {
  background: #111b25;
  border-color: #203142;
}
[data-theme="dark"] .dim-points b {
  color: var(--teal);
  background: #0d2a33;
}
[data-theme="dark"] .dim-points small {
  color: #7993a2;
}
[data-theme="dark"] .dim-list-head {
  color: #8fa3b0;
}
[data-theme="dark"] .dim-empty {
  color: #7993a2;
}
[data-theme="dark"] .dim-empty b {
  color: #9bb0be;
}
[data-theme="dark"] .dim-row {
  color: #cbdbe5;
}
[data-theme="dark"] .dim-row:hover {
  background: #14202d;
}
[data-theme="dark"] .dim-row.selected {
  background: #12303a;
  border-color: #174f5e;
}
[data-theme="dark"] .dim-row.invalid {
  background: #2b1f13;
  color: #fca5a5;
}
[data-theme="dark"] .dim-row small {
  color: #7992a1;
}
[data-theme="dark"] .dim-detail {
  background: #111a24;
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}
[data-theme="dark"] .dim-detail > strong {
  color: #f0f6fc;
}
[data-theme="dark"] .dim-detail-title {
  color: #7993a2;
}
[data-theme="dark"] #dim-delta {
  color: #8da3b2;
}
[data-theme="dark"] #dim-delta b {
  color: #cbdbe5;
}
[data-theme="dark"] .dim-anchor-names {
  color: #7993a2;
}
[data-theme="dark"] .dim-anchor-names b {
  color: #38bdf8;
}
[data-theme="dark"] .dim-detail > .dim-view-status {
  background: #112833;
  color: #38bdf8;
}

[data-theme="dark"] .dim-annotation {
  stroke: #5a889b;
}
[data-theme="dark"] .dim-annotation .dim-extension {
  stroke: #486e7e;
}
[data-theme="dark"] .dim-annotation circle {
  fill: #0f1722;
  stroke: var(--teal);
}
[data-theme="dark"] .dim-label rect {
  fill: rgba(13, 20, 29, 0.94);
  stroke: #26384a;
}
[data-theme="dark"] .dim-label text {
  fill: #f0f6fc;
}
[data-theme="dark"] .dim-annotation.selected {
  stroke: var(--teal);
}
[data-theme="dark"] .dim-annotation.selected .dim-label rect {
  fill: #0c2b36;
  stroke: var(--teal);
}
[data-theme="dark"] .dim-annotation.selected .dim-label text {
  fill: #5eead4;
}
[data-theme="dark"] .dim-annotation.approximate .dim-label rect {
  fill: #2d2112;
  stroke: #6b4d1b;
}
[data-theme="dark"] .dim-annotation.approximate .dim-label text {
  fill: #fde047;
}
[data-theme="dark"] .dim-snap-tip {
  background: rgba(13, 20, 29, 0.95);
  border-color: #24384a;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .dim-snap-tip b {
  color: #34d399;
}
[data-theme="dark"] .dim-snap-tip span {
  color: #8da4b3;
}
[data-theme="dark"] .dim-banner {
  background: rgba(13, 20, 29, 0.95);
  border-color: #24384a;
  color: #f0f6fc;
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .dim-banner small {
  color: #829aa8;
}
[data-theme="dark"] .dim-banner button {
  border-left-color: #24384a;
  color: #38bdf8;
}
[data-theme="dark"] .dim-banner kbd {
  background: #16222f;
  border-color: #27394c;
  color: #9bb1c0;
}

/* ==========================================================================
   TRENA / PRUMO 3D · SELETORES DE ALTURA (Z), LARGURA (X) E PROFUNDIDADE (Y)
   ========================================================================== */
.dim-primary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 10px;
}
.dim-primary-row .button {
  width: 100%;
  margin: 0;
  padding: 7px 9px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dim-trena-cta {
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.22);
}
.dim-trena-cta:hover,
.dim-trena-cta.active {
  background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35);
}
.dim-mode-field {
  display: none;
}
.dim-axis-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 0 0 9px;
}
.dim-axis-pill {
  border: 1px solid #d4e4e8;
  border-radius: 6px;
  background: #f5fbfb;
  color: #365f6b;
  padding: 6px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.dim-axis-pill b {
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}
.dim-axis-pill small {
  font-size: 8px;
  color: #7c97a1;
  line-height: 1.1;
}
.dim-axis-pill:hover {
  border-color: #168895;
  background: #eaf7f7;
}
.dim-axis-pill.active {
  background: #137a85;
  border-color: #0e636d;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(19, 122, 133, 0.25);
}
.dim-axis-pill.active small {
  color: #c7f2f5;
}

.dim-laser-box {
  border: 1px solid #d3e5e9;
  border-radius: 7px;
  background: linear-gradient(180deg, #f3fafa 0%, #ebf5f6 100%);
  padding: 7px 8px;
  margin-bottom: 9px;
}
.dim-laser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #2f6c78;
  margin-bottom: 6px;
}
.dim-laser-head small {
  font-weight: 600;
  color: #0d828e;
  background: #dff2f3;
  padding: 1px 5px;
  border-radius: 4px;
}
.dim-laser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.dim-laser-btn {
  border: 1px solid #c9dfe3;
  border-radius: 5px;
  background: #ffffff;
  color: #295e6a;
  font-size: 9.5px;
  font-weight: 600;
  padding: 5px 6px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.dim-laser-btn:hover {
  background: #e6f6f6;
  border-color: #158591;
  color: #0e636c;
}
.dim-laser-btn.active {
  background: #0ea5e9;
  border-color: #0284c7;
  color: #ffffff;
}

.dim-live-box {
  margin: 8px 0;
  padding: 8px;
  border: 1px solid #bfe0e4;
  border-radius: 7px;
  background: #eef9f9;
}
.dim-live-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #46727e;
  margin-bottom: 6px;
}
.dim-live-title b {
  font-size: 12px;
  color: #0f6d77;
  font-variant-numeric: tabular-nums;
}
.dim-live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.dim-live-card {
  border: 1px solid #cde4e7;
  border-radius: 5px;
  background: #ffffff;
  padding: 5px 7px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.dim-live-card span {
  font-size: 9px;
  color: #5b7e88;
}
.dim-live-card b {
  font-size: 10.5px;
  color: #1c4e5a;
  font-variant-numeric: tabular-nums;
}
.dim-live-card.active {
  border-color: #14838f;
  background: #dff4f5;
}
.dim-live-card.active b {
  color: #09636d;
}
.dim-quick-save {
  width: 100%;
  margin-top: 7px;
  min-height: 30px;
  font-size: 10.5px;
  font-weight: 600;
}

.dim-banner-axes {
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: all;
  flex-wrap: wrap;
}
.dim-banner-axes button {
  border: 1px solid #cbe0e4;
  border-radius: 5px;
  background: #f3fafa;
  color: #2c6571;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 7px;
  cursor: pointer;
}
.dim-banner-axes button.active {
  background: #137d88;
  border-color: #0e626b;
  color: #ffffff;
}
.dim-banner-axes .dim-banner-laser {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1;
}
.dim-banner-axes .dim-banner-save {
  background: #10b981;
  border-color: #059669;
  color: #ffffff;
}

.dim-target.plumb {
  stroke: #0ea5e9;
  stroke-width: 1.8;
}
.dim-target.plumb circle:last-child {
  fill: #0ea5e9;
}
.dim-target.edge {
  stroke: #0284c7;
}
.dim-target.edge circle:last-child {
  fill: #0284c7;
}
.dim-target.surface {
  stroke: #d97706;
}
.dim-target.surface circle:last-child {
  fill: #d97706;
}
.dim-tip-measure {
  display: block;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(140, 165, 175, 0.25);
  font-style: normal;
  font-size: 9.5px;
  color: #0f766e;
  font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .dim-axis-pill {
  background: #131e2a;
  border-color: #243648;
  color: #cbdbe5;
}
[data-theme="dark"] .dim-axis-pill small {
  color: #7b93a2;
}
[data-theme="dark"] .dim-axis-pill:hover {
  border-color: var(--teal);
  background: #162635;
}
[data-theme="dark"] .dim-axis-pill.active {
  background: #0d7480;
  border-color: #2dd4bf;
  color: #ffffff;
}
[data-theme="dark"] .dim-axis-pill.active small {
  color: #ccfbf1;
}
[data-theme="dark"] .dim-laser-box {
  background: linear-gradient(180deg, #111c27 0%, #0e1720 100%);
  border-color: #223446;
}
[data-theme="dark"] .dim-laser-head {
  color: #7dd3fc;
}
[data-theme="dark"] .dim-laser-head small {
  background: #132c3b;
  color: #38bdf8;
}
[data-theme="dark"] .dim-laser-btn {
  background: #162230;
  border-color: #26394d;
  color: #cbdbe5;
}
[data-theme="dark"] .dim-laser-btn:hover {
  border-color: #38bdf8;
  color: #38bdf8;
  background: #1a2b3c;
}
[data-theme="dark"] .dim-laser-btn.active {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
}
[data-theme="dark"] .dim-live-box {
  background: #101d28;
  border-color: #1e3a4c;
}
[data-theme="dark"] .dim-live-title {
  color: #8fa6b5;
}
[data-theme="dark"] .dim-live-title b {
  color: #2dd4bf;
}
[data-theme="dark"] .dim-live-card {
  background: #152230;
  border-color: #24374a;
}
[data-theme="dark"] .dim-live-card span {
  color: #8ca3b2;
}
[data-theme="dark"] .dim-live-card b {
  color: #f0f6fc;
}
[data-theme="dark"] .dim-live-card.active {
  background: #11323d;
  border-color: #2dd4bf;
}
[data-theme="dark"] .dim-live-card.active b {
  color: #5eead4;
}
[data-theme="dark"] .dim-banner-axes button {
  background: #162230;
  border-color: #27394d;
  color: #cbdbe5;
}
[data-theme="dark"] .dim-banner-axes button.active {
  background: #0d7480;
  border-color: #2dd4bf;
  color: #ffffff;
}
[data-theme="dark"] .dim-banner-axes .dim-banner-laser {
  background: #112a3d;
  border-color: #0284c7;
  color: #38bdf8;
}
[data-theme="dark"] .dim-tip-measure {
  color: #34d399;
}
@media(max-width:600px){
  .dim-banner-axes button {
    font-size: 9px;
    padding: 3px 5px;
  }
}

