.wh-dialog.wh-layout-compact{width:min(720px,94vw);max-height:90vh;max-height:90dvh;display:flex;flex-direction:column;overflow:hidden;padding:0;gap:0;font-size:14px}
.wh-layout-compact .wh-layout-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #e7d9c9;flex-shrink:0}
.wh-layout-compact .wh-layout-header h2{font-size:19px;margin:0}
.wh-layout-compact .wh-layout-header span{font-size:12px;color:#897565;overflow-wrap:anywhere}
.wh-layout-compact .wh-layout-scroll{min-height:0;overflow-y:auto;padding:14px 18px;overscroll-behavior:contain}
.wh-layout-compact label{display:flex;flex-direction:column;gap:5px;font-size:13px;margin:0}
.wh-layout-compact input:not([type=checkbox]),.wh-layout-compact select,.wh-layout-compact textarea{box-sizing:border-box;width:100%;min-width:0;min-height:36px;padding:7px 9px;font:inherit;border:1px solid #dfc7b5;border-radius:7px;background:#fffdfa;color:#493c32}
.wh-layout-compact textarea{resize:vertical;max-height:140px;min-height:56px}
.wh-layout-compact button{font-size:13px;min-height:34px;padding:6px 13px;border-radius:7px}
.wh-layout-compact .wh-layout-source-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}
.wh-layout-compact small{font-size:12px;color:#938171}
.wh-layout-compact .wh-layout-match-item{padding:10px 12px;margin:10px 0 0;background:#faf6ef;border:1px solid #e7d9c9;border-radius:9px}
.wh-layout-compact .wh-layout-item-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;font-size:12px}
.wh-layout-compact .wh-layout-item-heading strong{font-size:13px}
.wh-layout-compact .wh-layout-manual-search{position:relative;margin:0 0 8px}
.wh-layout-compact .wh-layout-spec-fields{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:10px}
.wh-layout-compact .wh-layout-warning{color:#a66d30}
.wh-layout-compact .wh-layout-suggestions{position:relative;margin-top:4px;border:1px solid #d9beaa;border-radius:7px;max-height:150px;overflow-y:auto;background:white;box-shadow:0 4px 12px #68463312}
.wh-layout-compact .wh-layout-suggestions button{display:block;text-align:left;border:0;border-radius:0;width:100%;background:white;font-weight:400;white-space:normal;overflow-wrap:anywhere}
.wh-layout-compact .wh-layout-suggestions button:hover,.wh-layout-compact .wh-layout-suggestions button[aria-selected=true]{background:#f1e4d5}
.wh-layout-compact .wh-layout-suggestions p{font-size:12px;padding:8px;margin:0}
.wh-layout-compact .wh-layout-restore{font-size:11px;min-height:22px;padding:2px 0;background:none;border:0;color:#91765f}
.wh-layout-compact .wh-layout-footer{flex-shrink:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;margin:0;padding:12px 18px;border-top:1px solid #e7d9c9;background:#fffdfa}
.wh-layout-compact .wh-layout-footer .wh-layout-confirm-check{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:12px}
.wh-layout-compact .wh-layout-confirm-check input{width:16px;height:16px;min-height:0;margin:0}
.wh-layout-compact .wh-layout-buttons{display:flex;gap:8px;margin-left:auto}
.wh-layout-compact .wh-layout-footer .wh-error{flex-basis:100%;font-size:12px;margin:0;max-height:48px;overflow:auto}
@media(max-width:480px){.wh-dialog.wh-layout-compact{width:96vw;max-height:94dvh}.wh-layout-compact .wh-layout-scroll{padding:10px 12px}.wh-layout-compact .wh-layout-header,.wh-layout-compact .wh-layout-footer{padding:10px 12px}.wh-layout-compact .wh-layout-spec-fields{grid-template-columns:minmax(0,1fr)}.wh-layout-compact .wh-layout-header span{max-width:55%}}
