.p4-page-intro,
.p4-comparison-presets,
.p4-resource-list,
.p4-resource-boundary,
.p4-compare-picker,
.p4-comparison-result,
.p4-product-engineering,
.p4-video-component {
    margin: 0 0 34px;
}

.trade-page-layout.p4-full-layout {
    grid-template-columns: minmax(0, 1fr);
}

.p4-full-layout .trade-page-content {
    min-width: 0;
}

.p4-full-layout .entry-content {
    width: 100%;
    max-width: none;
}

.mfg-form-context {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 18px;
    padding: 11px 14px;
    border-left: 4px solid #0b6b5c;
    background: #edf7f4;
    color: #344252;
    line-height: 1.6;
}

.mfg-form-context strong {
    color: #0b6b5c;
}

.p4-page-intro {
    border-bottom: 1px solid #d9dee3;
    padding: 0 0 24px;
}

.p4-page-intro > span,
.p4-product-engineering > header > span,
.p4-video-component > header > span {
    display: block;
    margin-bottom: 8px;
    color: #0b6b5c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.p4-page-intro h2,
.p4-comparison-presets h2,
.p4-resource-list h2,
.p4-resource-boundary h2,
.p4-comparison-result h2,
.p4-product-engineering h2,
.p4-video-component h2 {
    margin: 0 0 12px;
    color: #15232c;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: 0;
}

.p4-page-intro p,
.p4-resource-list header p,
.p4-product-engineering > header p {
    max-width: 920px;
    margin: 0;
    color: #4a5a64;
    line-height: 1.8;
}

.p4-page-intro nav,
.p4-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.p4-page-intro nav a,
.p4-product-actions a,
.p4-resource-boundary > a,
.p4-product-resources > a,
.p4-compare-next > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border: 1px solid #0b6b5c;
    border-radius: 4px;
    padding: 8px 16px;
    color: #0b6b5c;
    font-weight: 700;
    text-decoration: none;
}

.p4-page-intro nav a:first-child,
.p4-product-actions a:last-child,
.p4-compare-next > a {
    background: #0b6b5c;
    color: #fff;
}

.p4-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #d9dee3;
    border-radius: 4px;
}

.p4-table-wrap table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: collapse;
    background: #fff;
}

.p4-table-wrap th,
.p4-table-wrap td {
    border-bottom: 1px solid #e4e8eb;
    padding: 13px 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.65;
}

.p4-table-wrap thead th {
    background: #f1f5f4;
    color: #203139;
    font-size: 13px;
}

.p4-table-wrap tbody tr:last-child > * {
    border-bottom: 0;
}

.p4-table-wrap a {
    color: #086b5b;
    font-weight: 700;
}

.p4-resource-list > header,
.p4-comparison-presets > header,
.p4-comparison-result > header {
    margin-bottom: 16px;
}

.p4-comparison-presets > header p {
    margin: 0;
    color: #4a5a64;
    line-height: 1.8;
}

.p4-preset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d9dee3;
}

.p4-preset-grid article {
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    min-width: 0;
    border-right: 1px solid #d9dee3;
    border-bottom: 1px solid #d9dee3;
    padding: 18px;
}

.p4-preset-grid article:nth-child(even) {
    border-right: 0;
}

.p4-preset-grid h3 {
    margin: 0 0 8px;
    color: #1d3039;
    font-size: 18px;
    letter-spacing: 0;
}

.p4-preset-grid p {
    margin: 0 0 12px;
    color: #4a5a64;
    line-height: 1.7;
}

.p4-preset-grid span {
    display: block;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
    color: #6b591f;
    font-size: 13px;
    font-weight: 700;
}

.p4-preset-grid a {
    justify-self: start;
    color: #086b5b;
    font-weight: 700;
}

.p4-resource-boundary,
.p4-compare-next {
    border-left: 4px solid #c69527;
    background: #f7f8f8;
    padding: 22px 24px;
}

.p4-resource-boundary p,
.p4-compare-next p {
    margin: 0 0 16px;
    color: #43525b;
    line-height: 1.75;
}

.p4-compare-picker {
    border-top: 1px solid #d9dee3;
    border-bottom: 1px solid #d9dee3;
    padding: 24px 0;
}

.p4-compare-picker fieldset {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.p4-compare-picker legend {
    margin-bottom: 14px;
    color: #203139;
    font-size: 18px;
    font-weight: 700;
}

.p4-compare-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #e0e4e7;
}

.p4-compare-options label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    min-height: 48px;
    border-bottom: 1px solid #e0e4e7;
    padding: 12px 10px;
    color: #283942;
}

.p4-compare-options input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.p4-compare-picker button {
    min-height: 42px;
    margin-top: 18px;
    border: 1px solid #0b6b5c;
    border-radius: 4px;
    background: #0b6b5c;
    padding: 8px 18px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.p4-compare-status {
    min-height: 24px;
    margin: 12px 0 0;
    color: #52636d;
    font-size: 14px;
}

.p4-compare-options input:disabled + span {
    color: #88949b;
}

.p4-form-note {
    border-left: 4px solid #c69527;
    background: #f7f8f8;
    padding: 14px 16px;
}

.p4-product-engineering {
    border-top: 4px solid #0b6b5c;
    background: #f6f8f8;
    padding: 28px;
}

.p4-product-group {
    margin-top: 24px;
}

.p4-product-group h3,
.p4-product-resources h3,
.p4-product-evidence h3 {
    margin: 0 0 12px;
    color: #1d3039;
    font-size: 19px;
    letter-spacing: 0;
}

.p4-product-group dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid #d9dee3;
}

.p4-product-group dl > div {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.7fr);
    border-bottom: 1px solid #d9dee3;
    padding: 12px 10px;
}

.p4-product-group dt {
    color: #33454f;
    font-weight: 700;
}

.p4-product-group dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: #263840;
}

.p4-product-group dd.is-pending {
    color: #7a5b15;
}

.p4-product-resources,
.p4-product-evidence {
    margin-top: 26px;
    border-top: 1px solid #d9dee3;
    padding-top: 20px;
}

.p4-product-resources ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p4-product-resources li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #d9dee3;
    padding: 10px 0;
}

.p4-product-resources li span {
    color: #687781;
}

.p4-video-component {
    border-top: 1px solid #d9dee3;
    padding-top: 26px;
}

.p4-video-component article {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.3fr);
    gap: 24px;
    border-bottom: 1px solid #d9dee3;
    padding: 22px 0;
}

.p4-video-media video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
}

.p4-video-component h3 {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: 0;
}

.p4-video-transcript {
    color: #4a5a64;
    font-size: 14px;
}

@media (max-width: 900px) {
    .p4-preset-grid,
    .p4-compare-options,
    .p4-product-group dl {
        grid-template-columns: 1fr;
    }

    .p4-video-component article {
        grid-template-columns: 1fr;
    }

    .p4-preset-grid article,
    .p4-preset-grid article:nth-child(even) {
        border-right: 0;
    }
}

@media (max-width: 600px) {
    .p4-page-intro h2,
    .p4-comparison-presets h2,
    .p4-resource-list h2,
    .p4-resource-boundary h2,
    .p4-comparison-result h2,
    .p4-product-engineering h2,
    .p4-video-component h2 {
        font-size: 23px;
    }

    .p4-product-engineering {
        padding: 20px 16px;
    }

    .p4-product-group dl > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .p4-product-resources li {
        display: block;
    }

    .p4-product-resources li span {
        display: block;
        margin-top: 4px;
    }
}
