/* Public form and survey screens use the same colors and wordmark as the institute. */
.rg-runtime { color: var(--rg-ink); background: var(--rg-mist); }
.rg-runtime__skip {
    position: absolute; inset: .5rem auto auto .5rem; z-index: 5;
    transform: translateY(-150%); padding: .75rem 1rem;
    background: var(--rg-neon); color: var(--rg-night);
}
.rg-runtime__skip:focus { transform: none; }
.rg-runtime__home {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
    margin-inline-start: auto; color: #f3f5ee; text-decoration: none; font-weight: 700;
    font-size: .86rem; white-space: nowrap;
}
.rg-runtime__home span { color: var(--rg-neon); }
.rg-runtime__home:hover { color: var(--rg-neon); }

.rg-runtime__shell { width: min(calc(100% - 3rem), 920px); margin: clamp(1.3rem, 4vw, 3.2rem) auto; }
.rg-runtime__mast {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--rg-night); color: white;
    border-left: 4px solid var(--rg-neon); padding: clamp(1.25rem, 4vw, 2.8rem);
}
.rg-runtime__mast .rg-overline { margin: 0 0 .5rem; }
.rg-runtime__mast h1 {
    margin: 0; font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.18;
    font-weight: 790; letter-spacing: -.025em; overflow-wrap: anywhere;
}
.rg-runtime__emblem {
    position: absolute; z-index: -1; inset: auto -3% -35% auto;
    width: min(55%, 340px); aspect-ratio: 1.8; opacity: .2;
    background: var(--rg-neon);
    clip-path: polygon(0 100%, 29% 31%, 42% 59%, 64% 4%, 100% 100%, 89% 100%, 64% 21%, 43% 76%, 29% 48%, 9% 100%);
}
.rg-runtime__progress {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px;
    margin: 0; padding: 0; list-style: none;
    background: var(--rg-line); border: 1px solid var(--rg-line); border-top: 0;
}
.rg-runtime__progress li {
    display: flex; align-items: center; justify-content: center; gap: .65rem;
    min-height: 3.15rem; padding: .45rem; background: var(--rg-paper);
    color: #4b5869; font-weight: 680; font-size: .9rem; text-align: center;
}
.rg-runtime__progress li span { font: 650 .77rem ui-monospace, monospace; }
.rg-runtime__progress li[aria-current] {
    box-shadow: inset 0 -3px #607329; color: var(--rg-night); background: #e4edc7;
}
.rg-runtime__panel {
    background: var(--rg-paper); border: 1px solid var(--rg-line); border-top: 0;
    padding: clamp(1.15rem,4vw,2.85rem); min-width: 0;
}
.rg-runtime__intro { color: #415164; line-height: 1.75; overflow-wrap: anywhere; }
.rg-runtime__intro > :first-child { margin-top: 0; }
.rg-runtime__intro > :last-child { margin-bottom: 0; }
.rg-runtime__panel > .rg-runtime__intro { margin-bottom: 1.4rem; }
.rg-runtime__subtitle {
    font-size: clamp(1.18rem,2vw,1.45rem);
    margin: 1.25rem 0 .85rem; border-inline-start: 3px solid #75883e; padding-inline-start: .65rem;
}
.rg-runtime__panel form, .rg-runtime__field, .rg-runtime__panel fieldset { min-width: 0; }
.rg-runtime__field:not([hidden]) { display: grid; gap: .4rem; margin-block: 0 1rem; }
.rg-runtime__field > label, .rg-runtime__panel legend { display: block; font-weight: 750; line-height: 1.45; }
.rg-runtime__required {
    display: inline-block; margin-inline-start: .32rem; padding: .11rem .35rem;
    font-size: .72rem; line-height: 1.3; vertical-align: .08em;
    color: #3d4c1e; background: #e8edda; border: 1px solid #c1cba8;
}
.rg-runtime__panel :is(input:not([type=radio],[type=checkbox],[type=hidden]),select,textarea) {
    display: block; width: 100%; min-width: 0; min-height: 45px; padding: .63rem .72rem;
    box-sizing: border-box; color: var(--rg-night); border: 1px solid #929caa;
    background: white; border-radius: .2rem; font: inherit; font-size: 1rem;
}
.rg-runtime__panel textarea { resize: vertical; min-height: 6rem; }
.rg-runtime__panel fieldset {
    margin: 0 0 1.25rem; padding: .8rem 1rem 1rem;
    border: 1px solid var(--rg-line); background: #fcfdf8;
}
.rg-runtime__panel fieldset legend { padding-inline: .3rem; }
.rg-runtime__panel :is([type=radio],[type=checkbox]) {
    flex: 0 0 auto; width: 1.15rem; height: 1.15rem;
    margin: 0; accent-color: #526626;
}
.rg-runtime__choice, .rg-runtime__option {
    display: flex; flex-wrap: wrap; align-items: center; column-gap: .65rem; min-height: 44px;
}
.rg-runtime__choice label { flex: 1; display: flex; align-items: center; min-height: 44px; }
.rg-runtime__option { cursor: pointer; }
.rg-runtime__choice input[type=text] { margin: 0 0 .6rem; }
.rg-runtime__help, .rg-runtime__error { margin: 0; font-size: .9rem; }
.rg-runtime__help { color: #4c5d6c; }
.rg-runtime__errors, .rg-runtime__error { color: #8c301e; }
.rg-runtime__errors, .rg-runtime__notice {
    padding: .8rem 1rem; margin-block: 0 1rem; border-inline-start: 3px solid currentColor;
    background: #f3ebdd;
}
ul.rg-runtime__errors { padding-inline-start: 2rem; }
.rg-runtime__errors ul { margin: 0; padding-inline-start: 1.35rem; }
.rg-runtime [data-rt-honeypot] {
    position: absolute; overflow: hidden; clip-path: inset(50%);
    width: 1px; height: 1px; white-space: nowrap; pointer-events: none;
}
.rg-runtime__summary { margin: 0; }
.rg-runtime__summary + .rg-runtime__summary { border-top: 0; }
.rg-runtime__summary, .rg-runtime__summary > div {
    display: grid; grid-template-columns: minmax(9rem, 30%) minmax(0,1fr);
}
.rg-runtime__summary:has(> div) { grid-template-columns: 1fr; }
.rg-runtime__summary { border: 1px solid var(--rg-line); }
.rg-runtime__summary > div + div { border-top: 1px solid var(--rg-line); }
.rg-runtime__summary dt, .rg-runtime__summary dd { padding: .85rem 1rem; margin: 0; overflow-wrap: anywhere; }
.rg-runtime__summary dt { font-weight: 740; background: #e9eddf; }
.rg-runtime__summary dd { background: white; }
.rg-runtime__actions {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end;
    gap: .7rem; margin-top: 1.6rem;
}
.rg-runtime__button {
    display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
    min-height: 46px; padding: .6rem 1rem; border: 1px solid #829148; cursor: pointer;
    color: var(--rg-night); background: var(--rg-neon); font: inherit; font-weight: 750; text-decoration: none;
}
.rg-runtime__button:hover { background: #edf6c8; }
.rg-runtime__button:disabled { opacity: .65; cursor: wait; }
.rg-runtime__button--secondary { border-color: #929caa; background: var(--rg-paper); }
.rg-runtime__button--secondary:hover { background: #e9eddf; }
.rg-runtime__result {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem;
    padding: clamp(1rem, 3vw, 2.25rem); background: #e9eddf; border: 1px solid #bdc8ac;
}
.rg-runtime__result h2 { margin: 0 0 .55rem; font-size: clamp(1.2rem, 2.6vw, 1.85rem); line-height: 1.3; }
.rg-runtime__result p { margin: 0; }
.rg-runtime__result .rg-runtime__button { margin-top: 1.2rem; }
.rg-runtime__check {
    display: grid; place-items: center; width: 2.45rem; height: 2.45rem;
    border-radius: 50%; background: #354b28; color: white; font-size: 1.15rem; font-weight: 800;
}
.rg-runtime__footer { padding-block: 1.15rem; }
.rg-runtime__footer a { font-size: .85rem; }
@media (max-width: 600px) {
    .rg-runtime__shell { width: calc(100% - 1.5rem); }
    .rg-runtime__home { font-size: .77rem; gap: .35rem; }
    .rg-runtime__progress li { gap: .35rem; min-height: 2.75rem; font-size: .8rem; }
    .rg-runtime__progress li span { font-size: .67rem; }
    .rg-runtime__panel fieldset { padding-inline: .7rem; }
    .rg-runtime__summary, .rg-runtime__summary > div { grid-template-columns: minmax(0,1fr); }
    .rg-runtime__summary dt, .rg-runtime__summary dd { padding: .63rem .75rem; }
    .rg-runtime__actions { align-items: stretch; flex-direction: column; }
    .rg-runtime__actions .rg-runtime__button { width: 100%; }
    .rg-runtime__result { grid-template-columns: minmax(0,1fr); }
}
