/* Manual Settings page */
.settings-page{background:#fff;color:#242424}.settings-wrap{width:min(1120px,calc(100% - 40px));margin:0 auto}.settings-hero{padding:46px 0 32px;background:linear-gradient(120deg,#f1f3f4,#fff);border-bottom:1px solid #dedede}.settings-hero h1{color:#171717;font-size:clamp(2.3rem,5vw,3.6rem);margin:0 0 10px}.settings-hero p{color:#555;max-width:760px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:25px;padding-bottom:70px}.settings-card{background:#fff;border:1px solid #dedede;padding:23px;box-shadow:0 10px 26px rgba(20,40,50,.06);min-width:0}.settings-wide{grid-column:1/-1}.settings-card h2{font-size:1.4rem;color:#171717;margin-bottom:8px}.settings-card>p{font-size:.9rem;color:#555}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-fields label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eee;font-size:.84rem;font-weight:600;color:#333}.settings-fields input[type=color]{width:48px;height:36px;padding:2px;border:1px solid #ccc;background:#fff;cursor:pointer}.settings-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.settings-button{border:1px solid #111;background:#111;color:#fff;padding:10px 14px;font:600 .84rem 'DM Sans',Arial,sans-serif;cursor:pointer}.settings-button:hover{background:#333}.settings-button-quiet{background:#fff;color:#222;border-color:#aaa}.settings-button-quiet:hover{background:#f1f1f1}.settings-check{display:flex;align-items:center;gap:10px;margin:14px 0;color:#222;font-weight:600}.settings-check input{width:18px;height:18px;accent-color:#222}.settings-file,.settings-field{display:block;margin:12px 0;color:#333;font-size:.84rem;font-weight:700}.settings-file input,.settings-field input,.settings-field select,.settings-field textarea{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #c9c9c9;background:#fff;color:#222;font:400 .9rem 'DM Sans',Arial,sans-serif}.settings-field textarea{resize:vertical}.logo-preview-wrap{min-height:90px;padding:12px;display:flex;align-items:center;justify-content:center;border:1px solid #eee;background:#f7f7f7;color:#666;font-size:.84rem}.logo-preview-wrap img{max-width:240px;max-height:75px;object-fit:contain;background:#fff;padding:5px}.settings-status{min-height:1.4em;margin:9px 0 0!important;font-size:.82rem;color:#333!important}.settings-note{background:#f5f5f5}.settings-card .eyebrow{color:#555}.menu-editor-head,.menu-row{display:grid;grid-template-columns:1fr 1.2fr 145px 55px 90px;gap:8px;align-items:center}.menu-editor-head{padding:8px 10px;background:#f1f1f1;color:#333;font-size:.75rem;font-weight:700}.menu-row{padding:9px 10px;border-bottom:1px solid #e7e7e7}.menu-row input[type=text],.menu-row select{min-width:0;width:100%;padding:8px;border:1px solid #ccc;background:#fff;color:#222;font-size:.8rem}.menu-row .menu-show{justify-self:center;width:17px;height:17px;accent-color:#222}.menu-order{display:flex;gap:4px}.menu-order button{border:1px solid #ccc;background:#fff;color:#222;padding:5px 7px;cursor:pointer}.menu-delete{color:#7a2c2c!important}.content-block-list{margin-top:14px}.content-block-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e5e5e5;color:#333;font-size:.85rem}.content-block-row button{border:1px solid #aaa;background:#fff;padding:6px 9px;cursor:pointer}.custom-content-block{white-space:normal}.custom-content-block p{white-space:pre-line}.custom-brand-logo{display:inline-block;width:auto;max-width:150px;height:auto;max-height:44px;padding:3px;background:#fff;border-radius:3px;object-fit:contain;vertical-align:middle}.text-editing-enabled [data-u1-editable="true"]{outline:1px dashed #777;outline-offset:3px;cursor:text}.text-editing-enabled [data-u1-editable="true"]:focus{outline:2px solid #111;background:#fffef0}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #555;outline-offset:2px}@media(max-width:780px){.settings-grid{grid-template-columns:1fr}.settings-wide{grid-column:auto}.settings-wrap{width:min(100% - 32px,650px)}.settings-card{padding:19px}.menu-editor-head{display:none}.menu-row{grid-template-columns:1fr 1fr;padding:12px 4px}.menu-row .menu-show{justify-self:start}.menu-order{justify-content:flex-start}.settings-fields{grid-template-columns:1fr}}

.import-label{display:inline-flex;align-items:center;cursor:pointer}.import-label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.custom-brand-logo{flex:0 0 auto}.site-header .brand{gap:12px}.content-block-row{align-items:flex-start}.content-block-row-fields{display:grid;gap:8px;flex:1}.content-block-row-fields input,.content-block-row-fields textarea{width:100%;padding:8px;border:1px solid #ccc;font:inherit}.content-block-row-actions{display:flex;gap:6px;flex-wrap:wrap}

.brand-mark[hidden],[hidden]{display:none!important}.site-header .custom-brand-logo{width:auto;max-width:140px;max-height:46px;object-fit:contain;flex:0 0 auto}.import-label{display:inline-flex;align-items:center;cursor:pointer}.import-label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.content-block-row{align-items:flex-start}.content-block-row-fields{display:grid;gap:8px;flex:1}.content-block-row-fields input,.content-block-row-fields textarea{width:100%;padding:8px;border:1px solid #ccc;font:inherit}.content-block-row-actions{display:flex;gap:6px;flex-wrap:wrap}

.settings-accordion{padding:0;overflow:hidden}.settings-accordion>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 23px;cursor:pointer;list-style:none;background:linear-gradient(110deg,#f2f8fa,#fff);border-bottom:1px solid #dfe9ee}.settings-accordion>summary::-webkit-details-marker{display:none}.settings-accordion>summary:after{content:'+';font-size:1.6rem;color:#247493}.settings-accordion[open]>summary:after{content:'−'}.settings-accordion>summary span:first-child{display:grid;gap:4px}.settings-accordion>summary small{color:#247493;font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.settings-accordion>summary strong{font:700 1.12rem Manrope,'DM Sans',Arial,sans-serif;color:#173c50}.summary-hint{font-size:.72rem;color:#607b8a}.settings-panel{padding:22px 24px 26px}.settings-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-fields select{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #c9c9c9;background:#fff;color:#222;font:400 .9rem 'DM Sans',Arial,sans-serif}.range-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.range-grid label{display:grid;grid-template-columns:1fr auto;gap:8px;padding:13px;border:1px solid #dfe8ed;background:#f9fcfd;font-size:.85rem;font-weight:700;color:#294859}.range-grid output{color:#147392}.range-grid input[type=range]{grid-column:1/-1;width:100%;accent-color:#217d9d}.settings-brand-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.settings-brand-grid>div+div{border-left:1px solid #e0e9ed;padding-left:28px}.settings-brand-grid h3,.dropdown-settings h3{margin-bottom:16px;color:#204d63}.image-preview-wrap{min-height:160px;padding:14px;display:flex;align-items:center;justify-content:center;border:1px solid #dce7ec;background:#f7fbfc;color:#607582;text-align:center}.image-preview-wrap img{max-width:100%;max-height:260px;object-fit:contain}.dropdown-settings{margin-top:26px;padding-top:22px;border-top:1px solid #dfe8ed}.menu-editor-head,.menu-row{grid-template-columns:1fr 1.2fr 170px 55px 112px}.content-block-row-fields select{width:100%;padding:8px;border:1px solid #ccc;background:#fff;color:#222;font:inherit}.settings-local-note{padding:10px 14px;border-left:3px solid #3485a1;background:#f0f8fb;color:#355b6d;font-size:.84rem}.settings-card>summary:focus-visible{outline:3px solid #3485a1;outline-offset:-3px}
@media(max-width:780px){.settings-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-brand-grid{grid-template-columns:1fr}.settings-brand-grid>div+div{border-left:0;border-top:1px solid #e0e9ed;padding:20px 0 0}.range-grid{grid-template-columns:1fr}.settings-accordion>summary{padding:17px}.settings-panel{padding:18px}.summary-hint{display:none}.menu-row{grid-template-columns:1fr 1fr}.menu-row>*{min-width:0}}
@media(max-width:420px){.settings-color-grid{grid-template-columns:1fr}.menu-row{grid-template-columns:1fr}}

.settings-accordion .settings-panel .footer-color-preview{max-width:760px}.footer-colour-settings{outline:1px solid #d7e4e9}.footer-colour-settings>summary{background:linear-gradient(105deg,#edf5f8,#fff)}.footer-colour-settings .summary-hint{color:#147392;font-weight:700}.settings-local-note{border-left-color:#147392}

.page-directory-card{border-top:4px solid #247b98}.page-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.page-directory-item{display:grid;gap:5px;min-width:0;padding:15px;border:1px solid #d8e5ea;border-radius:7px;background:#fbfdfe}.page-directory-item strong{color:#183f53;font-size:.93rem}.page-directory-item small{color:#68808d;font-size:.72rem}.page-directory-actions{display:grid;gap:7px;margin-top:7px}.page-directory-actions button{padding:8px;border:1px solid #237997;border-radius:4px;background:#fff;color:#15516a;font:700 .75rem 'DM Sans',Arial,sans-serif;cursor:pointer}.page-directory-actions button:first-child{background:#15516a;color:#fff}.page-directory-actions button:hover{filter:brightness(.94)}.home-color-preview{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:10px;margin:18px 0}.home-color-preview>div{display:flex;min-height:92px;flex-direction:column;justify-content:center;gap:7px;padding:15px;border:2px solid transparent;border-radius:8px;background:#f4f8fa;color:#173c50}.home-color-preview strong{font-size:.88rem}.home-color-preview span{font-size:.75rem}.home-colour-settings{border-top:4px solid #3897b4}
@media(max-width:850px){.page-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-color-preview{grid-template-columns:1fr}}
@media(max-width:520px){.page-directory-grid{grid-template-columns:1fr}.page-directory-item{padding:13px}}

.builder-column-preview{display:block;width:100%;max-height:170px;object-fit:contain;background:#eaf2f5;border:1px solid #cbdde4;border-radius:4px}.builder-column-preview[hidden]{display:none}

/* Version 33: keep settings copy neutral and readable */
.settings-page h1,.settings-page h2,.settings-page h3,.settings-page p,.settings-page label,.settings-page summary,.settings-page small,.settings-page .settings-description,.settings-page .settings-status,.settings-page .page-directory a,.settings-page .settings-card strong{color:#171717}
.settings-page input,.settings-page select,.settings-page textarea{color:#171717}
