/* The Component editor (component-tools.js): a focused view over the workspace, from the terrain panel's look (topo-edit.css), in DAVINCI glass and in the light Editable mode. */
.v8-topo-panel.v8-comp-editor{top:76px;left:60px;right:16px;bottom:16px;width:auto;max-height:none;display:flex;flex-direction:column;gap:8px;box-sizing:border-box;padding:14px 18px;overflow:hidden}
.v8-topo-panel.v8-comp-editor[hidden]{display:none}
body.v8-revit .v8-topo-panel.v8-comp-editor{top:calc(36px + var(--rv-y,0px));left:0;right:0;bottom:26px;z-index:35;border-radius:0;border-width:1px 0;box-shadow:none;padding:10px 14px}
.v8-comp-editor .c-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-right:36px}
.v8-comp-editor .c-top b{font:600 15px var(--dv-font);margin-right:6px}
.v8-comp-editor .dv-field{box-sizing:border-box;padding:5px 8px;font-size:12px;min-width:0}
.v8-comp-editor .c-name{width:220px}
.v8-comp-editor .c-count{color:var(--dv-muted);font-size:12px}
.v8-comp-editor .c-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(230px,280px) minmax(240px,1fr) minmax(320px,430px);gap:14px}
.v8-comp-editor .c-col{min-height:0;overflow:auto;padding-right:4px}
.v8-comp-editor .c-mid{min-height:0;display:flex;flex-direction:column;gap:6px}
.v8-comp-editor .c-view{flex:1;min-height:0;width:100%;border:1px solid var(--dv-line);border-radius:10px;cursor:grab;touch-action:none}
.v8-comp-editor .c-info{min-height:1.3em;font-size:12px;color:var(--dv-soft);line-height:1.35}
.v8-comp-editor .c-info.s-bad,.v8-comp-editor .t-said.s-bad{color:#ff9d92}
.v8-comp-editor .dv-title{margin:10px 2px 5px}
.v8-comp-editor .c-parts{display:grid;gap:3px;max-height:150px;overflow:auto;margin-bottom:6px}
.v8-comp-editor .c-part{display:flex;justify-content:space-between;gap:8px;padding:4px 8px;border:1px solid transparent;border-radius:6px;background:none;color:inherit;font:12px var(--dv-font);text-align:left;cursor:pointer}
.v8-comp-editor .c-part b{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-comp-editor .c-part span{color:var(--dv-muted);white-space:nowrap}
.v8-comp-editor .c-part.on{border-color:var(--dv-edge);background:var(--dv-pane-strong)}
.v8-comp-editor .t-modes{display:flex;flex-wrap:wrap;gap:4px}
.v8-comp-editor .t-modes .dv-chip{padding:3px 8px;font-size:11px}
.v8-comp-editor .c-form{margin-top:8px;display:grid;gap:5px}
.v8-comp-editor .c-f{display:grid;gap:2px;margin:0;font-size:11px;color:var(--dv-soft)}
.v8-comp-editor .c-f span{display:block;float:none;font-size:11px;letter-spacing:0;text-transform:none;color:var(--dv-soft)}
.v8-comp-editor .c-f input,.v8-comp-editor .c-f select{width:100%}
.v8-comp-editor .c-check span{flex:1}
.v8-comp-editor .c-check{display:flex;gap:6px;align-items:flex-start}
.v8-comp-editor .c-check input{width:auto;margin:2px 0 0}
.v8-comp-editor .c-pair{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.v8-comp-editor .c-point{display:grid;grid-template-columns:1fr 1fr 18px;gap:4px;align-items:end}
.v8-comp-editor .c-table{width:100%;border-collapse:collapse;font-size:11px;margin-bottom:6px}
.v8-comp-editor .c-table th{padding:2px 3px;font-weight:600;text-align:left;color:var(--dv-soft);white-space:nowrap}
.v8-comp-editor .c-table td{padding:1px 2px}
.v8-comp-editor .c-table td .dv-field{width:100%;min-width:52px;padding:3px 5px;font-size:11px}
.v8-comp-editor .c-scroll{overflow:auto}
.v8-comp-editor .c-scroll td:nth-child(2) .dv-field{min-width:84px}
.v8-comp-editor .s-del{border:0;background:none;color:inherit;font-size:14px;line-height:1;padding:2px 4px;cursor:pointer}
.v8-comp-editor .t-foot{margin-top:0;padding-top:8px}
.v8-comp-editor .t-said{flex:1 1 200px}
.v8-comp-props{margin:10px 0 4px}
.v8-comp-props .dv-title{margin:10px 0 5px}
.v8-comp-props .c-prop-name{font-size:12px;margin-bottom:4px}
.v8-comp-props .c-p{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:6px;align-items:center;margin:3px 0;font-size:12px}
.v8-comp-props .c-p span{float:none;font-size:12px}
.v8-comp-props .c-p em{font-style:normal;opacity:.65}
.v8-comp-props .dv-field{box-sizing:border-box;width:100%;padding:4px 7px;font-size:12px}
.v8-comp-props .c-link{margin-top:4px;padding:0;border:0;background:none;color:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
body.v8-revit .v8-comp-editor :is(.c-count,.c-part span,.c-f,.c-f span,.c-table th,.c-info){color:#555}
body.v8-revit .v8-comp-editor .c-view{background:#fff;border-color:var(--rv-edge,#b9b9b9);border-radius:2px}
body.v8-revit .v8-comp-editor .c-part.on{background:#e8eef9;border-color:rgb(0,59,189)}
body.v8-revit .v8-comp-editor :is(.c-info.s-bad,.t-said.s-bad){color:#b3261e}
body.v8-revit .v8-comp-props .dv-field{background:#fff;color:var(--rv-text,#252525);border:1px solid var(--rv-edge,#b9b9b9);border-radius:3px}
body.v8-revit .v8-comp-props .dv-title{color:#777}
@media (max-width:900px){.v8-topo-panel.v8-comp-editor{overflow:auto}.v8-comp-editor .c-grid{flex:none;display:flex;flex-direction:column}.v8-comp-editor .c-col{overflow:visible;padding-right:0}.v8-comp-editor .c-mid{height:280px;flex:none}.v8-comp-editor .c-scroll{overflow:auto}}
