*{box-sizing:border-box}body{margin:0;font:14px/1.5 Arial,sans-serif;background:#1e1f22;color:#e0e0e0}button,input,textarea,select{font:inherit}button,select{border:1px solid var(--edge);border-radius:4px;background:var(--button);color:var(--ink);padding:7px 12px;min-height:36px}button{cursor:pointer}button:hover{filter:brightness(1.15)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #86b9f0;outline-offset:2px}a{color:inherit;text-underline-offset:4px}.workspace{--bg:#1e1f22;--ink:#e0e0e0;--paper:#23252b;--edge:#343842;--button:#2a2d34;background:var(--bg);color:var(--ink);min-height:100vh;display:flex;flex-direction:column}.workspace[data-theme="Office Light"]{--bg:#f3f3f3;--ink:#333;--paper:#fff;--edge:#adadad;--button:#f0f0f0}.workspace[data-theme="Classic Light"]{--bg:#fff;--ink:#000;--paper:#fff;--edge:#ccc;--button:#e8e8e8}.workspace[data-theme="Emerald Matrix"]{--bg:#000;--ink:#0f0;--paper:#000;--edge:#0a0;--button:#001900}.app-header{display:flex;align-items:center;gap:14px;padding:12px 18px;border-bottom:1px solid var(--edge)}.app-header strong{font-size:17px}.app-header a{margin-left:auto;font-size:12px}.edition{opacity:.65;font-size:12px}.tabs{display:flex;overflow:auto;border-bottom:1px solid var(--edge);padding:0 12px}.tabs button{border:0;border-radius:0;white-space:nowrap;background:transparent;padding:12px 16px}.tabs [aria-pressed=true]{border-bottom:2px solid #86b9f0;background:var(--paper)}.toolbar,.formatbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px}.toolbar select{margin-left:auto}.document-tabs{display:flex;gap:3px;overflow:auto;padding:0 16px;border-bottom:1px solid var(--edge)}.document-tabs button{white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis;border-radius:5px 5px 0 0}.document-tabs [aria-pressed=true]{background:var(--paper);border-bottom-color:var(--paper)}.formatbar{font-size:12px}.formatbar input{width:55px;padding:5px;background:var(--paper);border:1px solid var(--edge);color:var(--ink)}.formatbar button{margin-left:auto}.paper{margin:0 16px 16px;border:1px solid var(--edge);background:var(--paper);flex:1;display:flex;flex-direction:column}.poem-title{background:transparent;color:var(--ink);border:0;border-bottom:1px solid var(--edge);padding:22px 36px;font:24px Georgia,serif;width:100%}.editor-lines{display:flex;flex:1;min-height:400px}.gutter{flex:0 0 48px;padding-top:24px;text-align:right;padding-right:12px;opacity:.4;overflow:hidden;max-height:65vh;font-family:monospace;line-height:1.7}.editor-lines textarea{width:100%;height:65vh;min-height:400px;resize:vertical;border:0;background:transparent;color:var(--ink);padding:24px 28px 24px 12px;line-height:1.7;white-space:pre;overflow:auto}.status{display:flex;justify-content:space-between;gap:20px;padding:9px 18px;border-top:1px solid var(--edge);font-size:12px;margin-top:auto}.panel{padding:24px;max-width:1100px;width:100%;margin:0 auto;min-height:60vh}.panel h1{font-size:27px;font-weight:500}.panel h2{font-size:18px}.panel p{max-width:700px;line-height:1.7}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.form-grid article,.metrics article{border:1px solid var(--edge);background:var(--paper);padding:18px;border-radius:5px}.metrics{display:flex;flex-wrap:wrap;gap:15px}.metrics article{min-width:120px;display:grid;gap:8px}.metrics strong{font-size:30px}.reading{max-width:800px}.reading h1{font-family:Georgia,serif}.focus .app-header,.focus .tabs,.focus .toolbar,.focus .document-tabs{display:none}.focus .editor-lines textarea{height:80vh}.focus .gutter{max-height:80vh}@media(max-width:600px){.app-header{flex-wrap:wrap;gap:6px 12px}.edition{order:3;width:100%}.toolbar{gap:6px;padding:10px}.toolbar button{font-size:12px;padding:7px 9px}.paper{margin:0 8px 12px}.poem-title{padding:18px}.editor-lines textarea{padding-right:12px}.status{flex-direction:column;gap:3px}.tabs{padding:0}.tabs button{padding:10px 12px}.toolbar select{margin-left:0}}

.file-handoff{font-size:12px;line-height:1.5;max-width:240px;opacity:.85}.file-handoff a{text-underline-offset:3px}@media(max-width:600px){.file-handoff{order:10;max-width:none;flex-basis:100%}}
