.wp-block-post-content > .bomen-report-layout, .wp-block-post-content > .bomen-own-reports { width: min(1280px, calc(100% - 32px)) !important; max-width: 1280px !important; margin-inline: auto; }
.bomen-report-layout label { display: block; margin: 10px 0; }
.bomen-report-layout input:not([type=checkbox]), .bomen-report-layout select, .bomen-report-layout textarea { display: block; width: 100%; font: inherit; padding: 8px 10px; }
.bomen-report-layout .bomen-consent { display: flex; gap: 10px; align-items: flex-start; }
.bomen-report-layout .bomen-consent input { margin-top: 6px; flex: none; }
.bomen-report-layout fieldset { min-width: 0; margin: 14px 0; }
body .bomen-report-layout button.bomen-secondary { background: #fff !important; color: var(--forest, #256447) !important; border: 1px solid var(--forest, #256447); padding: 8px 14px; margin: 0 8px 8px 0; font-size: 15px; cursor: pointer; }
body .bomen-report-layout button.bomen-secondary[hidden] { display: none !important; }
.bomen-report-layout label { font-size: 16px; }
.bomen-report-layout input:not([type=checkbox])::placeholder, .bomen-report-layout textarea::placeholder { font-weight: 400; color: #6b756e; opacity: 1; }
.bomen-report-layout input:not([type=checkbox]) { font-weight: 400; }
.bomen-report-layout .bomen-coordinates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bomen-report-layout .bomen-address-results { list-style: none; padding: 0; margin: 0 0 8px; }
.bomen-report-layout .bomen-address-results button { width: 100%; text-align: left; margin-bottom: 4px; }
.bomen-report-layout .bomen-point { height: 360px; min-height: 360px; border: 1px solid var(--line, #d9e2d6); }
/* The example text fills the story field, also on narrow screens. */
@media (max-width: 599px) { .bomen-report-layout textarea.bomen-story { min-height: 690px; } }
/* Saving and submitting: two buttons of the same size, stacked when there is no room. */
.bomen-report-layout .bomen-report-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 14px 0; }
body .bomen-report-layout .bomen-report-actions button { box-sizing: border-box; width: 100%; min-height: 48px; margin: 0 !important; padding: 10px 16px !important; border: 1px solid var(--forest, #256447); border-radius: 3px; font-size: 16px !important; font-weight: 700; line-height: 1.3; cursor: pointer; }
/* Page 1: introduction over the full width, then the fields left and the map right. */
.bomen-report-layout .bomen-report-intro { margin: 0 0 18px; scroll-margin-top: 16px; }
.bomen-report-layout .bomen-report-intro p { margin: 0 0 10px; }
.bomen-report-layout .bomen-report-intro p:last-child { margin-bottom: 0; }
.bomen-report-main > * { min-width: 0; }
.bomen-report-layout .bomen-report-choices .bomen-helper { margin: 0 0 12px 36px; }
.bomen-report-layout .bomen-photo-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.bomen-report-layout .bomen-photo-list li { display: flex; flex-direction: column; gap: 6px; width: 180px; overflow-wrap: anywhere; font-size: 14px; }
.bomen-report-layout .bomen-photo-list img { width: 180px; height: 120px; object-fit: cover; border: 1px solid var(--line, #d9e2d6); }
.bomen-report-layout .bomen-contact-block h2, .bomen-report-layout section h2 { font-size: 22px; line-height: 1.3; margin: 28px 0 8px; }
.bomen-report-layout .bomen-contact-block h2, .bomen-report-layout section.bomen-card h2 { margin-top: 8px; }
.bomen-report-layout .bomen-contact-block label { max-width: 640px; }
.bomen-report-layout .bomen-login-options { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; }
.bomen-report-layout .bomen-login-options > fieldset { margin: 0; }
.bomen-report-layout .bomen-or { align-self: center; justify-self: center; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0; border-radius: 50%; background: var(--forest, #256447); color: #fff; font-weight: 700; font-size: 18px; }
/* The single LinkedIn button sits in the middle of the room below its explanation. */
.bomen-report-layout .bomen-login-options > .bomen-login-linkedin { display: flex; flex-direction: column; }
body .bomen-report-layout .bomen-login-linkedin > button { margin: auto; }
@media (max-width: 699px) { .bomen-report-layout .bomen-login-options { grid-template-columns: minmax(0, 1fr); } }
body .bomen-report-layout button:disabled { opacity: .55; cursor: default; }
.bomen-report-layout [hidden] { display: none !important; }
/* Fields that belong together share a section in the colour of the introduction. */
.bomen-report-layout .bomen-card { box-sizing: border-box; background: var(--leaf, #e9f0e3); border: 0; border-radius: 4px; margin: 0 0 18px; padding: 8px 18px 14px; }
.bomen-report-layout fieldset.bomen-card > legend, .bomen-report-layout .bomen-card-plain > legend { float: left; width: 100%; padding: 0; margin: 8px 0 0; }
.bomen-report-layout fieldset.bomen-card > legend + *, .bomen-report-layout .bomen-card-plain > legend + * { clear: both; }
.bomen-report-layout .bomen-card-plain { border: 0; padding: 0; margin: 0; }
.bomen-report-layout .bomen-card-start { margin-bottom: 0; border-radius: 4px 4px 0 0; padding-bottom: 0; }
.bomen-report-layout .bomen-card-end { border-radius: 0 0 4px 4px; }
.bomen-report-layout .bomen-card input:not([type=checkbox]):not([type=file]), .bomen-report-layout .bomen-card select, .bomen-report-layout .bomen-card textarea, .bomen-report-layout .bomen-card input[type=file] { background: #fff; }
.bomen-report-layout .bomen-card fieldset:not(.bomen-card-plain) { background: #fff; border: 1px solid var(--line, #d9e2d6); border-radius: 4px; }
.bomen-report-layout .bomen-card .bomen-notice { background: #fff; }
/* On narrow screens the map follows the location search. */
@media (min-width: 900px) {
    .bomen-report-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 28px; align-items: start; }
    .bomen-report-main > * { grid-column: 1; }
    .bomen-report-main > .bomen-report-mapcol { grid-column: 2; grid-row: 1 / span 12; align-self: stretch; }
    .bomen-report-layout .bomen-point { position: sticky; top: 12px; height: calc(100vh - 24px); margin-top: 10px; }
}
.bomen-report-layout .bomen-subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 16px; }
.bomen-report-layout details[data-coordinates] summary { cursor: pointer; font-size: 15px; }
.bomen-report-layout [data-nearest] { margin: 8px 0; font-size: 15px; }
.bomen-report-layout .bomen-warning { background: #fff4cf; border-left: 4px solid #c17029; padding: 10px 14px; font-size: 15px; }
@media (max-width: 899px) { .bomen-report-layout .bomen-report-mapcol { background: var(--leaf, #e9f0e3); padding: 0 18px; display: flow-root; } }
.bomen-report-layout[data-bomen-details] > .bomen-notice { margin: 0 0 18px; }
