.node-toolbar{position:absolute;z-index:9;top:44px;left:10px;display:flex;align-items:center;gap:6px;padding:8px;border:1px solid var(--border);border-radius:9px;background:#fff;box-shadow:0 4px 18px #15221c24;max-width:calc(100% - 20px);touch-action:manipulation}.node-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:7px 10px;border:1px solid var(--border);border-radius:6px;font-size:11px;white-space:nowrap}.node-toolbar button svg{width:15px;height:15px}.node-tool-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;font-size:11px}.node-toolbar .danger{color:#b75c4f;border-color:#d9aaa0;background:#fff3f1}.edge-actions{grid-template-columns:1fr 1fr}.edge-actions button[data-edge-action=edit]{border-color:#a9bf8a;font-weight:600}.field-grid>*{min-width:0}.project-details-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}#project-form .field input{font-size:16px;min-height:46px;max-width:100%;min-width:0}#project-form input[type=date]{display:block;box-sizing:border-box;min-inline-size:0;width:100%;text-align:left}#project-form input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}.language-toggle{display:inline-flex;gap:4px;align-items:center;justify-content:center;min-height:36px;min-width:52px;border:1px solid var(--border);border-radius:7px;font-size:12px;padding:5px 8px;flex-shrink:0}.language-toggle span{font-size:10px;font-weight:600}.canvas{touch-action:none}html[data-theme=dark] .node-toolbar{background:#23301f;border-color:#506044}html[data-theme=dark] .node-toolbar .danger{background:#4a2924;color:#f0b6a9}html[data-theme=dark] .node-toolbar button{border-color:#506044}@media(max-width:620px){.project-details-grid{grid-template-columns:minmax(0,1fr);gap:6px}.node-toolbar{gap:4px;padding:7px;width:calc(100% - 20px)}.node-tool-name{max-width:70px;flex:1}.node-toolbar button{font-size:10px;padding:6px 7px;min-height:44px}.topbar{gap:5px!important;padding-inline:10px!important}.top-right{gap:4px!important}#save-status{display:none}.topbar .brand{font-size:23px}.topbar .brand-symbol{width:29px;height:30px}.language-toggle{min-width:47px;padding:5px}#project-form .field>span{font-size:12px}}@media print{.node-toolbar,.language-toggle,.language-menu{display:none!important}}

.venue-search-panel{margin:0 0 20px;border:1px solid var(--border);border-radius:7px;padding:0 10px}.venue-search-panel>summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:12px;line-height:1.6}.venue-search-panel .venue-search{margin:0 0 12px;border:0;padding:5px 0}.language-menu{font-size:13px}
/* Keep all cable actions in one compact row so the menu can sit clear of ports. */
.edge-actions{grid-template-columns:minmax(84px,1.4fr) repeat(3,minmax(0,1fr))}.edge-actions button{white-space:normal;line-height:1.3;font-size:10px;padding:7px 4px}.edge-endpoint{z-index:12}.edge-pull-hint{font-size:9px}
.canvas.panning,.canvas.panning *{cursor:grabbing!important}
.device-photo-wrap{position:relative}.equipment-photo-reference{position:absolute;bottom:0;left:50%;transform:translateX(-50%);max-width:100%;padding:1px 5px;border-radius:3px;background:#f4f7efed;color:#526646;font-size:7px;white-space:nowrap;line-height:1.5;pointer-events:none}.inspector-preview .equipment-photo-reference{font-size:10px;padding:3px 8px}
