:root {
  --app-bg: #0b1220;
  --app-bg-gradient:
    radial-gradient(circle at top, rgba(38, 73, 134, 0.3), transparent 36%),
    linear-gradient(180deg, rgba(11, 18, 32, 0.98), rgba(11, 18, 32, 1));
  --app-bg-image: none;
  --topbar-bg: rgba(13, 20, 35, 0.92);
  --sidebar-bg: rgba(13, 20, 35, 0.75);
  --panel-bg: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text-primary: #e7eefc;
  --text-muted: rgba(231, 238, 252, 0.75);
  --input-bg: rgba(255, 255, 255, 0.05);
  --button-bg: rgba(255, 255, 255, 0.08);
  --button-hover-bg: rgba(255, 255, 255, 0.11);
  --accent-start: #5196ff;
  --accent-end: #3071d6;
  --accent-text: #ffffff;
  --backdrop-bg: rgba(0, 0, 0, 0.55);
  --danger-bg: rgba(92, 24, 24, 0.92);
  --danger-border: rgba(255, 159, 159, 0.28);
  --danger-text: #ffd2d2;
  --danger-start: #ff6363;
  --danger-end: #ef4444;
  --app-font-family:
    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--app-bg);
  color: var(--text-primary);
  font-family: var(--app-font-family);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

button,
input,
select,
textarea,
.fileBtn {
  font: inherit;
}

.app {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  background: var(--app-bg);
  color: var(--text-primary);
  font-family: var(--app-font-family);
}

.app::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--app-bg-image), var(--app-bg-gradient);
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  pointer-events: none;
  z-index: 0;
}

.app > * {
  position: relative;
  z-index: 1;
}

.topbar {
  height: 56px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 14px;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--panel-border);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 60;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 136px;
}

.brandTitle {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brandSubtitle {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
}

.search {
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: center;
}

.search input {
  width: min(680px, 100%);
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: var(--input-bg);
  color: inherit;
  padding: 0 12px;
  outline: none;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

.topbarAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: var(--button-bg);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.topbarAction:hover {
  background: var(--button-hover-bg);
}

.topbarAccountBadge {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--panel-border);
  background: var(--button-bg);
  color: var(--text-primary);
  font-weight: 700;
}

.topbarMenuBtn {
  width: 36px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: var(--button-bg);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.topbarMenuBtn:hover {
  background: var(--button-hover-bg);
  border-color: var(--accent-start);
}

.topbarMenuWrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.topbarMenuToggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbarMenuToggle:checked ~ .topbarUserMenu {
  display: flex;
}

.topbarUserMenu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: var(--topbar-bg);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 30;
}

.topbarUserMenuItem {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.topbarUserMenuItem:hover {
  background: var(--button-hover-bg);
  border-color: var(--accent-start);
}

.panelActionLink {
  height: 34px;
  padding: 0 12px;
}

.main {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

.sidebar {
  width: 360px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-right: 1px solid var(--panel-border);
  background: var(--sidebar-bg);
  min-height: 0;
  overflow: auto;
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 10px;
}

.panelTitle {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0.9;
}

.row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

select {
  height: 34px;
  min-width: 168px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: var(--button-bg);
  color: inherit;
}

select:focus {
  outline: 1px solid rgba(125, 179, 255, 0.6);
  outline-offset: 1px;
}

.imagerySourceSwitch {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: calc(env(safe-area-inset-left, 0px) + 12px);
  z-index: 21;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.authGateOpen .imagerySourceSwitch {
  display: none;
}

.guestMode .imagerySourceSwitch {
  display: none;
}

.sourceSwitchBtn {
  width: fit-content;
  min-width: 0;
  height: 36px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(6, 10, 18, 0.42);
  color: rgba(245, 247, 251, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 26px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sourceSwitchBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 14px 32px rgba(0, 0, 0, 0.4);
}

.sourceSwitchBtn.active {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, var(--accent-start), var(--accent-end));
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--accent-text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(77, 131, 212, 0.22);
}

.historyToolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.historyYearCaption {
  font-size: 12px;
  color: var(--text-muted);
}

.historyYearLabel {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.historySwitchSupportedBtn {
  width: 100%;
  margin-top: 10px;
}

button,
.fileBtn {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: var(--button-bg);
  color: inherit;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

button:hover,
.fileBtn:hover {
  background: var(--button-hover-bg);
}

button.ghost {
  background: transparent;
}

.fileBtn input {
  display: none;
}

.muted {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 6px 0;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.listItem {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
}

.listItemBody {
  flex: 1 1 auto;
  min-width: 0;
}

.listItemTitle {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.listItemSub {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 2px;
}

.listItemActions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}

.listItemActions button {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.listToggle {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-start);
}

.listItemHidden .listItemTitle,
.listItemHidden .listItemSub {
  opacity: 0.55;
}

.listItemSelected {
  border-color: var(--accent-start);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.listItemSelected .listItemTitle {
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.65),
    0 12px 18px rgba(0, 0, 0, 0.28);
}

.listItemSelected .listActionPrimary {
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.contextMenu {
  position: fixed;
  z-index: 1600;
  min-width: 130px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: rgba(14, 18, 28, 0.96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.contextMenuItem {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.contextMenuItem:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.listActionBtn {
  min-width: 54px;
  border: 1px solid var(--panel-border);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.listActionPrimary {
  background: linear-gradient(180deg, var(--accent-start), var(--accent-end));
  border-color: var(--accent-start);
  color: var(--accent-text);
}

.listActionPrimary:hover {
  filter: brightness(1.06);
}

.listActionDanger {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.listActionDanger:hover {
  background: rgba(255, 96, 96, 0.12);
  border-color: rgba(255, 128, 128, 0.28);
}

.viewerWrap {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.frontendAuthGate {
  position: absolute;
  inset: 0;
  display: none;
  padding: 20px;
  z-index: 20;
  background: var(--backdrop-bg);
}

.guestLoginBtn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 22;
  display: none;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: var(--topbar-bg);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.guestLoginBtn:hover {
  background: var(--button-hover-bg);
  border-color: var(--accent-start);
}

.guestMode .guestLoginBtn {
  display: inline-flex;
}

.guestMode.authGateOpen .guestLoginBtn {
  display: none;
}

.frontendAuthCard {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 520px);
  max-width: calc(100% - 40px);
  padding: 34px 34px 26px;
  border-radius: 26px;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  color: var(--text-primary);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.frontendAuthCard.dragging {
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.44);
}

.frontendAuthDragHandle {
  display: none;
}

.frontendAuthDragDot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-start);
}

.frontendAuthEyebrow {
  color: var(--accent-start);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.frontendAuthCard h2 {
  margin: 4px 0 12px;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.frontendAuthIntro {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.frontendAuthForm {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.frontendAuthField {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frontendAuthField span {
  font-size: 13px;
  color: var(--text-muted);
}

.frontendAuthField input {
  height: 48px;
  border-color: var(--panel-border);
  background: var(--input-bg);
  color: var(--text-primary);
}

.frontendAuthActions {
  display: flex;
  justify-content: flex-end;
}

.frontendAuthStatus {
  margin-top: 12px;
  min-height: 22px;
  color: var(--text-muted);
  font-size: 13px;
}

.guestMode .topbar,
.guestMode .sidebar,
.guestMode .viewerToolBtn,
.guestMode .imageryFilterPanel,
.guestMode .viewStatus,
.guestMode .compass,
.guestMode .embeddedWebPanel {
  display: none !important;
}

.guestMode .main {
  display: block;
}

.guestMode .viewerWrap {
  min-height: 100vh;
  min-height: 100dvh;
}

.mapFullScreen .topbar,
.mapFullScreen .sidebar {
  display: none !important;
}

.mapFullScreen .main {
  display: block;
}

.mapFullScreen .viewerWrap {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.authGateOpen .frontendAuthGate {
  display: flex;
}

.guestMode .viewerWrap::before,
.guestMode .viewerWrap::after {
  content: none;
}

.guestMode #cesiumContainer {
  filter: none;
}

.guestMode .cesium-viewer-toolbar,
.guestMode .cesium-viewer-animationContainer,
.guestMode .cesium-viewer-timelineContainer,
.guestMode .cesium-viewer-bottom,
.guestMode .cesium-credit-logoContainer,
.guestMode .cesium-widget-credits {
  display: none !important;
}

#cesiumContainer {
  position: absolute;
  inset: 0;
}

.viewerTools {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 22;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.guestMode .viewerTools {
  top: 64px;
}

.viewerToolBtn {
  position: relative;
  min-width: 58px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: var(--sidebar-bg);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.viewerToolBtn:hover {
  background: var(--button-hover-bg);
}

.imageryFilterPanel {
  position: absolute;
  right: 16px;
  top: 160px;
  z-index: 21;
  width: min(360px, calc(100% - 24px));
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: var(--topbar-bg);
  color: var(--text-primary);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.3);
}

.embeddedWebPanel {
  position: absolute;
  left: 16px;
  top: 16px;
  width: min(960px, calc(100% - 32px));
  height: calc(100% - 32px);
  z-index: 24;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: var(--topbar-bg);
  color: var(--text-primary);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.embeddedWebPanel.dragging,
.embeddedWebPanel.resizing {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}

.embeddedWebHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--panel-border);
  cursor: move;
  user-select: none;
}

.embeddedWebTitleWrap {
  min-width: 0;
  flex: 1 1 auto;
}

.embeddedWebTitle {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.embeddedWebUrl {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.embeddedWebActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.embeddedWebActions button {
  height: 28px;
  padding: 0 12px;
  border-radius: 10px;
}

.embeddedWebFrame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: var(--panel-bg);
}

.embeddedWebResizeHandle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  cursor: nwse-resize;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.12) 48% 56%, transparent 56% 100%),
    linear-gradient(135deg, transparent 0 64%, rgba(255, 255, 255, 0.3) 64% 72%, transparent 72% 100%);
}

.imageryFilterHeader {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 10px;
}

.imageryFilterTitleWrap {
  min-width: 0;
}

.imageryFilterActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.imageryFilterActions button {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 34px;
  padding: 8px 10px;
  line-height: 1.25;
  white-space: normal;
}

.imageryFilterTitle {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.imageryFilterSourceLabel {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(245, 247, 251, 0.72);
}

.filterAiBtn {
  border-color: var(--accent-start);
  background: linear-gradient(180deg, rgba(81, 150, 255, 0.2), rgba(48, 113, 214, 0.08));
  color: var(--accent-text);
}

.filterSaveBtn {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.filterSaveBtn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.filterSaveBtn:disabled {
  opacity: 0.62;
  cursor: default;
  background: rgba(255, 255, 255, 0.04);
}

.filterAiBtn:hover {
  filter: brightness(1.08);
}

.filterAiBtnStrong {
  border-color: var(--accent-end);
  background: linear-gradient(180deg, rgba(48, 113, 214, 0.34), rgba(81, 150, 255, 0.16));
  color: var(--accent-text);
}

.filterAiBtnStrong:hover {
  filter: brightness(1.08);
}

.filterRow {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
}

.filterRow span,
.filterRow output {
  color: rgba(245, 247, 251, 0.92);
}

.filterRow output {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.filterRow input[type="range"] {
  width: 100%;
}

.filterSaveStatus {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 247, 251, 0.72);
}

.viewStatus {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 18;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  max-width: min(calc(100% - 24px), 960px);
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(6, 10, 18, 0.58);
  color: #f5f7fb;
  font-size: 12px;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.viewStatus span {
  white-space: nowrap;
}

.cesium-viewer-bottom,
.cesium-widget-credits,
.cesium-credit-logoContainer,
.cesium-credit-textContainer {
  display: none !important;
}

.compass {
  position: absolute;
  right: 86px;
  top: 14px;
  width: 96px;
  z-index: 20;
  touch-action: none;
  user-select: none;
}

.compass *,
.compass *::before,
.compass *::after {
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    filter 0.18s ease;
}

.compassOrbit {
  position: relative;
  width: 100%;
  height: 96px;
}

.compassRotateRing {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0), rgba(204, 212, 226, 0) 55%, rgba(125, 141, 164, 0) 100%);
  box-shadow: none;
  cursor: grab;
}

.compassRotateRing::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
  opacity: 0.55;
}

.compassRotateRing[data-active="true"] {
  cursor: grabbing;
  box-shadow:
    inset 0 2px 10px rgba(255, 255, 255, 0.35),
    0 0 0 2px rgba(77, 131, 212, 0.22),
    0 16px 34px rgba(0, 0, 0, 0.35);
}

.compassRotateNeedle {
  position: absolute;
  inset: 16px;
  transform: rotate(var(--compass-rot, 0deg));
  transition: transform 0.12s linear;
  pointer-events: none;
}

.compassRotateNeedle::before,
.compassRotateNeedle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  border-radius: 999px;
}

.compassRotateNeedle::before {
  top: 8px;
  height: 24px;
  background: linear-gradient(180deg, #f56c6c, #cf4545);
}

.compassRotateNeedle::after {
  bottom: 8px;
  height: 18px;
  background: linear-gradient(180deg, #ffffff, #d6deea);
}

.compassNorth,
.compassLook {
  position: absolute;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.compassNorth {
  left: 50%;
  top: -6px;
  width: 26px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: transparent;
  color: #272d38;
  font-size: 14px;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.compassLookPad {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
}

.compassLook {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.compassLook::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #4d83d4;
  border-right: 2px solid #4d83d4;
  transform-origin: 50% 50%;
}

.compassLook.north {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.compassLook.north::before {
  transform: translate(-50%, -20%) rotate(-45deg);
}

.compassLook.east {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.compassLook.east::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.compassLook.south {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.compassLook.south::before {
  transform: translate(-50%, -75%) rotate(135deg);
}

.compassLook.west {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.compassLook.west::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.compassLookCore {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  opacity: 0.72;
}

.compassLookCore::before,
.compassLookCore::after {
  content: "";
  position: absolute;
  background: rgba(77, 131, 212, 0.34);
  border-radius: 999px;
}

.compassLookCore::before {
  left: 50%;
  top: 5px;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
}

.compassLookCore::after {
  left: 5px;
  top: 50%;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

.compassLook:hover,
.compassNorth:hover {
  filter: brightness(1.04);
}

.compass:hover .compassRotateRing,
.compass:focus-within .compassRotateRing,
.compass.dragging .compassRotateRing,
.compass.rotating .compassRotateRing {
  border-color: rgba(255, 255, 255, 0.32);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.82), rgba(204, 212, 226, 0.92) 55%, rgba(125, 141, 164, 0.86) 100%);
  box-shadow:
    inset 0 2px 10px rgba(255, 255, 255, 0.35),
    0 16px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.compass:hover .compassRotateRing::before,
.compass:focus-within .compassRotateRing::before,
.compass.dragging .compassRotateRing::before,
.compass.rotating .compassRotateRing::before {
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(77, 131, 212, 0.12),
    0 0 0 1px rgba(57, 68, 84, 0.12);
  opacity: 1;
}

.compass:hover .compassNorth,
.compass:focus-within .compassNorth,
.compass.dragging .compassNorth,
.compass.rotating .compassNorth,
.compassNorth:hover,
.compass:hover .compassLook,
.compass:focus-within .compassLook,
.compass.dragging .compassLook,
.compass.rotating .compassLook,
.compassLook:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(214, 223, 236, 0.86));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    0 2px 8px rgba(0, 0, 0, 0.16);
}

.compass:hover .compassLookCore,
.compass:focus-within .compassLookCore,
.compass.dragging .compassLookCore,
.compass.rotating .compassLookCore {
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.92), rgba(199, 209, 224, 0.72));
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.65),
    0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 1;
}

.compassNorth[data-active="true"],
.compassLook[data-active="true"] {
  background: linear-gradient(180deg, rgba(233, 242, 255, 0.98), rgba(186, 208, 244, 0.88));
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.75),
    0 0 0 1px rgba(77, 131, 212, 0.34),
    0 6px 16px rgba(34, 71, 132, 0.22);
}

.compass:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.compass.dragging,
.compass.rotating {
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45);
}

.backdrop {
  position: fixed;
  inset: 0;
  background: var(--backdrop-bg);
  z-index: 1200;
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100vw - 24px));
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: var(--topbar-bg);
  color: var(--text-primary);
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
  z-index: 1210;
}

.floatingDialog {
  left: 24px;
  top: 84px;
  transform: none;
  max-height: calc(100vh - 100px);
}

.floatingDialog .modalHeader {
  cursor: move;
  user-select: none;
}

.floatingDialog .iconBtn {
  cursor: pointer;
}

.modal.light {
  background: #f4f4f4;
  color: #1b1f27;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.modal.light .muted {
  opacity: 0.85;
  color: rgba(0, 0, 0, 0.72);
}

.modal.light .tabbar {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
}

.modal.light .tab {
  border-color: rgba(0, 0, 0, 0.16);
  color: rgba(0, 0, 0, 0.85);
}

.modal.light .tab.active {
  background: rgba(0, 0, 0, 0.08);
}

.modal.light .formInput,
.modal.light .formSelect,
.modal.light .formNumber,
.modal.light .textarea,
.modal.light .modalBody input {
  background: #ffffff;
  color: #1b1f27;
  border-color: rgba(0, 0, 0, 0.2);
}

.modal.light .iconBtn {
  background: #ffffff;
  color: rgba(0, 0, 0, 0.75);
  border-color: rgba(0, 0, 0, 0.18);
}

.modal.light .iconBtn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.modal.light button,
.modal.light .fileBtn {
  background: #ffffff;
  color: rgba(0, 0, 0, 0.85);
  border-color: rgba(0, 0, 0, 0.18);
}

.modal.light button.ghost,
.modal.light .fileBtn.ghost {
  background: transparent;
}

.modal.light button:hover,
.modal.light .fileBtn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.modal.light .modalHeader {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 10px;
}

.modal.light .tabbar {
  margin-top: 8px;
}

.modal.light .modalActions,
.modal.light .modalActionsSplit {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 10px;
  margin-top: 12px;
}

.modal.light .formInput[readonly] {
  background: #f1f3f5;
}

.modalWide {
  width: 520px;
}

.modalLarge {
  width: min(760px, calc(100vw - 24px));
  height: min(640px, calc(100vh - 24px));
  display: flex;
  flex-direction: column;
}

.modalHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.modalTitle {
  font-weight: 800;
  margin-bottom: 8px;
}

.modalHeader .modalTitle {
  margin-bottom: 0;
}

.iconBtn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: var(--button-bg);
  color: inherit;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.iconBtn:hover {
  background: var(--button-hover-bg);
}

.tabbar {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: var(--panel-bg);
  overflow: auto;
}

.tab {
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.tab.active {
  background: rgba(255, 255, 255, 0.12);
}

.formGrid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.formRow {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(96px, 116px);
  gap: 10px;
  align-items: center;
}

.formRow4 {
  grid-template-columns: 72px minmax(0, 1fr) minmax(84px, 96px) minmax(84px, 96px);
}

.rulerStyleBlock {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.rulerStyleTitle {
  font-size: 12px;
  opacity: 0.8;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.rulerStyleHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rulerStyleHeaderActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rulerHeaderBtn {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #ffffff;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.modal.light .rulerHeaderBtn {
  border-color: rgba(0, 0, 0, 0.18);
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: var(--accent-text);
}

.modal.light .rulerHeaderBtn.ghost {
  background: transparent;
  color: rgba(0, 0, 0, 0.85);
}

.modal.light .rulerHeaderBtn:hover {
  filter: brightness(1.04);
}

.modal.light .rulerHeaderBtn.ghost:hover {
  filter: none;
  background: rgba(0, 0, 0, 0.06);
}

.rulerPresetRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.rulerPresetBtn {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: background 120ms ease, border-color 120ms ease;
}

.rulerPresetBtn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.rulerPresetBtn.isActive {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.rulerStyleRow {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 10px;
}

.rulerStyleRowTitle {
  font-size: 12px;
  opacity: 0.85;
  padding-top: 6px;
  font-weight: 700;
}

.rulerStyleControls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rulerControl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rulerControlLabel {
  font-size: 12px;
  opacity: 0.75;
}

.rulerControlInline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 10px;
  align-items: center;
}

.rulerControlValue {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0.9;
}

.rulerControl input[type="range"] {
  width: 100%;
}

.formRow > * {
  min-width: 0;
}

.formRow .formLabel {
  font-size: 13px;
  opacity: 0.9;
}

.formInput {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 0 10px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.formSelect {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 0 8px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.modalActionsSplit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.modalActionsSplit .right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.checkRow {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  opacity: 0.9;
}

.ptab {
  flex: 1 1 auto;
  min-height: 0;
}

.modalLarge .modalBody {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.textarea {
  width: 100%;
  height: 360px;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  padding: 10px;
  outline: none;
  resize: none;
}

.textareaCompact {
  height: 96px;
  margin-top: 0;
}

.descSplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.descField {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.descLabel {
  font-size: 12px;
  opacity: 0.85;
}

.colorInput {
  width: 56px;
  min-width: 56px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 4px;
  box-sizing: border-box;
}

.formNumber {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 0 10px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.fileBtn.ghost {
  background: transparent;
}

.modalBody input {
  margin-top: 10px;
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 0 12px;
  outline: none;
}

.modalActions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

#rulerModal {
  width: min(460px, calc(100vw - 24px));
}

#rulerModal .formRow {
  grid-template-columns: 56px minmax(0, 1fr) 96px;
}

.hidden {
  display: none;
}

input[type="range"] {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 1200px) {
  .sidebar {
    width: 320px;
  }

  .search input {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  html,
  body {
    overflow: auto;
  }

  .app {
    height: auto;
    min-height: 100dvh;
  }

  .topbar {
    height: auto;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    display: flex;
    align-items: center;
    min-height: 36px;
  }

  .search {
    order: 3;
    width: 100%;
  }

  .search input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  .actions {
    margin-left: auto;
  }

  .main {
    flex-direction: column;
  }

  .sidebar {
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: min(46dvh, 420px);
    padding: 12px;
  }

  .panel {
    min-width: 0;
  }

  .viewerWrap {
    order: 1;
    min-height: 54dvh;
  }

  .floatingDialog {
    max-width: calc(100vw - 24px);
  }

  #polygonModal {
    width: min(720px, calc(100vw - 24px));
    height: min(70dvh, calc(100vh - 100px));
    height: min(70dvh, calc(100dvh - 100px));
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 8px;
    padding: 10px;
    align-items: center;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brandTitle,
  .brandSubtitle {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brandTitle {
    white-space: nowrap;
  }

  .search {
    flex-wrap: wrap;
    gap: 8px;
  }

  .search input {
    width: 100%;
    flex-basis: 100%;
  }

  .search button,
  .row button,
  .fileBtn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .actions {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .topbarAccountBadge {
    max-width: min(46vw, 240px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sidebar {
    grid-template-columns: minmax(0, 1fr);
    max-height: min(46dvh, 420px);
    overflow: auto;
  }

  .viewerWrap {
    min-height: 56dvh;
  }

  .frontendAuthCard {
    width: min(100%, 100%);
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .frontendAuthCard h2 {
    font-size: 24px;
  }

  .viewStatus {
    left: 10px;
    right: 10px;
    bottom: 10px;
    justify-content: flex-start;
    gap: 6px 10px;
    font-size: 11px;
    padding: 7px 10px;
  }

  .viewerToolBtn {
    position: relative;
  }

  .viewerTools {
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: calc(env(safe-area-inset-right, 0px) + 10px);
    bottom: auto;
  }

  .guestMode .viewerTools {
    top: calc(env(safe-area-inset-top, 0px) + 56px);
  }

  .imageryFilterPanel {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 116px;
    width: auto;
  }

  .imageryFilterActions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filterRow {
    grid-template-columns: 50px minmax(0, 1fr) 42px;
    gap: 8px;
    font-size: 11px;
  }

  .listItem {
    flex-wrap: wrap;
  }

  .listItemActions {
    width: 100%;
    justify-content: flex-end;
  }

  .modal,
  .modalWide,
  .modalLarge,
  #rulerModal,
  #polygonModal {
    width: calc(100vw - 20px) !important;
    width: calc(100dvw - 20px) !important;
    max-width: none;
  }

  .floatingDialog {
    left: 10px !important;
    right: 10px;
    top: auto !important;
    bottom: 10px;
    max-height: min(62dvh, 560px);
  }

  #polygonModal {
    top: 68px !important;
    bottom: 10px;
    height: auto !important;
    max-height: none;
  }

  .floatingDialog .modalHeader {
    cursor: default;
  }

  .tabbar {
    gap: 4px;
    padding: 6px;
  }

  .tab {
    padding: 0 8px;
    font-size: 12px;
  }

  .formRow,
  #rulerModal .formRow {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .formRow .formLabel {
    margin-bottom: -2px;
  }

  .textarea {
    height: 220px;
  }

  .rulerStyleRow {
    grid-template-columns: 1fr;
  }

  .rulerStyleRowTitle {
    padding-top: 0;
  }

  .rulerStyleControls {
    grid-template-columns: 1fr;
  }

  .rulerPresetBtn {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .descSplit {
    grid-template-columns: 1fr;
  }

  .textareaCompact {
    height: 88px;
  }

  .modalActions,
  .modalActionsSplit,
  .modalActionsSplit .right {
    justify-content: stretch;
  }

  .modalActions button,
  .modalActionsSplit button,
  .modalActionsSplit .right button {
    flex: 1 1 calc(50% - 8px);
  }

  .checkRow {
    width: 100%;
  }

  .compass {
    right: 68px;
    top: 10px;
    width: 84px;
  }

  .viewerToolBtn {
    right: 10px;
    top: 96px;
    min-width: 52px;
    height: 32px;
    padding: 0 10px;
  }

  .imageryFilterPanel {
    right: 10px;
    top: 136px;
    width: min(340px, calc(100% - 20px));
    padding: 10px;
  }

  .compassOrbit {
    height: 84px;
  }

  .embeddedWebPanel {
    left: 10px !important;
    right: 10px !important;
    top: 72px !important;
    bottom: 10px !important;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    border-radius: 14px;
  }

  .embeddedWebHeader {
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
  }

  .embeddedWebMeta {
    min-width: 0;
    width: 100%;
  }

  .embeddedWebActions {
    width: 100%;
    justify-content: flex-end;
  }

  .embeddedWebIframe {
    min-height: 260px;
  }
}
