*{box-sizing:border-box}body{margin:0;background:#f5f3ec;color:#172521;font:15px/1.6 'Segoe UI',sans-serif}main{max-width:1600px;margin:auto;padding:24px}header{display:flex;align-items:center;gap:20px;margin-bottom:32px}header a{font-size:24px;font-weight:700;color:inherit;text-decoration:none}header span{color:#69736b}header button{margin-left:auto;width:auto}.panel{padding:30px;background:#fff;border:1px solid #e2e4dd;border-radius:18px}.login{max-width:420px;margin:70px auto}h1{font-size:27px;line-height:1.2;margin:0 0 18px}p{color:#5d695f}label{display:block;font-weight:600;margin-bottom:8px}input{border:1px solid #c9d0c5;border-radius:9px;padding:12px;font:inherit;width:100%}button{width:100%;border:0;border-radius:9px;padding:12px 18px;background:#173e32;color:#fff;font:600 14px 'Segoe UI',sans-serif;cursor:pointer}button:disabled{opacity:.5;cursor:wait}form>button{margin-top:16px}.editor-grid{display:grid;grid-template-columns:330px 1fr;gap:24px;align-items:start}.kicker{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#6a7a69}.color-row{display:flex;gap:12px}.color-row input[type=color]{width:68px;height:48px;padding:4px}.presets{display:flex;gap:10px;margin:18px 0}.presets button{width:30px;height:30px;background:var(--swatch);border:2px solid #fff;box-shadow:0 0 0 1px #d4d9d0;border-radius:50%;padding:0}.hint{font-size:12px}.secondary{background:#eff2eb;color:#324a3c}.preview-wrap{border:1px solid #dde2d9;border-radius:14px;overflow:hidden;background:#fff}.preview-label{padding:12px 18px;font-size:12px;color:#5d695f;border-bottom:1px solid #dde2d9}iframe{width:100%;height:75vh;border:0;display:block}#status{padding:10px 0}#status[data-error=true]{color:#a42727}[hidden]{display:none!important}input:focus-visible,button:focus-visible{outline:3px solid #c1a334;outline-offset:3px}@media(max-width:800px){main{padding:16px}.editor-grid{grid-template-columns:1fr}.preview-wrap iframe{height:60vh}header span{display:none}}

/* Scroll settings independently from the site preview. */
.editor-grid > aside.panel {
 max-height:calc(100dvh - 150px);
 overflow-y:auto;
 overscroll-behavior-y:contain;
 scrollbar-gutter:stable;
 scrollbar-width:thin;
 scrollbar-color:#a8b5a9 transparent;
}
.editor-grid > aside.panel::-webkit-scrollbar{width:7px}
.editor-grid > aside.panel::-webkit-scrollbar-thumb{background:#a8b5a9;border-radius:8px}
@media(max-width:800px){.editor-grid > aside.panel{max-height:70dvh}}

fieldset{min-width:0;margin:24px 0;padding:18px;border:1px solid #e2e7df;border-radius:12px}
fieldset legend{padding:0 8px;font-weight:600}
fieldset label{margin-top:18px;font-size:13px}
.identity-color-row{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:center}
.identity-color-row input{height:48px;min-width:0}
.identity-color-row input[type=color]{padding:5px;cursor:pointer;background:#fff}
.identity-color-row input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.identity-color-row input[type=color]::-webkit-color-swatch{border:0;border-radius:5px}
fieldset .secondary{margin:10px 0 12px;padding:9px 12px;background:transparent;border:1px solid #d9e0d6;color:#53644f;font-size:12px;font-weight:500}
fieldset .secondary:hover{background:#f2f5ef;border-color:#acbaa6}

.toggle-row{display:flex;align-items:center;gap:10px;padding:12px 0}.toggle-row input{width:18px;height:18px;margin:0;accent-color:#173e32}

.team-editor{margin-bottom:24px}
.team-editor summary{cursor:pointer;font-size:20px;font-weight:700}
.team-editor [data-error="true"]{color:#a42727}
.team-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.team-member{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;margin:0;padding:14px}
.team-member img{width:68px;height:86px;border-radius:8px;object-fit:cover;background:#eff2eb}
.team-member label{margin:0 0 10px}
.team-member label span{display:block;margin-bottom:4px}
.team-member input{min-width:0;padding:7px;font-size:14px}
.team-member .remove-member{width:auto;margin:0;color:#962d2d}
.team-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.team-actions button{width:auto}
