/*
 * Die öffentliche Webmaster-Seite verwendet bewusst dieselbe optische Basis
 * wie die produktive MOBA-Suchseite. search.css ist die Quelle für Schrift,
 * Eingabefelder, Buttons und Überschriftendarstellung.
 */

body.moba-module-webmaster-page .mc-page-main .mc-content-page {
    max-width: var(--mc-container-width, 1180px);
}

.mms-webmaster-public {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Absatzdarstellung 1:1 aus .moba-module-search__snippet. */
.mms-webmaster-public p:not(.mms-webmaster-message),
.mms-webmaster-public li {
    color: var(--mc-color-text, #172033);
    font-family: var(--mc-body-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: .94rem;
    line-height: 1.55;
}

.mms-webmaster-public .mms-webmaster-intro {
    margin: 0 0 20px;
}

.mms-webmaster-public .mms-webmaster-section:not(.mms-webmaster-form-section) {
    margin: 0;
    padding: 20px 4px 21px;
    border-bottom: 1px solid rgba(15, 23, 42, .13);
}

.mms-webmaster-public .mms-webmaster-section:not(.mms-webmaster-form-section):first-of-type {
    border-top: 1px solid rgba(15, 23, 42, .13);
}

.mms-webmaster-public .moba-module-search__result-title {
    margin: 0 0 8px;
}

.mms-webmaster-form-section.moba-module-search__panel {
    margin: 24px 0;
}

.mms-webmaster-form-section .moba-module-search__label {
    display: block;
    margin: 0 0 12px;
}

.mms-webmaster-form {
    display: grid;
    gap: 14px;
    margin: 0;
}

.mms-webmaster-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.mms-webmaster-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

/* Labeldarstellung 1:1 aus den Suchfiltern. */
.mms-webmaster-field > span,
.mms-webmaster-verification-methods legend {
    color: rgba(23, 32, 51, .68);
    font-family: var(--mc-body-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.4;
}

.mms-webmaster-field .moba-module-search__input,
.mms-webmaster-field .moba-module-search__select {
    width: 100%;
    max-width: none;
}

.mms-webmaster-field .moba-module-search__select {
    min-height: 46px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.mms-webmaster-verification-methods {
    display: grid;
    gap: 8px;
    margin: 2px 0 0;
    padding: 0;
    border: 0;
}

.mms-webmaster-verification-methods legend {
    margin-bottom: 4px;
}

.mms-webmaster-verification-methods label,
.mms-webmaster-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--mc-color-text, #172033);
    font-family: var(--mc-body-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: .94rem;
    line-height: 1.55;
}

.mms-webmaster-verification-methods input,
.mms-webmaster-check input {
    flex: 0 0 auto;
    margin-top: .32em;
}

.mms-webmaster-form-action,
.mms-webmaster-verify-form {
    margin: 0;
}

.mms-webmaster-submit {
    width: auto;
    min-width: 104px;
    min-height: 50px;
    padding: 10px 22px;
}

.mms-webmaster-message {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-left: 3px solid #2b9f13;
    background: rgba(43, 159, 19, .06);
    color: rgba(23, 32, 51, .68);
    font-family: var(--mc-body-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: .88rem;
    line-height: 1.5;
}

.mms-webmaster-message.is-error {
    border-left-color: #111;
    background: rgba(15, 23, 42, .045);
}

.mms-webmaster-code {
    overflow-wrap: anywhere;
}

.mms-webmaster-request-status dl {
    margin: 8px 0 18px;
}

.mms-webmaster-request-status dl > div {
    display: grid;
    grid-template-columns: minmax(145px, .32fr) minmax(0, 1fr);
    gap: 10px 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(15, 23, 42, .13);
    color: var(--mc-color-text, #172033);
    font-family: var(--mc-body-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: .88rem;
    line-height: 1.5;
}

.mms-webmaster-request-status dt {
    color: rgba(23, 32, 51, .68);
    font-weight: 600;
}

.mms-webmaster-request-status dd {
    margin: 0;
    min-width: 0;
}

.mms-webmaster-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 10px;
    font-size: .88rem;
}

.mms-webmaster-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 700px) {
    .mms-webmaster-field-row,
    .mms-webmaster-request-status dl > div {
        grid-template-columns: 1fr;
    }
}
