/* Unified forms and compact seller tools; Noutech Duo colors stay unchanged. */
#publish-form,.seller-cabinet,#filters{--field-label-size:14px;--field-control-size:16px;--field-hint-size:12px;--field-gap:8px;--group-gap:16px}
#publish-form .form-field,#publish-form .field-label,.seller-cabinet .form-field,.seller-cabinet .seller-list-filters label,#filters .field-label{display:grid;gap:var(--field-gap);min-width:0;font-size:var(--field-label-size);font-weight:600;line-height:1.45}
#publish-form input:not([type=checkbox]):not([type=file]),#publish-form select,#publish-form textarea,.seller-cabinet input:not([type=checkbox]):not([type=file]):not([type=color]),.seller-cabinet select,.seller-cabinet textarea,#filters input:not([type=checkbox]),#filters select{width:100%;min-width:0;max-width:100%;min-height:44px;padding:10px 12px;border:1px solid #ccd9ed;border-radius:10px;background:#fff;color:#173353;font-family:inherit;font-size:var(--field-control-size);font-weight:400;line-height:1.4;box-sizing:border-box}
#publish-form textarea,.seller-cabinet textarea{resize:vertical;min-height:112px}
#publish-form .check,.seller-cabinet .check,#filters .check,#filters legend{font-size:14px;line-height:1.45}
#publish-form .check,#filters .check{min-height:40px;gap:9px;align-items:center}
#publish-form .check input,#filters input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#1d4ed8}
#publish-form .primary,#publish-form .secondary,.seller-cabinet .primary,.seller-cabinet .secondary,.seller-cabinet .cabinet-card-actions>button,.seller-cabinet .cabinet-card-actions>a,#filters .apply-filter{min-height:44px;padding:10px 14px;font-size:14px;font-weight:600;line-height:1.35;border-radius:10px;white-space:normal;text-align:center}
#publish-form .post-help,#publish-form .photo-heading p,#publish-form #photo-progress,.seller-cabinet .muted,.seller-cabinet .telegram-feedback,#filters .filter-help{font-size:var(--field-hint-size);line-height:1.5;color:#60748e}
#publish-form .post-help{margin:6px 0 0;font-weight:400}#publish-form .post-help:empty,#publish-form .form-error:empty,.seller-cabinet .telegram-feedback:empty,#filters .form-error:empty{display:none}
#publish-form .form-field:has(>.post-optional){position:relative}#publish-form .post-optional{position:absolute;right:0;top:1px;font-size:12px;font-weight:400;line-height:1.5;color:#6a7d96}
#publish-form .form-grid{gap:16px}#publish-form .post-section{margin-bottom:20px;padding-bottom:20px}#publish-form .post-section-heading{gap:8px;margin-bottom:14px}#publish-form .post-section-heading h3{font-size:17px;line-height:1.4}#publish-form .post-section-heading>span{width:24px;height:24px;font-size:12px}
#publish-form .post-quota{padding:10px 12px;margin-bottom:20px;font-size:13px;line-height:1.5}#publish-form .photo-heading{align-items:center;gap:8px}#publish-form .photo-heading>div{min-width:0}#publish-form .photo-heading p{margin:0}#publish-form .photo-picker{padding:18px 12px;margin:12px 0;gap:5px}#publish-form .photo-picker strong{font-size:15px;font-weight:600}#publish-form .photo-picker span{font-size:12px}#publish-form .photo-grid{gap:10px;margin-top:12px}
#publish-form .post-submit-bar{gap:8px;padding:12px 20px}#publish-form .post-submit-bar>span{font-size:12px;line-height:1.4}#publish-form .post-price-grid{grid-template-columns:minmax(0,1fr) 120px;gap:12px}
.seller-cabinet .seller-identity{padding:12px 0}.seller-cabinet .seller-tabs{margin-bottom:16px}.seller-cabinet .seller-tabs button{font-size:14px;min-height:44px}.seller-cabinet .seller-section-heading{margin-bottom:14px;gap:12px}.seller-cabinet .seller-section-heading h3,.seller-cabinet .profile-grid h3{font-size:18px;line-height:1.4;margin-bottom:8px}.seller-cabinet .seller-section-heading .primary{flex-shrink:0}.seller-cabinet .seller-status-counts{margin-bottom:12px;gap:8px}.seller-cabinet .seller-status-counts>button{padding:10px}.seller-cabinet .seller-status-counts strong{font-size:24px}.seller-cabinet .seller-status-counts span{font-size:12px}.seller-cabinet .seller-quota{padding:10px 12px;margin-bottom:16px;font-size:13px;line-height:1.5}.seller-cabinet .seller-quota p{font-size:12px;line-height:1.5}.seller-cabinet .seller-results-row button{font-size:13px;min-height:44px}.seller-cabinet .seller-list-filters{gap:12px}.seller-cabinet .cabinet-card{padding:14px}.seller-cabinet .cabinet-card-actions{gap:8px;margin-top:12px}.seller-cabinet .cabinet-card-actions>button,.seller-cabinet .cabinet-card-actions>a{padding:9px 10px;font-size:13px}.seller-cabinet .cabinet-card-copy h3{font-size:16px;line-height:1.45}.seller-cabinet .editor-section{padding:16px;margin-bottom:12px}.seller-cabinet .store-editor .form-field{margin-bottom:14px;font-size:14px}.seller-cabinet .editor-extra>summary,.seller-cabinet .telegram-how>summary{font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;min-height:32px}.seller-cabinet .telegram-how>summary{min-height:44px;display:list-item;padding:10px 0}.seller-cabinet .telegram-how{padding:2px 14px}.seller-cabinet .telegram-how[open]{padding-bottom:14px}.seller-cabinet .telegram-how p{font-size:13px;line-height:1.55}.seller-cabinet .store-editor-actions>span:empty{display:none}.seller-cabinet .profile-grid .notice{font-size:13px;line-height:1.55}.seller-cabinet .cabinet-empty h3{font-size:16px}.seller-cabinet .cabinet-empty p{font-size:13px;line-height:1.55}
#filters .filter-body{display:block;padding:16px 20px;scroll-padding:16px}#filters .filter-body>.field-label,#filters .filter-body>fieldset,#filters #category-attributes>.field-label{margin:0 0 18px}#filters .filter-body>fieldset{padding:0;border:0}#filters legend{font-weight:600;margin-bottom:8px}#filters .price-fields{gap:8px;margin-top:10px}#filters .price-fields>span{color:#8a99ad}#filters .filter-heading{min-height:60px;padding:10px 20px}#filters .filter-heading h3{font-size:18px}#filters .filter-heading button{min-height:44px}#filters .filter-footer{padding:12px 20px}#filters .apply-filter{width:100%;margin:0}#filters .filter-extra{border-top:1px solid #e0e7f3;padding-top:6px;margin-top:4px}#filters .filter-extra>summary{cursor:pointer;min-height:44px;line-height:1.5;font-size:14px;font-weight:600;padding:10px 0;color:#244c88}#filters #filter-extra-count{font-size:12px;font-weight:400}#filters .filter-extra-body{padding:10px 0 0}#filters .filter-extra-body>.field-label{margin-bottom:16px}#filters .filter-extra-body>fieldset{padding:0;border:0;margin:0}
@media(max-width:760px){
 #modal.post-dialog .modal-header,#modal.cabinet-dialog .modal-header{padding:10px 16px}#modal.post-dialog .modal-header h2,#modal.cabinet-dialog .modal-header h2{font-size:18px}
 #publish-form .post-body{padding:16px;scroll-padding:16px}#publish-form .post-section{margin-bottom:18px;padding-bottom:18px}#publish-form .post-section-heading{margin-bottom:12px}#publish-form .post-section-heading h3{font-size:16px}#publish-form .form-grid{gap:14px}#publish-form .post-checks{gap:8px;margin-top:12px}#publish-form .post-submit-bar{padding:10px 16px max(10px,env(safe-area-inset-bottom));gap:6px}#publish-form .post-submit-bar .primary{font-size:14px;min-height:44px}#publish-form .post-submit-bar>span{font-size:12px}#publish-form .photo-tile>img{height:118px}#publish-form .photo-cover{min-height:44px;font-size:12px}
 #modal.cabinet-dialog #modal-content{padding-inline:16px}.seller-cabinet .seller-section-heading h3{font-size:17px}.seller-cabinet .seller-list-filters{gap:12px}.seller-cabinet .cabinet-card{padding:12px}.seller-cabinet .cabinet-card-copy h3{font-size:15px}.seller-cabinet .cabinet-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.seller-cabinet .cabinet-card-actions>*{min-width:0}.seller-cabinet .cabinet-card-actions>.channel-stock-help{grid-column:1/-1}.seller-cabinet .editor-section{padding:14px}.seller-cabinet .seller-identity-copy p{font-size:12px;overflow-wrap:anywhere}.seller-cabinet .seller-quota{font-size:12px}
 #filters .filter-body{padding:14px 16px}#filters .filter-body>.field-label,#filters .filter-body>fieldset,#filters #category-attributes>.field-label{margin-bottom:16px}#filters .filter-heading{padding:8px 16px}#filters .filter-footer{padding:10px 16px max(10px,env(safe-area-inset-bottom))}#filters .field-label,#filters legend,#filters .check{font-size:14px}
}
#publish-form [hidden],.seller-cabinet [hidden],#filters [hidden]{display:none!important}
#publish-form #post-category-picker{margin-bottom:14px}

.post-telegram-toggle{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f1f6ff;border:1px solid #d8e4ff;border-radius:14px;cursor:pointer}.post-telegram-toggle input[type=checkbox]{width:22px!important;height:22px!important;min-height:22px!important;flex:0 0 22px;margin:2px 0;accent-color:#1e49e8}.post-telegram-toggle span{display:grid;gap:6px;min-width:0}.post-telegram-toggle strong{font-size:15px;line-height:1.4}.post-telegram-toggle small{font-size:13px;color:#607596;line-height:1.5}.post-telegram-section [data-telegram-channel-field]{margin-top:14px}.post-telegram-section [hidden]{display:none!important}
.post-draft-controls:not([hidden]){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin:0 0 12px;padding:8px 12px;border:1px solid #dce6f8;border-radius:10px;background:#f7faff;color:#405779;font-size:13px}
.post-draft-controls .secondary{min-height:34px;padding:5px 9px;font-size:13px}
.post-discount-field{grid-column:1/-1}
.post-discount-field .form-field{margin-top:10px}
.post-discount-field [hidden]{display:none!important}
#publish-form .post-title-field{margin-bottom:14px}
#publish-form .post-category-suggestion:not([hidden]){
 display:flex;align-items:center;justify-content:space-between;gap:10px 16px;
 margin:0 0 14px;padding:10px 12px;border:1px solid #d8e4ff;border-radius:12px;background:#f1f6ff;
}
#publish-form .post-category-copy{min-width:0;overflow-wrap:anywhere}
#publish-form .post-category-caption,#publish-form .post-category-copy small{display:block;font-size:12px;line-height:1.45;color:#536985}
#publish-form .post-category-copy strong{display:block;margin:2px 0;font-size:14px;line-height:1.35;color:#173c99}
#publish-form .post-category-suggestion .secondary{flex:0 0 auto;max-width:48%;min-height:44px;padding:6px 10px;white-space:normal;font-size:12px;text-align:center;line-height:1.35}
