/* CEI order page isolated stylesheet v44. Critical form layout reset is inline in page-order.php. */
/* ========================================================================== 
   CEI ORDER PAGE v56 — isolated stylesheet
   Loaded only by page-order.php. It intentionally contains NO site-header,
   navigation, footer, homepage, or other global layout rules.
   ========================================================================== */

.cei-order-modern-body {
    --cei-order-muted: #52697d;
    --cei-order-surface-blue: #eaf4fb;
    --cei-order-radius-sm: 6px;
}

.cei-order-modern-body .site-content {
    margin: 0;
}

.cei-order-modern-body .cei-button,
.cei-order-modern-body a.cei-button,
.cei-order-modern-body button.cei-button,
.cei-order-modern-body input.cei-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}

@media (max-width: 767px) {
    .cei-order-modern-body .cei-button,
    .cei-order-modern-body a.cei-button,
    .cei-order-modern-body button.cei-button,
    .cei-order-modern-body input.cei-button {
        max-width: 100%;
        min-height: 44px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

.cei-order-modern-body .cei-button-primary {
    border-color: var(--cei-order-navy);
    background: var(--cei-order-navy);
    color: #fff;
}

.cei-order-modern-body .cei-button-primary:hover,
.cei-order-modern-body .cei-button-primary:focus {
    border-color: #0a4778;
    background: #0a4778;
    color: #fff;
    transform: translateY(-1px);
}

.cei-order-modern-body .cei-button-secondary {
    border-color: #7fb3d5;
    background: var(--cei-order-surface-blue);
    color: var(--cei-order-navy);
}

.cei-order-modern-body .cei-button-secondary:hover,
.cei-order-modern-body .cei-button-secondary:focus {
    border-color: #5f9fc8;
    background: #dceef8;
    color: var(--cei-order-navy);
    transform: translateY(-1px);
}

/* ==========================================================================
   ORDER FORM v36
   ========================================================================== */
.cei-order-modern-body .order-modern-page {
    padding: 32px 0 52px;
    background: #f7f9fb;
}

.cei-order-modern-body .order-modern-header {
    margin: 0 auto 24px;
    padding: 0 20px;
    background: transparent;
}

.cei-order-modern-body .order-modern-header h1 {
    margin: 0 0 8px;
    color: #173F63;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.2;
}

.cei-order-modern-body .order-modern-header > p {
    max-width: 800px;
    margin: 0 0 16px;
    color: #52697d;
    font-size: 16px;
    line-height: 1.6;
}

.cei-order-modern-body .order-steps {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #8aa0b2;
    font-size: 13px;
    line-height: 1.4;
}

.cei-order-modern-body .order-steps span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cei-order-modern-body .order-steps span:not(:last-child)::after {
    content: "";
    width: 34px;
    height: 1px;
    margin-left: 6px;
    background: #d6e1e8;
}

.cei-order-modern-body .order-steps b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #deebf4;
    color: #7e9aaf;
    font-size: 11px;
    font-weight: 600;
}

.cei-order-modern-body .order-steps .is-active {
    color: #01325d;
    font-weight: 600;
}

.cei-order-modern-body .order-steps .is-active b {
    background: #2776b9;
    color: #fff;
}

.cei-order-modern-body .order-modern-section {
    margin: 0;
    padding: 30px 0 32px;
    border: 0;
    border-top: 1px solid #dce5ec;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.cei-order-modern-body .order-modern-form > .order-modern-section:first-child {
    border-top: 2px solid #bfd2df;
}

.cei-order-modern-body .order-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 19px;
}

.cei-order-modern-body .order-section-number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #2776b9;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.cei-order-modern-body .order-section-heading h2 {
    margin: 0 0 3px;
    color: #01325d;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.25;
}

.cei-order-modern-body .order-section-heading p {
    margin: 0;
    color: #52697d;
    font-size: 14px;
    line-height: 1.5;
}

.cei-order-modern-body .order-section-heading .order-annual-price-note {
    display: block;
    margin-top: 5px;
    color: #153f6b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.cei-order-modern-body .order-inline-error,
.cei-order-modern-body .order-field-error {
    margin: 6px 0 0;
    color: var(--cei-form-error);
    font-family: var(--cei-font-sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cei-order-modern-body .order-inline-error:empty,
.cei-order-modern-body .order-field-error:empty {
    display: none;
}

.cei-order-modern-body .order-publication-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cei-order-modern-body .order-publication-card {
    overflow: hidden;
    border: 1px solid #dce5ec;
    border-radius: 10px;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, transform .16s ease;
}

.cei-order-modern-body .order-publication-card.is-selected {
    border-color: #7fb3d5;
    background: #fbfdfe;
    box-shadow: 0 5px 16px rgba(1, 50, 93, .04);
}

.cei-order-modern-body .order-publication-card h3 {
    margin: 0;
    padding: 13px 14px 8px;
    color: #01325d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.cei-order-modern-body .order-delivery-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 10px 14px;
    border-top: 1px solid #edf1f4;
    color: #34495b;
    cursor: pointer;
}

.cei-order-modern-body .order-delivery-option:has(input:checked) {
    background: #eaf4fb;
}

.cei-order-modern-body .order-delivery-option input,
.cei-order-modern-body .order-payment-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cei-order-modern-body .order-radio-mark {
    flex: 0 0 auto;
    position: relative;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1.5px solid #9db1c0;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.cei-order-modern-body input:checked + .order-radio-mark {
    border-color: #2776b9;
    background: #2776b9;
}

.cei-order-modern-body input:checked + .order-radio-mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fff;
}

.cei-order-modern-body .order-option-copy {
    display: block;
    min-width: 0;
}

.cei-order-modern-body .order-option-copy b {
    display: block;
    margin-bottom: 2px;
    color: #34495b;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
}

.cei-order-modern-body .order-option-copy > span {
    display: block;
    color: #01325d;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
}

.cei-order-modern-body .order-payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cei-order-modern-body .order-payment-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 12px 14px;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.cei-order-modern-body .order-payment-card.is-selected {
    border-color: #7fb3d5;
    background: #eaf4fb;
}

.cei-order-modern-body .order-payment-card b {
    display: block;
    color: #01325d;
    font-size: 14px;
    font-weight: 600;
}

.cei-order-modern-body .order-payment-card small {
    display: block;
    margin-top: 1px;
    color: #2776b9;
    font-size: 11.5px;
}

.cei-order-modern-body .order-excel-section {
    background: transparent;
}

.cei-order-modern-body .order-excel-panel {
    margin-top: 4px;
}

.cei-order-modern-body .order-excel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #dbe6ed;
    border-bottom: 1px solid #dbe6ed;
}

.cei-order-modern-body .order-excel-card {
    min-width: 0;
    padding: 20px 22px 20px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cei-order-modern-body .order-excel-card + .order-excel-card {
    padding-right: 0;
    padding-left: 22px;
    border-left: 1px solid #dbe6ed;
}

.cei-order-modern-body .order-excel-kicker {
    display: block;
    margin-bottom: 5px;
    color: #6f8596;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.cei-order-modern-body .order-excel-card h3 {
    margin: 0 0 7px;
    color: #01325d;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.cei-order-modern-body .order-excel-card p {
    margin: 0 0 14px;
    color: #52697d;
    font-size: 13.5px;
    line-height: 1.55;
}

.cei-order-modern-body .order-excel-actions {
    display: grid;
    gap: 7px;
}

.cei-order-modern-body .order-excel-text-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #d8e5ed;
    border-radius: 5px;
    background: #f9fcfe;
    color: #1f6fae;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.cei-order-modern-body .order-excel-text-link:hover,
.cei-order-modern-body .order-excel-text-link:focus {
    border-color: #a9c7dc;
    background: #f1f8fc;
    text-decoration: none;
}

.cei-order-modern-body .order-excel-text-link b {
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 500;
}

.cei-order-modern-body .order-excel-contact-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cei-order-modern-body .order-excel-email-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 8px 16px;
    border: 1px solid #1f6fae;
    border-radius: 5px;
    background: #1f6fae;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.cei-order-modern-body .order-excel-email-button:hover,
.cei-order-modern-body .order-excel-email-button:focus {
    background: #185c91;
    border-color: #185c91;
    color: #fff;
    text-decoration: none;
}

.cei-order-modern-body .order-excel-phone {
    display: grid;
    gap: 1px;
}

.cei-order-modern-body .order-excel-phone a {
    color: #1f6fae;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.cei-order-modern-body .order-excel-phone span {
    color: #8192a0;
    font-size: 11px;
    line-height: 1.3;
}

.cei-order-modern-body .order-excel-providers {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #dfe9ef;
    color: #7a8d9b;
    font-size: 12.5px;
    line-height: 1.45;
}

.cei-order-modern-body .order-excel-providers-label {
    color: #5d7385;
    font-weight: 600;
}

.cei-order-modern-body .order-excel-providers a {
    color: #1f6fae;
    font-size: inherit;
    line-height: inherit;
    text-decoration: none;
}

.cei-order-modern-body .order-excel-providers a:hover,
.cei-order-modern-body .order-excel-providers a:focus {
    text-decoration: underline;
}

.cei-order-modern-body .order-excel-note {
    margin: 10px 0 0;
    color: #718493;
    font-size: 11.5px;
    line-height: 1.5;
}

.cei-order-modern-body .order-excel-note strong {
    color: #52697d;
    font-weight: 600;
}

@media (max-width: 720px) {
    .cei-order-modern-body .order-excel-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cei-order-modern-body .order-prefix-row {
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7edf2;
    color: #34495b;
    font-size: 13.5px;
}

.cei-order-modern-body .order-prefix-label {
    color: #01325d;
}

.cei-order-modern-body .order-prefix-row label {
    gap: 5px;
    font-weight: 400;
}

.cei-order-modern-body .order-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 18px;
}

.cei-order-modern-body .order-field {
    min-width: 0;
}

.cei-order-modern-body .order-field-wide {
    grid-column: 1 / -1;
}

.cei-order-modern-body .order-field label {
    display: block;
    margin: 0 0 6px;
    color: #34495b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.cei-order-modern-body .order-field label small {
    color: #7d8d99;
    font-size: 11px;
    font-weight: 400;
}

.cei-order-modern-body .order-field .required,
.cei-order-modern-body .order-section-heading .required {
    margin-left: 2px;
    color: #b94b4b;
}

.cei-order-modern-body .order-field input,
.cei-order-modern-body .order-field textarea {
    width: 100%;
    min-height: 39px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #ccd9e2;
    border-radius: 5px;
    background: #fff;
    color: #34495b;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}

.cei-order-modern-body .order-field textarea {
    min-height: 78px;
}

.cei-order-modern-body .order-field.has-error input,
.cei-order-modern-body .order-field.has-error select,
.cei-order-modern-body .order-field.has-error textarea {
    border-color: #c46a6a;
    box-shadow: 0 0 0 3px rgba(196,106,106,.10);
}

.cei-order-modern-body .order-agreement-section {
    background: #edf4f8;
}

.cei-order-modern-body .order-agreement-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0 0 10px;
    color: #173f64;
    font-weight: 600;
    line-height: 1.5;
}

.cei-order-modern-body .order-agreement-row input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
}

.cei-order-modern-body .order-agreement-terms {
    margin: 0 0 0 30px;
    color: #52697d;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.cei-order-modern-body .order-agreement-terms p {
    margin: 0 0 8px;
    font-size: inherit;
    line-height: inherit;
}

.cei-order-modern-body .order-agreement-terms a {
    color: #1f6fae;
    font-size: inherit;
}

.cei-order-modern-body .order-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    padding: 4px 0 0;
}

.cei-order-modern-body .order-actions .cei-button {
    min-width: 158px;
    min-height: 40px;
}

.cei-order-modern-body .order-summary-column {
    position: sticky;
    top: 95px;
}

.cei-order-modern-body .order-summary-panel,
.cei-order-modern-body .order-help-panel {
    margin-bottom: 16px;
    padding: 20px 0;
    border: 0;
    border-top: 2px solid #9fc0d8;
    border-bottom: 1px solid #d4e2ec;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.cei-order-modern-body .order-summary-panel h2,
.cei-order-modern-body .order-help-panel h3 {
    margin: 0 0 15px;
    color: #01325d;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.cei-order-modern-body .order-summary-empty {
    padding: 11px 0;
    color: #667d8f;
    font-size: 13px;
    line-height: 1.5;
}

.cei-order-modern-body .order-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(1,50,93,.12);
}

.cei-order-modern-body .order-summary-item strong {
    display: block;
    margin-bottom: 2px;
    color: #01325d;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

.cei-order-modern-body .order-summary-item span {
    display: block;
    color: #52697d;
    font-size: 12.5px;
    line-height: 1.4;
}

.cei-order-modern-body .order-summary-item > b {
    flex: 0 0 auto;
    max-width: 100px;
    color: #01325d;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
}

.cei-order-modern-body .order-summary-payment {
    padding: 14px 0 0;
}

.cei-order-modern-body .order-summary-payment span {
    display: block;
    margin-bottom: 2px;
    color: #657b8c;
    font-size: 12px;
}

.cei-order-modern-body .order-summary-payment strong {
    color: #01325d;
    font-size: 14px;
    font-weight: 600;
}

.cei-order-modern-body .order-summary-note {
    margin: 15px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(1,50,93,.12);
    color: #607789;
    font-size: 12.5px;
    line-height: 1.5;
}

.cei-order-modern-body .order-help-panel {
    border-top-width: 1px;
}

.cei-order-modern-body .order-help-panel p {
    margin: 0 0 10px;
    color: #52697d;
    font-size: 13px;
    line-height: 1.5;
}

.cei-order-modern-body .order-help-panel a {
    color: #1f6fae;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cei-order-modern-body .order-help-panel a:hover,
.cei-order-modern-body .order-help-panel a:focus {
    text-decoration: underline;
}

.cei-order-modern-body .order-confirmation-wrap {
    max-width: 900px;
    padding-top: 10px;
    padding-bottom: 30px;
}

.cei-order-modern-body .order-confirmation-panel {
    padding: 32px;
    border: 1px solid #d4e2ec;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.cei-order-modern-body .order-confirmation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #eaf4fb;
    color: #2776b9;
    font-size: 23px;
    font-weight: 700;
}

.cei-order-modern-body .order-confirmation-panel h2 {
    margin: 0 0 9px;
    color: #01325d;
    font-size: 28px;
    font-weight: 600;
}

.cei-order-modern-body .order-confirmation-intro {
    max-width: 680px;
    margin: 0 auto 22px;
    color: #52697d;
    font-size: 15px;
    line-height: 1.6;
}

.cei-order-modern-body .order-confirmation-list {
    max-width: 720px;
    margin: 0 auto 18px;
    text-align: left;
}

.cei-order-modern-body .order-confirmation-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background: #f8fafc;
}

.cei-order-modern-body .order-confirmation-item + .order-confirmation-item {
    margin-top: 9px;
}

.cei-order-modern-body .order-confirmation-item strong,
.cei-order-modern-body .order-confirmation-item span {
    display: block;
}

.cei-order-modern-body .order-confirmation-item strong {
    color: #01325d;
    font-size: 14px;
    font-weight: 600;
}

.cei-order-modern-body .order-confirmation-item span {
    margin-top: 2px;
    color: #52697d;
    font-size: 13px;
}

.cei-order-modern-body .order-confirmation-item > b {
    color: #01325d;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.cei-order-modern-body .order-confirmation-payment {
    color: #52697d;
    font-size: 14px;
}

.cei-order-modern-body .order-confirmation-note {
    max-width: 720px;
    margin: 22px auto 0;
    padding-top: 18px;
    border-top: 1px solid #e1e8ed;
    color: #52697d;
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .cei-order-modern-body .order-excel-grid {
        grid-template-columns: 1fr;
    }

    .cei-order-modern-body .order-excel-card + .order-excel-card {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #dbe6ed;
    }

    .cei-order-modern-body .order-modern-layout {
        grid-template-columns: 1fr;
    }

    .cei-order-modern-body .order-summary-column {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 16px;
    }

    .cei-order-modern-body .order-summary-panel,
    .cei-order-modern-body .order-help-panel {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .cei-order-modern-body .order-modern-page {
        padding: 24px 0 38px;
    }

    .cei-order-modern-body .order-modern-header h1 {
        font-size: 30px;
    }

    .cei-order-modern-body .order-modern-header > p {
        font-size: 15px;
    }

    .cei-order-modern-body .order-steps {
        flex-wrap: wrap;
        gap: 8px 10px;
    }

    .cei-order-modern-body .order-steps span:not(:last-child)::after {
        display: none;
    }

    .cei-order-modern-body .order-modern-section {
        padding: 20px 16px 22px;
    }

    .cei-order-modern-body .order-section-heading h2 {
        font-size: 21px;
    }

    .cei-order-modern-body .order-publication-grid,
    .cei-order-modern-body .order-payment-options,
    .cei-order-modern-body .order-details-grid {
        grid-template-columns: 1fr;
    }

    .cei-order-modern-body .order-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .cei-order-modern-body .order-actions .cei-button {
        width: 100%;
    }

    .cei-order-modern-body .order-confirmation-panel {
        padding: 26px 18px;
    }

    .cei-order-modern-body .order-confirmation-panel h2 {
        font-size: 24px;
    }

    .cei-order-modern-body .order-confirmation-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .cei-order-modern-body .order-confirmation-item > b {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .cei-order-modern-body .order-prefix-row {
        flex-wrap: wrap;
        gap: 9px 13px;
    }

    .cei-order-modern-body .order-prefix-label {
        width: 100%;
    }
}

/* ==========================================================================
   ORDER FORM v37 — hard layout reset / reliable template layout
   ========================================================================== */

/* Do not rely on WordPress' generated page-template body class. */
.cei-order-modern-body #content.site-content,
.cei-order-modern-body .site-content,
.cei-order-modern-body .order-modern-page,
.order-modern-page {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    float: none;
    clear: both;
    text-align: left;
    box-sizing: border-box;
}

.cei-order-modern-body .order-modern-page *,
.order-modern-page * {
    box-sizing: border-box;
}

/* Ensure the form itself is not affected by legacy floated form rules. */
.cei-order-modern-body form.order-modern-form,
form.order-modern-form {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
    clear: both;
    text-align: left;
}

/* Explicitly own the content width instead of inheriting old Bootstrap/theme columns. */
.cei-order-modern-body .order-modern-layout,
.order-modern-page .order-modern-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
    width: 95%;
    max-width: 1280px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    float: none;
    clear: both;
}

.cei-order-modern-body .order-modern-main,
.order-modern-page .order-modern-main {
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
    clear: none;
}

.cei-order-modern-body .order-summary-column,
.order-modern-page .order-summary-column {
    display: block;
    width: 300px;
    min-width: 0;
    max-width: 300px;
    margin: 0;
    padding: 0;
    float: none;
    clear: none;
    justify-self: stretch;
}

/* Reset legacy generic form-vertical rules that can distort the modern cards. */
.cei-order-modern-body .order-modern-form label,
.order-modern-page .order-modern-form label {
    float: none;
    width: auto;
    max-width: none;
}

.cei-order-modern-body .order-modern-form .order-publication-card,
.cei-order-modern-body .order-modern-form .order-delivery-option,
.cei-order-modern-body .order-modern-form .order-payment-card,
.cei-order-modern-body .order-modern-form .order-field,
.order-modern-page .order-modern-form .order-publication-card,
.order-modern-page .order-modern-form .order-delivery-option,
.order-modern-page .order-modern-form .order-payment-card,
.order-modern-page .order-modern-form .order-field {
    float: none;
    clear: none;
}

.cei-order-modern-body .order-publication-grid,
.order-modern-page .order-publication-grid {
    width: 100%;
    min-width: 0;
}

.cei-order-modern-body .order-modern-header,
.order-modern-page .order-modern-header {
    width: 95%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* Prevent generic theme #primary/sidebar calculations from squeezing this page
   if a wrapper is injected by a plugin or builder. */
.cei-order-modern-body #primary,
.cei-order-modern-body .content-area {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    float: none;
}

/* Tablet: summary goes below the form rather than squeezing the main column. */
@media (max-width: 1050px) {
    .cei-order-modern-body .order-modern-layout,
    .order-modern-page .order-modern-layout {
        grid-template-columns: 1fr;
    }

    .cei-order-modern-body .order-summary-column,
    .order-modern-page .order-summary-column {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
        gap: 16px;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .cei-order-modern-body .order-modern-layout,
    .order-modern-page .order-modern-layout,
    .cei-order-modern-body .order-modern-header,
    .order-modern-page .order-modern-header {
        width: calc(100% - 30px);
    }

    .cei-order-modern-body .order-summary-column,
    .order-modern-page .order-summary-column {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   ORDER FORM v47 — deployment marker / template-independent scope
   The PHP template adds .cei-order-modern-body before get_header(), so the
   complete modern design applies whether WordPress reaches page-order.php via
   an assigned template, the slug fallback, or the optional force loader.
   ========================================================================== */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] {
    display: block;
}

/* ========================================================================== 
   V47 — PUBLICATION DELIVERY / PRICE OPTIONS SIDE BY SIDE
   Keeps the publication cards themselves in the existing two-column grid,
   while placing the two delivery choices inside each card next to each other.
   ========================================================================== */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card {
    display: grid;
    grid-template-columns: 112px repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 {
    grid-column: 1 / -1;
}

/* Place the real report page beside the delivery and price choices. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-preview {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 12px 8px;
    background: #fff;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-preview img {
    display: block;
    width: 82px;
    height: 110px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d9e4ed;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(20, 52, 80, .08);
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:has(> .order-publication-preview) > .order-delivery-option {
    grid-row: 2;
}

/* Cards without a source PDF keep a balanced two-choice layout. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:not(:has(> .order-publication-preview)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > .order-delivery-option {
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
    align-items: flex-start;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > .order-delivery-option + .order-delivery-option {
    border-left: 1px solid #edf1f4;
}

/* A single delivery option fills only the pricing area when a preview exists.
   Spanning the full card here places it underneath the report thumbnail. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:has(> .order-publication-preview) > .order-delivery-option:only-of-type {
    grid-column: 2 / -1;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:not(:has(> .order-publication-preview)) > .order-delivery-option:only-of-type {
    grid-column: 1 / -1;
}

@media (max-width: 620px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:has(> .order-publication-preview) {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:not(:has(> .order-publication-preview)) {
        grid-template-columns: 1fr;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-preview {
        grid-row: 2 / span 2;
        align-items: center;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:has(> .order-publication-preview) > .order-delivery-option {
        grid-column: 2;
        grid-row: auto;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 {
        grid-column: 1 / -1;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:not(:has(> .order-publication-preview)) > .order-delivery-option {
        grid-column: 1;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > .order-delivery-option + .order-delivery-option {
        border-left: 0;
    }
}


/* ========================================================================== 
   V50 — PUBLICATION-FAMILY COLOUR BANDS
   Each title uses the established publication-family hue.  The background is
   deliberately a light tint so the order form remains calm and readable; the
   saturated family colour appears in the left accent and matching title text.
   ========================================================================== */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card {
    --pub-accent: #2f7da8;
    --pub-band: #f3f8fc;
    --pub-band-selected: #eaf4fb;
    --pub-border: #d9e8f2;
    --pub-title: #0b5f91;
}

/* G7 & Western Europe — blue */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-g7 {
    --pub-accent: #2878b5;
    --pub-band: #eef6fc;
    --pub-band-selected: #dfeef9;
    --pub-border: #cfe2f2;
    --pub-title: #155783;
}

/* Asia Pacific — pink */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-asia {
    --pub-accent: #d85c9f;
    --pub-band: #fceef6;
    --pub-band-selected: #f8dbea;
    --pub-border: #f1c6dc;
    --pub-title: #8c2f62;
}

/* Eastern Europe — turquoise/cyan */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-eastern {
    --pub-accent: #36b7d3;
    --pub-band: #edf9fc;
    --pub-band-selected: #d9f2f7;
    --pub-border: #bfe7ef;
    --pub-title: #176c80;
}

/* Latin America — green */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-latin {
    --pub-accent: #3da668;
    --pub-band: #edf8f1;
    --pub-band-selected: #dbf0e3;
    --pub-border: #c5e5d1;
    --pub-title: #216943;
}

/* Foreign Exchange — warm coral/orange, aligned with Energy, Metals & Agri. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-fx {
    --pub-accent: #d86a3d;
    --pub-band: #fff0e9;
    --pub-band-selected: #f8ddd2;
    --pub-border: #efc5b3;
    --pub-title: #8c3b22;
}

/* Energy, Metals & Agri. — coral/orange */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-energy {
    --pub-accent: #e56f4d;
    --pub-band: #fff1ec;
    --pub-band-selected: #fbe0d6;
    --pub-border: #f2cbbb;
    --pub-title: #973f27;
}

/* Consensus Forecasts — USA — burgundy/red */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-usa {
    --pub-accent: #b54848;
    --pub-band: #faeeee;
    --pub-band-selected: #f4dddd;
    --pub-border: #ebcaca;
    --pub-title: #7d3030;
}

/* Current Economics — brown */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-current {
    --pub-accent: #8a5a3b;
    --pub-band: #f8f1eb;
    --pub-band-selected: #ecddd0;
    --pub-border: #ddc5b1;
    --pub-title: #5b3925;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 {
    position: relative;
    padding: 12px 14px 11px 17px;
    border-bottom: 1px solid var(--pub-border);
    font-weight: 700;
}

/* ========================================================================== 
   V53 — EQUAL-HEIGHT PUBLICATION TITLE BANDS
   Keep every publication-family header aligned in the two-column order grid.
   72px comfortably accommodates the longer two-line publication names while
   one-line names remain vertically centred. On narrow phones the band returns
   to content height so long titles can wrap safely.
   ========================================================================== */
@media (min-width: 621px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 {
        display: flex;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
}

@media (max-width: 620px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 {
        height: auto;
        min-height: 0;
        max-height: none;
    }
}

/* ========================================================================== 
   V54 — COMPACT PUBLICATION BANDS + CLEARER EXCEL ACCESS NOTES
   Tightens the coloured publication-family title tabs while improving the
   readability of the secondary provider/subscriber information below Excel.
   ========================================================================== */
@media (min-width: 621px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 {
        height: auto;
        min-height: 66px;
        max-height: none;
        padding: 10px 14px;
        line-height: 1.35;
    }
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-excel-providers {
    font-size: 14px;
    line-height: 1.5;
    gap: 8px;
    margin-top: 15px;
    padding-top: 14px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-excel-providers-label {
    font-weight: 650;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-excel-note {
    margin-top: 11px;
    font-size: 13.5px;
    line-height: 1.55;
}

@media (max-width: 620px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-excel-providers {
        font-size: 13.5px;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-excel-note {
        font-size: 13px;
    }
}

/* ========================================================================== 
   V56 — ORDER-FORM POLISH
   Brings the ordering journey into the newer CEI visual system: stronger
   hierarchy, calmer spacing, clearer publication choices, a true journey
   indicator and a more useful sticky summary.
   ========================================================================== */

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] {
    padding-top: 46px;
    padding-bottom: 68px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-eyebrow {
    margin: 0 0 10px;
    color: #2776b9;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-modern-header h1.entry-title {
    color: #173D61;
    max-width: 900px;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 650;
    letter-spacing: -.025em;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-header-intro {
    max-width: 840px;
    color: #587084;
    font-size: 16px;
    line-height: 1.65;
}

/* Journey indicator */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: min(1120px, 100%);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border: 1px solid #dbe5ed;
    border-radius: 12px;
    background: #fff;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps span::after {
    display: none;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps > span {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 13px 15px;
    color: #6f8393;
    background: #fff;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps > span + span {
    border-left: 1px solid #e2e9ef;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps > span.is-active {
    color: #01325d;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps > span > b {
    width: 32px;
    height: 32px;
    margin: 0;
    background: #e8f0f6;
    color: #6c8294;
    font-size: 12px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps > span.is-active > b {
    background: #01325d;
    color: #fff;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-step-copy {
    display: block;
    min-width: 0;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-step-copy strong {
    display: block;


    margin-bottom: 0;
    color: #173f64;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

/* Main form surfaces */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-modern-main > .order-modern-section {
    margin-bottom: 22px;
    padding: 28px 30px 30px;
    border-radius: 14px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-section-heading {
    margin-bottom: 22px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-section-number {
    width: 32px;
    height: 32px;
    background: #01325d;
    font-size: 13px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-section-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    margin-top: 1px;
    padding: 5px 10px;
    border: 1px solid #bfd6e6;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-section-heading h2 {
    font-size: 24px;
    letter-spacing: -.012em;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-section-heading p {
    max-width: 760px;
    font-size: 14px;
    line-height: 1.6;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-annual-price-note {
    margin-top: 7px;
    color: #60788b;
    font-size: 13px;
    font-weight: 600;
}

/* Publication selection cards */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-grid {
    gap: 20px;
}

/* Desktop/tablet publication-card spacing: reclaim 10px beside the preview
   and give that space to the gap between the two publication columns.
   The single-column mobile grid and its internal thumbnail track are unchanged. */
@media (min-width: 768px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-grid {
        column-gap: 30px;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:has(> .order-publication-preview) {
        grid-template-columns: 102px repeat(2, minmax(0, 1fr));
    }
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card {
    position: relative;
    border-radius: 12px;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.005em;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-delivery-option {
    min-height: 78px;
    padding: 14px 15px;
    transition: background-color .15s ease;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-delivery-option:hover {
    background: #f7fafc;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-delivery-option:has(input:checked) {
    background: #edf6fc;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-radio-mark {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-width: 1.5px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] input:checked + .order-radio-mark::after {
    inset: 4px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-option-copy b {
    margin-bottom: 4px;
    color: #31485b;
    font-size: 13.5px;
    font-weight: 600;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-option-copy > span {
    color: #01325d;
    font-size: 14px;
    font-weight: 700;
}

/* Payment and details */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-payment-options {
    gap: 14px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-payment-card {
    min-height: 70px;
    padding: 14px 16px;
    border-radius: 10px;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-excel-card {
    padding: 20px;
    border-radius: 10px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-details-grid {
    gap: 18px 20px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-field label {
    margin-bottom: 7px;
    color: #31485b;
    font-weight: 600;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-field input,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-field textarea {
    min-height: 44px;
    padding: 10px 12px;
    border-color: #c9d7e1;
    border-radius: 7px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

/* Keep native focus indicators available; the field focus treatment below adds a clear ring. */

/* Sticky order summary */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-column {
    top: 86px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-panel,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-help-panel {
    border-radius: 14px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-panel {
    overflow: hidden;
    padding: 0 20px 20px;
    border: 1px solid #d8e3eb;
    border-top: 4px solid #01325d;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-heading {
    margin: 0 -20px 0;
    padding: 17px 20px 15px;
    border-bottom: 1px solid #e4ebf0;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-kicker,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-help-kicker {
    display: block;
    margin-bottom: 4px;
    color: #2776b9;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-panel .order-summary-heading h2 {
    margin: 0;
    font-size: 21px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-empty {
    margin: 18px 0 2px;
    padding: 15px;
    border: 1px dashed #cbd9e3;
    border-radius: 9px;
    background: #f9fbfc;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-empty strong,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-empty span {
    display: block;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-empty strong {
    margin-bottom: 3px;
    color: #24445f;
    font-size: 13px;
    font-weight: 700;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-empty span {
    color: #748897;
    font-size: 12.5px;
    line-height: 1.45;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-items:not(:empty) {
    margin-top: 8px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-item {
    padding: 13px 0;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-payment {
    margin-top: 3px;
    padding-top: 15px;
    border-top: 1px solid #e4ebf0;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-assurance {
    display: grid;
    gap: 7px;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid #e4ebf0;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-assurance span {
    position: relative;
    display: block;
    padding-left: 19px;
    color: #61798b;
    font-size: 12px;
    line-height: 1.4;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-assurance span::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2776b9;
    font-weight: 800;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-help-panel {
    padding: 20px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-help-panel h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-help-panel p {
    margin-bottom: 12px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-actions {
    padding-top: 2px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-actions .cei-button {
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 7px;
    font-weight: 650;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-place-button {
    min-width: 180px;
    background: #01325d;
    border-color: #01325d;
    box-shadow: 0 5px 14px rgba(1, 50, 93, .16);
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-place-button:hover,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-place-button:focus {
    background: #0a4778;
    border-color: #0a4778;
}

@media (max-width: 1050px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps {
        width: min(95vw, 100%);
    }
}

@media (max-width: 767px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] {
        padding-top: 30px;
        padding-bottom: 46px;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-modern-header h1 {
        font-size: 34px;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps {
        grid-template-columns: 1fr;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps > span + span {
        border-left: 0;
        border-top: 1px solid #e2e9ef;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-modern-main > .order-modern-section {
        padding: 22px 18px 24px;
        border-radius: 11px;
    }

    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-grid {
        gap: 16px;
    }
}

/* ========================================================================== 
   V57 — MATCH DOWNLOAD-SAMPLES PUBLICATION COLOUR TREATMENT
   Carries the same calm, faded publication-family palette used on the sample
   registration page into the order form.  Unselected cards stay understated;
   hover and selected states use the publication's own accent rather than a
   generic blue so the colour system is consistent across both journeys.
   ========================================================================== */

/* Keep delivery choices neutral so the pastel publication band remains the
   category cue; use a restrained family tint only for the chosen option. */

/* Fallback for browsers without color-mix(). */
@supports not (background: color-mix(in srgb, white 50%, black)) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card .order-delivery-option:has(input:checked) {
        background: var(--pub-band);
    }
}


/* V58 — remove the left-hand publication colour rail.
   Family colour remains in the faded title band, borders and selected state. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 {
    padding-left: 14px;
}

/* ========================================================================== 
   V59 — SIMPLE, ELEGANT ORDER-PAGE COLOUR SYSTEM
   Keep publication-family recognition as a whisper of colour in the title
   band only.  All functional states use the core CEI navy/blue system.
   ========================================================================== */

.cei-order-modern-body {
    --cei-order-navy: #01325d;
    --cei-order-blue: #2776b9;
    --cei-order-text: #34495b;
    --cei-order-muted: #587084;
    --cei-order-surface-blue: #edf5fa;
    --cei-order-border: #dce5ec;
}

/* Quieter page and form surfaces. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] {
    background: #f6f8fb;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-modern-main > .order-modern-section {
    margin-bottom: 0;
    padding: 34px 0 36px;
    border: 0;
    border-top: 1px solid #dce5ec;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
@media (max-width: 767px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-modern-main > .order-modern-section {
        padding-top: 27px;
        padding-bottom: 30px;
    }
}

/* Reduce the family palette to very pale title bands only. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card {
    --pub-border: #dce5ec;
    --pub-title: #01325d;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-g7 {
    --pub-band: #f3f8fc;
    --pub-band-selected: #f3f8fc;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-asia {
    --pub-band: #fbf6f9;
    --pub-band-selected: #fbf6f9;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-eastern {
    --pub-band: #f3f9fa;
    --pub-band-selected: #f3f9fa;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-latin {
    --pub-band: #f4f9f6;
    --pub-band-selected: #f4f9f6;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-fx,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-energy {
    --pub-band: #fcf7f4;
    --pub-band-selected: #fcf7f4;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-usa {
    --pub-band: #faf6f6;
    --pub-band-selected: #faf6f6;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-current {
    --pub-band: #faf8f6;
    --pub-band-selected: #faf8f6;
}

/* Neutral cards; CEI blue, not family colour, communicates interaction. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card {
    border-color: #dce5ec;
    background: #fff;
    box-shadow: none;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card:hover {
    border-color: #b9cfdd;
    background: #fff;
    box-shadow: 0 3px 10px rgba(18, 55, 80, .035);
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.is-selected > h3 {
    color: #01325d;
    background: var(--pub-band);
    border-bottom-color: #e1e8ee;
    box-shadow: none;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card .order-delivery-option:hover {
    background: #f8fafc;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card input:checked + .order-radio-mark {
    border-color: #2776b9;


    background: #fff;
}
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card input:checked + .order-radio-mark::after {
    background: #2776b9;
}

/* Transactional cards stay white; selected states use one restrained blue. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-payment-card {
    border-color: #dce5ec;
    background: #fff;
    box-shadow: none;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-payment-card:hover {
    border-color: #b9cfdd;
}
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-payment-card:has(input:focus-visible),
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-delivery-option:has(input:focus-visible) {
    outline: 2px solid #2776b9;
    outline-offset: -2px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-payment-card.is-selected {
    border-color: #2776b9;
    background: #edf5fa;
    box-shadow: 0 0 0 1px rgba(39, 118, 185, .08);
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-excel-section,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-agreement-section {
    border-color: #dce5ec;
    background: transparent;
}

/* Reserve pale blue for the active journey step and the help panel. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps {
    border-color: #dce5ec;
    box-shadow: none;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps > span.is-active {
    background: #edf5fa;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-help-panel {
    border-color: #d8e7f0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Order summary gets the only persistent elevated treatment. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-panel {
    border: 0;
    border-top: 3px solid #01325d;
    border-bottom: 1px solid #dce5ec;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-summary-heading {
    background: transparent;
}

/* Keep small badges and focus states within the same restrained palette. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-section-badge {
    border-color: #c9dce8;
    background: #f4f8fb;
    color: #1b669d;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-field input:focus,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-field select:focus,
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-field textarea:focus {
    border-color: #2776b9;
    outline: 2px solid #2776b9;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(39, 118, 185, .09);
}

/* ========================================================================== 
   V58 — RICHER, STILL-RESTRAINED PUBLICATION TINTS
   Bring a little more category colour back into the publication chooser while
   keeping titles navy, borders neutral and interaction states consistently blue.
   ========================================================================== */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card {
    --pub-band: #f2f7fa;
    --pub-band-selected: #e8f1f7;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-g7 {
    --pub-band: #f0f7fc;
    --pub-band-selected: #e3f0fa;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-asia {
    --pub-band: #fbf1f7;
    --pub-band-selected: #f7e2ee;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-eastern {
    --pub-band: #eff9fb;
    --pub-band-selected: #e1f3f7;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-latin {
    --pub-band: #f0f8f3;
    --pub-band-selected: #e3f2e8;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-fx {
    --pub-band: #fdf4ee;
    --pub-band-selected: #f8e5dc;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-energy {
    --pub-band: #fdf3ef;
    --pub-band-selected: #f9e4dc;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-usa {
    --pub-band: #faf2f2;
    --pub-band-selected: #f4e3e3;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.publication-colour-current {
    --pub-band: #f9f5f0;
    --pub-band-selected: #efe4da;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.is-selected {
    border-color: #2776b9;
    background: #f3f8fc;
    box-shadow: 0 0 0 1px rgba(39, 118, 185, .10);
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card.is-selected > h3 {
    color: #01325d;
    background: var(--pub-band-selected);
    border-bottom-color: #d7e4ed;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card .order-delivery-option:has(input:checked) {
    background: #e8f2f8;
    box-shadow: inset 3px 0 0 #2776b9;
}

/* ========================================================================== 
   V60 — PUBLICATION CARD DIVIDER CLEANUP
   Avoid the double horizontal rule between the tinted publication heading and
   the delivery options. The heading supplies that divider; delivery choices
   only need an internal divider when they stack on small screens.
   ========================================================================== */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > .order-delivery-option {
    border-top: 0;
}

@media (max-width: 620px) {
    .cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > .order-delivery-option + .order-delivery-option {
        border-top: 1px solid #edf1f4;
    }
}

/* CEI v57: centre the post-order confirmation panel in the page. */
body.cei-order-modern-body .order-modern-page .cei-order-shell.order-confirmation-wrap {
    display: block;
    width: min(900px, calc(100% - 40px));
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    float: none;
    clear: both;
}

@media (max-width: 767px) {
    body.cei-order-modern-body .order-modern-page .cei-order-shell.order-confirmation-wrap {
        width: calc(100% - 30px);
    }
}


/* V60 — publication titles link back to their publication detail pages. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 .order-publication-title-link {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 .order-publication-title-text {
    min-width: 0;
    color: inherit;
}


.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 .order-publication-title-link:hover .order-publication-title-text {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-publication-card > h3 .order-publication-title-link:focus-visible {
    outline: 2px solid var(--cei-order-blue);
    outline-offset: 3px;
    border-radius: 3px;
}


/* ==========================================================================
   CEI — Order form premium guided update
   Preserve pricing/form logic; improve hierarchy, scanability and confidence.
   ========================================================================== */

.order-modern-page {
    --order-navy: #153b5c;
    --order-strong: #173f5e;
    --order-blue: #2874a6;
    --order-body: #3f4f5e;
    --order-muted: #5d6f7d;
    --order-line: #d9e3ea;
    --order-soft: #f7f9fb;
}

/* Hero: concise and centred. */
.order-modern-hero {
    padding-top: 54px;
    padding-bottom: 34px;
    text-align: center;
}
.order-modern-hero h1 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: var(--order-navy);
    font-size: clamp(40px, 4.5vw, 52px);
    line-height: 1.05;
    letter-spacing: -.03em;
    text-align: center;
}
.order-modern-hero p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: var(--order-body);
    font-size: 16.5px;
    line-height: 1.68;
    text-align: center;
}

/* Four-step process: one quiet ledger, not cards. */
.order-guided-steps {
    background: #fff;
}
.order-guided-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--order-line);
    border-bottom: 1px solid var(--order-line);
}
.order-guided-steps__grid > div {
    padding: 18px 22px;
}
.order-guided-steps__grid > div + div {
    border-left: 1px solid var(--order-line);
}
.order-guided-steps__grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--order-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}
.order-guided-steps__grid strong {
    display: block;
    color: var(--order-strong);
    font-size: 14px;
    font-weight: 700;
}
.order-guided-steps__grid small {
    display: block;
    margin-top: 3px;
    color: var(--order-muted);
    font-size: 11.5px;
    line-height: 1.45;
}

/* Main form shell: reduce legacy boxed appearance. */
.order-modern-form,
.order-form,
.order-form-wrap {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.order-section-kicker {
    margin: 44px 0 12px;
    color: var(--order-blue);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.order-selection-help {
    margin: 0 0 24px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--order-line);
}
.order-selection-help strong {
    display: block;
    margin-bottom: 4px;
    color: var(--order-strong);
    font-size: 15px;
}
.order-selection-help span {
    display: block;
    max-width: 760px;
    color: var(--order-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

/* Publication/product blocks: editorial rows instead of heavy cards. */
.order-modern-page .publication-option,
.order-modern-page .subscription-option,
.order-modern-page .order-product,
.order-modern-page .order-publication,
.order-modern-page .order-option-card {
    border: 0;
    border-top: 1px solid var(--order-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.order-modern-page .publication-option:last-child,
.order-modern-page .subscription-option:last-child,
.order-modern-page .order-product:last-child,
.order-modern-page .order-publication:last-child,
.order-modern-page .order-option-card:last-child {
    border-bottom: 1px solid var(--order-line);
}

/* Reduce visual competition in price cells. */
.order-modern-page .price,
.order-modern-page .order-price,
.order-modern-page .subscription-price {
    color: var(--order-strong);
    font-weight: 650;
}
.order-modern-page .currency,
.order-modern-page .price-note,
.order-modern-page .order-note {
    color: var(--order-muted);
    font-size: 12px;
}

/* Radios/checkboxes: clear selection, restrained selected state. */
.order-modern-page input[type="radio"],
.order-modern-page input[type="checkbox"] {
    accent-color: var(--order-blue);
}
.order-modern-page label {
    color: var(--order-strong);
}
.order-modern-page input:checked + label,
.order-modern-page label:has(input:checked) {
    color: var(--order-strong);
}

/* Form section hierarchy. */
.order-modern-page form h2,
.order-modern-page form h3 {
    color: var(--order-navy);
    text-align: left;
}
.order-modern-page form h2 {
    margin-top: 46px;
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.2;
}
.order-modern-page form h3 {
    font-size: 17px;
    line-height: 1.3;
}

/* Inputs: institutional and compact. */
.order-modern-page input[type="text"],
.order-modern-page input[type="email"],
.order-modern-page input[type="tel"],
.order-modern-page select,
.order-modern-page textarea {
    min-height: 44px;
    border: 1px solid var(--order-line);
    border-radius: 4px;
    background: #fff;
    color: var(--order-body);
    font-size: 14px;
    box-shadow: none;
}
.order-modern-page textarea {
    min-height: 108px;
}
.order-modern-page input:focus,
.order-modern-page select:focus,
.order-modern-page textarea:focus {
    border-color: var(--order-blue);
    outline: 2px solid rgba(40,116,166,.12);
    outline-offset: 0;
}

/* Organisational access note. */
.order-licence-note {
    margin: 38px 0 12px;
    padding: 18px 20px;
    border-left: 2px solid var(--order-blue);
    background: var(--order-soft);
}
.order-licence-note strong {
    display: block;
    color: var(--order-strong);
    font-size: 14px;
}
.order-licence-note span {
    display: block;
    margin-top: 3px;
    color: var(--order-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Submit: decisive but not oversized. */
.order-modern-page button[type="submit"],
.order-modern-page input[type="submit"] {
    min-height: 46px;
    padding: 0 24px;
    border-radius: 4px;
    background: var(--order-navy);
    border-color: var(--order-navy);
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
}
.order-modern-page button[type="submit"]:hover,
.order-modern-page input[type="submit"]:hover {
    background: var(--order-strong);
    border-color: var(--order-strong);
}

/* FAQ: visually secondary to ordering task. */
.order-site-faq {
    margin-top: 48px;
    padding-top: 44px;
    border-top: 1px solid var(--order-line);
}
.order-site-faq h2 {
    font-size: 27px;
}

/* Tables/matrices: cleaner if legacy markup remains. */
.order-modern-page table {
    width: 100%;
    border: 1px solid var(--order-line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: none;
}
.order-modern-page table th,
.order-modern-page table td {
    padding: 11px 13px;
    border: 0;
    border-bottom: 1px solid #e7edf1;
    background: #fff;
    font-size: 12.5px;
    line-height: 1.45;
    text-align: left;
}
.order-modern-page table th {
    background: var(--order-soft);
    color: var(--order-navy);
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.order-modern-page table tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 767px) {
    .order-modern-hero {
        padding-top: 40px;
        padding-bottom: 28px;
    }
    .order-modern-hero h1 {
        font-size: 35px;
    }
    .order-guided-steps__grid {
        grid-template-columns: 1fr 1fr;
    }
    .order-guided-steps__grid > div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--order-line);
    }
    .order-guided-steps__grid > div:nth-child(4) {
        border-top: 1px solid var(--order-line);
    }
    .order-modern-page table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .order-guided-steps__grid {
        grid-template-columns: 1fr;
    }
    .order-guided-steps__grid > div + div {
        border-left: 0;
        border-top: 1px solid var(--order-line);
    }
}

/* Order Forecast Publications — balanced intro spacing. */
.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-modern-header {
    margin-bottom: 34px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-modern-header h1 {
    margin-bottom: 14px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-header-intro {
    margin-bottom: 18px;
}

.cei-order-modern-body .order-modern-page[data-cei-order-template="v56"] .order-steps {
    margin-top: 0;
    margin-bottom: 6px;
}


/* Order validation summary, alongside the existing field messages. */
.cei-order-modern-body .order-validation-summary:not([hidden]) {
    margin: 0 0 22px;
    padding: 14px 18px;
    border: 1px solid #c46a6a;
    border-radius: 6px;
    background: #fff6f5;
    color: #963b3b;
    font-size: 14px;
    line-height: 1.5;
}
.cei-order-modern-body .order-validation-summary ul { margin: 7px 0 0 20px; padding: 0; }

/* Data-services enquiry is separate from the publication checkout. */
body.cei-order-modern-body .order-modern-page .cei-order-data-enquiry {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    margin: 0 0 26px; padding: 22px 24px; border: 1px solid #d6e4ec;
    border-left: 3px solid #2876b1; border-radius: 10px; background: #f6fafc;
}
body.cei-order-modern-body .order-modern-page .cei-order-data-enquiry strong { color: #153f62; font-size: 16px; line-height: 1.4; }
body.cei-order-modern-body .order-modern-page .cei-order-data-enquiry p { margin: 6px 0 0; color: #526b7f; font-size: 14px; line-height: 1.55; }
body.cei-order-modern-body .order-modern-page .cei-order-data-enquiry a { flex: 0 0 auto; color: #246eaa; font-size: 14px; font-weight: 700; text-decoration: none; }
body.cei-order-modern-body .order-modern-page .cei-order-data-enquiry a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.cei-order-modern-body .order-modern-page .cei-order-data-enquiry a:focus-visible { outline: 2px solid #2876b1; outline-offset: 4px; }
@media (max-width: 767px) {
    body.cei-order-modern-body .order-modern-page .cei-order-data-enquiry { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
    /* Keep order fields at a readable mobile size without iOS focus zoom. */
    .cei-order-modern-body .order-field input:not([type="checkbox"]):not([type="radio"]),
    .cei-order-modern-body .order-field textarea,
    .order-modern-page input[type="text"],
    .order-modern-page input[type="email"],
    .order-modern-page input[type="tel"],
    .order-modern-page select,
    .order-modern-page textarea {
        font-size: 16px;
    }
}
