*{box-sizing:border-box}body{margin:0;background:#f5f3ee;color:#263633;font:15px/1.6 system-ui,sans-serif}header{height:66px;border-bottom:1px solid #d8ded8;display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:white}a{color:#235e52;text-decoration:none}main{display:grid;grid-template-columns:340px 1fr;min-height:calc(100vh - 66px)}aside{padding:24px;max-height:calc(100vh - 66px);overflow:auto}h1{font-size:29px;line-height:1.35;margin:10px 0}h2{font-size:17px}p{margin:12px 0}.eyebrow{font-size:11px;letter-spacing:3px;color:#6a8378}section{border-top:1px solid #d9dfd8;margin-top:20px;padding-top:12px}label{display:block;margin:10px 0}input{display:block;width:100%;padding:10px;border:1px solid #ccd5ce;border-radius:6px;background:white;font:inherit}button{border:0;border-radius:6px;padding:11px 15px;background:#275b4e;color:white;font:inherit;cursor:pointer}button:disabled{opacity:.5;cursor:wait}.secondary{background:#e1e9e3;color:#25483c;width:100%;margin-top:18px}small{display:block;font-size:12px;color:#68776e;margin-top:10px}.item{display:flex;align-items:center;gap:7px;margin:7px 0}.item button:first-child{flex:1;text-align:left;background:white;color:#274b3f;border:1px solid #d6ded7}.item button.remove{padding:6px;background:#f0dfdb;color:#76392c}.item button.active{border-color:#275b4e;background:#e0ebe2}article{min-width:0;padding:20px;background:#e6eae5}.toolbar{display:flex;align-items:center;gap:15px;margin-bottom:12px}.toolbar strong{flex:1}.toolbar button{padding:6px 12px}iframe{display:block;width:100%;height:calc(100vh - 172px);min-height:460px;border:0;border-radius:9px;background:#171b1a}.note{font-size:12px;color:#5d7165}#status{white-space:pre-wrap;font-size:13px}@media(max-width:850px){main{grid-template-columns:1fr}aside{max-height:none}header{padding:0 14px;font-size:12px}article{padding:12px}iframe{height:70vh}.toolbar{flex-wrap:wrap}}
.toolbar #preview-title{flex:1;min-width:150px;width:auto;background:#f7faf6;font-weight:600}.toolbar{flex-wrap:wrap}

#flow-update,#flow-new{display:block;width:100%;margin-top:9px}#slug:read-only{background:#e4e9e4;color:#5e6d65}#flow-report{font-size:13px;color:#275b4e}

header{position:relative;z-index:3;min-height:66px;height:auto;flex-wrap:wrap;gap:12px;padding-block:12px}article{position:relative;min-width:0;overflow:hidden}.toolbar{position:relative;z-index:2}.toolbar #preview-title{max-width:100%}iframe{position:relative;z-index:0}aside{position:relative;z-index:1}.toolbar a{white-space:nowrap}

#preview-status{margin:0 0 10px;padding:8px 12px;border-radius:6px;background:#fff;min-height:36px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}#preview-status:empty{display:none}

.item .gallery-size{display:block;margin:5px 0 0;color:#637a70;font-size:11px;line-height:1.3;font-weight:400}

/* File size labels stay inside the button on narrow screens. */
.action-with-size{display:flex!important;flex-direction:column;gap:6px;align-items:stretch}.action-label{display:block;overflow-wrap:anywhere}.action-size{display:block;align-self:flex-end;font-size:11px;font-weight:400;line-height:1.4;opacity:.85;text-align:right;overflow-wrap:anywhere;max-width:100%}

.order-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.order-heading h2{margin-right:auto}.order-heading button{padding:7px 10px}.order-heading .order-cancel{background:#e1e9e3;color:#25483c}.order-status{font-size:12px;color:#59736a;margin:0 0 10px}.item{position:relative}.item button:first-child{min-width:0;overflow-wrap:anywhere}.item .order-handle{flex:none;padding:8px 5px;background:transparent;color:#426b5b;cursor:grab;font-size:20px;touch-action:auto}.item .order-handle:focus-visible{outline:2px solid #275b4e}.item.order-dragging{opacity:.45}.item.order-before{box-shadow:0 -3px #2a8273}.item.order-after{box-shadow:0 3px #2a8273}

.entry-actions{display:grid;grid-template-columns:auto auto;gap:5px;flex:none;align-items:center}.entry-actions .entry-visibility{grid-column:1/-1;display:flex;align-items:center;gap:5px;margin:0 0 3px;color:#597367;font-size:12px;cursor:pointer;white-space:nowrap}.entry-visibility input{display:inline-block;width:16px;height:16px;margin:0;accent-color:#275b4e}.item .entry-actions button.remove{background:#f0dfdb;color:#76392c;text-align:center;flex:none}.item.hidden-from-home>button:first-child{background:#eee;color:#6e7a74;border-style:dashed}
