.d7-geo-check {
    --check-ink: #102e49;
    --check-line: #d0dfed;
    --check-blue: #0067c5;
    color: var(--check-ink);
    border: 1px solid var(--check-line);
    border-radius: 12px;
    background: #fff;
    margin-block-start: 14px;
    padding: clamp(18px, 3.3vw, 36px);
    scroll-margin-block-start: 110px;
}
.d7-check-intro { max-width: 72ch; }
.d7-geo .d7-geo-check h3 { margin-block: 0 9px; font-size: clamp(22px, 3vw, 34px); }
.d7-geo .d7-geo-check p { line-height: 1.55; }
.d7-check-panel { margin-block-start: 17px; }
.d7-check-panel summary {
    display: list-item;
    min-height: 44px;
    padding: 10px 13px;
    background: #eaf4fe;
    border: 1px solid #c5d8eb;
    border-radius: 6px;
    color: #004d92;
    font-weight: 750;
    cursor: pointer;
    list-style-position: inside;
}
.d7-check-content { display: grid; gap: 14px; margin-block-start: 16px; }
.d7-check-method, .d7-check-local { font-size: .88rem; max-width: 78ch; }
.d7-check-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    min-inline-size: 0;
    padding: 0;
    border: 0;
    margin: 0;
}
.d7-check-fields[hidden] { display: none; }
.d7-check-wide { grid-column: 1 / -1; }
.d7-check-fields label { display: grid; min-width: 0; gap: 4px; color: inherit; font-weight: 700; }
.d7-check-fields :is(input, select, textarea) {
    box-sizing: border-box;
    inline-size: 100%;
    min-inline-size: 0;
    min-block-size: 44px;
    border: 1px solid #9fb4c8;
    border-radius: 5px;
    padding: 9px 11px;
    background: #fff;
    color: var(--check-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
}
.d7-check-fields textarea { resize: vertical; }
.d7-check-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.d7-geo-check button {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid #b2c9de;
    padding: 9px 13px;
    border-radius: 6px;
    background: #f8fbff;
    color: #004d92;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: normal;
}
.d7-geo-check button[data-check-add] { background: var(--check-blue); border-color: var(--check-blue); color: #fff; }
.d7-geo-check button:disabled,
.d7-check-fields:disabled button { opacity: .65; cursor: default; }
.d7-geo-check :focus-visible { outline: 2px solid #0077b8; outline-offset: 3px; }
.d7-check-results {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.d7-check-results[hidden] { display: none; }
.d7-check-results li {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #f3f8fd;
    border: 1px solid var(--check-line);
    border-radius: 5px;
    overflow-wrap: anywhere;
}
.d7-check-results small { display: block; }
[data-check-status]:empty { display: none; }
.d7-check-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 620px) {
    .d7-check-fields { grid-template-columns: minmax(0, 1fr); }
    .d7-check-results li { flex-wrap: wrap; }
}
