.production-theme #technical2 :is(.tech2-drawing-toolbar,.tech2-drawing-context) { display:flex; flex:0 0 auto; align-items:center; flex-wrap:wrap; gap:8px; padding:6px 16px; border-bottom:1px solid #dce1e7; background:#fafbfc; min-width:0; }
.production-theme #technical2 .tech2-drawing-toolbar :is(button,summary) { display:flex; align-items:center; gap:7px; min-height:32px; padding:5px 9px; font-size:11px; color:#34414b; border:1px solid #dce1e7; border-radius:4px; background:#fff; cursor:pointer; }
.production-theme #technical2 .tech2-drawing-toolbar svg { width:15px; height:15px; flex:0 0 15px; }
.production-theme #technical2 .tech2-drawing-menu { position:relative; margin:0; padding:0; border:0; }
.production-theme #technical2 .tech2-drawing-menu > summary { list-style:none; }
.production-theme #technical2 .tech2-drawing-menu > summary::-webkit-details-marker { display:none; }
.production-theme #technical2 .tech2-drawing-menu[open] > summary { border-color:#95b8e7; background:#edf4ff; color:#1760ce; }
.production-theme #technical2 .tech2-drawing-menu > div { position:absolute; top:38px; left:0; z-index:70; width:250px; max-height:65dvh; overflow:auto; padding:6px; border:1px solid #dce1e7; border-radius:5px; background:#fff; box-shadow:0 8px 24px #14223220; display:grid; gap:2px; }
.production-theme #technical2 .tech2-drawing-menu button { text-align:left; width:100%; border-color:transparent; min-height:34px; }
.production-theme #technical2 .tech2-drawing-menu button:hover { background:#edf4ff; }
.production-theme #technical2 .tech2-smart-toggle { display:flex; align-items:center; gap:6px; font-size:11px; margin:0 0 0 auto; white-space:nowrap; }
.production-theme #technical2 :is(.tech2-smart-toggle,.tech2-draw-check) input { width:14px; height:14px; min-height:14px; margin:0; }
.production-theme #technical2 #tech2DrawingState { font-size:11px; color:#276794; min-width:0; overflow-wrap:anywhere; }
.production-theme #technical2 .tech2-drawing-context { background:#fff; min-height:44px; }
.production-theme #technical2 .tech2-drawing-context label { display:flex; align-items:center; gap:7px; margin:0; font-size:11px; }
.production-theme #technical2 .tech2-drawing-context :is(input,select) { width:88px; min-width:0; height:30px; min-height:30px; font-size:12px; padding:4px 6px; }
.production-theme #technical2 .tech2-drawing-context .tech2-drawing-text { flex:1 1 200px; max-width:380px; }
.production-theme #technical2 .tech2-drawing-context .tech2-drawing-text input { width:100%; }
.production-theme #technical2 :is(.tech2-drawing-context,.tech2-drawing-inspector,.tech2-underlay-settings) button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:30px; padding:5px 9px; font-size:11px; }
.production-theme #technical2 :is(.tech2-drawing-context,.tech2-drawing-inspector,.tech2-underlay-settings) svg { width:15px; height:15px; }
.production-theme #technical2 .tech2-drawing-inspector { display:grid; gap:12px; min-width:0; }
.production-theme #technical2 .tech2-drawing-inspector h4 { font-size:14px; margin:0; }
.production-theme #technical2 :is(.tech2-drawing-inspector,.tech2-underlay-settings) label { display:grid; gap:5px; margin:0; min-width:0; }
.production-theme #technical2 .tech2-draw-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.production-theme #technical2 :is(.tech2-draw-fields,.tech2-drawing-inspector,.tech2-underlay-settings) :is(input,select,textarea) { width:100%; min-width:0; max-width:100%; box-sizing:border-box; }
.production-theme #technical2 .tech2-drawing-inspector textarea { font-size:12px; resize:vertical; min-height:48px; padding:7px; border:1px solid #d5dddf; border-radius:4px; }
.production-theme #technical2 .tech2-drawing-inspector output { font-size:12px; line-height:1.7; color:#196c60; }
.production-theme #technical2 :is(.tech2-drawing-inspector,.tech2-underlay-settings) .tech2-draw-check { display:flex; align-items:center; gap:8px; }
.production-theme #technical2 .tech2-draw-check input { width:14px; }
.production-theme #technical2 :is(.tech2-vertices,.tech2-underlay-settings) { padding:12px 0 0; margin:0; border:0; border-top:1px solid #e0e4e8; border-radius:0; }
.production-theme #technical2 :is(.tech2-vertices,.tech2-underlay-settings) summary { font-size:12px; font-weight:600; cursor:pointer; margin-bottom:10px; }
.production-theme #technical2 .tech2-vertex-row { display:grid; grid-template-columns:16px minmax(0,1fr) minmax(0,1fr) 28px; gap:4px; align-items:center; margin-bottom:6px; font-size:11px; }
.production-theme #technical2 .tech2-vertex-row button { width:28px; padding:4px; }
.production-theme #technical2 .tech2-draw-actions { display:flex; gap:8px; margin-top:8px; }
.production-theme #technical2 .tech2-draw-actions button { width:34px; height:32px; }
.production-theme #technical2 .tech2-underlay-settings { margin-top:18px; }
.production-theme #technical2 .tech2-underlay-settings > :is(label,div,span) { margin-bottom:10px; }
.production-theme #technical2 .tech2-underlay-name { display:block; overflow-wrap:anywhere; font-size:11px; color:#68747c; }
.production-theme #technical2 .tech2-drawing-dialog { width:420px; max-width:calc(100vw - 24px); max-height:85dvh; padding:18px; border:1px solid #dce1e7; border-radius:6px; background:#fff; }
.production-theme #technical2 .tech2-drawing-dialog::backdrop { background:#141c2460; }
.production-theme #technical2 .tech2-drawing-dialog header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.production-theme #technical2 .tech2-drawing-dialog h3 { margin:0; font-size:16px; }
.production-theme #technical2 .tech2-drawing-dialog header button { width:30px; height:30px; padding:4px; }
.production-theme #technical2 .tech2-drawing-dialog svg { width:16px; height:16px; }
.production-theme #technical2 .tech2-dialog-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.production-theme #technical2 .tech2-dialog-fields label { display:grid; gap:6px; min-width:0; font-size:12px; }
.production-theme #technical2 .tech2-dialog-fields input { width:100%; min-width:0; }
.production-theme #technical2 .tech2-drawing-dialog footer { display:flex; justify-content:flex-end; gap:8px; margin-top:18px; }
.production-theme #technical2 .tech2-dialog-error { color:#b62b35; font-size:12px; overflow-wrap:anywhere; }
.production-theme #technical2 .tech2-drawing-handle { cursor:crosshair; }
.production-theme #technical2.role-plan-readonly :is(.tech2-drawing-toolbar,.tech2-drawing-context) { display:none!important; }
@media(max-width:900px) {
  .production-theme #technical2 :is(.tech2-drawing-toolbar,.tech2-drawing-context) { padding:7px 8px; gap:6px; }
  .production-theme #technical2 .tech2-drawing-menu > div { position:fixed; top:100px; left:12px; width:calc(100vw - 24px); max-width:330px; }
  .production-theme #technical2 .tech2-smart-toggle { margin-left:0; }
}
