body.pm-open { overflow: hidden; }
.pm-root {
  --pm-navy: #143b59;
  --pm-ink: #182833;
  --pm-muted: #667681;
  --pm-line: #d5dfe4;
  --pm-bg: #eef3f4;
  --pm-green: #4e8061;
  --pm-yellow: #d1ad43;
  --pm-red: #b95855;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #fff;
  color: var(--pm-ink);
  font: 14px/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pm-root *, .pm-root *::before, .pm-root *::after { box-sizing: border-box; }
.pm-root button, .pm-root input, .pm-root textarea, .pm-root select { font: inherit; }
.pm-shell { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
.pm-topbar {
  min-height: 66px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border-bottom: 1px solid var(--pm-line);
}
.pm-brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.pm-brand img { display: block; width: 138px; height: auto; object-fit: contain; }
.pm-brand > span { width: 1px; height: 34px; background: var(--pm-line); flex: none; }
.pm-brand div { min-width: 0; display: grid; }
.pm-brand strong { color: var(--pm-navy); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-brand small { color: var(--pm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-top-actions, .pm-editor-actions, .pm-tabs { display: flex; align-items: center; gap: 7px; }
.pm-top-actions button, .pm-editor-actions button, .pm-tabs button, .pm-section-title button, .pm-sidebar-actions button {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--pm-line);
  border-radius: 7px;
  background: #fff;
  color: var(--pm-ink);
  font-weight: 750;
  cursor: pointer;
}
.pm-top-actions button:hover, .pm-editor-actions button:hover, .pm-tabs button:hover { border-color: #90a7b4; }
.pm-top-actions .pm-close {
  width: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--pm-muted);
}
.pm-save-state { min-width: 108px; text-align: right; color: var(--pm-muted); font-size: 12px; }
.pm-hero {
  min-height: 116px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: var(--pm-navy);
  color: #fff;
}
.pm-hero > div:first-child > span { color: #77acd0; letter-spacing: .14em; font-size: 11px; font-weight: 850; }
.pm-hero h1 { margin: 4px 0 2px; color: #fff; font-size: clamp(22px, 2vw, 32px); }
.pm-hero p { margin: 0; color: #d2dee5; }
.pm-kpis { display: grid; grid-template-columns: repeat(6, minmax(88px, 1fr)); }
.pm-kpi { min-width: 104px; padding: 4px 16px; border-left: 1px solid rgba(255,255,255,.22); }
.pm-kpi strong { display: block; color: #fff; font-size: 25px; line-height: 1; }
.pm-kpi span { display: block; margin-top: 7px; color: #cedae1; font-size: 11px; white-space: nowrap; }
.pm-toolbar {
  min-height: 58px;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid var(--pm-line);
  overflow-x: auto;
}
.pm-tabs button { border: 0; border-radius: 0; border-bottom: 3px solid transparent; }
.pm-tabs button.active { color: var(--pm-navy); border-bottom-color: var(--pm-navy); }
.pm-editor-actions { white-space: nowrap; }
.pm-editor-actions .primary, .pm-dialog .primary { background: var(--pm-navy); border-color: var(--pm-navy); color: #fff; }
.pm-workspace { min-height: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); background: #cbd5da; }
.pm-workspace.sidebar-closed { grid-template-columns: 1fr; }
.pm-workspace.sidebar-closed .pm-sidebar { display: none; }
.pm-stage { position: relative; min-width: 0; min-height: 0; }
.pm-map-view, .pm-table-view { display: none; width: 100%; height: 100%; }
.pm-map-view.active, .pm-table-view.active { display: block; }
.pm-map-viewport { position: relative; width: 100%; height: 100%; overflow: hidden; touch-action: none; background: #cbd5da; }
.pm-map-layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; user-select: none; }
.pm-map-image, .pm-runway-svg { display: block; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.pm-empty-map {
  width: 1600px;
  height: 1000px;
  display: grid;
  place-items: center;
  background-color: #eef3f1;
  background-image: linear-gradient(#d9e3e0 1px, transparent 1px), linear-gradient(90deg, #d9e3e0 1px, transparent 1px);
  background-size: 50px 50px;
  color: var(--pm-muted);
  font-size: 24px;
}
.pm-map-controls {
  position: absolute;
  z-index: 8;
  left: 14px;
  top: 14px;
  display: flex;
  border: 1px solid var(--pm-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(17, 42, 60, .18);
}
.pm-map-controls button { height: 38px; min-width: 40px; padding: 0 11px; border: 0; border-right: 1px solid var(--pm-line); background: #fff; font-weight: 800; cursor: pointer; }
.pm-map-controls button:last-child { border-right: 0; }
.pm-map-hint {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 10px 15px;
  border-radius: 8px;
  background: rgba(20, 59, 89, .94);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.pm-markers { position: absolute; inset: 0; pointer-events: none; }
.pm-marker {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  min-width: 56px;
  min-height: 44px;
  padding: 4px 7px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 5px;
  border: 3px solid #fff;
  border-radius: 9px;
  color: #fff;
  box-shadow: 0 2px 9px rgba(0,0,0,.3);
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
}
.pm-marker.selected { outline: 4px solid rgba(20, 59, 89, .3); outline-offset: 3px; z-index: 6; }
.pm-shell.editable .pm-marker { cursor: grab; }
.pm-shell.editable .pm-marker.dragging { z-index: 7; cursor: grabbing; }
.pm-marker-symbol { grid-row: 1 / span 2; font-size: 17px; }
.pm-marker-type { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 850; }
.pm-marker em { font-size: 10px; font-style: normal; font-weight: 800; }
.pm-score-ready { background: var(--pm-green) !important; color: #fff !important; }
.pm-score-partial { background: #c7853e !important; color: #fff !important; }
.pm-score-not-ready { background: var(--pm-red) !important; color: #fff !important; }
.pm-score-na { background: #82909a !important; color: #fff !important; }
.pm-grid-lines { stroke: #cedbd7; stroke-width: 1; }
.pm-map-title { fill: #143b59; font-size: 33px; font-weight: 850; }
.pm-map-subtitle { fill: #576b77; font-size: 22px; }
.pm-end-zone { fill: rgba(81, 135, 164, .08); stroke: #6e9bb3; stroke-width: 3; stroke-dasharray: 14 9; }
.pm-runway-edge { fill: #667783; }
.pm-runway { fill: #344750; }
.pm-runway-markings { fill: #f8faf9; }
.pm-course { fill: #fff; font-size: 72px; font-weight: 900; text-anchor: middle; dominant-baseline: middle; }
.pm-taxiways { fill: none; stroke: #8196a0; stroke-width: 54; }
.pm-apron { fill: #aab7bb; stroke: #7a929e; stroke-width: 6; }
.pm-apron-label { fill: #294c63; font-size: 24px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; }
.pm-runway-length { stroke: #496b80; stroke-width: 3; opacity: .22; }
.pm-runway-length text { stroke: none; fill: #31566d; font-size: 19px; font-weight: 800; text-anchor: middle; }
.pm-compass circle { fill: rgba(255,255,255,.75); stroke: #7299ad; stroke-width: 3; }
.pm-compass path { fill: #143b59; }
.pm-compass line { stroke: #6f9eb7; stroke-width: 5; }
.pm-compass text { fill: #143b59; font-size: 22px; font-weight: 900; text-anchor: middle; }
.pm-ruler { stroke: #486778; stroke-width: 5; }
.pm-ruler text { stroke: none; fill: #486778; font-size: 20px; font-weight: 700; }
.pm-disclaimer { fill: #6f7e86; font-size: 16px; }
.ae-sso circle { stroke: rgba(31,48,58,.85); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(255,242,168,.8)); }
.ae-sso .ae-ground-sso circle { filter: drop-shadow(0 0 3px rgba(92,183,255,.75)); }
.ae-sso .ae-flasher, .ae-sso .ae-reil circle { fill: #e8fcff; stroke: #2399c7; stroke-width: 4; }
.ae-sso .ae-base-floodlight line { stroke: #52656e; stroke-width: 7; }
.ae-sso .ae-base-floodlight path, .ae-floodlight-beam { fill-opacity: .25; stroke: #e4c95f; stroke-width: 2; }
.ae-custom-objects .ae-object text { fill: #173b52; font-size: 20px; font-weight: 850; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 5px; stroke-linejoin: round; }
.ae-custom-objects .ae-free-label { font-size: 27px !important; }
.ae-custom-objects .ae-object.selected { filter: drop-shadow(0 0 8px #1676a6); }
.ae-custom-objects .ae-object.selected > rect,
.ae-custom-objects .ae-object.selected > line { stroke: #1676a6 !important; stroke-width: 10px; }
.pm-sidebar { min-width: 0; overflow-y: auto; background: #fff; border-left: 1px solid var(--pm-line); padding: 18px; }
.pm-sidebar-empty { display: grid; place-items: center; color: var(--pm-muted); text-align: center; }
.pm-sidebar-empty div { display: grid; gap: 7px; }
.pm-sidebar-head { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--pm-line); }
.pm-sidebar-head h2 { margin: 3px 0; color: var(--pm-navy); font-size: 22px; }
.pm-sidebar-head span, .pm-sidebar-head small { color: var(--pm-muted); }
.pm-sidebar-head > button { border: 0; background: transparent; color: var(--pm-muted); font-size: 24px; cursor: pointer; }
.pm-position-score { margin: 15px 0; padding: 12px 15px; border-radius: 8px; font-size: 30px; font-weight: 900; }
.pm-position-score span { display: block; font-size: 11px; font-weight: 650; opacity: .85; }
.pm-position-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.pm-position-fields label { display: grid; gap: 4px; color: var(--pm-muted); font-size: 11px; font-weight: 750; }
.pm-position-fields label:nth-child(3), .pm-position-fields label:nth-child(4), .pm-position-fields label:last-child { grid-column: 1 / -1; }
.pm-position-fields input, .pm-position-fields textarea, .pm-position-fields select,
.pm-criterion textarea, .pm-criterion select {
  width: 100%;
  border: 1px solid #c8d5dc;
  border-radius: 6px;
  background: #fff;
  color: var(--pm-ink);
  padding: 7px 8px;
}
.pm-section-title { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pm-section-title h3 { margin: 0; color: var(--pm-navy); font-size: 15px; }
.pm-section-title button { min-height: 32px; padding: 4px 9px; }
.pm-criterion { padding: 11px 0; border-bottom: 1px solid var(--pm-line); }
.pm-criterion > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.pm-criterion > div:first-child strong { font-size: 12px; }
.pm-criterion p, .pm-note { color: var(--pm-muted); white-space: pre-wrap; }
.pm-criterion select { margin-top: 7px; }
.pm-criterion .pm-status-select { width: auto; min-width: 128px; margin-top: 0; }
.pm-issue-critical { border-left: 4px solid var(--pm-red); padding-left: 9px; }
.pm-issue-remark { border-left: 4px solid var(--pm-yellow); padding-left: 9px; }
.pm-critical-label { color: #9d3f3b; font-size: 11px; }
.pm-remark-label { color: #806300; font-size: 11px; }
.pm-status, .pm-status-select {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid;
  border-radius: 6px;
  font-weight: 750;
  white-space: nowrap;
}
.pm-status-ready { color: #24623b; background: #e4f2e8 !important; border-color: #99c4a7 !important; }
.pm-status-partial { color: #725b00; background: #fff2bf !important; border-color: #ddbf55 !important; }
.pm-status-notReady { color: #993d38; background: #f9e4e2 !important; border-color: #dd9b96 !important; }
.pm-status-notApplicable { color: #556772; background: #edf2f4 !important; border-color: #c2ced5 !important; }
.pm-status-notSpecified { color: #677781; background: #f8fafb !important; border-color: #d6dfe4 !important; }
.pm-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.pm-photo { position: relative; margin: 0; min-width: 0; }
.pm-photo > button:first-child { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: #e8edef; cursor: pointer; }
.pm-photo img { width: 100%; height: 100%; object-fit: cover; }
.pm-photo figcaption { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pm-muted); font-size: 10px; }
.pm-photo .pm-photo-remove { position: absolute; right: 3px; top: 3px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(20, 30, 35, .75); color: #fff; cursor: pointer; }
.pm-muted { color: var(--pm-muted); }
.pm-sidebar-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.pm-sidebar-actions .danger { color: #9d3f3b; border-color: #e1aaa6; }
.pm-table-view { padding: 16px; background: var(--pm-bg); }
.pm-table-scroll { width: 100%; height: 100%; overflow: auto; border: 1px solid var(--pm-line); background: #fff; }
.pm-table { width: 100%; min-width: 1100px; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.pm-table th, .pm-table td { padding: 9px 10px; border-right: 1px solid var(--pm-line); border-bottom: 1px solid var(--pm-line); text-align: left; vertical-align: middle; }
.pm-table th { position: sticky; top: 0; z-index: 2; background: #e7eef1; color: #435661; }
.pm-table td:first-child { width: 50px; }
.pm-table td:nth-child(2) { min-width: 190px; }
.pm-table td small { display: block; margin-top: 3px; color: var(--pm-muted); }
.pm-position-link { padding: 0; border: 0; background: none; color: var(--pm-navy); font-weight: 800; cursor: pointer; text-align: left; }
.pm-score-cell { display: inline-flex; padding: 5px 8px; border-radius: 5px; }
.pm-dialog {
  width: min(720px, calc(100vw - 30px));
  max-height: 88dvh;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: var(--pm-ink);
  box-shadow: 0 18px 60px rgba(12, 31, 43, .28);
}
.pm-dialog::backdrop, .pm-lightbox::backdrop { background: rgba(8, 22, 31, .58); }
.pm-dialog form { padding: 20px; }
.pm-dialog header, .pm-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pm-dialog header { padding-bottom: 14px; border-bottom: 1px solid var(--pm-line); }
.pm-dialog header h2 { margin: 0; color: var(--pm-navy); }
.pm-dialog header button { border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.pm-dialog footer { margin-top: 18px; justify-content: flex-end; }
.pm-dialog footer button { min-height: 38px; padding: 7px 13px; border: 1px solid var(--pm-line); border-radius: 7px; background: #fff; font-weight: 750; cursor: pointer; }
.pm-form-grid { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-form-grid label { display: grid; gap: 5px; color: var(--pm-muted); font-size: 12px; font-weight: 750; }
.pm-form-grid .wide { grid-column: 1 / -1; }
.pm-form-grid input, .pm-form-grid textarea, .pm-form-grid select, .pm-criterion-row input { width: 100%; padding: 9px 10px; border: 1px solid #c7d4db; border-radius: 7px; color: var(--pm-ink); }
.pm-criteria-dialog [data-pm-criteria-rows] { margin-top: 15px; display: grid; gap: 7px; }
.pm-criterion-row { display: grid; grid-template-columns: 1fr 110px 38px; gap: 7px; }
.pm-criterion-row button { border: 1px solid #e0aaa6; border-radius: 7px; background: #fff; color: #9d3f3b; cursor: pointer; }
.pm-lightbox { width: min(1100px, calc(100vw - 30px)); height: min(88dvh, 820px); padding: 45px 20px 20px; border: 0; border-radius: 10px; background: #0c171d; color: #fff; }
.pm-lightbox > button { position: absolute; right: 14px; top: 8px; border: 0; background: transparent; color: #fff; font-size: 30px; cursor: pointer; }
.pm-lightbox img { width: 100%; height: calc(100% - 42px); object-fit: contain; }
.pm-lightbox p { margin: 10px 0 0; text-align: center; }
.pm-loading, .pm-load-error { height: 100%; display: grid; place-content: center; justify-items: center; gap: 15px; background: #fff; }
.pm-loading img { width: 180px; }
.pm-load-error p { color: var(--pm-muted); }
.pm-load-error button { padding: 9px 14px; border: 0; border-radius: 7px; background: var(--pm-navy); color: #fff; }
.pm-share-dialog { width: min(860px, calc(100vw - 30px)); }
.pm-share-note { margin: 14px 0; color: var(--pm-muted); }
.pm-share-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-share-options article { padding: 15px; border: 1px solid var(--pm-line); border-radius: 9px; background: #f7fafb; }
.pm-share-options h3, .pm-share-active h3 { margin: 0 0 6px; color: var(--pm-navy); }
.pm-share-options p { min-height: 57px; margin: 0 0 12px; color: var(--pm-muted); font-size: 12px; }
.pm-share-options label { display: grid; gap: 5px; margin-bottom: 10px; color: var(--pm-muted); font-size: 12px; font-weight: 750; }
.pm-share-options select, .pm-share-result input { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid #c7d4db; border-radius: 7px; background: #fff; }
.pm-share-options button, .pm-share-result button, .pm-share-item button { min-height: 38px; padding: 7px 12px; border: 1px solid var(--pm-line); border-radius: 7px; font-weight: 750; cursor: pointer; }
.pm-share-result { margin-top: 14px; padding: 13px; border-radius: 8px; background: #e7f2eb; color: #285d3a; }
.pm-share-result > div { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin: 7px 0 4px; }
.pm-share-result small { display: block; }
.pm-share-active { margin-top: 18px; }
.pm-share-active [data-pm-share-list] { display: grid; gap: 7px; max-height: 230px; overflow-y: auto; }
.pm-share-item { padding: 10px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--pm-line); border-radius: 7px; }
.pm-share-item div { min-width: 0; display: grid; gap: 2px; }
.pm-share-item span, .pm-share-item small { color: var(--pm-muted); font-size: 11px; }
.pm-share-item .danger { color: #9d3f3b; border-color: #e1aaa6; background: #fff; }
.pm-share-error { color: #9d3f3b; }
.pm-share-page-error { min-height: 100dvh; padding: 30px; display: grid; place-content: center; text-align: center; color: #182833; font: 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.pm-share-page-error strong { color: #143b59; font-size: 24px; }
.pm-share-page-error p { color: #667681; }
.pm-shell.view-mode .pm-topbar { min-height: 58px; }

.ae-dialog {
  width: min(1780px, calc(100vw - 24px));
  height: min(940px, calc(100dvh - 24px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #f3f6f7;
  color: #182833;
  box-shadow: 0 24px 80px rgba(8,27,39,.38);
  font: 13px/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ae-dialog::backdrop { background: rgba(8,22,31,.7); }
.ae-dialog *, .ae-dialog *::before, .ae-dialog *::after { box-sizing: border-box; }
.ae-dialog button, .ae-dialog input, .ae-dialog select { font: inherit; }
.ae-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.ae-shell > header, .ae-shell > footer { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; }
.ae-shell > header { border-bottom: 1px solid #d5dfe4; }
.ae-shell > footer { border-top: 1px solid #d5dfe4; }
.ae-shell h2 { margin: 0; color: #143b59; font-size: 22px; }
.ae-shell header p, .ae-shell footer > span { margin: 2px 0 0; color: #667681; font-size: 12px; }
.ae-shell button { min-height: 34px; padding: 6px 10px; border: 1px solid #cbd7dd; border-radius: 7px; background: #fff; color: #182833; font-weight: 750; cursor: pointer; }
.ae-shell button:hover { border-color: #7696a7; }
.ae-shell button.primary { background: #143b59; border-color: #143b59; color: #fff; }
.ae-shell button.danger { color: #9d3f3b; border-color: #dfaaa7; }
.ae-shell button:disabled { opacity: .4; cursor: default; }
.ae-history, .ae-shell > footer > div { display: flex; gap: 7px; }
.ae-history button { min-width: 38px; font-size: 18px; }
.ae-workspace { min-height: 0; display: grid; grid-template-columns: 370px minmax(420px,1fr) 330px; }
.ae-toolbox, .ae-properties { min-height: 0; overflow-y: auto; padding: 12px; background: #fff; }
.ae-toolbox { overflow-x: hidden; border-right: 1px solid #d5dfe4; }
.ae-properties { border-left: 1px solid #d5dfe4; }
.ae-toolbox section, .ae-properties section { margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px solid #e1e8eb; }
.ae-toolbox h3, .ae-properties h3 { margin: 0 0 8px; color: #143b59; font-size: 13px; }
.ae-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ae-fields label, .ae-inspector > label { min-width: 0; display: grid; gap: 3px; color: #667681; font-size: 10px; font-weight: 800; }
.ae-fields input, .ae-fields select, .ae-inspector > label input { width: 100%; min-width: 0; height: 34px; padding: 5px 7px; border: 1px solid #c8d5dc; border-radius: 6px; background: #fff; color: #182833; }
.ae-checks { min-width: 0; display: grid; gap: 7px; }
.ae-checks-spaced, .ae-fields-spaced { margin-top: 10px; }
.ae-checks label { min-width: 0; display: flex; align-items: flex-start; gap: 8px; color: #425762; font-size: 11px; line-height: 1.35; }
.ae-checks label span { min-width: 0; overflow-wrap: anywhere; }
.ae-checks input[type="checkbox"], .ae-snap input[type="checkbox"] { width: 16px; min-width: 16px; height: 16px; margin: 0; padding: 0; flex: 0 0 16px; accent-color: #1676a6; }
.ae-config-group { margin: 0 0 10px; border: 1px solid #d7e1e6; border-radius: 8px; background: #f8fafb; }
.ae-config-group > summary { padding: 9px 10px; color: #143b59; font-size: 12px; font-weight: 850; cursor: pointer; user-select: none; }
.ae-config-group[open] > summary { border-bottom: 1px solid #d7e1e6; background: #edf4f7; }
.ae-config-body { padding: 10px; display: grid; gap: 10px; }
.ae-config-body h4 { margin: 2px 0 -2px; color: #365565; font-size: 11px; }
.ae-standard-note { margin: 0; color: #70818a; font-size: 9px; line-height: 1.4; }
.ae-section-subtitle { margin: 12px 0 6px; color: #365565; font-size: 11px; }
.ae-horizon-config { padding: 8px; display: grid; gap: 8px; border: 1px solid #d8e2e7; border-radius: 7px; background: #fff; }
.ae-horizon-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #143b59; font-size: 11px; }
.ae-horizon-title label { display: flex; align-items: center; gap: 6px; color: #425762; font-size: 10px; }
.ae-horizon-title input[type="checkbox"] { width: 16px; min-width: 16px; height: 16px; margin: 0; accent-color: #1676a6; }
.ae-apron-segments { margin-top: 8px; display: grid; gap: 7px; }
.ae-apron-segment { padding: 7px; display: grid; gap: 6px; border: 1px solid #d8e2e7; border-radius: 7px; background: #f8fafb; }
.ae-apron-segment-title { display: flex; align-items: center; gap: 7px; color: #365565; font-size: 10px; font-weight: 800; }
.ae-apron-segment-title input { width: 16px; height: 16px; margin: 0; accent-color: #1676a6; }
.ae-installation-panel { border: 1px solid #c9ddd2 !important; padding: 10px !important; border-radius: 8px; background: #f3faf6; }
.ae-installation-panel p { margin: 8px 0; color: #365565; font-size: 10px; font-weight: 750; }
.ae-installation-legend { display: flex; flex-wrap: wrap; gap: 10px; color: #5d707a; font-size: 9px; }
.ae-installation-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ae-installation-legend i { width: 11px; height: 11px; border-radius: 50%; background: #fff4a8; border: 2px solid #8c9ba2; }
.ae-installation-legend i.installed { border-color: #169b62; box-shadow: 0 0 0 2px rgba(22,155,98,.2); }
.ae-installation-legend i.pending { opacity: .4; }
.ae-installable-light.is-pending { opacity: .28; stroke: #7b8990; stroke-width: 2; cursor: pointer; }
.ae-installable-light.is-installed { opacity: 1; stroke: #0d9d5a; stroke-width: 5; paint-order: stroke; cursor: pointer; filter: drop-shadow(0 0 4px rgba(13,157,90,.7)); }
.ae-editable .ae-installable-light { pointer-events: all; }
.ae-wide-field { display: grid; gap: 4px; color: #667681; font-size: 10px; font-weight: 800; }
.ae-wide-field select { height: 34px; padding: 5px 7px; border: 1px solid #c8d5dc; border-radius: 6px; background: #fff; }
.ae-add-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ae-add-grid button { min-height: 42px; padding: 5px; font-size: 10px; }
.ae-snap { margin-top: 10px; display: flex; align-items: center; gap: 6px; color: #425762; font-weight: 750; }
.ae-canvas-wrap { min-width: 0; min-height: 0; padding: 12px; display: grid; grid-template-rows: minmax(0,1fr) auto; background: #cbd5da; }
.ae-preview { min-width: 0; min-height: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid #aebfc7; border-radius: 8px; background: #edf3f1; touch-action: none; }
.ae-preview .pm-runway-svg { width: 100%; height: 100%; pointer-events: auto; }
.ae-preview .ae-object { pointer-events: all; cursor: grab; }
.ae-preview .ae-object:active { cursor: grabbing; }
.ae-canvas-wrap > p { margin: 8px 0 0; color: #526772; text-align: center; font-size: 11px; }
.ae-object-list { display: grid; gap: 5px; max-height: 230px; overflow-y: auto; }
.ae-object-list button { min-height: 44px; padding: 6px 8px; display: grid; justify-items: start; text-align: left; }
.ae-object-list button.selected { color: #143b59; border-color: #5688a2; background: #e9f2f6; }
.ae-object-list button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ae-object-list button small, .ae-object-list p, .ae-empty { color: #6c7c85; font-size: 10px; }
.ae-inspector { display: grid; gap: 9px; }
.ae-inspector > strong { color: #143b59; }
.ae-object-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ae-object-actions button { padding: 5px; font-size: 10px; }

@media (max-width: 1100px) {
  .ae-workspace { grid-template-columns: 330px minmax(420px,1fr) 285px; }
  .ae-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); }
}

@media (max-width: 820px) {
  .ae-workspace { display: grid; grid-template-columns: 320px minmax(520px,1fr) 275px; overflow-x: auto; }
  .ae-shell > header p, .ae-shell > footer > span { display: none; }
  .ae-shell h2 { font-size: 17px; }
}

@media (max-width: 1050px) {
  .pm-hero { grid-template-columns: 1fr; gap: 12px; }
  .pm-kpis { overflow-x: auto; }
  .pm-toolbar { align-items: flex-start; }
  .pm-workspace { grid-template-columns: minmax(0, 1fr) minmax(300px, 340px); }
  .pm-editor-actions { overflow-x: auto; }
}

@media (max-width: 760px) {
  .pm-topbar { min-height: 58px; padding: 8px 10px; }
  .pm-brand img { width: 104px; }
  .pm-brand > span, .pm-brand small { display: none; }
  .pm-top-actions { gap: 3px; }
  .pm-top-actions button { min-height: 36px; padding: 5px 8px; font-size: 11px; }
  .pm-save-state { display: none; }
  .pm-hero { min-height: 94px; padding: 13px; }
  .pm-hero p { font-size: 11px; }
  .pm-kpis { grid-template-columns: repeat(6, minmax(80px, 1fr)); }
  .pm-kpi { min-width: 82px; padding: 3px 9px; }
  .pm-kpi strong { font-size: 20px; }
  .pm-toolbar { min-height: 52px; padding: 7px 10px; }
  .pm-editor-actions button { min-height: 36px; padding: 5px 9px; font-size: 11px; }
  .pm-workspace { display: block; position: relative; }
  .pm-stage { height: 100%; }
  .pm-sidebar { position: absolute; z-index: 20; inset: 0 0 0 auto; width: min(92vw, 380px); box-shadow: -8px 0 24px rgba(8, 27, 39, .2); }
  .pm-map-controls { left: 8px; top: 8px; }
  .pm-map-controls button { height: 34px; padding: 0 8px; font-size: 11px; }
  .pm-marker { min-width: 42px; min-height: 38px; padding: 3px 5px; }
  .pm-marker-type { max-width: 46px; font-size: 8px; }
  .pm-marker-symbol { font-size: 13px; }
  .pm-map-hint { bottom: 10px; width: calc(100% - 20px); text-align: center; font-size: 11px; }
  .pm-form-grid { grid-template-columns: 1fr; }
  .pm-form-grid .wide { grid-column: auto; }
  .pm-share-options { grid-template-columns: 1fr; }
  .pm-share-options p { min-height: 0; }
  .pm-share-result > div { grid-template-columns: 1fr; }
}

@media print {
  body > *:not(.pm-root) { display: none !important; }
  body.pm-open { overflow: visible; }
  .pm-root { position: static; font-size: 9pt; }
  .pm-shell { height: auto; overflow: visible; }
  .pm-topbar { position: static; padding: 0 0 10px; }
  .pm-top-actions, .pm-toolbar, .pm-sidebar, .pm-map-controls, .pm-map-hint, .pm-dialog, .pm-lightbox { display: none !important; }
  .pm-hero { background: #fff; color: #111; padding: 8px 0 14px; min-height: 0; }
  .pm-hero h1, .pm-kpi strong { color: #111; }
  .pm-hero p, .pm-kpi span { color: #555; }
  .pm-workspace { display: block; background: #fff; }
  .pm-stage { height: auto; }
  .pm-map-view.active { display: block; height: 650px; break-after: page; }
  .pm-map-viewport { height: 650px; background: #fff; }
  .pm-table-view { display: block !important; height: auto; padding: 0; background: #fff; }
  .pm-table-scroll { height: auto; overflow: visible; border: 0; }
  .pm-table { min-width: 0; font-size: 7pt; }
  .pm-table th { position: static; }
  .pm-status-select { appearance: none; }
}
