*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,sans-serif;background:#f8f8f6;color:#1a1a1a;min-height:100vh}.app{max-width:980px;margin:0 auto;padding:3rem 1.5rem 5rem}.header{margin-bottom:2rem}.header h1{font-size:1.75rem;font-weight:600;letter-spacing:-.5px}.subtitle{color:#666;margin-top:6px;font-size:.9rem}.search-row{display:flex;gap:8px;margin-bottom:1rem}.query-input{flex:1;padding:10px 14px;border:1.5px solid #ddd;border-radius:8px;font-size:.95rem;outline:none;background:#fff;transition:border-color .15s;font-family:inherit}.query-input:focus{border-color:#888}.search-btn{padding:10px 22px;background:#1a1a1a;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .15s;font-family:inherit}.search-btn:hover:not(:disabled){background:#333}.search-btn:disabled{opacity:.45;cursor:default}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:1.75rem}.chip{padding:4px 12px;border:1px solid #ddd;border-radius:99px;background:#fff;font-size:.78rem;color:#555;cursor:pointer;transition:background .15s,border-color .15s;font-family:inherit}.chip:hover{background:#f0f0ee;border-color:#bbb}.error-box{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;border-radius:8px;padding:10px 14px;font-size:.875rem;margin-bottom:1rem}.status-row{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#666;margin-bottom:1.25rem}.spinner{width:13px;height:13px;border:2px solid #ddd;border-top-color:#555;border-radius:50%;animation:spin .7s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.results-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;flex-wrap:wrap;gap:8px}.entity-type-badge{display:inline-flex;align-items:center;gap:6px;background:#f0f0ee;border:1px solid #ddd;border-radius:99px;padding:4px 12px;font-size:.8rem;color:#444;font-weight:500}.export-btn{padding:6px 14px;border:1px solid #ddd;border-radius:8px;background:#fff;font-size:.8rem;font-weight:500;color:#333;cursor:pointer;transition:background .15s;font-family:inherit}.export-btn:hover{background:#f5f5f3}.meta-row{display:flex;gap:12px;margin-bottom:1.25rem;flex-wrap:wrap}.meta-card{background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:10px 16px;min-width:100px}.meta-label{font-size:10px;color:#999;text-transform:uppercase;letter-spacing:.06em;margin-bottom:3px}.meta-val{font-size:1.1rem;font-weight:600;color:#1a1a1a}.table-outer{overflow-x:auto;border:1px solid #e5e5e5;border-radius:10px;background:#fff;margin-bottom:1rem}table{width:100%;border-collapse:collapse;font-size:.85rem}th{background:#f5f5f3;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#777;text-align:left;padding:10px 14px;border-bottom:1px solid #e8e8e8;white-space:nowrap}td{padding:10px 14px;border-bottom:1px solid #f0f0ee;vertical-align:top;line-height:1.55;color:#1a1a1a}tr:last-child td{border-bottom:none}tr:hover td{background:#fafaf8}.confidence-badge{display:inline-block;padding:2px 9px;border-radius:99px;font-size:.75rem;font-weight:500;text-transform:capitalize}.badge-high{background:#dcfce7;color:#166534}.badge-medium{background:#fef9c3;color:#854d0e}.badge-low{background:#fee2e2;color:#991b1b}.source-wrap{position:relative}.source-btn{background:none;border:none;padding:0;color:#1d6fcc;font-size:.8rem;cursor:pointer;font-family:inherit;text-decoration:underline;text-underline-offset:2px;text-decoration-color:transparent;transition:text-decoration-color .15s}.source-btn:hover{text-decoration-color:#1d6fcc}.source-popover{position:absolute;right:0;top:calc(100% + 6px);width:270px;background:#fff;border:1px solid #ddd;border-radius:8px;padding:12px 14px;box-shadow:0 6px 20px #0000001a;z-index:100;font-size:.8rem}.popover-title{font-weight:600;color:#1a1a1a;margin-bottom:4px;line-height:1.4}.popover-url{display:block;color:#1d6fcc;word-break:break-all;margin-bottom:7px;font-size:.74rem}.popover-snippet{color:#555;line-height:1.5;font-style:italic}.searches-used{font-size:.85rem;color:#666;background:#fff;border:1px solid #e5e5e5;border-radius:8px;padding:12px 16px}.searches-used summary{cursor:pointer;font-weight:500;color:#444}.searches-used ul{margin-top:8px;padding-left:1.25rem}.searches-used li{margin-bottom:4px}.muted{color:#ccc;font-size:.8rem}.empty{padding:3rem;text-align:center;color:#aaa;font-size:.875rem}
