
.homepage-section{width:100%;scroll-margin-top:18px}.homepage-section>.wrap{padding-block:30px}.homepage-section.section-spacing-compact>.wrap{padding-block:18px}.homepage-section.section-spacing-roomy>.wrap{padding-block:50px}.homepage-section.section-spacing-compact>.landing-section{padding-block:18px}.homepage-section.section-spacing-roomy>.landing-section{padding-block:50px}
.landing-preview .homepage-section.section-tone-light,.landing-preview .homepage-section.section-tone-light>.landing-section{background:#fff;color:#101e40;--ink:#101e40;--landing-muted:#526783;--landing-card:#fff;--landing-border:#dce9f6}
.landing-preview .homepage-section.section-tone-soft,.landing-preview .homepage-section.section-tone-soft>.landing-section{background:#eaf4ff;color:#101e40;--ink:#101e40;--landing-muted:#526783;--landing-card:#fff;--landing-border:#dce9f6}
.landing-preview .homepage-section.section-tone-dark,.landing-preview .homepage-section.section-tone-dark>.landing-section{background:#0e253b;color:#eff5ff;--ink:#eff5ff;--landing-muted:#b0c3d8;--landing-card:#102236;--landing-border:#27415a}
html[data-ui-theme=dark] .landing-preview .homepage-section.section-tone-light,html[data-ui-theme=dark] .landing-preview .homepage-section.section-tone-light>.landing-section{background:#091b2c;color:#eff5ff;--ink:#eff5ff;--landing-muted:#b0c3d8;--landing-card:#102236;--landing-border:#27415a}
html[data-ui-theme=dark] .landing-preview .homepage-section.section-tone-soft,html[data-ui-theme=dark] .landing-preview .homepage-section.section-tone-soft>.landing-section{background:#0e253b;color:#eff5ff;--ink:#eff5ff;--landing-muted:#b0c3d8;--landing-card:#102236;--landing-border:#27415a}
.landing-preview [data-home-widget=profile-card]{width:100%;min-width:0}.landing-preview [data-home-widget=profile-card] .home-profile-card{margin-left:auto}.homepage-section img{max-width:100%}
.sections-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:23px 0}.sections-toolbar label{font-size:12px;font-weight:600}.sections-toolbar select{max-width:180px}.sections-toolbar #sections-status{margin-right:auto;font-size:12px;color:var(--muted)}
.sections-workspace{display:grid;grid-template-columns:235px minmax(0,1fr);gap:18px;align-items:start;margin-bottom:30px}.sections-workspace>*{min-width:0}.sections-sidebar{padding:17px;position:sticky;top:20px}.sections-sidebar h2{font-size:19px}.sections-sidebar ol{list-style:none;padding:0;margin:15px 0}.section-row{border:1px solid var(--line);border-radius:7px;margin:8px 0;padding:9px}.section-row.selected{border-color:var(--accent);background:#eef6ff}.section-row-select{display:block;text-align:left;width:100%;font-size:12px;font-weight:600;padding:3px 0;overflow-wrap:anywhere}.section-row-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:7px}.section-row-actions button{font-size:11px}.section-row-actions input{width:16px;height:16px}.sections-sidebar>button{margin:8px 0;font-size:12px;display:block;width:100%;text-align:left}.sections-sidebar>p{font-size:11px;margin-top:14px}.sections-inspector{padding:20px;min-width:0}.section-property-grid{display:grid;grid-template-columns:2fr 1.3fr 1fr;gap:12px}.section-property{display:grid;gap:7px;font-size:12px;font-weight:600;margin-bottom:16px}.section-property input,.section-property select{min-width:0}.sections-mode{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0 14px}.sections-mode .button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#eaf4ff}.sections-mode label{margin-left:auto;display:flex;gap:8px;align-items:center;font-size:11px}.sections-mode select{padding:7px!important;width:90px!important;font-size:12px!important}.section-edit-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px;background:#f2f7fd;border:1px solid var(--line);border-radius:8px}.section-edit-toolbar select{width:auto!important;padding:7px!important;font-size:11px!important;max-width:150px;min-height:34px}.section-edit-toolbar .button{min-height:32px;padding:7px 10px;font-size:11px;border-radius:5px}.section-colour{display:flex;align-items:center;gap:6px;font-size:10px}.section-colour input[type=color]{width:32px!important;height:31px;padding:2px!important}.section-editor-frame{display:block;width:100%;height:550px;border:1px solid var(--line);border-radius:8px;background:#fff;margin-top:12px}.section-edit-toolbar[hidden],.section-editor-frame[hidden],.section-html-source[hidden],.section-image-controls[hidden],#sections-content-controls[hidden]{display:none}.section-html-source{min-height:550px;font:12px/1.65 Consolas,monospace!important;tab-size:2;margin-top:12px}.section-image-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;border:1px solid var(--line);border-radius:7px;padding:15px;margin-top:15px}.section-image-controls legend{font-size:13px;font-weight:600}.section-image-controls label{display:grid;gap:5px;font-size:11px;max-width:200px}.section-image-controls input[type=number]{width:90px!important}.section-image-controls select{max-width:230px}.section-image-controls .button{font-size:11px}.sections-recovery{margin-bottom:15px}.sections-recovery .button{margin-top:10px}.sections-history-row{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.sections-history-row .button{font-size:11px}
#sections-prompt input{width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;margin:10px 0}#sections-prompt .button,#sections-confirm .button{margin:15px 10px 0 0}
body.section-editor{padding:10px;min-height:100vh}.section-editor .homepage-section{outline:0}.section-editor .homepage-section>.landing-hero{min-height:350px}.section-editor .editor-selected{outline:3px solid #087cff;outline-offset:2px}.section-editor [data-editor-token]{outline:1px dashed #6986a8;border-radius:3px;cursor:default}.section-editor .editor-live-widget{outline:1px dashed #6986a8;outline-offset:2px;cursor:default}.section-editor .editor-live-widget a{pointer-events:none}.section-editor .new-header{display:none}.section-editor [contenteditable=false]{user-select:none}
html[data-ui-theme=dark] .section-row.selected,html[data-ui-theme=dark] .section-edit-toolbar{background:#132b42}html[data-ui-theme=dark] .sections-mode .button[aria-pressed=true]{background:#173b5e;color:#80c5ff}html[data-ui-theme=dark] .section-editor-frame{background:#091b2c}
@media(max-width:1150px){.sections-workspace{grid-template-columns:205px minmax(0,1fr)}.section-property-grid{grid-template-columns:1fr 1fr}.section-property-grid>.section-property:first-child{grid-column:1/-1}.sections-inspector{padding:16px}}
@media(max-width:750px){.sections-workspace{grid-template-columns:minmax(0,1fr)}.sections-sidebar{position:static}.sections-sidebar ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.section-row{margin:0}.sections-sidebar>button{width:auto;display:inline-block;margin-right:12px}.sections-toolbar{padding:15px;gap:9px}.sections-toolbar .button{font-size:11px;min-height:35px;padding:9px 12px}.sections-toolbar #sections-status{flex-basis:100%;order:5}.sections-mode label{margin-left:0}.section-editor-frame,.section-html-source{height:450px;min-height:450px}.section-image-controls{gap:10px}.sections-history-row{flex-wrap:wrap}.section-edit-toolbar select{max-width:135px}.section-edit-toolbar .button{padding:7px 9px}.section-property-grid{grid-template-columns:1fr 1fr}.sections-sidebar h2{font-size:18px}}

/* Keep lettering editable here; the actual mobile page continues to hide it. */
.section-editor.landing-preview .landing-manifesto{display:block}
.landing-preview .homepage-section>.landing-hero,.landing-preview .homepage-section>.landing-closing{position:relative;background-image:url('/assets/redesign/hero-coast.webp');background-size:cover;background-position:center center;background-repeat:no-repeat}
.landing-preview .homepage-section>.landing-hero::before,.landing-preview .homepage-section>.landing-closing::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08233bbd,#08233b45 60%,#08233b10);pointer-events:none}
.landing-preview .homepage-section>.landing-hero>.wrap,.landing-preview .homepage-section>.landing-closing>.wrap{position:relative;z-index:1}

#sections-confirm-body{white-space:pre-wrap;max-height:50vh;overflow:auto}
.landing-preview .button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}
