.hc-template-form{display:grid;gap:14px;color:#183c34}.hc-template-form fieldset{border:1px solid #d4e3da;border-radius:12px;padding:14px;margin:0}.hc-template-form legend{font-weight:650;padding:0 7px}.hc-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.hc-template-field{display:flex;flex-direction:column;gap:6px;margin:5px 0}.hc-template-field span{font-weight:600}.hc-template-field input:not([type=checkbox]),.hc-template-field select,.hc-template-field textarea{box-sizing:border-box;width:100%;border:1px solid #b9cfc1;background:#fff;color:#183c34;border-radius:8px;padding:9px;font:inherit}.hc-template-field input[type=checkbox]{width:22px;height:22px;accent-color:#3a7a67}.hc-template-field textarea{resize:vertical;min-height:75px}.hc-template-field small,.hc-template-note{color:#56736b;font-size:13px;line-height:1.55}.hc-template-note{margin:0}.hc-template-actions{display:flex;flex-wrap:wrap;gap:10px}.hc-template-actions button{border:1px solid #b9cfc1;border-radius:8px;background:#eff5f2;color:#183c34;padding:8px 12px;cursor:pointer}.hc-template-actions button:disabled{opacity:.45;cursor:default}.hc-template-validation:not(:empty){background:#fff4e8;color:#884a1c;padding:10px;border-radius:8px;line-height:1.5}.hc-template-form :focus-visible{outline:3px solid #83bda6;outline-offset:2px}@media(max-width:600px){.hc-template-grid{grid-template-columns:1fr}.hc-template-form fieldset{padding:10px}}
.hc-template-form:is([data-template-name="comparison"],[data-template-name="bundle"]) .hc-commerce-photo{display:flex;align-items:center;gap:12px;margin:0 0 10px;min-width:0}.hc-template-form:is([data-template-name="comparison"],[data-template-name="bundle"]) .hc-commerce-photo img{width:92px;height:78px;object-fit:contain;border:1px solid #d7e2dc;border-radius:8px;background:#fff;flex:none}.hc-template-form:is([data-template-name="comparison"],[data-template-name="bundle"]) .hc-commerce-photo span{font-size:13px;overflow-wrap:anywhere}.hc-template-form[data-template-name="bundle"] .hc-commerce-summary{display:block;padding:12px;border:1px solid #d7e2dc;border-radius:8px;background:#f4f7f5;line-height:1.5;font-weight:600}
.hc-template-optional{border-top:1px solid #d4e3da;margin-top:8px;padding-top:8px}.hc-template-optional>summary{cursor:pointer;color:#56736b;font-size:13px;font-weight:600;padding:6px 0}.hc-template-optional[open]>summary{color:#183c34}.hc-template-optional-content{display:grid;gap:10px;padding:6px 0}.hc-template-optional:not([open])>.hc-template-optional-content{display:none}

.hc-template-optional{border:1px solid #d7e2dc;border-radius:9px;padding:0 12px;min-width:0}.hc-template-optional>summary{padding:11px 0;cursor:pointer;font-weight:600;color:#326550}.hc-template-optional-content{padding:0 0 10px;display:grid;gap:9px}.hc-template-optional-content>.hc-template-note{margin-top:0}.hc-template-size-summary{display:block;padding:10px 12px;border-radius:8px;background:#f4f7f5;font-weight:600}.hc-template-source-warning{margin:0 0 10px;color:#8a4b12;font-size:13px;line-height:1.6}.hc-template-bind-source{border:1px solid #8db6a0;border-radius:8px;background:#eff5f2;color:#183c34;padding:9px 12px;cursor:pointer;margin-bottom:9px}.hc-template-form .hc-template-grid>fieldset{min-width:0}.hc-template-form fieldset:has(.hc-template-bind-source){border-color:#d7ae7e}.hc-template-custom-size{padding:0 0 5px}
