.compound-catalogue,.compound-workspace{min-width:0}.compound-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.compound-header h1,.compound-header h2{margin:0 0 8px}.compound-header p{margin:0;color:#627589}.compound-status{min-width:120px;color:#28786d;font-size:13px}.compound-status.is-error,.compound-preview.is-error{color:#a22e3d}.compound-layout{display:grid;grid-template-columns:210px minmax(300px,1fr) 245px;gap:18px;margin-top:24px}.compound-section-nav{display:flex;flex-direction:column;gap:8px;align-self:start}.compound-section-nav button{text-align:left;white-space:normal;min-height:42px}.compound-section-nav .is-active{background:#e5f3ef;border-color:#387c70;color:#1a5a4f}.compound-editor,.compound-fields,.compound-panel,.compound-section{border:1px solid #d8e2e7;border-radius:10px;background:#fff;padding:18px;min-width:0}.compound-title-row{display:flex;align-items:center;gap:12px}.compound-title-row .compound-field{flex:1}.compound-field{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#405870;min-width:0;margin:0}.compound-field input:not([type=checkbox]),.compound-field select,.compound-actions button{min-height:42px}.compound-check{display:flex;align-items:center;gap:7px;font-size:13px}.compound-code{font:13px/1.7 Consolas,monospace;resize:vertical;margin:12px 0}.compound-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:14px 0 0}.compound-hint{font-size:12px;color:#627589;margin:14px 0}.compound-preview{background:#f3f8f7;border-left:3px solid #43887b;border-radius:5px;padding:18px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;min-height:100px}.compound-used{font-size:12px;margin:12px 0}.compound-used>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:8px 0;border-bottom:1px solid #edf0f4}.compound-fields h3{margin:0 0 12px}.compound-field-list{max-height:650px;overflow:auto}.compound-field-list>div{margin:10px 0}.compound-field-list button{padding:5px 8px;min-height:32px;font-size:12px;white-space:normal;text-align:left}.compound-field-list code{display:block;font-size:11px;padding:3px;color:#6a7a89;overflow-wrap:anywhere}.compound-panel{margin-top:18px}.compound-panel summary,.compound-history summary{font-weight:600;cursor:pointer}.compound-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;align-items:end;margin-top:15px}.compound-form-grid>button{height:42px}.compound-custom-list{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.compound-custom-list>div{border:1px solid #dde5eb;border-radius:6px;padding:10px;font-size:12px}.compound-custom-list code{display:block}.compound-binding{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #dde5eb;padding:12px 0}.compound-binding p{margin:4px 0}.compound-history{margin:20px 0;font-size:13px}.compound-selection{display:grid;grid-template-columns:minmax(240px,1fr) minmax(200px,1fr);gap:20px;align-items:end}.compound-selection p{font-size:13px;color:#546d6c;margin-bottom:9px}.compound-section{margin:15px 0}.compound-section header{display:flex;gap:10px;align-items:center;justify-content:space-between}.compound-section h3{font-size:16px;margin:0}.compound-badge{font-size:11px;border-radius:12px;padding:5px 9px;background:#eff4f5;color:#536d78}.compound-resolved{line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0 0}.compound-warning{padding:12px;background:#fff6df;border:1px solid #efd7a0;border-radius:7px;margin:12px 0;font-size:13px}.compound-success{padding:16px;background:#eaf6ee;border:1px solid #aacfb6;border-radius:8px}.compound-section textarea{margin-top:12px}.compound-workspace input[type=checkbox]{height:26px;align-self:flex-start;accent-color:#317c6e}.compound-workspace .compound-panel{margin-bottom:18px}@media(max-width:1250px){.compound-layout{grid-template-columns:180px minmax(250px,1fr)}.compound-fields{grid-column:1/-1}.compound-field-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));max-height:250px;gap:8px}}@media(max-width:700px){.compound-header{flex-direction:column}.compound-layout{display:flex;flex-direction:column}.compound-section-nav{display:grid;grid-template-columns:1fr 1fr;width:100%}.compound-title-row{display:block}.compound-title-row code{display:block;margin-top:8px}.compound-selection{grid-template-columns:1fr;gap:7px}.compound-form-grid{grid-template-columns:1fr}.compound-section header{align-items:flex-start;flex-direction:column}.compound-used>div{grid-template-columns:1fr}.compound-workspace,.compound-editor{padding:14px}.compound-section-nav button{font-size:12px}.compound-binding{align-items:flex-start;flex-direction:column}}

.compound-mobile-section{display:none}@media(max-width:700px){.compound-mobile-section{display:flex;margin-top:15px}.compound-section-nav{display:none}.compound-field-list button{min-height:44px}}
