/* View settings, templates and sheets (view-tools.js, sheet-tools.js): the terrain panel's look (topo-edit.css) in DAVINCI glass and in the light Editable mode. */
.v8-view-panel{width:min(400px,calc(100vw - 32px))}
.v8-view-panel .v-cats{max-height:300px}
.v8-view-panel .v-cats table{table-layout:auto}
.v8-view-panel .v-cats :is(td,th){padding:1px 3px;vertical-align:middle;text-align:left}
.v8-view-panel .v-cats td:first-child{width:100%}
.v8-view-panel .v-cats .dv-field{min-width:88px}
.v8-view-panel .v-cat{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin:0;width:auto;font-size:12px;white-space:nowrap;float:none;color:inherit}
.v8-view-panel .v-cat input{width:auto;margin:0;flex:none}
.v8-view-panel .v-cat em{font-style:normal;opacity:.65;margin-left:auto}
.v8-view-panel .v-col{white-space:nowrap}
.v8-view-panel input[type=color]{width:26px;height:20px;padding:0;border:1px solid var(--dv-line);border-radius:4px;background:none;opacity:.35;cursor:pointer;vertical-align:middle}
.v8-view-panel input[type=color].on{opacity:1}
.v8-view-panel input[type=color]:disabled,.v8-view-panel select:disabled,.v8-view-panel input:disabled{opacity:.4;cursor:default}
.v8-view-panel .s-del{border:0;background:none;color:inherit;font-size:13px;line-height:1;padding:0 3px;cursor:pointer}
.v8-view-panel .dv-title{display:block;margin:12px 0 4px;text-align:left}
.v8-view-panel .v-inc input{width:auto;margin:0;flex:none}
.v8-view-panel .v-inc{display:flex;justify-content:flex-start;gap:6px;align-items:center;float:none;width:auto;margin:0;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit}
.v8-view-panel .v-crop{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.v8-view-panel .v-crop label{display:grid;gap:2px;float:none;margin:0}
.v8-view-panel .v-crop span{font-size:10px;color:var(--dv-soft);float:none;letter-spacing:0;text-transform:none}
.v8-view-panel .v-crop .dv-field{box-sizing:border-box;width:100%;padding:4px 5px;font-size:12px}
.v8-view-panel .v-rows{display:grid;gap:3px;margin-bottom:8px;max-height:150px;overflow:auto}
.v8-view-panel .v-row{display:flex;justify-content:space-between;gap:8px;padding:5px 8px;border:1px solid transparent;border-radius:6px;background:none;color:inherit;font:12px var(--dv-font);text-align:left;cursor:pointer}
.v8-view-panel .v-row b{font-weight:500}
.v8-view-panel .v-row span{color:var(--dv-muted)}
.v8-view-panel .v-row.on{border-color:var(--dv-edge);background:var(--dv-pane-strong)}
.v8-view-panel .v-views{display:grid;gap:3px;max-height:130px;overflow:auto}
.v8-view-panel .s-line .dv-btn{white-space:nowrap}
.v8-view-panel .t-said{flex:1 1 150px;font-size:12px}
.v8-view-panel .t-said.s-bad,.v8-sheet-editor .t-said.s-bad{color:#ff9d92}
body.v8-revit .v8-view-panel .v-row.on{background:#e8eef9;border-color:rgb(0,59,189)}
body.v8-revit .v8-view-panel :is(.v-row span,.v-crop span){color:#555}
body.v8-revit .v8-view-panel .t-said.s-bad,body.v8-revit .v8-sheet-editor .t-said.s-bad{color:#b3261e}
body.v8-revit .v8-view-panel .dv-field{background:#fff;color:var(--rv-text,#252525);border:1px solid var(--rv-edge,#b9b9b9);border-radius:3px}
.v8-crop-cover{position:fixed;inset:0;z-index:calc(var(--dv-layer-panel, 40) - 1);cursor:crosshair;touch-action:none}
.v8-crop-rect{position:fixed;border:1.5px solid #e8c37a;background:rgba(232,195,122,.14);pointer-events:none}
body.v8-revit .v8-crop-rect{border-color:rgb(0,59,189);background:rgba(0,59,189,.08)}
.v8-comp-editor .sh-grid{grid-template-columns:minmax(170px,210px) minmax(240px,1fr) minmax(230px,280px)}
.v8-sheet-editor .sh-parts{max-height:none}
.v8-sheet-editor .sh-stage{position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.v8-sheet-editor .sh-paper{position:relative;flex:none;background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.28);touch-action:none}
.v8-sheet-editor .sh-paper[hidden]{display:none}
.v8-sheet-editor .sh-paper svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.v8-sheet-editor .sh-item{position:absolute;box-sizing:border-box;padding:0;margin:0;border:1px dashed transparent;border-radius:0;background:none;cursor:move;touch-action:none}
.v8-sheet-editor .sh-item:hover{border-color:rgba(0,59,189,.55)}
.v8-sheet-editor .sh-item.on{border:1.5px solid rgb(0,59,189);background:rgba(0,59,189,.04)}
.v8-sheet-editor .sh-empty{position:absolute}
.v8-sheet-editor .sh-what{margin:0 0 6px;font-size:12px;line-height:1.4}
.v8-sheet-editor .sh-what em{font-style:normal;color:var(--dv-soft)}
.v8-sheet-editor .sh-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.v8-sheet-editor textarea.dv-field{width:100%;box-sizing:border-box;resize:vertical;font:12px var(--dv-font)}
.v8-sheet-editor .sh-side .c-parts{max-height:130px;margin-bottom:6px}
.v8-sheet-editor .c-top .dv-btn{text-decoration:none;padding:4px 10px;font-size:12px}
.v8-sheet-editor .t-foot{border-top:0;margin-top:0;padding-top:2px;min-height:18px}
.v8-sheet-editor .sh-side .t-actions{margin:6px 0}
body.v8-revit .v8-sheet-editor .sh-stage{background:#d8d8d8}
body.v8-revit .v8-sheet-editor .sh-what em{color:#555}
@media (max-width:900px){.v8-comp-editor .sh-grid{display:flex}.v8-sheet-editor .sh-stage{min-height:300px}}
