@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");
:root{--ink:#505050;--muted:#888888;--line:#dddddd;--blue:#5fbc00;--soft:#f5f7fb;--teal:#75a4a1}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:13px Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid #cccccc;color:#555555;background:white;border-radius:7px;padding:10px 14px;font-weight:550;line-height:1.3;transition:background .12s}button:hover{background:#f2f5fa}button:disabled{cursor:default;opacity:.42}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.primary:hover{background:#4d9900}.quiet{border-color:transparent;background:transparent}.toolbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 30px;position:sticky;top:0;z-index:20;background:#ffffffed;backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:17px;text-decoration:none;white-space:nowrap}.brand b{font-weight:450;color:#8994a3}.brand-mark{display:flex;align-items:center;justify-content:center;background:#edf1f8;width:35px;height:35px;border-radius:10px;color:#5fbc00;font-weight:650;font-size:20px}.brand-mark span{color:#8a8a8a}.local-badge{font-size:11px;color:#70827b;background:#f2f7f4;border-radius:5px;padding:7px 9px;white-space:nowrap}.local-badge i{display:inline-block;width:6px;height:6px;background:#7baa95;border-radius:50%;margin-right:6px}#save-status{font-size:11px;color:var(--muted);margin-left:auto}.toolbar-actions{display:flex;align-items:center;gap:8px}.toolbar-actions button{font-size:12px;padding:10px 14px}.primary span{margin-left:14px}.workspace{display:grid;grid-template-columns:minmax(470px,1fr) minmax(420px,.9fr);min-height:calc(100vh - 78px)}.editor-panel{padding:26px 38px 0;max-width:880px;width:100%;justify-self:center}.salon-bar{display:flex;align-items:center;gap:16px;padding-bottom:26px;border-bottom:1px solid var(--line)}.salon-bar>label{color:#929ca9;font-size:9px;font-weight:650;letter-spacing:1.4px;white-space:nowrap}.salon-bar>div{display:flex;align-items:center;width:100%;gap:8px}.salon-bar select{border:0;background:#f6f8fa;padding:10px 12px;width:100%;color:#3c4a60;font-size:12px;border-radius:6px}.icon-button{padding:6px 10px;font-size:20px;font-weight:400}.page-title{display:flex;justify-content:space-between;align-items:center;padding:32px 0 24px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.5px;color:#8f9aaa}h1{font-size:26px;letter-spacing:-1px;margin:8px 0 9px;font-weight:600}p{line-height:1.7;color:var(--muted)}.page-title p{font-size:12px;margin:0}.fixed-label{font-size:10px;color:#8b96a5;border:1px solid #dddddd;padding:6px 8px;border-radius:5px;white-space:nowrap}.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:24px}.tabs button{border:0;border-radius:0;padding:0 0 13px;background:none;font-size:12px;font-weight:500;color:#8993a2;position:relative}.tabs button.active{color:#607caa}.tabs button.active:after{content:"";height:2px;background:#5fbc00;position:absolute;left:0;right:0;bottom:-1px}.section-card{border:1px solid var(--line);border-radius:10px;margin:0 0 18px;overflow:hidden;background:white}.section-title{display:flex;align-items:center;justify-content:space-between;padding:17px 19px;border-bottom:1px solid #edf0f4;gap:12px}.section-title h2{font-size:13px;margin:0;font-weight:600}.section-body{padding:19px}.hint{font-size:11px;line-height:1.65;color:#939cab;margin:6px 0 0}.field{display:block;font-size:11px;font-weight:500;margin:0 0 16px;color:#777777}.field:last-child{margin-bottom:0}.field input:not([type=color]),.field textarea,.field select,dialog label input:not([type=checkbox]){display:block;width:100%;border:1px solid #dfe5ed;border-radius:6px;background:#fff;color:#505050;padding:10px 11px;font-size:12px;margin-top:7px;line-height:1.35;min-height:38px}.field input:focus,.field textarea:focus{outline:2px solid #dfe8f7;border-color:#9fb1cd}.field textarea{resize:vertical;min-height:62px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.media-row{display:flex;align-items:center;gap:17px;margin-bottom:20px}.media-thumbnail{width:105px;height:72px;border:1px solid var(--line);background:#f9fafb;border-radius:7px;object-fit:contain}.media-thumbnail.promotion-thumb{object-fit:cover;aspect-ratio:1440/823;width:130px;height:auto}.media-actions{flex:1}.media-actions button{padding:8px 11px;font-size:11px}.media-actions .remove-image{padding:6px 8px}.segmented{display:flex;background:#f5f7fa;border:1px solid #e7ebf0;border-radius:6px;padding:3px;gap:3px;margin-top:7px}.segmented button{flex:1;font-size:11px;padding:7px 8px;border:0;background:transparent;font-weight:450;white-space:nowrap}.segmented button.active{background:white;color:#5b74a1;box-shadow:0 1px 3px #2035550d}.toggle-line{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#777777;margin-bottom:14px}.switch{appearance:none;width:31px;height:18px;background:#dfe4ec;border-radius:12px;position:relative;cursor:pointer;margin:0;flex-shrink:0;transition:background .15s}.switch:after{content:'';position:absolute;width:12px;height:12px;background:#fff;left:3px;top:3px;border-radius:50%;transition:transform .15s;box-shadow:0 1px 2px #0001}.switch:checked{background:#5fbc00}.switch:checked:after{transform:translateX(13px)}.add-block{font-size:11px;padding:7px 10px;color:#647fa9;background:#f8faff;border-color:#dce4f1}.blocks-list{padding:12px}.block{border:1px solid var(--line);border-radius:7px;margin-bottom:9px;overflow:hidden}.block:last-child{margin-bottom:0}.block.muted{opacity:.62}.block-top{display:flex;align-items:center;gap:10px;padding:11px 10px;background:#fff}.block-number{font-size:10px;color:#a3acb7;font-variant-numeric:tabular-nums}.block-title{flex:1;border:0;border-radius:0;background:none!important;text-align:left;font-size:12px;padding:4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.block-title span{color:#9ba4b0;font-weight:400;margin-left:5px}.block-actions{display:flex;gap:1px}.block-actions button{font-size:13px;border:0;padding:5px 6px;background:none}.block-actions .delete-block{color:#c47c86}.block-body{border-top:1px solid #edf0f4;padding:17px}.icon-picker{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:8px;margin-bottom:12px}.icon-picker button{padding:9px 0;display:grid;place-items:center;border-color:#e8edf2}.icon-picker svg{width:19px;height:19px;color:#80a9a7;fill:currentColor}.icon-picker button.active{background:#f5fbea;border-color:#9eb2d1}.icon-custom{display:flex;align-items:center;gap:12px}.icon-custom img{width:28px;height:28px;object-fit:contain}.icon-custom button{font-size:11px;padding:7px 9px}.pill-note{display:inline-block;font-size:10px;border-radius:4px;background:#f5f7fa;color:#91a0b1;padding:4px 7px}.editor-foot{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;color:#a0a9b5;font-size:10px;border-top:1px solid var(--line);margin-top:24px;padding:18px 0 25px}.preview-panel{border-left:1px solid var(--line);background:#f3f5f8;position:sticky;top:78px;height:calc(100vh - 78px);display:flex;flex-direction:column;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;padding:24px 28px}.preview-heading strong{font-size:12px;font-weight:550}.live-dot{font-size:10px;color:#8a99a4;margin-left:14px}.live-dot:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#87aaa0;margin-right:5px}.device-sizes{display:flex;gap:2px;border:1px solid #e0e6ed;padding:3px;border-radius:6px}.device-sizes button{border:0;padding:4px 7px;background:none;font-size:10px;color:#9aa5b2}.device-sizes button.active{background:white;border-radius:4px;color:#566f94}.preview-scroll{flex:1;min-height:0;overflow:auto;padding:4px 22px 20px;display:flex;align-items:center;flex-direction:column}.phone{width:375px;max-width:100%;background:#fff;box-shadow:0 8px 32px #2c415c0d,0 0 0 1px #dde3eb;border-radius:22px;overflow:hidden;flex-shrink:0;height:calc(100vh - 254px);min-height:480px;max-height:820px;transition:width .2s}.phone-top{height:29px;display:flex;align-items:center;justify-content:space-between;padding:0 17px;background:white;border-bottom:1px solid #f5f6f8;font-size:8px;color:#a7afba}.pill{width:28px;height:4px;border-radius:8px;background:#e5e9ef}.phone iframe{display:block;border:0;width:100%;height:calc(100% - 29px);background:#fff}.preview-note{font-size:10px;text-align:center;max-width:300px;margin:19px 0 0;color:#99a4b2}.preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e1e7ef;padding:16px 25px;background:#f7f9fb}.preview-bottom small{display:block;font-size:8px;letter-spacing:1.2px;color:#a2acb8;margin-bottom:6px}.preview-bottom a{font-size:11px;color:#5fbc00;text-decoration:none}.preview-bottom button{font-size:11px;white-space:nowrap}.toast{position:fixed;left:50%;top:72px;bottom:auto;transform:translate(-50%,-8px);background:#505050;color:white;border-radius:8px;padding:13px 22px;font-size:12px;z-index:100;box-shadow:0 5px 20px #0002;opacity:0;pointer-events:none;transition:.2s;max-width:85vw;line-height:1.5}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#9f5261}dialog{width:440px;max-width:90vw;border:1px solid #e1e6ee;border-radius:14px;padding:28px;color:var(--ink);box-shadow:0 18px 80px #1b2c4e26}dialog::backdrop{background:#23334c50;backdrop-filter:blur(3px)}dialog h2{font-size:21px;font-weight:600;margin:10px 0}dialog p{font-size:12px}dialog label{display:block;margin:18px 0;font-size:12px}dialog label small{display:block;font-size:10px;color:var(--muted);margin-top:7px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.dialog-actions button{font-size:12px}.check-label{display:flex!important;gap:10px;align-items:center;color:#67758a}.block-choice{display:flex;align-items:center;width:100%;gap:14px;text-align:left;margin-top:12px;padding:17px}.block-choice>span:nth-child(2){flex:1}.block-choice strong{display:block;font-size:12px}.block-choice small{display:block;font-size:11px;color:var(--muted);margin-top:5px;font-weight:400}.choice-icon{display:grid;place-items:center;width:35px;height:35px;background:#f0f4fa;border-radius:6px;font-size:22px;color:#5fbc00}.color-field{display:flex;gap:12px;align-items:center;margin-top:8px}.color-field input[type=color]{border:1px solid #dfe5ed;background:white;border-radius:6px;padding:3px;width:44px;height:36px}.color-field span{font-size:11px;color:#929dad}.version-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.version-row small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.version-row button{font-size:11px}.empty-blocks{padding:24px;text-align:center;font-size:12px;color:#929cab}.url-display{font-size:11px;padding:10px 12px;border:1px dashed #dce4ef;border-radius:5px;overflow-wrap:anywhere;color:#7d8da3;margin-top:12px}.info-box{font-size:11px;line-height:1.7;padding:14px;background:#f6f8fc;color:#8291a4;border-radius:7px}.field input[type=range]{width:100%;accent-color:#5fbc00}.field-error{color:#b55c6b;font-size:11px}body.busy{cursor:progress}@media(min-width:1500px){.editor-panel{padding-left:60px;padding-right:60px}}@media(max-width:1050px){.toolbar{gap:12px;padding:0 18px}.local-badge{display:none}.editor-panel{padding:22px}.workspace{grid-template-columns:minmax(420px,1fr) minmax(390px,.9fr)}.preview-heading{padding:22px 18px}.fixed-label{display:none}}@media(max-width:820px){.toolbar{height:auto;min-height:72px;flex-wrap:wrap;padding:14px;gap:12px}.brand{font-size:14px}.brand-mark{width:28px;height:28px}.toolbar-actions{margin-left:auto}#save-status{order:3;width:100%}.toolbar-actions button{font-size:10px;padding:8px}.workspace{display:flex;flex-direction:column}.editor-panel{max-width:650px;order:1}.preview-panel{position:relative;top:auto;height:760px;border-top:1px solid var(--line);order:2}.phone{height:580px}.preview-scroll{min-height:0}.page-title{padding-top:24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Compact, numbered editor layout based on the approved mockup. */
.toolbar{height:60px;padding:0 28px;gap:22px}.brand{font-size:17px;gap:10px}.brand-mark{width:30px;height:30px;font-size:19px;border-radius:8px}.brand b{color:#56647a;font-weight:500}.local-badge{display:none}#save-status{margin-left:0;font-size:11px;color:#8190a1}#save-status:before{content:'';display:inline-block;width:7px;height:7px;background:#72a3a0;border-radius:50%;margin-right:8px}.toolbar-actions{margin-left:auto}.toolbar-actions button{padding:9px 13px}.toolbar-actions .quiet{border-color:#cccccc}.workspace{grid-template-columns:minmax(510px,1.15fr) minmax(400px,1fr);min-height:calc(100vh - 60px)}.editor-panel{padding:20px 32px 0;max-width:900px}.salon-bar{padding:0;border:0;gap:12px}.salon-bar>label{font-size:9px;letter-spacing:1px}.salon-bar select{padding:8px 10px;font-size:11px}.salon-bar .icon-button{font-size:17px;padding:5px 9px}.page-title{padding:24px 0 20px}.page-title .eyebrow,.fixed-label{display:none}h1{font-size:30px;letter-spacing:-.8px;margin:0 0 8px}.page-title p{font-size:12px}.tabs{gap:27px;margin-bottom:18px}.tabs button{display:flex;align-items:center;gap:8px;font-size:12px;padding-bottom:13px}.tabs svg{width:16px;height:16px}.section-card{border-radius:7px;margin-bottom:14px}.section-title{padding:12px 15px}.section-title h2,.collapsible-card>summary h2{font-size:14px;font-weight:600;margin:0}.section-body{padding:14px}.collapsible-card>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:13px 15px}.collapsible-card>summary::-webkit-details-marker,.secondary-details>summary::-webkit-details-marker,.block-menu>summary::-webkit-details-marker{display:none}.collapsible-card>summary::marker,.secondary-details>summary::marker,.block-menu>summary::marker{content:''}.collapsible-card>summary>svg{width:17px;height:17px;color:#7d899a;transition:transform .15s}.collapsible-card[open]>summary>svg{transform:rotate(180deg)}.collapsible-card[open]>summary{border-bottom:1px solid #edf0f4}.header-grid{display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;align-items:stretch}.header-image{border:1px solid #e3e8ef;border-radius:5px;background:#fafbfc;min-height:124px;display:grid;place-items:center;overflow:hidden;color:#a0acbb;font-size:12px}.header-image img{width:100%;height:124px;object-fit:contain;padding:8px}.header-controls{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:17px}.header-logo-controls{display:grid;grid-template-columns:auto minmax(180px,1fr);gap:12px;align-items:center}.header-upload{display:flex;align-items:center;gap:1px}.header-upload>button:first-child,.promotion-controls>button{font-size:11px;padding:8px 10px;white-space:nowrap}.header-upload>.quiet{padding:5px;border:0}.header-upload svg{width:13px;height:13px}.header-logo-controls .segmented{margin-top:0;gap:1px;padding:3px}.header-logo-controls .segmented button{font-size:10px;padding:7px 6px}.header-heading{display:grid;grid-template-columns:minmax(0,1fr) 69px;gap:14px;align-items:start}.field{font-size:11px;font-weight:450;margin-bottom:13px;color:#555555;min-width:0}.field input:not([type=color]),.field textarea,.field select{margin-top:6px;padding:8px 10px;min-height:35px;font-size:11px;border-radius:5px}.field input:disabled{color:#a5afbc;background:#f7f8fa}.header-heading>.field{margin:0}.header-heading>.toggle-line,.promotion-fields>.toggle-line{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;font-size:10px;margin:0;white-space:nowrap}.header-heading>.toggle-line .switch{margin-top:1px}.secondary-details{margin-top:9px;border-top:1px solid #f0f2f6}.secondary-details>summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px;font-weight:600;color:var(--ink);padding:14px 0;min-height:44px}.secondary-details>summary>svg{width:17px;height:17px;margin-left:auto;flex-shrink:0;color:#7d899a}.secondary-details[open]>summary>svg{transform:rotate(180deg)}.header-options{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding-top:2px}.header-options>.toggle-line,.header-options>.hint{grid-column:1/-1}.header-options .field{margin-bottom:5px}.blocks-list{padding:0 10px 10px}.blocks-list>.block:first-child{margin-top:0}.blocks-list>.block{margin-bottom:8px;border-color:#e4e9f0;position:relative;overflow:visible}.blocks-card{overflow:visible}.blocks-card>.section-title{border:0}.block-top{padding:7px 9px;gap:8px;min-height:43px;border-radius:7px}.block-number{font-size:11px;color:#526075;font-weight:500;min-width:17px}.block-separator{font-size:11px;color:#8994a4}.block-title{font-size:12px;font-weight:450;display:flex;align-items:center;gap:4px;line-height:1.3}.block-title .block-label{font-size:11px;color:#6b788c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.drag-handle{border:0;background:none!important;padding:3px 0;display:grid;place-items:center;cursor:grab;color:#8d9bad;width:18px;flex-shrink:0}.drag-handle svg{width:17px;height:20px;fill:currentColor;stroke-width:1}.block-actions{gap:3px;align-items:center}.block-actions>button{padding:4px;display:grid;place-items:center;min-width:25px;min-height:28px;color:#7e8b9d}.block-actions svg{width:17px;height:17px}.block-actions .visibility-button{color:#6a9b9c}.block-actions .visibility-button[aria-pressed=false]{color:#a8b2c0}.block-actions .expand-block.expanded svg{transform:rotate(180deg)}.block-menu{position:relative}.block-menu>summary{list-style:none;cursor:pointer;color:#99a4b2;padding:4px;display:grid;place-items:center;width:25px;height:28px}.block-menu>div{position:absolute;z-index:30;right:0;top:32px;width:150px;padding:5px;background:#fff;border:1px solid #dfe5ee;border-radius:7px;box-shadow:0 8px 22px #283a561a}.block-menu button{display:flex;align-items:center;gap:8px;width:100%;font-size:11px;text-align:left;padding:9px;border:0;border-radius:4px;background:white}.block-menu button:hover{background:#f4f6fa}.block-menu .delete-block{color:#b76573}.block-menu button svg{width:14px;height:14px}.block-body{padding:13px 12px;border-top:1px solid #edf0f4;border-radius:0 0 7px 7px}.promotion-edit{display:grid;grid-template-columns:126px minmax(0,1fr);gap:13px;align-items:stretch}.promotion-image{min-height:110px;max-height:136px;border:1px solid #e5eaf0;background:#f8f9fb;border-radius:4px;display:grid;place-items:center;overflow:hidden;font-size:12px;color:#a2acba}.promotion-image img{width:100%;height:100%;min-height:110px;max-height:136px;object-fit:cover;display:block}.promotion-controls{display:flex;flex-direction:column;gap:16px;min-width:0;justify-content:space-between}.promotion-controls>button{align-self:flex-start}.promotion-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 58px;gap:10px;align-items:start}.promotion-fields .field{margin:0;font-size:10px}.promotion-fields .field input{padding:8px;font-size:10px}.promotion-fields .toggle-line{font-size:9px;gap:14px}.promotion-fields .switch{width:31px}.option-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9aa6b5;font-size:10px}.option-footer button{font-size:10px;padding:5px 8px}.block-body>.secondary-details .two-fields{margin-top:4px}.block-body>.two-fields{gap:12px}.block-body>.field{margin-bottom:6px}.selected-icon{display:grid;place-items:center;width:23px;height:23px;color:#79a3a1}.selected-icon svg,.selected-icon img{width:19px;height:19px;object-fit:contain;fill:currentColor}.icon-details .icon-picker{grid-template-columns:repeat(6,1fr);max-width:350px}.block.muted{opacity:1;background:#fcfcfd}.block.muted .block-title,.block.muted .block-number{color:#a2acb9}.block.muted .block-body{opacity:.7}.block.dragging{opacity:.45}.block.drop-before:before,.block.drop-after:after{content:'';position:absolute;left:0;right:0;height:2px;background:#5fbc00;border-radius:2px;z-index:5}.block.drop-before:before{top:-5px}.block.drop-after:after{bottom:-5px}.add-block{font-size:11px;font-weight:500;padding:6px 9px;background:#f8faff}.preview-panel{top:60px;height:calc(100vh - 60px);background:#f0f0f0}.preview-heading{padding:23px 26px 18px}.preview-heading strong{font-size:12px}.preview-scroll{padding:0 22px 18px}.phone{height:calc(100vh - 228px);min-height:475px;max-height:900px;border-radius:20px}.phone-top{height:22px}.phone iframe{height:calc(100% - 22px)}.preview-note{margin-top:15px;font-size:10px}.preview-bottom{padding:13px 22px}.editor-foot{margin-top:20px}.two-fields>.field{min-width:0}
@media(min-width:1500px){.editor-panel{padding-left:38px;padding-right:38px}.header-grid{grid-template-columns:118px minmax(0,1fr)}.promotion-edit{grid-template-columns:145px minmax(0,1fr)}}
@media(max-width:1080px){.workspace{grid-template-columns:minmax(420px,1.1fr) minmax(390px,1fr)}.editor-panel{padding:20px}.header-grid{grid-template-columns:88px minmax(0,1fr);gap:12px}.header-logo-controls{grid-template-columns:1fr;gap:7px}.header-controls{gap:12px}.header-image{min-height:140px}.header-image img{height:140px}.promotion-edit{grid-template-columns:104px minmax(0,1fr);gap:10px}.promotion-fields{grid-template-columns:minmax(0,1fr) 55px;gap:9px}.promotion-fields>.field:nth-child(2){grid-column:1;grid-row:2}.promotion-fields>.toggle-line{grid-column:2;grid-row:1/3}.toolbar{gap:15px;padding:0 20px}.brand{font-size:14px}.toolbar-actions button{font-size:11px;padding:8px 10px}#save-status{font-size:10px}}
@media(max-width:820px){.toolbar{height:auto;min-height:64px;padding:12px 14px;gap:10px}.workspace{display:flex}.preview-panel{position:relative;top:auto;height:760px}.phone{height:580px}.editor-panel{padding:22px}.salon-bar{gap:9px}#save-status{order:3;width:100%;margin:0}.toolbar-actions{margin-left:auto}.toolbar-actions button{font-size:10px;padding:7px 9px}.header-logo-controls{grid-template-columns:auto minmax(180px,1fr)}.header-grid{grid-template-columns:95px minmax(0,1fr)}.header-image{min-height:124px}.header-image img{height:124px}.promotion-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 58px}.promotion-fields>.field:nth-child(2){grid-column:auto;grid-row:auto}.promotion-fields>.toggle-line{grid-column:auto;grid-row:auto}}
@media(max-width:540px){.brand{font-size:12px;gap:7px}.brand-mark{display:none}.header-grid{grid-template-columns:72px minmax(0,1fr);gap:10px}.header-logo-controls{grid-template-columns:1fr}.header-heading{gap:8px;grid-template-columns:minmax(0,1fr) 58px}.header-heading>.toggle-line{font-size:9px}.header-options{display:block}.header-options>.field{margin-bottom:12px}.promotion-edit{grid-template-columns:88px minmax(0,1fr)}.promotion-fields{grid-template-columns:minmax(0,1fr) 48px}.promotion-fields>.field:nth-child(2){grid-column:1;grid-row:2}.promotion-fields>.toggle-line{grid-column:2;grid-row:1/3;font-size:8px}.block-top{gap:5px;padding:6px}.block-actions{gap:0}.block-actions>button,.block-menu>summary{min-width:23px;width:23px}.two-fields{grid-template-columns:1fr}}
.drag-handle{touch-action:none;user-select:none;-webkit-user-select:none}.drag-handle:active{cursor:grabbing}

/* Separate, always-visible identity and page text controls. */
.identity-logo{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;align-items:start}.identity-logo .header-image{height:110px}.identity-logo-controls{display:grid;gap:14px}.identity-logo-controls .toggle-line{margin:0}.identity-logo-controls .field{margin:0}.identity-logo-controls .header-upload{justify-content:flex-start}.identity-name{border-top:1px solid var(--line,#e2e7ef);margin-top:20px;padding-top:18px}.identity-name .toggle-line,.page-title-controls>.toggle-line{margin:0 0 16px}.identity-name .field:last-child,.page-title-controls .field:last-child{margin-bottom:0}@media(max-width:540px){.identity-logo{grid-template-columns:88px minmax(0,1fr);gap:14px}.identity-logo .header-image{height:88px}}

.overlay-section{margin:20px 0 16px;padding-top:18px;border-top:1px solid var(--line)}.overlay-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.overlay-heading h3{font-size:13px;font-weight:600;margin:0;color:var(--ink)}.overlay-heading>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.overlay-section .hint{margin:8px 0 14px;line-height:1.65}.overlay-section input[type=range]{display:block;width:100%;margin:0;accent-color:#5fbc00;cursor:pointer}

.base-colour-section .field{margin:0}.background-notice{font-size:11px;line-height:1.65;color:#586a83;background:#f1f5fa;border:1px solid #e1e8f1;border-radius:6px;padding:10px 12px;margin:0 0 14px}

.base-colour-section{margin-top:0;padding-top:0;border-top:0}.background-picture-section{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.background-picture-section>.hint{margin:8px 0 14px}

.address-input{display:flex;align-items:center;border:1px solid #cccccc;border-radius:7px;background:#f5f7fb;overflow:hidden;margin-top:8px}.address-input>span{padding:11px 10px;color:#888888;font-size:12px;white-space:nowrap}.address-input input{min-width:60px;width:100%;border:0;border-left:1px solid #cccccc;border-right:1px solid #cccccc;border-radius:0;padding:11px 8px;font:inherit;color:var(--ink);background:white}.address-input+#address-status{margin-top:8px}

.background-intro{margin:0 0 20px;line-height:1.65}

.section-title .section-switch{margin:0;flex-shrink:0}.salon-name-input{display:block;width:100%;border:1px solid #cccccc;border-radius:7px;padding:11px 12px;background:#fff;color:var(--ink);font:inherit}.salon-name-input:focus{border-color:#5fbc00}

.section-body:empty{display:none}.section-card:has(>.section-body:empty)>.section-title{border-bottom:0}

#save-meta{margin-top:16px}

.block-list-actions{display:flex;gap:8px;align-items:center}.block-list-actions .quiet{font-size:11px;padding:7px 8px}.promotion-fields{grid-template-columns:minmax(0,1fr)!important}.promotion-fields .field{grid-column:auto!important}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.toolbar-actions{margin-left:auto}

.salon-bar[hidden]{display:none}

.block-title:has(.block-thumb){display:flex;align-items:center;gap:10px}.block-thumb{width:42px;height:28px;flex:0 0 42px;border:1px solid #e0e6ed;border-radius:4px;background:#f4f7fa;color:#91a1b6;display:grid;place-items:center;overflow:hidden;font-size:17px}.block-thumb img{width:100%;height:100%;object-fit:cover;display:block}.block-top:has(.block-thumb){min-height:48px}

#upload-dialog{width:min(520px,calc(100vw - 32px))}.upload-drop{border:2px dashed #bdc9d9;border-radius:10px;background:#f7f9fc;padding:24px 18px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;transition:background .15s,border-color .15s}.upload-drop.drag-over{border-color:#5fbc00;background:#eaf0fa}.upload-drop small{font-size:11px;color:var(--muted)}#upload-prompt{display:flex;flex-direction:column;align-items:center;gap:10px;color:#6d809b}#upload-prompt>span{font-size:28px}#upload-preview{max-width:100%;max-height:220px;object-fit:contain;border-radius:6px}#upload-preview[hidden],#upload-prompt[hidden]{display:none}.upload-error{color:#ad4254;font-size:12px;line-height:1.5;margin:12px 0 0}.upload-error:empty{display:none}#upload-file-info{overflow-wrap:anywhere;margin:12px 0 0}

.advanced-label{font-size:12px;font-weight:500;margin:14px 0 10px}.icon-details .color-field{margin-top:6px}



/* Consistent spacing between advanced editor controls. */
.secondary-details .advanced-label{margin:18px 0 12px}.secondary-details .icon-picker{gap:8px;margin:0 0 16px}.secondary-details .icon-custom{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 24px}.secondary-details .icon-custom+.field{margin-top:0}.secondary-details>.field{margin-bottom:20px}.secondary-details>.field .color-field{margin-top:10px}.secondary-details>.hint{margin:16px 0 4px;line-height:1.7}.secondary-details .two-fields{padding-top:8px;gap:18px}.secondary-details .option-footer{margin-top:16px;padding-top:14px}.block-body>.field{margin-bottom:20px}.block-body>.secondary-details{margin-top:20px}.section-body>.secondary-details{margin-top:22px}.icon-picker button{min-height:38px}

.draft-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;margin:0 0 20px;background:#eef4fb;border:1px solid #e4edf7;border-radius:7px;font-size:12px}.draft-strip>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.draft-strip strong{font-weight:600}.draft-strip span{font-size:11px;color:var(--muted)}.draft-strip button{font-size:11px;padding:5px 0;color:#ae5965}.published-status{font-size:11px;color:#667b75;white-space:nowrap;margin-right:10px}.published-status:before{content:'';display:inline-block;width:6px;height:6px;background:#75a4a1;border-radius:50%;margin-right:7px}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-modes{display:flex;background:#e9eef5;border:1px solid #dce4ef;padding:3px;border-radius:7px}.preview-modes button{border:0;background:transparent;font-size:11px;padding:6px 12px}.preview-modes button.active{background:#5fbc00;color:#fff}.phone{padding:7px 7px 22px!important;background:#fafbfc;border:1px solid #d1d9e3;border-radius:42px!important;box-shadow:0 12px 30px #2b3e5614,inset 0 0 0 3px #eef1f5;position:relative}.phone-top{height:34px!important;position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-size:10px;color:#171c25}.phone-camera{position:absolute;top:3px;left:50%;transform:translateX(-50%);width:80px;height:22px;background:#20252d;border-radius:20px}.phone iframe{height:calc(100% - 34px)!important;border-radius:0 0 24px 24px;background:#fff}.phone:after{content:'';position:absolute;bottom:9px;left:50%;transform:translateX(-50%);width:94px;height:4px;border-radius:4px;background:#262c34}.danger{color:#b14153;border-color:#e8cbd0}.preview-scroll{padding-top:4px}.page-title{padding-bottom:16px!important}#discard-dialog{max-width:420px} @media(max-width:700px){.published-status{display:none}.draft-strip{align-items:flex-start}.draft-strip>div{gap:5px;flex-direction:column;align-items:flex-start}}

/* Keep the original 375px page viewport inside the decorative phone frame. */
.phone{width:391px;align-self:flex-start;margin-left:max(0px,round(down,calc((100% - 391px)/2),1px));transition:none}.phone iframe{border-radius:0}.booking-appearance{margin-top:24px}.booking-appearance .advanced-label{font-size:12px;font-weight:500;margin:18px 0 12px}.booking-appearance .icon-picker{gap:8px;margin:0 0 16px}.booking-appearance .icon-custom{margin-bottom:24px}.booking-appearance .color-field{margin-top:10px}

/* Preview modes are navigation tabs, visually distinct from toolbar actions. */
.preview-modes{background:transparent;border:0;border-bottom:1px solid #d4dde8;border-radius:0;padding:0;gap:20px}.preview-modes button{position:relative;background:transparent;border:0;border-radius:0;padding:9px 0 11px;color:#888888;font-size:12px;font-weight:500}.preview-modes button:hover{background:transparent;color:#444444}.preview-modes button.active{background:transparent;color:#444444;font-weight:600}.preview-modes button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#5fbc00}.preview-modes button:focus-visible{outline:2px solid #9eb2d1;outline-offset:4px}



.logo-layouts{display:flex;gap:12px;margin-top:10px}.logo-layout{width:140px;max-width:calc(50% - 6px);padding:12px;border:1px solid #cccccc;border-radius:7px;background:#fff;color:#777777;font-size:11px;text-align:left}.logo-layout.active{border-color:#5fbc00;box-shadow:0 0 0 1px #5fbc00;background:#f8f8f8;color:#444444}.layout-diagram{display:flex;align-items:center;justify-content:center;gap:9px;height:42px;margin-bottom:10px}.layout-diagram>i{display:block;width:20px;height:20px;border:1px solid #91a3bd;border-radius:3px;background:#e4ebf5;flex-shrink:0}.layout-diagram>span{display:flex;flex-direction:column;gap:4px;width:48px}.layout-diagram b{display:block;height:3px;background:#a5b0bf;border-radius:2px}.layout-diagram b:last-child{width:70%}.layout-center{flex-direction:column;gap:6px}.layout-center>span{align-items:center}.layout-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:500}.layout-selected{display:grid;place-items:center;width:14px;height:14px;border:1px solid #c4cddb;border-radius:50%;font-size:9px}.active .layout-selected{background:#5fbc00;border-color:#5fbc00;color:#fff}

.action-type-field{margin-bottom:18px}.action-type-label{font-size:11px;font-weight:500;color:#777777}.action-types{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.action-types button{font-size:11px;padding:8px 11px;border-radius:5px;font-weight:500}.action-types button.active{border-color:#5fbc00;background:#f5fbea;color:#444444;box-shadow:inset 0 0 0 1px #5fbc00}

/* Page status and publish flow. */
.published-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 0;font-size:11px}.published-summary a{color:#5f789e;overflow-wrap:anywhere}.published-summary .published-status{margin:0}.publish-note{margin:0 0 20px;padding:12px 14px;background:#f5f8fc;border:1px solid #e6edf6;border-radius:7px;font-size:12px;color:#777777}.publish-success-mark{width:46px;height:46px;display:grid;place-items:center;color:#27764d;background:#e7f5ec;border-radius:50%;font-size:26px;margin-bottom:18px}.copy-address{display:flex;gap:8px;margin-top:8px}.copy-address input{min-width:0;flex:1;margin-top:0!important}.copy-address button{flex-shrink:0}#publish-success,#publish-confirm{max-width:480px}.button-spinner{display:inline-block;width:14px;height:14px;border:2px solid #d4ddea;border-top-color:#5fbc00;border-radius:50%;animation:ui-spin .7s linear infinite;margin-right:6px;vertical-align:-2px}@keyframes ui-spin{to{transform:rotate(360deg)}}.address-status.available{color:#27764d;font-weight:500}.address-status.unavailable{color:#b0414b;font-weight:500}
/* Clear section boundaries and independent editor expansion. */
.section-expander{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;border:0;padding:0;background:transparent!important;color:var(--ink);font-size:14px;font-weight:600;text-align:left}.section-expander svg{width:17px;height:17px;color:#7d899a;flex-shrink:0}.section-expander[aria-expanded=true]>svg{transform:rotate(180deg)}.expandable-section .section-body[hidden]{display:none}.block{margin-bottom:14px;border-color:#dce3ed}.block-top{min-height:66px;padding:12px 10px;gap:9px}.block-top:has(.block-thumb){min-height:66px}.block-title .block-label{font-size:16px;font-weight:600;color:#505050;line-height:1.4}.block-title{gap:12px!important}.block-thumb{width:52px;height:34px;flex:0 0 52px}.block-icon-preview{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;color:#8a8a8a}.block-icon-preview svg,.block-icon-preview img{width:26px;height:26px;object-fit:contain;fill:currentColor}.selected-section{border-color:#839cc0;box-shadow:0 0 0 2px #eaf6da}.block-list-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.blocks-card>.section-title{align-items:flex-start;flex-wrap:wrap;gap:14px}.blocks-card>.section-title h2{padding-top:7px}.blocks-card>.section-title .block-list-actions{flex:1}.secondary-details>summary{font-size:12px}
/* Keep the phone centered in the available preview area. */
.preview-heading{justify-content:center;padding:18px 24px}.preview-scroll{justify-content:center;align-items:center;padding:20px;overflow:auto}.phone{align-self:center;margin:0!important;height:calc(100dvh - 190px);min-height:360px;max-height:820px;flex-shrink:0}.preview-panel{overflow:hidden}.reposition-frame{width:100%;aspect-ratio:1440/823;overflow:hidden;border-radius:8px;background:#f1f4f8;touch-action:none;position:relative}.reposition-frame img{width:100%;height:100%;object-fit:cover;display:block;user-select:none;pointer-events:none}.reposition-frame.can-reposition{cursor:grab}.reposition-frame.can-reposition:active{cursor:grabbing}#reposition-dialog{max-width:620px;width:calc(100% - 36px)}
@media(max-width:700px){.block-title .block-label{font-size:14px}.blocks-card>.section-title .block-list-actions{justify-content:flex-start;flex-basis:100%}.block-top{gap:5px}.phone{height:580px;max-height:none}}
.published-status:not(.is-published):before{background:#9ba8b6}

/* Scale the complete device uniformly; the page keeps its 375px viewport. */
.preview-scroll{overflow:hidden;flex-direction:row}
.phone-fit{position:relative;flex:none;width:391px;height:844px}
.preview-scroll .phone{position:absolute;top:0;left:0;width:391px;max-width:none;height:844px;min-height:0;max-height:none;box-sizing:border-box;transform:scale(var(--phone-scale,1));transform-origin:top left}
@media(max-width:700px){.preview-panel{height:calc(100dvh - 60px);min-height:0}.preview-scroll{min-height:0}}

.published-summary{flex-direction:column;align-items:flex-start;gap:6px}
.toolbar-actions .discard-draft{border-color:transparent;background:transparent;color:#a5505c;font-weight:500;padding:9px 10px}
.toolbar-actions .discard-draft:hover:not(:disabled){background:#fff3f4;color:#8e3442}
.toolbar-actions .discard-draft:disabled{opacity:.4}
.apply-colour{font-size:11px;color:#526e9e;background:#f6f8fc;border:1px solid #dce4ef;margin:0 0 14px;padding:8px 10px}
.two-fields:has(.apply-colour){display:block}
#discard-confirm{max-width:460px}.dialog-actions .danger{color:#a33849;border-color:#e1bac1;background:#fff5f6}
@media(max-width:480px){.toolbar{gap:8px;padding-left:12px;padding-right:12px}.toolbar-actions{gap:4px}.toolbar-actions .discard-draft{font-size:10px;padding:7px 4px}}

/* Editor hierarchy: headings sit above their control cards. */
#fields>.section-card{border:0;background:transparent;overflow:visible;margin-bottom:26px}
#fields>.section-card>.section-title{border:0;padding:0 0 12px;min-height:0}
#fields>.section-card>.section-title h2,#fields>.section-card>.section-title .section-expander,.outside-title{font-size:19px;font-weight:600;line-height:1.4}
#fields>.section-card>.section-body,#fields>.expandable-section>div:not(.action-control-card)>.section-body{border:1px solid #d8d8d8;border-radius:8px;background:#fff;padding:16px}
#fields>.expandable-section>div:not(.action-control-card)>.section-title{padding:0 0 12px;border:0}
#fields>.expandable-section>div:not(.action-control-card)>.section-title .section-expander{font-size:19px}
#fields>.expandable-section>div:not(.action-control-card)>.section-body[hidden]{display:none}
.outside-title{margin:0 0 12px}.action-control-card{border:1px solid #d8d8d8;border-radius:8px;background:#fff;box-shadow:0 2px 7px #334d6b06;overflow:hidden}
.action-control-card>.section-title{background:#f8f8f8;padding:15px}.action-control-card .section-body{border-top:1px solid #edf0f4}
.booking-row-summary{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.row-summary-text{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;text-align:left}
.action-summary{display:block;font-size:11px;font-weight:400;line-height:1.5;color:#888888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.block-title .row-summary-text{min-width:0}.block-title{min-width:0}.block-label{display:block}.booking-row-summary .block-label{font-size:16px;font-weight:600;color:#505050}
.blocks-list{padding:0}.blocks-card>.section-title h2{padding:0}
.promotion-edit{grid-template-columns:160px minmax(0,1fr);align-items:start}
.promotion-image{width:100%;aspect-ratio:1440/823;min-height:0;max-height:none;align-self:start}
.promotion-image img{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover}
.promotion-image-actions{display:flex;flex-wrap:wrap;gap:8px}.promotion-image-actions button{font-size:11px;padding:8px 10px}
.preview-modes [data-preview-mode=published]:before{content:'';width:6px;height:6px;display:inline-block;vertical-align:1px;border-radius:50%;margin-right:6px;background:#a5adba}
.preview-modes [data-preview-mode=published].is-live{color:#308262}.preview-modes [data-preview-mode=published].is-live:before{background:#38a475}.preview-modes [data-preview-mode=published].is-live.active{border-bottom-color:#38a475}
.preview-scroll{flex-direction:column;gap:12px}.preview-help{font-size:11px;line-height:1.5;color:#7b8797;text-align:center;margin:0;max-width:310px;flex:none}
.reposition-stage{padding:42px 0;overflow:hidden;background:repeating-conic-gradient(#edf0f4 0% 25%,#fafbfc 0% 50%) 50%/12px 12px;border-radius:8px}
.reposition-frame{overflow:visible;border-radius:0;background:transparent}
#reposition-image{position:relative;z-index:1;border-radius:0}
.reposition-frame .reposition-overflow{position:absolute;left:0;width:100%;max-width:none;opacity:.28;z-index:0;object-fit:fill}
.reposition-frame:after{content:'';position:absolute;inset:0;border:2px solid #5fbc00;box-shadow:0 0 0 1px #fff;pointer-events:none;z-index:2}
@media(max-width:1100px){.promotion-edit{grid-template-columns:130px minmax(0,1fr)}}
@media(max-width:480px){.promotion-edit{grid-template-columns:1fr}.promotion-image{max-width:220px}}

.preview-modes [data-preview-mode=published].is-live.active:after{background:#38a475}

.heading-row-summary .block-label{font-size:16px;font-weight:600;color:#505050;line-height:1.4;overflow-wrap:anywhere}.heading-row-summary .action-summary{white-space:normal;overflow-wrap:anywhere}.action-control-card .section-expander{min-width:0}

#publish-confirm .dialog-actions{justify-content:center}

.field .color-field .colour-hex{width:102px;min-height:33px;margin:0;padding:7px 9px;font-size:12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#52617a;background:#fff;border:1px solid #cccccc}.colour-hex[aria-invalid=true]{border-color:#b65a67!important}

#publish-success .publish-success-mark{margin-left:auto;margin-right:auto}#publish-success-title{text-align:center}

/* ClientCard CMS skin: editor chrome only. Phone content uses its own stylesheet. */
:root{--ink:#505050;--muted:#909090;--line:#ddd;--blue:#5fbc00;--soft:#f5f5f5;--teal:#5fbc00}
body{background:#f0f0f0;font-size:13px}
.toolbar{background:#fff;backdrop-filter:none;border-bottom:1px solid #ddd;box-shadow:0 1px 3px #00000005}
.brand{gap:7px;font-size:19px;color:#505050;font-weight:600;letter-spacing:-.4px}
.brand-logo{display:block;width:46px;height:46px;object-fit:contain}
.brand small{display:block;color:#909090;letter-spacing:1.5px;font-size:9px;font-weight:400;margin-top:3px}
button{border-radius:3px;color:#555;border-color:#ccc;background:linear-gradient(#fff,#f7f7f7);font-weight:500}
button:hover{background:#f0f0f0;border-color:#aaa}
button.primary{background:#55a900;border-color:#55a900;color:#fff;font-weight:600}
button.primary:hover{background:#499300;border-color:#499300}
.toolbar-actions #publish{min-width:90px;text-transform:uppercase;font-size:11px;letter-spacing:.2px}
.editor-panel{background:#f0f0f0;border-right:1px solid #ddd}
h1{font-size:25px;font-weight:600;letter-spacing:-.5px;color:#505050}
#fields>.section-card>.section-title h2,.outside-title{font-size:18px;font-weight:600;color:#555}
#fields>.section-card>.section-body,.action-control-card{border-radius:2px!important;box-shadow:none;border-color:#d8d8d8}
.action-control-card>.section-title{background:#f8f8f8}
.block,.block-top{border-radius:3px}.block{background:#fff;border-color:#d8d8d8}
.block-title .block-label,.booking-row-summary .block-label,.heading-row-summary .block-label{color:#505050;font-size:16px}
.selected-section{border-color:#5fbc00;box-shadow:0 0 0 1px #5fbc0026}
input:not([type=checkbox]):not([type=range]),textarea,select,.salon-name-input,.field input:not([type=color]){border-radius:2px;border-color:#ccc;color:#555}
input:focus,textarea:focus,select:focus{outline:2px solid #5fbc0033;border-color:#5fbc00}
input.switch:checked{background-color:#5fbc00;border-color:#5fbc00}
input[type=range]{accent-color:#5fbc00!important}
.tabs{gap:0;background:#f8f8f8;border-bottom:1px solid #ddd}
.tabs button{padding:14px 16px;color:#777;font-size:12px;font-weight:600;text-transform:uppercase}
.tabs button.active{color:#4e9c00}.tabs button.active:after{background:#5fbc00}
.action-types button.active,.logo-layout.active,.icon-picker button.active{border-color:#5fbc00;color:#4e9c00;background:#f8fff1;box-shadow:inset 0 0 0 1px #5fbc00}
.logo-layout,.segmented,.segmented button{border-radius:3px}.segmented button.active{color:#4e9c00;background:#fff;box-shadow:0 0 0 1px #5fbc00}
.layout-diagram>i{border-color:#9cbd79;background:#eff8e6}.active .layout-selected{background:#5fbc00;border-color:#5fbc00}
.publish-note{border-radius:2px;background:#f8f8f8;border-color:#ddd;color:#777}
.published-summary a{color:#64833f}.published-status.is-published{color:#4b8c15}
.preview-panel{background:#eeeeee}.preview-modes{border-color:#d6d6d6}.preview-modes button.active:after{background:#5fbc00}
.preview-modes [data-preview-mode=published].is-live{color:#4b8c15}.preview-modes [data-preview-mode=published].is-live:before{background:#5fbc00}
.add-block,.apply-colour{background:#fff;color:#539d13;border-color:#cbdcba;border-radius:3px}
.block-actions .visibility-button{color:#76a94c}.block-icon-preview{color:#999}
.hint,.action-summary,.preview-help{color:#909090}.field{color:#555}
dialog{border-radius:4px;color:#505050}dialog::backdrop{backdrop-filter:blur(3px)}
.background-notice{background:#f4f8ee;color:#648044;border-color:#dfe9d3;border-radius:2px}
.reposition-frame:after{border-color:#5fbc00}.toast{background:#333;border-radius:3px}

/* Background lives with the visual content controls, closed on first load. */
#fields>.background-accordion>summary{display:flex;align-items:center;gap:12px;padding:15px 16px;border:1px solid #d8d8d8;background:#fff;border-radius:3px;cursor:pointer;list-style:none}
.background-accordion>summary::-webkit-details-marker{display:none}
.background-accordion>summary h2{margin:0;font-size:18px;font-weight:600}
.background-accordion>summary>svg{width:17px;height:17px;flex:none;color:#888}
.background-accordion[open]>summary>svg{transform:rotate(180deg)}
.background-summary{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:1;min-width:0;color:#888;font-size:11px}
.background-summary img,.background-swatch{display:block;width:32px;height:24px;border:1px solid #ddd;border-radius:2px;object-fit:cover;flex:none}
#fields>.background-accordion[open]>.section-body{border-top:0;border-radius:0 0 3px 3px!important}
.background-accordion .base-colour-section{margin-top:0}

/* Measured CMS typography, with the studio's softer layout and clear hierarchy. */
body{font-family:'Open Sans',Arial,sans-serif;font-size:13px;line-height:1.6;background:#fff;color:#4e4e4e}
:root{--ink:#414846;--muted:#8a9390;--line:#e5e9e6;--soft:#f7f9f7}
.toolbar{background:#fff;border-color:#e5e9e6;box-shadow:0 2px 12px #243b2404}
.brand{font-size:18px;letter-spacing:-.5px;color:#36403a}.brand small{font-size:8px;color:#89948c;letter-spacing:1.8px}
.toolbar-actions button{border-radius:6px;padding:10px 15px;font-weight:600}
.toolbar-actions #publish{background:#5aaf08;border-color:#5aaf08;text-transform:none;font-size:12px;letter-spacing:0;box-shadow:0 2px 4px #4d8f001a}
.toolbar-actions #publish:hover{background:#4f9d00}
.editor-panel{background:#fff;border-color:#e5e9e6}
h1{font-size:27px;font-weight:700;line-height:1.3;letter-spacing:-.8px;color:#37423b}
.page-title{padding-top:30px}
.publish-note{border-radius:7px;border-color:#e6ece2;background:#f7faf4;color:#708065;padding:12px 14px;font-size:12px}
.tabs{background:transparent;gap:26px;border-color:#e6eae7;margin-top:6px}
.tabs button{padding:10px 0 14px;font-size:12px;text-transform:none;color:#8a938e;font-weight:600}
.tabs button.active{color:#4c9609}.tabs button.active:after{height:2px;background:#69b924}
#fields>.section-card{margin-bottom:25px}
#fields>.section-card>.section-title h2,.outside-title{font-size:17px;line-height:1.5;font-weight:700;color:#465149}
#fields>.section-card>.section-body,.action-control-card{border:1px solid #e0e6e1;border-radius:9px!important;background:#fff;box-shadow:0 2px 5px #223c2203}
.action-control-card>.section-title{padding:16px;background:#f8faf7}
.action-control-card .section-body{border-color:#e9ede8;padding:18px}
.block,.block-top{border-radius:8px}.block{border-color:#e0e6e1;box-shadow:0 2px 5px #223c2203;margin-bottom:10px}
.block-top{padding:14px 12px;min-height:74px}
.block-title .block-label,.booking-row-summary .block-label,.heading-row-summary .block-label{font-size:15px;font-weight:600;color:#445048}
.action-summary{font-size:11px;color:#8a958d;line-height:1.5}
.selected-section{border-color:#94bc72;box-shadow:0 0 0 2px #eef6e7}
button{background:#fff;border-color:#d9e0da;border-radius:6px;font-weight:600;color:#657168}
button:hover{background:#f5f9f1;border-color:#b6c9a8}
.field{font-size:12px;font-weight:600;color:#657168}.hint{font-size:11px;font-weight:400;color:#919b94;line-height:1.7}
input:not([type=checkbox]):not([type=range]),textarea,select,.salon-name-input,.field input:not([type=color]){border-color:#dce3dd;border-radius:6px;line-height:1.5;color:#465249;font-size:12px;padding:10px 11px}
.salon-name-input{font-size:14px!important}
.action-types button{padding:9px 12px;border-radius:5px;font-size:11px}
.action-types button.active,.logo-layout.active{background:#f5fbee;border-color:#8dbb68;box-shadow:0 0 0 1px #8dbb68;color:#568332}
.logo-layout{border-radius:7px}.layout-diagram>i{border-color:#a9bf98;background:#eef5e7}.layout-diagram b{background:#a9b4a3}
.segmented{background:#f4f7f2;border-radius:6px}.segmented button.active{border-radius:5px;box-shadow:0 1px 4px #3b592018;color:#638e41}
.add-block,.apply-colour{color:#668c49;background:#f9fcf6;border-color:#dbe7d0;border-radius:5px}
.preview-panel{background:#f3f5f2}.preview-modes{border-color:#dce3d8}.preview-modes button{font-size:12px;font-weight:600}
.preview-modes button.active{color:#425438}.preview-modes [data-preview-mode=published].is-live.active:after{background:#70ac3c}
.preview-help{font-size:11px;color:#94a08e}
#fields>.background-accordion>summary{border-color:#e0e6e1;border-radius:8px;background:#f8faf7;padding:15px 16px}
.background-accordion>summary h2{font-size:17px;font-weight:700;color:#465149}
#fields>.background-accordion[open]>.section-body{border-radius:0 0 8px 8px!important}
dialog{border-radius:12px;box-shadow:0 24px 70px #243b2426}dialog h2{font-size:21px;font-weight:700;color:#414c43}

/* Original supplied wordmark: retain its exact lettering rather than approximating a font. */
.brand-lettering{display:flex;flex-direction:column;gap:4px}.brand-wordmark{display:block;width:125px;height:26px;object-fit:contain;filter:grayscale(1) invert(1);mix-blend-mode:multiply}.brand .brand-lettering small{margin:0;font-size:8px;letter-spacing:1.8px;line-height:1.2}

/* Hidden sections remain editable, but the entire card reads as inactive. */
.blocks-list>.block.muted{background:#f2f3f2;border-color:#dfe2df;box-shadow:none}
.block.muted>.block-top{background:#f2f3f2}
.block.muted .block-label,.block.muted .block-number{color:#929a94}
.block.muted .action-summary{color:#a1a8a2}
.block.muted .block-thumb,.block.muted .block-icon-preview{filter:grayscale(1);opacity:.5}
.block.muted .block-actions .visibility-button{color:#929a94}
.block.muted .block-body{background:#f8f9f8;opacity:1}
.block.muted.selected-section{border-color:#b4c3aa;box-shadow:0 0 0 2px #edf1e9}

/* Minimal neutral overlay slider; hover does not change its appearance. */
.overlay-section input[type=range]{appearance:none;-webkit-appearance:none;height:18px;background:transparent;border:0;padding:0;accent-color:#929995!important;box-shadow:none;transition:none}
.overlay-section input[type=range]:hover,.overlay-section input[type=range]:focus{background:transparent;box-shadow:none;border:0;outline:none}
.overlay-section input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:#d9ddda;border:0}
.overlay-section input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:14px;height:14px;margin-top:-5px;background:#929995;border:0;border-radius:50%;box-shadow:none;transition:none}
.overlay-section input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:#d9ddda;border:0}
.overlay-section input[type=range]::-moz-range-progress{height:4px;background:#d9ddda}
.overlay-section input[type=range]::-moz-range-thumb{width:14px;height:14px;background:#929995;border:0;border-radius:50%;box-shadow:none}
.overlay-section input[type=range]:focus-visible{outline:2px solid #9aa49d;outline-offset:4px;border-radius:3px}

/* Colour inputs are swatches, not text fields: remove text-input padding. */
.color-field input[type=color]{appearance:none;-webkit-appearance:none;display:block;flex:0 0 34px;width:34px;height:34px;min-height:34px;margin:0;padding:0;border:1px solid #d2dad3;border-radius:5px;overflow:hidden;background:transparent;cursor:pointer}
.color-field input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.color-field input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}
.color-field input[type=color]::-moz-color-swatch{border:0;border-radius:3px}
