.rs-widget {
    --rs-focus: #a64b12;
    box-sizing: border-box;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid #c9d9ce;
    border-radius: 20px;
    background: #edf4ee;
    color: #153c30;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.rs-widget *, .rs-widget *::before, .rs-widget *::after { box-sizing: border-box; }
.rs-widget .rs-heading { margin: 0 0 12px; font-family: inherit; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; color: inherit; }
.rs-widget .rs-intro { margin: 0 0 28px; max-width: 60ch; }
.rs-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.rs-search-row { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-widget .rs-input { flex: 1 1 250px; width: 100%; min-width: 0; min-height: 52px; margin: 0; padding: 12px 16px; border: 1px solid #759083; border-radius: 8px; background: #fff; color: #153c30; font: inherit; }
.rs-widget .rs-input::placeholder { color: #50685f; opacity: 1; }
.rs-widget .rs-button, .rs-widget .rs-choice { min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; background: #15573e; color: #fff; font: inherit; font-weight: 600; cursor: pointer; white-space: normal; text-align: start; }
.rs-widget .rs-button:hover { background: #0b3e2a; color: #fff; }
.rs-widget .rs-choice { background: #fff; color: #15573e; border-color: #759083; }
.rs-widget .rs-choice:hover { border-color: currentColor; text-decoration: underline; }
.rs-examples { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.rs-widget .rs-example { display: inline-flex; align-items: center; box-shadow: none; border-radius: 0; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rs-widget :is(input, button, a):focus-visible { outline: 3px solid var(--rs-focus); outline-offset: 4px; }
.rs-widget .rs-status { margin: 18px 0 0; }
.rs-widget .rs-status:empty { display: none; }
.rs-widget .rs-result { margin-top: 20px; padding: clamp(20px, 4vw, 32px); border-radius: 12px; background: #fff; color: #153c30; }
.rs-widget .rs-result h3 { margin: 0 0 16px; font: inherit; font-size: 1.5em; font-weight: 700; color: inherit; line-height: 1.3; }
.rs-widget .rs-result h3:focus { outline: none; }
.rs-widget .rs-result h4 { margin: 24px 0 8px; font: inherit; font-weight: 700; font-size: 1.1em; color: inherit; }
.rs-result p { margin: 0 0 14px; }
.rs-widget .rs-result a { color: #15573e; text-decoration: underline; }
.rs-choices { display: grid; gap: 20px; }
.rs-choice-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-widget .rs-choice-group h4 { margin: 0 0 10px; }
.rs-widget .rs-entity-kind { margin: 0 0 8px; font-size: .9em; font-weight: 600; }
.rs-classification { font-weight: 700; }
.rs-guidance { font-weight: 700; }
.rs-places { padding-inline-start: 24px; }
.rs-result > .rs-choice, .rs-result > .rs-example { margin: 14px 16px 0 0; }
.rs-loading .rs-status::before { content: ''; display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; margin-right: 10px; animation: rs-spin .8s linear infinite; }
@keyframes rs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rs-loading .rs-status::before { animation: none; } }
@media (max-width: 480px) { .rs-widget .rs-button { flex: 1 1 100%; text-align: center; } .rs-widget .rs-choice { width: 100%; } }

.rs-more { margin: 20px 0; border-block: 1px solid #c9d9ce; padding: 14px 0; }
.rs-more summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.rs-more summary:focus-visible { outline: 3px solid var(--rs-focus); outline-offset: 4px; }
.rs-more[open] summary { margin-bottom: 16px; }

/* Contractual source marking: fixed, readable colors independent of result styling. */
.rs-widget .rs-attribution { margin: 0 0 20px; padding: 12px 16px; border: 1px solid #b6c9bf; border-radius: 8px; background: #fff; color: #153c30; }
.rs-widget .rs-attribution .rs-source-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: 44px; color: #153c30 !important; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.rs-widget .rs-attribution .rs-source-logo { display: block; flex: 0 0 auto; width: 156px; height: auto; max-width: 100%; border: 0; border-radius: 0; background: #fff; }
.rs-widget .rs-output > .rs-attribution { margin-top: 20px; margin-bottom: 0; }
.rs-widget .rs-choices{display:flex;flex-direction:column;list-style:none;margin:1rem 0;padding:0;gap:.5rem}
.rs-widget .rs-choice-item{list-style:none;margin:0;padding:0}
.rs-widget .rs-hit{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;gap:.2rem;padding:.85rem 1rem;border-radius:.6rem}
.rs-widget .rs-hit-name{font-weight:600}
.rs-widget .rs-hit-meta{font-size:.8em;font-weight:400}
.rs-widget .rs-load-more{margin-bottom:.5rem}

/* Example searches are links; the secondary action remains a native button with link styling.
   Reset theme button states so global Elementor kit rules cannot add pill borders. */
.rs-widget .rs-example:is(:hover, :focus, :active) { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.rs-widget .rs-hit-name { font-family: inherit; line-height: inherit; }
.rs-widget .rs-hit-meta { font-family: inherit; color: inherit; }

/* Keep mandatory source marking below both the choices and detail content. */
.rs-widget .rs-result > .rs-attribution { margin-top: 20px; margin-bottom: 0; }
