/* The same controls in the library, stock portal and existing lamp. */
.by-save,.by-review,.by-remove,.by-primary,.by-back,.by-more,.by-close,.by-finder summary{
 font:inherit;cursor:pointer;line-height:1.4;box-sizing:border-box
}
.by-save,.by-review,.by-remove,.by-back,.by-more{
 color:inherit;background:transparent;border:1px solid currentColor;border-radius:.45rem;
 min-height:42px;padding:.47rem .78rem;display:inline-flex;align-items:center;justify-content:center
}
.by-save{font-size:.85rem}.by-save[aria-pressed=true]{font-weight:700}
.by-review{margin-inline-start:.45rem;font-size:.85rem}.count .by-review{vertical-align:middle}
.by-primary{border:1px solid #7d211d;color:#fff!important;background:#8c2623;border-radius:.45rem;padding:.7rem 1rem;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.by-stock,.by-dialog,.by-finder{font-family:inherit;line-height:1.6}
.by-stock{background:#f8f5ed;color:#282020;border:1px solid #cfc5b1;border-radius:.7rem;padding:clamp(.85rem,2.2vw,1.35rem);margin:0 0 1.2rem}
.by-row,.by-entry,.by-results li,.by-form-actions{display:flex;align-items:center;gap:.7rem;justify-content:space-between;flex-wrap:wrap}
.by-stock h2,.by-dialog h2{font-size:clamp(1.15rem,2.5vw,1.55rem);line-height:1.5;color:#332a24;margin:0}
.by-field{display:flex;flex-direction:column;gap:.25rem;font-size:.88rem;margin-block:.6rem;color:inherit}
.by-field input,.by-field select,.by-field textarea{box-sizing:border-box;width:100%;padding:.58rem .7rem;font:inherit;font-size:1rem;color:#252a32;background:#fff;border:1px solid #8b8276;border-radius:.35rem;min-height:42px}
.by-field textarea{resize:vertical}.by-stock [hidden],.by-dialog [hidden]{display:none!important}
.by-note,.by-stock small{font-size:.87rem;color:#5e5448;margin:.4rem 0}
.by-note:empty,.by-results:empty{display:none}
.by-results{padding:0;margin:.6rem 0;list-style:none}.by-results li{border-block-start:1px solid #d6cebd;padding:.55rem 0}.by-results small{display:block}
.by-dialog{position:fixed;inset:0;width:min(36rem,calc(100vw - 24px));max-height:calc(100dvh - 36px);padding:0;margin:auto;border:1px solid #a49478;border-radius:.8rem;color:#282020;background:#fffdf8;overflow:auto;overscroll-behavior:contain;box-shadow:0 1rem 4rem #18141355}
.by-dialog::backdrop{background:#14110ec9}.by-dialog:not([open]){display:none}
.by-box{padding:clamp(1rem,3vw,1.7rem)}.by-close{float:inline-end;width:42px;height:42px;border:1px solid #ada599;background:transparent;color:#331f18;border-radius:50%;font-size:1.3rem}
.by-entries{padding-inline-start:1.5rem;margin:.9rem 0}.by-entries li{padding:.6rem 0;border-block-end:1px solid #d6cebd}.by-entry{align-items:flex-start}.by-entry bdi{flex:1;overflow-wrap:anywhere}.by-remove{font-size:.85rem}
.by-finder{border-block-start:1px solid #928775;margin-block:.7rem;padding-block:.5rem;color:inherit}
.by-finder summary{font-weight:700;min-height:42px;padding-block:.45rem}.by-finder summary::marker{color:#a8493b}
.by-form{padding-block:.3rem}.by-form-actions{justify-content:flex-start}.by-match{font-weight:700;margin:.5rem 0}.at-dialog-copy>.by-review{margin-inline-start:0}
.by-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:where(.by-primary,.by-save,.by-review,.by-remove,.by-back,.by-more,.by-close,.by-finder summary,.by-field input,.by-field select,.by-field textarea):focus-visible{outline:3px solid #447cac;outline-offset:3px}
@media(max-width:520px){.by-results li{align-items:flex-start}.by-row h2{flex-basis:100%}.by-row .by-review{margin-inline-start:0}.by-stock .by-field{margin-block-end:0}.by-stock .by-query{font-size:16px}}
