/* Floor plans share the workspace's white/blue palette and compact controls. */
.workspaceApp .tree .roomTwisty{padding:0;border:0;background:transparent;color:#8195b1;min-width:16px;flex:0 0 16px}
.workspaceApp .tree .roomLeaf>.node-header{display:grid;grid-template-columns:16px 20px minmax(0,1fr) 24px 28px 28px;gap:3px}
.workspaceApp .tree .roomLeaf>.node-header>b{display:none}
.workspaceApp .tree .roomLeaf>.node-header>.treeName{min-width:0;font-weight:650}
.workspaceApp .tree .roomLeaf>.node-header>.roomDragHandle{width:20px;min-width:20px}
.workspaceApp .tree .addPhotoPoint{border:1px solid #cbddfa;background:#edf4ff;color:#1261ee;border-radius:6px;min-width:24px;padding:2px 5px;font-size:17px;line-height:20px}
.workspaceApp .tree .photoPointChildren{margin:4px 1px 2px 17px;padding-left:9px;border-left:1px solid #d3e2f5}
.workspaceApp .tree .photoPointNode{border-radius:7px;margin:3px 0;background:#fff;border:1px solid transparent}
.workspaceApp .tree .photoPointNode:hover{border-color:#d2e2fa;background:#f6f9ff}
.workspaceApp .tree .photoPointNode.isActive{border-color:#a4c5fb;background:#edf4ff}
.workspaceApp .tree .photoPointHeader{display:flex;align-items:center;gap:5px;min-height:34px;padding:3px 5px;cursor:pointer;border-radius:7px}
.workspaceApp .tree .photoPointHeader:focus-visible{outline:2px solid #1261ee;outline-offset:1px}
.workspaceApp .tree .photoPointHeader .treeName{flex:1;min-width:0;color:#385274;font-size:11px}
.workspaceApp .tree .photoPointHeader .editBtn,.workspaceApp .tree .photoPointHeader .deleteBtn{flex:0 0 auto}
.treePointDot{width:8px;height:8px;flex:0 0 8px;background:#1261ee;border-radius:50%;box-shadow:0 0 0 3px #1261ee12;margin:0 3px}
.photoPointNode.isActive .treePointDot{box-shadow:0 0 0 3px #1261ee24}
.photoPointCount{color:#7d91ad;font-size:10px;min-width:12px;text-align:center}
.fpViewport.isPlacing{cursor:crosshair}.fpViewport.hasPlacementGhost{cursor:none}.fpViewport.isPanning{cursor:grabbing}
.fpPlacementGhost{position:absolute;pointer-events:none;width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:#1261ee;box-shadow:0 0 0 6px #1261ee25,0 0 0 7px #1261ee55,0 3px 10px #123c6840;transform:translate(-50%,-50%);z-index:4}
.fpPlacementGhost[hidden]{display:none}
#floorPlanPanel{display:flex;flex-direction:column;gap:10px;min-height:180px;padding:12px;overflow:hidden}
.fpHeading{display:flex;align-items:center;justify-content:space-between;gap:8px}.fpHeading h3{margin:2px 0 0;font-size:15px;color:#192d4b}.fpEyebrow{margin:0;color:#8295af;font-size:9px;font-weight:750;letter-spacing:1.5px;line-height:1.5}#fpPanelActions{display:flex;gap:3px}
.fpSelectors{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fpSelectors label{display:grid;gap:3px;min-width:0;margin:0;font-size:10px;color:#70839d}
.fpSelectors select,.fpDialog select,.fpDialog input,#uploadPhotoPoint{color:#243c5b;background-color:#fff;border:1px solid #d7e2f0;border-radius:8px;font:inherit;min-width:0;padding:8px 30px 8px 10px;box-shadow:none;outline-offset:3px}
.fpSelectors select,.fpDialog select,#uploadPhotoPoint{appearance:none;background-image:url('../icons/chevron-down.svg');background-repeat:no-repeat;background-size:19px;background-position:right 7px center}.fpSelectors select{width:100%;font-size:11px;padding:7px 26px 7px 8px}
#fpPanelMap{flex:1;min-height:80px;border-radius:10px}.fpPanelFooter{font-size:10px;color:#72859f;line-height:1.45}.fpPanelFooter .fpButton{font-size:10px;padding:2px 0;border:0;color:#1261ee}
.fpButton,.fpIconButton{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;border:1px solid #d7e2f0;border-radius:9px;background:#fff;color:#345174;font-family:inherit;font-size:12px;font-weight:550;line-height:1.4;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s}
.fpButton:hover,.fpIconButton:hover{background:#edf4ff;border-color:#b8d0f5}.fpButton:focus-visible,.fpIconButton:focus-visible,.fpMarker:focus-visible{outline:3px solid #75a7f6;outline-offset:3px}.fpButton.fpPrimary{background:#1261ee;color:#fff;border-color:#1261ee;box-shadow:0 3px 8px #1261ee18}.fpButton.fpPrimary:hover{background:#0c52d0}.fpIconButton{padding:7px;min-height:32px;min-width:32px;border-color:transparent}.fpButton.fpDanger{color:#b33e4c;border-color:#f1d5db}.fpButton svg{flex-shrink:0}.fpInline{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.fpTextLink{color:#1261ee;font-size:11px;text-decoration:none}.fpTextLink:hover{text-decoration:underline}
.fpEmpty,.fpEditorEmpty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:linear-gradient(145deg,#f1f6ff,#fbfdff);border:1px dashed #c9d9ef;padding:14px;color:#344d70;gap:9px}.fpEmpty strong{font-size:12px}.fpEmpty p{margin:0;font-size:11px;color:#7a8ba3;line-height:1.5;max-width:230px}.fpEmptyIcon{display:grid;place-items:center;width:44px;height:44px;color:#4080eb;border:1px solid #dae7fc;background:#fff;border-radius:14px;box-shadow:0 5px 14px #41669c0b}.fpEmptyIcon svg{width:25px;height:25px}.fpEditorEmpty h3{margin:8px 0 0;font-size:20px}.fpEditorEmpty p{color:#70849f}.fpEditorEmpty .fpEmptyIcon{height:70px;width:70px;border-radius:20px}.fpEditorEmpty .fpEmptyIcon svg{width:36px;height:36px}
.fpMap{position:relative;overflow:hidden;background-color:#f2f6fb;background-image:radial-gradient(#cedaeb 1px,transparent 1px);background-size:16px 16px;border:1px solid #dce6f2}.fpViewport{position:absolute;inset:0;overflow:hidden;touch-action:none;user-select:none;cursor:grab}.fpViewport:active{cursor:grabbing}.fpSheet{position:absolute;left:0;top:0;transform-origin:0 0;background:white;box-shadow:0 4px 22px #243d6624}.fpPlanImage{display:block;width:100%;height:100%;pointer-events:none}.fpMarker{position:absolute;width:34px;height:34px;display:grid;place-items:center;padding:0!important;border:0!important;border-radius:50%;background:transparent!important;transform-origin:50% 50%;cursor:pointer;z-index:2}.fpMarkerDot{width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:#1261ee;box-shadow:0 0 0 1px #1261ee50,0 2px 5px #22365645;transition:box-shadow .15s}.fpMarker:hover .fpMarkerDot,.fpMarker:focus-visible .fpMarkerDot{box-shadow:0 0 0 6px #1261ee26}.fpMarker.isActive{z-index:3}.fpMarker.isActive .fpMarkerDot{width:17px;height:17px;background:#0954dc;box-shadow:0 0 0 6px #1261ee25,0 0 0 7px #1261ee44}.fpMarker.isEmpty .fpMarkerDot{background:#a1afc4}.fpMapControls{position:absolute;right:9px;bottom:9px;display:flex;gap:1px;background:#fff;border:1px solid #d6e1ef;padding:2px;border-radius:9px;box-shadow:0 2px 9px #17355e12;z-index:5}.fpMapControls .fpButton{padding:5px;border:0;border-radius:6px}.fpMapControls svg{height:16px;width:16px}.fpMapStatus{position:absolute;left:12px;top:12px;right:12px;background:#fffffff2;border:1px solid #d6e2f3;border-radius:8px;padding:9px;color:#506d92;font-size:12px;pointer-events:none}

.fpDialog{width:min(1240px,calc(100vw - 48px));max-width:none;height:min(850px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #d8e4f3;border-radius:18px;background:#fff;color:#233c5d;box-shadow:0 24px 100px #0f294b44;overflow:hidden;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:13px}.fpDialog[open]{display:flex;flex-direction:column}.fpDialog::backdrop{background:#16315675;backdrop-filter:blur(4px)}.fpDialogHeader{display:flex;justify-content:space-between;align-items:flex-start;padding:21px 25px 17px;border-bottom:1px solid #e4ecf6;gap:12px}.fpDialogHeader h2{font-size:22px;letter-spacing:-.5px;margin:4px 0 6px;font-weight:650}.fpDialogHeader p:not(.fpEyebrow){font-size:12px;color:#7b8da6;margin:0;line-height:1.5}.fpDialogHeader .fpEyebrow{color:#1261ee;font-size:10px;letter-spacing:.7px}.fpDialogBody{flex:1;min-height:0;display:grid;grid-template-columns:310px minmax(0,1fr)}.fpEditorSide{padding:20px;overflow:auto;border-right:1px solid #e4ecf6;scrollbar-width:thin}.fpMainMap{position:relative;min-width:0;min-height:0;background:#f5f8fc;display:flex;flex-direction:column;padding:18px}#fpLargeMap{flex:1;min-height:200px;border-radius:12px}.fpField{display:grid;gap:6px;margin:0 0 14px;color:#617794;font-size:11px;font-weight:550}.fpField input,.fpField select{width:100%;font-size:12px}.fpField input{padding-right:10px}.fpDialog input:focus,.fpDialog select:focus{outline:2px solid #9bc2ff;border-color:#468bf5}.fpDialog input[type=checkbox]{width:16px;height:16px;padding:0;accent-color:#1261ee;flex-shrink:0}.fpDialog h3{font-size:14px;margin:0}.fpDialog h4{font-size:12px;margin:17px 0 7px}.fpSectionTitle{display:flex;align-items:center;justify-content:space-between;margin:18px 0 6px}.fpMuted{font-size:11px;color:#8090a7;line-height:1.55;margin:8px 0}.fpPointList{display:flex;flex-direction:column;gap:5px;max-height:215px;overflow:auto;margin-bottom:16px}.fpPointList>.fpMuted{margin:0 0 4px}.fpPointRow{width:100%;justify-content:flex-start;padding:9px;border-color:#e5edf7;text-align:left;flex-shrink:0}.fpPointRow.isSelected{background:#edf4ff;border-color:#98bdfb}.fpPointBadge{display:grid;place-items:center;color:#a1b0c4;background:#f1f4f8;width:31px;height:34px;border-radius:8px;flex-shrink:0}.fpPointBadge.isPlaced{color:#1261ee;background:#e6efff}.fpPointBadge svg{height:18px;width:18px}.fpPointCopy{min-width:0;display:grid;gap:3px}.fpPointCopy strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.fpPointCopy small{font-size:10px;color:#7d90aa}.fpCallout{font-size:11px;line-height:1.6;background:#eff5ff;color:#5e7fae;border-radius:8px;padding:10px;margin:8px 0 12px}#fpPointForm{border-top:1px solid #e1eaf6;padding-top:16px}#fpPointActions{gap:6px}#fpPointActions .fpButton{font-size:10px;padding:6px 8px}.fpImageList{display:flex;flex-direction:column;gap:7px}.fpImageRow{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e2eaf5;border-radius:9px;margin:0;cursor:pointer;font-size:11px}.fpImageRow:has(input:checked){background:#f2f7ff;border-color:#adcbf8}.fpImageRow:has(input:disabled){opacity:.6}.fpImageRow img{width:43px;height:36px;border-radius:5px;object-fit:cover;background:#edf2f8}.fpImageRow>span{min-width:0;display:grid;gap:3px;overflow-wrap:anywhere}.fpImageRow strong{font-weight:550}.fpImageRow small{color:#7b8ea8;font-size:10px}
.fpDialogFooter{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e3ebf6;padding:13px 25px;background:#fff}.fpDialogFooter p{font-size:11px;line-height:1.5;color:#748aa7;margin:0;flex:1}.fpDialogFooter .fpError{color:#b23d4d}.fpDialogFooter .fpInline{flex-shrink:0}.fpDialog.fpViewOnly .fpDialogBody{grid-template-columns:1fr}.fpDialog.fpViewOnly .fpMainMap{padding:20px}
#fpImport{min-height:0;flex:1;display:flex;flex-direction:column;gap:9px}.fpImportToolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.fpImportToolbar .fpField{margin:0;flex:1;min-width:90px}.fpImportToolbar .fpField:first-child{min-width:160px}.fpImportToolbar .fpButton{font-size:11px}#fpImportHint{margin:0}#fpCropStage{flex:1;min-height:100px;position:relative;display:flex;align-items:center;justify-content:center;background:#e9eff8;border-radius:10px;overflow:hidden;touch-action:none}#fpCropStage.isCropping{cursor:crosshair}#fpCropCanvas{position:static!important;width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:contain;background:#fff;box-shadow:0 2px 12px #24416522;flex:0 1 auto}#fpCropBox{position:absolute;border:2px solid #1261ee;background:#1261ee18;box-shadow:0 0 0 9999px #1f345844;pointer-events:none}.fpImportBottom{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}
.fpDialog [hidden],#floorPlanPanel [hidden],#uploadPhotoPoint[hidden],#uploadPhotoPointLabel[hidden]{display:none!important}.fpDialog [inert]{opacity:.55}.fpDialog button:disabled{opacity:.5;cursor:default}
@media(max-width:760px){.fpDialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.fpDialogHeader{padding:15px}.fpDialogHeader h2{font-size:19px}.fpDialogHeader p:not(.fpEyebrow){font-size:10px}.fpDialogBody{display:flex;flex-direction:column;overflow:auto}.fpMainMap{order:-1;flex:none;height:42dvh;min-height:260px;padding:10px}.fpEditorSide{overflow:visible;border-right:0;padding:16px}.fpDialogFooter{padding:10px 14px}.fpDialogFooter p{font-size:10px}.fpDialog.fpViewOnly .fpMainMap{flex:1;height:auto;padding:10px}.fpPointList{max-height:180px}.fpDialog:has(#fpImport:not([hidden])) .fpMainMap{height:58dvh;min-height:400px}.fpDialog:has(#fpImport:not([hidden])) .fpEditorSide{display:none}.fpImportToolbar .fpField:first-child{flex-basis:60%}.fpImportToolbar .fpInline{width:100%}#floorPlanPanel{min-height:205px}}
@media(prefers-reduced-motion:reduce){.fpButton,.fpMarkerDot{transition:none}}
.workspaceApp #sidebarTop,.workspaceApp #main[data-mobile-view=tree] #sidebarTop{flex-shrink:1}
@media(min-width:600px) and (max-width:1000px) and (max-height:520px){
 .workspaceApp #main[data-mobile-view=tree] #sidebar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .workspaceApp #main[data-mobile-view=tree] #sidebarTop{height:100%;min-height:0;padding:8px;overflow:auto}
 .workspaceApp #main[data-mobile-view=tree] #sidebarResizeHandle{display:none!important}
 #floorPlanPanel{min-height:0;gap:4px;padding:8px;border-top:0;border-left:1px solid #dce5f2}
 #floorPlanPanel .fpEyebrow,.fpPanelFooter{display:none}.fpHeading h3{font-size:12px}.fpHeading .fpIconButton{padding:4px;min-height:26px;min-width:26px}
 .fpSelectors label{font-size:9px;gap:1px}.fpSelectors select{padding-top:3px;padding-bottom:3px}#fpPanelMap{min-height:35px}
}
@media(min-width:761px) and (max-height:520px){
 .fpDialog{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);width:calc(100vw - 16px)}
 .fpDialogHeader{padding:10px 16px}.fpDialogHeader h2{font-size:17px;margin:1px 0}.fpDialogHeader #fpDialogHelp{display:none}
 .fpDialogBody{grid-template-columns:265px minmax(0,1fr)}.fpMainMap{padding:8px}#fpLargeMap{min-height:0}.fpDialogFooter{padding:8px 16px}
}
@media(max-width:1000px) and (max-height:520px){
 
 
}
