.gsg-registry-checker {
    margin: 30px 0 34px;
    padding: 26px;
    border: 1px solid #bfd4ea;
    border-left: 4px solid #2f78bf;
    border-radius: 6px;
    background: #f7fafc;
    color: #17243a;
    box-shadow: 0 8px 24px rgba(25, 72, 120, .08);
}

.gsg-registry-checker * { box-sizing: border-box; }

.gsg-registry-checker__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.gsg-event-article .gsg-registry-checker h2 {
    margin: 4px 0 8px;
    font-size: 28px;
    line-height: 1.18;
    color: #174f87;
}

.gsg-registry-checker__head p { margin: 0; color: #4e6075; }

.gsg-registry-checker__eyebrow {
    display: block;
    color: #2f78bf;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.gsg-registry-checker__source {
    flex: 0 0 auto;
    margin-top: 4px;
    padding: 7px 10px;
    border-radius: 4px;
    background: #e9f4ed;
    color: #237846;
    font-size: 13px;
    font-weight: 600;
}

.gsg-registry-checker__form { margin-top: 22px; }

.gsg-registry-checker__modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 12px;
    padding: 4px;
    border: 0;
    border-radius: 5px;
    background: #e8eef5;
}

.gsg-registry-checker__modes label { margin: 0; cursor: pointer; }
.gsg-registry-checker__modes input { position: absolute; opacity: 0; pointer-events: none; }
.gsg-registry-checker__modes span {
    display: block;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #486078;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}
.gsg-registry-checker__modes input:checked + span {
    border-color: #b9cde0;
    background: #fff;
    color: #1769ac;
    box-shadow: 0 2px 7px rgba(24, 73, 120, .09);
}
.gsg-registry-checker__modes input:focus-visible + span { outline: 3px solid rgba(47, 120, 191, .28); }

.gsg-registry-checker__search-row { display: grid; grid-template-columns: 1fr 170px; gap: 10px; }
.gsg-registry-checker__search-row input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 10px 14px;
    border: 1px solid #aabfd3;
    border-radius: 5px;
    background: #fff;
    color: #18263b;
    font-size: 16px;
}
.gsg-registry-checker__search-row input:focus { border-color: #2f78bf; outline: 3px solid rgba(47, 120, 191, .14); }
.gsg-registry-checker__search-row button,
.gsg-registry-result__primary {
    min-height: 48px;
    border: 0;
    border-radius: 5px;
    background: #d92f35;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: inset 0 -3px 0 rgba(105, 12, 17, .28);
}
.gsg-registry-checker__search-row button:hover,
.gsg-registry-checker__search-row button:focus,
.gsg-registry-result__primary:hover,
.gsg-registry-result__primary:focus { background: #bd242b; color: #fff; }
.gsg-registry-checker button:focus-visible,
.gsg-registry-checker input:focus-visible { outline: 3px solid rgba(47, 120, 191, .35); outline-offset: 2px; }
.gsg-registry-checker__search-row button[disabled] { opacity: .7; cursor: wait; }

.gsg-registry-checker__hint,
.gsg-registry-checker__legal { margin: 8px 0 0; color: #63758a; font-size: 13px; line-height: 1.45; }
.gsg-registry-checker__legal { margin-top: 18px; }
.gsg-registry-checker__status { margin-top: 14px; }
.gsg-registry-checker__notice { padding: 13px 15px; border-radius: 5px; background: #edf4fb; color: #244f78; }
.gsg-registry-checker__notice--error { background: #fff1f1; color: #9b2429; }
.gsg-registry-checker__notice--empty { background: #fff7e7; color: #7a5616; }
.gsg-registry-checker__notice--warning { border-left: 3px solid #c48716; background: #fff7e7; color: #694b14; }
.gsg-registry-checker__recovery { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 9px; }
.gsg-registry-checker__recovery button {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #2f78bf;
    border-radius: 5px;
    background: #fff;
    color: #1769ac;
    font-weight: 700;
    cursor: pointer;
}
.gsg-registry-checker__recovery button:hover,
.gsg-registry-checker__recovery button:focus { background: #eef6fd; }
.gsg-registry-checker__results { display: grid; gap: 12px; margin-top: 14px; }

.gsg-registry-result {
    padding: 18px;
    border: 1px solid #d1deea;
    border-radius: 5px;
    background: #fff;
}
.gsg-registry-result__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.gsg-registry-result__number { margin: 0; color: #153d68; font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.gsg-registry-result__secondary { margin: 3px 0 0; color: #5d6d80; font-size: 13px; overflow-wrap: anywhere; }
.gsg-registry-result__status { flex: 0 0 auto; padding: 5px 8px; border-radius: 4px; background: #edf1f5; color: #4b5e72; font-size: 12px; font-weight: 700; }
.gsg-registry-result__status--active { background: #e5f5eb; color: #19733e; }
.gsg-registry-result__status--inactive { background: #fdeaea; color: #a1252b; }
.gsg-registry-result__name { margin: 14px 0 10px; color: #1d2f45; font-weight: 600; line-height: 1.45; }
.gsg-registry-result__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 0; }
.gsg-registry-result__meta div { min-width: 0; }
.gsg-registry-result__meta dt { color: #718096; font-size: 12px; font-weight: 600; }
.gsg-registry-result__meta dd { margin: 2px 0 0; color: #2a3b50; overflow-wrap: anywhere; }
.gsg-registry-result__details { margin-top: 12px; border-top: 1px solid #e2e9f0; padding-top: 10px; }
.gsg-registry-result__details summary { color: #1769ac; font-weight: 700; cursor: pointer; }
.gsg-registry-result__details p { margin: 8px 0 0; color: #4b5e72; line-height: 1.45; }
.gsg-registry-result__actions { display: flex; gap: 10px; margin-top: 16px; }
.gsg-registry-result__primary { padding: 11px 18px; }
.gsg-registry-result__chat {
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid #2f78bf;
    border-radius: 5px;
    background: #fff;
    color: #1769ac;
    font-weight: 700;
    cursor: pointer;
}
.gsg-registry-result__chat:hover,
.gsg-registry-result__chat:focus { background: #eef6fd; }

.gsg-registry-checker__more {
    justify-self: center;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid #2f78bf;
    border-radius: 5px;
    background: #fff;
    color: #1769ac;
    font-weight: 700;
    cursor: pointer;
}
.gsg-registry-checker__more:hover,
.gsg-registry-checker__more:focus { background: #eef6fd; }

@media (max-width: 700px) {
    .gsg-registry-checker { margin: 22px 0 28px; padding: 17px 14px; border-left-width: 3px; }
    .gsg-registry-checker__head { display: block; }
    .gsg-event-article .gsg-registry-checker h2 { font-size: 23px; }
    .gsg-registry-checker__source { display: inline-block; margin-top: 12px; }
    .gsg-registry-checker__modes { grid-template-columns: 1fr; gap: 3px; }
    .gsg-registry-checker__modes span { min-height: 40px; padding: 9px 10px; }
    .gsg-registry-checker__search-row { grid-template-columns: 1fr; }
    .gsg-registry-checker__search-row button { width: 100%; }
    .gsg-registry-result__top { display: block; }
    .gsg-registry-result__status { display: inline-block; margin-top: 9px; }
    .gsg-registry-result__meta { grid-template-columns: 1fr; }
    .gsg-registry-result__actions { flex-direction: column; }
    .gsg-registry-result__primary,
    .gsg-registry-result__chat,
    .gsg-registry-checker__more,
    .gsg-registry-checker__recovery button { width: 100%; }
}
