/* ==========================================================================
   Keetronics — Compliance Hub
   Formal, document-style presentation. Scoped with the "ch-" prefix so it
   never affects the main website pages.
   ========================================================================== */

.ch-page {
    --ch-ink: #1a1a1a;
    --ch-text: #3b3b3b;
    --ch-muted: #6b6b6b;
    --ch-faint: #8c8c8c;
    --ch-line: #dcdcdc;
    --ch-line-soft: #ebebeb;
    --ch-bg: #f4f4f2;
    --ch-panel: #ffffff;
    --ch-head: #f2f2f0;
    --ch-dark: #262626;
    --ch-accent: #e99431;
    --ch-accent-dark: #c47418;
    --ch-ok: #1d6b43;
    --ch-warn: #8a5300;
    --ch-info: #2b4f78;

    background: var(--ch-bg);
    color: var(--ch-text);
    font-size: 15px;
    line-height: 1.7;
    counter-reset: ch-section;
}

.ch-page *,
.ch-page *::before,
.ch-page *::after {
    box-sizing: border-box;
}

.ch-page h1,
.ch-page h2,
.ch-page h3,
.ch-page h4 {
    color: var(--ch-ink);
    line-height: 1.3;
    margin: 0;
}

.ch-page p {
    margin: 0;
}

.ch-page a {
    color: inherit;
}

.ch-page .ch-link,
.ch-page .ch-more a,
.ch-page .ch-card p a,
.ch-page .ch-note a {
    color: var(--ch-accent-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(196, 116, 24, 0.35);
}

.ch-page .ch-link:hover,
.ch-page .ch-more a:hover,
.ch-page .ch-card p a:hover,
.ch-page .ch-note a:hover {
    border-bottom-color: var(--ch-accent-dark);
}

.ch-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ── Document base (the hub is standalone) ─────────────────────────────── */
html {
    -webkit-text-size-adjust: 100%;
}

body.ch-body {
    margin: 0;
    background: #f4f4f2;
    color: #3b3b3b;
    font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ch-body img {
    max-width: 100%;
    height: auto;
}

.ch-skip {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 100;
    background: #262626;
    color: #fff;
    padding: 8px 14px;
    font-size: 14px;
    text-decoration: none;
}

.ch-skip:focus {
    top: 12px;
}

/* ── Top bar ──────────────────────────────────────────────────────────── */
.ch-topbar {
    background: #fff;
    border-bottom: 1px solid #dcdcdc;
}

.ch-topbar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ch-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    min-width: 0;
}

.ch-brand img {
    height: 44px;
    width: auto;
}

.ch-brand__divider {
    width: 1px;
    height: 32px;
    background: #d0d0d0;
}

.ch-brand__name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #1a1a1a;
    white-space: nowrap;
}

.ch-topbar__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ch-topbar__links a {
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 2px;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ch-topbar__docs {
    color: #fff;
    background: #262626;
    border: 1px solid #262626;
}

.ch-topbar__docs:hover {
    background: #c47418;
    border-color: #c47418;
}

.ch-topbar__main {
    color: #1a1a1a;
    border: 1px solid #bdbdbd;
}

.ch-topbar__main:hover {
    border-color: #1a1a1a;
}

.ch-topbar__main i {
    font-size: 11px;
    margin-left: 4px;
}

.ch-topbar a:focus-visible,
.ch-footer a:focus-visible {
    outline: 2px solid #e99431;
    outline-offset: 2px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.ch-footer {
    background: #fff;
    border-top: 3px solid #262626;
    color: #3b3b3b;
    font-size: 14px;
    line-height: 1.65;
}

.ch-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 28px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
}

.ch-footer p {
    margin: 0 0 8px;
}

.ch-footer__col--company img {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
}

.ch-footer strong {
    color: #1a1a1a;
    font-weight: 600;
}

.ch-footer__title {
    font-size: 11.5px;
    font-weight: 700 !important;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-bottom: 12px !important;
}

.ch-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ch-footer li {
    margin-bottom: 6px;
}

.ch-footer a {
    color: #1a1a1a;
    text-decoration: none;
}

.ch-footer a:hover {
    color: #c47418;
    text-decoration: underline;
}

.ch-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px 22px;
    border-top: 1px solid #ebebeb;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    font-size: 12.5px;
    color: #8c8c8c;
}

@media (max-width: 767px) {
    .ch-topbar__inner {
        padding: 12px 16px;
    }

    .ch-brand img {
        height: 36px;
    }

    .ch-brand {
        gap: 12px;
    }

    .ch-brand__divider,
    .ch-brand__name,
    .ch-topbar__main {
        display: none;
    }

    .ch-footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px 20px;
    }

    .ch-footer__bottom {
        padding: 14px 16px 20px;
    }
}

/* ── Title band ───────────────────────────────────────────────────────── */
.ch-hero {
    background: var(--ch-dark);
    padding: 40px 20px 44px;
    border-bottom: 3px solid var(--ch-accent);
}

.ch-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ch-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 26px;
}

.ch-page .ch-breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.ch-page .ch-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.ch-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--ch-accent) !important;
    margin-bottom: 10px !important;
}

.ch-page .ch-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4.2vw, 42px);
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

.ch-hero__intro {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16.5px;
    max-width: 780px;
}

.ch-hero__meta {
    margin-top: 22px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12.5px;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.55);
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.ch-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 20px 80px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.ch-aside {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ch-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

/* ── Contents navigation ──────────────────────────────────────────────── */
.ch-nav {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
    border-top: 3px solid var(--ch-dark);
    padding: 18px 0 10px;
}

.ch-nav__title,
.ch-contact__title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ch-muted);
    padding: 0 20px 10px;
}

.ch-nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: ch-nav;
}

.ch-nav li {
    counter-increment: ch-nav;
}

.ch-page .ch-nav a {
    display: flex;
    gap: 10px;
    padding: 9px 20px 9px 17px;
    border-left: 3px solid transparent;
    text-decoration: none;
    color: var(--ch-text);
    font-size: 14px;
    line-height: 1.45;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.ch-nav a::before {
    content: counter(ch-nav, decimal-leading-zero);
    color: var(--ch-faint);
    font-size: 12px;
    font-weight: 600;
    min-width: 18px;
    padding-top: 1px;
    font-variant-numeric: tabular-nums;
}

.ch-page .ch-nav a:hover {
    background: var(--ch-bg);
    color: var(--ch-ink);
}

.ch-page .ch-nav a.is-active {
    border-left-color: var(--ch-accent);
    background: #faf7f2;
    color: var(--ch-ink);
    font-weight: 600;
}

.ch-nav a.is-active::before {
    color: var(--ch-accent-dark);
}

.ch-page a:focus-visible,
.ch-page .ch-btn:focus-visible {
    outline: 2px solid var(--ch-accent);
    outline-offset: 2px;
}

/* ── Contact panel ────────────────────────────────────────────────────── */
.ch-contact {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
    padding: 18px 0 16px;
}

.ch-contact__team {
    padding: 0 20px;
    font-weight: 600;
    color: var(--ch-ink);
    font-size: 14.5px;
}

.ch-contact dl {
    margin: 10px 0 0;
    padding: 0 20px;
    font-size: 13.5px;
}

.ch-contact dt {
    color: var(--ch-faint);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 8px;
}

.ch-contact dd {
    margin: 0;
    word-break: break-word;
}

.ch-page .ch-contact dd a {
    color: var(--ch-ink);
    text-decoration: none;
}

.ch-page .ch-contact dd a:hover {
    color: var(--ch-accent-dark);
    text-decoration: underline;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.ch-page .ch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 2px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.ch-page .ch-btn--primary {
    background: var(--ch-dark);
    border-color: var(--ch-dark);
    color: #fff;
}

.ch-page .ch-btn--primary:hover {
    background: var(--ch-accent-dark);
    border-color: var(--ch-accent-dark);
    color: #fff;
}

.ch-page .ch-btn--secondary {
    background: #fff;
    color: var(--ch-ink);
    border-color: #bdbdbd;
}

.ch-page .ch-btn--secondary:hover {
    border-color: var(--ch-ink);
}

.ch-page .ch-btn--sm {
    padding: 6px 12px;
    font-size: 12.5px;
}

/* ── Numbered sections ────────────────────────────────────────────────── */
.ch-section-head {
    counter-increment: ch-section;
    scroll-margin-top: 24px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ch-line);
}

.ch-page .ch-section-head h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 22px;
    font-weight: 600;
}

.ch-section-head h2::before {
    content: counter(ch-section, decimal-leading-zero);
    font-size: 14px;
    font-weight: 700;
    color: var(--ch-accent-dark);
    font-variant-numeric: tabular-nums;
}

.ch-section-head p {
    color: var(--ch-muted);
    margin-top: 6px !important;
    max-width: 780px;
}

/* ── Panels ───────────────────────────────────────────────────────────── */
.ch-card {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
    padding: 24px 26px;
}

.ch-page .ch-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ch-card p {
    color: var(--ch-text);
}

.ch-card p+p {
    margin-top: 12px;
}

.ch-grid {
    display: grid;
    gap: 16px;
}

.ch-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ch-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Clause list: numbered, formal definitions (used instead of icon cards) */
.ch-clauses {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
}

.ch-clause {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    padding: 18px 26px;
    border-bottom: 1px solid var(--ch-line-soft);
}

.ch-clause:last-child {
    border-bottom: 0;
}

.ch-page .ch-clause h3 {
    font-size: 15px;
    font-weight: 600;
}

.ch-clause p {
    color: var(--ch-text);
}

/* Section index on the overview page */
.ch-page .ch-index-item {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 18px 26px;
    border-bottom: 1px solid var(--ch-line-soft);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.ch-index-item:last-child {
    border-bottom: 0;
}

.ch-index-item:hover {
    background: #fbfaf8;
}

.ch-index-item strong {
    color: var(--ch-ink);
    font-weight: 600;
}

.ch-index-item span {
    color: var(--ch-muted);
    font-size: 14px;
}

.ch-index-item i {
    color: var(--ch-faint);
    transition: color 0.15s ease, transform 0.15s ease;
}

.ch-index-item:hover i {
    color: var(--ch-accent-dark);
    transform: translateX(3px);
}

/* Bulleted list */
.ch-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ch-list li {
    position: relative;
    padding-left: 20px;
}

.ch-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--ch-accent);
}

.ch-list li strong {
    color: var(--ch-ink);
    font-weight: 600;
}

/* ── Policy statement ─────────────────────────────────────────────────── */
.ch-policy {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
    border-top: 3px solid var(--ch-accent);
}

.ch-policy__label {
    padding: 14px 32px;
    border-bottom: 1px solid var(--ch-line-soft);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ch-muted);
}

.ch-policy blockquote {
    margin: 0;
    padding: 26px 32px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    line-height: 1.85;
    color: #2b2b2b;
}

.ch-policy__sign {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 32px;
    background: var(--ch-head);
    border-top: 1px solid var(--ch-line-soft);
    font-size: 13.5px;
    color: var(--ch-muted);
}

.ch-policy__sign strong {
    color: var(--ch-ink);
    display: block;
}

/* ── Key facts strip ──────────────────────────────────────────────────── */
.ch-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
}

.ch-page .ch-fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-right: 1px solid var(--ch-line-soft);
    border-bottom: 1px solid var(--ch-line-soft);
    margin: 0 -1px -1px 0;
    text-decoration: none;
    line-height: 1.35;
    transition: background-color 0.15s ease;
}

.ch-fact:hover {
    background: #fbfaf8;
}

.ch-fact img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.ch-fact strong {
    display: block;
    color: var(--ch-ink);
    font-size: 14.5px;
    font-weight: 600;
}

.ch-fact span {
    font-size: 12.5px;
    color: var(--ch-muted);
}

/* ── Compliance summary (overview) ────────────────────────────────────── */
.ch-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
}

.ch-page .ch-summary__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px 18px;
    border-right: 1px solid var(--ch-line-soft);
    border-bottom: 1px solid var(--ch-line-soft);
    margin: 0 -1px -1px 0;
    text-decoration: none;
    line-height: 1.4;
    transition: background-color 0.15s ease;
}

.ch-summary__item:hover {
    background: #fbfaf8;
}

.ch-summary__logo {
    height: 48px;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.ch-summary__logo img {
    max-height: 48px;
    max-width: 96px;
    object-fit: contain;
}

.ch-summary__mono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 44px;
    padding: 0 8px;
    border: 2px solid var(--ch-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ch-dark);
}

.ch-summary__title {
    display: block;
    color: var(--ch-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.ch-summary__text {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ch-muted);
}

.ch-summary__type {
    margin-top: auto;
    padding-top: 14px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ch-ok);
}

@media (max-width: 767px) {
    .ch-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ch-page .ch-summary__item {
        padding: 18px 16px 16px;
    }
}

/* ── Process flow ─────────────────────────────────────────────────────── */
.ch-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
    counter-reset: flow;
}

.ch-flow li {
    counter-increment: flow;
    padding: 18px 16px;
    border-right: 1px solid var(--ch-line-soft);
}

.ch-flow li:last-child {
    border-right: 0;
}

.ch-flow li::before {
    content: 'Stage ' counter(flow);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ch-accent-dark);
    margin-bottom: 6px;
}

.ch-flow li strong {
    display: block;
    color: var(--ch-ink);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}

.ch-flow li span {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ch-muted);
}

/* ── Certification records ────────────────────────────────────────────── */
.ch-cert {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
    display: flex;
    flex-direction: column;
    scroll-margin-top: 24px;
}

.ch-cert__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ch-line-soft);
}

.ch-cert__logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.ch-cert__title {
    flex: 1;
    min-width: 0;
}

.ch-page .ch-cert h3 {
    font-size: 18px;
    font-weight: 600;
}

.ch-cert__title p {
    color: var(--ch-muted);
    font-size: 13.5px;
}

.ch-cert__summary {
    padding: 16px 24px 0;
    font-size: 14px;
}

.ch-cert__meta {
    margin: 12px 24px 0;
    font-size: 13.5px;
}

.ch-cert__meta div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--ch-line-soft);
}

.ch-cert__meta dt {
    color: var(--ch-muted);
    font-weight: 500;
}

.ch-cert__meta dd {
    margin: 0;
    color: var(--ch-ink);
    font-weight: 600;
}

.ch-cert__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding: 18px 24px 22px;
}

.ch-cert> :last-child:not(.ch-cert__actions) {
    margin-bottom: 22px;
}

.ch-status {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid currentColor;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ch-status--ok {
    color: var(--ch-ok);
}

.ch-status--warn {
    color: var(--ch-warn);
}

.ch-status--info {
    color: var(--ch-info);
}

/* Memberships */
.ch-member {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ch-member img {
    width: 80px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ── Tables ───────────────────────────────────────────────────────────── */
.ch-table-wrap {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
}

.ch-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ch-table caption {
    caption-side: top;
    text-align: left;
    padding: 14px 20px;
    font-weight: 600;
    color: var(--ch-ink);
    border-bottom: 1px solid var(--ch-line);
}

.ch-table th {
    text-align: left;
    background: var(--ch-head);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ch-muted);
    padding: 12px 18px;
    border-bottom: 1px solid var(--ch-line);
    white-space: nowrap;
}

.ch-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--ch-line-soft);
    vertical-align: middle;
}

.ch-table tbody tr:last-child td {
    border-bottom: 0;
}

.ch-table__action {
    text-align: right;
    white-space: nowrap;
}

.ch-table--docs th:nth-child(2) { width: 110px; }
.ch-table--docs th:nth-child(3) { width: 64px; }
.ch-table--docs th:nth-child(4) { width: 116px; }
.ch-table--docs th:nth-child(5) { width: 100px; }
.ch-table--docs th:nth-child(6) { width: 132px; }

.ch-table--docs td:not(:first-child):not(.ch-table__action) {
    white-space: nowrap;
    color: var(--ch-muted);
    font-size: 13.5px;
}

.ch-doc-title {
    display: block;
    font-weight: 600;
    color: var(--ch-ink);
}

.ch-doc-summary {
    display: block;
    font-size: 13px;
    color: var(--ch-muted);
    line-height: 1.5;
    margin-top: 2px;
}

.ch-pending {
    font-size: 12.5px;
    font-style: italic;
    color: var(--ch-faint);
}

.ch-table--matrix th:not(:first-child),
.ch-table--matrix td:not(:first-child) {
    text-align: center;
}

.ch-mark {
    font-size: 13px;
    font-weight: 600;
}

.ch-mark--yes {
    color: var(--ch-ok);
}

.ch-mark--part {
    color: var(--ch-info);
}

.ch-mark--na {
    color: var(--ch-faint);
    font-weight: 500;
}

.ch-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin-top: 12px !important;
    font-size: 13px;
    color: var(--ch-muted);
}

.ch-legend b {
    font-weight: 600;
}

/* ── Notes ────────────────────────────────────────────────────────────── */
.ch-note {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
    border-left: 3px solid var(--ch-dark);
    padding: 14px 20px;
    font-size: 14px;
    color: var(--ch-text);
}

.ch-note strong {
    color: var(--ch-ink);
}

.ch-more {
    margin-top: 12px !important;
    font-size: 14px;
    text-align: right;
}

/* ── Company information ──────────────────────────────────────────────── */
.ch-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 3px solid var(--ch-accent);
}

.ch-mono {
    font-family: Consolas, 'SFMono-Regular', Menlo, monospace;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: var(--ch-ink);
}

@media (max-width: 767px) {
    .ch-profile-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.ch-faq {
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
}

.ch-faq__item {
    border-bottom: 1px solid var(--ch-line-soft);
}

.ch-faq__item:last-child {
    border-bottom: 0;
}

.ch-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 24px;
    font-weight: 600;
    color: var(--ch-ink);
    transition: background-color 0.15s ease;
}

.ch-faq__item summary::-webkit-details-marker {
    display: none;
}

.ch-faq__item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 1px solid var(--ch-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: var(--ch-muted);
}

.ch-faq__item[open] summary::after {
    content: '2';
    border-color: var(--ch-accent);
    color: var(--ch-accent-dark);
}

.ch-faq__item summary:hover {
    background: #fbfaf8;
}

.ch-faq__item summary:focus-visible {
    outline: 2px solid var(--ch-accent);
    outline-offset: -2px;
}

.ch-faq__answer {
    padding: 0 24px 18px;
    max-width: 820px;
}

.ch-faq__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 8px !important;
    font-size: 13.5px;
}

/* ── Sustainability metrics ───────────────────────────────────────────── */
.ch-metrics .ch-fact {
    padding: 20px;
}

.ch-page .ch-metric {
    font-size: 22px;
    font-weight: 600;
    margin: 4px 0 2px;
}

.ch-metric .ch-pending {
    font-size: 13px;
    font-weight: 400;
}

/* ── Photo grid ───────────────────────────────────────────────────────── */
.ch-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ch-photos figure {
    margin: 0;
    background: var(--ch-panel);
    border: 1px solid var(--ch-line);
}

.ch-photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.ch-photos figcaption {
    padding: 10px 14px;
    font-size: 13px;
    color: var(--ch-text);
    border-top: 1px solid var(--ch-line-soft);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ch-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ch-flow li:nth-child(3n) {
        border-right: 0;
    }

    .ch-flow li:nth-child(-n+3) {
        border-bottom: 1px solid var(--ch-line-soft);
    }

    .ch-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ch-clause,
    .ch-page .ch-index-item {
        grid-template-columns: 200px minmax(0, 1fr) auto;
    }

    .ch-clause {
        grid-template-columns: 200px minmax(0, 1fr);
    }
}

@media (max-width: 991px) {
    .ch-hero {
        padding: 28px 16px 32px;
    }

    .ch-layout {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px 16px 60px;
        gap: 32px;
    }

    .ch-aside {
        position: static;
    }

    .ch-nav ol {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ch-aside .ch-contact {
        display: none;
    }

    .ch-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ch-table--docs td:not(:first-child):not(.ch-table__action) {
        white-space: normal;
    }
}

@media (max-width: 767px) {

    .ch-grid--2,
    .ch-grid--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .ch-nav ol {
        grid-template-columns: minmax(0, 1fr);
    }

    .ch-flow {
        grid-template-columns: minmax(0, 1fr);
    }

    .ch-flow li {
        border-right: 0;
        border-bottom: 1px solid var(--ch-line-soft);
    }

    .ch-flow li:last-child {
        border-bottom: 0;
    }

    .ch-clause,
    .ch-page .ch-index-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 16px 20px;
    }

    .ch-index-item i {
        display: none;
    }

    .ch-card {
        padding: 20px;
    }

    .ch-policy__label,
    .ch-policy blockquote,
    .ch-policy__sign {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ch-policy blockquote {
        font-size: 16px;
    }

    .ch-page .ch-section-head h2 {
        font-size: 20px;
    }

    .ch-cert__meta div {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    /* Tables become stacked records */
    .ch-table thead {
        display: none;
    }

    .ch-table,
    .ch-table tbody,
    .ch-table tr,
    .ch-table td {
        display: block;
        width: 100%;
    }

    .ch-table tr {
        padding: 14px 18px;
        border-bottom: 1px solid var(--ch-line);
    }

    .ch-table tbody tr:last-child {
        border-bottom: 0;
    }

    .ch-table td {
        border: 0 !important;
        padding: 3px 0;
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 12px;
        text-align: left !important;
    }

    .ch-table td[data-label]::before {
        content: attr(data-label);
        font-size: 11.5px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        color: var(--ch-faint);
        padding-top: 2px;
    }

    .ch-table td:not([data-label]) {
        display: block;
    }

    .ch-table td:first-child {
        margin-bottom: 6px;
    }

    .ch-table__action {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .ch-photos {
        grid-template-columns: minmax(0, 1fr);
    }

    .ch-page .ch-btn {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ch-page * {
        transition: none !important;
    }
}

/* ── Print ────────────────────────────────────────────────────────────── */
@media print {

    .ch-topbar,
    .ch-footer,
    .ch-skip,
    .ch-aside,
    .ch-cert__actions,
    .ch-table__action,
    .ch-more,
    #preloader {
        display: none !important;
    }

    .ch-page,
    .ch-hero {
        background: #fff;
    }

    .ch-hero {
        padding: 0 0 12px;
        border-bottom: 2px solid #000;
    }

    .ch-page .ch-hero h1,
    .ch-hero__intro,
    .ch-hero__meta,
    .ch-eyebrow {
        color: #000 !important;
    }

    .ch-breadcrumb {
        display: none;
    }

    .ch-layout {
        display: block;
        padding: 16px 0;
    }

    .ch-card,
    .ch-cert,
    .ch-policy,
    .ch-clause {
        break-inside: avoid;
    }
}
