        :root {
            --ink: #172536;
            --muted: #617184;
            --line: #d9e0e7;
            --bg: #f3f6f9;
            --card: #fff;
            --blm: #2f855a;
            --blm-soft: #e7f3eb;
            --fs: #2864a5;
            --fs-soft: #e9f1fa;
            --amber: #b7791f;
            --amber-soft: #fff5df
        }

        * {
            box-sizing: border-box
        }

        body {
            margin: 0;
            background: var(--bg);
            color: var(--ink);
            font: 14px/1.45 Arial, Helvetica, sans-serif
        }

        header {
            background: #142b43;
            color: white;
            padding: 22px max(22px, calc((100% - 1240px)/2));
        }

        .brand {
            font-size: 12px;
            letter-spacing: 1.8px;
            text-transform: uppercase;
            color: #c5d4e2;
            font-weight: 700
        }

        h1 {
            font-size: 25px;
            margin: 5px 0 3px;
            letter-spacing: .3px
        }

        .sub {
            color: #d4e0eb
        }

        .wrap {
            max-width: 1240px;
            margin: 22px auto;
            padding: 0 20px
        }

        .notice {
            background: #fff8e8;
            border: 1px solid #f0dcae;
            border-radius: 9px;
            padding: 10px 14px;
            color: #76551b;
            margin-bottom: 16px
        }

        .topline {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 14px
        }

        .stamp {
            color: var(--muted);
            font-size: 12px
        }

        .pill {
            display: inline-block;
            border-radius: 30px;
            padding: 4px 9px;
            font-size: 11px;
            font-weight: 700;
            background: #e8eef4;
            color: #40566b
        }

        .metrics {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-bottom: 18px
        }

        .metric {
            background: var(--card);
            border: 1px solid var(--line);
            border-radius: 12px;
            padding: 15px 17px
        }

        .metric .label {
            font-size: 12px;
            color: var(--muted);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .7px
        }

        .metric .num {
            font-size: 30px;
            font-weight: 750;
            margin-top: 3px
        }

        .metric.blm {
            border-top: 4px solid var(--blm)
        }

        .metric.fs {
            border-top: 4px solid var(--fs)
        }

        .metric.total {
            border-top: 4px solid #68788a
        }

        .section {
            font-size: 15px;
            margin: 22px 0 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px
        }

        .mapbox {
            background: white;
            border: 1px solid var(--line);
            border-radius: 12px;
            padding: 14px;
            margin-bottom: 20px
        }

        .map {
            width: 100%;
            height: 220px;
            background: #f7f9fb;
            border-radius: 8px;
            display: block
        }

        .legend {
            display: flex;
            gap: 18px;
            flex-wrap: wrap;
            font-size: 12px;
            color: var(--muted);
            margin-top: 10px
        }

        .dot {
            display: inline-block;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            margin-right: 6px
        }

        .area {
            background: #e8edf2;
            padding: 9px 13px;
            font-weight: 700;
            border-radius: 8px;
            margin: 18px 0 9px;
            display: flex;
            justify-content: space-between
        }

        .base {
            background: white;
            border: 1px solid var(--line);
            border-radius: 12px;
            margin-bottom: 12px;
            overflow: hidden
        }

        .basehead {
            padding: 13px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            border-bottom: 1px solid var(--line);
            flex-wrap: wrap
        }

        .basename {
            font-size: 16px;
            font-weight: 750
        }

        .meta {
            color: var(--muted);
            font-size: 12px;
            margin-top: 2px
        }

        .basegrid {
            display: grid;
            grid-template-columns: 1.1fr 1.1fr .9fr 1fr 1.35fr;
            gap: 0
        }

        .cell {
            padding: 12px 14px;
            border-right: 1px solid var(--line);
            min-width: 0
        }

        .cell:last-child {
            border-right: 0
        }

        .celltitle {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: .65px;
            color: var(--muted);
            font-weight: 700;
            margin-bottom: 8px
        }

        .agencies {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 7px
        }

        .agency {
            border-radius: 8px;
            padding: 8px 9px;
            min-height: 60px
        }

        .agency.blm {
            background: var(--blm-soft);
            border-left: 3px solid var(--blm)
        }

        .agency.fs {
            background: var(--fs-soft);
            border-left: 3px solid var(--fs)
        }

        .agency strong {
            display: block;
            font-size: 11px;
            color: var(--muted)
        }

        .agency strong {
            font-size: 21px
        }

        .value {
            font-size: 14px;
            font-weight: 650
        }

        .muted {
            color: var(--muted);
            font-weight: 400;
            font-size: 12px
        }

        .notes {
            font-size: 12px;
            line-height: 1.55
        }

        .notes strong {
            color: #34475a
        }

        .notes p {
            margin: 0 0 7px
        }

        .notes .blank {
            color: #8996a3
        }

        details {
            border-top: 1px solid var(--line);
            padding: 0 15px
        }

        summary {
            cursor: pointer;
            padding: 10px 0;
            color: #36536f;
            font-weight: 700;
            font-size: 12px
        }

        .detailgrid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            padding: 0 0 14px
        }

        .detail {
            background: #f7f9fb;
            border-radius: 8px;
            padding: 10px;
            font-size: 12px
        }

        .detail strong {
            display: block;
            margin-bottom: 4px;
            color: #43576b
        }

        .admin {
            margin-top: 24px;
            background: #fff;
            border: 1px dashed #9baaba;
            border-radius: 12px;
            padding: 15px
        }

        .admin h3 {
            margin: 0 0 5px
        }

        .admin p {
            margin: 0;
            color: var(--muted);
            font-size: 12px
        }

        button {
            border: 1px solid #b9c6d2;
            background: #fff;
            color: #29445f;
            padding: 8px 11px;
            border-radius: 7px;
            font-weight: 700;
            cursor: pointer
        }

        button.primary {
            background: #1d496f;
            color: #fff;
            border-color: #1d496f
        }

        footer {
            padding: 18px 0 30px;
            color: #7b8997;
            font-size: 11px
        }

        @media(max-width:850px) {
            .basegrid {
                grid-template-columns: 1fr 1fr
            }

            .cell:nth-child(2) {
                border-right: 0
            }

            .cell:nth-child(3) {
                border-top: 1px solid var(--line)
            }

            .cell:nth-child(4) {
                border-top: 1px solid var(--line)
            }

            .cell:nth-child(5) {
                grid-column: 1/-1;
                border-top: 1px solid var(--line);
                border-right: 0
            }

            .detailgrid {
                grid-template-columns: 1fr 1fr
            }
        }

        @media(max-width:540px) {
            .metrics {
                grid-template-columns: 1fr 1fr
            }

            .metric.total {
                grid-column: 1/-1
            }

            .basegrid {
                grid-template-columns: 1fr 1fr
            }

            .cell {
                padding: 10px
            }

            .detailgrid {
                grid-template-columns: 1fr
            }

            .map {
                height: 170px
            }
        }