.editor-panel,.editor-viewbar{--editor-paper: #f2efe9;--editor-ink: #282822;--editor-line: #c5c0b4;--editor-accent: #ad392d;position:fixed;z-index:20;box-sizing:border-box;background:var(--editor-paper);color:var(--editor-ink);font:12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.editor-panel{top:0;right:0;bottom:0;width:260px;overflow:auto;padding:12px;border-left:1px solid #918b7e}.editor-viewbar{top:0;left:0;right:260px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px 0;border-bottom:1px solid #918b7e}.editor-title{font-size:14px;font-weight:800;letter-spacing:.07em;padding-bottom:4px;overflow-wrap:anywhere}.editor-panel button,.editor-viewbar button{color:inherit;font:inherit;background:#e8e4db;border:1px solid #b7b0a2;border-radius:4px;min-height:30px;padding:4px 8px;cursor:pointer;white-space:nowrap}.editor-panel button:hover,.editor-viewbar button:hover{background:#ded8ca;border-color:#777164}.editor-panel button:disabled,.editor-viewbar button:disabled{opacity:.4;cursor:default}.editor-panel button.is-active,.editor-viewbar button.is-active{background:#34352e;border-color:#34352e;color:#fffefa}.editor-panel button.editor-primary,.editor-viewbar button.editor-primary{background:var(--editor-accent);border-color:var(--editor-accent);color:#fff}.editor-panel :focus-visible,.editor-viewbar :focus-visible{outline:2px solid var(--editor-accent);outline-offset:2px}.editor-panel input,.editor-panel select,.editor-panel textarea{color:inherit;font:inherit;background:#fffefa;border:1px solid #b7b0a2;border-radius:3px;padding:5px;width:100%;box-sizing:border-box;min-width:0}.editor-panel select{margin:3px 0 8px}.editor-panel label{display:block;color:#625e54;font-size:11px;margin-bottom:8px}.editor-panel label input{display:block;margin-top:3px;color:var(--editor-ink)}.editor-panel details{border-top:1px solid var(--editor-line);margin-top:10px;padding-top:9px}.editor-panel summary{font-weight:700;cursor:pointer;margin-bottom:8px;-webkit-user-select:none;user-select:none}.editor-size-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.editor-size-fields input{font-size:18px;padding:5px 6px;font-weight:600}.editor-anchor-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.editor-muted{display:block;font-size:10px;color:#716b5e;margin-top:4px}.editor-anchor-grid{display:grid;grid-template-columns:repeat(3,25px);gap:2px;flex-shrink:0}.editor-anchor-grid button{min-height:24px;height:24px;padding:0}.editor-tools{display:grid;grid-template-columns:1fr 1fr;gap:4px}.editor-tools button{display:flex;align-items:center;text-align:left;font-size:11px;padding:5px 6px}.editor-tools kbd{font:inherit;opacity:.6;margin-right:7px}.editor-tools button.editor-patrol-tool{color:#9b470e;border-color:#c77938;background:#f7e6d4}.editor-tools button.editor-patrol-tool.is-active{color:#fffefa;background:#a84b12;border-color:#a84b12}.editor-overview{display:block;width:100%;height:108px;box-sizing:border-box;cursor:crosshair;touch-action:none;border-radius:3px}.editor-bar-group{display:flex;align-items:center;gap:4px}.editor-main-actions{margin-left:auto}.editor-zoom{display:block;min-width:45px;text-align:center;font-variant-numeric:tabular-nums}.editor-view-status{flex-basis:100%;display:flex;gap:12px;justify-content:space-between;font-size:10px;color:#716b5e;padding:4px 0 5px}.editor-view-status>:first-child{color:#49463e}.editor-button-row{display:flex;gap:5px;margin:6px 0}.editor-button-row button{flex:1;padding-left:5px;padding-right:5px;font-size:11px}.editor-full{width:100%}.editor-resize-notice{margin-top:8px;padding:8px;background:#eee1cc;border-left:3px solid #ad392d;font-size:11px}.editor-help{color:#716b5e;font-size:11px;line-height:1.65}.editor-feedback{position:sticky;bottom:-12px;background:#f2efe9;box-shadow:0 -4px 8px #f2efe9;color:#973427;font-size:11px;overflow-wrap:anywhere}.editor-feedback:not(:empty){padding:8px 0;border-top:1px solid var(--editor-line)}.editor-panel [hidden],.editor-viewbar [hidden]{display:none!important}@media(max-width:800px){.editor-viewbar{gap:4px;padding-left:6px;padding-right:6px}.editor-viewbar button{font-size:11px;padding:4px 6px}.editor-view-status>span{display:none}}@media(max-width:560px){.editor-panel{width:220px;padding:9px}.editor-viewbar{right:220px}.editor-bar-group{flex-wrap:wrap}.editor-main-actions{margin-left:0}}
