/* IBA GROW V2.9 – client-friendly, page-by-page website content editor. */
#view-content{--editor-forest:#193e30;--editor-muted:#667a6b;--editor-line:#dfe9de;--editor-soft:#f7faf5;--editor-accent:#e0efb9;max-width:1480px;padding-bottom:40px}
#view-content *{box-sizing:border-box}
.editor-v29-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px}.editor-v29-head h2{font-size:24px;line-height:1.35;margin:5px 0 6px;color:var(--editor-forest);letter-spacing:-.035em}.editor-v29-head p{color:#657869;font-size:12px;line-height:1.7;max-width:720px}.editor-v29-head>a{white-space:nowrap}
.editor-steps{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 17px;padding:12px 17px;border:1px solid #e4ede0;background:#f1f6ec;border-radius:12px}.editor-steps span{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#3b6749;white-space:nowrap}.editor-steps span:not(:last-child)::after{content:'→';font-size:13px;color:#9aad96;margin:0 16px 0 10px}.editor-steps b{display:inline-grid;place-items:center;width:24px;height:24px;background:#dbeacb;border-radius:50%;font-size:11px;color:#224b32}
.editor-page-panel,.editor-sections-panel,.editor-main-panel{background:white;border:1px solid var(--editor-line);border-radius:14px;box-shadow:0 9px 30px rgba(27,67,39,.035)}.editor-page-panel{padding:20px 22px 21px;margin-bottom:17px}
.editor-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.editor-step-label{font-size:9px!important;font-weight:900;color:#578369;letter-spacing:.12em;text-transform:uppercase}.editor-group-heading h3,.editor-current-page h3{font-size:16px;line-height:1.4;color:#244b34;margin-top:3px;letter-spacing:-.02em}.editor-hint-count{font-size:11px;color:#668372}
.editor-page-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.editor-page-tab{appearance:none;cursor:pointer;background:#fbfcfa;text-align:left;border:1px solid #e4ede2;border-radius:11px;padding:13px 12px;display:grid;grid-template-columns:25px 1fr;grid-template-rows:auto auto auto;gap:2px 7px;transition:background .12s,border-color .12s,box-shadow .12s;color:#314f3d;min-width:0}.editor-page-tab .page-tab-icon{grid-row:1/4;font-size:23px;color:#658e73;align-self:start;line-height:1.2}.editor-page-tab strong{display:block;font-size:12px;white-space:nowrap}.editor-page-tab small{display:block;color:#89988c;font-size:10px}.editor-page-tab em{display:block;font-style:normal;color:#779282;font-size:10px;margin-top:5px}.editor-page-tab:hover{border-color:#aac7ac;background:#f3f8f0}.editor-page-tab.active{border:2px solid #326644;background:#eaf4e4;padding:12px 11px;box-shadow:0 0 0 2px rgba(67,113,75,.06)}.editor-page-tab.active .page-tab-icon{color:#28623e}.editor-page-tab.active strong{color:#1e4e34}
.editor-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;align-items:start}.editor-sections-panel{padding:20px 12px;position:sticky;top:15px;max-height:min(83vh,780px);overflow:auto}.editor-sections-panel .editor-group-heading,.editor-sections-panel .editor-side-note{margin-left:7px;margin-right:7px}.editor-sections-panel .editor-group-heading{margin-bottom:5px}.editor-side-note{font-size:10px;color:#819286;line-height:1.5;margin-bottom:13px}.editor-sections-list{display:flex;flex-direction:column;gap:3px}.editor-section-btn{display:flex;justify-content:space-between;align-items:start;text-align:left;width:100%;cursor:pointer;gap:8px;border:1px solid transparent;background:transparent;padding:10px 10px;border-radius:8px;color:#456452;font:inherit;font-size:11px;line-height:1.45}.editor-section-btn span{flex:1}.editor-section-btn small{display:inline-flex;align-items:center;justify-content:center;flex:none;font-weight:800;font-size:10px;min-width:23px;padding:1px 5px;border-radius:6px;color:#779181;background:#eff5ed}.editor-section-btn:hover{background:#f2f7f0}.editor-section-btn.active{background:#e7f3df;color:#245a38;font-weight:900;border-color:#d1e6c4}.editor-section-btn.active small{color:#24613d;background:#d9ebcd}.editor-side-tip{margin:20px 4px 0;padding:14px;background:#f2f6ee;border-radius:10px;border:1px solid #e5eee0}.editor-side-tip strong{font-size:11px;color:#306342}.editor-side-tip p{margin-top:6px;font-size:10px;line-height:1.7;color:#678073}.inline-link{display:inline;color:#2b6740;font-size:inherit;font-weight:800;border:0;background:none;cursor:pointer;text-decoration:underline;padding:0}
.editor-main-panel{padding:0;overflow:hidden;min-width:0}.editor-current-page{padding:22px 24px 17px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #eff2ec}.editor-current-page p{font-size:11px;color:#75897c;line-height:1.6;margin-top:4px}.editor-current-page>a{white-space:nowrap;font-size:11px}
.editor-find-tools{display:flex;gap:12px;align-items:center;padding:18px 24px 12px}.editor-search-label{position:relative;flex:1;min-width:0;margin:0}.editor-search-label span{position:absolute;top:11px;left:13px;color:#688372;font-size:20px;line-height:1}.editor-search-label input{width:100%;padding:12px 14px 12px 40px;min-height:44px;border:1px solid #d7e3d5;border-radius:9px;font-size:12px;outline:none}.editor-search-label input:focus{outline:2px solid #bddcb0;outline-offset:1px}.editor-global-search,.editor-modified-filter{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:10px;font-weight:750;color:#577462;cursor:pointer}.editor-global-search input,.editor-modified-filter input{accent-color:#356a46}
.editor-types{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:0 24px 15px}.editor-type-tab{cursor:pointer;white-space:nowrap;border:1px solid #e2eae0;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:800;color:#557560;background:#f9fbf8;display:flex;align-items:center;gap:6px}.editor-type-tab small{font-size:9px;font-weight:800;color:#7a9884;background:#edf3eb;padding:2px 6px;border-radius:20px}.editor-type-tab.active{background:#2a5d3e;color:white;border-color:#2a5d3e}.editor-type-tab.active small{background:#507e5e;color:#fff}.editor-type-tab:hover:not(.active){background:#eef5e9}
.editor-results-head{border-top:1px solid #edf1e9;background:#fafcf8;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-results-head>div{display:flex;flex-direction:column;gap:3px}.editor-results-head strong{font-size:12px;color:#2b5740}.editor-results-head span{font-size:10px;color:#8a9c8d}.editor-content-list{display:flex;flex-direction:column;gap:0}.editor-item{padding:20px 24px 17px;border-top:1px solid #edf1ea;background:white}.editor-item:first-child{border-top:none}.editor-item:hover{background:#fdfefc}.editor-item.field-dirty{background:#fffbf1;border-left:3px solid #c29b40;padding-left:21px}
.editor-item-head{display:flex;gap:12px;align-items:flex-start}.editor-item-number{width:27px;height:27px;background:#edf4e8;border-radius:8px;color:#557968;display:grid;place-items:center;flex:none;font-weight:900;font-size:10px}.editor-item-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.editor-item-meta>span{font-size:10px;color:#789285;line-height:1.5}.editor-item-meta>strong{font-size:12px;color:#30563e}.editor-item-status{font-size:9px;color:#97a49a;text-transform:uppercase;font-weight:900;white-space:nowrap;letter-spacing:.03em;padding:4px 7px;border-radius:20px;background:#f1f4ef}.editor-item-status.changed{color:#39734b;background:#eaf5e6}.editor-item-status.unsaved{color:#996b25;background:#fff0d5}
.editor-item-body{margin:12px 0 10px 39px}.editor-preview-heading{display:block;font-size:9px;letter-spacing:.06em;font-weight:800;color:#819985;margin-bottom:7px}.editor-current-value{font-size:13px;color:#253d31;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:13px 15px;border:1px solid #e9eee6;background:#fafcf9;border-radius:9px}.editor-empty-text{color:#b3bcb2;font-style:italic}.editor-current-url{margin-top:7px;color:#667d6e;overflow-wrap:anywhere;font-size:10px;line-height:1.6}.editor-draft-preview{font-size:11px;color:#9c7228;margin-top:8px;overflow-wrap:anywhere;line-height:1.5}.editor-draft-preview span{color:#4a4a39}
.editor-asset-preview{border:1px solid #e3ebe0;border-radius:10px;background:repeating-linear-gradient(45deg,#f4f7f2 0,#f4f7f2 12px,#eaf0e8 12px,#eaf0e8 24px);height:170px;max-width:420px;display:flex;justify-content:center;align-items:center;overflow:hidden}.editor-asset-preview img{max-width:100%;max-height:100%;object-fit:contain}.editor-asset-preview video{max-width:100%;max-height:100%}.editor-asset-preview.missing-media:after{content:'Preview unavailable — check file URL';font-size:11px;color:#8b998b;padding:15px}.editor-item-actions{margin-left:39px;display:flex;align-items:center;justify-content:space-between;gap:10px}.editor-field-id{color:#acb7ac;font-size:9px}.editor-edit-toggle{border:1px solid #cfe0ce;border-radius:8px;color:#2b6642;padding:9px 12px;background:#edf5e9;cursor:pointer;font-size:11px;font-weight:850}.editor-edit-toggle:hover{background:#deeed5}.editor-edit-toggle:focus-visible,.editor-section-btn:focus-visible,.editor-type-tab:focus-visible,.editor-page-tab:focus-visible{outline:3px solid #accd86;outline-offset:2px}
.editor-edit-box{margin:15px 0 0 39px;background:#f5f9f2;border:1px solid #d5e6d0;border-radius:10px;padding:15px}.editor-edit-box>label{display:block;font-size:11px;font-weight:900;color:#3c6349;margin-bottom:7px}.editor-edit-box input[data-edit-input],.editor-edit-box textarea{width:100%;min-height:46px;border:1px solid #cadbc9;border-radius:8px;padding:11px 12px;font:inherit;font-size:12px;color:#2b4f39;background:white;outline:none;resize:vertical;line-height:1.65}.editor-edit-box textarea{min-height:76px}.editor-edit-box input:focus,.editor-edit-box textarea:focus{border-color:#70a479;box-shadow:0 0 0 3px #dceccf}.editor-edit-footer{display:flex;align-items:center;justify-content:flex-end;gap:11px;flex-wrap:wrap;margin-top:12px}.editor-edit-footer .primary{padding:11px 16px}.editor-edit-footer button{font-size:11px}.editor-edit-footer .editor-restore{margin-right:auto}.editor-upload-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:11px}.editor-file-label{position:relative;display:inline-flex;align-items:center;border-radius:9px;padding:9px 12px;background:#e5eee2;color:#335e43;font-size:10px;font-weight:850;cursor:pointer;overflow:hidden}.editor-file-label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.editor-file-label.upload-disabled{color:#85948b;background:#e8ede7;cursor:not-allowed}.editor-upload-tools small{font-size:10px;color:#859389;line-height:1.5;max-width:430px}
.editor-load-more{text-align:center;padding:16px 20px;border-top:1px solid #edf2e9}.editor-load-more button{min-width:200px}.editor-no-results{padding:48px 22px;text-align:center}.editor-no-results strong{font-size:14px;color:#4d6b55}.editor-no-results p{font-size:11px;margin:8px 0 16px;color:#718576}
.editor-savebar{position:sticky;z-index:8;bottom:12px;background:#fff;border:1px solid #cddfc9;box-shadow:0 10px 30px rgba(20,65,39,.13);border-radius:12px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 0}.editor-savebar strong{display:block;font-size:12px;color:#3d7950}.editor-savebar strong.is-dirty{color:#a77124}.editor-savebar p{color:#879b8c;font-size:10px;margin:5px 0 0}.editor-save-actions{display:flex;align-items:center;gap:8px}.editor-save-actions .primary,.editor-save-actions .button{white-space:nowrap;font-size:11px}.editor-footnote{line-height:1.75!important;margin:18px 1px 0;font-size:11px!important;color:#718679}
@media(max-width:1220px){.editor-workspace{grid-template-columns:205px minmax(0,1fr)}.editor-current-page,.editor-find-tools,.editor-results-head{padding-left:18px;padding-right:18px}.editor-types{padding-left:18px;padding-right:18px}.editor-item{padding-left:18px;padding-right:18px}.editor-page-tabs{gap:6px}.editor-page-tab{padding:11px 8px}.editor-page-tab.active{padding:10px 7px}.editor-page-tab .page-tab-icon{font-size:18px}}
@media(max-width:1050px){.editor-page-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-workspace{grid-template-columns:1fr}.editor-sections-panel{position:static;max-height:none}.editor-sections-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.editor-side-tip{margin-top:13px}.editor-side-note{display:none}}
@media(max-width:700px){.editor-page-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-page-panel{padding:15px}.editor-steps span:not(:last-child)::after{margin-right:5px;margin-left:0}.editor-find-tools{flex-direction:column;align-items:stretch;gap:8px}.editor-sections-list{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-v29-head{align-items:flex-start;flex-direction:column}.editor-current-page{align-items:flex-start;flex-direction:column}.editor-types{gap:6px}.editor-results-head{align-items:flex-start}.editor-item{padding:15px 12px}.editor-item.field-dirty{padding-left:9px}.editor-item-head{gap:7px}.editor-item-body,.editor-item-actions,.editor-edit-box{margin-left:0}.editor-savebar{position:static;flex-direction:column;align-items:stretch}.editor-save-actions{justify-content:space-between;flex-wrap:wrap}.editor-save-actions .primary{flex:1}.editor-edit-footer .primary{flex:1}.editor-item-status{font-size:8px}}
@media(max-width:420px){.editor-sections-list{grid-template-columns:1fr}.editor-page-tabs{grid-template-columns:1fr 1fr}.editor-page-tab{grid-template-columns:1fr}.editor-page-tab .page-tab-icon{display:none}.editor-steps{gap:7px}.editor-steps span{font-size:9px}.editor-steps span:not(:last-child)::after{display:none}.editor-type-tab{font-size:10px}}
@media(prefers-reduced-motion:reduce){#view-content *{scroll-behavior:auto!important;transition:none!important}}
