#custom-open{font-family:var(--mono);font-size:clamp(17px,1.4vw,22px);line-height:1.3;padding:12px;color:#e1ebd4;min-height:44px}
#custom-dialog{width:min(580px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:clamp(18px,3vw,30px);box-sizing:border-box}
#custom-dialog h2{margin:0;max-width:calc(100% - 50px);font-size:clamp(24px,3vw,34px)}
#custom-form label{display:block;margin:16px 0 8px;font-family:var(--mono);font-size:22px;color:#edf0d1}
#custom-dialog .search-field input{width:100%;box-sizing:border-box;min-height:50px;padding:12px 14px;font-size:clamp(20px,2vw,26px)}
#custom-dialog .suggestions{position:relative;top:auto;margin-top:5px;max-height:160px;overflow-y:auto;z-index:1}
#custom-status{font-size:20px;min-height:1.2em;line-height:1.3;margin:12px 0}
.custom-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.custom-actions .text-button{font-family:var(--mono);font-size:20px;min-height:44px}.custom-actions .primary{min-height:48px}
@media(max-width:420px){.custom-actions{flex-direction:column;align-items:stretch}.custom-actions>*{width:100%}#custom-dialog{max-height:calc(100dvh - 20px)}#custom-dialog .suggestions{max-height:120px}}
