.shared-template-library161 .statusline{margin-bottom:8px;align-items:center}
.shared-template-library161 .statusline .actions{flex-wrap:wrap;width:auto}
.shared-hint161{margin:0 0 18px;color:#74849a;font-size:12px;line-height:1.7}
.shared-template-library161 .template-tabs15{margin:14px 0 8px;flex-wrap:wrap}
.shared-template-library161 .template-choices56{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e8edf4}
.shared-template-library161 .template-choice59{margin:0}
.shared-template-library161 .template-choice59 [data-template-choice56]{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.shared-template-library161 #template-add154{background:#fff;color:#2c75db;border-color:#dbe6f5}
.shared-editor161 .shared-legacy-field161{display:none!important}
.shared-editor161 #template-name-field40[hidden]{display:none}
.shared-editor161 .template-top15{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.shared-editor161 .template-top15 #template-name-field40{flex:1;min-width:180px}
.shared-editor161 .template-top15>[type=submit]{flex:none;width:auto;margin-left:auto;min-width:100px}
.shared-editor161 .shared-editor-state161{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:100%}
.shared-editor161 #template-sync16{margin:0;font-size:12px;max-width:460px}
.shared-editor161 #template-latest16{padding:7px 10px}
.shared-editor161 #template-latest16[hidden]{display:none}
.shared-editor161 .template-subject15{margin:0 0 16px}
.shared-editor161 .template-columns15{display:block}
.shared-editor161 .template-columns15>.field{margin:0}
.shared-editor161 .rich-editor45{min-height:320px}
.shared-editor161 input,.shared-editor161 select,.shared-editor161 textarea{max-width:100%}
.shared-editor161 details>summary{cursor:pointer;font-size:13px;font-weight:600;color:#395472;overflow-wrap:anywhere}
.shared-editor161 details>summary:focus-visible{outline:2px solid #a7c8fa;outline-offset:4px;border-radius:3px}
.shared-offers161{padding:12px 14px;border:1px solid #e2e8f1;border-radius:8px;margin:16px 0;background:#fbfcfe}
.shared-offers161>summary{display:list-item}
.shared-offer-summary161{display:inline-block;margin-left:12px;color:#7a879b;font-weight:400;font-size:12px}
.shared-offers161[data-incomplete161=true] .shared-offer-summary161{color:#9a6928}
.shared-offers161>p{margin:12px 0}
.shared-offers-grid161{display:grid;gap:12px}
.shared-offer-row161{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(120px,1fr) minmax(200px,2fr);gap:12px;align-items:center}
.shared-offer-row161 strong{overflow-wrap:anywhere}
.shared-offer-row161 .field{margin:0}
.shared-offer-row161 input[readonly]{background:#f3f5f8;color:#536174}
.shared-editor-tools161{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;margin:14px 0 0;min-width:0}
.shared-editor-tools161>details{min-width:0;max-width:100%;padding:10px 12px;border:1px solid #e2e8f1;border-radius:7px;background:#fff;margin:0}
.shared-editor-tools161>details[open]{flex-basis:100%}
.shared-editor-tools161>details[open]>summary{margin-bottom:12px}
.shared-editor161 #template-variables15{margin:0}
.shared-variables161 .variable-groups16{margin-top:12px}
.shared-variables161 [data-insert-shared161]{margin:0 0 10px}
.shared-variables161 [data-insert-shared161][hidden]{display:none}
.shared-more161 .actions{flex-wrap:wrap;margin:0 0 12px}
.shared-more161 .mail-tools18{margin:0 0 12px}
.shared-more161 .template-preview15{display:block;padding:14px;margin:10px 0;background:#fafcff}
.shared-more161 .template-preview15 pre{margin:0;padding:0;line-height:1.7}
.shared-more161>.muted{margin-bottom:0}
#new-template-form40.shared-editor161 .form-grid{margin-bottom:16px}
#new-template-form40.shared-editor161>.field{margin-bottom:16px}
#new-template-form40.shared-editor161 .shared-editor-tools161{margin-bottom:16px}
#new-template-form40.shared-editor161 .variable-groups16{max-height:350px;margin-bottom:0}
#shared-material-detail161 pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto}
#shared-test-context161 .actions{margin-top:12px}
@media(max-width:760px){
 .shared-template-library161 .statusline{display:flex;align-items:flex-start;gap:10px}
 .shared-template-library161 .statusline .actions{margin:0}
 .shared-template-library161 .statusline .actions button{padding:8px 10px}
 .shared-template-library161 .template-tabs15 button{flex:1 1 calc(50% - 8px);min-height:42px}
 .shared-template-library161 .template-choices56{gap:6px}
 .shared-template-library161 .template-choice59{max-width:100%}
 .shared-editor161 .template-top15{align-items:center;gap:10px}
 .shared-editor161 .template-top15 #template-name-field40{min-width:0;flex-basis:100%}
 .shared-editor161 .template-top15>[type=submit]{min-height:44px}
 .shared-editor161 .shared-editor-state161{flex:1;min-width:0}
 .shared-editor161 #template-sync16{font-size:12px}
 .shared-editor161 .rich-editor45{min-height:280px}
 .shared-offer-row161{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 0;border-top:1px solid #e8edf4}
 .shared-offer-row161 input{width:100%}
 .shared-offer-summary161{margin-left:8px}
 .shared-editor-tools161>details{padding:10px}
 .shared-editor-tools161>details>summary{min-height:24px;line-height:24px}
 .shared-variables161 .variable-groups16{grid-template-columns:minmax(0,1fr)}
 .shared-more161 .actions button,.shared-more161 .mail-tools18 button{min-height:44px}
}

.shared-recommendation166{display:inline-block;padding:4px 8px;border-radius:5px;background:#edf4ff;color:#3569ac;font-size:12px;white-space:nowrap}.shared-recommendation166[hidden]{display:none}
