.lhm-wrap,
.lhm-form {
    max-width: 1100px;
}

/* Front-end Expert Report Mediation pages */
.iew-erm-page main .entry-header,
.iew-erm-page main .page-header,
.iew-erm-page h1.entry-title,
.iew-erm-page .elementor-page-title,
.iew-erm-page .wp-block-post-title {
    display: none !important;
}

.iew-erm-page .site-main,
.iew-erm-page .entry-content {
    margin-top: 0;
}

.lhm-public-shell {
    position: static;
    width: 100%;
    max-width: 1180px;
    margin: 42px auto 70px;
    transform: none;
    box-sizing: border-box;
    color: #17243a;
    font-family: inherit;
}

.lhm-public-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 6vw, 74px);
    border-radius: 22px 22px 0 0;
    background: linear-gradient(135deg, #09182d 0%, #102d50 62%, #17466f 100%);
    color: #fff;
    box-shadow: 0 18px 50px rgba(9, 24, 45, .16);
}

.lhm-public-hero::after {
    content: '';
    position: absolute;
    top: -95px;
    right: -90px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .035), 0 0 0 84px rgba(255, 255, 255, .025);
}

.lhm-public-hero > * {
    position: relative;
    z-index: 1;
}

.lhm-eyebrow,
.lhm-section-number {
    display: inline-block;
    color: #d8b56a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lhm-public-hero h1 {
    max-width: 760px;
    margin: 10px 0 16px;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.025em;
}

.lhm-public-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
}

.lhm-public-content {
    padding: clamp(20px, 4vw, 48px);
    border: 1px solid #dfe5ec;
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background: #f5f7fa;
    box-shadow: 0 18px 50px rgba(9, 24, 45, .09);
    box-sizing: border-box;
}

.lhm-public-content .lhm-form {
    container-type: inline-size;
    max-width: none;
    margin: 0;
    padding: clamp(22px, 4vw, 42px);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(16, 35, 63, .07);
}

.lhm-public-content .lhm-grid > label,
.lhm-public-content .lhm-form > label {
    min-width: 0;
    line-height: 1.25;
}

.lhm-public-content .lhm-form input,
.lhm-public-content .lhm-form select,
.lhm-public-content .lhm-form textarea {
    max-width: 100%;
}

.lhm-public-content .lhm-form input[type="file"] {
    min-height: 50px;
    overflow: hidden;
    padding: 5px;
    white-space: nowrap;
}

.lhm-public-content .lhm-form input[type="file"]::file-selector-button {
    min-height: 38px;
    margin-right: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 6px;
    background: #102d50;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@container (max-width: 720px) {
    .lhm-public-content .lhm-grid {
        grid-template-columns: 1fr;
    }

    .lhm-public-content .lhm-platform-options {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lhm-public-content .lhm-platform-choice {
        width: 100%;
        box-sizing: border-box;
    }
}

.lhm-form-intro {
    padding-bottom: 18px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e3e7ec;
}

.lhm-form-intro h2 {
    margin: 7px 0 0;
    color: #10233f;
    font-size: clamp(25px, 3vw, 34px);
}

.lhm-public-content .lhm-form h3 {
    margin: 34px 0 14px;
    padding-left: 13px;
    border-left: 3px solid #d8b56a;
    color: #10233f;
    font-size: 20px;
}

.lhm-public-content .lhm-form > p {
    color: #586576;
    line-height: 1.7;
}

.lhm-public-content .lhm-form input[type="text"],
.lhm-public-content .lhm-form input[type="email"],
.lhm-public-content .lhm-form input[type="date"],
.lhm-public-content .lhm-form select,
.lhm-public-content .lhm-form textarea {
    min-height: 48px;
    border-color: #ccd5df;
    background: #fbfcfd;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.lhm-public-content .lhm-form textarea {
    min-height: 110px;
}

.lhm-public-content .lhm-form input:focus,
.lhm-public-content .lhm-form select:focus,
.lhm-public-content .lhm-form textarea:focus {
    outline: 0;
    border-color: #17466f;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 70, 111, .12);
}

.lhm-public-content .lhm-button {
    min-height: 50px;
    padding: 13px 24px;
    border-radius: 8px;
    background: #102d50;
    box-shadow: 0 8px 18px rgba(16, 45, 80, .18);
    font-size: 15px;
}

.lhm-dashboard-card {
    padding: clamp(16px, 3vw, 28px);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 35, 63, .07);
}

.lhm-dashboard-card .lhm-table-scroll {
    margin: 0;
}

.lhm-dashboard-card .lhm-front-table {
    min-width: 780px;
}

.lhm-dashboard-card .lhm-front-table th {
    padding: 13px;
    border-color: #dce2e8;
    background: #102d50;
    color: #fff;
    font-size: 12px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.lhm-dashboard-card .lhm-front-table td {
    padding: 13px;
    border-color: #e3e7ec;
    color: #344256;
}

.lhm-form {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 14px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.lhm-form h2,
.lhm-form h3 {
    margin-top: 0;
}

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

.lhm-form > label,
.lhm-grid > label {
    display: block;
    font-weight: 600;
    margin: 12px 0;
}

.lhm-form input[type="text"],
.lhm-form input[type="email"],
.lhm-form select,
.lhm-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    margin-top: 6px;
    box-sizing: border-box;
}

.lhm-choice-panel {
    border: 1px solid #dcdcde;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    background: #f8f9fb;
}

.lhm-choice-panel__title {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #10233f;
}

.lhm-choice-list {
    display: grid;
    gap: 8px;
}

.lhm-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid #dcdcde;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    font-weight: 500;
    line-height: 1.35;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.lhm-choice:hover {
    border-color: #8b9bb3;
    box-shadow: 0 2px 8px rgba(16, 35, 63, .08);
}

.lhm-choice:focus-within {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.lhm-choice__text {
    flex: 1 1 auto;
    min-width: 0;
}

.lhm-choice input[type="radio"],
.lhm-choice input[type="checkbox"] {
    order: 2;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #10233f;
}

.lhm-choice:has(input:checked) {
    border-color: #10233f;
    background: #eef3f8;
    box-shadow: 0 0 0 1px #10233f;
}

.lhm-button {
    background: #10233f;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 700;
    cursor: pointer;
}

.lhm-button:hover {
    opacity: .92;
}

.lhm-notice {
    padding: 14px;
    border-radius: 10px;
    margin: 16px 0;
}

.lhm-success {
    background: #edf7ed;
    border: 1px solid #8bc48a;
}

.lhm-error {
    background: #fff2f0;
    border: 1px solid #dba9a3;
}

.lhm-table details {
    max-width: 360px;
}

.lhm-admin-dashboard {
    max-width: 1280px;
}

.lhm-front-admin {
    max-width: none;
}

.lhm-front-admin .lhm-scope-alert {
    margin-top: 0;
}

.lhm-admin-heading,
.lhm-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.lhm-admin-heading {
    margin: 18px 0 20px;
}

.lhm-admin-heading h1,
.lhm-panel-heading h2,
.lhm-empty-state h3,
.lhm-setup-grid h3 {
    margin: 0;
}

.lhm-admin-heading p,
.lhm-panel-heading p {
    margin: 6px 0 0;
    color: #50575e;
}

.lhm-service-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    background: #10233f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.lhm-summary-grid,
.lhm-setup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lhm-summary-grid {
    margin: 0 0 20px;
}

.lhm-summary-card,
.lhm-admin-panel {
    border: 1px solid #dcdcde;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(16, 35, 63, .05);
}

.lhm-summary-card {
    padding: 18px 20px;
}

.lhm-summary-card span {
    display: block;
    color: #646970;
    font-size: 13px;
    font-weight: 600;
}

.lhm-summary-card strong {
    display: block;
    margin-top: 7px;
    color: #10233f;
    font-size: 28px;
    line-height: 1;
}

.lhm-admin-panel {
    margin: 0 0 20px;
    padding: 20px;
}

.lhm-table-scroll {
    overflow-x: auto;
    margin-top: 18px;
}

.lhm-table {
    min-width: 1040px;
}

.lhm-empty-state {
    padding: 48px 24px;
    text-align: center;
}

.lhm-empty-state .dashicons {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: #8b9bb3;
    font-size: 48px;
}

.lhm-empty-state p {
    margin: 9px 0 0;
    color: #646970;
}

.lhm-setup-panel {
    border-left: 4px solid #10233f;
}

.lhm-setup-grid {
    margin-top: 20px;
}

.lhm-setup-grid > div {
    position: relative;
    padding: 18px;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    background: #f8f9fb;
}

.lhm-setup-grid p {
    margin: 7px 0 12px;
    color: #646970;
}

.lhm-setup-grid code {
    display: block;
    overflow-wrap: anywhere;
    padding: 8px 10px;
    border-radius: 6px;
    background: #fff;
}

.lhm-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #10233f;
    color: #fff;
    font-weight: 700;
}

.lhm-setup-note {
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    background: #eef3f8;
}

.lhm-table textarea {
    width: 100%;
}

.lhm-front-table {
    width: 100%;
    border-collapse: collapse;
}

.lhm-front-table th,
.lhm-front-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

@media (max-width: 760px) {
    .lhm-grid {
        grid-template-columns: 1fr;
    }

    .lhm-form {
        padding: 16px;
    }

    .lhm-choice {
        padding: 12px;
    }

    .lhm-admin-heading,
    .lhm-panel-heading {
        display: block;
    }

    .lhm-service-badge {
        margin-top: 12px;
    }

    .lhm-summary-grid,
    .lhm-setup-grid {
        grid-template-columns: 1fr;
    }

    .lhm-public-shell {
        width: 100%;
        margin: 20px auto 42px;
    }

    .lhm-public-hero {
        border-radius: 14px 14px 0 0;
    }

    .lhm-public-content {
        padding: 12px;
        border-radius: 0 0 14px 14px;
    }
}

.lhm-scope-alert {
    padding: 16px 18px;
    margin: 0 0 22px;
    border: 2px solid #9b2c2c;
    border-radius: 10px;
    background: #fff5f5;
    color: #63171b;
    line-height: 1.55;
}

.lhm-acknowledgements {
    display: grid;
    gap: 10px;
    margin: 16px 0 22px;
}

.lhm-form input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 9px;
    border: 1px dashed #8b9bb3;
    border-radius: 8px;
    background: #f8f9fb;
    box-sizing: border-box;
}

.lhm-platform-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 22px;
}

.lhm-platform-choice {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    justify-content: start !important;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #d8dde3;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    text-align: left !important;
}

.lhm-platform-choice input[type="radio"] {
    position: static !important;
    order: 0 !important;
    justify-self: start;
    width: 18px;
    height: 18px;
    margin: 0 !important;
}

.lhm-platform-choice span {
    display: block;
    min-width: 0;
    margin: 0;
    text-align: left !important;
    line-height: 1.25;
}

.lhm-platform-choice:has(input:checked) {
    border-color: #2271b1;
    background: #f3f7fb;
    box-shadow: 0 0 0 1px #2271b1;
}

@container (max-width: 720px) {
    .lhm-platform-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .lhm-platform-options {
        grid-template-columns: 1fr;
    }
}
