/* URI: /cip-code-lookup-directory */
/* Paths: /css/system-below.css,/css/layout-below.css,/css/dashboard/portal/default-below.css,/css/dashboard/cip/lookup.css */
/* File: /bundles/cbb_19f7161508f72665b04e3b3e7df829bf_186011e8.css */
/* Created CSS File: 2026-11-16 02:13:45 */


/* Footer */
footer > div {
    padding: 32px 0;
}

/* Unified Governance Section Container */
#footer-governance-section {
    background: #f8f8f8;
    padding: 0;
}

/* Section 1: Footer Header */
#footer-header {
    padding: 40px 0 24px;
    background: linear-gradient(to bottom, #e6f2fb, #f8f8f8);
}

#footer-header h2 {
    color: #333;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

/* Section 2: Primary Footer Columns */
#footer-primary-columns {
    padding: 36px 0;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.footer-column-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-column-icon {
    flex-shrink: 0;
}

.footer-column-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.footer-column-title a {
    color: #333;
    text-decoration: none;
}

.footer-column-title a:hover {
    color: #2964b0;
    text-decoration: underline;
}

.footer-column-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.footer-column-sublinks {
    margin: 0;
    padding: 0;
}

.footer-column-sublinks a {
    display: block;
    position: relative;
    font-size: 16px;
    line-height: 2;
    color: #2964b0;
    text-decoration: none;
    padding-left: 15px;
}

.footer-column-sublinks a:before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #2964b0;
}

.footer-column-sublinks.list-style-triangle > :not(.nav-title):before {
    margin-top: 4px;
}

.footer-column-sublinks a:hover {
    text-decoration: underline;
}

/* Section 3: Authority & Trust Block */
#footer-authority-trust {
    padding: 24px 0 28px;
}

.footer-authority-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-authority-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-authority-icon {
    flex-shrink: 0;
}

.footer-authority-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.footer-authority-header h3 a {
    color: #333;
    text-decoration: none;
}

.footer-authority-header h3 a:hover {
    color: #2964b0;
    text-decoration: underline;
}

.footer-authority-intro {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.footer-authority-citations {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
}

.footer-authority-citations a {
    color: #2964b0;
    text-decoration: none;
}

.footer-authority-citations a:hover {
    text-decoration: underline;
}

.sic-citations-link {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.sic-citations-link a {
    color: #2964b0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#main.sic.bg-plain .sic-citations-link {
    margin: 8px 0;
    text-align: left;
}

#main.sic.bg-plain .sic-citations-link a,
.ml-hero .sic-citations-link a {
    color: rgba(255, 255, 255, .9);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sic-sources-box .sic-citations-link {
    margin: 12px 0 0;
    font-size: 14px;
}

.sic-sources-box .sic-citations-link a {
    color: #2964b0;
}

.footer-authority-details {
    font-size: 16px;
    color: #666;
    margin: 0 0 16px 0;
}

.footer-authority-details span {
    color: #666;
}

.footer-authority-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* Section 4: Legal & Utility Links */
#footer-legal-links {
    padding: 24px 0;
}

.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 16px;
    font-size: 16px;
}

.footer-legal-nav a {
    color: #2964b0;
    text-decoration: none;
    white-space: nowrap;
}

.footer-legal-nav a:hover {
    text-decoration: underline;
}

.footer-link-separator {
    color: #999;
}

/* Section 5: Footer Brand Block */
#footer-brand {
    padding: 32px 0;
    background: #fff;
}

.footer-brand-logo {
    margin: 0 0 12px 0;
}

.footer-brand-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-brand-logo a:hover {
    opacity: 0.8;
}

.footer-brand-logo svg {
    display: block;
    margin: 0 auto;
}

.footer-brand-tagline {
    font-size: 16px;
    color: #666;
    margin: 0 0 4px 0;
}

.footer-brand-since {
    font-size: 16px;
    color: #767676;
    margin: 0;
}

/* Responsive Design */
@media only screen and (max-width: 1199px) {
    .footer-columns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .footer-columns-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #footer-header h2 {
        font-size: 28px;
    }

    .footer-column {
        padding: 20px;
    }

    .footer-authority-header {
        flex-direction: column;
        gap: 12px;
    }

    .footer-authority-header h3 {
        font-size: 20px;
    }

    .footer-legal-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-link-separator {
        display: none;
    }

    .footer-brand-logo {
        font-size: 28px;
    }
}


/* TODO: Move to pages/general-below.css */
.content table td {
    vertical-align: baseline;
}
.content table p,
.content table h6 {
    margin: 0;
}

/* Viewport back-to-top for pages without a sticky search header.
   Search / code-detail templates keep the white icon inside #search. */
button.page-back-to-top {
    display: none;
}

button.page-back-to-top.is-active {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 50;
    display: block;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    text-transform: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background: transparent url(https://siccode.com/images/icons/back-to-top-blue.svg) center / contain no-repeat;
}

button.page-back-to-top.is-active:hover,
button.page-back-to-top.is-active:focus-visible {
    opacity: 0.85;
}


/* CODES */
.bg-sic {
    background: linear-gradient(to right, #2964b0 0, #2c8cc6 100%);
}

.bg-naics {
    background: linear-gradient(to right, #00806d 0, #009d83 100%);
}

.bg-gold {
    background: linear-gradient(to right, #704a19 0%, #a98743 100%);
}

.bg-purple {
    background: linear-gradient(to right, #37123c 0%, #75487b 100%);
}

.bg-red {
    background: linear-gradient(to right, #7c2900 0%, #ac3931 100%);
}

#codes {
    padding-top: 0;
    padding-bottom: 0;
}

/* CODES - BROWSE CODES */
#directory a:hover {
    text-decoration: none;
}

#directory-legacy {
    display: none;
}

.codes-list > div {
    float: left;
    width: 100%;
}

.codes-list > div > div:first-of-type {
    padding-left: 15px;
}

.codes-list .naics-code,
.codes-list .sic-code {
    width: 100%;
}

.codes-list dl {
    padding: 0 15px;
}

.codes-list dl:after {
    content: '';
    clear: both;
    display: block;
}

.codes-list dd,
.codes-list dt {
    float: left;
    line-height: 3;
    margin-bottom: 10px;
}

.codes-list dt {
    clear: both;
    width: 50px;
    margin: 0 15px;
    text-align: right;
}

.codes-list dd {
    position: relative;
    width: 320px;
    width: -webkit-calc(100% - 80px);
    width: calc(100% - 80px);
    border-radius: 5px;
    color: #fff;
}

.codes-list dd a {
    position: relative;
    display: block;
    padding: 0 10px 0 18px;
    color: inherit;
    border: 1px solid transparent;
    border-radius: inherit;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-transition: none;
    transition: none;
}

.codes-list dd a.dropdown {
    padding-right: 20px;
}

.codes-list dd a.dropdown svg {
    position: absolute;
    top: 50%;
    right: 11px;
    margin-top: -9px;
    line-height: 1;
}

.codes-list dd:not(.active):not(:hover) a.dropdown svg use:last-of-type,
.codes-list dd:hover a.dropdown svg use:first-of-type,
.codes-list dd.active a.dropdown svg use:first-of-type {
    visibility: hidden;
}

.codes-list dd.active > a {
    color: #333;
}

.codes-list dd.active > a svg {
    transform: rotateX(-180deg);
}

.codes-list dd.active > a.dropdown {
    border-bottom-color: transparent;
    border-radius: 0;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.codes-list dd.active .sub-menu {
    height: auto;
    padding: 1em 0;
    opacity: 1;
    z-index: 99;
}

.codes-list dd.active .sub-menu.sub-3-cols {
    padding: 25px 0;
}

.codes-list dd .sub-menu {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 0;
    margin-top: -1px;
    border-radius: inherit;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 9;
    opacity: 0;
}

.codes-list dd .sub-menu a {
    color: #333;
}

.codes-list dd .sub-menu a:hover span {
    color: inherit;
}

.codes-list dd .sub-menu a span {
    color: #999;
    font-weight: 300;
}

.codes-list dd a.bg-sic + .sub-menu a:hover {
    color: #2964b0;
}

.codes-list dd.active > a.bg-sic,
.codes-list dd.active > a.bg-sic + .sub-menu {
    background: #ebf6ff;
    border: 1px solid #2964b0;
}

.codes-list dd a.bg-naics + .sub-menu a:hover {
    color: #00806d;
}

.codes-list dd.active > a.bg-naics,
.codes-list dd.active > a.bg-naics + .sub-menu {
    background: #f0fff5;
    border: 1px solid #00806d;
}

.codes-list dd a.bg-gold + .sub-menu a:hover {
    color: #704a19;
}

.codes-list dd.active > a.bg-gold,
.codes-list dd.active > a.bg-gold + .sub-menu {
    background: #efe2ce;
    border: 1px solid #704a19;
}

.codes-list dd a.bg-purple + .sub-menu a:hover {
    color: #75487b;
}

.codes-list dd.active > a.bg-purple,
.codes-list dd.active > a.bg-purple + .sub-menu {
    background: #f1e1f3;
    border: 1px solid #75487b;
}

.codes-list dd a.bg-red + .sub-menu a:hover {
    color: #ac3931;
}

.codes-list dd.active > a.bg-red,
.codes-list dd.active > a.bg-red + .sub-menu {
    background: #ffeaea;
    border: 1px solid #ac3931;
}

@media only screen and (min-width: 768px) {
    .codes-list dl {
        float: left;
        width: 50%;
        margin-top: 0.5em;
    }

    .codes-list-3 dl {
        width: 33.3333%;
    }

    .codes-list dl:last-of-type dd .sub-menu {
        left: auto;
        right: 0;
        border-radius: inherit;
        border-top-right-radius: 0;
    }

    .codes-list dd .sub-menu {
        left: -65px;
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 45px;
        -moz-column-gap: 45px;
        column-gap: 45px;
    }

    .codes-list dd .sub-2-cols,
    .codes-list dd .sub-3-cols {
        left: -65px;
        border-radius: inherit;
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 45px;
        -moz-column-gap: 45px;
        column-gap: 45px;
    }

    .codes-list dd .sub-2-cols a,
    .codes-list dd .sub-3-cols a {
        margin-left: 12px;
    }

    .codes-list dd .sub-menu,
    .codes-list dd .sub-2-cols {
        width: -webkit-calc(200% + 175px);
        width: calc(200% + 175px);
    }

    .codes-list dd .sub-3-cols {
        width: -webkit-calc(100vw - 95px);
        width: calc(100vw - 95px);
    }
}

@media only screen and (min-width: 1200px) {
    .codes-list dl {
        padding: 0;
    }

    .codes-list dd:hover > a {
        color: #333;
    }

    .codes-list dd:hover > a.bg-sic {
        background: #ebf6ff;
        border: 1px solid #2964b0;
    }

    .codes-list dd:hover > a.bg-naics {
        background: #f0fff5;
        border: 1px solid #00806d;
    }

    .codes-list dd:hover > a.bg-gold {
        background: #efe2ce;
        border: 1px solid #704a19;
    }

    .codes-list dd:hover > a.bg-purple {
        background: #f1e1f3;
        border: 1px solid #75487b;
    }

    .codes-list dd:hover > a.bg-red {
        background: #ffeaea;
        border: 1px solid #ac3931;
    }

    .codes-list dd .sub-menu {
        width: -webkit-calc(100% + 65px);
        width: calc(100% + 65px);
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        column-gap: 0;
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .codes-list dd .sub-2-cols,
    .codes-list dd .sub-3-cols {
        -webkit-column-gap: 18px;
        -moz-column-gap: 18px;
        column-gap: 18px;
    }

    .codes-list dd .sub-2-cols {
        width: -webkit-calc(200% + 145px);
        width: calc(200% + 145px);
    }

    .codes-list dd .sub-3-cols {
        width: 100vw;
        max-width: 1185px;
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media only screen and (max-width: 767px) {
    .codes-list dl:first-of-type {
        margin: 2em 0 0;
    }

    .codes-list dt {
        margin-left: 0;
    }

    .codes-list dd {
        width: -webkit-calc(100% - 65px);
        width: calc(100% - 65px);
    }

    .codes-list dd .sub-menu {
        right: 0;
        width: -webkit-calc(100% + 65px);
        width: calc(100% + 65px);
    }
}

/* ALL ABOUT - RELATED CODES & TOOLS */
.columned-list ul {
    position: relative;
    column-gap: 0;
}

.columned-list ul li {
    break-inside: avoid;
    padding: 15px 20px;
    text-align: left;
}

.columned-list ul li a {
    position: relative;
    display: block;
    padding-left: 1em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #2964b0;
}

.columned-list ul li a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    margin-top: 5px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #2964b0;
    border-radius: 1px;
}

.columned-list ul li a.naics,
.columned-list.naics ul li a {
    color: #00806d;
}
.columned-list ul li a.naics:before,
.columned-list.naics ul li a:before {
    border-left-color: #00806d;
}

.columned-list ul li a.gold,
.columned-list.gold ul li a {
    color: #704a19;
}
.columned-list ul li a.gold:before,
.columned-list.gold ul li a:before {
    border-left-color: #704a19;
}

.columned-list ul li a.purple,
.columned-list.purple ul li a {
    color: #75487b;
}
.columned-list ul li a.purple:before,
.columned-list.purple ul li a:before {
    border-left-color: #75487b;
}

.columned-list ul li a.red,
.columned-list.red ul li a {
    color: #ac3931;
}
.columned-list ul li a.red:before,
.columned-list.red ul li a:before {
    border-left-color: #ac3931;
}

@media only screen and (min-width: 768px) {
    .columned-list ul {
        background: linear-gradient(to bottom, #f8f8f8, #f8f8f8 50%, #fff 50%, #fff);
        background-size: 100% 104px;
    }

    .columned-list ul:after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 5px;
        height: 100%;
        background-color: #fff;
    }

    .columned-list-2 ul,
    .columned-list-3 ul {
        column-count: 2;
    }

    .columned-list ul li {
        width: 100%;
        border-right: 5px solid #fff;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        transform: translateX(0);
    }
}

@media only screen and (min-width: 992px) {
    .columned-list-3 ul {
        column-count: 3;
    }

    .columned-list-3.columned-list-over ul li:nth-of-type(3) {
        height: 104px;
    }
}

@media only screen and (max-width: 767px) {
    .columned-list ul li:nth-of-type(odd) {
        background-color: #f8f8f8;
    }
}

/* OTHER CODES */
.other-codes .list-style-triangle > * {
    margin-bottom: 10px;
}

.other-codes .nav-title {
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
}

.other-codes > .main-nav.list-style-triangle > a {
    margin-left: 0;
}

@media only screen and (min-width: 768px) {
    .other-codes > .main-nav.list-style-triangle > a {
        float: left;
        width: 50%;
    }

    .other-codes > .main-nav.list-style-triangle > a:nth-of-type(odd) {
        clear: both;
    }
}

@media only screen and (min-width: 992px) {
    .other-codes {
        display: table;
        width: 100%;
    }

    .other-codes > * {
        display: table-cell;
        vertical-align: top;
    }

    .other-codes .nav-title {
        width: 36%;
        min-width: 320px;
        text-align: left;
    }

    .other-codes .main-nav {
        width: auto;
    }
}

@media only screen and (min-width: 1200px) {
    .other-codes .nav-title {
        padding-left: 98px;
    }
}


/* QUESTIONS AND ANSWERS */
#questions {
    padding: 0;
}

.directory-faq-accordion {
    border-top: 1px solid #eef0f3;
    text-align: left;
}

.directory-faq-item {
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #eef0f3;
}

.directory-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 20px;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    color: inherit;
}

.directory-faq-question::-webkit-details-marker {
    display: none;
}

.directory-faq-question::marker {
    content: '';
}

.directory-faq-question::after {
    content: '';
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: -2px;
    border-right: 2px solid #5f6873;
    border-bottom: 2px solid #5f6873;
    transform: rotate(-45deg);
    transition: transform 0.15s ease, margin-top 0.15s ease;
}

.directory-faq-item[open] > .directory-faq-question::after {
    margin-top: 2px;
    transform: rotate(45deg);
}

.directory-faq-question:focus {
    outline: none;
}

.directory-faq-question:focus-visible {
    outline: 2px solid #2964b0;
    outline-offset: -2px;
}

#main.naics.portal-lookup-hero ~ #questions > .wrapper > h2 {
    margin: 0 0 14px;
    color: #1f2933;
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.25;
}

#main.sic.portal-lookup-hero ~ #questions > .wrapper > h2 {
    margin: 0 0 14px;
    color: #1f2933;
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.25;
}

#main.sic.portal-lookup-hero ~ #questions .directory-faq-item[open] {
    background: #f3f7fc;
}

#main.sic.portal-lookup-hero ~ #questions .directory-faq-item[open] > .directory-faq-question {
    color: #2964b0;
}

#main.naics.portal-lookup-hero ~ #questions .directory-faq-item[open] {
    background: #f1f8f6;
}

#main.naics.portal-lookup-hero ~ #questions .directory-faq-item[open] > .directory-faq-question {
    color: #00806d;
}

.directory-faq-answer {
    padding: 0 20px 15px;
}

.directory-faq-answer p:first-child {
    margin-top: 0;
}

.directory-faq-answer p:last-child {
    margin-bottom: 0;
}

.directory-faq-answer ul {
    margin-left: 1.25rem;
}

.directory-faq-answer ul li {
    display: list-item;
    list-style-type: disc;
}

.directory-faq-answer p a {
    color: #2964b0;
    text-decoration: underline;
}

#questions .directory-faq-answer a.sic {
    color: #2964b0;
}

#questions .directory-faq-answer a.naics {
    color: #00806d;
}

#questions > div > ul > li {
    display: block;
    text-align: left;
    padding: 15px 20px;
}

#questions > div > ul > li:nth-child(odd) {
    background-color: #f8f8f8;
}

#questions > div > ul > li h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 5px;
}

#questions > div > ul > li p:first-child {
    margin-top: 0;
}

#questions > div > ul > li p:last-child {
    margin-bottom: 0;
}

#questions ul li ul {
    margin-left: 1.25rem;
}

#questions ul li ul li {
    display: list-item;
    list-style-type: disc;
}

#questions ul li p a {
    color: #2964b0;
    text-decoration: underline;
}

#questions ul li a.sic {
    color: #2964b0;
}

#questions ul li a.naics {
    color: #00806d;
}

@media only screen and (min-width: 768px) {
    #questions > div > ul > li {
        display: flex;
        padding: 0;
    }

    #questions > div > ul > li h3,
    #questions > div > ul > li > div{
        flex: 2;
        display: inline-block;
        padding: 15px 20px;
    }

    #questions > div > ul > li h3 {
        flex: 1;
        padding-right: 0;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 991px) {
    #questions > div > ul > li > br {
        display: none;
    }
}

#details .ads {
    margin: 25px 0 50px;
}

/* Helper Links */
#codes .helper-links {
    margin-top: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#codes .helper-links a {
    color: inherit;
    text-decoration: none;
}

#codes .helper-links a:hover {
    text-decoration: underline;
}

#codes .helper-separator {
    margin: 0 10px;
}

/* Instructions Info */
#codes .helper-links .instructions-info {
    margin-top: 0;
    display: inline-flex;
    align-items: center;
}

#codes .helper-links .instructions-info > span {
    margin-right: 6px;
}

#codes .helper-links .instructions-info .info-icon {
    margin-left: 6px;
}

/* Governed Classification */
#codes .governed-classification {
    margin-top: 15px;
}

/* Feature Row */
.feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.feature-card {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.feature-card h3 {
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    margin-top: 0;
}

.feature-card p {
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
    overflow: hidden;
}

/* Sector Section */
.sector-guidance {
    margin-top: 10px;
    margin-bottom: 15px;
}

.sector-tip {
    margin-bottom: 20px;
    font-style: italic;
}

.directory-count-source {
    margin: 0 0 20px;
    color: #5f6873;
    font-size: .9rem;
}

.directory-count {
    display: block;
    margin-top: 3px;
    color: #5f6873;
    font-size: .78rem;
    font-weight: 400;
}

#main.naics .main-title {
    max-width: 760px;
    margin-bottom: 20px;
}

#main.naics .main-title .size-h6 {
    max-width: 680px;
    line-height: 1.5;
}

/* Lookup directory hero */
#main.sic.portal-lookup-hero,
#main.naics.portal-lookup-hero {
    padding-bottom: 14px;
}

@media only screen and (min-width: 992px) {
    #main.sic.portal-lookup-hero,
    #main.naics.portal-lookup-hero {
        padding-top: 24px;
        padding-bottom: 18px;
    }
}

.portal-lookup-hero + .directory-guide-strip {
    margin-top: 16px;
}

.directory-guide-strip {
    background: #fff;
    padding: 0;
    margin: 0;
    text-align: left;
}

.directory-guide-strip > .wrapper {
    padding-left: 25px;
    padding-right: 25px;
}

.directory-guide-card {
    border: 1px solid #dce4ec;
    border-radius: 8px;
    padding: 14px 14px 12px;
    background: #f3f7fb;
    text-align: left;
}

.directory-guide-strip.naics .directory-guide-card {
    border-color: #d4e8e3;
    background: #f1f8f6;
}

.directory-steps-heading {
    margin: 0 0 10px;
    color: #1f2933;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.directory-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.directory-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
}

.directory-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #2964b0;
}

.directory-guide-strip.naics .directory-step-num {
    background: #00806d;
}

.directory-step-body {
    min-width: 0;
    text-align: left;
}

.directory-step-title {
    display: block;
    margin: 0 0 2px;
    color: #1f2933;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

.directory-step-body p {
    display: block;
    margin: 0;
    color: #5f6873;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.directory-guide-card-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #dce4ec;
}

.directory-guide-strip.naics .directory-guide-card-footer {
    border-top-color: #d4e8e3;
}

.directory-steps-tagline {
    margin: 0 0 10px;
    color: #5f6873;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

.directory-steps-tagline strong {
    color: #1f2933;
    font-weight: 700;
}

.directory-help-line {
    margin: 0;
    color: #5f6873;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

.directory-help-line .directory-help-option strong {
    color: #1f2933;
    font-weight: 700;
}

.directory-help-line .directory-help-option a {
    color: #2964b0;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.directory-guide-strip.naics .directory-help-line .directory-help-option a {
    color: #00806d;
}

.directory-help-line .directory-help-option a:hover,
.directory-help-line .directory-help-option a:focus-visible {
    text-decoration-thickness: 2px;
}

.directory-help-sep {
    color: #9aa3ad;
    white-space: pre;
}

#what-is-lookup.detail {
    margin: 0;
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef0f3;
}

#what-is-lookup.detail > .wrapper {
    padding-left: 25px;
    padding-right: 25px;
}

#what-is-lookup.detail h2 {
    margin: 0 0 10px;
    max-width: 1000px;
    color: #1f2933;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25;
}

#what-is-lookup.detail > .wrapper > p:not(.directory-establishment-note) {
    max-width: 1000px;
    margin: 0 0 10px;
    color: #4f5964;
    font-size: 0.9375rem;
    line-height: 1.55;
}

#what-is-lookup.detail > .wrapper > p:not(.directory-establishment-note):last-of-type {
    margin-bottom: 0;
}

#what-is-lookup.detail > .wrapper > p.directory-establishment-note:last-child {
    margin-bottom: 0;
}

#directory.directory-explorer-section {
    margin: 0;
    padding: 0;
}

#directory.directory-explorer-section > #hierarchy > .wrapper {
    padding-left: 25px;
    padding-right: 25px;
}

.directory-browse-intro {
    margin: 24px 0 14px;
    text-align: left;
    min-width: 0;
}

.directory-browse-header {
    margin: 0;
    padding: 0;
    text-align: left;
    min-width: 0;
    max-width: 100%;
}

.directory-browse-header h2 {
    margin: 0 0 6px;
    color: #1f2933;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
}

.directory-browse-subline {
    display: block;
    box-sizing: border-box;
    margin: 0;
    color: #5f6873;
    font-size: 0.9375rem;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.directory-browse-meta {
    margin: 0;
    color: #6b7280;
    font-size: 0.8125rem;
    line-height: 1.35;
    text-align: left;
}

@media (min-width: 768px) {
    .directory-browse-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "title title"
            "subline meta";
        gap: 6px 20px;
        align-items: end;
    }

    .directory-browse-header {
        display: contents;
    }

    .directory-browse-header h2 {
        grid-area: title;
    }

    .directory-browse-subline {
        grid-area: subline;
        min-width: 0;
    }

    .directory-browse-meta {
        grid-area: meta;
        text-align: right;
        white-space: nowrap;
    }
}

#directory.directory-explorer-section .directory-explorer-panel {
    border: 1px solid #cfddf0;
    border-radius: 0;
    overflow: visible;
}

#directory.directory-explorer-section .hierarchy-explorer {
    overflow: hidden;
}

#directory.directory-explorer-section.naics .directory-explorer-panel {
    border-color: #b7dccf;
}

#directory.directory-explorer-section .directory-explorer-toolbar.hierarchy-toolbar-search {
    grid-template-columns: minmax(0, 1fr);
}

#directory.directory-explorer-section .directory-explorer-toolbar {
    padding: 10px 16px;
    border-bottom: 1px solid #cfddf0;
    background: #eef4fb;
}

#directory.directory-explorer-section.naics .directory-explorer-toolbar {
    border-bottom-color: #b7dccf;
    background: #eef8f5;
}

#directory.directory-explorer-section .directory-explorer-toolbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    width: 100%;
}

#directory.directory-explorer-section .hierarchy-filter-results {
    flex: 0 0 100%;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    color: #5f6873;
    font-size: 0.8125rem;
    line-height: 1.4;
}

#directory.directory-explorer-section .hierarchy-filter-results[hidden] {
    display: none;
}

#directory.directory-explorer-section .hierarchy-filter-clear-link {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2964b0;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

#directory.directory-explorer-section.naics .hierarchy-filter-clear-link {
    color: #00806d;
}

#directory.directory-explorer-section #hierarchy .hx-row {
    box-sizing: border-box;
    padding-left: calc(8px + var(--hx-indent, 0px));
}

#directory.directory-explorer-section #hierarchy .hx-node[style*="--hx-level-offset"] {
    --hx-indent: calc(var(--hx-level-offset, 0) * 20px);
}

#directory.directory-explorer-section .hx-directory-combined-meta {
    display: none;
}

#directory.directory-explorer-section .hx-node-is-label > .hx-row {
    background: #f9fafb;
    border-bottom-color: #eef0f3;
}

#directory.directory-explorer-section .hx-node-is-label > .hx-row .hx-code,
#directory.directory-explorer-section .hx-node-is-label > .hx-row .hx-title {
    color: #6b7280;
    font-weight: 600;
}

#directory.directory-explorer-section .hx-node-is-label > .hx-row .hx-note {
    color: #9aa3ad;
}

#directory.directory-explorer-section .directory-explorer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

#directory.directory-explorer-section .hierarchy-search {
    flex: 1 1 220px;
    min-width: 0;
    max-width: 420px;
}

#directory.directory-explorer-section .hx-chev:not(.hx-chev-none)::before {
    border-color: #2964b0;
}

#directory.directory-explorer-section.naics .hx-chev:not(.hx-chev-none)::before {
    border-color: #00806d;
}

#directory.directory-explorer-section .hx-node[aria-expanded="true"] > .hx-row > .hx-chev:not(.hx-chev-none)::before {
    border-color: #2964b0;
}

#directory.directory-explorer-section.naics .hx-node[aria-expanded="true"] > .hx-row > .hx-chev:not(.hx-chev-none)::before {
    border-color: #00806d;
}

#directory.directory-explorer-section .hx-directory-sector-footer {
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border-bottom: 1px solid var(--hu-line, #e5e7eb);
}

#directory.directory-explorer-section .hx-directory-sector-footer[style*="--hx-level-offset"] {
    --hx-indent: calc(var(--hx-level-offset, 0) * 20px);
}

#directory.directory-explorer-section .hx-directory-sector-footer .hx-full-hierarchy-link {
    display: grid;
    grid-template-columns: 28px 5.75rem minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
    box-sizing: border-box;
    padding: 10px 96px 12px calc(8px + var(--hx-indent, 20px));
    color: #2964b0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

#directory.directory-explorer-section .hx-directory-sector-footer .hx-full-hierarchy-link-label {
    grid-column: 3;
    min-width: 0;
}

#directory.directory-explorer-section .hx-directory-sector-footer .hx-full-hierarchy-link:hover,
#directory.directory-explorer-section .hx-directory-sector-footer .hx-full-hierarchy-link:focus-visible {
    text-decoration: underline;
}

#directory.directory-explorer-section.naics .hx-directory-sector-footer .hx-full-hierarchy-link {
    color: #00806d;
}

@media (max-width: 767px) {
    #directory.directory-explorer-section > #hierarchy > .wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .directory-browse-intro {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 20px 0 16px;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .directory-browse-header {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .directory-browse-subline {
        width: 100%;
        max-width: 100%;
    }

    .directory-browse-meta {
        margin: 0;
        font-weight: 600;
        color: #6b7280;
    }

    #directory.directory-explorer-section .directory-explorer-panel {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #directory.directory-explorer-section .directory-explorer-toolbar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row {
        padding-left: calc(2px + var(--hx-indent, 0px));
    }

    #directory.directory-explorer-section .hierarchy-search {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }

    #directory.directory-explorer-section .directory-explorer-actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    #what-is-lookup.detail + #directory.directory-explorer-section .directory-browse-intro {
        margin-top: 4px;
    }
}

@media (max-width: 639px) {
    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-node[style*="--hx-level-offset"] {
        --hx-indent: calc(min(var(--hx-level-offset, 0), 2) * 12px);
    }

    #directory.directory-explorer-section .directory-explorer-actions [data-expand-all] {
        display: none;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row {
        grid-template-columns: 28px 2.5rem minmax(0, 1fr) auto;
        grid-template-areas:
            "chev code title add"
            "chev . meta meta";
        padding-left: calc(2px + var(--hx-indent, 0px));
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-node > ul.hx-ext-list,
    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-ext-list {
        margin-left: 0;
        padding-left: 0;
        border: 0;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-ext {
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 2.5rem minmax(0, 1fr) auto;
        grid-template-areas:
            "code title title"
            "meta meta add";
        align-items: center;
        gap: 2px 6px;
        margin: 0;
        padding: 6px 8px 6px calc(2px + min(var(--hx-level-offset, 0), 2) * 12px);
        border-bottom: 1px solid var(--hu-line, #eef0f3);
        background: #fff;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-ext-link {
        display: contents;
        color: inherit;
        text-decoration: none;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-ext-code {
        grid-area: code;
        padding: 0;
        font-size: 0.75rem;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-ext-title {
        grid-area: title;
        font-size: 0.9375rem;
        font-weight: 600;
        line-height: 1.35;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-ext .hx-ext-biz {
        grid-area: meta;
        margin: 0;
        padding: 0 0 2px;
        color: #5f6873;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1.35;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-ext .as-add-btn {
        grid-area: add;
        box-sizing: border-box;
        width: 64px;
        min-width: 64px;
        max-width: 64px;
        height: 32px;
        min-height: 32px;
        padding: 0 6px;
        font-size: 0.6875rem;
        line-height: 1;
    }

    #directory.directory-explorer-section .hx-directory-sector-footer[style*="--hx-level-offset"] {
        --hx-indent: calc(min(var(--hx-level-offset, 0), 2) * 12px);
    }

    #directory.directory-explorer-section .hx-directory-sector-footer .hx-full-hierarchy-link {
        grid-template-columns: 28px 2.5rem minmax(0, 1fr);
        padding: 8px 8px 10px calc(2px + var(--hx-indent, 12px));
        font-size: 0.75rem;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row .as-add-btn {
        box-sizing: border-box;
        width: 64px;
        min-width: 64px;
        max-width: 64px;
        height: 32px;
        min-height: 32px;
        padding: 0 6px;
        font-size: 0.6875rem;
        line-height: 1;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row-has-combined-meta .hx-note {
        display: none;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row-has-combined-meta .hx-sub.is-parent-count > .hx-meta {
        display: none;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-directory-combined-meta {
        display: block;
        grid-area: meta;
        align-self: start;
        justify-self: start;
        padding: 0 0 2px;
        color: #5f6873;
        font-size: 0.75rem;
        font-weight: 500;
        line-height: 1.35;
        white-space: normal;
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row .hx-code {
        font-size: 0.75rem;
    }
}

@media (max-width: 359px) {
    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row {
        grid-template-columns: 28px 2.5rem minmax(0, 1fr);
        grid-template-areas:
            "chev code title title"
            "chev . add add"
            "chev . meta meta";
    }

    #directory.directory-explorer-section #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row .as-add-btn {
        justify-self: end;
        width: 64px;
        min-width: 64px;
        max-width: 64px;
    }
}

@media only screen and (min-width: 768px) {
    .directory-guide-card {
        padding: 16px 18px 14px;
    }

    .directory-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 12px;
    }
}

@media only screen and (min-width: 992px) {
    .directory-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 18px;
    }
}

#main.naics .main-title,
#main.sic .main-title,
#main.purple .main-title {
    width: 100%;
    max-width: 800px;
    margin: 0 0 16px;
    padding-top: 0;
}

#main.naics .main-title h1,
#main.sic .main-title h1,
#main.purple .main-title h1 {
    margin: 0 0 7px;
    line-height: 1.1;
}

#main.naics .main-title .size-h6,
#main.sic .main-title .size-h6,
#main.purple .portal-lookup-subtitle {
    max-width: none;
    margin: 0;
    line-height: 1.45;
}

#main.naics #lookup,
#main.sic #lookup,
#main.purple #lookup,
#main.naics .helper-links,
#main.sic .helper-links,
#main.purple .helper-links {
    width: 100%;
    max-width: 800px;
}

#main.naics .helper-links,
#main.sic .helper-links {
    margin-top: 11px;
}

@media only screen and (max-width: 767px) {
    #main.naics .main-title,
    #main.sic .main-title,
    #main.purple .main-title {
        margin-bottom: 16px;
    }
}

/* NAICS directory hero uses the same content width as the sections below. */
#main.naics.portal-lookup-hero {
    padding-top: 16px;
    padding-bottom: 14px;
}

#main.naics.portal-lookup-hero .wrapper {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 25px;
    padding-left: 25px;
}

#main.naics.portal-lookup-hero .align-left,
#main.naics.portal-lookup-hero .main-title,
#main.naics.portal-lookup-hero #lookup,
#main.naics.portal-lookup-hero .code-search-box {
    width: 100%;
    max-width: none;
}

#main.naics.portal-lookup-hero .main-title {
    margin-bottom: 12px;
}

@media only screen and (min-width: 992px) {
    #main.naics.portal-lookup-hero {
        padding-top: 18px;
        padding-bottom: 14px;
    }
}

@media only screen and (max-width: 991px) {
    #main.naics.portal-lookup-hero {
        padding-top: 52px;
    }
}

@media only screen and (max-width: 767px) {
    #main.naics.portal-lookup-hero .wrapper {
        padding-right: 16px;
        padding-left: 16px;
    }
}

.directory-services {
    background: #f7f9fb;
    padding: 18px 0 20px;
    text-align: left;
}

.directory-services > .wrapper {
    padding-left: 12px;
    padding-right: 12px;
}

.directory-services h2 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    line-height: 1.25;
}

.service-offer-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.service-offer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 16px 14px;
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    text-align: left;
}

.service-offer-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px;
}

.service-offer-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #2964b0;
    background: #eef4fb;
}

.directory-services.naics .service-offer-icon {
    color: #00806d;
    background: #e8f5f1;
}

.service-offer h3 {
    margin: 0;
    color: #1f2933;
    font-size: 1rem;
    line-height: 1.3;
}

.service-offer-desc {
    margin: 0 0 10px;
    color: #5f6873;
    font-size: 0.875rem;
    line-height: 1.45;
}

.service-offer-benefits {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    flex: 1 1 auto;
}

.service-offer-benefits li {
    position: relative;
    margin: 0 0 5px;
    padding-left: 1.15em;
    color: #4b5563;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.service-offer-benefits li:last-child {
    margin-bottom: 0;
}

.service-offer-benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #2964b0;
    font-size: 0.75rem;
    font-weight: 700;
}

.directory-services.naics .service-offer-benefits li::before {
    color: #00806d;
}

.service-offer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    margin-top: auto;
    padding: 9px 16px;
    border-radius: 4px;
    background: #2964b0;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.service-offer a:hover,
.service-offer a:focus-visible {
    color: #fff;
    text-decoration: none;
    filter: brightness(.94);
}

.service-offer a.service-offer-secondary {
    background: #fff;
    color: #2964b0;
    border: 1px solid #2964b0;
}

.service-offer a.service-offer-secondary:hover,
.service-offer a.service-offer-secondary:focus-visible {
    color: #2964b0;
    background: #f4f8fc;
    filter: none;
}

.directory-services.naics .service-offer a.service-offer-primary {
    background: #00806d;
}

.directory-services.naics .service-offer a.service-offer-secondary {
    color: #00806d;
    border-color: #00806d;
}

.directory-services.naics .service-offer a.service-offer-secondary:hover,
.directory-services.naics .service-offer a.service-offer-secondary:focus-visible {
    color: #00806d;
    background: #f1f8f6;
}

.directory-services.purple .service-offer-icon {
    color: #592a5f;
    background: #f3ebf5;
}

.directory-services.purple .service-offer-benefits li::before {
    color: #592a5f;
}

.directory-services.purple .service-offer a.service-offer-primary {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: #592a5f;
}

.directory-services.purple .service-offer a.service-offer-secondary {
    color: #592a5f;
    border-color: #592a5f;
}

.directory-services.purple .service-offer a.service-offer-secondary:hover,
.directory-services.purple .service-offer a.service-offer-secondary:focus-visible {
    color: #592a5f;
    background: #f8f2fa;
}

.service-secondary-links {
    margin: 14px 0 0;
    color: #5c6b7a;
    font-size: 0.8125rem;
    line-height: 1.55;
    text-align: left;
}

.service-secondary-links a {
    color: #2964b0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.directory-services.naics .service-secondary-links a {
    color: #00806d;
}

.service-secondary-links a:hover,
.service-secondary-links a:focus-visible {
    color: #1e4d8a;
    text-decoration: underline;
}

.service-secondary-sep {
    margin: 0 10px;
    color: #94a3b8;
    font-weight: 700;
    user-select: none;
}

.classification-systems {
    line-height: 1.8;
}

.directory-reference-section {
    padding: 24px 0 20px;
    border-top: 1px solid #dce3eb;
    background: #fff;
    text-align: left;
}

.directory-reference-section > .wrapper {
    padding-left: 12px;
    padding-right: 12px;
}

.directory-reference-section h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #16324f;
    text-align: left;
}

.directory-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.directory-resource-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #2964b0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.directory-resource-link:hover,
.directory-resource-link:focus-visible {
    background: #f0f6ff;
    border-color: #b7cce6;
    color: #1e4d8a;
    text-decoration: underline;
}

.directory-resource-link .resource-arrow {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
    color: #2964b0;
    transition: transform 0.15s ease;
}

.directory-resource-link:hover .resource-arrow,
.directory-resource-link:focus-visible .resource-arrow {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .directory-resource-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.directory-full-hierarchy {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dce3eb;
    font-weight: 700;
}

.directory-count-provenance,
.directory-structure-note {
    margin: 0 0 10px;
    color: #4f5964;
    font-size: .9rem;
}

.directory-establishment-note {
    max-width: 1000px;
    margin: 14px 0 0;
    color: #6b7280;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.directory-establishment-note em {
    font-style: italic;
}

.source-methodology {
    margin: 0 0 10px;
    color: #4f5964;
}

.source-methodology-panel {
    margin-top: 4px;
    padding: 16px 18px;
    border: 1px solid #dce3eb;
    border-radius: 5px;
    text-align: left;
}

.source-methodology-panel h2 {
    margin: 0 0 4px;
    color: #1f2933;
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.25;
}

.source-methodology-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 8px 16px;
    align-items: start;
    padding: 12px 0 0;
    border-top: 1px solid #edf0f3;
    line-height: 1.5;
}

.source-methodology-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #4f5964;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.4;
}

.source-methodology-icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: #6b7280;
}

.source-methodology-icon svg {
    display: block;
}

.source-methodology-value {
    color: #4f5964;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.source-methodology-value p {
    margin: 0;
}

.source-methodology-value a {
    color: #2964b0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.source-methodology-panel.naics .source-methodology-value a {
    color: #00806d;
}

.source-methodology-value a:hover,
.source-methodology-value a:focus-visible {
    color: #1e4d8a;
}

.source-methodology-panel.naics .source-methodology-value a:hover,
.source-methodology-panel.naics .source-methodology-value a:focus-visible {
    color: #006b5c;
}

.source-methodology-panel.purple .source-methodology-value a {
    color: #592a5f;
}

.source-methodology-panel.purple .source-methodology-value a:hover,
.source-methodology-panel.purple .source-methodology-value a:focus-visible {
    color: #37123c;
}

.source-methodology-link-sep {
    color: #94a3b8;
    font-weight: 700;
    user-select: none;
}

@media only screen and (max-width: 639px) {
    .source-methodology-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.source-reference-groups {
    display: grid;
    gap: 10px;
    margin: 0;
    text-align: left;
}

.source-reference-group h3 {
    margin: 0 0 4px;
    color: #4f5964;
    font-size: .88rem;
    font-weight: 600;
}

.source-reference-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.source-reference-links li {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.source-reference-links li + li:before {
    margin: 0 9px;
    color: #9aa4ae;
    content: "·";
}

.source-reference-links a {
    display: inline;
    color: inherit;
    line-height: 1.55;
    text-decoration: none;
}

.source-reference-links a:hover {
    text-decoration: underline;
}

.inline-reference-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
}

.inline-reference-list ul li {
    padding: 0;
}

.inline-reference-list ul li a {
    display: inline;
    padding-left: 0;
    white-space: normal;
}

.inline-reference-list ul li a:before {
    display: none;
}

#related-codes {
    padding-top: 14px;
    padding-bottom: 24px;
}

.classification-systems {
    margin-top: 8px;
    margin-bottom: 0;
    color: #767676;
    text-align: left;
    line-height: 1.8;
}

.classification-systems a {
    color: #2964b0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.classification-systems a:hover,
.classification-systems a:focus-visible {
    color: #1e4d8a;
    text-decoration: underline;
}

.source-counts-updated,
.source-review-date {
    flex-basis: 100%;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .service-offer-row {
        grid-template-columns: 1fr;
    }

    .directory-services {
        padding-bottom: 16px;
    }
}

/* NAICS directory: dock the 1-2-3 bar on the browse table. SIC keeps the separate card. */
#main.naics.portal-lookup-hero + #directory.directory-explorer-section.naics {
    margin-top: 16px;
}

#directory.directory-explorer-section.naics .directory-guide-strip {
    margin: 0;
    padding: 0;
    background: transparent;
}

#directory.directory-explorer-section.naics .directory-guide-strip > .wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

#directory.directory-explorer-section.naics .directory-guide-card {
    box-sizing: border-box;
    margin: 0;
    padding: 8px 12px 7px;
    border: 1px solid #b7dccf;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f7f8fa;
}

#directory.directory-explorer-section.naics .directory-steps-heading {
    margin: 0 0 6px;
    font-size: 13px;
}

#directory.directory-explorer-section.naics .directory-steps {
    gap: 8px;
}

#directory.directory-explorer-section.naics .directory-step {
    gap: 8px;
    min-width: 0;
}

#directory.directory-explorer-section.naics .directory-step-num {
    width: 22px;
    height: 22px;
    font-size: 12px;
}

#directory.directory-explorer-section.naics .directory-step-title,
#directory.directory-explorer-section.naics .directory-step-body p {
    font-size: 13px;
    line-height: 1.35;
}

#directory.directory-explorer-section.naics .directory-guide-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 12px;
    margin-top: 6px;
    padding-top: 0;
    border-top: 0;
}

#directory.directory-explorer-section.naics .directory-steps-tagline,
#directory.directory-explorer-section.naics .directory-help-line {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
}

#directory.directory-explorer-section.naics .directory-browse-intro {
    box-sizing: border-box;
    margin: 0;
    padding: 10px 12px 8px;
    border-right: 1px solid #b7dccf;
    border-left: 1px solid #b7dccf;
    background: #fff;
}

#directory.directory-explorer-section.naics .directory-browse-header {
    position: static;
    z-index: auto;
    width: auto;
    height: auto;
    background: transparent;
}

#directory.directory-explorer-section.naics .directory-explorer-panel {
    border-top: 0;
    border-radius: 0;
}

@media (min-width: 768px) {
    #directory.directory-explorer-section.naics .directory-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 12px;
    }
}

@media (min-width: 992px) {
    #directory.directory-explorer-section.naics .directory-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 18px;
    }
}

@media (max-width: 767px) {
    #directory.directory-explorer-section.naics .directory-browse-intro {
        display: block;
        margin: 0;
        min-width: 0;
    }

    #directory.directory-explorer-section.naics .directory-browse-header,
    #directory.directory-explorer-section.naics .directory-browse-subline,
    #directory.directory-explorer-section.naics .directory-browse-meta {
        max-width: 100%;
        min-width: 0;
    }

    #directory.directory-explorer-section.naics .directory-guide-card,
    #directory.directory-explorer-section.naics .directory-steps,
    #directory.directory-explorer-section.naics .directory-help-line {
        max-width: 100%;
        min-width: 0;
    }
}

/* SOC lookup directories (2018 + Extended SOC O*NET) */
#main.purple.portal-lookup-hero {
    padding-top: 16px;
    padding-bottom: 14px;
}

#main.purple.portal-lookup-hero .wrapper {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 25px;
    padding-left: 25px;
}

#main.purple.portal-lookup-hero .align-left,
#main.purple.portal-lookup-hero .main-title,
#main.purple.portal-lookup-hero #lookup,
#main.purple.portal-lookup-hero .code-search-box {
    width: 100%;
    max-width: none;
}

@media only screen and (min-width: 992px) {
    #main.purple.portal-lookup-hero {
        padding-top: 18px;
        padding-bottom: 14px;
    }
}

@media only screen and (max-width: 991px) {
    #main.purple.portal-lookup-hero {
        padding-top: 52px;
    }
}

@media only screen and (max-width: 767px) {
    #soc-lookup-page #main.purple.portal-lookup-hero,
    #soc-lookup-page #main.purple.portal-lookup-hero .align-left,
    #soc-lookup-page #main.purple.portal-lookup-hero .portal-lookup-crumbs,
    #soc-lookup-page #main.purple.portal-lookup-hero .main-title,
    #soc-lookup-page #main.purple.portal-lookup-hero .portal-lookup-subtitle,
    #soc-lookup-page #main.purple.portal-lookup-hero #lookup,
    #soc-lookup-page #main.purple.portal-lookup-hero .portal-soc-search-hint {
        text-align: left;
    }
}

#main.purple .main-title {
    max-width: none;
    margin-bottom: 12px;
}

#main.purple .portal-lookup-subtitle {
    max-width: none;
    margin: 0;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.45;
}

.portal-soc-search-hint {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.directory-guide-strip.purple .directory-guide-card {
    border-color: #dccde3;
    background: #f7f2f9;
}

.directory-guide-strip.purple .directory-step-num {
    background: #592a5f;
}

.directory-guide-strip.purple .directory-guide-card-footer {
    border-top-color: #dccde3;
}

.directory-guide-strip.purple .directory-help-line .directory-help-option a {
    color: #592a5f;
}

.directory-guide-strip.purple .directory-step-link {
    color: #37123c;
    font-weight: 700;
    text-decoration: none;
}

.directory-guide-strip.purple .directory-step-link:hover,
.directory-guide-strip.purple .directory-step-link:focus-visible {
    color: #592a5f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.directory-browse-crosslinks {
    margin: 8px 0 0;
    color: #5f6873;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.directory-browse-crosslinks a {
    color: #592a5f;
    font-weight: 600;
    text-decoration: none;
}

.directory-browse-crosslinks a:hover,
.directory-browse-crosslinks a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#directory.directory-explorer-section.purple .directory-explorer-panel {
    border-color: #dccde3;
}

#main.purple.portal-lookup-hero + #directory.directory-explorer-section.purple {
    margin-top: 16px;
}

#directory.directory-explorer-section.purple .directory-explorer-toolbar {
    border-color: #dccde3;
    background: #f7f2f9;
}

#directory.directory-explorer-section.purple .hierarchy-filter-clear-link {
    color: #592a5f;
}

#directory.directory-explorer-section.purple .hx-chev:not(.hx-chev-none)::before {
    color: #592a5f;
}

#directory.directory-explorer-section.purple .hx-node[aria-expanded="true"] > .hx-row > .hx-chev:not(.hx-chev-none)::before {
    color: #37123c;
}

#directory.directory-explorer-section.purple .hx-directory-sector-footer .hx-full-hierarchy-link {
    color: #592a5f;
}

#directory.directory-explorer-section.purple #hierarchy.hierarchy-upgrade-tree.is-overview .hx-row .hx-code {
    border: 1px solid #dccde3;
    border-radius: 4px;
    background: #f3ebf6;
    color: #37123c;
    font-weight: 700;
}

#directory.directory-explorer-section.purple #hierarchy.hierarchy-upgrade-tree.is-overview .hx-ext-code {
    display: inline-block;
    padding: 2px 8px;
    border: 1.5px solid #6a4d72;
    border-radius: 4px;
    background: #fff;
    color: #37123c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.directory-soc-executive-cta .soc-search-cta--band {
    box-sizing: border-box;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid #dccde3;
    border-radius: 8px;
    background: #f7f2f9;
    text-align: left;
}

.soc-search-cta-band-heading {
    margin: 0 0 8px;
    color: #1f2933;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
}

.soc-search-cta-band-lead {
    margin: 0 0 12px;
    color: #4f5964;
    font-size: 0.9375rem;
    line-height: 1.45;
    max-width: 52rem;
}

.soc-search-cta-band-list {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #4f5964;
    font-size: 0.875rem;
    line-height: 1.4;
}

.soc-search-cta-band-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px;
}

.soc-search-cta-band-item:last-child {
    margin-bottom: 0;
}

.soc-search-cta-band-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ebe0f0;
    color: #592a5f;
}

.soc-search-cta-band-icon svg {
    display: block;
}

.soc-search-cta-band-item-text strong {
    display: block;
    margin: 0 0 2px;
    color: #1f2933;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
}

.soc-search-cta-band-item-text {
    flex: 1 1 auto;
    min-width: 0;
}

.soc-search-cta-band-action {
    margin: 16px 0 0;
}

.soc-search-cta-band-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #592a5f;
    border-radius: 4px;
    background: #592a5f;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.soc-search-cta-band-btn:hover,
.soc-search-cta-band-btn:focus-visible {
    color: #fff;
    text-decoration: none;
    filter: brightness(0.94);
}

@media (min-width: 1024px) {
    .directory-soc-executive-cta .soc-search-cta--band {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px 24px;
        align-items: center;
    }

    .soc-search-cta-band-main {
        min-width: 0;
    }

    .soc-search-cta-band-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .soc-search-cta-band-item {
        margin: 0;
    }

    .soc-search-cta-band-action {
        margin: 0;
        align-self: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .soc-search-cta-band-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .soc-search-cta-band-item {
        margin: 0;
    }
}

@media (max-width: 767px) {
    .soc-search-cta-band-btn {
        width: 100%;
    }

    .soc-search-cta-band-action {
        margin-top: 14px;
    }
}

#main.purple.portal-lookup-hero ~ #questions > .wrapper > h2 {
    color: #37123c;
}

#main.purple.portal-lookup-hero ~ #questions .directory-faq-item[open] {
    border-color: #dccde3;
}

#main.purple.portal-lookup-hero ~ #questions .directory-faq-item[open] > .directory-faq-question {
    color: #37123c;
}

#directory.directory-explorer-section.purple .directory-guide-strip {
    margin: 0;
    padding: 0;
    background: transparent;
}

#directory.directory-explorer-section.purple .directory-guide-strip > .wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

#directory.directory-explorer-section.purple .directory-guide-card {
    box-sizing: border-box;
    margin: 0;
    padding: 8px 12px 7px;
    border: 1px solid #dccde3;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f7f2f9;
}

#directory.directory-explorer-section.purple .directory-steps-heading {
    margin: 0 0 6px;
    font-size: 13px;
}

#directory.directory-explorer-section.purple .directory-step {
    gap: 8px;
    min-width: 0;
}

#directory.directory-explorer-section.purple .directory-step-num {
    width: 22px;
    height: 22px;
    font-size: 12px;
}

#directory.directory-explorer-section.purple .directory-step-title,
#directory.directory-explorer-section.purple .directory-step-body p {
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 991px) {
    #directory.directory-explorer-section.purple .directory-guide-card {
        height: auto;
        max-height: none;
        overflow: visible;
        padding-bottom: 12px;
    }
}

@media (max-width: 767px) {
    #directory.directory-explorer-section.purple .directory-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #directory.directory-explorer-section.purple .directory-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 12px;
    }
}

@media (min-width: 992px) {
    #directory.directory-explorer-section.purple .directory-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px 18px;
    }
}

#directory.directory-explorer-section.purple .directory-explorer-panel {
    border-top: 0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

#directory.directory-explorer-section.purple .directory-browse-docked-caption {
    margin: 6px 0 0;
    color: #5f6873;
    font-size: 0.875rem;
    line-height: 1.4;
}

.portal-lookup-hero .portal-lookup-crumbs {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.875rem;
    line-height: 1.4;
}

.portal-lookup-hero .portal-lookup-crumbs a {
    color: #fff;
    text-decoration: none;
}

.portal-lookup-hero .portal-lookup-crumbs a:hover,
.portal-lookup-hero .portal-lookup-crumbs a:focus-visible {
    text-decoration: underline;
}

#directory.directory-explorer-section.purple .directory-major-jumps {
    margin: 0 0 12px;
}

#directory.directory-explorer-section.purple.is-directory-group .directory-major-jumps {
    margin-top: 20px;
    margin-bottom: 16px;
}

#directory.directory-explorer-section.purple.is-directory-group .directory-major-jumps .soc-jump-label {
    margin-bottom: 6px;
}

#directory.directory-explorer-section.purple .directory-major-jumps-showing {
    margin: 0 0 8px;
    color: #37123c;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
}

#directory.directory-explorer-section.purple .directory-major-jumps .soc-jump-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

@media only screen and (max-width: 767px) {
    #directory.directory-explorer-section.purple .directory-major-jumps .soc-jump-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #directory.directory-explorer-section.purple .directory-major-jumps .soc-jump-row::-webkit-scrollbar {
        display: none;
    }

    #directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump {
        flex: 0 0 auto;
    }
}

#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump,
#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump:hover,
#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump:focus-visible {
    text-decoration: none;
}

#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 40px;
    padding: 8px;
    border: 1px solid #e4dcea;
    border-radius: 999px;
    background: #f8f5f9;
    color: #37123c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump:hover::after,
#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump:focus-visible::after {
    content: attr(data-title);
    position: absolute;
    z-index: 3;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 8px;
    border-radius: 4px;
    background: #37123c;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
}

#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump.is-current,
#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump.is-current:hover,
#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump.is-current:focus-visible {
    border-color: #37123c;
    background: #37123c;
    color: #fff;
    font-weight: 700;
}

#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump.is-current span {
    color: #fff;
}

#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump.is-current:hover::after,
#directory.directory-explorer-section.purple .directory-major-jumps .soc-major-jump.is-current:focus-visible::after {
    content: none;
}

#directory.directory-explorer-section.purple .directory-browse-docked-title {
    box-sizing: border-box;
    margin: 0;
    padding: 10px 16px 6px;
    background: #fff;
}

#directory.directory-explorer-section.purple .directory-browse-docked-title h2 {
    margin: 0;
    color: #1f2933;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
}

#directory.directory-explorer-section.purple .directory-browse-docked-count {
    display: block;
    margin-top: 4px;
    color: #5f6873;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
}

@media (min-width: 768px) {
    #directory.directory-explorer-section.purple .directory-browse-docked-count {
        display: inline;
        margin-top: 0;
        margin-left: 8px;
        font-size: 0.9375rem;
    }
}

#directory.directory-explorer-section.purple .directory-explorer-toolbar {
    margin: 0;
    border-top: 0;
}

#directory.directory-explorer-section.purple .directory-browse-after-table {
    margin: 14px 0 0;
    padding: 0;
    min-width: 0;
}

#directory.directory-explorer-section.purple .directory-browse-after-table .directory-browse-subline {
    margin: 0 0 6px;
}

#directory.directory-explorer-section.purple .directory-browse-after-table .directory-browse-meta {
    margin: 0 0 6px;
}

#directory.directory-explorer-section.purple .directory-browse-after-table .directory-browse-crosslinks {
    margin: 0;
}

#directory.directory-explorer-section.purple .directory-soc-executive-cta {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 20px 0 0;
    min-width: 0;
}

.hierarchy-explorer.is-soc-directory .hx-cols {
    grid-template-columns: 28px minmax(88px, 120px) minmax(0, 1fr) minmax(5.75rem, 8rem);
}

#directory.directory-explorer-section.purple .hierarchy-explorer.is-soc-directory .hx-row {
    grid-template-columns: 28px minmax(88px, 120px) minmax(0, 1fr) minmax(5.75rem, 8rem);
}

#directory.directory-explorer-section.purple .hierarchy-explorer.is-soc-directory .hx-meta {
    justify-self: end;
    text-align: right;
}

#directory.directory-explorer-section.purple + #what-is-lookup.detail {
    padding-top: 24px;
    padding-bottom: 20px;
    border-bottom: 0;
}

@media (max-width: 767px) {
    .hierarchy-explorer.is-soc-directory .hx-cols {
        display: none;
    }

    #directory.directory-explorer-section.purple .directory-browse-docked-title,
    #directory.directory-explorer-section.purple .directory-browse-after-table,
    #directory.directory-explorer-section.purple .directory-browse-after-table .directory-browse-subline,
    #directory.directory-explorer-section.purple .directory-browse-after-table .directory-browse-meta {
        max-width: 100%;
        min-width: 0;
    }

    #directory.directory-explorer-section.purple .directory-soc-executive-cta {
        width: 100%;
        max-width: 100%;
    }

    #directory.directory-explorer-section.purple .directory-guide-card,
    #directory.directory-explorer-section.purple .directory-steps,
    #directory.directory-explorer-section.purple .directory-help-line {
        max-width: 100%;
        min-width: 0;
    }
}


:root {
    --cip-primary: #2C3A5E;
    --cip-dark: #1E2740;
    --cip-accent: #465A8F;
    --cip-surface: #EFF2F7;
    --cip-border: #CBD2E1;
    --soc-primary: #522D5B;
    --soc-dark: #3D2044;
    --soc-accent: #7B438A;
    --soc-surface: #F8F4F9;
    --soc-border: #DECCE3;
}

.code-lookup-page,
#search.cip-search {
    --tone-primary: var(--cip-primary);
    --tone-dark: var(--cip-dark);
    --tone-accent: var(--cip-accent);
    --tone-surface: var(--cip-surface);
    --tone-border: var(--cip-border);
}

.code-lookup-page.soc-lookup,
#search.soc-search {
    --tone-primary: var(--soc-primary);
    --tone-dark: var(--soc-dark);
    --tone-accent: var(--soc-accent);
    --tone-surface: var(--soc-surface);
    --tone-border: var(--soc-border);
}

#search.cip-search.bg-gradient.purple,
#search.soc-search.bg-gradient.purple {
    background: var(--tone-primary);
}

#search-menu.clicked .active.cip,
#search:not(.sticky) #search-nav .cip:hover {
    color: var(--cip-primary);
}

.code-lookup-page {
    color: #333;
    text-align: left;
}

.code-lookup-page #main.purple.bg-plain {
    margin: 0;
    background: var(--tone-primary);
    color: #fff;
    padding: 16px 0 4px;
}

.code-lookup-page #main.purple .wrapper,
.code-lookup-page .cip-hero {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 25px 12px;
}

.code-lookup-page .cip-hero {
    padding-top: 18px;
    padding-bottom: 28px;
}

.code-lookup-page #main.purple h1,
.code-lookup-page #main.purple .cip-lookup-edition,
.code-lookup-page #main.purple #section-nav a {
    color: #fff;
}

.code-lookup-page #main.purple h1 {
    margin: 0 0 6px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.code-lookup-page .cip-lookup-edition {
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
}

.code-lookup-page #section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    margin: 0 0 10px;
}

.code-lookup-page #section-nav a {
    padding: 6px 8px;
    border-bottom: 3px solid transparent;
    text-decoration: none;
}

.code-lookup-page #section-nav a.active,
.code-lookup-page #section-nav a:hover {
    border-bottom-color: #fff;
    background: rgba(248, 248, 248, 0.12);
}

.code-lookup-page .code-search-box {
    max-width: 520px;
}

.code-lookup-page .code-search-box > div:last-child {
    min-width: 108px;
}

.code-lookup-page .code-search-box input[type=submit],
.code-lookup-page .code-search-box input[type=text] {
    box-sizing: border-box;
    height: 40px;
}

.code-lookup-page .code-search-box input[type=text] {
    padding: 6px 12px;
    font-size: 16px;
}

#cip-lookup-page .code-search-box input[type=text] {
    text-overflow: ellipsis;
}

.code-lookup-page .code-search-box input[type=submit] {
    margin-top: 0;
    padding: 0 36px 0 14px;
    font-size: 14px;
    line-height: 36px;
    background-position: calc(100% - 12px) calc(50% + 1px);
    background-size: 15px 16px;
}

.code-lookup-page .cip-search-hint {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.3;
}

.code-lookup-page .cip-block-heading {
    margin: 0 0 10px;
    color: var(--tone-dark);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.code-lookup-page .cip-about-lead {
    margin: 0 0 12px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.code-lookup-page .cip-about-lead a {
    color: var(--tone-accent);
    font-weight: 600;
    text-decoration: underline;
}

.code-lookup-page .cip-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    margin: 0 0 16px;
}

.code-lookup-page .cip-facts > div {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 1px solid var(--tone-border);
}

.code-lookup-page .cip-facts dt,
.code-lookup-page .cip-facts dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.code-lookup-page .cip-facts dt {
    color: var(--tone-accent);
    font-weight: 600;
}

.code-lookup-page .cip-facts dd {
    color: #333;
}

.code-lookup-page .cip-code-ladder {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.code-lookup-page .cip-code-ladder a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
    min-width: 0;
    height: 100%;
    padding: 8px 10px;
    border: 1px solid var(--tone-border);
    border-radius: 6px;
    background: var(--tone-surface);
    text-decoration: none;
}

.code-lookup-page .cip-code-ladder a:hover {
    border-color: var(--tone-accent);
    background: var(--tone-surface);
    text-decoration: none;
}

.code-lookup-page .cip-ladder-level {
    color: var(--tone-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.code-lookup-page .cip-ladder-code {
    color: var(--tone-accent);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.code-lookup-page .cip-ladder-title {
    color: var(--tone-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.code-lookup-page .cip-directory {
    margin-top: 8px;
}

.code-lookup-page .cip-drill-support {
    margin: 0 0 8px;
    color: var(--tone-accent);
    font-size: 14px;
    line-height: 1.4;
}

.code-lookup-page .cip-series-jumps {
    margin: 0 0 14px;
}

.code-lookup-page .cip-jump-label {
    margin: 0 0 8px;
    color: var(--tone-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.code-lookup-page .cip-jump-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.code-lookup-page .cip-series-jump {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid var(--tone-border);
    border-radius: 999px;
    background: var(--tone-surface);
    color: var(--tone-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.code-lookup-page .cip-series-jump:hover {
    border-color: var(--tone-accent);
    text-decoration: none;
}

.code-lookup-page .cip-drill-rows {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.code-lookup-page .cip-drill-rows li {
    min-width: 0;
    scroll-margin-top: 120px;
}

.code-lookup-page .cip-drill-rows a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    min-height: 52px;
    padding: 8px 28px 8px 12px;
    border: 1px solid var(--tone-border);
    border-radius: 6px;
    background: var(--tone-surface);
    color: #333;
    text-decoration: none;
}

.code-lookup-page .cip-drill-rows a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--tone-accent);
    border-bottom: 2px solid var(--tone-accent);
    transform: translateY(-50%) rotate(-45deg);
}

.code-lookup-page .cip-drill-rows a:hover {
    border-color: var(--tone-accent);
    background: var(--tone-surface);
    text-decoration: none;
}

.code-lookup-page .cip-drill-code {
    flex: 0 0 2.4rem;
    color: var(--tone-accent);
    font-size: 16px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.code-lookup-page .cip-drill-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.code-lookup-page .cip-drill-meta {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.code-lookup-page .cip-drill-title {
    min-width: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: break-word;
    color: var(--tone-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.code-lookup-page .cip-drill-meta {
    color: var(--tone-accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.code-lookup-page .cip-block {
    margin-top: 28px;
}

.code-lookup-page .cip-faq details {
    border-bottom: 1px solid var(--tone-border);
}

.code-lookup-page .cip-faq summary {
    cursor: pointer;
    padding: 10px 0;
}

.code-lookup-page .cip-faq summary h3 {
    display: inline;
    margin: 0;
    color: var(--tone-dark);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}

.code-lookup-page .cip-faq details p {
    margin: 0 0 12px;
    color: #333;
    font-size: 15px;
    line-height: 1.45;
}

.code-lookup-page .cip-convert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: 640px;
    margin-top: 12px;
    padding: 16px 18px 18px;
    border: 1px solid var(--tone-border);
    border-radius: 8px;
    background: var(--tone-surface);
    text-decoration: none;
}

.code-lookup-page .cip-convert:first-of-type {
    margin-top: 0;
}

.code-lookup-page .cip-convert:hover {
    border-color: var(--tone-primary);
    background: var(--tone-surface);
    text-decoration: none;
}

.code-lookup-page .cip-convert-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tone-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.code-lookup-page .cip-flow-arrow {
    display: inline-block;
    width: 18px;
    height: 8px;
    background: currentColor;
    clip-path: polygon(0 35%, 62% 35%, 62% 0, 100% 50%, 62% 100%, 62% 65%, 0 65%);
}

.code-lookup-page .cip-convert.is-return {
    --tone-primary: var(--soc-primary);
    --tone-dark: var(--soc-dark);
    --tone-accent: var(--soc-accent);
    --tone-surface: var(--soc-surface);
    --tone-border: var(--soc-border);
    border-color: var(--tone-border);
    background: var(--tone-surface);
}

.code-lookup-page.soc-lookup .cip-convert.is-return {
    --tone-primary: var(--cip-primary);
    --tone-dark: var(--cip-dark);
    --tone-accent: var(--cip-accent);
    --tone-surface: var(--cip-surface);
    --tone-border: var(--cip-border);
}

.code-lookup-page .cip-convert.is-return:hover {
    border-color: var(--tone-primary);
    background: var(--tone-surface);
}

.code-lookup-page .cip-convert.is-return .cip-convert-kicker,
.code-lookup-page .cip-convert.is-return .cip-convert-title {
    color: var(--tone-primary);
}

.code-lookup-page .cip-convert.is-return .cip-convert-action,
.code-lookup-page .cip-convert.is-return:hover .cip-convert-action {
    background: var(--tone-primary);
}

.code-lookup-page .cip-convert-title {
    color: var(--tone-dark);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.code-lookup-page .cip-convert-copy {
    color: #333;
    font-size: 15px;
    line-height: 1.4;
}

.code-lookup-page .cip-convert-action {
    margin-top: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--tone-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.code-lookup-page .cip-convert:hover .cip-convert-action {
    background: var(--tone-primary);
}

.code-lookup-page .cip-sources-box {
    max-width: 640px;
    padding: 16px 18px 14px;
    border: 1px solid var(--tone-border);
    border-radius: 8px;
    background: var(--tone-surface);
}

.code-lookup-page .cip-sources {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.code-lookup-page .cip-source-name {
    display: block;
    color: var(--tone-dark);
    font-size: 15px;
    font-weight: 700;
}

.code-lookup-page .cip-source-detail,
.code-lookup-page .cip-independence {
    color: #333;
    font-size: 15px;
    line-height: 1.45;
}

.code-lookup-page .cip-independence {
    margin: 0;
}

.code-lookup-page .cip-about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.code-lookup-page .cip-about-links li:not(:last-child) {
    margin-right: 12px;
    padding-right: 12px;
    border-right: 1px solid var(--tone-border);
}

@media only screen and (min-width: 768px) {
    .code-lookup-page .cip-drill-rows.is-columns {
        display: block;
        column-count: 2;
        column-gap: 1rem;
    }

    .code-lookup-page .cip-drill-rows.is-columns li {
        break-inside: avoid;
        margin-bottom: 0.5rem;
    }
}

@media only screen and (max-width: 900px) {
    .code-lookup-page .cip-facts,
    .code-lookup-page .cip-code-ladder {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 767px) {
    .code-lookup-page #main.purple h1 {
        font-size: 32px;
    }

    .code-lookup-page #section-nav {
        display: none;
    }

    .code-lookup-page .cip-jump-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
    }
}

.code-lookup-page.soc-lookup .cip-drill-code {
    flex-basis: 6.2rem;
}

.code-lookup-page.soc-lookup .cip-facts > div {
    grid-template-columns: 11rem minmax(0, 1fr);
}

@media only screen and (min-width: 901px) {
    .code-lookup-page.soc-lookup .cip-code-ladder {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
