:root{color:#111827;background:#f5f5f4;font-family:Georgia,Times New Roman,serif}html,body,#root{height:100%}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea{font:inherit}.app-shell{height:100%;min-height:0;padding:20px;display:flex;flex-direction:column;gap:16px;overflow:hidden}.toolbar{display:flex;align-items:center;gap:12px;min-width:0}.url-input,.extract-button,.pane-action,.editor,.preview{border:1px solid #d6d3d1;border-radius:10px;background:#fff}.url-input{width:50%;max-width:50%;min-width:240px;padding:12px 14px}.extract-button{padding:12px 16px;cursor:pointer}.extract-button:disabled{cursor:wait;opacity:.7}.pane-action{padding:6px 10px;font-size:.9rem;cursor:pointer}.icon-button{width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center}.icon-button svg{width:18px;height:18px}.icon-button.is-success{color:#15803d;border-color:#86efac;background:#f0fdf4}.pane-action:disabled{cursor:not-allowed;opacity:.55}.status{margin:0;min-width:0;flex:1 1 auto;color:#57534e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;flex:1 1 auto;min-height:0}.pane{min-width:0;min-height:0;display:flex;flex-direction:column}.pane-header{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.95rem;color:#44403c}.editor,.preview{flex:1 1 auto;min-height:0;overflow:auto}.editor{width:100%;resize:none;padding:16px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;line-height:1.5}.preview{padding:16px 18px;line-height:1.65}.preview :first-child{margin-top:0}.preview pre,.preview code{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.preview pre{overflow:auto;padding:12px;border-radius:8px;background:#f5f5f4}.preview img{max-width:100%}.preview a{color:#0f766e}@media(max-width:900px){.toolbar{flex-wrap:wrap}.url-input{width:100%;max-width:none;min-width:0}.panes{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.editor,.preview{min-height:45vh}}
