.pscj-search-toggle {
    flex: 0 0 auto;
    color: #562137;
}
.pscj-search-toggle summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .65rem;
    border-radius: .5rem;
    cursor: pointer;
    list-style: none;
    font-size: .94rem;
    font-weight: 650;
    white-space: nowrap;
}
.pscj-search-toggle summary::-webkit-details-marker {display: none}
.pscj-search-toggle[open] summary,
.pscj-search-toggle summary:hover {background: #f3e8ea}
.pscj-search-icon {
    position: relative;
    width: 14px;
    height: 14px;
    margin: 0 4px 4px 0;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.pscj-search-icon::after {
    position: absolute;
    content: "";
    background: currentColor;
    width: 7px;
    height: 2px;
    left: 9px;
    top: 10px;
    transform: rotate(45deg);
}
.studio-header:has(.pscj-search-toggle) {position: relative}
.pscj-search-panel {
    position: absolute;
    z-index: 10;
    top: 100%;
    right: max(12px, 3vw);
    width: min(100vw - 24px, 28rem);
    padding: clamp(12px, 3vw, 22px);
    color: #203b32;
    background: #fffcf8;
    border: 1px solid #cbbdbf;
    border-radius: .7rem;
    box-shadow: 0 10px 34px #36283529;
}
.pscj-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem;
    align-items: end;
    margin: 0;
    max-width: 38rem;
}
.pscj-search-form label {display: grid; gap: .3rem; min-width: 0; font-weight: 650}
.pscj-search-form input,
.pscj-search-form button {
    min-height: 48px;
    padding: .55rem .7rem;
    font: inherit;
    line-height: 1.25;
    border: 1px solid #887b7e;
    border-radius: .45rem;
}
.pscj-search-form input {width: 100%; min-width: 0; background: white; color: #203b32; font-size: 1rem}
.pscj-search-form button {background: #783752; border-color: #783752; color: white; cursor: pointer; font-weight: 650}
.pscj-search-form button:hover {background: #5d263d}
.pscj-search-form :focus-visible,
.pscj-search-toggle summary:focus-visible,
.pscj-search-result-link:focus-visible {outline: 2px solid #783752; outline-offset: 3px}
.pscj-office-home > .pscj-search-form {margin-bottom: 1.5rem}
.pscj-search-page {padding-block: clamp(24px, 5vw, 64px)}
.pscj-search-page h1 {margin-bottom: clamp(18px, 3vw, 30px)}
.pscj-search-page > p {margin-top: 1.4rem}
.pscj-search-results {display: grid; gap: .75rem; max-width: 48rem; margin-top: 1.25rem; padding: 0; list-style: none}
.pscj-search-results li {display: grid; gap: .25rem; padding: clamp(.75rem, 2vw, 1.15rem); border: 1px solid #cec9bb; border-radius: .65rem; background: #fffcf8}
.pscj-search-results li > span {font-size: .85rem; color: #65534f}
.pscj-search-results li > p {margin: 0; color: #43534a}
.pscj-search-result-link {color: #592941; font-weight: 650; font-size: 1.12rem; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere}
@media (max-width: 700px) {
    .pscj-search-toggle summary {min-width: 44px; justify-content: center; padding-inline: 0}
    .pscj-search-toggle summary > span {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap}
}
@media print {.pscj-search-form,.pscj-search-toggle {display: none}}

.pscj-search-shortcuts {display:flex;flex-wrap:wrap;gap:.4rem .55rem;align-items:center;margin-top:1rem}
.pscj-search-shortcuts a {display:inline-flex;align-items:center;min-height:44px;padding:.4rem .8rem;border:1px solid #d8c9cb;border-radius:2rem;background:#fffaf6;color:#562137;font:600 .95rem/1.25 system-ui,sans-serif;text-decoration:none}
.pscj-search-shortcuts a:hover,.pscj-search-shortcuts a:focus-visible {background:#f4e7e9;text-decoration:underline;text-underline-offset:.2em}
.pscj-search-panel {max-height:75dvh;overflow-y:auto}
