harden information getter services and optimize user msg

This commit is contained in:
team2
2026-04-28 07:22:29 +02:00
parent 79adf8f1df
commit 643d847ce2
6 changed files with 758 additions and 17 deletions

View File

@@ -565,3 +565,164 @@ span.think {
font-size: 0.92rem;
line-height: 1.45;
}
.retriex-run-meta[data-retriex-meta-state="completed"] {
border-color: rgba(25, 135, 84, 0.36);
}
.retriex-meta-pill--confidence {
background: rgba(255, 193, 7, 0.14);
color: #ffe8a1;
}
.retriex-meta-pill--status {
background: rgba(25, 135, 84, 0.15);
color: #b7f5cf;
}
.retriex-source-overview {
display: grid;
gap: 0.35rem;
margin-top: 0.15rem;
}
.retriex-source-overview > span,
.retriex-product-results__summary {
color: rgba(248, 249, 250, 0.72);
font-size: 0.82rem;
font-weight: 600;
}
.retriex-source-overview__badges,
.retriex-action-chip-row {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
}
.retriex-source-chip {
display: inline-flex;
align-items: center;
border-radius: 999px;
padding: 0.16rem 0.55rem;
background: rgba(13, 202, 240, 0.14);
color: #b6effb;
font-size: 0.78rem;
font-weight: 700;
}
.retriex-source-overview__empty {
color: rgba(248, 249, 250, 0.58);
font-size: 0.86rem;
}
.retriex-product-results__summary {
margin-bottom: 0.65rem;
}
.retriex-meta-query--compact {
margin-bottom: 0.8rem;
}
.retriex-product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 0.65rem;
}
.retriex-product-card {
display: grid;
gap: 0.55rem;
padding: 0.75rem;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
background: rgba(255, 255, 255, 0.045);
}
.retriex-product-card__title {
color: #f8f9fa;
font-weight: 800;
line-height: 1.3;
}
.retriex-product-card__title a {
color: inherit;
text-decoration: none;
}
.retriex-product-card__title a:hover {
text-decoration: underline;
}
.retriex-product-card__facts {
display: grid;
gap: 0.35rem;
margin: 0;
}
.retriex-product-card__facts div {
display: grid;
grid-template-columns: minmax(88px, 0.8fr) 1.2fr;
gap: 0.45rem;
}
.retriex-product-card__facts dt {
color: rgba(248, 249, 250, 0.58);
font-size: 0.76rem;
font-weight: 700;
}
.retriex-product-card__facts dd {
color: rgba(248, 249, 250, 0.9);
font-size: 0.8rem;
margin: 0;
word-break: break-word;
}
.retriex-product-card__relevance {
border-top: 1px solid rgba(255, 255, 255, 0.08);
padding-top: 0.5rem;
color: rgba(248, 249, 250, 0.78);
font-size: 0.8rem;
line-height: 1.35;
}
.retriex-product-card__relevance span {
display: block;
color: #86b7fe;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: 0.18rem;
}
.retriex-action-chip {
border: 1px solid rgba(134, 183, 254, 0.32);
border-radius: 999px;
padding: 0.34rem 0.72rem;
background: rgba(134, 183, 254, 0.11);
color: #d8e8ff;
font-size: 0.83rem;
font-weight: 700;
cursor: pointer;
}
.retriex-action-chip:hover,
.retriex-action-chip:focus-visible {
border-color: rgba(134, 183, 254, 0.68);
background: rgba(134, 183, 254, 0.2);
color: #ffffff;
}
@media (max-width: 576px) {
.retriex-product-grid {
grid-template-columns: 1fr;
}
.retriex-product-card__facts div {
grid-template-columns: 1fr;
gap: 0.1rem;
}
}