.ht-box{margin:12px 0;}
.ht-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;width:100%;}
.ht-row > select,.ht-row > .select-wrapper,.ht-row > .select2-container{flex:0 1 auto;margin:0 !important;}
.ht-row .ht-box{margin:0;display:flex;flex-wrap:wrap;align-items:center;flex:0 0 auto;}
.ht-row .ht-box .ht-msg{flex:0 0 100%;}
.ht-row .ht-cbwrap{margin:0;white-space:nowrap;}
.ht-cbwrap{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;margin:8px 0;}
.ht-cbwrap input.ht-cb{appearance:checkbox !important;-webkit-appearance:checkbox !important;display:inline-block !important;opacity:1 !important;visibility:visible !important;position:static !important;width:18px !important;height:18px !important;margin:0 !important;cursor:pointer;}
.ht-cbwrap input.ht-cb:disabled{cursor:not-allowed;opacity:.5 !important;}
.ht-msg{font-size:13px;margin-top:4px;}
.ht-msg.ht-err{color:#c0392b;}
.ht-msg.ht-ok{color:#1e8449;}
@media (max-width:420px){.ht-row{flex-direction:column;align-items:flex-start;}}
#ht-bar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:99998;background:#222;color:#fff;padding:12px 16px;align-items:center;justify-content:center;gap:16px;box-shadow:0 -2px 10px rgba(0,0,0,.3);}
#ht-bar button{background:#fff;color:#222;border:0;padding:8px 16px;font-weight:700;cursor:pointer;border-radius:3px;}
body.ht-has-bar{padding-bottom:64px;}
#ht-overlay{display:none;position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.6);align-items:center;justify-content:center;padding:12px;}
#ht-modal{position:relative;background:#fff;color:#222;width:100%;max-width:560px;max-height:90vh;overflow:auto;padding:24px;border-radius:6px;}
#ht-close{position:absolute;top:6px;right:12px;background:none;border:0;font-size:28px;cursor:pointer;line-height:1;}
.ht-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eee;padding:10px 0;}
.ht-item img{width:60px;height:60px;object-fit:cover;border-radius:3px;}
.ht-info{flex:1;font-size:14px;}
.ht-rm{background:none;border:1px solid #c0392b;color:#c0392b;padding:4px 10px;cursor:pointer;border-radius:3px;}
.ht-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px;}
.ht-form label{display:block;margin-bottom:10px;font-weight:600;font-size:14px;}
.ht-form input,.ht-form textarea,.ht-form select{display:block;width:100%;margin-top:4px;}
.ht-form .ht-hp{position:absolute !important;left:-9999px !important;height:0;width:0;opacity:0;}
