:root{color:#1c1915;background:#f3efe6;font-family:Segoe UI,sans-serif;font-size:15px;line-height:1.4}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit;color:inherit}button{background:#0f6b4c;color:#fff;border:0;border-radius:6px;padding:.45rem .75rem;cursor:pointer}button:disabled{opacity:.45;cursor:default}button.danger{background:#8d3b2f}button.active{outline:2px solid #0f6b4c}.boot,.login{min-height:100vh;display:grid;place-items:center}.login form,.field,.block,.i18n{background:#fff;border:1px solid #e2dacb;border-radius:10px}.login form{width:min(420px,calc(100% - 2rem));padding:1.5rem;display:grid;gap:.8rem}.login h1{margin:0}.shell{min-height:100vh;display:grid;grid-template-columns:280px 1fr;grid-template-rows:auto 1fr}header{grid-column:1 / -1;display:flex;gap:1rem;align-items:center;padding:.7rem 1rem;background:#1c1915;color:#f3efe6}header button{margin-left:auto;background:transparent;border:1px solid #8c8478}aside{padding:.8rem;overflow:auto;background:#ebe4d6}aside input,.field input,.field textarea,.file-row input[type=text],.file-row>input:not([type=file]){width:100%;border:1px solid #d9d0c1;border-radius:6px;padding:.4rem .5rem;background:#fff}aside ul{list-style:none;padding:0;margin:.7rem 0 0;display:grid;gap:.35rem}aside li button{width:100%;text-align:left;background:#fff;color:inherit;display:grid;gap:.15rem}aside small{color:#5e584f}.work{min-width:0}.editor{display:grid;grid-template-columns:minmax(0,1fr) 420px;min-height:calc(100vh - 52px)}.form,.preview{padding:1rem 1.1rem 2rem;min-width:0}.preview{background:#e7efe9;border-left:1px solid #d5ddd7}.form-head,.list-head,.file-row{display:flex;gap:.6rem;align-items:center;justify-content:space-between}.form-head h1,.preview h2{margin:0;font-size:1.25rem}.form-head p{margin:.2rem 0 0;color:#5e584f}.field,.i18n,.block,.list{margin:.7rem 0}.field{display:grid;gap:.25rem;padding:.55rem .7rem}.field span,.i18n legend,.block legend{font-size:.82rem;color:#5e584f}.field-head{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.field-head button,.html-toolbar button{background:#fff;color:#1c1915;border:1px solid #cfc6b6}.field-head button.active,.html-toolbar button.active{background:#0f6b4c;color:#fff}.html-editor{display:grid;gap:.35rem}.html-toolbar{display:flex;flex-wrap:wrap;gap:.3rem}.html-surface{border:1px solid #d9d0c1;border-radius:6px;padding:.45rem .55rem;background:#fff}.html-surface .ProseMirror{outline:none;min-height:5.5rem}.html-surface .ProseMirror p{margin:0 0 .45rem}.html-surface .ProseMirror p:last-child{margin-bottom:0}.html-surface small{font-size:.85em}.i18n,.block{padding:.6rem .7rem .2rem}.pair{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.file-row img{width:72px;height:48px;object-fit:cover;border-radius:4px;background:#eee}.field video{width:100%;max-height:240px;background:#111;border-radius:6px}.field a{font-size:.85rem}.file-row input[type=file]{max-width:220px}.check{display:flex;gap:.4rem;align-items:center;margin:.4rem 0}.list-head{align-items:flex-start}.list-head h3{margin:.4rem 0;font-size:1rem}.add{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}.add button,.tools button{background:#fff;color:#1c1915;border:1px solid #cfc6b6}.tools{display:inline-flex;gap:.3rem}.block summary{cursor:pointer;display:flex;justify-content:space-between;gap:.5rem;align-items:center}.note,.readonly,small{color:#5e584f}.error{color:#8d3b2f}.notice{color:#0f6b4c}.preview iframe{width:100%;height:calc(100vh - 150px);min-height:520px;border:1px solid #c5d2c9;background:#111;border-radius:8px}.preview a{display:inline-block;margin-top:.5rem}@media(max-width:1100px){.shell{grid-template-columns:1fr}aside ul{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.editor{grid-template-columns:1fr}.preview{border-left:0;border-top:1px solid #d5ddd7}}
