.cd-dialog{width:min(1240px,96vw);max-width:96vw}.cd-workspace{min-width:0}.cd-hero{display:flex;justify-content:space-between;gap:24px;background:linear-gradient(115deg,#e4f7ef,#f4fbfa);border:1px solid #c9e9df;border-radius:16px;padding:24px;margin:0 0 24px}.cd-hero h3{font-size:24px;margin:8px 0;color:#07545a}.cd-hero p{max-width:750px;margin-bottom:0}.cd-versionbar{display:flex;align-items:end;gap:16px;margin-bottom:24px}.cd-versionbar label{flex:1}.cd-fields{border:0;padding:0;min-width:0;margin:0}.cd-fields:disabled input,.cd-fields:disabled select,.cd-fields:disabled textarea{opacity:1;color:#254654;background:#f5f9f9}.cd-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 16px}.cd-section-title h3{margin:0}.cd-section-title span{font-size:12px;color:#66818c}.cd-rule{border:1px solid #d6e6e6;border-radius:14px;margin:14px 0;padding:20px;background:#fff}.cd-rule-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.cd-rule-heading label{flex:1}.cd-number{display:grid;place-items:center;width:34px;height:34px;flex:none;background:#d9f3e9;border-radius:50%;color:#08756f;font-weight:700}.cd-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cd-rule-grid label{min-width:0}.cd-rule input,.cd-rule select{width:100%;box-sizing:border-box}.cd-preview{background:#f3faf8;border:1px solid #d2e9e2;border-radius:16px;padding:20px;margin-top:24px}.cd-preview .cd-section-title{margin-top:0}.cd-preview-controls{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.cd-preview-summary{display:flex;flex-wrap:wrap;gap:12px 28px;margin:20px 0}.cd-plan-scroll{max-height:360px;overflow:auto;border:1px solid #d6e6e6;border-radius:10px;background:white}.cd-plan-scroll thead{position:sticky;top:0;background:#eef7f4}.cd-history{margin:24px 0}.cd-history article{border-left:3px solid #36b49e;padding:8px 16px;margin-top:16px}.cd-workspace input,.cd-workspace select,.cd-workspace textarea{max-width:100%;box-sizing:border-box}.cd-workspace .form-footer{flex-wrap:wrap}.cd-workspace fieldset:disabled{opacity:1}@media(max-width:750px){.cd-dialog{width:96vw;padding:18px}.cd-hero{padding:18px;gap:12px}.cd-hero h3{font-size:20px}.cd-versionbar{align-items:stretch;flex-direction:column}.cd-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cd-preview-controls{grid-template-columns:1fr}.cd-section-title{align-items:start;flex-direction:column}.cd-rule{padding:14px}.cd-preview{padding:14px}}@media(max-width:440px){.cd-rule-grid{grid-template-columns:1fr}.cd-hero{flex-direction:column}.cd-workspace .form-footer>*{width:100%}}
.cd-fields{max-height:none;overflow:visible}.cd-hero>.gl-status{align-self:flex-start;white-space:nowrap}.cd-workspace .helper{overflow-wrap:anywhere}.cd-jump{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.cd-workspace .cd-fields,.cd-preview,.cd-history{scroll-margin-top:100px}#cd-asset-source{max-height:none;overflow:visible}
.cd-category{border:1px solid #d6e6e6;border-radius:12px;margin:12px 0;background:#fff}.cd-category>summary{cursor:pointer;padding:16px 18px;color:#07545a;font-weight:700;background:#f0f9f6;border-radius:12px;overflow-wrap:anywhere}.cd-category[open]>summary{border-bottom:1px solid #d6e6e6;border-radius:12px 12px 0 0}.cd-category .cd-rule{border:0;margin:0}
.cd-workspace .cd-invalid{border-color:#c8455d!important;box-shadow:0 0 0 2px #c8455d18}.cd-field-error{display:block;color:#b32d45;font-size:12px;line-height:1.5;margin-top:6px}.cd-validation-summary{padding:18px 22px;margin:18px 0;background:#fff3f3;border:1px solid #efb9c1;border-radius:14px;color:#872d3b}.cd-validation-summary ul{padding-left:20px;margin-bottom:0}.cd-validation-summary button{border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;text-decoration:underline;font:inherit;padding:5px 0}.cd-validation-summary button:focus-visible{outline:2px solid #b32d45;outline-offset:3px}
