body .tool-window{position:fixed!important;inset:auto;display:none!important;padding:0!important;background:transparent!important;overflow:visible!important;align-items:stretch!important;justify-content:stretch!important;min-width:0;min-height:0}
body .tool-window.open{display:flex!important}body .tool-window.tool-hidden{display:none!important}
body .tool-window>.rodcard,body .tool-window>.cbcard{position:relative!important;inset:auto!important;margin:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;max-width:none!important;border:1px solid #b9c4cf;border-radius:8px!important;overflow:hidden;box-shadow:0 14px 50px #15253740;display:flex;flex-direction:column;background:white}
body .tool-window .tool-titlebar{height:42px;min-height:42px;padding:4px 9px 4px 14px;background:#f1f4f6;color:#203247;cursor:move;touch-action:none;user-select:none;border-bottom:1px solid #cfd9e0;display:flex;align-items:center;gap:10px;flex-shrink:0}
body .tool-titlebar .s,body .tool-titlebar .cbsub{display:none}body .tool-titlebar .t{font-size:13px;font-weight:700;color:#203247}
.tool-window-controls{display:flex;gap:3px;margin-left:auto}.tool-window-controls button,.tool-resize{border:0;background:transparent;color:#41556c;border-radius:4px;display:grid;place-items:center;width:32px;height:30px;cursor:pointer;padding:0}.tool-window-controls button:hover{background:#dce5ec}.tool-window-controls button:last-child:hover{background:#fbe4e4;color:#a62626}
body .tool-window .tool-titlebar{background:#f1f4f6!important;color:#203247!important}
body .tool-titlebar .cbhd-actions{display:none}body .tool-titlebar h3{font-size:13px;margin:0;color:#203247}
body .tool-window iframe{min-height:0;flex:1;width:100%;height:100%;border:0;background:white}
.tool-resize{position:absolute;right:0;bottom:0;z-index:15;width:22px;height:22px;cursor:nwse-resize;background:#e8edf2bd;touch-action:none}.tool-resize svg{width:13px;height:13px}
.tool-drag-shield{position:fixed;inset:0;z-index:100000;touch-action:none}
#toolWindowDock{position:fixed;bottom:7px;left:50%;transform:translateX(-50%);z-index:9000;display:flex;gap:5px;max-width:calc(100vw - 20px);overflow:auto;background:#f4f7f9;border:1px solid #c6d1dc;border-radius:6px;padding:3px;box-shadow:0 2px 12px #192f4220}
#toolWindowDock:empty{display:none}#toolWindowDock button{display:flex;align-items:center;gap:6px;white-space:nowrap;background:white;border:1px solid transparent;border-radius:4px;padding:7px 10px;font:600 12px system-ui;color:#385068;cursor:pointer}#toolWindowDock button.active{border-color:#aebed0;background:#e5edf4}
body .tool-compact #cbPreview{display:none}body #toast{z-index:12000}body #askOv{z-index:12001}
body .tool-window #cbPreview{margin:0;border:0;border-bottom:1px solid #d1dce3;border-radius:0;background:#f2f8f4;box-shadow:none;height:72px;overflow:auto}
body .tool-window #cbPreview summary,body .tool-window #cbPreview ol,body .tool-window #cbPreview h4:nth-of-type(2),body .tool-window #cbPreview .cp-note{display:none}
body .tool-window #cbPreview .cp-body{display:flex;align-items:center;gap:16px;height:70px;padding:7px 16px;max-height:none;overflow:auto}
body .tool-window #cbPreview .cp-price{flex-direction:column;flex:0 0 auto;gap:3px;border-left:1px solid #d4e2d9;padding-left:14px}body .tool-window #cbPreview .cp-price b{color:#17674e;font-size:14px}body .tool-window #cbPreview h4{white-space:nowrap;letter-spacing:0}body .tool-window #cbPreview p{min-width:180px;font-size:11px}
@media(max-width:600px){body .tool-window{left:4px!important;width:calc(100vw - 8px)!important}.tool-titlebar .t{max-width:calc(100vw - 160px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#toolWindowDock button{padding:6px;font-size:11px}}
