        html,
        body {
            margin: 0;
            padding: 0;
            height: 100%;
        }

        .nt-map-wrapper {
            margin-top: 0;
            padding-top: 0;
        }

        .swm-container:has(.nt-map-wrapper) {
            max-width: none;
            width: 100%;
        }

        /*---- DASHBOARD ----*/
        .nt-dashboard {
            width: 100%;
            max-width: none;

            box-sizing: border-box;

            font-family: Arial, sans-serif;
        }

        .nt-dashboard-header {
            padding: 15px 20px;

            border-bottom: 1px solid #ddd;

            background: #fff;
        }


        .nt-dashboard-header h2 {
            margin: 0;

            font-size: 22px;
            line-height: 1.3;
        }

        .nt-dashboard-body {
            display: grid;

            grid-template-columns: 240px minmax(0, 1fr);

            width: 100%;

            min-height: 700px;
        }


        .nt-dashboard-sidebar {
            width: 100%;

            padding: 20px 15px;

            background: #fff;

            border-right: 1px solid #ddd;

            box-sizing: border-box;

            overflow-y: auto;
        }


        .nt-dashboard-map {
            position: relative;

            min-width: 0;
            min-height: 700px;

            overflow: hidden;
        }

        .nt-dashboard-section {
            padding: 0 0 1em 0;
            margin-bottom: 1em;
            border-bottom: 1px solid #e5e5e5;
        }

        .nt-dashboard-section-title {
            margin:5px 0;
            line-height: 1.4;
            text-transform: uppercase;
        }

/* =========================================
   LEGEND
========================================= */

        #nt-legend {
            display: flex;
            flex-direction: column;

            gap: 8px;
        }

        .nt-legend-item {
            display: flex;

            align-items: flex-start;

            gap: 8px;

            font-size: 12px;

            line-height: 1.4;
        }

        .nt-legend-symbol {
            flex: 0 0 auto;

            width: 14px;
            height: 14px;

            margin-top: 2px;

            border: 1px solid rgba(0, 0, 0, 0.25);

            box-sizing: border-box;
        }

        .nt-legend-label {
            min-width: 0;
            overflow-wrap: break-word;
        }

        #nt-map {
            width: 100%;
            height: calc(100vh - 150px);
            min-height: 600px;
        }

        #nt-jurisdiction-control {
            width: 100%;

            margin: 0;
            padding: 0;

            box-sizing: border-box;
        }


        #nt-jurisdiction-control label {
            display: block;

            margin-bottom: 6px;

            font-size: 11px;

            font-weight: 600;
        }


        #nt-jurisdiction-select {
            display: block;

            width: 100%;

            padding: 8px 9px;

            border: 1px solid #ccc;

            border-radius: 4px;

            background: #fff;

            box-sizing: border-box;

            font-size: 13px;
        }

        #nt-layer-filter {
            width: 100%;

            margin: 0;
            padding: 0;

            box-sizing: border-box;
        }
        /*---- DASHBOARD ----*/

        .nt-info-panel {
            position: absolute;

            z-index: 1000;

            top: 20px;
            right: 20px;

            width: 360px;
            max-width: calc(100% - 40px);

            background: white;

            padding: 20px;

            border-radius: 6px;

            box-shadow:
                0 4px 20px rgba(0, 0, 0, 0.2);

            font-family:
                Arial,
                sans-serif;

            display: none;

            max-height: calc(100vh - 40px);

            overflow: hidden;

            box-sizing: border-box;
        }

        .nt-info-panel.visible {
            display: block;
        }


        #nt-info-panel-title {
            margin-top: 0;
            padding-right: 30px;
            font-size:22px;
        }

        #nt-info-panel-title-wrapper {
            display: flex;
            align-items: center; 
            justify-content: space-between; 
            gap: 1rem; 
        }

        .nt-close-button:hover {
            opacity: 0.6;
            background:#252628;
            color:#ffffff;
        }

        #nt-info-content {
            max-height: calc(40vh - 140px);

            overflow-y: auto;
            overflow-x: hidden;

            overflow-wrap: break-word;
            scrollbar-width: thin;

            box-sizing: border-box;
        }

        .nt-info-panel dl {
            margin: 0;
            padding: 0;
        }

        .nt-info-row {
            display: grid;

            grid-template-columns:
                150px
                minmax(0, 1fr);

            column-gap: 12px;

            padding:
                6px
                5px;

            border-radius: 4px;

            align-items: start;

            box-sizing: border-box;
        }

        .nt-info-row:nth-child(odd) {
            background: #f7f7f7;
        }

        .nt-info-row:nth-child(even) {
            background: #ffffff;
        }

        .nt-info-panel dt {
            margin: 0;
            padding: 0;
            font-size: 18px;
            font-weight: bold;
            width: auto;
            max-width: none;
            line-height: 1.4;
            overflow-wrap: break-word;
        }

        .nt-info-panel dd {
            margin: 0;
            padding: 0;
            min-width: 0;
            font-size: 18px;
            line-height: 1.4;
            width: auto;
            overflow-wrap: break-word;
            word-break:break-word;

        }

        .nt-info-panel dd a {
            overflow-wrap: break-word;
            word-break: break-word;
            text-decoration: none;

            background-image: linear-gradient(
                to right,
                currentColor,
                currentColor
            );

            background-size: 100% 1px;
            background-position: 0 100%;
            background-repeat: no-repeat;

            padding-bottom: 2px;
            opacity: 1;

            transition: opacity 0.2s ease;
        }

        .nt-info-panel dd a:hover {
            opacity: 0.5;
        }

        @media (max-width: 600px) {
            .nt-info-panel {
                top: 10px;
                right: 10px;

                width: calc(100% - 20px);

                max-width: none;

                padding: 15px;
            }

            #nt-info-content {
                max-height: calc(100vh - 120px);
            }

            .nt-info-row {
                grid-template-columns:
                    100px
                    minmax(0, 1fr);

                column-gap: 8px;
            }
        }

        .nt-close-button {
            color: black;
            padding: 0.4em;
            border: 0;
            background: transparent;
            font-size: 20px;
            cursor: pointer;
        }

        .nt-loading {
            position: absolute;

            z-index: 2000;

            top: 20px;
            left: 50%;

            transform:
                translateX(-50%);

            background: white;

            padding: 10px 16px;

            border-radius: 4px;

            box-shadow:
                0 2px 10px rgba(0, 0, 0, 0.15);

            font-family: Arial, sans-serif;

            display: none
        }

        .nt-loading.visible {
            display: block;
        }

        #nt-layer-header {
            /* margin-left: auto;
            margin-right: 0; */
            display: flex;
            align-items: center;
            justify-content: space-between;
            /* width: auto;
            max-width: 6vw;
            height: auto;
            max-height: 3vh; */
            padding: 0 8px;
            background: rgba(255, 255, 255, 0.95);
            /* box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25); */
            cursor: pointer;
            user-select: none;
            transition: background 120ms ease;
        }

        #nt-layer-header:hover {
            opacity: 0.6;
        }

        #nt-layer-toggle {
            margin: 5px 0;
            font-size: 20px;
            line-height: 1;
            transition: transform 180ms ease;
        }

        #nt-layer-list {
            width: auto;
            max-width: 20vw;
            margin-top: 4px;
            padding: 4px;
            box-sizing: border-box;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 4px;
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
            max-height: 280px;
            overflow: hidden;
            opacity: 1;
            transform: translateY(0);
            transition: max-height 180ms ease, opacity 140ms ease, transform 180ms ease;
            font-size: 16px;
        }

        #nt-layer-list.collapsed {
            max-height: 0;
            opacity: 0;

            margin-top: 0;
            padding-top: 0;
            padding-bottom: 0;

            transform: translateY(-4px);

            pointer-events: none;
        }

        .nt-layer-option {
            display: flex;
            align-items: center;

            gap: 6px;

            padding: 4px 5px;

            line-height: 1.2;

            cursor: pointer;
            user-select: none;

            border-radius: 3px;
        }

        .nt-layer-option:hover {
            background: rgba(0, 0, 0, 0.05);
        }

        .nt-layer-option:active {
            transition: color 500ms ease-in-out, background 500ms, ease-in-out;
            background: transparent;
            color:transparent;
        }

        .nt-layer-option input[type="checkbox"] {
            appearance: none;

            width: 14px;
            height: 14px;

            margin: 0;

            flex: 0 0 14px;

            border: 1px solid #777;
            border-radius: 2px;

            background: #fff;

            cursor: pointer;

            position: relative;
        }

        .nt-layer-option input[type="checkbox"]:checked {
            background: #333;
            border-color: #333;
        }

        .nt-layer-option input[type="checkbox"]:checked::after {
            content: "";

            position: absolute;

            left: 3px;
            top: 0px;

            width: 4px;
            height: 8px;

            border: solid white;
            border-width: 0 1.5px 1.5px 0;

            transform: rotate(45deg);
        }

        .nt-layer-option span {
            flex: 1;
        }

        .nt-tribunal-tooltip {
            font-family: sans-serif, arial;
            font-size: 11px;
            background: none;
            color: #333;
            font-weight: 500;
            text-shadow:
                -1px -1px 0 #fff,
                1px -1px 0 #fff,
                -1px  1px 0 #fff,
                1px  1px 0 #fff,
                0   -1px 0 #fff,
                0    1px 0 #fff,
                -1px  0   0 #fff,
                1px  0   0 #fff;
            border: none;
            pointer-events: none;
            user-select: none;
            box-shadow: none;
        }

        .hover-over {
            cursor:crosshair;
        }

        .nt-tribunal-tooltip::before {
            display: none;
        }
