.shinko-search-actions {
    position: sticky;
    top: var(--shinko-search-sticky-top, 0px);
    z-index: 20;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: var(--shinko-search-width, 940px);
    margin: 0 auto 12px;
    padding: 8px;
    background: #fff;
    border-bottom: 1px solid #d9dfe3;
}

.shinko-search-actions button {
    box-sizing: border-box;
    min-height: 44px;
    min-width: 96px;
    padding: 8px 16px;
    border: 1px solid #c0c8ce;
    border-radius: 4px;
    background: #fff;
    color: #26323a;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.shinko-search-actions .shinko-search-primary {
    border-color: #435564;
    background: #435564;
    color: #fff;
}

.shinko-search-actions button:hover {
    border-color: #26323a;
}

.shinko-search-actions button:focus-visible {
    outline: 2px solid #175c8c;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .shinko-search-actions button {
        flex: 1 1 9rem;
    }
}

body:has(#shinkoCommonTopbar) {
    --shinko-search-sticky-top: 58px;
}

@media (min-width: 720px) {
    body:has(#shinkoCommonTopbar) .shinko-search-actions {
        width: calc(100vw - var(--shinko-property-side-limit, 275px));
    }
}

body.property-search-page #fm > .shinko-search-actions {
    width: var(--shinko-property-width, 900px);
    max-width: min(100%, calc(100vw - var(--shinko-property-side-limit, 258px)));
    margin-bottom: 12px;
}

body:has(.shinko-search-actions) :is(#kekka, #src) {
    scroll-margin-top: calc(var(--shinko-search-sticky-top, 0px) + 74px);
}

html.shinko-mobile-search-page {
    --shinko-mobile-search-space: calc(72px + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: var(--shinko-mobile-search-space);
}

.shinko-mobile-search-page form#form1 {
    padding-bottom: var(--shinko-mobile-search-space);
}

.shinko-search-actions.shinko-mobile-search-actions {
    position: fixed;
    inset: auto 0 0;
    z-index: 1000;
    max-width: none;
    margin: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #d9dfe3;
    border-bottom: 0;
}

.shinko-mobile-search-actions button {
    flex: 1 1 0;
    min-width: 0;
}
