/* URI: /search-cip/naics:488 */
/* Paths: /css/system-below.css,/css/layout-below.css,/css/dashboard/default/default-below.css,/css/dashboard/cip/search.css */
/* File: /bundles/cbb_a757714708c214fd39267899df2f1cf8_13c8143f.css */
/* Created CSS File: 2026-11-13 10:42:53 */


/* 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;
}


/* EXAMPLE LIST */
.sic:not(.sticky) a,
.sic h3 {
    color: #2964b0;
}

.naics:not(.sticky) a,
.naics h3 {
    color: #00806d;
}

.gold:not(.sticky) a,
.gold h3 {
    color: #704a19;
}

.purple:not(.sticky) a,
.purple h3 {
    color: #75487b;
}

.red:not(.sticky) a,
.red h3 {
    color: #ac3931;
}

.columned-list ul {
    position: relative;
    column-gap: 0;
}

.columned-list ul li {
    padding: 10px;
    break-inside: avoid;
}

.columned-list ul li:empty {
    position: absolute;
    right: 0;
    bottom: 0;
    display: none;
    width: 50%;
    height: 52px;
    background-color: #fff;
}

.columned-list.multiplelines.with-note .note span {
    font-weight: 600;
}

.detail-head + p a {
    color: #2964b0;
}

.detail-head.naics + p a {
    color: #00806d;
}

.detail-list-wrap {
    padding: 15px 20px;
    background-color: #f8f8f8;
}

.detail-list li {
    padding-left: 24px;
    background: url(https://siccode.com/images/icons/checked.svg) no-repeat left center;
    /* Important is used to fix critical css issue with this rule */
    background-size: 16px auto !important;
}

ul.digits li, ul.digits li a {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

ul.digits li a:hover {
    text-decoration: none;
}

ul.digits li a:hover span:not(.separator) {
    text-decoration: underline !important;
}

span.fixed-width {
    min-width: 65px;
}

ul.digits li a span:first-child {
    display: block;
}

#extended_sic ul.digits li a span:first-child,
#extended_naics ul.digits li a span:first-child {
    white-space: nowrap;
}

ul.digits li div, ul.digits li a div {
    word-break: break-word;
    color: #444;
}

ul.digits li a div, ul.digits li a span {
    margin-left: 5px;
    /* TODO enable again for multi count display, fix related codes other way */
    /*flex-grow: 0;*/
    /*flex-shrink: 0;*/
}

div.with-note ul li:nth-child(even) {
    background-color: #fff;
}

/* List headers line and counts */
.columned-list ul li.grid-header,
.columned-list-2 ul li.grid-header,
.columned-list-3 ul li.grid-header {
    background: none;
    padding: 0 10px;
    font-size: 14px;
}

.sic:not(.sticky) ul.digits li.grid-header a,
ul.digits li.grid-header a:hover span,
ul.digits li.grid-header a:hover span:not(.separator) {
    text-decoration: none !important;
    color: #333;
}

ul li span.business-count,
ul.digits li a span.business-count {
    margin-left: auto;
    display: inline-flex;
}

ul.digits li a[href=""]:hover span:not(.separator) {
    text-decoration: none !important;
}

ul li span.business-count + span.business-count,
ul.digits li a span.business-count + span.business-count {
    margin-left: 10px;
    width: 120px;
    white-space: nowrap;
    justify-content: right;
}

ul.digits li a span:empty + span:not(.business-count) {
    margin-left: 0;
}

.info-icon.tooltip svg {
    filter: opacity(0.6);
}

.info-icon.tooltip {
    position: relative;
    cursor: pointer;
}

.info-icon[data-tooltip]:not([data-tooltip=""])::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
    background-color: black;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
}

.info-icon[data-tooltip]:not([data-tooltip=""]):hover::before {
    visibility: visible;
    opacity: 1;
}


@media only screen and (min-width: 768px) {

    .columned-list-3 ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-flow: row dense;

    }

    .columned-list-2 ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row dense;
    }

    .columned-list-3 ul li.first, .columned-list-2 ul li.first {
        grid-column-start: 1;
    }

    .columned-list-3 ul li.second, .columned-list-2 ul li.second {
        grid-column-start: 2;
    }

    .columned-list-3 ul li.third {
        grid-column-start: 3;
    }

    .columned-list-3 ul li.gray, .columned-list-2 ul li.gray {
        background-color: #f8f8f8;
    }

    .columned-list-3 ul li.white, .columned-list-2 ul li.white {
        background-color: #fff;
    }

    .detail-list {
        display: flex;
        flex-wrap: wrap;
    }

    .detail-list li {
        width: 50%;
    }
}

@media only screen and (min-width: 992px) {
    .detail-list li {
        width: 33.333%;
    }
}

@media only screen and (min-width: 768px) {

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

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

    .columned-list ul li {
        width: 100%;
        border: 2px solid #fff;
        background-color: #f8f8f8;
    }

    .columned-list-2 ul.li-empty-1 li:empty,
    .columned-list-3 ul li:nth-of-type(even):empty {
        display: block;
    }

    .columned-list-2 ul.li-empty-1 li:empty {
        width: 50%;
    }

    .columned-list.multiplelines.with-note ul {
        column-count: 1;
    }

    .columned-list.multiplelines.with-note ul li {
        display: flex;
    }

    .columned-list.multiplelines.with-note ul li:empty {
        display: none;
    }

    .columned-list.multiplelines.with-note ul li:nth-of-type(odd) {
        background-color: #f8f8f8;
    }

    .columned-list.multiplelines.with-note ul li a {
        width: 45%;
    }

    .columned-list.multiplelines.with-note.naics ul li a div {
        padding-left: 72px;
        text-indent: -72px;
    }

    .columned-list.multiplelines.with-note.gold ul li a div {
        padding-left: 52px;
        text-indent: -52px;
    }

    .columned-list.multiplelines.with-note ul li .note {
        width: 50%;
        padding-left: 10px;
    }
}

@media only screen and (min-width: 992px) {

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

    .columned-list-3 ul:not(.li-empty-1):not(.li-empty-2) li:empty {
        display: none;
    }

    .columned-list-3 ul.li-empty-1 li:empty,
    .columned-list-3 ul.li-empty-2:not(.columned-list-over) li:empty {
        display: block;
        width: 33.3333%;
    }

    .columned-list-3 ul.li-empty-2 li:first-of-type + li:empty {
        width: 66.6666%;
    }

    .columned-list-3 ul.li-empty-2 li:not(:first-of-type) + li:empty {
        height: 104px;
    }
}

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

/* HIERARCHY */
#hierarchy.sic a:hover > * {
    color: #2964b0;
}

#hierarchy.naics a:hover > *, #extended_naics.naics a:hover > * {
    color: #00806d;
}

#hierarchy.gold a:hover > * {
    color: #704a19;
}

#hierarchy.purple a:hover > * {
    color: #75487b;
}

#hierarchy.red a:hover > * {
    color: #ac3931;
}

#hierarchy h3 {
    margin-top: 0;
    color: #757575;
}

#hierarchy p {
    margin: 0;
}

.digits .white-rounded {
    width: 98%;
    margin-bottom: 5px;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background-color: white;
}

.digits .color-naics {
    border-color: #00806d;
}

.digits .color-sic {
    border-color: #2964b0;
}

.digits .color-isic {
    border-color: #70491a;
}

.digits .color-soc {
    border-color: #37123c;
}

@media only screen and (min-width: 768px) {
    .hierarchy-list {
        display: flex;
    }

    .hierarchy-list-parent {
        overflow: hidden;
        flex: 2;
    }

    .hierarchy-list-children {
        overflow: hidden;
        flex: 2;
    }
}

@media only screen and (max-width: 991px) {
    .hierarchy-list-parent + .hierarchy-list-children ul {
        column-count: 1;
    }
}

@media only screen and (min-width: 992px) {
    .hierarchy-list-children {
        flex: 4;
    }

    .hierarchy-list-spacing {
        flex: 1;
    }
}

/* CROSS-REFERENCE */
#cross-references li {
    position: relative;
    padding: 20px 20px 20px 45px;
}

#cross-references li:nth-of-type(odd) {
    background-color: #f8f8f8;
}

#cross-references li:before {
    position: absolute;
    top: 20px;
    left: 20px;
    content: "—";
}

#cross-reference .detail-body.sic a {
    color: #2964b0;
}

/* TOP COMPANY */
#company .detail-body a {
    color: #2964b0;
}

#company .detail-body ul li a:hover {
    text-decoration: underline;
}

#company .more-links {
    margin-top: 30px;
    margin-right: 5px;
    padding: 10px;
    border: 1px solid #ebebeb;
    border-radius: 5px;
}

#company .more-links a.more-list {
    font-weight: 600;
    color: #2964b0;
}

#company .more-links a.more-list:before {
    top: 0.6em;
    opacity: 1;
    border-left-color: #2964b0;
}

#company .more-links.naics a.more-list {
    color: #00806d;
}

#company .more-links.naics a.more-list:before {
    border-left-color: #00806d;
}

@media only screen and (min-width: 768px) {
    #company .more-links {
        position: relative;
        display: flex;
        padding: 10px;
        border: 1px solid #ebebeb;
    }

    #company .more-links:after {
        position: absolute;
        bottom: 0;
        left: 50%;
        display: block;
        width: 1px;
        height: 100%;
        content: "";
        background-color: #ebebeb;
    }

    #company .more-links div {
        width: 50%;
        text-align: center;
    }
}

/* EXTENDED CODE & RELATED CODE SYSTEMS */
#extended-code h3,
#related-codes h3 {
    text-transform: uppercase;
}

#extended-code .columned-list li span {
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    margin-right: 3px;
    padding: 4px 5px 2px;
    vertical-align: top;
    border-radius: 3px;
    background-color: #e6e6e6;
}

#extended-code li.highlight {
    background-color: #e4f9ff;
}

#related-codes h3 {
    padding-left: 20px;
}

#related-codes .columned-list a:not(:hover) span:not(:first-of-type),
#related-codes .columned-list a .note,
#related-industry-codes .columned-list a:not(:hover) span:not(:first-of-type) {
    color: #555;
}

/* CENSUS */
#census .detail-summary,
.census.detail-summary {
    flex-direction: row;
}

#census .detail-summary table {
    width: 100%;
}

#census .detail-summary table td:last-child {
    text-align: right;
}

/* QUESTIONS AND ANSWERS */
#questions .detail-body > ul > li {
    display: block;
    padding: 15px 20px;
}

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

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

#questions .detail-body > ul > li p {
    margin: 0;
}

#questions .detail-body > ul > li a {
    text-decoration: underline;
}
#certifications .detail-body > ul > li a {
    text-decoration: underline;
}

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

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

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

/* mobile friendly link size fix */
@media only screen and (max-width: 767px) {
    #company .more-links {
        padding: 0;
    }

    #company .more-links a.more-list {
        padding: 10px 10px 10px 30px;
    }

    #company .more-links a.more-list:before {
        top: 1.6em;
        margin-left: 15px;
    }
}


: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;
}
#cip-search-page {
    color: #333;
    text-align: left;
}

#cip-search-page #main.purple.bg-plain {
    margin: 0;
    height: auto;
    background: var(--cip-primary);
    color: #fff;
    padding: 16px 0 18px;
}

#cip-search-page #main.purple .wrapper,
#cip-search-page .cip-hero {
    max-width: 1250px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
}

#cip-search-page #main.purple .wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

#cip-search-page #main.purple h1,
#cip-search-page #main.purple .digit,
#cip-search-page #main.purple .digit b,
#cip-search-page #main.purple .cip-topic-summary,
#cip-search-page #main.purple .cip-topic-summary a,
#cip-search-page #main.purple .cip-topic-summary b {
    color: #fff;
}

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

#cip-search-page #main.purple .digit {
    display: block;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

#cip-search-page #main.purple .digit b {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-weight: 500;
    white-space: normal;
}

#cip-search-page #main.purple .cip-topic-summary {
    max-width: 860px;
    margin: 12px 0 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}

#cip-search-page #main.purple .cip-topic-summary a {
    font-weight: 700;
    text-decoration: underline;
}

#cip-search-page #main.purple .cip-topic-summary b {
    font-weight: 700;
}

#cip-search-page .cip-hero-crumbs {
    margin: 18px 0 8px;
    color: #667;
    font-size: 14px;
}

#cip-search-page .cip-hero-crumbs a {
    color: var(--cip-primary);
    font-weight: 400;
    text-decoration: none;
}

#cip-search-page .cip-search-lead {
    margin: 14px 0 8px;
    color: var(--cip-dark);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

#cip-search-page .cip-search-lead b {
    font-weight: 700;
}

#cip-search-page .cip-search-group {
    margin: 16px 0 6px;
    color: var(--cip-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#cip-search-page .cip-search-results {
    margin: 0;
    padding: 0;
    list-style: none;
}

#cip-search-page .cip-search-results li {
    margin: 0 0 8px;
    padding: 10px 12px;
    border: 1px solid var(--cip-border);
    border-radius: 8px;
    background: #fff;
}

#cip-search-page .cip-search-row {
    display: flex;
    gap: 12px;
    align-items: baseline;
    color: var(--cip-dark);
    font-weight: 600;
    text-decoration: none;
}

#cip-search-page .cip-search-row:hover .cip-search-title {
    text-decoration: underline;
}

#cip-search-page .cip-search-code {
    flex: 0 0 auto;
    padding: 0 6px;
    border: 1px solid var(--cip-border);
    border-radius: 4px;
    background: var(--cip-surface);
    color: var(--cip-primary);
    font-weight: 700;
}

#cip-search-page .cip-search-split.has-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 28px;
    align-items: start;
}

#cip-search-page .cip-search-side {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--cip-border);
    border-radius: 8px;
    background: var(--cip-surface);
}

#cip-search-page .cip-search-side .cip-search-lead {
    margin: 0 0 12px;
    font-size: 16px;
}

#cip-search-page .cip-search-side-label {
    margin: 12px 0 6px;
    color: var(--cip-accent);
    font-size: 13px;
    font-weight: 700;
}

#cip-search-page .cip-note-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#cip-search-page .cip-empty-search {
    max-width: 520px;
    margin: 0 0 16px;
}

#cip-search-page .cip-empty-search .code-search-box {
    display: flex;
    align-items: center;
    width: 100%;
}

#cip-search-page .cip-empty-search .code-search-box > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

#cip-search-page .cip-empty-search .code-search-box input[type=text],
#cip-search-page .cip-empty-search .code-search-box input[type=submit] {
    box-sizing: border-box;
    height: 44px;
    margin: 0;
}

#cip-search-page .cip-empty-search .code-search-box input[type=text] {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid var(--cip-border);
    border-right: 0;
    border-radius: 6px 0 0 6px;
    color: #333;
    font-size: 16px;
}

#cip-search-page .cip-empty-search .code-search-box input[type=submit] {
    display: block;
    padding: 0 16px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: var(--cip-primary);
    color: #fff;
    font-weight: 700;
    line-height: 44px;
}

#cip-search-page .cip-empty-directory {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--cip-primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

#cip-search-page .cip-empty-directory:hover {
    background: var(--cip-dark);
    color: #fff;
}

#cip-search-page .cip-empty-sections {
    display: block;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

#cip-search-page .cip-empty-sections li {
    margin: 0 0 8px;
}

#cip-search-page .cip-empty-sections a {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

#cip-search-page .cip-empty-sections .cip-search-title {
    overflow: hidden;
    min-width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#cip-search-page .cip-empty-sections a[data-overflow="1"]:hover::after,
#cip-search-page .cip-empty-sections a[data-overflow="1"]:focus-visible::after {
    content: attr(data-full);
    position: absolute;
    z-index: 6;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    padding: 8px 10px;
    border: 1px solid var(--cip-primary);
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    box-shadow: 0 8px 20px rgba(30, 39, 64, 0.16);
}

@media only screen and (min-width: 768px) {
    #cip-search-page .cip-empty-sections {
        column-count: 2;
        column-gap: 1rem;
    }

    #cip-search-page .cip-empty-sections li {
        break-inside: avoid;
    }
}

#cip-search-page .cip-search-qa {
    margin: 0 0 10px;
    padding: 12px 14px;
    border: 1px solid var(--cip-border);
    border-radius: 6px;
    background: #fff;
}

#cip-search-page .cip-search-qa summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

#cip-search-page .cip-search-qa summary::-webkit-details-marker {
    display: none;
}

#cip-search-page .cip-search-qa h3,
#cip-search-page .cip-search-qa p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    line-height: 1.45;
}

#cip-search-page .cip-search-qa h3 {
    flex: 1 1 auto;
    color: var(--cip-dark);
    font-size: 16px;
    font-weight: 700;
}

#cip-search-page .cip-search-qa p {
    margin-top: 8px;
    color: #333;
    font-size: 15px;
}

#cip-search-page .cip-search-qa summary::after {
    content: "Show answer";
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--cip-primary);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

#cip-search-page .cip-search-qa[open] summary::after {
    content: "Hide answer";
}

#cip-search-page .cip-search-mark {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--cip-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

#cip-search-page .cip-search-mark.is-a {
    background: var(--cip-surface);
    color: var(--cip-primary);
    border: 1px solid var(--cip-border);
}

#cip-search-page .cip-search-title {
    min-width: 0;
}

#cip-search-page .cip-search-snippet {
    margin: 6px 0 0;
    color: #333;
    font-size: 14px;
    line-height: 1.45;
}

#cip-search-page .cip-search-snippet b {
    background: #d9e2f0;
    font-weight: 700;
}

#cip-search-page .cip-drill-support,
#cip-search-page .cip-about-lead {
    color: #333;
    font-size: 15px;
    line-height: 1.45;
}

#cip-search-page .cip-drill-support a,
#cip-search-page .cip-about-links a {
    color: var(--cip-primary);
}

#cip-search-page .cip-block-heading {
    margin: 8px 0;
    color: var(--cip-dark);
    font-size: 22px;
    font-weight: 600;
}

#cip-search-page .cip-list-card {
    display: block;
    float: none;
    clear: both;
    width: 100%;
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid var(--cip-border);
    border-radius: 8px;
    background: var(--cip-surface);
    box-sizing: border-box;
}

#cip-search-page .cip-list-card p,
#cip-search-page .cip-list-card .cip-block-heading {
    color: var(--cip-dark);
}

#cip-search-page .cip-list-card p {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
}

#cip-search-page .cip-list-card-kicker {
    margin: 0 0 6px;
    color: var(--cip-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#cip-search-page .cip-list-card-action {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--cip-accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

#cip-search-page .cip-list-card-action:hover {
    background: var(--cip-primary);
    color: #fff;
}

#cip-search-page .cip-about-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#cip-search-page .cip-about-links li {
    display: flex;
    align-items: center;
    margin: 0;
}

#cip-search-page .cip-about-links li:not(:last-child)::after {
    content: "|";
    margin: 0 12px;
    color: #c5ced6;
    font-weight: 400;
}

@media only screen and (max-width: 800px) {
    #cip-search-page .cip-search-split.has-side {
        grid-template-columns: 1fr;
    }

    #cip-search-page #main.purple h1 {
        font-size: 26px;
    }
}

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

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