:root{--space-1: 4px;--space-2: 8px;--space-3: 12px;--radius-1: 4px;--radius-2: 6px;--border: 1px solid #ccc;--border-transparent: 1px solid transparent;--border-active: 1px solid #000;--panel-bg: #f1f1f1;--accent: #1976d2;--muted: #666}body,input,button,select,textarea{font-family:Inter,Segoe UI,-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;font-size:14px;line-height:1.4}input,select,textarea,button{border:var(--border-transparent);background:#fff;color:#111;padding:2px 6px;height:28px;border-radius:var(--radius-1);box-sizing:border-box;outline:none;margin:2px 0}textarea{height:auto;min-height:120px}button{display:inline-flex;align-items:center;justify-content:center;padding:0 12px;line-height:1.2;border-radius:var(--radius-1);border:var(--border);cursor:pointer}button:active{border-color:var(--border-active)}input{border:var(--border)}input:focus,select:focus,textarea:focus,button:focus{border-color:var(--border-active);box-shadow:none}input[type=checkbox],input[type=radio]{width:auto;padding:0;border-radius:3px}.app-shell{width:100%;max-width:100vw;height:100vh;max-height:100vh;overflow:hidden;padding:var(--space-3);box-sizing:border-box;display:flex;align-items:flex-start;gap:var(--space-3)}.app-main{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:var(--space-3);height:100%;min-height:0;overflow:hidden}.plots-scroll{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:var(--space-3);width:100%}.sidebar-container{flex:0 0 auto;max-width:520px;min-width:260px;height:calc(100vh - 24px);max-height:calc(100vh - 24px);padding:var(--space-3);background-color:var(--panel-bg);border:none;border-radius:var(--radius-2);box-sizing:border-box;overflow:auto;position:sticky;top:var(--space-3);user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.sidebar-container input,.sidebar-container textarea,.sidebar-container .field-message,.sidebar-container details>summary{user-select:text;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text}.sidebar-drag-handle{position:absolute;left:-8px;top:0;width:26px;height:100%;cursor:col-resize;background:transparent;-webkit-user-select:none;user-select:none}.toolbar{width:100%;display:flex;flex-wrap:wrap;gap:var(--space-2);padding:10px;background-color:var(--panel-bg);border:none;border-radius:var(--radius-2);box-sizing:border-box;position:sticky;top:0;z-index:2;align-items:center}.plot-card{border:var(--border-transparent);border-radius:var(--radius-2);padding:var(--space-3);background:var(--panel-bg);display:flex;flex-direction:column;gap:var(--space-2);user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.plot-card.is-active{border:var(--border-active);box-shadow:none}.plot-frame{position:relative;width:100%;height:clamp(260px,45vh,560px);min-width:480px;max-width:100%;border:none;border-radius:var(--radius-2);background:var(--panel-bg);overflow:hidden;box-sizing:border-box}.plot-svg{display:block;width:100%;height:100%;-webkit-user-select:none;user-select:none;touch-action:none}.plot-brush{fill:#1976d22e;stroke:none}.plot-grid line{stroke:#e6e6e6;stroke-width:1}.selection-bounds line{pointer-events:none}.selection-bounds .selection-x-line{stroke:red;stroke-dasharray:4}.selection-bounds .selection-y-line{stroke:#00f;stroke-dasharray:4}.plot-header{display:flex;align-items:center;gap:var(--space-2)}.plot-meta{color:var(--muted);font-size:13px}.sidebar-form{display:flex;flex-direction:column;gap:8px}.panel-section{border-top:1px solid #e5e5e5;padding-top:8px;margin-top:4px}.panel-section:first-of-type{border-top:none;padding-top:0;margin-top:0}.section-title{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.04em;margin-bottom:6px}.form-row{display:flex;align-items:center;gap:10px}.inline-pair{flex-wrap:nowrap}.row-label{width:96px;flex:0 0 96px;color:var(--muted);font-size:13px}.row-control{flex:1 1 auto;min-width:0}.mini-label{color:var(--muted);font-size:12px;min-width:14px}.field{display:flex;flex-direction:column;gap:4px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.checkbox-row{display:flex;align-items:center;gap:6px}.field-message{font-size:12px;line-height:1.3;color:var(--muted)}.field-message.is-error{color:#b00020}details>summary{cursor:pointer;font-weight:600;font-size:13px}details>summary::marker{font-size:14px}:root,body,#root{margin:0;padding:0;width:100%;min-height:100%;box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{overflow-x:hidden;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}
