*{scrollbar-width:none;-ms-overflow-style:none}
*::-webkit-scrollbar{display:none;width:0;height:0}
dialog.user-product-price-dialog{box-sizing:border-box;width:940px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border:1px solid #e5e9ee;border-radius:8px;padding:20px;color:#17212e}
.user-price-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.user-price-heading h2{font-size:17px;line-height:24px;margin:0;overflow-wrap:anywhere}
.user-product-price-dialog button{border:1px solid #e2e7ed;border-radius:6px;background:#fff;color:#34465a;min-height:36px;padding:6px 12px;cursor:pointer}
.user-price-query{display:flex;align-items:end;gap:10px;margin-top:18px}
.user-price-query label{display:grid;gap:6px;font-size:13px;min-width:0;flex:1}
.user-product-price-dialog input{box-sizing:border-box;width:100%;min-width:0;padding:9px 10px;border:1px solid #e2e7ed;border-radius:6px;font:inherit}
.user-product-price-dialog p{font-size:13px;color:#64748b;overflow-wrap:anywhere}
.user-price-table{max-height:480px;overflow:auto;min-width:0}
.user-price-table table{width:100%;min-width:570px;border-collapse:collapse;font-size:13px}
.user-price-table :is(th,td){padding:10px;text-align:left;border-bottom:1px solid #e7ebef}
.user-price-table th{position:sticky;top:0;background:#f7f8fa;font-weight:600;white-space:nowrap}
.user-price-table small{display:block;margin-top:4px;color:#7a8797;overflow-wrap:anywhere}
.user-price-table [data-cost-edit]{display:block;margin-top:6px;min-height:32px;padding:4px 6px;font-size:12px}
dialog.user-cost-dialog{width:480px}
.user-cost-dialog h2{font-size:17px;margin:0}
.user-cost-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:14px}
.user-cost-dialog [type=submit]{background:#ff9500;color:#fff;border-color:#ff9500}
@media(max-width:600px){dialog.user-product-price-dialog{padding:14px}.user-price-heading h2{font-size:15px}.user-price-table table{min-width:0;table-layout:fixed;font-size:12px}.user-price-table :is(th,td){padding:8px 5px;overflow-wrap:anywhere}.user-price-table th{white-space:normal;width:22%}.user-price-table th:first-child{width:34%}}
.settings-card-head.settings-record-heading,.panel-head.settings-record-heading{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.settings-record-heading .add-row-btn{width:auto;min-width:88px;margin:0 0 0 auto;min-height:36px;padding:7px 14px;font-size:14px;border-radius:6px;flex:none}
[data-panel=settings] .settings-config-section{min-width:0;display:grid;gap:12px;margin:0;padding:0 0 18px;border-bottom:1px solid #e7ebef}
[data-panel=settings] .settings-config-section h3,[data-panel=settings] .settings-record-heading h3{font-size:15px;line-height:22px;margin:0}
#groupMessageSettings .settings-form-grid{gap:10px 16px}
#groupMessageSettings .structured-check,[data-settings-panel=agent]>.structured-check{min-height:40px;padding:8px 12px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;flex-direction:row}
[data-panel=settings] details.settings-group-moderation{display:block;padding-bottom:12px}
.settings-group-moderation summary{font-size:15px;font-weight:600;line-height:22px;cursor:pointer;padding:0 0 8px}
.settings-group-moderation[open] summary{margin-bottom:8px}
#groupMessageSettings .settings-keyword-field{grid-column:1/-1}
#groupMessageSettings .settings-keyword-field textarea{min-height:76px;height:76px;resize:vertical}
#vipInviteTiers .vip-invite-tier{display:block;padding:10px 12px;border:1px solid #e7ebef}
#vipInviteTiers .structured-row-head{margin:0}
#addVipInviteTier{width:auto;min-height:36px;padding:7px 14px;font-size:14px;border:1px solid #ffca8a;border-radius:6px;background:#fff;color:#975500}
.hero-product-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px;align-items:end}
.hero-product-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#627286;font-size:13px}
[data-panel=heroSms] .hero-product-filters :is(input,select){min-width:0;width:100%;height:40px;box-sizing:border-box}
#heroSingleSync{margin:0 0 12px;color:#536578;font-size:14px}#heroSingleSync summary{cursor:pointer;padding:8px 0}
#heroFilterNotice{color:#b43131;font-size:14px;overflow-wrap:anywhere}
@media(max-width:700px){.hero-product-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
.compact-settings-records{min-width:0;max-width:100%;width:100%}
.compact-settings-records .structured-list{display:flex;flex-direction:column;gap:8px;min-width:0;max-width:100%}
.compact-settings-records .structured-row{box-sizing:border-box;width:100%;padding:10px 12px;min-width:0;border-radius:8px}
#settingContactsEditor.compact-settings-records .structured-row,#settingCryptoChannelsEditor.compact-settings-records .structured-row{display:block}
#settingContactsEditor.compact-settings-records .structured-row-head,#settingCryptoChannelsEditor.compact-settings-records .structured-row-head{flex-direction:row;align-items:center}
.compact-settings-records .structured-row-head{display:flex;align-items:center;gap:12px;margin:0;min-width:0}
.compact-settings-records .structured-fields[hidden]{display:none!important}
.settings-record-summary{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.settings-record-summary strong,.settings-record-summary span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:20px}
.settings-record-summary span{color:#67778b;font-size:12px}
.compact-settings-records .row-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.compact-settings-records button:not(.add-row-btn){min-height:32px;padding:5px 10px;font-size:13px}
.settings-record-toggle{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}
.compact-settings-records .row-actions .settings-record-toggle{display:flex;flex-direction:row;align-items:center;gap:6px;margin:0}
.compact-settings-records .row-actions .settings-record-toggle input{width:16px;height:16px;margin:0;flex:none;accent-color:#ff9800}
.compact-settings-records .structured-row-head button[data-record-edit]{color:#42556b}
dialog.settings-record-dialog{box-sizing:border-box;width:640px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);padding:20px;border:1px solid #e4e7eb;border-radius:8px;overflow:auto;color:#15202b;background:#fff}
.settings-record-dialog::backdrop{background:rgba(15,23,42,.4)}
.settings-record-dialog form{margin:0;display:flex;flex-direction:column;gap:18px}
.settings-record-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.settings-record-dialog-head h2{font-size:18px;margin:0}
.settings-record-dialog-head button{width:32px;height:32px;padding:0;font-size:24px}
.settings-record-dialog .structured-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.settings-record-dialog :is(input:not([type=checkbox]),textarea,select){box-sizing:border-box;width:100%;min-width:0}
.settings-record-dialog textarea{min-height:100px;max-height:260px;resize:vertical}
.settings-record-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px}
.settings-record-dialog button{border:1px solid #e4e7eb;border-radius:6px;min-height:36px;padding:6px 14px;background:#fff;color:#243346;font:inherit;cursor:pointer}
.settings-record-dialog button.primary{border-color:#ff9800;background:#ff9800;color:#fff}
.settings-record-dialog .structured-row-head[hidden]{display:none!important}
.compact-settings-records .settings-record-dialog .structured-fields:not([hidden]){display:grid}
.compact-settings-records .settings-record-dialog .structured-row{padding:0;border:0;background:transparent}
@media(max-width:600px){.compact-settings-records .structured-row-head{flex-wrap:wrap;gap:8px}.compact-settings-records .settings-record-summary{flex-basis:100%}.compact-settings-records .row-actions{flex-wrap:wrap}dialog.settings-record-dialog{padding:16px}.settings-record-dialog .structured-fields{grid-template-columns:minmax(0,1fr)}}
