/* Compact desktop geometry chooser; no duplicate size/rotation presets. */
.reworkUi .toolbarBrandMark,.reworkUi .logo,.phoneViewerWelcomeIcon { background:transparent!important; border:0!important;box-shadow:none!important; }
#markerShapeGrid {grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
#markerShapeGrid .markerShapeBtn {min-height:64px;padding:8px 3px;gap:7px;}
#markerShapeGrid .markerShapeBtn span:last-child {font-size:11px;line-height:1.2;}
.shapePreview.point {width:9px;height:9px;min-height:9px;border:0;border-radius:50%;background:currentColor;}
.signalPresetTopic {grid-column:1/-1;background:var(--bg-panel);border-radius:8px;overflow:hidden;}
.signalPresetTopic > summary {padding:12px;cursor:pointer;font-weight:600;}
.signalPresetTopic .presetGrid {padding:0 10px 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
.thermalOtherSizes {grid-column:1/-1;}
.thermalOtherSizes > summary {padding:10px 0;cursor:pointer;}
.thermalOtherSizes > div {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
/* One calm, touch-sized navigation system for the read-only phone viewer. */
body.reworkUi.phoneViewerMode .phoneViewerBar {grid-template-columns:44px 36px minmax(0,1fr) 44px 44px 44px;gap:4px;background:var(--bg-sidebar);box-shadow:none;backdrop-filter:none;}
.phoneViewerTitle b {display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;}
.phoneViewerTitle b img {flex:0 0 26px;object-fit:contain;}
.phoneViewerTitle span {font-size:11px;}
.phoneViewerIconButton {width:44px;height:44px;border:0;background:transparent;box-shadow:none;transition:background 160ms,color 160ms;}
.phoneViewerIconButton:is(:hover,:active) {background:var(--bg-elevated);color:var(--text-main);box-shadow:none;}
.phoneViewerIconButton:focus-visible {outline:2px solid var(--accent);outline-offset:2px;box-shadow:none;}
body.reworkUi.phoneViewerMode .phoneViewerDrawer {width:min(100vw,420px);border:0;box-shadow:none;}
.phoneViewerDrawerScroll {padding:12px 14px calc(16px + env(safe-area-inset-bottom));}
.phoneViewerTabs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:16px 0 12px;}
.phoneViewerTabs button {display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 2px;gap:6px;min-height:60px;min-width:0;border:0;border-radius:10px;background:var(--bg-panel);color:var(--text-secondary);font:inherit;font-size:11px;cursor:pointer;}
.phoneViewerTabs button .uiIcon {width:22px;height:22px;}
.phoneViewerTabs button[aria-selected=true] {background:var(--bg-elevated);color:var(--text-main);font-weight:600;}
.phoneViewerTabs button[aria-selected=true] .uiIcon {color:var(--accent-hover);}
.phoneViewerTabs button:focus-visible {outline:2px solid var(--accent);outline-offset:1px;}
.phoneViewerTabs button:hover {background:var(--bg-elevated);}
.phoneViewerSection[hidden] {display:none!important;}
.phoneViewerSection {margin-top:12px;}
.phoneViewerSectionTitle > span {display:flex;align-items:center;gap:8px;}
.phoneViewerSectionTitle .uiIcon {width:18px;height:18px;}
.phoneViewerSection input[type=search] {margin-top:8px;margin-bottom:12px;min-height:44px;}
.phoneViewerLayerDot {display:grid;place-items:center;width:24px;height:24px;background:none;border:0;border-radius:0;}
.phoneViewerLayerDot .markerIcon {width:22px;height:22px;}
.phoneViewerLayerItem {grid-template-columns:22px 24px minmax(0,1fr) auto;min-height:48px;border:0;background:var(--bg-panel);}
.phoneViewerLayerItem.isHidden {opacity:.5;}
.phoneViewerLayerItem:not(.isHidden) {color:var(--text-main);}
.phoneViewerReadOnlyNotice,.phoneViewerImageItem,.phoneViewerNoteCard {border:0!important;box-shadow:none!important;}
.phoneViewerImageItem.active {box-shadow:inset 3px 0 var(--accent)!important;}
.phoneViewerDrawer .signalMemberButton {min-height:44px;white-space:normal;overflow-wrap:anywhere;}
.phoneViewerDrawer .signalMemberButton .markerIcon {flex:0 0 20px;width:20px;height:20px;margin-right:6px;}
.phoneViewerDrawer .signalIndex {max-height:none;}
@media(prefers-reduced-motion:reduce){.phoneViewerIconButton,.phoneViewerDrawer{transition:none!important;}}

.shapePreview.point::before,.shapePreview.point::after {content:none;}

#contextGeometryDetails .markerGeometryGrid {margin-top:12px;}
