#assistline-main-workspace {
    display: none;
    position: relative;
    z-index: 10;
    width: min(1180px, calc(100vw - 380px));
    max-height: calc(100vh - 72px);
    align-items: stretch;
    justify-content: center;
    gap: 22px;
}

/* Maps+ Network Yönetimi - CRM redesign */
#tab-mapsplus-network {
    height: 100%;
    min-height: 0;
}

#tab-mapsplus-network,
#tab-mapsplus-network * {
    box-sizing: border-box;
}

#tab-mapsplus-network .mapsplus-admin-root {
    height: calc(100dvh - 160px);
    min-height: 540px;
    color: #111827;
    overflow-x: hidden;
}

#tab-mapsplus-network .mapsplus-admin-shell,
#tab-mapsplus-network .mapsplus-admin-card {
    height: 100%;
    min-height: 0;
}

#tab-mapsplus-network .mapsplus-admin-shell {
    display: block;
}

#tab-mapsplus-network .mapsplus-admin-card {
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #f6f8fb;
    box-shadow: none;
}

#tab-mapsplus-network .mapsplus-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #dde5f0;
    background: #ffffff;
}

#tab-mapsplus-network .mapsplus-brand {
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-admin-logo {
    width: 96px;
    max-width: 24vw;
}

#tab-mapsplus-network .mapsplus-admin-title {
    margin: 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-copy {
    max-width: 760px;
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

#tab-mapsplus-network .mapsplus-admin-kicker,
#tab-mapsplus-network .mapsplus-section-head span,
#tab-mapsplus-network .mapsplus-provider-list-head span,
#tab-mapsplus-network .mapsplus-field > span {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

#tab-mapsplus-network .mapsplus-admin-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

#tab-mapsplus-network .mapsplus-btn {
    min-width: 0;
    min-height: 36px;
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
    box-shadow: none;
}

#tab-mapsplus-network .mapsplus-btn:hover,
#tab-mapsplus-network .mapsplus-btn:focus-visible {
    transform: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.13);
}

#tab-mapsplus-network .mapsplus-btn.primary {
    background: #2563eb;
}

#tab-mapsplus-network .mapsplus-btn.dark {
    background: #111827;
}

#tab-mapsplus-network .mapsplus-btn.danger {
    color: #b91c1c;
    background: #fff1f2;
}

#tab-mapsplus-network .mapsplus-btn.priority-high {
    color: #ffffff;
    background: #dc2626;
}

#tab-mapsplus-network .mapsplus-btn.priority-medium {
    color: #78350f;
    background: #fde68a;
}

#tab-mapsplus-network .mapsplus-btn.priority-low {
    color: #334155;
    background: #e2e8f0;
}

#tab-mapsplus-network .mapsplus-admin-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 18px;
    border-bottom: 1px solid #dde5f0;
    background: #ffffff;
}

#tab-mapsplus-network .mapsplus-admin-tab {
    min-height: 34px;
    border-radius: 7px;
    padding: 8px 12px;
    background: #f8fafc;
    font-size: 12px;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-admin-tab.active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: inset 0 -2px 0 #2563eb;
}

#tab-mapsplus-network .mapsplus-admin-status {
    min-height: 38px;
    padding: 9px 18px;
    border-bottom: 1px solid #dde5f0;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 800;
}

#tab-mapsplus-network .mapsplus-network-console {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
    background: #f6f8fb;
}

#tab-mapsplus-network .mapsplus-network-commandbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid #dde5f0;
    background: #f8fafc;
}

#tab-mapsplus-network .mapsplus-network-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(96px, 1fr));
    gap: 8px;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-network-metric {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #dbe3ef;
    border-left: 3px solid #64748b;
    border-radius: 7px;
    background: #ffffff;
}

#tab-mapsplus-network .mapsplus-network-metric.primary { border-left-color: #2563eb; }
#tab-mapsplus-network .mapsplus-network-metric.ok { border-left-color: #16a34a; }
#tab-mapsplus-network .mapsplus-network-metric.warn { border-left-color: #f59e0b; }
#tab-mapsplus-network .mapsplus-network-metric.navy { border-left-color: #111827; }

#tab-mapsplus-network .mapsplus-network-metric span {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
}

#tab-mapsplus-network .mapsplus-network-metric strong {
    display: block;
    margin-top: 2px;
    color: #111827;
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-network-quickfilters {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-network-chip {
    min-height: 34px;
    border: 1px solid #dbe3ef;
    border-radius: 7px;
    background: #ffffff;
    color: #334155;
    padding: 7px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

#tab-mapsplus-network .mapsplus-network-chip.active,
#tab-mapsplus-network .mapsplus-network-chip:focus-visible {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    outline: none;
}

#tab-mapsplus-network .mapsplus-admin-body {
    display: grid;
    grid-template-columns: minmax(320px, 385px) minmax(0, 1fr);
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-top: 0;
    background: #f6f8fb;
}

#tab-mapsplus-network .mapsplus-provider-list,
#tab-mapsplus-network .mapsplus-editor {
    min-height: 0;
    overflow: hidden;
    background: #ffffff;
}

#tab-mapsplus-network .mapsplus-provider-list {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    border-right: 1px solid #dde5f0;
}

#tab-mapsplus-network .mapsplus-provider-list::before,
#tab-mapsplus-network .mapsplus-provider-list::after,
#tab-mapsplus-network .mapsplus-dashboard::before,
#tab-mapsplus-network .mapsplus-dashboard::after,
#tab-mapsplus-network .mapsplus-editor-hero::before {
    content: none;
}

#tab-mapsplus-network .mapsplus-provider-list-head {
    margin: 0;
    padding: 0;
}

#tab-mapsplus-network .mapsplus-provider-list-head strong {
    display: block;
    margin-top: 2px;
    color: #111827;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

#tab-mapsplus-network .mapsplus-provider-filter-stack {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 10px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #f8fafc;
    box-shadow: none;
    backdrop-filter: none;
}

#tab-mapsplus-network .mapsplus-provider-filter-stack::before {
    content: none;
}

#tab-mapsplus-network .mapsplus-provider-filter-stack .mapsplus-search-field,
#tab-mapsplus-network .mapsplus-provider-filter-actions {
    grid-column: 1 / -1;
}

#tab-mapsplus-network .mapsplus-field {
    gap: 5px;
}

#tab-mapsplus-network .mapsplus-field label {
    color: #475569;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: none;
}

#tab-mapsplus-network .mapsplus-input,
#tab-mapsplus-network .mapsplus-textarea,
#tab-mapsplus-network .mapsplus-select {
    min-height: 38px;
    border-color: #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

#tab-mapsplus-network .mapsplus-textarea {
    min-height: 68px;
}

#tab-mapsplus-network .mapsplus-input:focus,
#tab-mapsplus-network .mapsplus-textarea:focus,
#tab-mapsplus-network .mapsplus-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#tab-mapsplus-network .mapsplus-provider-filter-actions {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

#tab-mapsplus-network .mapsplus-provider-filter-actions span {
    min-width: 0;
    color: #475569;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network #mapsplus-provider-list-items {
    min-height: 0;
    overflow-y: auto;
    padding: 0 4px 12px 0;
    scrollbar-gutter: stable;
}

#tab-mapsplus-network .mapsplus-provider-item {
    display: grid;
    gap: 8px;
    margin: 0 0 8px;
    padding: 11px;
    border: 1px solid #dbe3ef;
    border-left: 3px solid #2563eb;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    box-shadow: none;
    transform: none;
    contain: content;
    content-visibility: auto;
    contain-intrinsic-size: 118px;
}

#tab-mapsplus-network .mapsplus-provider-item:hover,
#tab-mapsplus-network .mapsplus-provider-item:focus-visible {
    border-color: #93c5fd;
    border-left-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    transform: none;
}

#tab-mapsplus-network .mapsplus-provider-item.passive {
    border-left-color: #94a3b8;
    background: #f8fafc;
    opacity: 1;
}

#tab-mapsplus-network .mapsplus-provider-item.active {
    border-color: #93c5fd;
    border-left-color: #1d4ed8;
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

#tab-mapsplus-network .mapsplus-provider-item-top {
    align-items: flex-start;
}

#tab-mapsplus-network .mapsplus-provider-title {
    display: grid;
    gap: 2px;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-provider-title strong,
#tab-mapsplus-network .mapsplus-provider-item strong {
    min-width: 0;
    color: #111827;
    font-size: 13px;
    line-height: 1.28;
    font-weight: 900;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-provider-title small,
#tab-mapsplus-network .mapsplus-provider-identity {
    min-width: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-provider-status {
    min-height: 22px;
    border-radius: 6px;
    padding: 4px 7px;
    font-size: 10px;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid > span {
    min-width: 0;
    padding: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: rgba(248, 250, 252, 0.78);
}

#tab-mapsplus-network .mapsplus-provider-meta-grid b {
    display: block;
    color: #111827;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 9px;
    line-height: 1.15;
    font-weight: 800;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid .warn b {
    color: #b45309;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid .ok b {
    color: #047857;
}

#tab-mapsplus-network .mapsplus-provider-priority-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
}

#tab-mapsplus-network .mapsplus-provider-priority-strip i {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

#tab-mapsplus-network .mapsplus-provider-priority-strip i::after {
    content: "";
    display: block;
    width: min(100%, calc(var(--count, 0) * 6%));
    min-width: calc(min(var(--count, 0), 1) * 18%);
    height: 100%;
    border-radius: inherit;
}

#tab-mapsplus-network .mapsplus-provider-priority-strip .level-1::after { background: #dc2626; }
#tab-mapsplus-network .mapsplus-provider-priority-strip .level-2::after { background: #f59e0b; }
#tab-mapsplus-network .mapsplus-provider-priority-strip .level-3::after { background: #64748b; }

#tab-mapsplus-network .mapsplus-editor {
    padding: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f6f8fb;
    scrollbar-gutter: stable;
}

#tab-mapsplus-network .mapsplus-editor-workbench {
    display: grid;
    gap: 12px;
    min-width: 0;
    max-width: 1280px;
    margin: 0 auto;
}

#tab-mapsplus-network .mapsplus-editor-hero,
#tab-mapsplus-network .mapsplus-editor-workbench .mapsplus-section,
#tab-mapsplus-network .mapsplus-row-card,
#tab-mapsplus-network .mapsplus-priority-builder,
#tab-mapsplus-network .mapsplus-priority-overview,
#tab-mapsplus-network .mapsplus-empty-editor > div:first-child {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

#tab-mapsplus-network .mapsplus-editor-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 12px;
    padding: 14px;
}

#tab-mapsplus-network .mapsplus-editor-hero-main {
    gap: 5px;
}

#tab-mapsplus-network .mapsplus-editor-hero-main span {
    color: #2563eb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-editor-hero-main h4 {
    color: #111827;
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-editor-hero-main p {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-editor-hero-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}

#tab-mapsplus-network .mapsplus-editor-stat {
    min-height: 66px;
    gap: 4px;
    padding: 9px;
    border: 1px solid #dbe3ef;
    border-left: 3px solid #64748b;
    border-radius: 7px;
    background: #f8fafc;
    box-shadow: none;
}

#tab-mapsplus-network .mapsplus-editor-stat.ok { border-left-color: #16a34a; }
#tab-mapsplus-network .mapsplus-editor-stat.warn { border-left-color: #f59e0b; }
#tab-mapsplus-network .mapsplus-editor-stat.navy { border-left-color: #111827; }
#tab-mapsplus-network .mapsplus-editor-stat.priority { border-left-color: #7c3aed; }
#tab-mapsplus-network .mapsplus-editor-stat.muted { border-left-color: #94a3b8; }

#tab-mapsplus-network .mapsplus-editor-stat span {
    color: #64748b;
    font-size: 10px;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-editor-stat strong {
    color: #111827;
    font-size: 18px;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-editor-stat small {
    color: #64748b;
    font-size: 10px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-editor-workbench .mapsplus-section {
    gap: 12px;
    margin: 0;
    padding: 14px;
}

#tab-mapsplus-network .mapsplus-section-head {
    align-items: center;
}

#tab-mapsplus-network .mapsplus-section-head h4 {
    margin: 2px 0 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

#tab-mapsplus-network .mapsplus-provider-state {
    min-width: 0;
    border-radius: 7px;
    padding: 8px 10px;
    background: #f8fafc;
}

#tab-mapsplus-network .mapsplus-provider-state strong {
    font-size: 12px;
}

#tab-mapsplus-network .mapsplus-switch {
    width: 44px;
    height: 26px;
}

#tab-mapsplus-network .mapsplus-switch span::after {
    width: 18px;
    height: 18px;
}

#tab-mapsplus-network .mapsplus-switch input:checked + span::after {
    transform: translateX(18px);
}

#tab-mapsplus-network .mapsplus-departure-list {
    display: grid;
    gap: 10px;
}

#tab-mapsplus-network .mapsplus-row-card {
    gap: 10px;
    padding: 12px;
    contain: layout style;
}

#tab-mapsplus-network .mapsplus-row-card.highlighted {
    border-color: #22c55e;
    background: #f0fdf4;
    box-shadow: inset 3px 0 0 #22c55e;
}

#tab-mapsplus-network .mapsplus-departure-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid #e2e8f0;
}

#tab-mapsplus-network .mapsplus-departure-head div {
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-departure-head span {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
}

#tab-mapsplus-network .mapsplus-departure-head strong {
    display: block;
    margin-top: 2px;
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-departure-head small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-departure-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

#tab-mapsplus-network .mapsplus-priority-workspace {
    display: grid;
    grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-priority-overview,
#tab-mapsplus-network .mapsplus-priority-builder {
    padding: 12px;
}

#tab-mapsplus-network .mapsplus-priority-summary {
    gap: 6px;
}

#tab-mapsplus-network .mapsplus-badge.priority {
    min-height: 24px;
    border-radius: 6px;
    padding: 5px 7px;
    font-size: 10px;
    letter-spacing: 0;
    white-space: normal;
}

#tab-mapsplus-network .mapsplus-priority-region-list {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    max-height: 260px;
    overflow: auto;
    scrollbar-gutter: stable;
}

#tab-mapsplus-network .mapsplus-priority-region {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    min-height: 32px;
    padding: 5px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #f8fafc;
}

#tab-mapsplus-network .mapsplus-priority-region b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #111827;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

#tab-mapsplus-network .mapsplus-priority-region small {
    min-width: 0;
    color: #334155;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-priority-region.level-1 b { background: #dc2626; }
#tab-mapsplus-network .mapsplus-priority-region.level-2 b { background: #d97706; }
#tab-mapsplus-network .mapsplus-priority-region.level-3 b { background: #64748b; }

#tab-mapsplus-network .mapsplus-priority-region.more b {
    background: #2563eb;
}

#tab-mapsplus-network .mapsplus-priority-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

#tab-mapsplus-network .mapsplus-priority-actions .mapsplus-btn {
    width: 100%;
}

#tab-mapsplus-network .mapsplus-district-picker {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 6px;
    max-height: min(420px, 46dvh);
    padding: 0 3px 0 0;
}

#tab-mapsplus-network .mapsplus-district-chip {
    min-height: 36px;
    border-radius: 7px;
    padding: 7px 8px;
}

#tab-mapsplus-network .mapsplus-district-chip span {
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-district-chip small {
    font-size: 9px;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-editor-savebar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    position: static;
    margin: 0;
    padding: 10px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

#tab-mapsplus-network .mapsplus-empty-editor {
    min-height: 100%;
    padding: 18px;
}

#tab-mapsplus-network .mapsplus-empty-editor > div:first-child {
    width: min(560px, 100%);
    padding: 22px;
    text-align: left;
}

#tab-mapsplus-network .mapsplus-empty-editor span {
    color: #2563eb;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-empty-editor h4 {
    margin: 6px 0;
    font-size: 22px;
}

#tab-mapsplus-network .mapsplus-empty-editor p {
    margin: 0;
    font-size: 13px;
}

#tab-mapsplus-network .mapsplus-empty-editor-actions {
    justify-content: flex-start;
}

#tab-mapsplus-network .mapsplus-empty.compact {
    padding: 11px;
    border-radius: 7px;
    font-size: 11px;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-card, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-card,
body.dark-theme #tab-mapsplus-network .mapsplus-network-console, body.dark-theme:not(.admin-panel-open) .mapsplus-network-console,
body.dark-theme #tab-mapsplus-network .mapsplus-admin-body, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-body,
body.dark-theme #tab-mapsplus-network .mapsplus-editor , body.dark-theme:not(.admin-panel-open) .mapsplus-editor {
    background: #0f172a;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-head, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-head,
body.dark-theme #tab-mapsplus-network .mapsplus-admin-tabs, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-tabs,
body.dark-theme #tab-mapsplus-network .mapsplus-network-commandbar, body.dark-theme:not(.admin-panel-open) .mapsplus-network-commandbar,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-list, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-list,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-hero, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-hero,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-workbench .mapsplus-section, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-workbench .mapsplus-section,
body.dark-theme #tab-mapsplus-network .mapsplus-row-card, body.dark-theme:not(.admin-panel-open) .mapsplus-row-card,
body.dark-theme #tab-mapsplus-network .mapsplus-priority-builder, body.dark-theme:not(.admin-panel-open) .mapsplus-priority-builder,
body.dark-theme #tab-mapsplus-network .mapsplus-priority-overview, body.dark-theme:not(.admin-panel-open) .mapsplus-priority-overview,
body.dark-theme #tab-mapsplus-network .mapsplus-empty-editor > div:first-child , body.dark-theme:not(.admin-panel-open) .mapsplus-empty-editor > div:first-child {
    border-color: #334155;
    background: #111827;
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-title, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-title,
body.dark-theme #tab-mapsplus-network .mapsplus-network-metric strong, body.dark-theme:not(.admin-panel-open) .mapsplus-network-metric strong,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-list-head strong, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-list-head strong,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-title strong, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-title strong,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-item strong, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item strong,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-meta-grid b, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-meta-grid b,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-hero-main h4, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-hero-main h4,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-stat strong, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-stat strong,
body.dark-theme #tab-mapsplus-network .mapsplus-section-head h4, body.dark-theme:not(.admin-panel-open) .mapsplus-section-head h4,
body.dark-theme #tab-mapsplus-network .mapsplus-departure-head strong , body.dark-theme:not(.admin-panel-open) .mapsplus-departure-head strong {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-copy, body.dark-theme:not(.admin-panel-open) .mapsplus-copy,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-title small, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-title small,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-identity, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-identity,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-hero-main p, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-hero-main p,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-stat small, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-stat small,
body.dark-theme #tab-mapsplus-network .mapsplus-departure-head small, body.dark-theme:not(.admin-panel-open) .mapsplus-departure-head small,
body.dark-theme #tab-mapsplus-network .mapsplus-priority-region small, body.dark-theme:not(.admin-panel-open) .mapsplus-priority-region small,
body.dark-theme #tab-mapsplus-network .mapsplus-admin-kicker, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-kicker,
body.dark-theme #tab-mapsplus-network .mapsplus-section-head span, body.dark-theme:not(.admin-panel-open) .mapsplus-section-head span,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-list-head span, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-list-head span,
body.dark-theme #tab-mapsplus-network .mapsplus-field > span , body.dark-theme:not(.admin-panel-open) .mapsplus-field > span {
    color: #94a3b8;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-filter-stack, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-filter-stack,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-meta-grid > span, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-meta-grid > span,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-stat, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-stat,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-state, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-state,
body.dark-theme #tab-mapsplus-network .mapsplus-priority-region, body.dark-theme:not(.admin-panel-open) .mapsplus-priority-region,
body.dark-theme #tab-mapsplus-network .mapsplus-network-metric, body.dark-theme:not(.admin-panel-open) .mapsplus-network-metric,
body.dark-theme #tab-mapsplus-network .mapsplus-network-chip, body.dark-theme:not(.admin-panel-open) .mapsplus-network-chip,
body.dark-theme #tab-mapsplus-network .mapsplus-admin-tab , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-tab {
    border-color: #334155;
    background: #1e293b;
}

body.dark-theme #tab-mapsplus-network .mapsplus-input, body.dark-theme:not(.admin-panel-open) .mapsplus-input,
body.dark-theme #tab-mapsplus-network .mapsplus-textarea, body.dark-theme:not(.admin-panel-open) .mapsplus-textarea,
body.dark-theme #tab-mapsplus-network .mapsplus-select , body.dark-theme:not(.admin-panel-open) .mapsplus-select {
    border-color: #475569;
    background: #0f172a;
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-item , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item {
    border-color: #334155;
    border-left-color: #60a5fa;
    background: #111827;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-item.active, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item.active,
body.dark-theme #tab-mapsplus-network .mapsplus-admin-tab.active, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-tab.active,
body.dark-theme #tab-mapsplus-network .mapsplus-network-chip.active , body.dark-theme:not(.admin-panel-open) .mapsplus-network-chip.active {
    border-color: #60a5fa;
    background: #172554;
    color: #bfdbfe;
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-savebar , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-savebar {
    border-color: #334155;
    background: rgba(17, 24, 39, 0.96);
}

@media (max-width: 1420px) {
    #tab-mapsplus-network .mapsplus-admin-root {
        height: calc(100dvh - 140px);
    }

    #tab-mapsplus-network .mapsplus-admin-body {
        grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
    }

    #tab-mapsplus-network .mapsplus-editor-hero {
        grid-template-columns: 1fr;
    }

    #tab-mapsplus-network .mapsplus-editor-hero-stats {
        grid-template-columns: repeat(5, minmax(92px, 1fr));
        overflow-x: auto;
    }

    #tab-mapsplus-network .mapsplus-priority-workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    #tab-mapsplus-network .mapsplus-network-commandbar {
        grid-template-columns: 1fr;
    }

    #tab-mapsplus-network .mapsplus-network-quickfilters {
        justify-content: flex-start;
    }

    #tab-mapsplus-network .mapsplus-network-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #tab-mapsplus-network .mapsplus-admin-body {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    #tab-mapsplus-network .mapsplus-provider-list {
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid #dde5f0;
    }

    #tab-mapsplus-network #mapsplus-provider-list-items {
        max-height: 340px;
    }

    #tab-mapsplus-network .mapsplus-editor {
        overflow: visible;
    }
}

@media (max-width: 820px) {
    #tab-mapsplus-network .mapsplus-admin-root {
        height: auto;
        min-height: 0;
    }

    #tab-mapsplus-network .mapsplus-admin-card {
        overflow: visible;
    }

    #tab-mapsplus-network .mapsplus-admin-head,
    #tab-mapsplus-network .mapsplus-section-head,
    #tab-mapsplus-network .mapsplus-departure-head {
        align-items: stretch;
        flex-direction: column;
    }

    #tab-mapsplus-network .mapsplus-admin-actions,
    #tab-mapsplus-network .mapsplus-departure-actions,
    #tab-mapsplus-network .mapsplus-editor-savebar {
        justify-content: flex-start;
    }

    #tab-mapsplus-network .mapsplus-network-metrics,
    #tab-mapsplus-network .mapsplus-provider-filter-stack,
    #tab-mapsplus-network .mapsplus-grid-2,
    #tab-mapsplus-network .mapsplus-grid-3,
    #tab-mapsplus-network .mapsplus-admin-grid,
    #tab-mapsplus-network .mapsplus-editor-hero-stats,
    #tab-mapsplus-network .mapsplus-priority-actions {
        grid-template-columns: 1fr;
    }

    #tab-mapsplus-network .mapsplus-provider-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #tab-mapsplus-network .mapsplus-btn,
    #tab-mapsplus-network .mapsplus-network-chip {
        width: 100%;
    }
}

/* Maps+ Network Yönetimi - Assistline native liquid redesign */
#tab-mapsplus-network {
    --mp-accent: #0ea5e9;
    --mp-accent-strong: #2563eb;
    --mp-brand-red: #ef2331;
    --mp-success: #10b981;
    --mp-warning: #f59e0b;
    --mp-text: #0f172a;
    --mp-muted: #64748b;
    --mp-faint: #94a3b8;
    --mp-border: rgba(203, 213, 225, 0.82);
    --mp-border-soft: rgba(226, 232, 240, 0.78);
    --mp-surface: rgba(255, 255, 255, 0.78);
    --mp-surface-strong: rgba(255, 255, 255, 0.94);
    --mp-surface-soft: rgba(248, 250, 252, 0.72);
    --mp-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
    --mp-shadow-soft: 0 10px 26px rgba(15, 23, 42, 0.05);
    --mp-glass:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.62)),
        rgba(255, 255, 255, 0.72);
    height: auto;
    min-height: 0;
    color: var(--mp-text);
}

body.dark-theme #tab-mapsplus-network , body.dark-theme:not(.admin-panel-open) {
    --mp-accent: var(--adm-accent-alt, #38bdf8);
    --mp-accent-strong: var(--adm-accent, #34d399);
    --mp-brand-red: #fb7185;
    --mp-success: #34d399;
    --mp-warning: #fbbf24;
    --mp-text: var(--adm-text, #ffffff);
    --mp-muted: var(--adm-text-muted, #c3cad6);
    --mp-faint: var(--adm-text-faint, #9aa3b2);
    --mp-border: var(--adm-border-strong, rgba(255, 255, 255, 0.16));
    --mp-border-soft: var(--adm-border, rgba(255, 255, 255, 0.10));
    --mp-surface: rgba(18, 18, 24, 0.68);
    --mp-surface-strong: rgba(26, 26, 34, 0.90);
    --mp-surface-soft: rgba(13, 13, 18, 0.66);
    --mp-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
    --mp-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.24);
    --mp-glass:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.10), transparent 42%),
        radial-gradient(circle at 100% 0%, rgba(52, 211, 153, 0.08), transparent 36%),
        linear-gradient(135deg, rgba(18, 18, 24, 0.92), rgba(12, 12, 18, 0.82));
}

#tab-mapsplus-network,
#tab-mapsplus-network * {
    box-sizing: border-box;
}

#tab-mapsplus-network .mapsplus-admin-root {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    color: var(--mp-text);
}

#tab-mapsplus-network .mapsplus-admin-shell,
#tab-mapsplus-network .mapsplus-admin-card,
#tab-mapsplus-network .mapsplus-network-console,
#tab-mapsplus-network .mapsplus-editor {
    height: auto;
    min-height: 0;
    overflow: visible;
    background: transparent;
}

#tab-mapsplus-network .mapsplus-admin-shell {
    display: block;
}

#tab-mapsplus-network .mapsplus-admin-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--mp-text);
}

#tab-mapsplus-network .mapsplus-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
}

#tab-mapsplus-network .mapsplus-brand {
    align-items: center;
    gap: 16px;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-admin-logo {
    width: 132px;
    max-width: 24vw;
}

#tab-mapsplus-network .mapsplus-admin-kicker,
#tab-mapsplus-network .mapsplus-section-head span,
#tab-mapsplus-network .mapsplus-provider-list-head span,
#tab-mapsplus-network .mapsplus-field > span,
#tab-mapsplus-network .mapsplus-editor-hero-main span,
#tab-mapsplus-network .mapsplus-departure-head span {
    color: var(--mp-muted);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
}

#tab-mapsplus-network .mapsplus-admin-title {
    margin: 0;
    color: var(--mp-text);
    font-size: 24px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-copy {
    max-width: 760px;
    margin: 5px 0 0;
    color: var(--mp-muted);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
}

#tab-mapsplus-network .mapsplus-admin-actions {
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

#tab-mapsplus-network .mapsplus-btn {
    min-width: 0;
    min-height: 40px;
    border: 1px solid var(--mp-border);
    border-radius: 13px;
    background: var(--mp-surface-strong);
    color: #334155;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
    box-shadow: var(--mp-shadow-soft);
    transform: none;
}

#tab-mapsplus-network .mapsplus-btn.compact {
    min-height: 38px;
    padding: 8px 12px;
}

#tab-mapsplus-network .mapsplus-btn:hover,
#tab-mapsplus-network .mapsplus-btn:focus-visible {
    border-color: rgba(14, 165, 233, 0.36);
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.12);
    transform: translateY(-1px);
    outline: none;
}

#tab-mapsplus-network .mapsplus-btn.primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--mp-accent), var(--mp-accent-strong));
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.22);
}

#tab-mapsplus-network .mapsplus-btn.dark {
    border-color: rgba(15, 23, 42, 0.12);
    background: #0f172a;
    color: #ffffff;
}

#tab-mapsplus-network .mapsplus-btn.danger {
    color: #b91c1c;
    border-color: rgba(248, 113, 113, 0.32);
    background: rgba(254, 242, 242, 0.86);
}

#tab-mapsplus-network .mapsplus-btn.priority-high {
    color: #991b1b;
    border-color: rgba(248, 113, 113, 0.32);
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.98), rgba(255, 255, 255, 0.86));
}

#tab-mapsplus-network .mapsplus-btn.priority-medium {
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.30);
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.98), rgba(255, 255, 255, 0.86));
}

#tab-mapsplus-network .mapsplus-btn.priority-low {
    color: #334155;
    border-color: rgba(148, 163, 184, 0.34);
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.98), rgba(255, 255, 255, 0.84));
}

#tab-mapsplus-network .mapsplus-admin-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    padding: 7px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 16px;
    background: var(--mp-surface);
    box-shadow: var(--mp-shadow-soft);
}

#tab-mapsplus-network .mapsplus-admin-tab {
    min-height: 38px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--mp-muted);
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: none;
}

#tab-mapsplus-network .mapsplus-admin-tab.active {
    border-color: rgba(14, 165, 233, 0.24);
    background: rgba(14, 165, 233, 0.12);
    color: var(--mp-accent-strong);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

#tab-mapsplus-network .mapsplus-admin-status {
    min-height: 38px;
    margin: 0 0 16px;
    padding: 10px 14px;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 14px;
    background: rgba(236, 253, 245, 0.70);
    color: #047857;
    font-size: 12px;
    font-weight: 850;
}

#tab-mapsplus-network .mapsplus-admin-status.warn {
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(255, 251, 235, 0.78);
    color: #b45309;
}

#tab-mapsplus-network .mapsplus-admin-status.error {
    border-color: rgba(248, 113, 113, 0.28);
    background: rgba(254, 242, 242, 0.78);
    color: #b91c1c;
}

#tab-mapsplus-network .mapsplus-network-console {
    display: grid;
    gap: 18px;
}

#tab-mapsplus-network .mapsplus-network-ribbon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.10), transparent 36%),
        radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.08), transparent 32%),
        var(--mp-glass);
    box-shadow: var(--mp-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

#tab-mapsplus-network .mapsplus-network-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(132px, 1fr));
    gap: 12px;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-network-metric {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.70);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

#tab-mapsplus-network .mapsplus-network-metric.primary { box-shadow: inset 4px 0 0 var(--mp-accent), inset 0 1px 0 rgba(255, 255, 255, 0.62); }
#tab-mapsplus-network .mapsplus-network-metric.ok { box-shadow: inset 4px 0 0 var(--mp-success), inset 0 1px 0 rgba(255, 255, 255, 0.62); }
#tab-mapsplus-network .mapsplus-network-metric.warn { box-shadow: inset 4px 0 0 var(--mp-warning), inset 0 1px 0 rgba(255, 255, 255, 0.62); }
#tab-mapsplus-network .mapsplus-network-metric.navy { box-shadow: inset 4px 0 0 #0f172a, inset 0 1px 0 rgba(255, 255, 255, 0.62); }

#tab-mapsplus-network .mapsplus-network-metric span {
    display: block;
    color: var(--mp-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

#tab-mapsplus-network .mapsplus-network-metric strong {
    display: block;
    margin-top: 4px;
    color: var(--mp-text);
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-network-quickfilters {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-network-chip {
    min-height: 38px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--mp-muted);
    padding: 8px 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    cursor: pointer;
}

#tab-mapsplus-network .mapsplus-network-chip.active,
#tab-mapsplus-network .mapsplus-network-chip:focus-visible {
    border-color: rgba(14, 165, 233, 0.36);
    background: rgba(14, 165, 233, 0.13);
    color: var(--mp-accent-strong);
    outline: none;
}

#tab-mapsplus-network .mapsplus-admin-body {
    display: grid;
    grid-template-columns: minmax(430px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
    height: min(840px, calc(100vh - 200px));
    min-height: 600px;
    overflow: hidden;
    border: 0;
    background: transparent;
    align-items: stretch;
}

#tab-mapsplus-network .mapsplus-provider-list,
#tab-mapsplus-network .mapsplus-editor-hero,
#tab-mapsplus-network .mapsplus-editor-workbench .mapsplus-section,
#tab-mapsplus-network .mapsplus-row-card,
#tab-mapsplus-network .mapsplus-priority-builder,
#tab-mapsplus-network .mapsplus-priority-overview,
#tab-mapsplus-network .mapsplus-empty-editor > div:first-child {
    border: 1px solid var(--mp-border-soft);
    border-radius: 22px;
    background: var(--mp-glass);
    box-shadow: var(--mp-shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#tab-mapsplus-network .mapsplus-provider-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 16px;
    overflow: visible;
}

#tab-mapsplus-network .mapsplus-provider-list::before,
#tab-mapsplus-network .mapsplus-provider-list::after,
#tab-mapsplus-network .mapsplus-dashboard::before,
#tab-mapsplus-network .mapsplus-dashboard::after,
#tab-mapsplus-network .mapsplus-editor-hero::before {
    content: none;
}

#tab-mapsplus-network .mapsplus-provider-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 0;
}

#tab-mapsplus-network .mapsplus-provider-list-head strong {
    display: block;
    margin-top: 3px;
    color: var(--mp-text);
    font-size: 19px;
    line-height: 1.18;
    font-weight: 950;
}

#tab-mapsplus-network .mapsplus-provider-list-tools {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 8;
}

#tab-mapsplus-network .mapsplus-filter-drawer {
    position: relative;
}

#tab-mapsplus-network .mapsplus-filter-drawer summary {
    display: inline-flex;
    list-style: none;
}

#tab-mapsplus-network .mapsplus-filter-drawer summary::-webkit-details-marker {
    display: none;
}

#tab-mapsplus-network .mapsplus-filter-drawer[open] summary {
    border-color: rgba(14, 165, 233, 0.30);
    background: rgba(14, 165, 233, 0.11);
    color: var(--mp-accent-strong);
}

#tab-mapsplus-network .mapsplus-provider-list-head:has(.mapsplus-filter-drawer[open]) {
    flex-wrap: wrap;
}

#tab-mapsplus-network .mapsplus-provider-list-head:has(.mapsplus-filter-drawer[open]) .mapsplus-provider-list-tools,
#tab-mapsplus-network .mapsplus-provider-list-head:has(.mapsplus-filter-drawer[open]) .mapsplus-filter-drawer {
    width: 100%;
}

#tab-mapsplus-network .mapsplus-provider-list-head:has(.mapsplus-filter-drawer[open]) .mapsplus-provider-list-tools {
    justify-content: flex-start;
}

#tab-mapsplus-network .mapsplus-provider-filter-stack {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 30;
    width: min(460px, calc(100vw - 380px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--mp-border);
    border-radius: 18px;
    background: var(--mp-surface-strong);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#tab-mapsplus-network .mapsplus-provider-list-head:has(.mapsplus-filter-drawer[open]) .mapsplus-provider-filter-stack {
    position: static;
    width: 100%;
    margin-top: 10px;
    background: var(--mp-surface-strong);
}

#tab-mapsplus-network .mapsplus-provider-filter-stack::before {
    content: none;
}

#tab-mapsplus-network .mapsplus-provider-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--mp-border-soft);
}

#tab-mapsplus-network .mapsplus-provider-searchbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 18px;
    background: var(--mp-surface-soft);
}

#tab-mapsplus-network .mapsplus-provider-count {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.10);
    color: var(--mp-accent-strong);
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

#tab-mapsplus-network .mapsplus-field {
    gap: 7px;
}

#tab-mapsplus-network .mapsplus-field label {
    color: var(--mp-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

#tab-mapsplus-network .mapsplus-input,
#tab-mapsplus-network .mapsplus-textarea,
#tab-mapsplus-network .mapsplus-select {
    min-height: 44px;
    border-color: var(--mp-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--mp-text);
    padding: 11px 13px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

#tab-mapsplus-network .mapsplus-textarea {
    min-height: 82px;
}

#tab-mapsplus-network .mapsplus-input:focus,
#tab-mapsplus-network .mapsplus-textarea:focus,
#tab-mapsplus-network .mapsplus-select:focus {
    border-color: rgba(14, 165, 233, 0.50);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.11);
}

#tab-mapsplus-network #mapsplus-provider-list-items {
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
}

#tab-mapsplus-network .mapsplus-provider-item {
    display: grid;
    gap: 9px;
    width: 100%;
    margin: 0 0 10px;
    padding: 14px;
    border: 1px solid var(--mp-border-soft);
    border-left: 4px solid rgba(14, 165, 233, 0.82);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--mp-text);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
    transform: none;
    contain: content;
    content-visibility: auto;
    contain-intrinsic-size: 132px;
}

#tab-mapsplus-network .mapsplus-provider-item:hover,
#tab-mapsplus-network .mapsplus-provider-item:focus-visible {
    border-color: rgba(14, 165, 233, 0.34);
    border-left-color: var(--mp-accent-strong);
    box-shadow: 0 15px 32px rgba(14, 165, 233, 0.11);
    transform: translateY(-1px);
    outline: none;
}

#tab-mapsplus-network .mapsplus-provider-item.passive {
    border-left-color: rgba(148, 163, 184, 0.86);
    background: rgba(248, 250, 252, 0.62);
    opacity: 0.86;
}

#tab-mapsplus-network .mapsplus-provider-item.active {
    border-color: rgba(14, 165, 233, 0.44);
    border-left-color: var(--mp-accent-strong);
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.06)),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.13);
}

#tab-mapsplus-network .mapsplus-provider-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

#tab-mapsplus-network .mapsplus-provider-title {
    display: grid;
    gap: 3px;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-provider-title strong,
#tab-mapsplus-network .mapsplus-provider-item strong {
    min-width: 0;
    color: var(--mp-text);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-provider-title small,
#tab-mapsplus-network .mapsplus-provider-identity {
    min-width: 0;
    color: var(--mp-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-provider-status {
    min-height: 28px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid > span {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 13px;
    background: rgba(248, 250, 252, 0.72);
}

#tab-mapsplus-network .mapsplus-provider-meta-grid b {
    display: block;
    color: var(--mp-text);
    font-size: 15px;
    line-height: 1;
    font-weight: 950;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid small {
    display: block;
    margin-top: 3px;
    color: var(--mp-muted);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 850;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid .warn b {
    color: #b45309;
}

#tab-mapsplus-network .mapsplus-provider-meta-grid .ok b {
    color: #047857;
}

#tab-mapsplus-network .mapsplus-provider-priority-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

#tab-mapsplus-network .mapsplus-provider-priority-strip i {
    display: block;
    height: 5px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.9);
    position: relative;
    overflow: hidden;
}

#tab-mapsplus-network .mapsplus-provider-priority-strip i::after {
    content: "";
    display: block;
    width: min(100%, calc(var(--count, 0) * 6%));
    min-width: calc(min(var(--count, 0), 1) * 18%);
    height: 100%;
    border-radius: inherit;
}

#tab-mapsplus-network .mapsplus-provider-priority-strip .level-1::after { background: #ef4444; }
#tab-mapsplus-network .mapsplus-provider-priority-strip .level-2::after { background: #f59e0b; }
#tab-mapsplus-network .mapsplus-provider-priority-strip .level-3::after { background: #64748b; }

#tab-mapsplus-network .mapsplus-editor {
    padding: 0;
    overflow: visible;
    position: sticky;
    top: 14px;
    align-self: start;
}

#tab-mapsplus-network .mapsplus-editor-workbench {
    display: grid;
    gap: 16px;
    min-width: 0;
    max-width: none;
    margin: 0;
}

#tab-mapsplus-network .mapsplus-editor-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
    gap: 14px;
    padding: 18px;
}

#tab-mapsplus-network .mapsplus-editor-hero-main {
    gap: 6px;
}

#tab-mapsplus-network .mapsplus-editor-hero-main h4 {
    color: var(--mp-text);
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-editor-hero-main p {
    color: var(--mp-muted);
    font-size: 13px;
    font-weight: 780;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-editor-hero-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

#tab-mapsplus-network .mapsplus-editor-stat {
    min-height: 76px;
    gap: 5px;
    padding: 11px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 15px;
    background: rgba(248, 250, 252, 0.70);
    box-shadow: none;
}

#tab-mapsplus-network .mapsplus-editor-stat.ok { box-shadow: inset 4px 0 0 var(--mp-success); }
#tab-mapsplus-network .mapsplus-editor-stat.warn { box-shadow: inset 4px 0 0 var(--mp-warning); }
#tab-mapsplus-network .mapsplus-editor-stat.navy { box-shadow: inset 4px 0 0 #0f172a; }
#tab-mapsplus-network .mapsplus-editor-stat.priority { box-shadow: inset 4px 0 0 #8b5cf6; }
#tab-mapsplus-network .mapsplus-editor-stat.muted { box-shadow: inset 4px 0 0 #94a3b8; }

#tab-mapsplus-network .mapsplus-editor-stat span {
    color: var(--mp-muted);
    font-size: 10px;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-editor-stat strong {
    color: var(--mp-text);
    font-size: 20px;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-editor-stat small {
    color: var(--mp-muted);
    font-size: 10px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-editor-workbench .mapsplus-section {
    gap: 14px;
    margin: 0;
    padding: 18px;
}

#tab-mapsplus-network .mapsplus-section-head {
    align-items: center;
}

#tab-mapsplus-network .mapsplus-section-head h4 {
    margin: 3px 0 0;
    color: var(--mp-text);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 950;
}

#tab-mapsplus-network .mapsplus-provider-state {
    min-width: 0;
    border: 1px solid var(--mp-border-soft);
    border-radius: 15px;
    padding: 10px 12px;
    background: var(--mp-surface-soft);
}

#tab-mapsplus-network .mapsplus-provider-state strong {
    font-size: 13px;
}

#tab-mapsplus-network .mapsplus-switch {
    width: 48px;
    height: 28px;
}

#tab-mapsplus-network .mapsplus-switch span::after {
    width: 20px;
    height: 20px;
}

#tab-mapsplus-network .mapsplus-switch input:checked + span::after {
    transform: translateX(20px);
}

#tab-mapsplus-network .mapsplus-departure-list {
    display: grid;
    gap: 12px;
}

#tab-mapsplus-network .mapsplus-row-card {
    gap: 12px;
    padding: 16px;
    contain: layout style;
}

#tab-mapsplus-network .mapsplus-row-card.highlighted {
    border-color: rgba(16, 185, 129, 0.44);
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0.78));
    box-shadow: inset 4px 0 0 var(--mp-success), var(--mp-shadow-soft);
}

#tab-mapsplus-network .mapsplus-departure-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--mp-border-soft);
}

#tab-mapsplus-network .mapsplus-departure-head div {
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-departure-head strong {
    display: block;
    margin-top: 3px;
    color: var(--mp-text);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 950;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-departure-head small {
    display: block;
    margin-top: 3px;
    color: var(--mp-muted);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 780;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-departure-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

#tab-mapsplus-network .mapsplus-priority-workspace {
    display: grid;
    grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    align-items: start;
}

#tab-mapsplus-network .mapsplus-priority-left {
    display: grid;
    gap: 12px;
    min-width: 0;
}

#tab-mapsplus-network .mapsplus-priority-overview,
#tab-mapsplus-network .mapsplus-priority-builder {
    padding: 14px;
}

#tab-mapsplus-network .mapsplus-priority-summary {
    gap: 8px;
}

#tab-mapsplus-network .mapsplus-badge.priority {
    min-height: 28px;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    letter-spacing: 0;
    white-space: normal;
}

#tab-mapsplus-network .mapsplus-priority-region-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    max-height: none;
    overflow: visible;
}

#tab-mapsplus-network .mapsplus-priority-region {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 14px;
    background: var(--mp-surface-soft);
}

#tab-mapsplus-network .mapsplus-priority-region b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
}

#tab-mapsplus-network .mapsplus-priority-region small {
    min-width: 0;
    color: var(--mp-text);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 850;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-priority-region.level-1 b { background: #ef4444; }
#tab-mapsplus-network .mapsplus-priority-region.level-2 b { background: #f59e0b; }
#tab-mapsplus-network .mapsplus-priority-region.level-3 b { background: #64748b; }
#tab-mapsplus-network .mapsplus-priority-region.more b { background: var(--mp-accent); }

#tab-mapsplus-network .mapsplus-priority-actions {
    display: grid;
    gap: 9px;
}

#tab-mapsplus-network .mapsplus-priority-level-actions {
    grid-template-columns: 1fr;
}

#tab-mapsplus-network .mapsplus-priority-selection-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 12px 0;
}

#tab-mapsplus-network .mapsplus-priority-actions .mapsplus-btn {
    width: 100%;
}

#tab-mapsplus-network .mapsplus-district-picker {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 9px;
    max-height: none;
    overflow: visible;
    padding: 0;
}

#tab-mapsplus-network .mapsplus-district-chip {
    min-height: 46px;
    border-radius: 15px;
    padding: 10px 11px;
    background: rgba(255, 255, 255, 0.70);
}

#tab-mapsplus-network .mapsplus-district-chip span {
    font-size: 12px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

#tab-mapsplus-network .mapsplus-district-chip small {
    font-size: 10px;
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-editor-savebar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: static;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--mp-border-soft);
    border-radius: 22px;
    background: var(--mp-glass);
    box-shadow: var(--mp-shadow-soft);
}

#tab-mapsplus-network .mapsplus-empty-editor {
    min-height: 520px;
    display: grid;
    place-items: center;
    gap: 16px;
    padding: 18px;
}

#tab-mapsplus-network .mapsplus-empty-editor > div:first-child {
    width: min(600px, 100%);
    padding: 24px;
    text-align: left;
}

#tab-mapsplus-network .mapsplus-empty-editor span {
    color: var(--mp-accent);
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-empty-editor h4 {
    margin: 7px 0;
    color: var(--mp-text);
    font-size: 24px;
}

#tab-mapsplus-network .mapsplus-empty-editor p {
    margin: 0;
    color: var(--mp-muted);
    font-size: 13px;
}

#tab-mapsplus-network .mapsplus-empty-editor-actions {
    justify-content: center;
}

#tab-mapsplus-network .mapsplus-empty.compact {
    padding: 13px;
    border-radius: 14px;
    font-size: 12px;
}

#tab-mapsplus-network .mapsplus-dashboard {
    display: grid;
    gap: 18px;
    padding: 0;
    background: transparent;
    overflow: visible;
}

#tab-mapsplus-network .mapsplus-dashboard-hero,
#tab-mapsplus-network .mapsplus-dashboard-metric,
#tab-mapsplus-network .mapsplus-dashboard-panel {
    border-color: var(--mp-border-soft);
    border-radius: 22px;
    background: var(--mp-glass);
    box-shadow: var(--mp-shadow-soft);
}

#tab-mapsplus-network .mapsplus-dashboard-hero {
    min-height: 156px;
}

#tab-mapsplus-network .mapsplus-dashboard-hero h3,
#tab-mapsplus-network .mapsplus-dashboard-metric strong,
#tab-mapsplus-network .mapsplus-dashboard-panel-head strong,
#tab-mapsplus-network .mapsplus-dashboard-note strong,
#tab-mapsplus-network .mapsplus-dashboard-alerts strong {
    color: var(--mp-text);
    letter-spacing: 0;
}

#tab-mapsplus-network .mapsplus-dashboard-hero p,
#tab-mapsplus-network .mapsplus-dashboard-metric span,
#tab-mapsplus-network .mapsplus-dashboard-metric small,
#tab-mapsplus-network .mapsplus-dashboard-panel-head span,
#tab-mapsplus-network .mapsplus-dashboard-note span,
#tab-mapsplus-network .mapsplus-dashboard-note small,
#tab-mapsplus-network .mapsplus-dashboard-alerts span {
    color: var(--mp-muted);
    letter-spacing: 0;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-card, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-card,
body.dark-theme #tab-mapsplus-network .mapsplus-network-console, body.dark-theme:not(.admin-panel-open) .mapsplus-network-console,
body.dark-theme #tab-mapsplus-network .mapsplus-admin-body, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-body,
body.dark-theme #tab-mapsplus-network .mapsplus-editor , body.dark-theme:not(.admin-panel-open) .mapsplus-editor {
    background: transparent;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn , body.dark-theme:not(.admin-panel-open) .mapsplus-btn {
    background: rgba(26, 26, 34, 0.86);
    border-color: var(--mp-border);
    color: var(--mp-text);
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.primary , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.primary {
    background: linear-gradient(135deg, var(--mp-accent), var(--mp-accent-strong));
    color: #061018;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.dark , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.dark {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.danger , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.danger {
    background: rgba(127, 29, 29, 0.34);
    color: #fecaca;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.priority-high , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.priority-high {
    background: rgba(127, 29, 29, 0.40);
    color: #fecaca;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.priority-medium , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.priority-medium {
    background: rgba(120, 53, 15, 0.40);
    color: #fde68a;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.priority-low , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.priority-low {
    background: rgba(51, 65, 85, 0.70);
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-tab.active, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-tab.active,
body.dark-theme #tab-mapsplus-network .mapsplus-network-chip.active, body.dark-theme:not(.admin-panel-open) .mapsplus-network-chip.active,
body.dark-theme #tab-mapsplus-network .mapsplus-filter-drawer[open] summary , body.dark-theme:not(.admin-panel-open) .mapsplus-filter-drawer[open] summary {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.26);
    color: var(--mp-accent);
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-status , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-status {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.22);
    color: #86efac;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-status.warn , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-status.warn {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.24);
    color: #fbbf24;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-status.error , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-status.error {
    background: rgba(127, 29, 29, 0.24);
    border-color: rgba(248, 113, 113, 0.26);
    color: #fca5a5;
}

body.dark-theme #tab-mapsplus-network .mapsplus-network-metric, body.dark-theme:not(.admin-panel-open) .mapsplus-network-metric,
body.dark-theme #tab-mapsplus-network .mapsplus-network-chip, body.dark-theme:not(.admin-panel-open) .mapsplus-network-chip,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-searchbar, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-searchbar,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-meta-grid > span, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-meta-grid > span,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-stat, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-stat,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-state, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-state,
body.dark-theme #tab-mapsplus-network .mapsplus-priority-region, body.dark-theme:not(.admin-panel-open) .mapsplus-priority-region,
body.dark-theme #tab-mapsplus-network .mapsplus-district-chip, body.dark-theme:not(.admin-panel-open) .mapsplus-district-chip,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-note, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-note,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-alerts div , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-alerts div {
    background: rgba(13, 13, 18, 0.58);
    border-color: var(--mp-border-soft);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-item , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item {
    background: rgba(18, 18, 24, 0.76);
    border-color: var(--mp-border-soft);
    border-left-color: var(--mp-accent);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-item.active , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item.active {
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(52, 211, 153, 0.08)),
        rgba(18, 18, 24, 0.88);
    border-color: rgba(56, 189, 248, 0.28);
}

body.dark-theme #tab-mapsplus-network .mapsplus-input, body.dark-theme:not(.admin-panel-open) .mapsplus-input,
body.dark-theme #tab-mapsplus-network .mapsplus-textarea, body.dark-theme:not(.admin-panel-open) .mapsplus-textarea,
body.dark-theme #tab-mapsplus-network .mapsplus-select, body.dark-theme:not(.admin-panel-open) .mapsplus-select,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-filter-stack , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-filter-stack {
    background: rgba(13, 13, 18, 0.94);
    border-color: var(--mp-border);
    color: var(--mp-text);
}

body.dark-theme #tab-mapsplus-network .mapsplus-input:focus, body.dark-theme:not(.admin-panel-open) .mapsplus-input:focus,
body.dark-theme #tab-mapsplus-network .mapsplus-textarea:focus, body.dark-theme:not(.admin-panel-open) .mapsplus-textarea:focus,
body.dark-theme #tab-mapsplus-network .mapsplus-select:focus , body.dark-theme:not(.admin-panel-open) .mapsplus-select:focus {
    background: rgba(18, 18, 24, 0.98);
    border-color: rgba(56, 189, 248, 0.52);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-count , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-count {
    background: rgba(56, 189, 248, 0.11);
    border-color: rgba(56, 189, 248, 0.22);
    color: var(--mp-accent);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-meta-grid .warn b , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-meta-grid .warn b {
    color: #fbbf24;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-meta-grid .ok b , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-meta-grid .ok b {
    color: #34d399;
}

@media (max-width: 1380px) {
    #tab-mapsplus-network .mapsplus-admin-body {
        grid-template-columns: minmax(390px, 0.45fr) minmax(0, 1fr);
    }

    #tab-mapsplus-network .mapsplus-editor-hero {
        grid-template-columns: 1fr;
    }

    #tab-mapsplus-network .mapsplus-editor-hero-stats {
        grid-template-columns: repeat(5, minmax(110px, 1fr));
        overflow-x: auto;
    }
}

@media (max-width: 1120px) {
    #tab-mapsplus-network .mapsplus-network-ribbon {
        grid-template-columns: 1fr;
    }

    #tab-mapsplus-network .mapsplus-network-quickfilters {
        justify-content: flex-start;
    }

    #tab-mapsplus-network .mapsplus-network-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #tab-mapsplus-network .mapsplus-admin-body,
    #tab-mapsplus-network .mapsplus-priority-workspace {
        grid-template-columns: 1fr;
    }

    #tab-mapsplus-network .mapsplus-editor {
        position: static;
    }

    #tab-mapsplus-network .mapsplus-provider-filter-stack {
        width: min(460px, calc(100vw - 96px));
    }
}

@media (max-width: 820px) {
    #tab-mapsplus-network .mapsplus-admin-head,
    #tab-mapsplus-network .mapsplus-section-head,
    #tab-mapsplus-network .mapsplus-departure-head,
    #tab-mapsplus-network .mapsplus-provider-list-head {
        align-items: stretch;
        flex-direction: column;
    }

    #tab-mapsplus-network .mapsplus-admin-actions,
    #tab-mapsplus-network .mapsplus-departure-actions,
    #tab-mapsplus-network .mapsplus-editor-savebar,
    #tab-mapsplus-network .mapsplus-provider-list-tools {
        justify-content: flex-start;
    }

    #tab-mapsplus-network .mapsplus-network-metrics,
    #tab-mapsplus-network .mapsplus-provider-searchbar,
    #tab-mapsplus-network .mapsplus-provider-filter-stack,
    #tab-mapsplus-network .mapsplus-grid-2,
    #tab-mapsplus-network .mapsplus-grid-3,
    #tab-mapsplus-network .mapsplus-admin-grid,
    #tab-mapsplus-network .mapsplus-editor-hero-stats,
    #tab-mapsplus-network .mapsplus-priority-selection-actions {
        grid-template-columns: 1fr;
    }

    #tab-mapsplus-network .mapsplus-provider-filter-stack {
        position: static;
        width: 100%;
        margin-top: 10px;
    }

    #tab-mapsplus-network .mapsplus-provider-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #tab-mapsplus-network .mapsplus-admin-logo {
        max-width: 42vw;
    }

    #tab-mapsplus-network .mapsplus-btn,
    #tab-mapsplus-network .mapsplus-network-chip {
        width: 100%;
    }
}

#assistline-main-workspace.mapsplus-disabled {
    width: min(520px, calc(100vw - 380px));
    align-items: center;
    gap: 0;
}

#assistline-main-workspace.mapsplus-disabled #mapsplus-panel {
    display: none !important;
}

#assistline-main-workspace.mapsplus-disabled > #main-card.glass-card {
    flex: 0 0 auto;
    align-self: center;
}

#assistline-main-workspace:not(.mapsplus-disabled) > #main-card.glass-card {
    flex: 0 0 auto;
    align-self: stretch;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.56)) !important;
    border-color: rgba(255, 255, 255, 0.76) !important;
    box-shadow:
        0 34px 72px -28px rgba(15, 23, 42, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.42) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.dark-theme #assistline-main-workspace:not(.mapsplus-disabled) > #main-card.glass-card {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.48)) !important;
    border-color: rgba(71, 85, 105, 0.62) !important;
    box-shadow:
        0 36px 78px -30px rgba(0, 0, 0, 0.62),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
}

.mapsplus-panel,
.mapsplus-admin-root {
    font-family: 'Inter', sans-serif;
}

.mapsplus-panel {
    flex: 0 0 auto;
    width: min(660px, 56vw);
    min-height: 640px;
    max-height: calc(100vh - 72px);
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.84));
    box-shadow:
        0 36px 70px -26px rgba(15, 23, 42, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0f172a;
    overflow: auto;
}

body.dark-theme #tab-mapsplus-network .mapsplus-panel , body.dark-theme:not(.admin-panel-open) .mapsplus-panel {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(30, 41, 59, 0.76));
    border-color: rgba(71, 85, 105, 0.74);
    box-shadow:
        0 40px 80px -26px rgba(0, 0, 0, 0.58),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    color: #f8fafc;
}

body.accent-red:not(.admin-panel-open) .mapsplus-panel {
    border-color: rgba(248, 113, 113, 0.38);
    background:
        radial-gradient(circle at 14% 10%, rgba(254, 226, 226, 0.64), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(254, 242, 242, 0.74));
    box-shadow:
        0 36px 74px -28px rgba(127, 29, 29, 0.34),
        inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

body.dark-theme.accent-red:not(.admin-panel-open) .mapsplus-panel {
    border-color: rgba(255, 0, 60, 0.28);
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 0, 60, 0.13), transparent 36%),
        linear-gradient(135deg, rgba(21, 0, 37, 0.78), rgba(10, 0, 21, 0.70));
    box-shadow:
        0 40px 82px -30px rgba(0, 0, 0, 0.64),
        inset 0 0 0 1px rgba(255, 102, 136, 0.07);
}

body.accent-signature:not(.admin-panel-open) .mapsplus-panel {
    --mapsplus-theme-accent: #9a0002;
    border-color: rgba(154, 0, 2, 0.20);
    background:
        radial-gradient(ellipse 68% 120% at 0% 0%, rgba(239, 230, 221, 0.70), transparent 58%),
        linear-gradient(135deg, rgba(255, 252, 248, 0.88), rgba(239, 230, 221, 0.68));
    box-shadow:
        0 38px 76px -30px rgba(82, 26, 24, 0.32),
        inset 0 0 0 1px rgba(255, 252, 248, 0.68);
}

body.dark-theme.accent-signature:not(.admin-panel-open) .mapsplus-panel {
    border-color: rgba(239, 230, 221, 0.18);
    background:
        radial-gradient(ellipse 70% 120% at 5% 0%, rgba(154, 0, 2, 0.18), transparent 62%),
        linear-gradient(135deg, rgba(30, 18, 18, 0.80), rgba(15, 10, 10, 0.74));
    box-shadow:
        0 42px 86px -32px rgba(0, 0, 0, 0.68),
        inset 0 0 0 1px rgba(239, 230, 221, 0.05);
}

.mapsplus-boot {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mapsplus-logo {
    display: block;
    flex: 0 0 auto;
    width: 146px;
    max-width: 42vw;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 8px 16px rgba(239, 29, 43, 0.10));
    transition: filter 0.22s ease, opacity 0.22s ease;
}

.mapsplus-boot-logo,
.mapsplus-operator-logo {
    width: 158px;
}

.mapsplus-admin-logo {
    width: 166px;
    max-width: 30vw;
}

body.dark-theme #tab-mapsplus-network .mapsplus-logo, body.dark-theme:not(.admin-panel-open) .mapsplus-logo,
body.dark-theme #admin-panel .mapsplus-logo {
    filter: invert(1) grayscale(1) brightness(1.5) drop-shadow(0 0 16px rgba(255, 255, 255, 0.10)) !important;
    mix-blend-mode: screen !important;
}

.mapsplus-head,
.mapsplus-admin-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.mapsplus-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.mapsplus-brand img:not(.mapsplus-logo) {
    width: 150px;
    max-width: 42vw;
    height: auto;
    object-fit: contain;
}

body.dark-theme #tab-mapsplus-network .mapsplus-brand img:not(.mapsplus-logo), body.dark-theme:not(.admin-panel-open) .mapsplus-brand img:not(.mapsplus-logo),
body.dark-theme #tab-mapsplus-network .mapsplus-boot img:not(.mapsplus-logo) , body.dark-theme:not(.admin-panel-open) .mapsplus-boot img:not(.mapsplus-logo) {
    filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.18));
}

.mapsplus-kicker,
.mapsplus-admin-kicker {
    display: block;
    margin-bottom: 5px;
    color: #dc2626;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mapsplus-title {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.12;
    font-weight: 950;
}

body.dark-theme #tab-mapsplus-network .mapsplus-title, body.dark-theme:not(.admin-panel-open) .mapsplus-title,
body.dark-theme #tab-mapsplus-network .mapsplus-admin-title , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-title {
    color: #f8fafc;
}

.mapsplus-copy {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

body.dark-theme #tab-mapsplus-network .mapsplus-copy , body.dark-theme:not(.admin-panel-open) .mapsplus-copy {
    color: #94a3b8;
}

.mapsplus-count-pill,
.mapsplus-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 8px 12px;
    border: 1px solid rgba(220, 38, 38, 0.20);
    border-radius: 999px;
    background: rgba(254, 242, 242, 0.84);
    color: #991b1b;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

body.dark-theme #tab-mapsplus-network .mapsplus-count-pill, body.dark-theme:not(.admin-panel-open) .mapsplus-count-pill,
body.dark-theme #tab-mapsplus-network .mapsplus-status-pill , body.dark-theme:not(.admin-panel-open) .mapsplus-status-pill {
    background: rgba(127, 29, 29, 0.24);
    border-color: rgba(248, 113, 113, 0.28);
    color: #fecaca;
}

.mapsplus-form {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

.mapsplus-region-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mapsplus-region-summary > div {
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.78);
}

.mapsplus-region-summary span,
.mapsplus-region-summary small {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.35;
}

.mapsplus-region-summary strong {
    display: block;
    margin: 3px 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

body.dark-theme #tab-mapsplus-network .mapsplus-region-summary > div , body.dark-theme:not(.admin-panel-open) .mapsplus-region-summary > div {
    background: rgba(15, 23, 42, 0.54);
    border-color: rgba(71, 85, 105, 0.72);
}

body.dark-theme #tab-mapsplus-network .mapsplus-region-summary strong , body.dark-theme:not(.admin-panel-open) .mapsplus-region-summary strong {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-region-summary span, body.dark-theme:not(.admin-panel-open) .mapsplus-region-summary span,
body.dark-theme #tab-mapsplus-network .mapsplus-region-summary small , body.dark-theme:not(.admin-panel-open) .mapsplus-region-summary small {
    color: #94a3b8;
}

.mapsplus-grid-2,
.mapsplus-grid-3,
.mapsplus-admin-grid {
    display: grid;
    gap: 12px;
}

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

.mapsplus-grid-3 {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.mapsplus-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.mapsplus-field label,
.mapsplus-mini-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.dark-theme #tab-mapsplus-network .mapsplus-field label, body.dark-theme:not(.admin-panel-open) .mapsplus-field label,
body.dark-theme #tab-mapsplus-network .mapsplus-mini-label , body.dark-theme:not(.admin-panel-open) .mapsplus-mini-label {
    color: #cbd5e1;
}

.mapsplus-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border: 1px solid rgba(148, 163, 184, 0.48);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.92);
    color: #64748b;
    padding: 0;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    cursor: help;
}

.mapsplus-help::after {
    content: attr(data-help);
    position: absolute;
    z-index: 40;
    right: -10px;
    top: calc(100% + 8px);
    width: min(280px, calc(100vw - 48px));
    padding: 9px 10px;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.98);
    color: #334155;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
    transform: translateY(-3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.mapsplus-editor .mapsplus-help::after {
    right: auto;
    left: -10px;
}

.mapsplus-help:hover::after,
.mapsplus-help:focus-visible::after,
.mapsplus-help.is-open::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.dark-theme #tab-mapsplus-network .mapsplus-help , body.dark-theme:not(.admin-panel-open) .mapsplus-help {
    background: rgba(15, 23, 42, 0.80);
    border-color: rgba(100, 116, 139, 0.70);
    color: #e2e8f0;
}

body.dark-theme #tab-mapsplus-network .mapsplus-help::after , body.dark-theme:not(.admin-panel-open) .mapsplus-help::after {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(71, 85, 105, 0.92);
    color: #e2e8f0;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.mapsplus-input,
.mapsplus-textarea,
.mapsplus-select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.96);
    color: #0f172a;
    padding: 12px 13px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 800;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mapsplus-textarea {
    min-height: 78px;
    resize: vertical;
    line-height: 1.45;
}

.mapsplus-input:focus,
.mapsplus-textarea:focus,
.mapsplus-select:focus {
    border-color: rgba(220, 38, 38, 0.52);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}

body.dark-theme #tab-mapsplus-network .mapsplus-input, body.dark-theme:not(.admin-panel-open) .mapsplus-input,
body.dark-theme #tab-mapsplus-network .mapsplus-textarea, body.dark-theme:not(.admin-panel-open) .mapsplus-textarea,
body.dark-theme #tab-mapsplus-network .mapsplus-select , body.dark-theme:not(.admin-panel-open) .mapsplus-select {
    background: rgba(15, 23, 42, 0.70);
    border-color: rgba(71, 85, 105, 0.88);
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-input:focus, body.dark-theme:not(.admin-panel-open) .mapsplus-input:focus,
body.dark-theme #tab-mapsplus-network .mapsplus-textarea:focus, body.dark-theme:not(.admin-panel-open) .mapsplus-textarea:focus,
body.dark-theme #tab-mapsplus-network .mapsplus-select:focus , body.dark-theme:not(.admin-panel-open) .mapsplus-select:focus {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(248, 113, 113, 0.64);
}

body.accent-red:not(.admin-panel-open) .mapsplus-input,
body.accent-red:not(.admin-panel-open) .mapsplus-textarea,
body.accent-red:not(.admin-panel-open) .mapsplus-select {
    border-color: rgba(248, 113, 113, 0.32);
    background: rgba(255, 255, 255, 0.72);
}

body.accent-red:not(.admin-panel-open) .mapsplus-input:focus,
body.accent-red:not(.admin-panel-open) .mapsplus-textarea:focus,
body.accent-red:not(.admin-panel-open) .mapsplus-select:focus {
    border-color: rgba(220, 38, 38, 0.62);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.11);
}

body.accent-signature:not(.admin-panel-open) .mapsplus-input,
body.accent-signature:not(.admin-panel-open) .mapsplus-textarea,
body.accent-signature:not(.admin-panel-open) .mapsplus-select {
    border-color: rgba(154, 0, 2, 0.18);
    background: rgba(255, 252, 248, 0.78);
}

body.accent-signature:not(.admin-panel-open) .mapsplus-input:focus,
body.accent-signature:not(.admin-panel-open) .mapsplus-textarea:focus,
body.accent-signature:not(.admin-panel-open) .mapsplus-select:focus {
    border-color: rgba(154, 0, 2, 0.46);
    box-shadow: 0 0 0 4px rgba(154, 0, 2, 0.09);
}

.mapsplus-action-row,
.mapsplus-card-actions,
.mapsplus-admin-actions,
.mapsplus-inline-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mapsplus-feature-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: min(360px, 100%);
    padding: 10px 12px;
    border: 1px solid rgba(203, 213, 225, 0.78);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.80);
}

.mapsplus-feature-toggle > div {
    display: grid;
    gap: 2px;
    text-align: left;
}

.mapsplus-feature-toggle span,
.mapsplus-feature-toggle small {
    color: #64748b;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.mapsplus-feature-toggle small {
    max-width: 210px;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

.mapsplus-feature-toggle strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.mapsplus-feature-toggle.active {
    border-color: rgba(16, 185, 129, 0.34);
    background: rgba(236, 253, 245, 0.84);
}

.mapsplus-feature-toggle.passive {
    border-color: rgba(248, 113, 113, 0.34);
    background: rgba(254, 242, 242, 0.82);
}

body.dark-theme #tab-mapsplus-network .mapsplus-feature-toggle , body.dark-theme:not(.admin-panel-open) .mapsplus-feature-toggle {
    background: rgba(15, 23, 42, 0.58);
    border-color: rgba(71, 85, 105, 0.78);
}

body.dark-theme #tab-mapsplus-network .mapsplus-feature-toggle.active , body.dark-theme:not(.admin-panel-open) .mapsplus-feature-toggle.active {
    background: rgba(20, 83, 45, 0.32);
    border-color: rgba(34, 197, 94, 0.30);
}

body.dark-theme #tab-mapsplus-network .mapsplus-feature-toggle.passive , body.dark-theme:not(.admin-panel-open) .mapsplus-feature-toggle.passive {
    background: rgba(127, 29, 29, 0.24);
    border-color: rgba(248, 113, 113, 0.26);
}

body.dark-theme #tab-mapsplus-network .mapsplus-feature-toggle strong , body.dark-theme:not(.admin-panel-open) .mapsplus-feature-toggle strong {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-feature-toggle span, body.dark-theme:not(.admin-panel-open) .mapsplus-feature-toggle span,
body.dark-theme #tab-mapsplus-network .mapsplus-feature-toggle small , body.dark-theme:not(.admin-panel-open) .mapsplus-feature-toggle small {
    color: #cbd5e1;
}

.mapsplus-btn {
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.42);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.mapsplus-btn:active,
.mapsplus-btn.is-processing {
    transform: translateY(1px) scale(0.985);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.mapsplus-btn.is-processing {
    border-color: rgba(15, 23, 42, 0.12);
    filter: saturate(1.08);
}

.mapsplus-btn:hover,
.mapsplus-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(220, 38, 38, 0.38);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.mapsplus-btn.primary {
    border-color: transparent;
    background: linear-gradient(135deg, #ef2331, #b91c1c);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(185, 28, 28, 0.26);
}

.mapsplus-btn.dark {
    border-color: transparent;
    background: #0f172a;
    color: #ffffff;
}

.mapsplus-btn.ghost {
    background: transparent;
}

.mapsplus-btn.danger {
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.30);
    background: rgba(254, 242, 242, 0.78);
}

.mapsplus-btn.compact {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 11px;
}

.mapsplus-btn.priority-high {
    border-color: rgba(220, 38, 38, 0.30);
    background: rgba(254, 226, 226, 0.92);
    color: #991b1b;
}

.mapsplus-btn.priority-medium {
    border-color: rgba(245, 158, 11, 0.34);
    background: rgba(254, 243, 199, 0.95);
    color: #92400e;
}

.mapsplus-btn.priority-low {
    border-color: rgba(100, 116, 139, 0.34);
    background: rgba(241, 245, 249, 0.96);
    color: #334155;
}

.mapsplus-btn:disabled,
.mapsplus-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn , body.dark-theme:not(.admin-panel-open) .mapsplus-btn {
    background: rgba(15, 23, 42, 0.70);
    border-color: rgba(71, 85, 105, 0.84);
    color: #e2e8f0;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.primary , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.primary {
    background: linear-gradient(135deg, #ef2331, #9f1239);
    border-color: transparent;
    color: #ffffff;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.priority-high , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.priority-high {
    background: rgba(127, 29, 29, 0.45);
    color: #fecaca;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.priority-medium , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.priority-medium {
    background: rgba(120, 53, 15, 0.42);
    color: #fde68a;
}

body.dark-theme #tab-mapsplus-network .mapsplus-btn.priority-low , body.dark-theme:not(.admin-panel-open) .mapsplus-btn.priority-low {
    background: rgba(51, 65, 85, 0.72);
    color: #cbd5e1;
}

body.accent-red:not(.admin-panel-open) .mapsplus-btn.primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 52%, #7f1d1d 100%);
    box-shadow: 0 14px 30px rgba(185, 28, 28, 0.28);
}

body.accent-red:not(.admin-panel-open) .mapsplus-btn.ghost {
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(248, 113, 113, 0.26);
}

body.accent-signature:not(.admin-panel-open) .mapsplus-btn.primary {
    background: linear-gradient(135deg, #9a0002 0%, #7f1d1d 58%, #3b0b0b 100%);
    box-shadow: 0 14px 30px rgba(82, 26, 24, 0.26);
}

body.accent-signature:not(.admin-panel-open) .mapsplus-btn.ghost {
    background: rgba(239, 230, 221, 0.42);
    border-color: rgba(154, 0, 2, 0.16);
    color: #4b1716;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .mapsplus-btn.ghost {
    background: rgba(239, 230, 221, 0.08);
    border-color: rgba(239, 230, 221, 0.14);
    color: #efe6dd;
}

.mapsplus-status {
    min-height: 36px;
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

.mapsplus-status.warn { color: #b45309; }
.mapsplus-status.ok { color: #047857; }
.mapsplus-status.error { color: #dc2626; }

body.dark-theme #tab-mapsplus-network .mapsplus-status , body.dark-theme:not(.admin-panel-open) .mapsplus-status { color: #94a3b8; }
body.dark-theme #tab-mapsplus-network .mapsplus-status.ok , body.dark-theme:not(.admin-panel-open) .mapsplus-status.ok { color: #6ee7b7; }
body.dark-theme #tab-mapsplus-network .mapsplus-status.warn , body.dark-theme:not(.admin-panel-open) .mapsplus-status.warn { color: #fbbf24; }
body.dark-theme #tab-mapsplus-network .mapsplus-status.error , body.dark-theme:not(.admin-panel-open) .mapsplus-status.error { color: #fca5a5; }

.mapsplus-admin-status {
    min-height: 0;
    margin: 0;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.84);
    background: rgba(248, 250, 252, 0.92);
}

.mapsplus-admin-status.ok {
    background: rgba(236, 253, 245, 0.92);
}

.mapsplus-admin-status.warn {
    background: rgba(255, 251, 235, 0.94);
}

.mapsplus-admin-status.error {
    background: rgba(254, 242, 242, 0.94);
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-status , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-status {
    border-bottom-color: rgba(71, 85, 105, 0.84);
    background: rgba(15, 23, 42, 0.58);
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-status.ok , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-status.ok {
    background: rgba(20, 83, 45, 0.22);
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-status.warn , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-status.warn {
    background: rgba(120, 53, 15, 0.22);
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-status.error , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-status.error {
    background: rgba(127, 29, 29, 0.24);
}

.mapsplus-results {
    display: grid;
    gap: 10px;
}

.mapsplus-empty {
    padding: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.55);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.70);
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

body.dark-theme #tab-mapsplus-network .mapsplus-empty , body.dark-theme:not(.admin-panel-open) .mapsplus-empty {
    background: rgba(15, 23, 42, 0.46);
    border-color: rgba(71, 85, 105, 0.84);
    color: #94a3b8;
}

body.accent-red:not(.admin-panel-open) .mapsplus-empty {
    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(248, 113, 113, 0.28);
    color: #7f1d1d;
}

body.accent-signature:not(.admin-panel-open) .mapsplus-empty {
    background: rgba(255, 252, 248, 0.48);
    border-color: rgba(154, 0, 2, 0.18);
    color: #6f2322;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .mapsplus-empty {
    background: rgba(239, 230, 221, 0.07);
    border-color: rgba(239, 230, 221, 0.15);
    color: #d8c9be;
}

.mapsplus-result-card {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 13px 14px;
    border: 1px solid rgba(226, 232, 240, 0.90);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
    contain: content;
    content-visibility: auto;
    contain-intrinsic-size: 168px;
}

.mapsplus-result-card.recommended {
    border-color: rgba(34, 197, 94, 0.34);
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.08) inset,
        0 12px 24px rgba(21, 128, 61, 0.10);
}

.mapsplus-result-card.recommended::before {
    content: "";
    position: absolute;
    inset: 10px auto 10px 0;
    width: 4px;
    border-radius: 999px;
    background: #22c55e;
    opacity: 1;
    animation: none;
}

body.dark-theme #tab-mapsplus-network .mapsplus-result-card , body.dark-theme:not(.admin-panel-open) .mapsplus-result-card {
    background: rgba(15, 23, 42, 0.62);
    border-color: rgba(71, 85, 105, 0.78);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body.accent-red:not(.admin-panel-open) .mapsplus-result-card {
    border-color: rgba(248, 113, 113, 0.24);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 32px rgba(127, 29, 29, 0.08);
}

body.accent-signature:not(.admin-panel-open) .mapsplus-result-card {
    border-color: rgba(154, 0, 2, 0.16);
    background: rgba(255, 252, 248, 0.70);
    box-shadow: 0 16px 32px rgba(82, 26, 24, 0.08);
}

body.accent-signature:not(.admin-panel-open) .mapsplus-result-card.recommended {
    border-color: rgba(154, 0, 2, 0.30);
    box-shadow:
        0 0 0 1px rgba(154, 0, 2, 0.08) inset,
        0 18px 34px rgba(82, 26, 24, 0.12);
}

body.accent-signature:not(.admin-panel-open) .mapsplus-result-card.recommended::before {
    background: #9a0002;
}

.mapsplus-result-card.priority-control {
    border-color: rgba(148, 163, 184, 0.34);
}

.mapsplus-result-card.priority-control-1 {
    border-color: rgba(34, 197, 94, 0.40);
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.74), rgba(255, 255, 255, 0.86) 42%),
        rgba(255, 255, 255, 0.86);
}

.mapsplus-result-card.priority-control-2 {
    border-color: rgba(59, 130, 246, 0.28);
}

.mapsplus-result-card.priority-control-3 {
    border-color: rgba(245, 158, 11, 0.34);
}

body.dark-theme #tab-mapsplus-network .mapsplus-result-card.priority-control-1 , body.dark-theme:not(.admin-panel-open) .mapsplus-result-card.priority-control-1 {
    background:
        linear-gradient(135deg, rgba(6, 78, 59, 0.28), rgba(15, 23, 42, 0.66) 48%),
        rgba(15, 23, 42, 0.66);
}

body.dark-theme #tab-mapsplus-network .mapsplus-result-card.priority-control-2, body.dark-theme:not(.admin-panel-open) .mapsplus-result-card.priority-control-2,
body.dark-theme #tab-mapsplus-network .mapsplus-result-card.priority-control-3 , body.dark-theme:not(.admin-panel-open) .mapsplus-result-card.priority-control-3 {
    border-color: rgba(71, 85, 105, 0.82);
}

.mapsplus-control-advice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(14, 165, 233, 0.20);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.86), rgba(255, 255, 255, 0.72));
    color: #334155;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.35;
}

.mapsplus-control-advice strong {
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 950;
}

.mapsplus-control-advice span {
    color: #64748b;
    text-align: right;
}

body.dark-theme #tab-mapsplus-network .mapsplus-control-advice , body.dark-theme:not(.admin-panel-open) .mapsplus-control-advice {
    border-color: rgba(14, 165, 233, 0.26);
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.42), rgba(15, 23, 42, 0.62));
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-control-advice strong , body.dark-theme:not(.admin-panel-open) .mapsplus-control-advice strong { color: #f8fafc; }
body.dark-theme #tab-mapsplus-network .mapsplus-control-advice span , body.dark-theme:not(.admin-panel-open) .mapsplus-control-advice span { color: #94a3b8; }

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

.mapsplus-card-title {
    min-width: 0;
}

.mapsplus-card-title strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.25;
}

.mapsplus-card-title small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 850;
    line-height: 1.35;
}

body.dark-theme #tab-mapsplus-network .mapsplus-card-title strong , body.dark-theme:not(.admin-panel-open) .mapsplus-card-title strong { color: #f8fafc; }
body.dark-theme #tab-mapsplus-network .mapsplus-card-title small , body.dark-theme:not(.admin-panel-open) .mapsplus-card-title small { color: #94a3b8; }

.mapsplus-badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mapsplus-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.72);
    color: #475569;
    font-size: 9.5px;
    font-weight: 950;
}

.mapsplus-badge.priority {
    background: rgba(254, 226, 226, 0.88);
    color: #991b1b;
}

.mapsplus-badge.priority.level-2 {
    background: rgba(254, 243, 199, 0.95);
    color: #92400e;
}

.mapsplus-badge.priority.level-3 {
    background: rgba(226, 232, 240, 0.88);
    color: #334155;
}

.mapsplus-badge.ok {
    background: rgba(220, 252, 231, 0.90);
    color: #166534;
}

.mapsplus-badge.ok.pulse {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.34);
    animation: mapsplus-soft-pulse 2.4s ease-in-out infinite;
}

.mapsplus-badge.warn {
    background: rgba(254, 243, 199, 0.92);
    color: #92400e;
}

.mapsplus-badge.control {
    border: 1px solid transparent;
}

.mapsplus-badge.control.main {
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
}

.mapsplus-badge.control.alt {
    background: rgba(219, 234, 254, 0.94);
    color: #1d4ed8;
}

.mapsplus-badge.control.compare {
    background: rgba(254, 243, 199, 0.95);
    color: #92400e;
}

.mapsplus-badge.control.quiet {
    background: rgba(241, 245, 249, 0.92);
    color: #475569;
}

@keyframes mapsplus-soft-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.26); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

body.dark-theme #tab-mapsplus-network .mapsplus-badge , body.dark-theme:not(.admin-panel-open) .mapsplus-badge {
    background: rgba(51, 65, 85, 0.76);
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-badge.priority , body.dark-theme:not(.admin-panel-open) .mapsplus-badge.priority {
    background: rgba(127, 29, 29, 0.42);
    color: #fecaca;
}

body.dark-theme #tab-mapsplus-network .mapsplus-badge.priority.level-2 , body.dark-theme:not(.admin-panel-open) .mapsplus-badge.priority.level-2 {
    background: rgba(120, 53, 15, 0.42);
    color: #fde68a;
}

body.dark-theme #tab-mapsplus-network .mapsplus-badge.priority.level-3 , body.dark-theme:not(.admin-panel-open) .mapsplus-badge.priority.level-3 {
    background: rgba(51, 65, 85, 0.76);
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-badge.control.main , body.dark-theme:not(.admin-panel-open) .mapsplus-badge.control.main {
    background: rgba(248, 250, 252, 0.92);
    color: #0f172a;
}

body.dark-theme #tab-mapsplus-network .mapsplus-badge.control.alt , body.dark-theme:not(.admin-panel-open) .mapsplus-badge.control.alt {
    background: rgba(30, 64, 175, 0.34);
    color: #bfdbfe;
}

body.dark-theme #tab-mapsplus-network .mapsplus-badge.control.compare , body.dark-theme:not(.admin-panel-open) .mapsplus-badge.control.compare {
    background: rgba(120, 53, 15, 0.42);
    color: #fde68a;
}

body.dark-theme #tab-mapsplus-network .mapsplus-badge.control.quiet , body.dark-theme:not(.admin-panel-open) .mapsplus-badge.control.quiet {
    background: rgba(51, 65, 85, 0.76);
    color: #cbd5e1;
}

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

.mapsplus-metric {
    padding: 8px 9px;
    border: 1px solid rgba(226, 232, 240, 0.76);
    border-radius: 11px;
    background: rgba(248, 250, 252, 0.70);
}

.mapsplus-metric span {
    display: block;
    color: #64748b;
    font-size: 8.8px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mapsplus-metric strong {
    display: block;
    margin-top: 3px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.mapsplus-metric.featured {
    border-color: rgba(14, 165, 233, 0.28);
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.86), rgba(248, 250, 252, 0.76));
}

.mapsplus-metric.featured strong {
    color: #0f172a;
}

body.dark-theme #tab-mapsplus-network .mapsplus-metric , body.dark-theme:not(.admin-panel-open) .mapsplus-metric {
    background: rgba(2, 6, 23, 0.26);
    border-color: rgba(71, 85, 105, 0.74);
}

body.dark-theme #tab-mapsplus-network .mapsplus-metric span , body.dark-theme:not(.admin-panel-open) .mapsplus-metric span { color: #94a3b8; }
body.dark-theme #tab-mapsplus-network .mapsplus-metric strong , body.dark-theme:not(.admin-panel-open) .mapsplus-metric strong { color: #f8fafc; }

body.dark-theme #tab-mapsplus-network .mapsplus-metric.featured , body.dark-theme:not(.admin-panel-open) .mapsplus-metric.featured {
    border-color: rgba(14, 165, 233, 0.30);
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.34), rgba(2, 6, 23, 0.30));
}

.mapsplus-control-workflow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.72);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.62);
}

.mapsplus-control-workflow.opened {
    border-color: rgba(59, 130, 246, 0.28);
    background: rgba(239, 246, 255, 0.64);
}

.mapsplus-control-workflow.checked {
    border-color: rgba(34, 197, 94, 0.32);
    background: rgba(240, 253, 244, 0.70);
}

.mapsplus-control-check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    cursor: pointer;
}

.mapsplus-control-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #dc2626;
    flex: 0 0 auto;
}

.mapsplus-control-check span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.mapsplus-control-check strong {
    color: #0f172a;
    font-size: 11px;
    font-weight: 950;
}

.mapsplus-control-check small {
    color: #64748b;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.3;
}

body.dark-theme #tab-mapsplus-network .mapsplus-control-workflow , body.dark-theme:not(.admin-panel-open) .mapsplus-control-workflow {
    border-color: rgba(71, 85, 105, 0.72);
    background: rgba(2, 6, 23, 0.22);
}

body.dark-theme #tab-mapsplus-network .mapsplus-control-workflow.opened , body.dark-theme:not(.admin-panel-open) .mapsplus-control-workflow.opened {
    border-color: rgba(59, 130, 246, 0.34);
    background: rgba(30, 64, 175, 0.18);
}

body.dark-theme #tab-mapsplus-network .mapsplus-control-workflow.checked , body.dark-theme:not(.admin-panel-open) .mapsplus-control-workflow.checked {
    border-color: rgba(34, 197, 94, 0.36);
    background: rgba(6, 78, 59, 0.22);
}

body.dark-theme #tab-mapsplus-network .mapsplus-control-check strong , body.dark-theme:not(.admin-panel-open) .mapsplus-control-check strong { color: #f8fafc; }
body.dark-theme #tab-mapsplus-network .mapsplus-control-check small , body.dark-theme:not(.admin-panel-open) .mapsplus-control-check small { color: #94a3b8; }

.mapsplus-note-list {
    display: grid;
    gap: 6px;
}

.mapsplus-note-list div {
    display: grid;
    gap: 3px;
    padding: 8px 9px;
    border-left: 3px solid rgba(220, 38, 38, 0.44);
    border-radius: 9px;
    background: rgba(248, 250, 252, 0.72);
}

.mapsplus-note-list span {
    color: #64748b;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mapsplus-note-list strong {
    color: #334155;
    font-size: 11.5px;
    font-weight: 850;
    line-height: 1.45;
}

body.dark-theme #tab-mapsplus-network .mapsplus-note-list div , body.dark-theme:not(.admin-panel-open) .mapsplus-note-list div {
    background: rgba(15, 23, 42, 0.48);
    border-left-color: rgba(248, 113, 113, 0.60);
}

body.dark-theme #tab-mapsplus-network .mapsplus-note-list span , body.dark-theme:not(.admin-panel-open) .mapsplus-note-list span { color: #94a3b8; }
body.dark-theme #tab-mapsplus-network .mapsplus-note-list strong , body.dark-theme:not(.admin-panel-open) .mapsplus-note-list strong { color: #e2e8f0; }

.mapsplus-result-card .mapsplus-card-actions {
    gap: 8px;
}

.mapsplus-result-card .mapsplus-card-actions .mapsplus-btn {
    min-height: 38px;
    padding: 8px 12px;
}

.mapsplus-admin-root {
    color: #0f172a;
}

.mapsplus-admin-shell {
    display: grid;
    gap: 18px;
}

.mapsplus-admin-card {
    border: 1px solid rgba(203, 213, 225, 0.88);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
    overflow: visible;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-card , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-card {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(71, 85, 105, 0.80);
    color: #f8fafc;
}

.mapsplus-admin-head {
    padding: 22px 24px;
    margin: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.84);
    background:
        linear-gradient(135deg, rgba(239, 29, 43, 0.07), rgba(15, 23, 42, 0.025)),
        #ffffff;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-head , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-head {
    background:
        linear-gradient(135deg, rgba(220, 38, 38, 0.18), rgba(15, 23, 42, 0.28)),
        #1e293b;
    border-bottom-color: rgba(71, 85, 105, 0.84);
}

.mapsplus-admin-title {
    margin: 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
}

.mapsplus-admin-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.78);
    background: rgba(248, 250, 252, 0.76);
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-tabs , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-tabs {
    background: rgba(15, 23, 42, 0.32);
    border-bottom-color: rgba(71, 85, 105, 0.74);
}

.mapsplus-admin-tab {
    min-height: 38px;
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #475569;
    padding: 9px 13px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.mapsplus-admin-tab.active {
    border-color: rgba(220, 38, 38, 0.30);
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-tab , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-tab {
    background: rgba(15, 23, 42, 0.62);
    border-color: rgba(71, 85, 105, 0.82);
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-tab.active , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-tab.active {
    background: #f8fafc;
    color: #0f172a;
}

.mapsplus-dashboard {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.80) 0%, rgba(248, 250, 252, 0.92) 42%, rgba(255, 241, 242, 0.42) 100%),
        radial-gradient(circle at 94% 7%, rgba(239, 68, 68, 0.13), transparent 28%),
        radial-gradient(circle at 7% 86%, rgba(14, 165, 233, 0.13), transparent 30%),
        radial-gradient(circle at 46% 4%, rgba(124, 58, 237, 0.065), transparent 26%),
        linear-gradient(180deg, #ffffff, #f8fafc);
    overflow: hidden;
}

.mapsplus-dashboard::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 110px),
        linear-gradient(0deg, rgba(220, 38, 38, 0.035) 0 1px, transparent 1px 86px);
    mask-image: linear-gradient(140deg, rgba(0,0,0,0.45), transparent 62%);
    pointer-events: none;
}

.mapsplus-dashboard::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

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

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard {
    background:
        radial-gradient(circle at 92% 10%, rgba(239, 68, 68, 0.20), transparent 28%),
        radial-gradient(circle at 8% 88%, rgba(14, 165, 233, 0.18), transparent 30%),
        radial-gradient(circle at 44% 2%, rgba(124, 58, 237, 0.13), transparent 26%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.91), rgba(15, 23, 42, 0.68));
}

.mapsplus-dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 176px;
    padding: 24px 26px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 22px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.76) 48%, rgba(255, 241, 242, 0.76)),
        radial-gradient(circle at 93% 17%, rgba(239, 68, 68, 0.17), transparent 24%),
        radial-gradient(circle at 15% 84%, rgba(14, 165, 233, 0.15), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.90)),
        #ffffff;
    color: #0f172a;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.74),
        0 24px 52px rgba(15, 23, 42, 0.10);
    position: relative;
    overflow: hidden;
}

.mapsplus-dashboard-hero::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -22px;
    width: 260px;
    height: 108px;
    border-radius: 55% 45% 0 0;
    background:
        radial-gradient(circle at 20% 48%, rgba(14, 165, 233, 0.18), transparent 34%),
        linear-gradient(90deg, rgba(14, 165, 233, 0.12), rgba(220, 38, 38, 0.17));
    filter: blur(16px);
    opacity: 0.82;
    pointer-events: none;
}

.mapsplus-dashboard-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(220, 38, 38, 0.10) 0 1px, transparent 1px 96px),
        linear-gradient(0deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 72px);
    mask-image: linear-gradient(110deg, rgba(0,0,0,0.68), transparent 66%);
    pointer-events: none;
}

.mapsplus-dashboard-hero > * {
    position: relative;
    z-index: 1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero {
    background:
        radial-gradient(circle at 92% 16%, rgba(239, 68, 68, 0.22), transparent 25%),
        radial-gradient(circle at 16% 82%, rgba(14, 165, 233, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.88)),
        #0f172a;
    color: #ffffff;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.mapsplus-dashboard-hero h3 {
    margin: 0;
    color: #0f172a;
    font-size: 32px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.01em;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero h3 , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero h3 {
    color: #ffffff;
}

.mapsplus-dashboard-hero p {
    max-width: 690px;
    margin: 8px 0 0;
    color: #475569;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.55;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero p , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero p {
    color: #cbd5e1;
}

.mapsplus-dashboard-hero .mapsplus-admin-kicker {
    color: #dc2626;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero .mapsplus-admin-kicker , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero .mapsplus-admin-kicker {
    color: #fca5a5;
}

.mapsplus-dashboard-hero-actions,
.mapsplus-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mapsplus-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 12px;
}

.mapsplus-dashboard-metric {
    appearance: none;
    -webkit-appearance: none;
    min-height: 120px;
    display: grid;
    align-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 17px 16px 15px;
    border: 1px solid rgba(226, 232, 240, 0.90);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.86));
    box-shadow: 0 15px 34px rgba(15, 23, 42, 0.065);
    color: inherit;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    position: relative;
    overflow: hidden;
}

.mapsplus-dashboard-metric::before {
    content: "";
    position: absolute;
    inset: auto 12px 10px 12px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(220, 38, 38, 0.74));
    opacity: 0.12;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.mapsplus-dashboard-metric::after {
    content: "Filtrele";
    position: absolute;
    right: 12px;
    top: 12px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.055);
    color: #64748b;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

button.mapsplus-dashboard-metric:hover,
button.mapsplus-dashboard-metric:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.24);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.095);
    outline: none;
}

button.mapsplus-dashboard-metric:hover::before,
button.mapsplus-dashboard-metric:focus-visible::before {
    opacity: 0.38;
    transform: translateY(-1px);
}

button.mapsplus-dashboard-metric:hover::after,
button.mapsplus-dashboard-metric:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

button.mapsplus-dashboard-metric:active {
    transform: translateY(0);
}

.mapsplus-dashboard-metric span,
.mapsplus-dashboard-panel-head span,
.mapsplus-dashboard-note span,
.mapsplus-dashboard-alerts span {
    color: #64748b;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mapsplus-dashboard-metric strong {
    color: #0f172a;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.015em;
}

.mapsplus-dashboard-metric small {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.mapsplus-dashboard-metric.primary { box-shadow: inset 4px 0 0 #dc2626, 0 12px 28px rgba(15, 23, 42, 0.055); }
.mapsplus-dashboard-metric.navy { box-shadow: inset 4px 0 0 #0f172a, 0 12px 28px rgba(15, 23, 42, 0.055); }
.mapsplus-dashboard-metric.ok { box-shadow: inset 4px 0 0 #16a34a, 0 12px 28px rgba(15, 23, 42, 0.055); }
.mapsplus-dashboard-metric.warn { box-shadow: inset 4px 0 0 #d97706, 0 12px 28px rgba(15, 23, 42, 0.055); }
.mapsplus-dashboard-metric.priority { box-shadow: inset 4px 0 0 #7c3aed, 0 12px 28px rgba(15, 23, 42, 0.055); }
.mapsplus-dashboard-metric.danger { box-shadow: inset 4px 0 0 #ef4444, 0 12px 28px rgba(239, 68, 68, 0.08); }

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-panel , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.12), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.60));
    border-color: rgba(71, 85, 105, 0.78);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.20);
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric::after , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric::after {
    background: rgba(248, 250, 252, 0.10);
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric strong, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric strong,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-panel-head strong, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-panel-head strong,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-note strong, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-note strong,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-alerts strong , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-alerts strong {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric span, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric span,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric small, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric small,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-panel-head span, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-panel-head span,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-note span, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-note span,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-note small, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-note small,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-alerts span , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-alerts span {
    color: #94a3b8;
}

.mapsplus-dashboard-main {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 16px;
    align-items: start;
}

.mapsplus-dashboard-column {
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
}

.mapsplus-dashboard-side-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mapsplus-dashboard-panel {
    display: grid;
    align-content: start;
    gap: 13px;
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(226, 232, 240, 0.90);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(220, 38, 38, 0.055), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.052), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.86));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 16px 36px rgba(15, 23, 42, 0.065);
}

.mapsplus-dashboard-panel.wide {
    grid-column: 1 / -1;
}

.mapsplus-dashboard-side-column .mapsplus-dashboard-panel.wide {
    grid-column: 1 / -1;
}

.mapsplus-dashboard-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mapsplus-dashboard-panel-head strong,
.mapsplus-dashboard-note strong,
.mapsplus-dashboard-alerts strong {
    display: block;
    margin-top: 3px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.mapsplus-province-bars {
    display: grid;
    gap: 9px;
}

.mapsplus-province-bars button {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    border: 1px solid rgba(226, 232, 240, 0.84);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.82);
    padding: 9px 10px;
    cursor: pointer;
    text-align: left;
}

.mapsplus-province-bars span {
    color: #334155;
    font-size: 12px;
    font-weight: 950;
}

.mapsplus-province-bars i {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.92);
}

.mapsplus-province-bars b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f172a, #dc2626);
}

.mapsplus-province-bars strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
    text-align: right;
}

body.dark-theme #tab-mapsplus-network .mapsplus-province-bars button , body.dark-theme:not(.admin-panel-open) .mapsplus-province-bars button {
    background: rgba(15, 23, 42, 0.52);
    border-color: rgba(71, 85, 105, 0.76);
}

body.dark-theme #tab-mapsplus-network .mapsplus-province-bars span, body.dark-theme:not(.admin-panel-open) .mapsplus-province-bars span,
body.dark-theme #tab-mapsplus-network .mapsplus-province-bars strong , body.dark-theme:not(.admin-panel-open) .mapsplus-province-bars strong {
    color: #f8fafc;
}

.mapsplus-dashboard-note {
    padding: 12px;
    border: 1px dashed rgba(148, 163, 184, 0.44);
    border-radius: 13px;
    background: rgba(248, 250, 252, 0.64);
}

.mapsplus-dashboard-note small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 820;
}

.mapsplus-dashboard-alerts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 8px;
}

.mapsplus-dashboard-alerts div {
    padding: 11px;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.72);
}

.mapsplus-dashboard-mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mapsplus-dashboard-mini-list span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.74);
    color: #475569;
    font-size: 10px;
    font-weight: 900;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-note, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-note,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-alerts div , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-alerts div {
    background: rgba(2, 6, 23, 0.24);
    border-color: rgba(71, 85, 105, 0.72);
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-mini-list span , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-mini-list span {
    background: rgba(71, 85, 105, 0.64);
    color: #e2e8f0;
}

.mapsplus-quality-stack {
    display: grid;
    gap: 10px;
}

.mapsplus-quality-row {
    display: grid;
    gap: 7px;
}

.mapsplus-quality-row div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mapsplus-quality-row span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.mapsplus-quality-row strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
}

.mapsplus-quality-row i {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.88);
}

.mapsplus-quality-row b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ea5e9, #16a34a);
}

.mapsplus-quality-row.warn b {
    background: linear-gradient(90deg, #f59e0b, #dc2626);
}

body.dark-theme #tab-mapsplus-network .mapsplus-quality-row span, body.dark-theme:not(.admin-panel-open) .mapsplus-quality-row span,
body.dark-theme #tab-mapsplus-network .mapsplus-quality-row strong , body.dark-theme:not(.admin-panel-open) .mapsplus-quality-row strong {
    color: #e2e8f0;
}

.mapsplus-dashboard-issues {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 9px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.mapsplus-dashboard-issues.compact {
    grid-template-columns: 1fr;
    max-height: 390px;
}

.mapsplus-dashboard-issue {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(254, 202, 202, 0.92);
    border-radius: 13px;
    background:
        linear-gradient(135deg, rgba(254, 242, 242, 0.92), rgba(255, 255, 255, 0.92));
    color: #0f172a;
    text-align: left;
    cursor: pointer;
}

.mapsplus-dashboard-issue:hover,
.mapsplus-dashboard-issue:focus-visible {
    border-color: rgba(220, 38, 38, 0.48);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.10);
    transform: translateY(-1px);
}

.mapsplus-dashboard-issue.critical {
    border-color: rgba(220, 38, 38, 0.82);
    background:
        linear-gradient(135deg, rgba(254, 226, 226, 0.96), rgba(255, 255, 255, 0.92));
}

.mapsplus-dashboard-issue.high {
    border-color: rgba(248, 113, 113, 0.78);
}

.mapsplus-dashboard-issue.medium {
    border-color: rgba(253, 186, 116, 0.88);
    background:
        linear-gradient(135deg, rgba(255, 247, 237, 0.94), rgba(255, 255, 255, 0.92));
}

.mapsplus-dashboard-issue.low,
.mapsplus-dashboard-issue.info {
    border-color: rgba(191, 219, 254, 0.90);
    background:
        linear-gradient(135deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.92));
}

.mapsplus-dashboard-issue span {
    color: #dc2626;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mapsplus-dashboard-issue strong {
    overflow: hidden;
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mapsplus-dashboard-issue small {
    color: #64748b;
    font-size: 11px;
    font-weight: 820;
}

.mapsplus-dashboard-clean {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid rgba(187, 247, 208, 0.90);
    border-radius: 14px;
    background: rgba(240, 253, 244, 0.82);
}

.mapsplus-dashboard-clean strong {
    color: #166534;
    font-size: 13px;
    font-weight: 950;
}

.mapsplus-dashboard-clean span {
    color: #64748b;
    font-size: 11px;
    font-weight: 820;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-issue , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-issue {
    border-color: rgba(127, 29, 29, 0.58);
    background:
        linear-gradient(135deg, rgba(69, 10, 10, 0.42), rgba(15, 23, 42, 0.58));
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-issue.medium , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-issue.medium {
    border-color: rgba(146, 64, 14, 0.64);
    background:
        linear-gradient(135deg, rgba(67, 20, 7, 0.42), rgba(15, 23, 42, 0.58));
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-issue.low, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-issue.low,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-issue.info , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-issue.info {
    border-color: rgba(30, 64, 175, 0.56);
    background:
        linear-gradient(135deg, rgba(23, 37, 84, 0.42), rgba(15, 23, 42, 0.58));
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-issue strong, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-issue strong,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-clean strong , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-clean strong {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-issue small, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-issue small,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-clean span , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-clean span {
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-clean , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-clean {
    border-color: rgba(34, 197, 94, 0.38);
    background: rgba(20, 83, 45, 0.24);
}

.mapsplus-admin-body {
    display: grid;
    grid-template-columns: minmax(380px, 420px) minmax(0, 1fr);
    gap: 0;
    height: min(760px, calc(100vh - 250px));
    min-height: 620px;
    border-top: 1px solid rgba(226, 232, 240, 0.82);
    background:
        linear-gradient(90deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
}

.mapsplus-provider-list {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-right: 1px solid rgba(226, 232, 240, 0.86);
    background:
        radial-gradient(circle at 92% 2%, rgba(220, 38, 38, 0.08), transparent 30%),
        radial-gradient(circle at 0% 32%, rgba(14, 165, 233, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.88));
    padding: 18px 16px;
    overflow: hidden;
    position: relative;
}

.mapsplus-provider-list::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 86px;
    background: linear-gradient(180deg, transparent, rgba(248, 250, 252, 0.98));
    pointer-events: none;
    z-index: 2;
}

.mapsplus-provider-list::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 20%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.03), transparent 34%);
    pointer-events: none;
}

.mapsplus-provider-list > * {
    position: relative;
    z-index: 1;
}

#mapsplus-provider-list-items {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 5px 8px 92px 2px;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-list , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-list {
    background:
        radial-gradient(circle at 96% 0%, rgba(239, 68, 68, 0.10), transparent 30%),
        radial-gradient(circle at 4% 28%, rgba(14, 165, 233, 0.10), transparent 34%),
        linear-gradient(180deg, #101827, #0b1220 52%, #08111f);
    border-right-color: rgba(71, 85, 105, 0.78);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-list::after , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-list::after {
    background: linear-gradient(180deg, transparent, rgba(8, 17, 31, 0.98));
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-list::before , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-list::before {
    background:
        linear-gradient(180deg, rgba(148, 163, 184, 0.06), transparent 20%),
        radial-gradient(circle at 85% 12%, rgba(220, 38, 38, 0.08), transparent 34%);
}

body.dark-theme #tab-mapsplus-network .mapsplus-admin-body, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-body,
body.dark-theme #tab-mapsplus-network .mapsplus-editor , body.dark-theme:not(.admin-panel-open) .mapsplus-editor {
    background:
        radial-gradient(circle at 100% 0%, rgba(220, 38, 38, 0.07), transparent 28%),
        linear-gradient(180deg, #101827, #0b1220);
}

.mapsplus-provider-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding: 2px 2px 0;
}

.mapsplus-provider-list-head strong {
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-list-head strong , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-list-head strong { color: #f8fafc; }

.mapsplus-provider-filter-stack {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0 -2px 14px;
    padding: 34px 12px 12px;
    border: 1px solid rgba(203, 213, 225, 0.80);
    border-radius: 20px;
    background:
        radial-gradient(circle at 98% 0%, rgba(220, 38, 38, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.80));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 14px 30px rgba(15, 23, 42, 0.075);
    backdrop-filter: blur(14px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mapsplus-provider-filter-stack #mapsplus-provider-province-filter,
.mapsplus-provider-filter-stack #mapsplus-provider-filter,
.mapsplus-provider-filter-stack #mapsplus-provider-priority-filter,
.mapsplus-provider-filter-actions {
    grid-column: 1 / -1;
}

.mapsplus-provider-filter-stack:focus-within {
    border-color: rgba(14, 165, 233, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 16px 34px rgba(14, 165, 233, 0.105);
    transform: translateY(-1px);
}

.mapsplus-provider-filter-stack::before {
    content: "Canlı filtre paneli";
    position: absolute;
    top: 10px;
    left: 12px;
    color: #64748b;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.mapsplus-provider-filter-stack .mapsplus-input {
    min-height: 44px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.mapsplus-provider-filter-stack select.mapsplus-input {
    cursor: pointer;
}

.mapsplus-provider-filter-stack .mapsplus-input:focus {
    border-color: rgba(14, 165, 233, 0.52);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.mapsplus-provider-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    padding-top: 7px;
    border-top: 1px solid rgba(226, 232, 240, 0.78);
}

.mapsplus-provider-filter-actions span {
    min-width: 0;
    color: #64748b;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mapsplus-provider-filter-actions .mapsplus-btn {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 10px;
    border-radius: 12px;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-filter-stack , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-filter-stack {
    border-color: rgba(71, 85, 105, 0.72);
    background:
        radial-gradient(circle at 95% 0%, rgba(239, 68, 68, 0.12), transparent 35%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.72));
    box-shadow: inset 0 1px 0 rgba(248, 250, 252, 0.05), 0 16px 34px rgba(0, 0, 0, 0.22);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-filter-stack::before , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-filter-stack::before {
    color: #94a3b8;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-filter-stack .mapsplus-input , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-filter-stack .mapsplus-input {
    background: rgba(2, 6, 23, 0.34);
    border-color: rgba(71, 85, 105, 0.76);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-filter-actions span , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-filter-actions span {
    color: #94a3b8;
}

.mapsplus-provider-item {
    width: 100%;
    display: grid;
    gap: 8px;
    text-align: left;
    margin-bottom: 11px;
    padding: 14px 14px 13px 18px;
    border: 1px solid rgba(203, 213, 225, 0.72);
    border-radius: 17px;
    background:
        radial-gradient(circle at 104% 10%, rgba(14, 165, 233, 0.10), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.92));
    color: #334155;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.062);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, background 0.16s ease;
    position: relative;
    overflow: hidden;
}

.mapsplus-provider-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.48) 45%, transparent 72%);
    opacity: 0;
    transform: translateX(-42%);
    transition: opacity 0.16s ease, transform 0.34s ease;
    pointer-events: none;
}

.mapsplus-provider-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #0f172a, #38bdf8);
    opacity: 0.52;
}

.mapsplus-provider-item > * {
    position: relative;
    z-index: 1;
}

.mapsplus-provider-item:hover,
.mapsplus-provider-item:focus-visible {
    border-color: rgba(15, 23, 42, 0.24);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.085);
    outline: none;
    transform: translateY(-2px) scale(1.006);
}

.mapsplus-provider-item:hover::after,
.mapsplus-provider-item:focus-visible::after {
    opacity: 1;
    transform: translateX(34%);
}

.mapsplus-provider-item.passive {
    background:
        linear-gradient(180deg, rgba(241, 245, 249, 0.82), rgba(226, 232, 240, 0.56));
    border-color: rgba(148, 163, 184, 0.64);
    box-shadow: none;
    opacity: 0.82;
}

.mapsplus-provider-item.passive::before {
    background: linear-gradient(180deg, #94a3b8, #cbd5e1);
}

.mapsplus-provider-item.active {
    border-color: rgba(220, 38, 38, 0.34);
    background:
        radial-gradient(circle at 96% 10%, rgba(220, 38, 38, 0.13), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 247, 0.92));
    box-shadow:
        0 18px 36px rgba(220, 38, 38, 0.12);
}

.mapsplus-provider-item.active::before {
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #ef4444, #991b1b);
    opacity: 1;
}

.mapsplus-provider-item.active.passive {
    border-color: rgba(100, 116, 139, 0.55);
    box-shadow: 0 14px 28px rgba(100, 116, 139, 0.14);
}

.mapsplus-provider-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.mapsplus-provider-item strong {
    min-width: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.25;
}

.mapsplus-provider-item small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.mapsplus-provider-status {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mapsplus-provider-status.active {
    color: #047857;
    background: rgba(209, 250, 229, 0.92);
}

.mapsplus-provider-status.passive {
    color: #64748b;
    background: rgba(226, 232, 240, 0.92);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-item , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item {
    background:
        radial-gradient(circle at 105% 8%, rgba(14, 165, 233, 0.12), transparent 38%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 35, 56, 0.74));
    border-color: rgba(71, 85, 105, 0.80);
    color: #cbd5e1;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-item strong , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item strong { color: #f8fafc; }
body.dark-theme #tab-mapsplus-network .mapsplus-provider-item small , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item small { color: #94a3b8; }

body.dark-theme #tab-mapsplus-network .mapsplus-provider-item.passive , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item.passive {
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.62), rgba(15, 23, 42, 0.46));
    border-color: rgba(100, 116, 139, 0.60);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-item.active , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-item.active {
    border-color: rgba(248, 113, 113, 0.58);
    background:
        radial-gradient(circle at 96% 10%, rgba(239, 68, 68, 0.22), transparent 31%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.90), rgba(69, 10, 10, 0.40));
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-status.active , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-status.active {
    color: #86efac;
    background: rgba(20, 83, 45, 0.54);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-status.passive , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-status.passive {
    color: #cbd5e1;
    background: rgba(71, 85, 105, 0.62);
}

.mapsplus-editor {
    padding: 22px 24px 26px;
    min-height: 0;
    overflow: auto;
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.055), transparent 28%),
        radial-gradient(circle at 2% 96%, rgba(220, 38, 38, 0.045), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.76));
    scrollbar-gutter: stable;
}

.mapsplus-editor-workbench {
    display: grid;
    gap: 15px;
}

.mapsplus-editor-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
    gap: 16px;
    align-items: stretch;
    padding: 17px;
    border: 1px solid rgba(203, 213, 225, 0.78);
    border-radius: 22px;
    background:
        radial-gradient(circle at 94% 0%, rgba(220, 38, 38, 0.12), transparent 30%),
        radial-gradient(circle at 4% 98%, rgba(14, 165, 233, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.86));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 18px 42px rgba(15, 23, 42, 0.075);
    position: relative;
    overflow: hidden;
}

.mapsplus-editor-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 78px),
        linear-gradient(0deg, rgba(220, 38, 38, 0.03) 0 1px, transparent 1px 62px);
    mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.58), transparent 68%);
    pointer-events: none;
}

.mapsplus-editor-hero > * {
    position: relative;
    z-index: 1;
}

.mapsplus-editor-hero-main {
    display: grid;
    align-content: center;
    gap: 7px;
    min-width: 0;
}

.mapsplus-editor-hero-main span {
    color: #dc2626;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mapsplus-editor-hero-main h4 {
    overflow-wrap: anywhere;
    margin: 0;
    color: #0f172a;
    font-size: clamp(22px, 2.2vw, 34px);
    line-height: 1.05;
    font-weight: 950;
}

.mapsplus-editor-hero-main p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.45;
}

.mapsplus-editor-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.mapsplus-editor-stat {
    display: grid;
    gap: 5px;
    min-height: 86px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
}

.mapsplus-editor-stat span {
    color: #64748b;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mapsplus-editor-stat strong {
    color: #0f172a;
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
}

.mapsplus-editor-stat small {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
}

.mapsplus-editor-stat.ok { box-shadow: inset 4px 0 0 rgba(22, 163, 74, 0.86), 0 10px 22px rgba(15, 23, 42, 0.045); }
.mapsplus-editor-stat.warn { box-shadow: inset 4px 0 0 rgba(217, 119, 6, 0.86), 0 10px 22px rgba(15, 23, 42, 0.045); }
.mapsplus-editor-stat.navy { box-shadow: inset 4px 0 0 rgba(15, 23, 42, 0.88), 0 10px 22px rgba(15, 23, 42, 0.045); }
.mapsplus-editor-stat.priority { box-shadow: inset 4px 0 0 rgba(124, 58, 237, 0.82), 0 10px 22px rgba(15, 23, 42, 0.045); }
.mapsplus-editor-stat.muted { box-shadow: inset 4px 0 0 rgba(148, 163, 184, 0.86), 0 10px 22px rgba(15, 23, 42, 0.045); }

.mapsplus-editor-workbench .mapsplus-section {
    margin: 0;
    padding: 17px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.052), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.78));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.74),
        0 14px 30px rgba(15, 23, 42, 0.05);
}

.mapsplus-editor-workbench .mapsplus-section-head {
    padding-bottom: 2px;
}

.mapsplus-editor-workbench .mapsplus-section-head h4 {
    font-size: 16px;
}

.mapsplus-editor-savebar {
    position: sticky;
    bottom: 0;
    z-index: 8;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(203, 213, 225, 0.80);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.82));
    box-shadow: 0 -18px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor , body.dark-theme:not(.admin-panel-open) .mapsplus-editor {
    background:
        radial-gradient(circle at 98% 0%, rgba(14, 165, 233, 0.08), transparent 28%),
        radial-gradient(circle at 4% 96%, rgba(239, 68, 68, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72));
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-hero , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-hero {
    border-color: rgba(71, 85, 105, 0.78);
    background:
        radial-gradient(circle at 94% 0%, rgba(239, 68, 68, 0.17), transparent 32%),
        radial-gradient(circle at 4% 98%, rgba(14, 165, 233, 0.13), transparent 32%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.78));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 22px 48px rgba(0, 0, 0, 0.24);
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-hero::before , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-hero::before {
    background:
        linear-gradient(90deg, rgba(226, 232, 240, 0.045) 0 1px, transparent 1px 78px),
        linear-gradient(0deg, rgba(248, 113, 113, 0.045) 0 1px, transparent 1px 62px);
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-hero-main h4 , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-hero-main h4 {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-hero-main p , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-hero-main p {
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-stat , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-stat {
    border-color: rgba(71, 85, 105, 0.76);
    background: rgba(15, 23, 42, 0.62);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-stat strong , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-stat strong {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-stat span, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-stat span,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-stat small , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-stat small {
    color: #94a3b8;
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-workbench .mapsplus-section , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-workbench .mapsplus-section {
    border-color: rgba(71, 85, 105, 0.78);
    background:
        radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.56));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 18px 36px rgba(0, 0, 0, 0.18);
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor-savebar , body.dark-theme:not(.admin-panel-open) .mapsplus-editor-savebar {
    border-color: rgba(71, 85, 105, 0.78);
    background:
        radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.78));
    box-shadow: 0 -18px 34px rgba(0, 0, 0, 0.28);
}

.mapsplus-section {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.38);
}

.mapsplus-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

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

.mapsplus-section-head h4 {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

body.dark-theme #tab-mapsplus-network .mapsplus-section-head h4 , body.dark-theme:not(.admin-panel-open) .mapsplus-section-head h4 { color: #f8fafc; }

.mapsplus-row-card {
    display: grid;
    gap: 10px;
    padding: 15px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.74));
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.035);
}

.mapsplus-row-card.highlighted {
    border-color: rgba(22, 163, 74, 0.58);
    background: rgba(240, 253, 244, 0.84);
    box-shadow: 0 16px 34px rgba(22, 163, 74, 0.14);
}

body.dark-theme #tab-mapsplus-network .mapsplus-row-card , body.dark-theme:not(.admin-panel-open) .mapsplus-row-card {
    background: rgba(15, 23, 42, 0.42);
    border-color: rgba(71, 85, 105, 0.78);
}

body.dark-theme #tab-mapsplus-network .mapsplus-row-card.highlighted , body.dark-theme:not(.admin-panel-open) .mapsplus-row-card.highlighted {
    border-color: rgba(74, 222, 128, 0.52);
    background: rgba(20, 83, 45, 0.26);
    box-shadow: 0 16px 34px rgba(22, 163, 74, 0.22);
}

.mapsplus-priority-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mapsplus-priority-builder {
    display: grid;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.74));
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.035);
}

body.dark-theme #tab-mapsplus-network .mapsplus-priority-builder , body.dark-theme:not(.admin-panel-open) .mapsplus-priority-builder {
    background: rgba(15, 23, 42, 0.42);
    border-color: rgba(71, 85, 105, 0.78);
}

.mapsplus-priority-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mapsplus-district-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 8px;
    max-height: min(360px, 46vh);
    overflow: auto;
    padding: 3px 4px 3px 2px;
    scrollbar-gutter: stable;
}

.mapsplus-district-chip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px 8px;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    color: #334155;
    cursor: pointer;
}

.mapsplus-district-chip input {
    width: 17px;
    height: 17px;
    accent-color: #dc2626;
}

.mapsplus-district-chip span {
    min-width: 0;
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
}

.mapsplus-district-chip small {
    grid-column: 2;
    color: #991b1b;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#tab-mapsplus-network .mapsplus-district-chip.level-1 {
    border-color: rgba(220, 38, 38, 0.40);
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.95), rgba(254, 202, 202, 0.85));
}

#tab-mapsplus-network .mapsplus-district-chip.level-2 {
    border-color: rgba(245, 158, 11, 0.40);
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.95), rgba(253, 230, 138, 0.85));
}

#tab-mapsplus-network .mapsplus-district-chip.level-2 small {
    color: #92400e;
}

#tab-mapsplus-network .mapsplus-district-chip.level-3 {
    border-color: rgba(100, 116, 139, 0.30);
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

#tab-mapsplus-network .mapsplus-district-chip.level-3 small {
    color: #475569;
}

body.dark-theme #tab-mapsplus-network .mapsplus-district-chip , body.dark-theme:not(.admin-panel-open) .mapsplus-district-chip {
    background: rgba(15, 23, 42, 0.62);
    border-color: rgba(71, 85, 105, 0.80);
}

body.dark-theme #tab-mapsplus-network .mapsplus-district-chip span , body.dark-theme:not(.admin-panel-open) .mapsplus-district-chip span {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-district-chip.level-1 , body.dark-theme:not(.admin-panel-open) .mapsplus-district-chip.level-1 {
    border-color: rgba(239, 68, 68, 0.50);
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.6), rgba(153, 27, 27, 0.4));
}

body.dark-theme #tab-mapsplus-network .mapsplus-district-chip.level-2 , body.dark-theme:not(.admin-panel-open) .mapsplus-district-chip.level-2 {
    border-color: rgba(245, 158, 11, 0.50);
    background: linear-gradient(135deg, rgba(120, 53, 15, 0.6), rgba(146, 64, 14, 0.4));
}

body.dark-theme #tab-mapsplus-network .mapsplus-district-chip.level-3 , body.dark-theme:not(.admin-panel-open) .mapsplus-district-chip.level-3 {
    border-color: rgba(148, 163, 184, 0.50);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.7), rgba(71, 85, 105, 0.5));
}

.mapsplus-provider-state {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 245px;
    padding: 10px 12px;
    border: 1px solid rgba(203, 213, 225, 0.78);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.82);
}

.mapsplus-provider-state > div {
    display: grid;
    gap: 2px;
    text-align: left;
}

.mapsplus-provider-state span,
.mapsplus-provider-state small {
    color: #64748b;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.mapsplus-provider-state small {
    max-width: 170px;
    letter-spacing: 0;
    text-transform: none;
}

.mapsplus-provider-state strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.mapsplus-provider-state.active {
    border-color: rgba(16, 185, 129, 0.36);
    background: rgba(236, 253, 245, 0.84);
}

.mapsplus-provider-state.passive {
    border-color: rgba(148, 163, 184, 0.52);
    background: rgba(241, 245, 249, 0.88);
}

.mapsplus-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 48px;
    height: 28px;
    cursor: pointer;
}

.mapsplus-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mapsplus-switch span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #cbd5e1;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.24);
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.mapsplus-switch span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.22);
    transition: transform 0.18s ease;
}

.mapsplus-switch input:checked + span {
    background: #16a34a;
    box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.22);
}

.mapsplus-switch input:checked + span::after {
    transform: translateX(20px);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-state , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-state {
    background: rgba(15, 23, 42, 0.54);
    border-color: rgba(71, 85, 105, 0.78);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-state.active , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-state.active {
    background: rgba(20, 83, 45, 0.32);
    border-color: rgba(34, 197, 94, 0.30);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-state.passive , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-state.passive {
    background: rgba(30, 41, 59, 0.58);
    border-color: rgba(100, 116, 139, 0.56);
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-state strong , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-state strong {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-state span, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-state span,
body.dark-theme #tab-mapsplus-network .mapsplus-provider-state small , body.dark-theme:not(.admin-panel-open) .mapsplus-provider-state small {
    color: #94a3b8;
}

.mapsplus-empty-editor {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 28px;
}

.mapsplus-empty-editor > div:first-child {
    width: min(620px, 100%);
    padding: 34px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 12%, rgba(220, 38, 38, 0.12), transparent 30%),
        radial-gradient(circle at 12% 90%, rgba(14, 165, 233, 0.10), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.86));
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.mapsplus-empty-editor span {
    color: #dc2626;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.mapsplus-empty-editor h4 {
    margin: 8px 0 8px;
    color: #0f172a;
    font-size: 24px;
    line-height: 1.12;
    font-weight: 950;
}

.mapsplus-empty-editor p {
    max-width: 500px;
    margin: 0 auto;
    color: #64748b;
    font-size: 13px;
    font-weight: 780;
    line-height: 1.55;
}

.mapsplus-new-provider-picker {
    display: grid;
    gap: 8px;
    width: min(420px, 100%);
    margin: 20px auto 0;
    text-align: left;
}

.mapsplus-new-provider-picker label {
    color: #475569;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mapsplus-new-provider-picker small {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.mapsplus-empty-editor-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

body.dark-theme #tab-mapsplus-network .mapsplus-empty-editor > div:first-child , body.dark-theme:not(.admin-panel-open) .mapsplus-empty-editor > div:first-child {
    border-color: rgba(71, 85, 105, 0.78);
    background:
        radial-gradient(circle at 88% 12%, rgba(220, 38, 38, 0.16), transparent 30%),
        radial-gradient(circle at 12% 90%, rgba(14, 165, 233, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.70));
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

body.dark-theme #tab-mapsplus-network .mapsplus-empty-editor h4 , body.dark-theme:not(.admin-panel-open) .mapsplus-empty-editor h4 {
    color: #f8fafc;
}

body.dark-theme #tab-mapsplus-network .mapsplus-empty-editor p , body.dark-theme:not(.admin-panel-open) .mapsplus-empty-editor p {
    color: #cbd5e1;
}

body.dark-theme #tab-mapsplus-network .mapsplus-new-provider-picker label, body.dark-theme:not(.admin-panel-open) .mapsplus-new-provider-picker label,
body.dark-theme #tab-mapsplus-network .mapsplus-new-provider-picker small , body.dark-theme:not(.admin-panel-open) .mapsplus-new-provider-picker small {
    color: #cbd5e1;
}

.mapsplus-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

body.dark-theme #tab-mapsplus-network .mapsplus-checkbox , body.dark-theme:not(.admin-panel-open) .mapsplus-checkbox {
    color: #cbd5e1;
}

.mapsplus-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #dc2626;
}

.mapsplus-admin-loading {
    padding: 26px;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 1320px) {
    #assistline-main-workspace {
        width: min(1040px, calc(100vw - 330px));
        gap: 16px;
    }

    .mapsplus-panel {
        width: min(580px, 54vw);
    }

    .mapsplus-editor-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    #assistline-main-workspace {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 118px);
        overflow: auto;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        padding: 12px 0 90px;
    }

    .mapsplus-panel {
        width: min(720px, 100%);
        min-height: auto;
        max-height: none;
    }

    #main-card.glass-card {
        width: min(460px, 100%);
        flex: none;
    }
}

@media (max-width: 820px) {
    #assistline-main-workspace,
    #assistline-main-workspace.mapsplus-disabled {
        position: fixed;
        top: max(14px, env(safe-area-inset-top));
        right: max(11px, env(safe-area-inset-right));
        left: max(11px, env(safe-area-inset-left));
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        height: calc(100dvh - var(--mobile-nav-height, 72px) - env(safe-area-inset-bottom) - 30px);
        max-height: none;
        margin: 0;
        padding: 10px 0 calc(var(--mobile-nav-height, 72px) + 54px);
        overflow-x: hidden;
        overflow-y: auto;
        align-items: stretch;
        justify-content: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    body.rep-authenticated:not(.admin-panel-open) #assistline-main-workspace {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.rep-authenticated:not(.admin-panel-open) #assistline-main-workspace.mapsplus-disabled > #main-card.glass-card,
    body.rep-authenticated:not(.admin-panel-open) #assistline-main-workspace:not(.mapsplus-enabled) > #main-card.glass-card {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body.rep-authenticated:not(.admin-panel-open) #assistline-main-workspace.mapsplus-disabled #mapsplus-panel {
        display: none !important;
    }

    .mapsplus-admin-body {
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .mapsplus-provider-list {
        border-right: 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.86);
        max-height: 260px;
    }

    .mapsplus-dashboard,
    .mapsplus-admin-tabs {
        padding-left: 14px;
        padding-right: 14px;
    }

    .mapsplus-dashboard-hero,
    .mapsplus-dashboard-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .mapsplus-dashboard-grid,
    .mapsplus-dashboard-main {
        grid-template-columns: 1fr;
    }

    .mapsplus-dashboard-side-column {
        grid-template-columns: 1fr;
    }

    .mapsplus-dashboard-column {
        gap: 12px;
    }

    .mapsplus-dashboard-panel.wide {
        grid-column: auto;
        grid-row: auto;
    }

    .mapsplus-editor {
        padding: 16px;
    }

    .mapsplus-editor-hero {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .mapsplus-editor-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mapsplus-province-bars button {
        grid-template-columns: 112px minmax(0, 1fr) 36px;
    }

    .mapsplus-grid-2,
    .mapsplus-grid-3,
    .mapsplus-region-summary {
        grid-template-columns: 1fr;
    }

    .mapsplus-control-advice {
        align-items: flex-start;
        flex-direction: column;
    }

    .mapsplus-control-advice span {
        text-align: left;
    }

    .mapsplus-metrics {
        grid-template-columns: 1fr;
    }

    .mapsplus-control-workflow {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    #assistline-main-workspace {
        position: fixed;
        top: max(14px, env(safe-area-inset-top));
        right: 11px;
        left: 11px;
        width: auto;
        height: calc(100dvh - 170px);
        max-height: none;
        margin-top: 0;
        padding: 10px 0 136px;
    }

    .mapsplus-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .mapsplus-editor {
        padding: 12px;
    }

    .mapsplus-editor-hero-stats {
        grid-template-columns: 1fr;
    }

    .mapsplus-editor-savebar {
        position: static;
    }

    .mapsplus-head,
    .mapsplus-card-top,
    .mapsplus-admin-head {
        flex-direction: column;
        align-items: stretch;
    }

    .mapsplus-badge-row {
        justify-content: flex-start;
    }

    .mapsplus-action-row,
    .mapsplus-card-actions,
    .mapsplus-admin-actions,
    .mapsplus-priority-actions,
    .mapsplus-inline-actions {
        align-items: stretch;
    }

    .mapsplus-btn {
        width: 100%;
    }

    .mapsplus-brand img:not(.mapsplus-logo) {
        width: 138px;
    }

    .mapsplus-dashboard {
        padding: 14px;
    }

    .mapsplus-dashboard-hero {
        min-height: 0;
        padding: 17px;
    }

    .mapsplus-dashboard-hero h3 {
        font-size: 24px;
    }

    .mapsplus-dashboard-alerts {
        grid-template-columns: 1fr;
    }

    .mapsplus-province-bars button {
        grid-template-columns: 1fr;
    }

    .mapsplus-province-bars strong {
        text-align: left;
    }

    .mapsplus-logo,
    .mapsplus-boot-logo,
    .mapsplus-operator-logo,
    .mapsplus-admin-logo {
        width: min(156px, 60vw);
        max-width: 100%;
    }
}

/* Maps+ admin dashboard/export/scroll refresh */
#tab-mapsplus-network .mapsplus-dashboard {
    background:
        linear-gradient(118deg, rgba(255, 255, 255, 0.90), rgba(240, 249, 255, 0.72) 34%, rgba(254, 242, 242, 0.68) 72%, rgba(255, 255, 255, 0.92)),
        linear-gradient(32deg, rgba(14, 165, 233, 0.12), transparent 32%, rgba(220, 38, 38, 0.10) 78%, transparent),
        #f8fafc;
}

#tab-mapsplus-network .mapsplus-dashboard-hero {
    background:
        linear-gradient(116deg, rgba(255, 255, 255, 0.99), rgba(224, 242, 254, 0.64) 48%, rgba(254, 226, 226, 0.68)),
        linear-gradient(24deg, rgba(14, 165, 233, 0.13), transparent 42%, rgba(220, 38, 38, 0.12)),
        #ffffff;
}

#tab-mapsplus-network .mapsplus-dashboard-panel,
#tab-mapsplus-network .mapsplus-dashboard-metric,
#tab-mapsplus-network .mapsplus-network-console,
#tab-mapsplus-network .mapsplus-editor-workbench .mapsplus-section,
#tab-mapsplus-network .mapsplus-row-card,
#tab-mapsplus-network .mapsplus-priority-builder {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.48) 42%, rgba(254, 242, 242, 0.38)),
        #ffffff;
}

#tab-mapsplus-network .mapsplus-dashboard-metric.primary {
    box-shadow: inset 4px 0 0 #0284c7, 0 14px 30px rgba(14, 165, 233, 0.10);
}

#tab-mapsplus-network .mapsplus-dashboard-metric.navy {
    box-shadow: inset 4px 0 0 #0f172a, 0 14px 30px rgba(15, 23, 42, 0.08);
}

#tab-mapsplus-network .mapsplus-dashboard-metric.ok {
    box-shadow: inset 4px 0 0 #16a34a, 0 14px 30px rgba(22, 163, 74, 0.08);
}

#tab-mapsplus-network .mapsplus-dashboard-metric.warn {
    box-shadow: inset 4px 0 0 #f59e0b, 0 14px 30px rgba(245, 158, 11, 0.10);
}

#tab-mapsplus-network .mapsplus-dashboard-metric.priority {
    box-shadow: inset 4px 0 0 #7c3aed, 0 14px 30px rgba(124, 58, 237, 0.10);
}

#tab-mapsplus-network .mapsplus-dashboard-metric.danger {
    box-shadow: inset 4px 0 0 #dc2626, 0 14px 30px rgba(220, 38, 38, 0.12);
}

#tab-mapsplus-network .mapsplus-dashboard-metric::before {
    height: 4px;
    background: linear-gradient(90deg, #0284c7, #7c3aed 45%, #dc2626);
    opacity: 0.18;
}

#tab-mapsplus-network .mapsplus-network-ribbon {
    background:
        linear-gradient(105deg, rgba(224, 242, 254, 0.70), rgba(255, 255, 255, 0.74) 48%, rgba(254, 226, 226, 0.62)),
        #ffffff;
}

#tab-mapsplus-network .mapsplus-admin-body {
    height: clamp(640px, calc(100vh - 252px), 820px);
    min-height: 640px;
    overflow: hidden;
    align-items: stretch;
}

#tab-mapsplus-network .mapsplus-provider-list {
    max-height: 100%;
    overflow: hidden;
    overscroll-behavior: contain;
}

#tab-mapsplus-network .mapsplus-editor {
    position: static;
    top: auto;
    align-self: stretch;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 22px 24px 30px;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #0284c7 #fee2e2;
}

#tab-mapsplus-network #mapsplus-provider-list-items,
#tab-mapsplus-network .mapsplus-district-picker {
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #dc2626 #e0f2fe;
}

#tab-mapsplus-network #mapsplus-provider-list-items::-webkit-scrollbar,
#tab-mapsplus-network .mapsplus-editor::-webkit-scrollbar,
#tab-mapsplus-network .mapsplus-district-picker::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

#tab-mapsplus-network #mapsplus-provider-list-items::-webkit-scrollbar-track,
#tab-mapsplus-network .mapsplus-editor::-webkit-scrollbar-track,
#tab-mapsplus-network .mapsplus-district-picker::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.74), rgba(254, 226, 226, 0.72));
    border-radius: 999px;
}

#tab-mapsplus-network #mapsplus-provider-list-items::-webkit-scrollbar-thumb,
#tab-mapsplus-network .mapsplus-editor::-webkit-scrollbar-thumb,
#tab-mapsplus-network .mapsplus-district-picker::-webkit-scrollbar-thumb {
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    background: linear-gradient(180deg, #0284c7, #7c3aed 46%, #dc2626);
}

#tab-mapsplus-network .mapsplus-provider-list::before {
    opacity: 0.72;
    transition: opacity 0.18s ease, transform 0.34s ease, background 0.18s ease;
}

#tab-mapsplus-network .mapsplus-provider-list:hover::before,
#tab-mapsplus-network .mapsplus-provider-list:focus-within::before {
    opacity: 1;
    background:
        linear-gradient(112deg, rgba(14, 165, 233, 0.16), transparent 28%, rgba(220, 38, 38, 0.13) 58%, transparent 78%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), transparent 24%);
    animation: mapsplusNetworkGradientSweep 2.8s ease-in-out infinite alternate;
}

#tab-mapsplus-network .mapsplus-provider-item:hover::after,
#tab-mapsplus-network .mapsplus-provider-item:focus-visible::after {
    background: linear-gradient(108deg, transparent 0%, rgba(14, 165, 233, 0.22) 34%, rgba(220, 38, 38, 0.20) 58%, transparent 82%);
}

#tab-mapsplus-network .mapsplus-provider-priority-strip {
    display: none;
}

body.dark-theme #tab-mapsplus-network .mapsplus-editor , body.dark-theme:not(.admin-panel-open) .mapsplus-editor {
    scrollbar-color: #38bdf8 #450a0a;
}

body.dark-theme #tab-mapsplus-network #mapsplus-provider-list-items, body.dark-theme:not(.admin-panel-open) #mapsplus-provider-list-items,
body.dark-theme #tab-mapsplus-network .mapsplus-district-picker , body.dark-theme:not(.admin-panel-open) .mapsplus-district-picker {
    scrollbar-color: #f87171 #0f172a;
}

body.dark-theme #tab-mapsplus-network #mapsplus-provider-list-items::-webkit-scrollbar-track, body.dark-theme:not(.admin-panel-open) #mapsplus-provider-list-items::-webkit-scrollbar-track,
body.dark-theme #tab-mapsplus-network .mapsplus-editor::-webkit-scrollbar-track, body.dark-theme:not(.admin-panel-open) .mapsplus-editor::-webkit-scrollbar-track,
body.dark-theme #tab-mapsplus-network .mapsplus-district-picker::-webkit-scrollbar-track , body.dark-theme:not(.admin-panel-open) .mapsplus-district-picker::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.90), rgba(69, 10, 10, 0.76));
}

body.dark-theme #tab-mapsplus-network #mapsplus-provider-list-items::-webkit-scrollbar-thumb, body.dark-theme:not(.admin-panel-open) #mapsplus-provider-list-items::-webkit-scrollbar-thumb,
body.dark-theme #tab-mapsplus-network .mapsplus-editor::-webkit-scrollbar-thumb, body.dark-theme:not(.admin-panel-open) .mapsplus-editor::-webkit-scrollbar-thumb,
body.dark-theme #tab-mapsplus-network .mapsplus-district-picker::-webkit-scrollbar-thumb , body.dark-theme:not(.admin-panel-open) .mapsplus-district-picker::-webkit-scrollbar-thumb {
    border-color: rgba(15, 23, 42, 0.86);
    background: linear-gradient(180deg, #38bdf8, #a78bfa 44%, #f87171);
}

@keyframes mapsplusNetworkGradientSweep {
    from {
        transform: translateX(-1.5%);
    }
    to {
        transform: translateX(1.5%);
    }
}

@media (max-width: 820px) {
    #tab-mapsplus-network .mapsplus-admin-body {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    #tab-mapsplus-network .mapsplus-editor {
        max-height: none;
        overflow: visible;
        padding: 16px;
    }
}



/* MAPS+ PREMIUM DARK MODE OVERHAUL */
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard {
    background: 
        radial-gradient(circle at 85% 10%, rgba(220, 38, 38, 0.15), transparent 25%),
        radial-gradient(circle at 10% 90%, rgba(14, 165, 233, 0.12), transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.08), transparent 40%),
        linear-gradient(180deg, #090e17 0%, #020617 100%) !important;
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.95)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero h3, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero h3,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero h3 span, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero h3 span,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero-main h3 , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero-main h3 { color: #ffffff !important; text-shadow: 0 0 20px rgba(255,255,255,0.2); }
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero p, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero p,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-hero-main p , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-hero-main p { color: #94a3b8 !important; }

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-panel , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-panel {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(16px);
}
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric:hover , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric:hover {
    border-color: rgba(14, 165, 233, 0.4) !important;
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15) !important;
    transform: translateY(-2px);
}

body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric strong, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric strong,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-panel-head strong , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-panel-head strong { color: #ffffff !important; }
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric span, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric span,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-metric small, body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-metric small,
body.dark-theme #tab-mapsplus-network .mapsplus-dashboard-panel-head span , body.dark-theme:not(.admin-panel-open) .mapsplus-dashboard-panel-head span { color: #94a3b8 !important; }

body.dark-theme #tab-mapsplus-network .mapsplus-network-console , body.dark-theme:not(.admin-panel-open) .mapsplus-network-console {
    background: #020617 !important;
}

body.dark-theme #tab-mapsplus-network .mapsplus-provider-list, body.dark-theme:not(.admin-panel-open) .mapsplus-provider-list,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-hero, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-hero,
body.dark-theme #tab-mapsplus-network .mapsplus-editor-workbench .mapsplus-section, body.dark-theme:not(.admin-panel-open) .mapsplus-editor-workbench .mapsplus-section,
body.dark-theme #tab-mapsplus-network .mapsplus-empty-editor > div:first-child , body.dark-theme:not(.admin-panel-open) .mapsplus-empty-editor > div:first-child {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 0.95)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(20px);
}

body.dark-theme #tab-mapsplus-network .mapsplus-list-header h3 , body.dark-theme:not(.admin-panel-open) .mapsplus-list-header h3 { color: #ffffff !important; }
body.dark-theme #tab-mapsplus-network .mapsplus-list-header p, body.dark-theme:not(.admin-panel-open) .mapsplus-list-header p,
body.dark-theme #tab-mapsplus-network .mapsplus-list-header span, body.dark-theme:not(.admin-panel-open) .mapsplus-list-header span,
body.dark-theme #tab-mapsplus-network .mapsplus-list-header small , body.dark-theme:not(.admin-panel-open) .mapsplus-list-header small { color: #94a3b8 !important; }

body.dark-theme #tab-mapsplus-network .mapsplus-row-card , body.dark-theme:not(.admin-panel-open) .mapsplus-row-card {
    background: rgba(30, 41, 59, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
body.dark-theme #tab-mapsplus-network .mapsplus-row-card:hover , body.dark-theme:not(.admin-panel-open) .mapsplus-row-card:hover {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(14, 165, 233, 0.3) !important;
}

body.dark-theme #tab-mapsplus-network .mapsplus-row-card h4 , body.dark-theme:not(.admin-panel-open) .mapsplus-row-card h4 { color: #e2e8f0 !important; }
body.dark-theme #tab-mapsplus-network .mapsplus-row-card span, body.dark-theme:not(.admin-panel-open) .mapsplus-row-card span,
body.dark-theme #tab-mapsplus-network .mapsplus-row-card p , body.dark-theme:not(.admin-panel-open) .mapsplus-row-card p { color: #94a3b8 !important; }

body.dark-theme #tab-mapsplus-network .mapsplus-network-ribbon , body.dark-theme:not(.admin-panel-open) .mapsplus-network-ribbon {
    background: rgba(15, 23, 42, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(12px);
}
body.dark-theme #tab-mapsplus-network .mapsplus-network-chip , body.dark-theme:not(.admin-panel-open) .mapsplus-network-chip {
    background: rgba(30, 41, 59, 0.6) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body.dark-theme #tab-mapsplus-network .mapsplus-network-chip.active , body.dark-theme:not(.admin-panel-open) .mapsplus-network-chip.active {
    background: rgba(14, 165, 233, 0.2) !important;
    border-color: rgba(14, 165, 233, 0.5) !important;
    color: #38bdf8 !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

body.dark-theme #tab-mapsplus-network .mapsplus-search input, body.dark-theme:not(.admin-panel-open) .mapsplus-search input,
body.dark-theme #tab-mapsplus-network .mapsplus-search select , body.dark-theme:not(.admin-panel-open) .mapsplus-search select {
    background: rgba(2, 6, 23, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
}
body.dark-theme #tab-mapsplus-network .mapsplus-search input:focus , body.dark-theme:not(.admin-panel-open) .mapsplus-search input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2) !important;
}

body.dark-theme #tab-mapsplus-network .mapsplus-empty-editor p , body.dark-theme:not(.admin-panel-open) .mapsplus-empty-editor p { color: #94a3b8 !important; }

/* FIXES FOR LAYOUT SQUISH, MISSING BORDERS, AND SCROLLING */
#tab-mapsplus-network .mapsplus-admin-head {
    flex-shrink: 0 !important;
}

/* PREMIUM DARK MODE FOR ADMIN HEAD */
body.dark-theme #tab-mapsplus-network .mapsplus-admin-head , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-head {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(2, 6, 23, 0.95)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
body.dark-theme #tab-mapsplus-network .mapsplus-admin-head .mapsplus-admin-title , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-head .mapsplus-admin-title {
    color: #ffffff !important;
}
body.dark-theme #tab-mapsplus-network .mapsplus-admin-head .mapsplus-admin-kicker, body.dark-theme:not(.admin-panel-open) .mapsplus-admin-head .mapsplus-admin-kicker,
body.dark-theme #tab-mapsplus-network .mapsplus-admin-head .mapsplus-copy , body.dark-theme:not(.admin-panel-open) .mapsplus-admin-head .mapsplus-copy {
    color: #94a3b8 !important;
}

body.dark-theme #tab-mapsplus-network .mapsplus-network-metric.navy , body.dark-theme:not(.admin-panel-open) .mapsplus-network-metric.navy { 
    box-shadow: inset 4px 0 0 #8b5cf6, inset 0 1px 0 rgba(255, 255, 255, 0.05) !important; 
    border-left-color: #8b5cf6 !important;
}

#tab-mapsplus-network .mapsplus-provider-list {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}
