/* =========================================================
   MS TERRITORIAL NAVIGATION — R12
   ========================================================= */

.ms-r12-search-host {
    position: relative;
}

.ms-r12-search-results {
    position: absolute;
    z-index: 1500;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: 390px;
    overflow: auto;
    padding: 7px;
    border: 1px solid rgba(7,29,53,.12);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(7,29,53,.18);
}

.ms-r12-search-result {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #071d35;
    text-align: left;
    cursor: pointer;
}

.ms-r12-search-result:hover {
    background: #f1f6fa;
}

.ms-r12-search-result strong {
    font-size: 14px;
}

.ms-r12-search-result span {
    color: #687789;
    font-size: 11px;
}

.ms-r12-search-empty {
    padding: 14px;
    color: #687789;
    font-size: 12px;
}


.ms-r12-entity-sheet {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(7,29,53,.10);
}

.ms-r12-sheet-head {
    padding: 17px;
    border-radius: 15px;
    background: #f4f7fa;
}

.ms-r12-type {
    display: inline-block;
    margin-bottom: 6px;
    color: #ef2b10;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ms-r12-sheet-head h2 {
    margin: 0;
    color: #071d35;
    font-size: 21px;
    line-height: 1.15;
}

.ms-r12-sheet-head p {
    margin: 7px 0 0;
    color: #687789;
    font-size: 12px;
}


.ms-r12-meta {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.ms-r12-meta > div {
    padding: 11px 12px;
    border: 1px solid rgba(7,29,53,.09);
    border-radius: 11px;
}

.ms-r12-meta span {
    display: block;
    margin-bottom: 4px;
    color: #7c8794;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ms-r12-meta strong,
.ms-r12-meta button {
    color: #071d35;
    font-size: 12px;
    font-weight: 850;
}

.ms-r12-meta button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.ms-r12-meta button:hover {
    color: #0b4778;
    text-decoration: underline;
}


.ms-r12-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 13px 0 18px;
}

.ms-r12-actions button {
    min-height: 42px;
    padding: 10px 13px;
    border-radius: 10px;
    font-weight: 850;
    cursor: pointer;
}

.ms-r12-map-action {
    border: 0;
    background: #0b4778;
    color: #fff;
}

.ms-r12-national-action {
    border: 1px solid rgba(7,29,53,.13);
    background: #fff;
    color: #0b4778;
}


.ms-r12-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    color: #071d35;
}

.ms-r12-section-title span {
    min-width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #edf3f8;
    color: #0b4778;
    font-size: 10px;
    font-weight: 900;
}


.ms-r12-child-list {
    display: grid;
    gap: 7px;
    max-height: 300px;
    overflow: auto;
}

.ms-r12-child-list button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 11px;
    border: 1px solid rgba(7,29,53,.10);
    border-radius: 10px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.ms-r12-child-list button:hover {
    border-color: #0b4778;
    background: #f5f9fc;
}

.ms-r12-child-list strong {
    color: #071d35;
    font-size: 12px;
}

.ms-r12-child-list span {
    flex: 0 0 auto;
    color: #687789;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.ms-r12-empty {
    margin: 0;
    color: #687789;
    font-size: 11px;
    line-height: 1.55;
}

/* END MS TERRITORIAL NAVIGATION — R12 */
