.entity-input-container{position:relative;width:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;z-index:100}.entity-input-row{display:flex;align-items:stretch;gap:0}.entity-input-row .entity-input{flex:1;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.entity-analyze-btn{display:flex;align-items:center;justify-content:center;width:36px;min-height:42px;padding:0;border:1px solid #ced4da;border-left:none;border-radius:0 8px 8px 0;background:#212529;color:#fff;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease;flex-shrink:0}.entity-analyze-btn:hover{background:#343a40}.entity-analyze-btn:active{background:#495057}.entity-analyze-btn:disabled{opacity:.5;cursor:not-allowed;background:#adb5bd;color:#dee2e6}.entity-analyze-btn:disabled:hover{background:#adb5bd;color:#dee2e6}.entity-analyze-btn svg{display:block}.entity-input{min-height:42px;padding:10px 14px;border:1px solid #ced4da;border-radius:8px;background:#fff;font-size:14px;line-height:1.55;outline:none;transition:border-color .15s ease,box-shadow .15s ease;cursor:text;white-space:pre-wrap;word-wrap:break-word}.entity-input:hover{border-color:#adb5bd}.entity-input:focus{border-color:#228be6;box-shadow:0 0 0 2px #228be633}.entity-input:empty:before{content:attr(data-placeholder);color:#adb5bd;pointer-events:none}.entity-input.disabled{background:#f8f9fa;cursor:not-allowed;opacity:.6;color:#868e96}.entity-link-chip{display:inline;white-space:nowrap;vertical-align:baseline}.entity-link-chip .entity-graph-link{text-decoration:none;font-weight:500;cursor:pointer}.entity-link-chip .entity-graph-link.a2a-node-link{color:#4f46e5;border-bottom:1px dashed color-mix(in srgb,#4f46e5 50%,transparent)}.entity-link-chip .entity-graph-link.a2a-type-link{color:#0d9488;border-bottom:1px dashed color-mix(in srgb,#0d9488 50%,transparent)}.entity-link-chip .entity-graph-link.a2a-graph-link{color:#4f46e5;border-bottom:1px dashed color-mix(in srgb,#4f46e5 50%,transparent)}.entity-link-chip .entity-graph-link:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.entity-link-chip .entity-remove{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:2px;padding:0;border:none;border-radius:50%;background:transparent;color:inherit;font-size:12px;line-height:1;cursor:pointer;opacity:.55;vertical-align:super}.entity-link-chip .entity-remove:hover{opacity:1;background:#00000014}.entity-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;margin:0 2px;border-radius:12px;font-size:14px;font-weight:500;cursor:default;vertical-align:baseline;user-select:none;transition:all .15s ease}.entity-badge:hover{filter:brightness(.95)}.entity-badge .entity-label{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-badge .entity-remove{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;font-size:14px;line-height:1;cursor:pointer;opacity:.6;transition:opacity .15s ease}.entity-badge .entity-remove:hover{opacity:1;background:#0000001a}.entity-type-default{background:#e9ecef;color:#495057}.entity-type-node{background:#d0ebff;color:#1864ab}.entity-type-taxonomy_resource{background:#d3f9d8;color:#2b8a3e}.entity-type-ontology_type{background:#e8eaf6;color:#3f51b5}.entity-type-edge{background:#fff3bf;color:#e67700}.entity-type-concept{background:#d3f9d8;color:#2b8a3e}.entity-type-person{background:#fce4ec;color:#c2185b}.entity-type-organization{background:#e8eaf6;color:#3f51b5}.entity-type-location{background:#fff8e1;color:#f57f17}.entity-type-event{background:#f3e5f5;color:#7b1fa2}.entity-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:280px;overflow-y:auto;overflow-x:hidden;background:#fff;border:1px solid #e9ecef;border-radius:8px;box-shadow:0 2px 10px #00000014,0 4px 20px #0000000f;z-index:9999;padding:4px}.entity-input-container[data-dropdown=above] .entity-suggestions{top:auto;bottom:calc(100% + 4px);box-shadow:0 -2px 10px #00000014,0 -4px 20px #0000000f}.entity-suggestion{display:flex;align-items:center;gap:10px;padding:8px 12px;cursor:pointer;transition:background .1s ease;border-radius:4px;margin:2px 0}.entity-suggestion:first-child{border-radius:4px}.entity-suggestion:last-child{border-radius:4px}.entity-suggestion:only-child{border-radius:4px}.entity-suggestion:hover,.entity-suggestion.highlighted{background:#f1f3f5}.entity-suggestion.highlighted{background:#e7f5ff}.entity-type-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-size:12px;flex-shrink:0}.entity-type-icon.entity-type-node{background:#d0ebff;color:#1864ab}.entity-type-icon.entity-type-taxonomy_resource{background:#d3f9d8;color:#2b8a3e}.entity-type-icon.entity-type-ontology_type{background:#e8eaf6;color:#3f51b5}.entity-type-icon.entity-type-edge{background:#fff3bf;color:#e67700}.entity-type-icon.entity-type-default{background:#e9ecef;color:#495057}.entity-suggestion-label strong{font-weight:700;text-decoration:underline;text-decoration-color:#228be673;text-underline-offset:2px}.entity-suggestion-label{flex:1;font-weight:500;color:#212529}.entity-suggestion-desc{font-size:12px;color:#868e96;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-suggestion-hint{font-size:10px;padding:2px 6px;background:#e9ecef;color:#868e96;border-radius:4px;font-family:monospace}@media (prefers-color-scheme: dark){.entity-input{background:#25262b;border-color:#373a40;color:#c1c2c5}.entity-input:focus{border-color:#339af0}.entity-input:empty:before{color:#5c5f66}.entity-analyze-btn{background:#2c2e33;border-color:#373a40;color:#c1c2c5}.entity-analyze-btn:hover{background:#373a40;color:#fff}.entity-suggestions{background:#25262b;border-color:#373a40}.entity-suggestion:hover,.entity-suggestion.highlighted{background:#2c2e33}.entity-suggestion-label{color:#c1c2c5}}[data-mantine-color-scheme=dark] .entity-input{background:#25262b;border-color:#373a40;color:#c1c2c5}[data-mantine-color-scheme=dark] .entity-input:hover{border-color:#4c4f52}[data-mantine-color-scheme=dark] .entity-input:focus{border-color:#339af0;box-shadow:0 0 0 2px #339af040}[data-mantine-color-scheme=dark] .entity-input:empty:before{color:#5c5f66}[data-mantine-color-scheme=dark] .entity-input.disabled{background:#1a1b1e}[data-mantine-color-scheme=dark] .entity-analyze-btn{background:#2c2e33;border-color:#373a40;color:#c1c2c5}[data-mantine-color-scheme=dark] .entity-analyze-btn:hover{background:#373a40;color:#fff}[data-mantine-color-scheme=dark] .entity-suggestions{background:#25262b;border-color:#373a40;box-shadow:0 2px 10px #0000004d,0 4px 20px #00000040}[data-mantine-color-scheme=dark] .entity-suggestion:hover,[data-mantine-color-scheme=dark] .entity-suggestion.highlighted{background:#2c2e33}[data-mantine-color-scheme=dark] .entity-suggestion.highlighted{background:#1c3a5e}[data-mantine-color-scheme=dark] .entity-suggestion-label{color:#c1c2c5}[data-mantine-color-scheme=dark] .entity-suggestion-hint{background:#373a40;color:#909296}[data-mantine-color-scheme=dark] .entity-type-default,[data-mantine-color-scheme=dark] .entity-type-icon.entity-type-default{background:#373a40;color:#c1c2c5}.entity-input-container[data-theme=dark] .entity-input{background:#25262b;border-color:#373a40;color:#c1c2c5}.entity-input-container[data-theme=dark] .entity-input:hover{border-color:#4c4f52}.entity-input-container[data-theme=dark] .entity-input:focus{border-color:#339af0;box-shadow:0 0 0 2px #339af040}.entity-input-container[data-theme=dark] .entity-input:empty:before{color:#5c5f66}.entity-input-container[data-theme=dark] .entity-input.disabled{background:#1a1b1e}.entity-input-container[data-theme=dark] .entity-analyze-btn{background:#2c2e33;border-color:#373a40;color:#c1c2c5}.entity-input-container[data-theme=dark] .entity-analyze-btn:hover{background:#373a40;color:#fff}.entity-input-container[data-theme=dark] .entity-suggestions{background:#25262b;border-color:#373a40;box-shadow:0 2px 10px #0000004d,0 4px 20px #00000040}.entity-input-container[data-theme=dark] .entity-suggestion:hover,.entity-input-container[data-theme=dark] .entity-suggestion.highlighted{background:#2c2e33}.entity-input-container[data-theme=dark] .entity-suggestion.highlighted{background:#1c3a5e}.entity-input-container[data-theme=dark] .entity-suggestion-label{color:#c1c2c5}.entity-input-container[data-theme=dark] .entity-suggestion-hint{background:#373a40;color:#909296}.entity-input-container[data-theme=dark] .entity-type-default,.entity-input-container[data-theme=dark] .entity-type-icon.entity-type-default{background:#373a40;color:#c1c2c5}@keyframes badge-pop{0%{transform:scale(.8);opacity:0}50%{transform:scale(1.05)}to{transform:scale(1);opacity:1}}.entity-badge{animation:badge-pop .2s ease-out}
