.location-tree-viewport, .location-matrix-scroll, .location-floor-scroll { overflow: auto; border: 1px solid var(--bs-border-color); border-radius: .5rem; background: var(--bs-body-bg); color: var(--bs-body-color); } .location-tree-viewport { height: clamp(20rem, 55vh, 40rem); cursor: grab; } .location-tree-viewport:active { cursor: grabbing; } .location-tree-space { position: relative; } .location-tree-graph { position: absolute; left: 50%; top: 1rem; width: max-content; transform-origin: top center; translate: -50% 0; padding: 0 .75rem 1rem; --tree-line: var(--bs-secondary-color); } .location-tree-branch { display: flex; flex-direction: column; align-items: center; position: relative; } .location-tree-node { display: flex; align-items: center; gap: .35rem; border: 1px solid var(--bs-border-color); background: var(--bs-tertiary-bg); border-radius: .45rem; padding: .5rem .7rem; } .location-tree-node a { max-width: 15rem; overflow-wrap: anywhere; } .location-tree-node[data-current] { background: #f6cc7c; border-color: #9a6008; } .location-tree-node[data-current] a { color: #352000; font-weight: 700; } .location-tree-toggle { border: 1px solid currentColor; border-radius: .25rem; color: inherit; background: transparent; line-height: 1; padding: .2rem .35rem; } .location-tree-children { display: flex; position: relative; padding-top: 2rem; } .location-tree-children[hidden] { display: none; } .location-tree-children::before, .location-tree-children > .location-tree-branch::before, .location-tree-children > .location-tree-branch::after { position: absolute; content: ""; pointer-events: none; } .location-tree-children::before { left: 50%; top: 0; height: 1rem; border-left: 1px solid var(--tree-line); } .location-tree-children > .location-tree-branch { padding: 0 .55rem; } .location-tree-children > .location-tree-branch::before { left: 50%; top: -1rem; height: 1rem; border-left: 1px solid var(--tree-line); } .location-tree-children > .location-tree-branch::after { top: -1rem; left: 0; right: 0; border-top: 1px solid var(--tree-line); } .location-tree-children > .location-tree-branch:first-child::after { left: 50%; } .location-tree-children > .location-tree-branch:last-child::after { right: 50%; } .location-matrix-tools, .location-matrix-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; } .location-matrix-tools { margin-bottom: .75rem; } .location-matrix-tools select { max-width: min(24rem, 76vw); } .location-matrix-scroll { max-height: 58vh; } .location-matrix-table { border-collapse: separate; border-spacing: 0; min-width: 100%; } .location-matrix-table th, .location-matrix-table td { border-right: 1px solid var(--bs-border-color); border-bottom: 1px solid var(--bs-border-color); background: var(--bs-body-bg); color: var(--bs-body-color); } .location-matrix-table th { background: var(--bs-tertiary-bg); padding: .4rem .55rem; min-width: 7rem; } .location-matrix-table thead th { position: sticky; top: 0; z-index: 2; } .location-matrix-table tr > :first-child { position: sticky; left: 0; z-index: 1; } .location-matrix-table thead tr > :first-child { z-index: 3; } .location-matrix-table .location-matrix-current { background: var(--bs-warning-bg-subtle); color: var(--bs-warning-text-emphasis); } .location-matrix-table td { text-align: center; padding: 0; } .location-matrix-cell { width: 100%; min-height: 2.4rem; padding: .25rem; border: 1px solid transparent; color: inherit; background: transparent; } .location-matrix-cell:hover, .location-matrix-cell[aria-pressed="true"] { border-color: var(--bs-primary); background: var(--bs-primary-bg-subtle); } .location-matrix-indicator { display: block; white-space: nowrap; } .location-direction-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } .location-direction-panel { padding: .8rem; border: 1px solid var(--bs-border-color); border-radius: .5rem; background: var(--bs-body-bg); color: var(--bs-body-color); } .location-direction-panel h3 { overflow-wrap: anywhere; } .location-direction-field, .location-direction-check { display: flex; gap: .35rem; margin-bottom: .55rem; } .location-direction-field { flex-direction: column; } .location-direction-check { align-items: baseline; } .location-usage-list { padding-inline-start: 1rem; } .location-map-frame { width: 100%; height: clamp(18rem, 52vh, 38rem); border: 1px solid var(--bs-border-color); } .location-floor-scroll { max-height: 55vh; } .location-floor-preview [data-floor-level] { width: auto; } .location-floor-preview .location-floor-current { outline: 3px solid #e5a930; outline-offset: -3px; z-index: 2; } @media (max-width: 640px) { .location-direction-panels { grid-template-columns: minmax(0, 1fr); } } .location-floor-preview .floor-plan-grid-wrap { max-height: none; overflow: visible; } .location-floor-preview .floor-plan-stage button { cursor: default; } .location-floor-preview .floor-plan-resize-handle { display: none; }