      :root {
        --bg: #ffffff;
        --text: #111;
        --muted: #6b7280;
        --line: #e5e7eb;
        --card: #ffffff;
        --chip: #f3f4f6;
        --btn: #111827;
        --btnText: #fff;
        --danger: #b91c1c;
        --shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
        --radius: 14px;
      }
      body {
        margin: 0;
        background: var(--bg);
        color: var(--text);
        font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
      }
      .wrap {
        max-width: 1100px;
        margin: 0 auto;
        padding: 18px 14px 28px;
      }
      .view {
        display: none;
      }
      .view.active {
        display: block;
      }
      h1 {
        margin: 0 0 8px;
        font-size: 34px;
        letter-spacing: -0.02em;
      }
      .sub {
        margin: 0 0 14px;
        color: var(--muted);
      }
      #introView {
        display: none;
        min-height: calc(100vh - 40px);
        align-items: center;
        justify-content: center;
      }
      #introView.active {
        display: flex;
      }
      .introWrap {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
        padding: 30px 24px 24px;
        text-align: center;
      }
      .introWrap.panel {
        border-radius: 24px;
        border-color: #dbe1ea;
        box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
      }
      .introLogoMark {
        width: 152px;
        max-width: min(42vw, 180px);
        height: auto;
        margin: 0 auto 14px;
        display: block;
      }
      .introTitle {
        margin: 0;
        font-size: clamp(46px, 8vw, 70px);
        line-height: 0.95;
        letter-spacing: -0.04em;
        color: #1d4f8a;
        font-weight: 800;
      }
      .introSub {
        margin: 16px auto 0;
        max-width: 640px;
        color: #475569;
        line-height: 1.4;
        font-size: 18px;
      }
      .introActions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 26px;
      }
      .introActionCard {
        border: 1px solid #dbe1ea;
        border-radius: 18px;
        padding: 14px;
        background: #fff;
        text-align: center;
      }
      .introActionBtn {
        width: 100%;
        min-height: 68px;
        font-size: 21px;
        font-weight: 800;
        border-radius: 16px;
        transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
      }
      .introActionBtn:hover {
        transform: translateY(-1px);
      }
      .introActionBtn:active {
        transform: translateY(0);
      }
      .introActionHint {
        margin-top: 11px;
        text-align: center;
        color: #64748b;
        font-size: 15px;
        line-height: 1.4;
      }
      #btnIntroFind,
      #btnIntroAdmin,
      #introView .introActionBtn.btn.secondary {
        background: #0a66ff;
        color: #fff;
        border: 1px solid #0a66ff;
      }
      #btnIntroFind,
      #btnIntroAdmin {
        box-shadow: 0 8px 24px rgba(10, 102, 255, 0.22);
      }
      #btnIntroFind:hover,
      #btnIntroAdmin:hover {
        filter: brightness(0.97);
      }
      .mapHeader {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
      }
      .mapHeaderBrandWrap {
        min-width: 0;
      }
      .mapHeaderBrand {
        font-size: 22px;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: #1d4f8a;
      }
      .mapHeaderStats {
        margin-top: 2px;
        font-size: 13px;
        line-height: 1.35;
        color: #64748b;
      }
      .mapHeaderActions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .mapSearchHead {
        margin-top: 12px;
        padding: 12px 14px;
      }
      .mapSearchTitle {
        margin: 0;
        font-size: 28px;
        line-height: 1.1;
        letter-spacing: -0.02em;
      }
      .mapStats {
        margin-top: 6px;
        color: #475569;
      }
      .mapFiltersPanel {
        margin-top: 10px;
        padding: 12px;
      }
      .mapFiltersPanel .field {
        margin: 0;
      }
      .searchRadiusRow {
        margin-top: 10px;
      }
      .searchCategoriesSection {
        margin-top: 10px;
      }
      #subscriptionPanel {
        margin-top: 12px;
      }
      .subscriptionLead {
        color: var(--text);
        line-height: 1.45;
      }
      .mapTopInfo {
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 10px 12px;
        background: #fafafa;
        margin: 10px 0 14px;
      }
      .emptyNearHint {
        margin-top: 8px;
        color: #374151;
        line-height: 1.45;
      }

      .panel {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 14px;
        background: var(--card);
        box-shadow: var(--shadow);
      }
      .row {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
      }
      .spacer {
        flex: 1;
      }
      .btn {
        border: 0;
        background: var(--btn);
        color: var(--btnText);
        padding: 10px 12px;
        border-radius: 12px;
        cursor: pointer;
        font-weight: 600;
        line-height: 1.25;
        max-width: 100%;
        box-sizing: border-box;
      }
      .btn.secondary {
        background: transparent;
        color: var(--text);
        border: 1px solid var(--line);
      }
      .btn.cta {
        background: #0a66ff;
        color: #fff;
        font-size: 16px;
        padding: 12px 18px;
      }
      .btn.danger {
        background: var(--danger);
      }
      .btn:disabled {
        opacity: 0.55;
        cursor: not-allowed;
      }

      .hr {
        height: 1px;
        background: var(--line);
        margin: 12px 0;
      }
      .meta {
        color: var(--muted);
        font-size: 13px;
      }
      .meta.strong {
        color: var(--text);
        font-weight: 700;
      }

      .layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 14px;
      }
      .mapWrap {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--card);
        box-shadow: var(--shadow);
        overflow: hidden;
        position: relative;
      }
      #map {
        height: 360px;
        width: 100%;
      }
      .mapDim {
        position: absolute;
        inset: 0;
        background: rgba(17, 24, 39, 0.28);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        letter-spacing: 0.01em;
        text-transform: lowercase;
        z-index: 8;
        user-select: none;
        cursor: pointer;
      }
      .mapDim.hidden {
        display: none;
      }
      .mapTopBtn {
        position: absolute;
        left: 10px;
        top: 10px;
        z-index: 9;
        background: #0a66ff;
        color: #fff;
        border: 1px solid #0a66ff;
      }

      .mapPopup {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 18px 70px rgba(0, 0, 0, 0.2);
        padding: 12px;
        display: none;
      }
      .mapPopup .t {
        font-weight: 800;
        margin: 0 0 10px;
        font-size: 16px;
      }
      .mapPopup .actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .mapPopup .actions .btn,
      .mapPopup .actions .close {
        width: 100%;
      }
      .mapPopup .close {
        background: transparent;
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 6px 10px;
        cursor: pointer;
      }
      .detailsTab {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--card);
        box-shadow: var(--shadow);
        padding: 14px;
        margin-top: 12px;
      }
      .detailsHead {
        display: grid;
        gap: 10px;
        margin-bottom: 10px;
      }
      .detailsHead .title {
        margin: 0;
        min-width: 0;
        overflow-wrap: anywhere;
      }
      .detailsActions {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
        margin-top: 10px;
      }
      .detailsActions .btn {
        width: 100%;
        padding: 9px 8px;
        font-size: 14px;
        min-width: 0;
        overflow-wrap: anywhere;
        text-align: center;
        background: #0a66ff;
        color: #fff;
        border: 1px solid #0a66ff;
      }
      .detailsActions .btn:hover {
        filter: brightness(0.95);
      }
      .detailsBody {
        display: grid;
        gap: 10px;
      }
      .detailsRow {
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        padding: 10px 12px;
      }
      .detailsLabel {
        font-size: 12px;
        color: var(--muted);
        margin-bottom: 4px;
      }
      .detailsValue {
        font-size: 14px;
        white-space: pre-wrap;
        word-break: break-word;
      }

      .title {
        font-weight: 800;
        font-size: 18px;
      }
      .locPanel {
        display: grid;
        gap: 10px;
      }
      .locRow {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
      }
      .addressWrap {
        position: relative;
        width: 100%;
      }
      .addressInputRow {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
        align-items: center;
      }
      .addressOkBtn {
        min-width: 54px;
      }
      .suggestList {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 6px);
        border: 1px solid var(--line);
        background: #fff;
        border-radius: 12px;
        box-shadow: var(--shadow);
        max-height: 220px;
        overflow: auto;
        z-index: 30;
      }
      .suggestItem {
        padding: 10px 12px;
        cursor: pointer;
        border-bottom: 1px solid var(--line);
        font-size: 14px;
      }
      .suggestItem:last-child {
        border-bottom: 0;
      }
      .suggestItem:hover {
        background: #f8fafc;
      }
      .checkRow {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .catGrid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: 8px;
        width: 100%;
        margin-top: 8px;
      }
      .categoriesSection {
        margin-top: 10px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        padding: 10px;
      }
      .categoriesHead {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
      }
      .catToggleBtn {
        border: 0;
        background: transparent;
        padding: 0;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
        color: #111827;
      }
      .catItem {
        display: flex;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 8px 10px;
        background: #fff;
      }
      .confirmBack {
        position: fixed;
        inset: 0;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.35);
        z-index: 70;
      }
      .confirmCard {
        background: #fff;
        border-radius: 14px;
        border: 1px solid var(--line);
        width: min(560px, calc(100vw - 24px));
        padding: 14px;
        box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
      }
      .confirmTitle {
        margin: 0 0 8px;
        font-size: 22px;
        font-weight: 800;
      }
      .confirmText {
        margin: 0;
        white-space: pre-wrap;
      }
      .confirmActions {
        margin-top: 14px;
        display: flex;
        gap: 8px;
        justify-content: flex-end;
      }
      .locMode {
        min-width: 170px;
      }
      .listWrap {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--card);
        box-shadow: var(--shadow);
        padding: 12px;
      }
      .objectList {
        display: grid;
        gap: 10px;
      }
      .objectCard {
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 10px;
        background: #fff;
      }
      .objectCard .top {
        display: flex;
        gap: 10px;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
      }
      .objectTitle {
        font-weight: 700;
        flex: 1 1 220px;
        min-width: 0;
        overflow-wrap: anywhere;
      }
      .objectCard .top .btn {
        flex: 0 0 auto;
      }
      .objectAddr {
        color: var(--muted);
        font-size: 13px;
        margin-top: 4px;
      }
      .subPanel {
        margin-top: 10px;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 12px;
        background: #fafafa;
      }
      .communityList {
        display: grid;
        gap: 8px;
        margin-top: 10px;
      }
      .communityItem {
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 10px;
        background: #fff;
      }
      .communityName {
        font-weight: 700;
      }
      .adminHeader {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 12px;
      }
      .adminHeaderTitle {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: -0.02em;
      }
      .adminHeaderTitleWrap {
        min-width: 0;
      }
      .adminHeaderMeta {
        margin-top: 2px;
        font-size: 13px;
        line-height: 1.35;
        color: #64748b;
      }
      .adminHeaderActions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .adminSecondaryCard {
        background: #f8fafc;
      }
      .miniStatus {
        display: inline-block;
        margin-top: 4px;
        font-size: 12px;
        color: #374151;
      }
      .metricsGrid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 8px;
        margin-top: 10px;
      }
      .metricItem {
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 8px 10px;
        background: #fff;
      }
      /* Embedded admin inputs */
      .input {
        width: 100%;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid var(--line);
        box-sizing: border-box;
        font: inherit;
      }
      .cabinet-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .cab-card {
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: 14px;
        background: #fafafa;
      }

      /* Report modal */
      .modalBack {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
        z-index: 9999;
      }
      .modal {
        width: min(620px, 100%);
        background: #fff;
        border-radius: 16px;
        border: 1px solid var(--line);
        box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
        padding: 14px;
      }
      .modal h3 {
        margin: 0 0 8px;
      }
      .field {
        display: grid;
        gap: 6px;
        margin: 10px 0;
      }
      label {
        font-size: 13px;
        color: var(--muted);
        font-weight: 600;
      }
      select,
      textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 10px;
        font: inherit;
        box-sizing: border-box;
      }
      pre {
        background: #f8fafc;
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 10px;
        margin: 0;
        white-space: pre-wrap;
        word-break: break-word;
      }
      textarea {
        min-height: 90px;
        resize: vertical;
      }
      .right {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        align-items: center;
      }
      pre {
        margin: 10px 0 0;
        background: #0b1020;
        color: #e5e7eb;
        border-radius: var(--radius);
        padding: 12px;
        overflow: auto;
        font-size: 12px;
      }

      @media (min-width: 980px) {
        .layout {
          grid-template-columns: 1fr;
          align-items: start;
        }
        #map {
          height: 520px;
        }
      }
      @media (max-width: 700px) {
        .wrap {
          padding: 12px 10px 18px;
        }
        .mapHeader {
          align-items: flex-start;
          padding: 10px;
        }
        .adminHeader {
          align-items: flex-start;
          padding: 10px;
        }
        .adminHeaderTitle {
          font-size: 20px;
        }
        .adminHeaderMeta {
          font-size: 12px;
        }
        .adminHeaderActions {
          gap: 6px;
        }
        .adminHeaderActions .btn {
          padding: 8px 10px;
        }
        .mapHeaderBrand {
          font-size: 20px;
        }
        .mapHeaderStats {
          font-size: 12px;
        }
        .mapHeaderActions {
          width: auto;
          gap: 6px;
        }
        .mapHeaderActions .btn {
          padding: 8px 10px;
        }
        .mapSearchTitle {
          font-size: 24px;
        }
        .mapStats {
          font-size: 13px;
          line-height: 1.4;
        }
        .mapFiltersPanel {
          padding: 10px;
        }
        .addressInputRow {
          grid-template-columns: 1fr;
        }
        .addressOkBtn {
          width: 100%;
        }
        .introWrap {
          padding: 20px 14px 18px;
        }
        .introLogoMark {
          width: 116px;
        }
        .introTitle {
          font-size: 48px;
        }
        .introSub {
          font-size: 16px;
        }
        .introActionBtn {
          min-height: 60px;
          font-size: 19px;
        }
        .introActionHint {
          font-size: 14px;
        }
        .detailsHead .title {
          width: 100%;
        }
        .mapPopup {
          left: 8px;
          right: 8px;
          bottom: 8px;
        }
        .mapTopBtn {
          left: 8px;
          top: 8px;
        }
        .detailsActions .btn {
          font-size: 13px;
          padding: 8px 6px;
        }
        .detailsActions {
          grid-template-columns: 1fr;
        }
        .objectCard .top .btn {
          width: 100%;
        }
      }
