/* Demo only: compact sections, full existing controls retained. */
.demo-v118 .demo-edit-heading{font-size:24px;margin:0 0 12px;text-align:left}
.demo-v118 .demo-editor-intro{font-size:13px;line-height:1.5;margin-bottom:16px}
.demo-v118 .demo-controls{gap:10px}
.demo-v118 .demo-section{border:1px solid #e5d8cb;border-radius:18px;background:#fffdf9;overflow:hidden}
.demo-v118 .demo-section summary{display:grid;grid-template-columns:38px minmax(0,1fr);gap:5px 12px;align-items:center;position:relative;padding:18px 38px 18px 18px;list-style:none;cursor:pointer;min-height:80px;box-sizing:border-box}
.demo-v118 .demo-section summary::-webkit-details-marker{display:none}
.demo-v118 .demo-section summary:after{content:'+';position:absolute;right:15px;top:22px;font-size:20px;font-weight:400}
.demo-v118 .demo-section[open] summary:after{content:'−'}
.demo-v118 .demo-section summary small{font-size:12px;font-weight:400;color:#81766b;overflow-wrap:anywhere;line-height:1.4;margin:0;grid-column:2;min-width:0}
.demo-v118 .demo-section-body{padding:16px;border-top:1px solid #eadbcf;gap:12px}
.demo-v118 .demo-location-group{gap:10px}
.demo-v118 .demo-location-group+.demo-location-group{padding-top:14px}
.demo-v118 .demo-section-body label{margin:0}
.demo-share{margin-top:15px}.demo-share .button{width:100%;box-sizing:border-box;color:#3e674e;border-color:#b6c5b6;background:transparent;min-height:44px}
.demo-share .helper{font-size:12px;margin:7px 0 0}

.demo-v118 .demo-controls .sf-font-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Give the link a real layout box: inline padding otherwise overlaps its caption. */
.demo-v118 .demo-save-top .demo-share{display:grid;gap:9px;margin:18px auto 0;max-width:360px;width:100%}
.demo-v118 .demo-save-top #demoShare{display:flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;width:100%;max-width:none;min-height:50px;padding:12px 18px;margin:0;border:1px solid #aebfac;border-radius:999px;color:#3e674e;background:#f7faf4;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none}
.demo-v118 .demo-save-top #demoShare svg{width:20px;height:20px;flex:0 0 20px}
.demo-v118 .demo-save-top #demoShare span{min-width:0;overflow-wrap:anywhere}
.demo-v118 .demo-save-top .demo-share .helper{margin:0;max-width:none;font-size:12px;line-height:1.5;padding:0 8px}
.demo-v118 .demo-save-top #demoShare:hover{background:#edf3e9;border-color:#789472}
.demo-v118 .demo-save-top #demoShare:focus-visible{outline:2px solid #3e674e;outline-offset:3px}

.demo-v118 .demo-controls .demo-location-toggle{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:14px;line-height:1.5}
.demo-v118 .demo-controls .demo-location-toggle input{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;accent-color:#805344}

.demo-v118 .demo-section-title{grid-column:2;grid-row:1;font-size:15px;line-height:1.4;min-width:0}
.demo-v118 .demo-section-icon{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f1e7dc;color:#9b795d}
.demo-v118 .demo-section-icon svg{width:21px;height:21px}
.demo-v118 .demo-section:nth-of-type(2) .demo-section-icon{background:#edf1e9;color:#859573}
.demo-v118 .demo-section:nth-of-type(3) .demo-section-icon{background:#f5e9e4;color:#aa7f6d}
.demo-v118 .demo-section:nth-of-type(4) .demo-section-icon{background:#eaf0f1;color:#7d969d}
.demo-v118 .demo-section summary:focus-visible{outline:2px solid #94654f;outline-offset:-4px}
.demo-v118 .demo-section[open]{border-color:#c9ad94}
.demo-v118 .demo-section-body :is(input:not([type=checkbox]):not([type=range]),textarea,select){font-size:16px;max-width:100%;box-sizing:border-box}
@media(max-width:700px){.demo-v118 .demo-section summary{grid-template-columns:32px minmax(0,1fr);gap:5px 9px;padding:16px 34px 16px 14px}.demo-v118 .demo-section-icon{width:32px;height:32px;border-radius:10px}.demo-v118 .demo-section-icon svg{width:19px;height:19px}.demo-v118 .demo-section-title{font-size:14px}}
