#map-wrap { position: relative !important; }
    .map-legend-box {
      position: static !important; margin: 0 !important; width: 100%;
      border: none !important; border-top: 1px solid #e6eef1 !important;
      border-radius: 0 !important; box-shadow: none !important;
      background: #fafcfd !important; padding: 8px 18px !important;
      display: flex !important; flex-wrap: wrap; align-items: center;
      justify-content: space-between; gap: 16px; pointer-events: auto !important;
    }
    .map-legend-box.hidden-leg { display: none !important; }
    .map-legend-box .lsci-rows { flex-direction: row !important; flex-wrap: wrap; gap: 10px !important; }
    .map-legend-box > div:not(:first-child) .leg-title br { display: none; }
    .map-legend-box .leg-title { margin-bottom: 3px !important; }
    .active-svc-banner {
      scroll-margin-top: 80px;
      position: static !important; max-width: none !important; width: 100%;
      border-radius: 0 !important; box-shadow: none !important;
      padding: 8px 18px !important; background: #10242b !important;
    }
    .map-net-switch-btn {
      border: 1px solid #b7d4cd; background: #f1faf8; color: #045a49;
      padding: 3px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 700;
      cursor: pointer; font-family: inherit; white-space: nowrap; transition: all 0.14s;
    }
    .map-net-switch-btn:hover { background: #045a49; color: #ffffff; border-color: #045a49; }
    .map-net-switch-btn.is-net {
      border-color: #f3c28c; background: #fff6ec; color: #b85600;
    }
    .map-net-switch-btn.is-net:hover { background: #e66a00; color: #ffffff; border-color: #e66a00; }

    /* =========================================================================
       v31 Hotspot Port Cluster Quick-Jump (`港群 ▾`) & Click Disambiguation Popover
       ========================================================================= */
    .zoom-controls { align-items: flex-start; z-index: 22 !important; }
    .cluster-jump-wrap { position: relative; margin-top: 2px; }
    .cluster-jump-btn {
      width: auto !important; min-width: 54px; height: 30px !important;
      padding: 0 8px !important; border-radius: 8px;
      border: 1px solid #b7d4cd !important;
      background: rgba(244, 250, 248, 0.95) !important;
      color: #045a49 !important; font-size: 11.5px !important; font-weight: 700 !important;
      font-family: inherit; white-space: nowrap; gap: 3px;
      box-shadow: 0 2px 6px rgba(16, 36, 43, 0.08);
      transition: all 0.14s;
    }
    .cluster-jump-btn:hover, .cluster-jump-btn.open {
      background: #045a49 !important; color: #ffffff !important; border-color: #045a49 !important;
    }
    .cluster-jump-menu {
      position: absolute; top: 0; left: calc(100% + 7px);
      width: 206px; background: #ffffff;
      border: 1px solid #cfdce0; border-radius: 10px;
      box-shadow: 0 10px 26px rgba(16, 36, 43, 0.16);
      padding: 5px; z-index: 38;
      display: none; flex-direction: column; gap: 2px;
    }
    .cluster-jump-menu.open { display: flex; }
    .cluster-jump-head {
      font-size: 10.5px; font-weight: 700; color: #60757d;
      padding: 4px 7px 5px; border-bottom: 1px solid #ecf2f4; margin-bottom: 2px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .cluster-jump-item {
      border: none; background: transparent; width: 100%; text-align: left;
      padding: 6px 8px; border-radius: 6px; cursor: pointer; font-family: inherit;
      display: flex; align-items: center; justify-content: space-between; gap: 6px;
      font-size: 12px; font-weight: 600; color: #10242b; transition: background 0.12s, color 0.12s;
    }
    .cluster-jump-item:hover { background: #e3f4f0; color: #045a49; }
    .cluster-jump-k {
      font-size: 10.5px; font-weight: 600; color: #6e828a;
      font-variant-numeric: tabular-nums; background: #f4f8f7;
      padding: 1px 5px; border-radius: 4px;
    }
    .cluster-jump-item:hover .cluster-jump-k { background: #ffffff; color: #045a49; }

    /* Port Cluster Disambiguation Popover (#port-cluster-popover) */
    .port-cluster-popover {
      position: absolute; width: 296px; max-width: calc(100% - 20px);
      background: #ffffff; border: 1px solid #cbd9de; border-radius: 10px;
      box-shadow: 0 12px 30px rgba(16, 36, 43, 0.18);
      z-index: 40; overflow: hidden; pointer-events: auto;
    }
    .pcp-head {
      display: flex; align-items: center; justify-content: space-between; gap: 8px;
      padding: 8px 11px; background: #f4f8f7; border-bottom: 1px solid #e1ecef;
      font-size: 12px; font-weight: 700; color: #10242b;
    }
    .pcp-head b { color: #045a49; font-weight: 800; }
    .pcp-close {
      border: none; background: transparent; color: #5b7179;
      font-size: 15px; font-weight: 700; line-height: 1; padding: 2px 5px;
      border-radius: 4px; cursor: pointer; font-family: inherit;
    }
    .pcp-close:hover { background: #fff3e3; color: #b85600; }
    .pcp-list {
      max-height: 262px; overflow-y: auto; padding: 4px;
      display: flex; flex-direction: column; gap: 1px;
    }
    .pcp-item {
      border: 1px solid transparent; background: #ffffff; width: 100%; text-align: left;
      padding: 5px 8px; border-radius: 7px; cursor: pointer; font-family: inherit;
      display: flex; align-items: center; justify-content: space-between; gap: 8px;
      transition: background 0.12s, border-color 0.12s;
    }
    .pcp-item:hover { background: #f4f8f7; border-color: #c2ddd6; }
    .pcp-item.is-selected { background: #e3f4f0; border-color: #045a49; }
    .pcp-name-wrap { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
    .pcp-zh-row { display: flex; align-items: center; gap: 5px; min-width: 0; }
    .pcp-zh { font-size: 12.5px; font-weight: 700; color: #10242b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pcp-item:hover .pcp-zh, .pcp-item.is-selected .pcp-zh { color: #045a49; }
    .pcp-en { font-size: 10.5px; color: #6e828a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pcp-cur-tag {
      font-size: 9.5px; font-weight: 700; padding: 0 4px; border-radius: 3px;
      background: #045a49; color: #ffffff; flex-shrink: 0;
    }
    .pcp-metrics {
      font-size: 11px; font-weight: 600; color: #4e656d;
      font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0;
    }
    .pcp-metrics b { color: #b85600; font-weight: 700; }
    .pcp-foot {
      padding: 6px 8px 8px; border-top: 1px solid #e6eef0; background: #fafcfc;
    }
    .pcp-zoom-btn {
      width: 100%; border: 1px solid #b7d4cd; background: #f1faf8; color: #045a49;
      padding: 6px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 700;
      cursor: pointer; font-family: inherit; transition: all 0.14s;
      display: flex; align-items: center; justify-content: center; gap: 5px;
    }
    .pcp-zoom-btn:hover { background: #045a49; color: #ffffff; border-color: #045a49; }

    /* =========================================================================
       v31 Tab 1「① 格局与船型」Smart Context-Aware Sub-Region Pills & Drawer
       ========================================================================= */
    .drill-tabs { grid-template-columns: repeat(4, 1fr) !important; }
    .d-tab {
      padding: 9px 3px !important; font-size: 11.5px !important;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      font-variant-numeric: tabular-nums;
    }
    .subreg-pills-wrap {
      display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px;
    }
    .subreg-pill {
      border: 1px solid #d5e1e5; background: #ffffff; color: #10242b;
      border-radius: 8px; padding: 5px 9px; cursor: pointer; font-family: inherit;
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11.5px; font-weight: 600; line-height: 1.35;
      transition: all 0.13s; max-width: 100%;
    }
    .subreg-pill:hover { border-color: #177864; background: #f4f8f7; color: #045a49; }
    .subreg-pill.active {
      border-color: #045a49; background: #e3f4f0; color: #045a49; font-weight: 700;
      box-shadow: 0 1px 4px rgba(4, 90, 73, 0.10);
    }
    .subreg-pill-meta {
      font-size: 10.5px; font-weight: 600; color: #60757d;
      font-variant-numeric: tabular-nums; white-space: nowrap;
    }
    .subreg-pill.active .subreg-pill-meta { color: #045a49; }
    .subreg-drawer-toggle {
      width: 100%; border: 1px dashed #c5d5da; background: #f9fbfb; color: #3e5860;
      border-radius: 8px; padding: 7px 11px; font-size: 11.5px; font-weight: 600;
      cursor: pointer; font-family: inherit; transition: all 0.13s;
      display: flex; align-items: center; justify-content: space-between; gap: 8px;
    }
    .subreg-drawer-toggle:hover {
      border-color: #045a49; background: #f1faf8; color: #045a49;
    }
    .subreg-more-btn {
      margin-top: 6px; width: 100%; border: 1px solid #dde6e9; background: #f8fbfb;
      color: #045a49; border-radius: 7px; padding: 5px 10px; font-size: 11.5px; font-weight: 600;
      cursor: pointer; font-family: inherit; transition: all 0.13s;
    }
    .subreg-more-btn:hover { background: #e3f4f0; border-color: #045a49; }
    #pane-overview .sub-item.active {
      border-color: #045a49 !important; background: #e3f4f0 !important;
    }
    #pane-overview .sub-item.active .sub-top > span:first-child { color: #045a49; }

    /* =========================================================================
       v31 Upgrade III: 12.5K Cool-Warm Dual Palette (Scheme B) for Tab 2 & Tab 1
       ========================================================================= */
    .size-legend-row {
      display: flex; flex-direction: column; align-items: stretch; gap: 5px;
      margin: 0 0 11px !important;
    }
    .size-legend-dual {
      display: grid;
      grid-template-columns: minmax(0, 1.68fr) 1px minmax(0, 1fr);
      align-items: stretch; gap: 9px;
      background: #f8fafb; border: 1px solid #e2eaee;
      border-radius: 8px; padding: 7px 9px;
    }
    .size-leg-group {
      display: flex; flex-direction: column; gap: 4px; min-width: 0;
    }
    .size-leg-grp-title {
      font-size: 10.5px; font-weight: 800; letter-spacing: 0.01em;
      display: flex; align-items: center; gap: 4px;
    }
    .size-leg-grp-title.cool { color: #266580; }
    .size-leg-grp-title.warm { color: #B04A13; }
    .size-leg-items {
      display: flex; flex-wrap: wrap; align-items: center; gap: 3px 7px;
      font-size: 10px; color: #334155; font-variant-numeric: tabular-nums;
    }
    .size-leg-items .item {
      display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
    }
    .size-leg-items .item i {
      display: inline-block; width: 10px; height: 10px; border-radius: 2.5px;
      box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.10); flex-shrink: 0;
    }
    .size-leg-divider {
      width: 1px; background: #cbd5e1; align-self: stretch;
    }
    .size-legend-foot {
      display: flex; align-items: center; justify-content: space-between; gap: 8px;
      font-size: 10.5px; color: #64748b; padding: 0 2px;
    }

    /* Tab 2 Stacked Bar White Seams (1px standard, 2.5px at 12.5K boundary) */
    #carrier-list .bar-track {
      background: #edf2f4; border-radius: 7px; overflow: hidden;
    }
    #carrier-list .bar-fill {
      background: #ffffff; border-radius: 7px; overflow: hidden;
    }
    #carrier-list .bar-fill .seg + .seg {
      margin-left: 1px;
    }
    #carrier-list .bar-fill .seg.cut-125k {
      margin-left: 2.5px !important;
    }

    /* Neutral Slate .slot-pill in Tab 2 so warm amber-copper belongs exclusively to >=12.5K ships */
    #carrier-list .slot-pill, .slot-pill {
      background: #F1F5F9 !important;
      color: #475569 !important;
      border: 1px solid #E2E8F0 !important;
      padding: 1px 6px !important;
      border-radius: 4px !important;
      font-weight: 600 !important;
      font-size: 10.5px !important;
    }

    /* Tab 1 Unified 8-Bin Dual Palette Rows */
    .size-grp-subhead {
      display: flex; align-items: center; justify-content: space-between;
      font-size: 10.5px; font-weight: 700; padding: 2px 1px 1px;
      font-variant-numeric: tabular-nums;
    }
    .size-grp-subhead.cool { color: #266580; }
    .size-grp-subhead.warm { color: #B04A13; }
    .size-grp-subhead .subhead-stat {
      font-weight: 600; color: #64748b; font-size: 10.5px;
    }
    .size-grp-divider {
      border-top: 1px dashed #cbd5e1; margin: 5px 0 3px;
    }
    #size-rows .size-row {
      grid-template-columns: 94px 1fr 106px !important;
    }
    #size-rows .size-lbl {
      display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
    }
    #size-rows .size-dot {
      width: 7px; height: 7px; border-radius: 2px; flex-shrink: 0;
      box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
    }
    #size-rows .size-fill.light-cool {
      box-shadow: inset 0 0 0 1px rgba(30, 58, 76, 0.14);
    }

    /* Tab 2 Pinned Selected Carrier Row */
    .carrier-row.pinned-top {
      border-color: #045a49; border-left: 3.5px solid #045a49;
      background: #f1faf8; box-shadow: 0 2px 8px rgba(4, 90, 73, 0.08);
    }
    .cur-sel-badge {
      font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px;
      background: #045a49; color: #ffffff; white-space: nowrap;
    }
    .pinned-carrier-sep {
      font-size: 10.5px; color: #6e828a; padding: 2px 2px 0;
      display: flex; align-items: center; gap: 8px;
    }
    .pinned-carrier-sep::after {
      content: ""; flex: 1; height: 1px; background: #e3ecee;
    }

    /* Tab 4 Connected Port Cards */
    .conn-card {
      border: 1px solid #dde6e9; border-radius: 9px; padding: 8px 10px;
      background: #fff; display: flex; justify-content: space-between; align-items: center;
      gap: 8px; transition: all 0.13s; cursor: pointer;
    }
    .conn-card:hover { border-color: #ff6d00; background: #fffaf4; }
    .conn-card.pair-active { border-color: #045a49; background: #e3f4f0; }
    .conn-actions { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; }
    .adj-badge {
      font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px;
      background: #fff0e0; color: #c24b00; white-space: nowrap;
    }
    .pair-btn {
      border: 1px solid #0b6e5b; background: #f1faf8; color: #045a49;
      padding: 3px 7px; border-radius: 5px; font-size: 10.5px; font-weight: 700;
      cursor: pointer; white-space: nowrap; font-family: inherit; transition: all 0.13s;
    }
    .pair-btn:hover, .pair-btn.active { background: #045a49; color: #fff; border-color: #045a49; }
    .pivot-btn {
      border: 1px solid #c7d6dc; background: #ffffff; color: #3e5860;
      padding: 3px 7px; border-radius: 5px; font-size: 10.5px; font-weight: 600;
      cursor: pointer; white-space: nowrap; font-family: inherit; transition: all 0.13s;
    }
    .pivot-btn:hover { border-color: #ff6d00; background: #fff6ec; color: #c24b00; }
    .corr-tile.zero-dim { opacity: 0.42; }
    .corr-tile-share { white-space: nowrap; flex-shrink: 0; }

    /* =========================================================================
       Tab 3 Visual Overhaul (v30): Unified Teal/Orange Palette & 3-Tier Hierarchy
       ========================================================================= */
    #pane-services .filter-toolbar { margin-bottom: 6px; }
    #pane-services #carrier-role-bar { margin-top: 0 !important; margin-bottom: 4px; }
    #svc-list.svc-list { display: flex; flex-direction: column; gap: 2px; }

    .svc-acc-toolbar {
      display: flex; align-items: center; justify-content: space-between; gap: 8px;
      padding: 4px 2px 6px; margin: 0 0 2px;
      background: transparent; border: none; border-radius: 0;
      font-size: 11.5px; color: #60757d; font-variant-numeric: tabular-nums;
    }
    .svc-acc-summary { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .svc-acc-summary b { color: #10242b; font-weight: 700; }
    .svc-acc-btns { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
    .svc-acc-sep { color: #c4d2d7; font-size: 11px; user-select: none; }
    .svc-acc-btn {
      border: none; background: transparent; color: #045a49;
      padding: 0; border-radius: 0; font-size: 11.5px; font-weight: 600;
      cursor: pointer; font-family: inherit; line-height: 1.4; transition: color 0.12s;
    }
    .svc-acc-btn:hover { color: #b85600; text-decoration: underline; text-underline-offset: 2px; }

    .grp-l1 {
      width: 100%; display: flex !important; align-items: center !important; justify-content: space-between;
      gap: 8px; padding: 10px 2px 6px !important; margin: 6px 0 2px !important;
      background: transparent !important; border: none !important;
      border-bottom: 1px solid #dde6e9 !important; border-radius: 0 !important;
      cursor: pointer; user-select: none;
      font-size: 13px !important; font-weight: 800 !important; color: #10242b !important;
    }
    .grp-l1:first-child { margin-top: 0 !important; }
    .grp-l1:hover .grp-l1-title { color: #045a49; }
    .grp-l1-left { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
    .grp-l1-title { color: #10242b; font-weight: 800; transition: color 0.12s; }
    .grp-l1 .grp-meta {
      font-size: 11.5px; font-weight: 500; color: #4e656d;
      font-variant-numeric: tabular-nums; white-space: nowrap;
    }

    .grp-body { display: flex; flex-direction: column; gap: 2px; margin: 0 0 4px !important; }
    .grp-body.is-hidden { display: none !important; }
    .corr-group-card {
      border: none !important; border-radius: 0 !important; background: transparent !important;
      box-shadow: none !important; margin: 0; padding: 0; overflow: visible;
    }
    .corr-group-card > .grp-l2 {
      width: 100%; display: flex !important; align-items: center !important; justify-content: space-between;
      gap: 10px; padding: 8px 6px !important; margin: 0 !important;
      background: #ffffff !important; border: none !important;
      border-bottom: 1px solid #edf2f4 !important; border-radius: 6px !important;
      color: #10242b !important; font-size: 12.8px !important; font-weight: 600 !important;
      cursor: pointer; transition: background 0.13s, color 0.13s;
    }
    .corr-group-card > .grp-l2:hover { background: #f4f8f7 !important; }
    .corr-group-card.is-open > .grp-l2 {
      background: #f4f8f7 !important; color: #045a49 !important; font-weight: 700 !important;
    }
    .grp-l2-left {
      display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 1;
      color: inherit;
    }
    .grp-l2-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .acc-chev {
      display: inline-block; font-size: 10.5px; line-height: 1; color: #6e828a;
      transition: transform 0.15s ease, color 0.15s ease; transform: rotate(0deg); flex-shrink: 0;
    }
    .acc-chev.open { transform: rotate(90deg); color: #045a49; }
    .grp-l2-right {
      display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
      font-size: 11.5px; font-weight: 500; color: #4e656d;
      font-variant-numeric: tabular-nums; white-space: nowrap;
    }
    .l2-slot-tag {
      background: #fff3e3; color: #b85600; border: none; border-radius: 4px;
      padding: 1px 5px; font-size: 10.5px; font-weight: 600; line-height: 1.35;
    }
    .corr-group-body {
      background: transparent; border: none;
      padding: 2px 0 6px 4px;
      display: flex; flex-direction: column; gap: 0;
    }

    #svc-list .svc-card {
      background: #ffffff;
      border: 1px solid #dde6e9;
      border-left: 3px solid #177864;
      border-radius: 8px;
      padding: 10px 12px;
      margin: 7px 0 0;
      overflow: visible;
      transition: border-color 0.14s, box-shadow 0.14s, background 0.14s;
    }
    #svc-list .svc-card.is-slot-only {
      border-left: 3px solid #f59e0b;
    }
    #svc-list .svc-card:hover:not(.plotted) {
      border-top-color: #bfd0d6;
      border-right-color: #bfd0d6;
      border-bottom-color: #bfd0d6;
      box-shadow: 0 2px 8px rgba(16, 36, 43, 0.05);
    }
    #svc-list .svc-card.plotted {
      border-color: #e66a00 !important;
      border-left: 3px solid #e66a00 !important;
      background: #fffcf8 !important;
    }

    .svc-row1 {
      display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
    }
    #svc-list .svc-title {
      font-size: 13px; font-weight: 700; color: #10242b; line-height: 1.38;
      min-width: 0; flex: 1;
    }
    #svc-list .btn-plot {
      margin-left: 0; flex-shrink: 0; white-space: nowrap;
      font-size: 11px; font-weight: 600; padding: 2px 8px;
      border: 1px solid #d5e0e4; color: #4e656d; background: #ffffff;
      border-radius: 5px; cursor: pointer; font-family: inherit; line-height: 1.4;
      transition: all 0.13s;
    }
    #svc-list .btn-plot:hover:not(.active) {
      background: #fff3e3; border-color: #efb87d; color: #b85600;
    }
    #svc-list .btn-plot.active {
      background: #e66a00; border-color: #e66a00; color: #ffffff;
    }

    #svc-list .svc-metrics {
      display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
      margin-top: 5px; font-size: 11.5px; color: #4e656d;
      font-variant-numeric: tabular-nums; line-height: 1.45;
    }
    #svc-list .svc-metrics b { color: #10242b; font-weight: 700; }
    .svc-sub-metric { color: #6e828a; font-size: 11px; font-weight: 400; }
    .svc-mini-badge {
      display: inline-block; font-size: 10.5px; font-weight: 700;
      padding: 1px 5px; border-radius: 4px; line-height: 1.35; white-space: nowrap;
    }
    .svc-mini-badge.prov { background: #e3f4f0; color: #045a49; }
    .svc-mini-badge.slot { background: #fff3e3; color: #b85600; }

    #svc-list .svc-partner {
      background: transparent !important; border: none !important;
      border-top: 1px solid #eef3f5 !important; border-radius: 0 !important;
      margin-top: 6px !important; padding: 6px 0 0 !important;
      display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px;
      font-size: 11px; color: #4e656d; line-height: 1.45; font-variant-numeric: tabular-nums;
    }
    .svc-partner-item { display: inline-flex; align-items: center; gap: 5px; min-width: 0; flex-wrap: wrap; }

    #svc-list .svc-rot {
      margin-top: 5px; font-size: 11.5px; color: #2c444d; line-height: 1.55;
      word-break: break-word;
    }
    #svc-list .svc-rot.no-partner-sep {
      border-top: 1px solid #eef3f5; margin-top: 6px; padding-top: 6px;
    }
    .port-link-tok {
      cursor: pointer; border-bottom: none; text-decoration: none;
      color: #2c444d; transition: color 0.12s, background 0.12s;
      border-radius: 3px;
    }
    .port-link-tok:hover {
      color: #b85600; text-decoration: underline; text-underline-offset: 2px; font-weight: 600;
    }
    .port-link-tok.is-focal {
      background: #fff3e3; color: #b85600; font-weight: 700; padding: 0 4px;
    }
    .port-link-tok.is-pair {
      background: #e3f4f0; color: #045a49; font-weight: 700; padding: 0 4px;
    }
    .port-arr { color: #b5c5cb; margin: 0 1px; font-weight: 400; user-select: none; }

    .preview-lock { margin-left: 12px; border: 1px solid #d5dbe3; background: #f4f7fa; color: #5c6775; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; align-self: center; }
    .pin-disclaimer { margin: 4px 0 0; color: #5c6775; font-size: 12px; line-height: 1.45; }
    .es-pool { cursor: default; outline: 1px dashed #9cb2ba; }
    .topbar { display: flex; align-items: center; }
      /* =========================================================================
       V33 Upgrade: Carrier Group Hierarchy (集团合并/独立品牌) & Multi-Select (多选)
       ========================================================================= */
    .v33-ms-btn {
      display: inline-flex; align-items: center; gap: 4px;
      border: 1px solid #c7d6dc; background: #ffffff; color: #3e5860;
      padding: 2.5px 8px; border-radius: 6px; font-size: 11px; font-weight: 600;
      cursor: pointer; font-family: inherit; white-space: nowrap; transition: all 0.13s;
      line-height: 1.35;
    }
    .v33-ms-btn:hover { border-color: #0b6e5b; color: #045a49; background: #f3faf8; }
    .v33-ms-btn.active {
      background: #045a49; border-color: #045a49; color: #ffffff;
      box-shadow: 0 1px 4px rgba(4, 90, 73, 0.18);
    }
    .v33-chk {
      display: inline-flex; align-items: center; justify-content: center;
      width: 14px; height: 14px; border-radius: 3.5px;
      border: 1.4px solid #9db2ba; background: #ffffff; color: transparent;
      font-size: 10px; font-weight: 800; line-height: 1; flex-shrink: 0;
      cursor: pointer; user-select: none; transition: all 0.12s;
    }
    .v33-chk:hover { border-color: #045a49; background: #f1faf8; }
    .v33-chk.checked { background: #045a49; border-color: #045a49; color: #ffffff; }
    .v33-chk.partial { background: #e3f4f0; border-color: #045a49; color: #045a49; }
    .strip-actions-right { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .corr-tile .v33-chk { margin-right: 4px; vertical-align: -2px; }
    .corr-tile-name { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
    .v33-carrier-modebar {
      display: flex; align-items: center; justify-content: space-between; gap: 6px;
      margin-bottom: 7px; flex-wrap: wrap;
    }
    .v33-seg-wrap {
      display: inline-flex; background: #edf3f5; border: 1px solid #d5e1e5;
      border-radius: 7px; padding: 2px; gap: 2px;
    }
    .v33-seg-item {
      border: none; background: transparent; color: #4a636b;
      padding: 3.5px 9px; border-radius: 5px; font-size: 11.5px; font-weight: 700;
      cursor: pointer; font-family: inherit; white-space: nowrap; transition: all 0.13s;
    }
    .v33-seg-item.active {
      background: #ffffff; color: #045a49;
      box-shadow: 0 1px 3px rgba(16, 36, 43, 0.09);
    }
    .v33-preset-bar { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
    .v33-preset-lbl { font-size: 10.5px; font-weight: 700; color: #647b83; white-space: nowrap; }
    .v33-preset-chip {
      border: 1px solid #d7e3e7; background: #f8fbfc; color: #355059;
      padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
      cursor: pointer; font-family: inherit; white-space: nowrap; transition: all 0.12s;
    }
    .v33-preset-chip:hover { border-color: #0b6e5b; background: #eef9f6; color: #045a49; }
    .v33-preset-chip.active { background: #045a49; border-color: #045a49; color: #ffffff; }
    .v33-combo-card {
      background: linear-gradient(180deg, #f1faf8 0%, #ffffff 100%);
      border: 1.5px solid #045a49; border-radius: 9px;
      padding: 9px 11px; margin-bottom: 8px;
      box-shadow: 0 2px 8px rgba(4, 90, 73, 0.08);
    }
    .v33-combo-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .v33-combo-title {
      font-size: 12px; font-weight: 800; color: #045a49;
      display: inline-flex; align-items: center; gap: 5px;
    }
    .v33-combo-teu { font-size: 13px; font-weight: 800; color: #10242b; font-variant-numeric: tabular-nums; }
    .v33-combo-meta { font-size: 11px; color: #3c565f; margin-top: 3px; font-variant-numeric: tabular-nums; }
    .v33-combo-bar {
      display: flex; height: 8px; border-radius: 4px; overflow: hidden;
      background: #e2ecef; margin-top: 6px; gap: 1px;
    }
    .v33-combo-seg { height: 100%; min-width: 3px; }
    .v33-combo-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
    .v33-combo-tag {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 10.5px; font-weight: 600; padding: 1.5px 6px; border-radius: 4px;
      background: #e5f4f0; color: #045a49; cursor: pointer; border: 1px solid #bce3da;
    }
    .v33-combo-tag:hover { background: #d2ece6; }
    .cr-zh-tag { font-size: 10.5px; font-weight: 600; color: #58727b; white-space: nowrap; }
    .cr-parent-tag {
      font-size: 10px; font-weight: 600; padding: 1px 5px; border-radius: 4px;
      background: #eef4f6; color: #47626b; border: 1px solid #d7e3e7; white-space: nowrap;
    }
    .grp-expand-btn {
      border: 1px solid #b8dcd4; background: #eef9f6; color: #045a49;
      padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700;
      cursor: pointer; font-family: inherit; white-space: nowrap; transition: all 0.12s;
    }
    .grp-expand-btn:hover, .grp-expand-btn.open { background: #045a49; color: #ffffff; border-color: #045a49; }
    .grp-subbrands-drawer {
      margin-top: 7px; padding-top: 6px; border-top: 1px dashed #cfe0e4;
      display: flex; flex-direction: column; gap: 4px;
    }
    .subbrand-row {
      display: flex; align-items: center; justify-content: space-between; gap: 6px;
      padding: 4.5px 7px; border-radius: 6px; background: #f7fafb;
      border: 1px solid #e3ecef; cursor: pointer; font-size: 11px; transition: all 0.12s;
    }
    .subbrand-row:hover { border-color: #0b6e5b; background: #eff9f6; }
    .subbrand-row.active { background: #e3f4f0; border-color: #045a49; font-weight: 600; }
    .subbrand-left { display: inline-flex; align-items: center; gap: 5px; min-width: 0; flex-wrap: wrap; }
    .subbrand-right { font-size: 10.5px; color: #435d66; font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
    .carrier-row.partial-active { border-color: #0b6e5b; background: #f6fcfb; }
    .v33-port-toolbar {
      display: flex; align-items: center; justify-content: space-between; gap: 6px;
      margin-bottom: 6px; flex-wrap: wrap;
    }
    .v33-port-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
    .v33-port-chip {
      display: inline-flex; align-items: center; gap: 4px;
      background: #ffffff; border: 1px solid #9ad0c4; color: #045a49;
      padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; cursor: pointer;
    }
    .v33-port-chip:hover { background: #fff0e6; border-color: #ff6d00; color: #c24b00; }
    .pcp-foot { display: flex !important; gap: 6px !important; align-items: center; }
    .pcp-foot .pcp-zoom-btn { flex: 1; }
    .pcp-batch-btn {
      flex: 1; border: 1px solid #045a49; background: #045a49; color: #ffffff;
      border-radius: 6px; padding: 5px 7px; font-size: 11px; font-weight: 700;
      cursor: pointer; font-family: inherit; white-space: nowrap; transition: all 0.13s;
    }
    .pcp-batch-btn:hover { background: #034437; }
    .f-chip.clear-all-chip { background: #fff3e8; border-color: #f3c196; color: #b84f00; font-weight: 700; }
    .f-chip.clear-all-chip:hover { background: #ffe5cf; }
